@yoobic/yobi 8.5.0-60 → 8.5.0-62
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/{button.factory-604b2344.js → button.factory-fc24ee93.js} +2 -3
- package/dist/cjs/{camera-helpers-331cf700.js → camera-helpers-8e136f35.js} +33 -33
- package/dist/cjs/{chat-helpers-369984b9.js → chat-helpers-f4c72363.js} +6 -6
- package/dist/cjs/{common-helpers-9f63a319.js → common-helpers-0724ae60.js} +46 -46
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/{draggable-dots-helpers-1e8c5d73.js → draggable-dots-helpers-7fe723cd.js} +22 -22
- package/dist/cjs/{draggable-tags-helpers-618109cc.js → draggable-tags-helpers-b7dfe5f6.js} +5 -5
- package/dist/cjs/{entities-helpers-90284497.js → entities-helpers-2548b307.js} +46 -46
- package/dist/cjs/{filters-helpers-047e7754.js → filters-helpers-0c478887.js} +10 -10
- package/dist/cjs/{form-choice-helpers-0be10906.js → form-choice-helpers-f7479585.js} +10 -10
- package/dist/cjs/{form-helpers-2fcb4674.js → form-helpers-7c18f9c4.js} +47 -45
- package/dist/cjs/{form-input-helpers-2d988e31.js → form-input-helpers-fb275467.js} +37 -34
- package/dist/cjs/{form-text-area-helpers-8cf04c81.js → form-text-area-helpers-bfc349a9.js} +5 -5
- package/dist/cjs/{grid-renderers-853f422f.js → grid-renderers-1144c063.js} +74 -74
- package/dist/cjs/{incentive-helpers-a2954f55.js → incentive-helpers-920b03c3.js} +11 -11
- package/dist/cjs/{index-2b8b3981.js → index-0f9a45fc.js} +1 -1
- package/dist/cjs/{overlays-e5d2ff76.js → index-4cdf7949.js} +244 -14
- package/dist/cjs/{index-6262b0ee.js → index-57c6f364.js} +1 -1
- package/dist/cjs/index-5dd9199d.js +4 -0
- package/dist/cjs/{index-6242d9ab.js → index-6a4201ff.js} +10 -10
- package/dist/cjs/{index-9aadeb94.js → index-7790c794.js} +35 -35
- package/dist/cjs/{index-3a588f52.js → index-7f9a420b.js} +9 -9
- package/dist/cjs/{index-ba1443ff.js → index-c178e61e.js} +51 -51
- package/dist/cjs/{index-a1bbe627.js → index-cb8276bc.js} +28 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localForage-d0842cbe.js → localForage-e47d3702.js} +5 -5
- package/dist/cjs/{map-helpers-54d0eecb.js → map-helpers-4b019e48.js} +30 -30
- package/dist/cjs/mission-locked-banner-e0b2f8f9.js +19 -0
- package/dist/cjs/{missions-helpers-c32f14f9.js → missions-helpers-36846610.js} +71 -71
- package/dist/cjs/modal-animations-fa993755.js +48 -0
- package/dist/cjs/{operation-helpers-daf02f73.js → operation-helpers-08e78c3e.js} +53 -53
- package/dist/cjs/{overlays-c62c8eaa.js → overlays-9ef1a429.js} +3 -3
- package/dist/cjs/{swiper-e1eca97d.js → swiper-1a043298.js} +7 -7
- package/dist/cjs/{theme-1cc4e7d5.js → theme-8f24b433.js} +3 -3
- package/dist/cjs/{tippy.esm-9d4307e9.js → tippy.esm-6971a029.js} +1 -1
- package/dist/cjs/{video-player-helpers-f53226be.js → video-player-helpers-b329557d.js} +22 -22
- package/dist/cjs/{web-69937d83.js → web-1257c329.js} +4 -4
- package/dist/cjs/{web-8e9382ca.js → web-3c0ac55c.js} +10 -10
- package/dist/cjs/{web-3b49042b.js → web-6d44e09c.js} +4 -4
- package/dist/cjs/{web-009294d0.js → web-9ce4c65b.js} +7 -7
- package/dist/cjs/yoo-about.cjs.entry.js +4 -4
- package/dist/cjs/yoo-accordion.cjs.entry.js +15 -16
- package/dist/cjs/yoo-action-sheet-controller.cjs.entry.js +5 -5
- package/dist/cjs/yoo-action-sheet.cjs.entry.js +23 -23
- package/dist/cjs/yoo-ag-grid.cjs.entry.js +19 -19
- package/dist/cjs/yoo-alert.cjs.entry.js +18 -18
- package/dist/cjs/yoo-amap.cjs.entry.js +8 -8
- package/dist/cjs/yoo-announcement-heading.cjs.entry.js +26 -26
- package/dist/cjs/yoo-app.cjs.entry.js +11 -11
- package/dist/cjs/yoo-audio-player.cjs.entry.js +14 -14
- package/dist/cjs/yoo-audio-recorder-dialog.cjs.entry.js +19 -19
- package/dist/cjs/yoo-avatar.cjs.entry.js +10 -10
- package/dist/cjs/yoo-avatars.cjs.entry.js +6 -6
- package/dist/cjs/yoo-banner.cjs.entry.js +5 -5
- package/dist/cjs/yoo-barcode-dialog.cjs.entry.js +4 -4
- package/dist/cjs/yoo-battle-count-down.cjs.entry.js +17 -17
- package/dist/cjs/yoo-battle-result.cjs.entry.js +10 -10
- package/dist/cjs/yoo-battle-user-stats.cjs.entry.js +10 -10
- package/dist/cjs/yoo-breadcrumbs.cjs.entry.js +14 -14
- package/dist/cjs/yoo-button.cjs.entry.js +5 -5
- package/dist/cjs/yoo-calendar.cjs.entry.js +84 -84
- package/dist/cjs/yoo-camera-preview-dialog.cjs.entry.js +36 -36
- package/dist/cjs/yoo-card-battle-result.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-battle.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-calendar.cjs.entry.js +10 -10
- package/dist/cjs/yoo-card-campaign.cjs.entry.js +22 -22
- package/dist/cjs/yoo-card-cell.cjs.entry.js +8 -8
- package/dist/cjs/yoo-card-chat.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-course-row-compact.cjs.entry.js +7 -7
- package/dist/cjs/yoo-card-course-row.cjs.entry.js +27 -27
- package/dist/cjs/yoo-card-course.cjs.entry.js +13 -13
- package/dist/cjs/yoo-card-feed-row.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-feed.cjs.entry.js +66 -67
- package/dist/cjs/yoo-card-file.cjs.entry.js +11 -11
- package/dist/cjs/yoo-card-image.cjs.entry.js +4 -4
- package/dist/cjs/yoo-card-inbox.cjs.entry.js +12 -12
- package/dist/cjs/yoo-card-incentive-rank.cjs.entry.js +6 -6
- package/dist/cjs/yoo-card-incentive.cjs.entry.js +7 -7
- package/dist/cjs/yoo-card-kanban.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-lesson.cjs.entry.js +16 -16
- package/dist/cjs/yoo-card-list-collapsible.cjs.entry.js +12 -12
- package/dist/cjs/yoo-card-list-color.cjs.entry.js +7 -7
- package/dist/cjs/yoo-card-list-simple.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-list.cjs.entry.js +20 -20
- package/dist/cjs/yoo-card-location.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-media.cjs.entry.js +9 -9
- package/dist/cjs/yoo-card-menu.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-notification.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-plan.cjs.entry.js +5 -5
- package/dist/cjs/yoo-card-progress.cjs.entry.js +6 -6
- package/dist/cjs/yoo-card-recommendation.cjs.entry.js +8 -8
- package/dist/cjs/yoo-card-sticky.cjs.entry.js +14 -14
- package/dist/cjs/yoo-card-video.cjs.entry.js +6 -6
- package/dist/cjs/yoo-chart.cjs.entry.js +18 -18
- package/dist/cjs/yoo-chat-message-dialog.cjs.entry.js +11 -11
- package/dist/cjs/yoo-chat-message-preview.cjs.entry.js +13 -13
- package/dist/cjs/yoo-chat-message.cjs.entry.js +25 -25
- package/dist/cjs/yoo-chat.cjs.entry.js +60 -61
- package/dist/cjs/yoo-collapsible.cjs.entry.js +6 -6
- package/dist/cjs/yoo-color-selector.cjs.entry.js +5 -5
- package/dist/cjs/yoo-community-detail.cjs.entry.js +9 -9
- package/dist/cjs/yoo-context-menu-dialog.cjs.entry.js +15 -15
- package/dist/cjs/yoo-context-menu.cjs.entry.js +8 -8
- package/dist/cjs/yoo-copyright.cjs.entry.js +4 -4
- package/dist/cjs/yoo-count-down.cjs.entry.js +5 -5
- package/dist/cjs/yoo-course-info-card.cjs.entry.js +6 -6
- package/dist/cjs/yoo-course-summary.cjs.entry.js +19 -19
- package/dist/cjs/yoo-dashboard-detail.cjs.entry.js +4 -4
- package/dist/cjs/yoo-date.cjs.entry.js +5 -5
- package/dist/cjs/yoo-detail-bar.cjs.entry.js +24 -24
- package/dist/cjs/yoo-device-list.cjs.entry.js +9 -9
- package/dist/cjs/yoo-device.cjs.entry.js +5 -5
- package/dist/cjs/yoo-draw-flow.cjs.entry.js +9 -9
- package/dist/cjs/yoo-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/yoo-entity-query-builder.cjs.entry.js +23 -23
- package/dist/cjs/yoo-entity-search-dialog.cjs.entry.js +16 -16
- package/dist/cjs/yoo-entity-search-filters.cjs.entry.js +14 -14
- package/dist/cjs/yoo-entity-search-recent.cjs.entry.js +5 -5
- package/dist/cjs/yoo-entity-search-sorts.cjs.entry.js +11 -11
- package/dist/cjs/yoo-entity-search-tags.cjs.entry.js +7 -7
- package/dist/cjs/yoo-entity-search.cjs.entry.js +18 -18
- package/dist/cjs/yoo-entity.cjs.entry.js +323 -324
- package/dist/cjs/yoo-feed-detail.cjs.entry.js +28 -29
- package/dist/cjs/yoo-flag.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-audience.cjs.entry.js +42 -42
- package/dist/cjs/yoo-form-autocomplete-dialog.cjs.entry.js +32 -32
- package/dist/cjs/yoo-form-autocomplete.cjs.entry.js +52 -52
- package/dist/cjs/yoo-form-barcode-dialog.cjs.entry.js +18 -18
- package/dist/cjs/yoo-form-barcode.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-calendar-dialog.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-capture-map-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-capture-tag-dialog.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-capture-view-dialog.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-capture-webcam-dialog.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-capture.cjs.entry.js +299 -299
- package/dist/cjs/yoo-form-carousel.cjs.entry.js +38 -38
- package/dist/cjs/yoo-form-catalog-dialog.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-catalog.cjs.entry.js +18 -18
- package/dist/cjs/yoo-form-categorize-words.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-checklist.cjs.entry.js +9 -9
- package/dist/cjs/yoo-form-choice-button.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-choice-card.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-choice-chat.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-choice-image.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-choice-radio.cjs.entry.js +14 -14
- package/dist/cjs/yoo-form-color-field.cjs.entry.js +13 -13
- package/dist/cjs/yoo-form-color-picker.cjs.entry.js +9 -9
- package/dist/cjs/yoo-form-conditions.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-connect.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +39 -39
- package/dist/cjs/yoo-form-creator-block-simple.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-creator-condition-block.cjs.entry.js +24 -24
- package/dist/cjs/yoo-form-creator-field-selector.cjs.entry.js +10 -9
- package/dist/cjs/yoo-form-creator-header.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-creator-live-preview.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-creator-overlay.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-creator-page-card-list.cjs.entry.js +19 -19
- package/dist/cjs/yoo-form-creator-page-card.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-creator-score-expandable.cjs.entry.js +26 -26
- package/dist/cjs/yoo-form-creator-scoring-card-list.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-creator-scoring-card.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-creator-scoring-quick-setup.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +65 -65
- package/dist/cjs/yoo-form-creator-translate.cjs.entry.js +67 -67
- package/dist/cjs/yoo-form-creator-workflow-side-selection.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-creator-workflow-step.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-creator.cjs.entry.js +103 -103
- package/dist/cjs/yoo-form-date-time.cjs.entry.js +54 -54
- package/dist/cjs/yoo-form-daterange.cjs.entry.js +16 -16
- package/dist/cjs/yoo-form-document-dialog.cjs.entry.js +49 -49
- package/dist/cjs/yoo-form-document.cjs.entry.js +26 -26
- package/dist/cjs/yoo-form-dynamic-dialog.cjs.entry.js +11 -12
- package/dist/cjs/yoo-form-dynamic.cjs.entry.js +339 -335
- package/dist/cjs/yoo-form-emailreport.cjs.entry.js +12 -12
- package/dist/cjs/yoo-form-entity-value-pairs.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-explanation.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-feed-preview.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-feedback.cjs.entry.js +9 -9
- package/dist/cjs/yoo-form-filter-date.cjs.entry.js +36 -36
- package/dist/cjs/yoo-form-filter-number.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-filter-text.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-filter.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-footer.cjs.entry.js +10 -11
- package/dist/cjs/yoo-form-formula.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-hotzones-creator.cjs.entry.js +15 -15
- package/dist/cjs/yoo-form-hotzones.cjs.entry.js +15 -15
- package/dist/cjs/yoo-form-iframe-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-form-image-collection.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-image-tagging-creator.cjs.entry.js +13 -13
- package/dist/cjs/yoo-form-image-tagging.cjs.entry.js +13 -13
- package/dist/cjs/yoo-form-incentive-participants.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-incentive-targets.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-input-comments.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-input-container.cjs.entry.js +54 -54
- package/dist/cjs/yoo-form-input.cjs.entry.js +32 -32
- package/dist/cjs/yoo-form-json.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-location.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-missing-word.cjs.entry.js +14 -14
- package/dist/cjs/yoo-form-missionfield.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-multi-input.cjs.entry.js +19 -19
- package/dist/cjs/yoo-form-number-picker-dialog.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-number-picker.cjs.entry.js +15 -15
- package/dist/cjs/yoo-form-opening-hours.cjs.entry.js +15 -15
- package/dist/cjs/yoo-form-permissions.cjs.entry.js +24 -24
- package/dist/cjs/yoo-form-phone-number.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-plan-assign.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-plan.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-pricecheck.cjs.entry.js +21 -21
- package/dist/cjs/yoo-form-product-batch.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-products-sales.cjs.entry.js +17 -17
- package/dist/cjs/yoo-form-progress-indicator.cjs.entry.js +15 -15
- package/dist/cjs/yoo-form-qrcode.cjs.entry.js +11 -11
- package/dist/cjs/yoo-form-query-builder.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-range.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-ranking.cjs.entry.js +12 -12
- package/dist/cjs/yoo-form-recap-step.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-recurrence-delay.cjs.entry.js +4 -4
- package/dist/cjs/yoo-form-recurrence-preview.cjs.entry.js +9 -9
- package/dist/cjs/yoo-form-recurrence.cjs.entry.js +39 -39
- package/dist/cjs/yoo-form-reorder.cjs.entry.js +21 -21
- package/dist/cjs/yoo-form-scorm.cjs.entry.js +28 -28
- package/dist/cjs/yoo-form-shopping.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-signature-pad-dialog.cjs.entry.js +9 -9
- package/dist/cjs/yoo-form-signature-pad.cjs.entry.js +8 -8
- package/dist/cjs/yoo-form-sorts.cjs.entry.js +6 -6
- package/dist/cjs/yoo-form-star-rating.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-stripe-card.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-swipe-cards.cjs.entry.js +33 -33
- package/dist/cjs/yoo-form-table.cjs.entry.js +12 -12
- package/dist/cjs/yoo-form-task.cjs.entry.js +24 -24
- package/dist/cjs/yoo-form-text-area.cjs.entry.js +29 -29
- package/dist/cjs/yoo-form-text-editor.cjs.entry.js +80 -80
- package/dist/cjs/yoo-form-time.cjs.entry.js +31 -31
- package/dist/cjs/yoo-form-timeslots.cjs.entry.js +33 -33
- package/dist/cjs/yoo-form-todo-dialog.cjs.entry.js +23 -23
- package/dist/cjs/yoo-form-todo-mission.cjs.entry.js +21 -21
- package/dist/cjs/yoo-form-todo-task-list.cjs.entry.js +16 -16
- package/dist/cjs/yoo-form-todo-task.cjs.entry.js +28 -28
- package/dist/cjs/yoo-form-todo.cjs.entry.js +13 -13
- package/dist/cjs/yoo-form-toggle.cjs.entry.js +10 -10
- package/dist/cjs/yoo-form-uploader.cjs.entry.js +36 -36
- package/dist/cjs/yoo-form-videoplayer.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-wiki.cjs.entry.js +6 -6
- package/dist/cjs/yoo-grid-calendar.cjs.entry.js +49 -49
- package/dist/cjs/yoo-grid.cjs.entry.js +204 -205
- package/dist/cjs/yoo-gridstack.cjs.entry.js +6 -6
- package/dist/cjs/yoo-header.cjs.entry.js +5 -5
- package/dist/cjs/yoo-healthscore-dialog.cjs.entry.js +18 -18
- package/dist/cjs/yoo-healthscore.cjs.entry.js +9 -9
- package/dist/cjs/yoo-icon.cjs.entry.js +4 -4
- package/dist/cjs/yoo-image-cropper-dialog.cjs.entry.js +14 -14
- package/dist/cjs/yoo-img.cjs.entry.js +20 -20
- package/dist/cjs/yoo-incentive-detail.cjs.entry.js +38 -38
- package/dist/cjs/yoo-input-bar.cjs.entry.js +192 -192
- package/dist/cjs/yoo-ion-alert-controller.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-content.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-footer.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-infinite-scroll-content.cjs.entry.js +4 -4
- package/dist/cjs/yoo-ion-infinite-scroll.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-item-divider.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-item-sliding.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-item.cjs.entry.js +6 -6
- package/dist/cjs/yoo-ion-list.cjs.entry.js +5 -5
- package/dist/cjs/yoo-ion-refresher.cjs.entry.js +9 -9
- package/dist/cjs/yoo-ion-scroll.cjs.entry.js +17 -17
- package/dist/cjs/yoo-ion-slide.cjs.entry.js +5 -5
- package/dist/cjs/{yoo-ion-slides-5c44f8cc.js → yoo-ion-slides-4452c744.js} +18 -18
- package/dist/cjs/yoo-ion-slides.cjs.entry.js +7 -7
- package/dist/cjs/yoo-ion-toast-controller.cjs.entry.js +5 -5
- package/dist/cjs/yoo-kanban.cjs.entry.js +22 -22
- package/dist/cjs/yoo-kpi-card.cjs.entry.js +10 -10
- package/dist/cjs/yoo-kpi-container.cjs.entry.js +29 -29
- package/dist/cjs/yoo-kpi-external.cjs.entry.js +10 -10
- package/dist/cjs/yoo-kpi.cjs.entry.js +6 -7
- package/dist/cjs/yoo-layout-sections.cjs.entry.js +5 -5
- package/dist/cjs/yoo-layout-tabs.cjs.entry.js +4 -4
- package/dist/cjs/yoo-layout-two-columns.cjs.entry.js +4 -4
- package/dist/cjs/yoo-lesson-detail-card.cjs.entry.js +10 -10
- package/dist/cjs/yoo-lesson-detail.cjs.entry.js +11 -11
- package/dist/cjs/yoo-lesson-heading.cjs.entry.js +9 -9
- package/dist/cjs/yoo-lesson-highscores.cjs.entry.js +4 -4
- package/dist/cjs/yoo-lesson-question-result.cjs.entry.js +43 -43
- package/dist/cjs/yoo-line-state.cjs.entry.js +1 -1
- package/dist/cjs/yoo-links-menu.cjs.entry.js +10 -10
- package/dist/cjs/yoo-links-preview.cjs.entry.js +10 -10
- package/dist/cjs/yoo-loader.cjs.entry.js +4 -4
- package/dist/cjs/yoo-location-info.cjs.entry.js +4 -4
- package/dist/cjs/yoo-location-map.cjs.entry.js +7 -7
- package/dist/cjs/yoo-login.cjs.entry.js +46 -46
- package/dist/cjs/yoo-lottie.cjs.entry.js +5 -5
- package/dist/cjs/yoo-map-gl.cjs.entry.js +15 -15
- package/dist/cjs/yoo-map-js.cjs.entry.js +9 -9
- package/dist/cjs/yoo-map-legend.cjs.entry.js +10 -10
- package/dist/cjs/yoo-map.cjs.entry.js +6 -6
- package/dist/cjs/yoo-markdown.cjs.entry.js +10 -10
- package/dist/cjs/yoo-memo-list-dialog.cjs.entry.js +20 -20
- package/dist/cjs/yoo-memo-list.cjs.entry.js +17 -17
- package/dist/cjs/yoo-mention-tag.cjs.entry.js +5 -5
- package/dist/cjs/yoo-mission-details.cjs.entry.js +65 -65
- package/dist/cjs/yoo-mission-heading.cjs.entry.js +11 -11
- package/dist/cjs/yoo-mission-score.cjs.entry.js +7 -7
- package/dist/cjs/yoo-mission-todo.cjs.entry.js +5 -5
- package/dist/cjs/yoo-mobile-tabbar-more.cjs.entry.js +4 -4
- package/dist/cjs/yoo-mobile-tabbar.cjs.entry.js +6 -6
- package/dist/cjs/yoo-modal-controller.cjs.entry.js +5 -5
- package/dist/cjs/yoo-modal.cjs.entry.js +49 -46
- package/dist/cjs/yoo-navbar.cjs.entry.js +7 -7
- package/dist/cjs/yoo-numbers-display.cjs.entry.js +7 -7
- package/dist/cjs/yoo-photo-editor.cjs.entry.js +53 -53
- package/dist/cjs/yoo-pivot-table.cjs.entry.js +10 -10
- package/dist/cjs/yoo-podium.cjs.entry.js +13 -13
- package/dist/cjs/yoo-profile-list.cjs.entry.js +18 -18
- package/dist/cjs/yoo-profile-summary.cjs.entry.js +12 -12
- package/dist/cjs/yoo-progress-bar.cjs.entry.js +8 -8
- package/dist/cjs/yoo-progress-loader.cjs.entry.js +4 -4
- package/dist/cjs/yoo-progress-recap.cjs.entry.js +6 -6
- package/dist/cjs/yoo-property-card.cjs.entry.js +9 -9
- package/dist/cjs/yoo-range.cjs.entry.js +6 -6
- package/dist/cjs/yoo-rating.cjs.entry.js +17 -17
- package/dist/cjs/yoo-reset-password.cjs.entry.js +15 -15
- package/dist/cjs/yoo-result-dialog.cjs.entry.js +5 -5
- package/dist/cjs/yoo-reveal.cjs.entry.js +5 -5
- package/dist/cjs/yoo-salesai-formula.cjs.entry.js +6 -6
- package/dist/cjs/yoo-scandit.cjs.entry.js +12 -12
- package/dist/cjs/yoo-scratch-card-creator.cjs.entry.js +8 -8
- package/dist/cjs/yoo-scratch-card.cjs.entry.js +10 -10
- package/dist/cjs/yoo-section-list.cjs.entry.js +13 -13
- package/dist/cjs/yoo-segmented-control.cjs.entry.js +6 -6
- package/dist/cjs/yoo-side-menu-tree.cjs.entry.js +5 -5
- package/dist/cjs/yoo-side-menu.cjs.entry.js +13 -13
- package/dist/cjs/yoo-slides-media.cjs.entry.js +68 -68
- package/dist/cjs/yoo-start-meeting-popup.cjs.entry.js +5 -5
- package/dist/cjs/yoo-tabs.cjs.entry.js +16 -16
- package/dist/cjs/yoo-tag.cjs.entry.js +4 -4
- package/dist/cjs/yoo-text-sequence.cjs.entry.js +6 -6
- package/dist/cjs/yoo-text.cjs.entry.js +5 -5
- package/dist/cjs/yoo-toast.cjs.entry.js +23 -23
- package/dist/cjs/yoo-tooltip.cjs.entry.js +13 -13
- package/dist/cjs/yoo-truncate.cjs.entry.js +9 -9
- package/dist/cjs/yoo-truncated-line.cjs.entry.js +5 -5
- package/dist/cjs/yoo-user-detail.cjs.entry.js +5 -5
- package/dist/cjs/yoo-user-profile.cjs.entry.js +9 -9
- package/dist/cjs/yoo-user-wizard.cjs.entry.js +8 -8
- package/dist/cjs/yoo-videoplayer-core.cjs.entry.js +40 -40
- package/dist/cjs/yoo-videoplayer-dailymotion.cjs.entry.js +11 -11
- package/dist/cjs/yoo-videoplayer-videojs.cjs.entry.js +49 -49
- package/dist/cjs/yoo-videoplayer-vimeo.cjs.entry.js +6 -6
- package/dist/cjs/yoo-videoplayer-youtube.cjs.entry.js +6 -6
- package/dist/cjs/yoo-virtual-item.cjs.entry.js +5 -5
- package/dist/cjs/yoo-virtual-scroll.cjs.entry.js +11 -11
- package/dist/cjs/yoo-waitlist-location-result.cjs.entry.js +12 -12
- package/dist/cjs/yoo-waitlist-location-start.cjs.entry.js +7 -7
- package/dist/cjs/yoo-walkthrough.cjs.entry.js +4 -4
- package/dist/cjs/yoo-web-menu.cjs.entry.js +7 -7
- package/dist/cjs/yoo-webcam.cjs.entry.js +4 -4
- package/dist/cjs/yoo-welcome-banner.cjs.entry.js +7 -7
- package/dist/cjs/yoo-widget-chart.cjs.entry.js +8 -8
- package/dist/cjs/yoo-widget-small-size.cjs.entry.js +4 -4
- package/dist/cjs/yoo-widget-tab.cjs.entry.js +6 -6
- package/dist/cjs/yoo-widget-tile.cjs.entry.js +4 -4
- package/dist/cjs/yoo-workflow-state-dialog.cjs.entry.js +10 -10
- package/dist/cjs/yoo-workflow-state.cjs.entry.js +12 -12
- package/dist/cjs/yoo-workflow.cjs.entry.js +19 -19
- package/dist/cjs/yoo-zebra.cjs.entry.js +46 -46
- package/dist/cjs/yoo-zoom.cjs.entry.js +9 -9
- package/dist/collection/components/2.molecules/modal/modal.js +3 -0
- package/dist/collection/components/form/form-dynamic/form-dynamic.css +8 -0
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +4 -0
- package/dist/collection/components/form/form-formula/form-formula.js +25 -3
- package/dist/collection/components/form/form-input-container/form-input-container.js +2 -2
- package/dist/collection/components/form-creator/form-creator-block-expandable/form-creator-block-expandable.js +1 -1
- package/dist/collection/components/form-creator/form-creator-field-selector/form-creator-field-selector.js +2 -1
- package/dist/collection/feature-operate/mission/announcement-heading/announcement-heading.js +1 -1
- package/dist/collection/feature-operate/mission/mission-heading/mission-heading.js +2 -2
- package/dist/collection/utils/helpers/form-helpers.js +11 -9
- package/dist/collection/utils/helpers/form-input-helpers.js +3 -0
- package/dist/design-system/{button.factory-d122b29d.js → button.factory-0bfd7322.js} +1 -2
- package/dist/{esm/camera-helpers-144d02c3.js → design-system/camera-helpers-1ebce521.js} +3 -3
- package/dist/design-system/{chat-helpers-32c66b3d.js → chat-helpers-48d71dec.js} +2 -2
- package/dist/{esm/common-helpers-93fb99d9.js → design-system/common-helpers-a780c26f.js} +2 -2
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/{esm/draggable-dots-helpers-0ad68460.js → design-system/draggable-dots-helpers-94329ef6.js} +2 -2
- package/dist/design-system/{draggable-tags-helpers-6b51f54e.js → draggable-tags-helpers-769d115e.js} +2 -2
- package/dist/{esm/entities-helpers-3672b147.js → design-system/entities-helpers-e847f911.js} +3 -3
- package/dist/{esm/filters-helpers-d5738c8b.js → design-system/filters-helpers-80476988.js} +3 -3
- package/dist/design-system/{form-choice-helpers-4113e441.js → form-choice-helpers-215f29a7.js} +5 -5
- package/dist/design-system/{form-helpers-efe7fe7e.js → form-helpers-9a884375.js} +13 -11
- package/dist/{esm/form-input-helpers-53e64434.js → design-system/form-input-helpers-482cb628.js} +7 -4
- package/dist/design-system/{form-text-area-helpers-593b5061.js → form-text-area-helpers-603a28f4.js} +2 -2
- package/dist/{esm/grid-renderers-0e4df17e.js → design-system/grid-renderers-0fff5207.js} +7 -7
- package/dist/{esm/incentive-helpers-488c18a4.js → design-system/incentive-helpers-9936c2f5.js} +3 -3
- package/dist/design-system/{index-6f4928d6.js → index-263fef3a.js} +6 -6
- package/dist/design-system/{index-3a070b1c.js → index-295f456b.js} +3 -3
- package/dist/{esm/index-0be1a059.js → design-system/index-40fb8b1d.js} +1 -1
- package/dist/design-system/{index-6b15b9b6.js → index-604330b3.js} +28 -14
- package/dist/design-system/index-6ddddc78.js +1 -0
- package/dist/{esm/index-196b5d5a.js → design-system/index-82b0c326.js} +1 -1
- package/dist/{esm/index-c070ae9a.js → design-system/index-94a8a589.js} +2 -2
- package/dist/design-system/{overlays-2bc53f58.js → index-b758fb25.js} +244 -15
- package/dist/{esm/index-64b38871.js → design-system/index-ce982588.js} +3 -3
- package/dist/{esm/localForage-e0078015.js → design-system/localForage-5a026748.js} +2 -2
- package/dist/design-system/{map-helpers-b980a189.js → map-helpers-32e437ac.js} +2 -2
- package/dist/design-system/{mission-locked-banner-8dd6a396.js → mission-locked-banner-232aa3c2.js} +2 -2
- package/dist/{esm/missions-helpers-520e7863.js → design-system/missions-helpers-d9975418.js} +2 -2
- package/dist/{esm/modal-animations-cc76e7e4.js → design-system/modal-animations-7025ae0b.js} +2 -2
- package/dist/{esm/operation-helpers-9b6672a1.js → design-system/operation-helpers-36850bef.js} +2 -2
- package/dist/design-system/{overlays-71f5c593.js → overlays-835c8c90.js} +2 -2
- package/dist/design-system/swiper-edbc850d.js +12 -0
- package/dist/{esm/theme-34cf9b28.js → design-system/theme-8926641e.js} +2 -2
- package/dist/{esm/tippy.esm-c2562055.js → design-system/tippy.esm-612370f7.js} +1 -1
- package/dist/design-system/{video-player-helpers-7853f4e3.js → video-player-helpers-6ff0c44f.js} +4 -4
- package/dist/{esm/web-0f906895.js → design-system/web-031d6073.js} +5 -5
- package/dist/{esm/web-03799789.js → design-system/web-28c0c7fb.js} +3 -3
- package/dist/{esm/web-f69d8cbf.js → design-system/web-33445feb.js} +3 -3
- package/dist/{esm/web-eda5b8ed.js → design-system/web-dfa276f7.js} +3 -3
- package/dist/design-system/yoo-about.entry.js +3 -3
- package/dist/design-system/yoo-accordion.entry.js +5 -6
- package/dist/design-system/yoo-action-sheet-controller.entry.js +5 -5
- package/dist/design-system/yoo-action-sheet.entry.js +6 -6
- package/dist/design-system/yoo-ag-grid.entry.js +8 -8
- package/dist/design-system/yoo-alert.entry.js +6 -6
- package/dist/design-system/yoo-amap.entry.js +5 -5
- package/dist/design-system/yoo-announcement-heading.entry.js +7 -7
- package/dist/design-system/yoo-app.entry.js +4 -4
- package/dist/design-system/yoo-audio-player.entry.js +4 -4
- package/dist/design-system/yoo-audio-recorder-dialog.entry.js +4 -4
- package/dist/design-system/yoo-avatar.entry.js +3 -3
- package/dist/design-system/yoo-avatars.entry.js +3 -3
- package/dist/design-system/yoo-banner.entry.js +5 -5
- package/dist/design-system/yoo-barcode-dialog.entry.js +3 -3
- package/dist/design-system/yoo-battle-count-down.entry.js +4 -4
- package/dist/design-system/yoo-battle-result.entry.js +3 -3
- package/dist/design-system/yoo-battle-user-stats.entry.js +4 -4
- package/dist/design-system/yoo-breadcrumbs.entry.js +3 -3
- package/dist/design-system/yoo-button.entry.js +4 -4
- package/dist/design-system/yoo-calendar.entry.js +4 -4
- package/dist/design-system/yoo-camera-preview-dialog.entry.js +7 -7
- package/dist/design-system/yoo-card-battle-result.entry.js +3 -3
- package/dist/design-system/yoo-card-battle.entry.js +3 -3
- package/dist/design-system/yoo-card-calendar.entry.js +4 -4
- package/dist/design-system/yoo-card-campaign.entry.js +4 -4
- package/dist/design-system/yoo-card-cell.entry.js +4 -4
- package/dist/design-system/yoo-card-chat.entry.js +4 -4
- package/dist/design-system/yoo-card-course-row-compact.entry.js +3 -3
- package/dist/design-system/yoo-card-course-row.entry.js +5 -5
- package/dist/design-system/yoo-card-course.entry.js +3 -3
- package/dist/design-system/yoo-card-feed-row.entry.js +3 -3
- package/dist/design-system/yoo-card-feed.entry.js +5 -6
- package/dist/design-system/yoo-card-file.entry.js +3 -3
- package/dist/design-system/yoo-card-image.entry.js +3 -3
- package/dist/design-system/yoo-card-inbox.entry.js +3 -3
- package/dist/design-system/yoo-card-incentive-rank.entry.js +3 -3
- package/dist/design-system/yoo-card-incentive.entry.js +5 -5
- package/dist/design-system/yoo-card-kanban.entry.js +5 -5
- package/dist/design-system/yoo-card-lesson.entry.js +4 -4
- package/dist/design-system/yoo-card-list-collapsible.entry.js +4 -4
- package/dist/design-system/yoo-card-list-color.entry.js +3 -3
- package/dist/design-system/yoo-card-list-simple.entry.js +4 -4
- package/dist/design-system/yoo-card-list.entry.js +4 -4
- package/dist/design-system/yoo-card-location.entry.js +3 -3
- package/dist/design-system/yoo-card-media.entry.js +4 -4
- package/dist/design-system/yoo-card-menu.entry.js +4 -4
- package/dist/design-system/yoo-card-notification.entry.js +3 -3
- package/dist/design-system/yoo-card-plan.entry.js +4 -4
- package/dist/design-system/yoo-card-progress.entry.js +3 -3
- package/dist/design-system/yoo-card-recommendation.entry.js +4 -4
- package/dist/design-system/yoo-card-sticky.entry.js +4 -4
- package/dist/design-system/yoo-card-video.entry.js +3 -3
- package/dist/design-system/yoo-chart.entry.js +3 -3
- package/dist/design-system/yoo-chat-message-dialog.entry.js +4 -4
- package/dist/design-system/yoo-chat-message-preview.entry.js +4 -4
- package/dist/design-system/yoo-chat-message.entry.js +5 -5
- package/dist/design-system/yoo-chat.entry.js +6 -7
- package/dist/design-system/yoo-collapsible.entry.js +3 -3
- package/dist/design-system/yoo-color-selector.entry.js +3 -3
- package/dist/design-system/yoo-community-detail.entry.js +4 -4
- package/dist/design-system/yoo-context-menu-dialog.entry.js +4 -4
- package/dist/design-system/yoo-context-menu.entry.js +4 -4
- package/dist/design-system/yoo-copyright.entry.js +3 -3
- package/dist/design-system/yoo-count-down.entry.js +4 -4
- package/dist/design-system/yoo-course-info-card.entry.js +4 -4
- package/dist/design-system/yoo-course-summary.entry.js +4 -4
- package/dist/design-system/yoo-dashboard-detail.entry.js +3 -3
- package/dist/design-system/yoo-date.entry.js +3 -3
- package/dist/design-system/yoo-detail-bar.entry.js +4 -4
- package/dist/design-system/yoo-device-list.entry.js +3 -3
- package/dist/design-system/yoo-device.entry.js +3 -3
- package/dist/design-system/yoo-draw-flow.entry.js +3 -3
- package/dist/design-system/yoo-empty-state.entry.js +1 -1
- package/dist/design-system/yoo-entity-query-builder.entry.js +4 -4
- package/dist/design-system/yoo-entity-search-dialog.entry.js +4 -4
- package/dist/design-system/yoo-entity-search-filters.entry.js +5 -5
- package/dist/design-system/yoo-entity-search-recent.entry.js +3 -3
- package/dist/design-system/yoo-entity-search-sorts.entry.js +4 -4
- package/dist/design-system/yoo-entity-search-tags.entry.js +4 -4
- package/dist/design-system/yoo-entity-search.entry.js +4 -4
- package/dist/design-system/yoo-entity.entry.js +10 -11
- package/dist/design-system/yoo-feed-detail.entry.js +5 -6
- package/dist/design-system/yoo-flag.entry.js +3 -3
- package/dist/design-system/yoo-form-audience.entry.js +6 -6
- package/dist/design-system/yoo-form-autocomplete-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-autocomplete.entry.js +5 -5
- package/dist/design-system/yoo-form-barcode-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-barcode.entry.js +5 -5
- package/dist/design-system/yoo-form-calendar-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-capture-map-dialog.entry.js +3 -3
- package/dist/design-system/yoo-form-capture-tag-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-capture-view-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-capture-webcam-dialog.entry.js +5 -5
- package/dist/design-system/yoo-form-capture.entry.js +7 -7
- package/dist/design-system/yoo-form-carousel.entry.js +4 -4
- package/dist/design-system/yoo-form-catalog-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-catalog.entry.js +5 -5
- package/dist/design-system/yoo-form-categorize-words.entry.js +7 -7
- package/dist/design-system/yoo-form-checkbox.entry.js +5 -5
- package/dist/design-system/yoo-form-checklist.entry.js +5 -5
- package/dist/design-system/yoo-form-choice-button.entry.js +7 -7
- package/dist/design-system/yoo-form-choice-card.entry.js +8 -8
- package/dist/design-system/yoo-form-choice-chat.entry.js +7 -7
- package/dist/design-system/yoo-form-choice-image.entry.js +7 -7
- package/dist/design-system/yoo-form-choice-radio.entry.js +7 -7
- package/dist/design-system/yoo-form-color-field.entry.js +5 -5
- package/dist/design-system/yoo-form-color-picker.entry.js +3 -3
- package/dist/design-system/yoo-form-conditions.entry.js +3 -3
- package/dist/design-system/yoo-form-connect.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-block-expandable.entry.js +6 -6
- package/dist/design-system/yoo-form-creator-block-simple.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-condition-block.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-field-selector.entry.js +6 -5
- package/dist/design-system/yoo-form-creator-header.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-live-preview.entry.js +3 -3
- package/dist/design-system/yoo-form-creator-overlay.entry.js +3 -3
- package/dist/design-system/yoo-form-creator-page-card-list.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-page-card.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-score-expandable.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-scoring-card-list.entry.js +3 -3
- package/dist/design-system/yoo-form-creator-scoring-card.entry.js +3 -3
- package/dist/design-system/yoo-form-creator-scoring-quick-setup.entry.js +3 -3
- package/dist/design-system/yoo-form-creator-translate-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-translate.entry.js +4 -4
- package/dist/design-system/yoo-form-creator-workflow-side-selection.entry.js +5 -5
- package/dist/design-system/yoo-form-creator-workflow-step.entry.js +4 -4
- package/dist/design-system/yoo-form-creator.entry.js +7 -7
- package/dist/design-system/yoo-form-date-time.entry.js +5 -5
- package/dist/design-system/yoo-form-daterange.entry.js +5 -5
- package/dist/design-system/yoo-form-document-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-document.entry.js +5 -5
- package/dist/design-system/yoo-form-dynamic-dialog.entry.js +4 -5
- package/dist/design-system/yoo-form-dynamic.entry.js +12 -8
- package/dist/design-system/yoo-form-emailreport.entry.js +5 -5
- package/dist/design-system/yoo-form-entity-value-pairs.entry.js +3 -3
- package/dist/design-system/yoo-form-explanation.entry.js +3 -3
- package/dist/design-system/yoo-form-feed-preview.entry.js +6 -6
- package/dist/design-system/yoo-form-feedback.entry.js +5 -5
- package/dist/design-system/yoo-form-filter-date.entry.js +3 -3
- package/dist/design-system/yoo-form-filter-number.entry.js +3 -3
- package/dist/design-system/yoo-form-filter-text.entry.js +3 -3
- package/dist/design-system/yoo-form-filter.entry.js +3 -3
- package/dist/design-system/yoo-form-footer.entry.js +5 -6
- package/dist/design-system/yoo-form-formula.entry.js +6 -6
- package/dist/design-system/yoo-form-hotzones-creator.entry.js +3 -3
- package/dist/design-system/yoo-form-hotzones.entry.js +7 -7
- package/dist/design-system/yoo-form-iframe-dialog.entry.js +3 -3
- package/dist/design-system/yoo-form-image-collection.entry.js +6 -6
- package/dist/design-system/yoo-form-image-tagging-creator.entry.js +6 -6
- package/dist/design-system/yoo-form-image-tagging.entry.js +9 -9
- package/dist/design-system/yoo-form-incentive-participants.entry.js +1 -1
- package/dist/design-system/yoo-form-incentive-targets.entry.js +5 -5
- package/dist/design-system/yoo-form-input-comments.entry.js +3 -3
- package/dist/design-system/yoo-form-input-container.entry.js +7 -7
- package/dist/design-system/yoo-form-input.entry.js +9 -9
- package/dist/design-system/yoo-form-json.entry.js +6 -6
- package/dist/design-system/yoo-form-location.entry.js +5 -5
- package/dist/design-system/yoo-form-missing-word.entry.js +7 -7
- package/dist/design-system/yoo-form-missionfield.entry.js +5 -5
- package/dist/design-system/yoo-form-multi-input.entry.js +5 -5
- package/dist/design-system/yoo-form-number-picker-dialog.entry.js +3 -3
- package/dist/design-system/yoo-form-number-picker.entry.js +3 -3
- package/dist/design-system/yoo-form-opening-hours.entry.js +3 -3
- package/dist/design-system/yoo-form-permissions.entry.js +4 -4
- package/dist/design-system/yoo-form-phone-number.entry.js +3 -3
- package/dist/design-system/yoo-form-plan-assign.entry.js +5 -5
- package/dist/design-system/yoo-form-plan.entry.js +5 -5
- package/dist/design-system/yoo-form-pricecheck.entry.js +5 -5
- package/dist/design-system/yoo-form-product-batch.entry.js +6 -6
- package/dist/design-system/yoo-form-products-sales.entry.js +5 -5
- package/dist/design-system/yoo-form-progress-indicator.entry.js +4 -4
- package/dist/design-system/yoo-form-qrcode.entry.js +5 -5
- package/dist/design-system/yoo-form-query-builder.entry.js +6 -6
- package/dist/design-system/yoo-form-range.entry.js +5 -5
- package/dist/design-system/yoo-form-ranking.entry.js +5 -5
- package/dist/design-system/yoo-form-recap-step.entry.js +4 -4
- package/dist/design-system/yoo-form-recurrence-delay.entry.js +3 -3
- package/dist/design-system/yoo-form-recurrence-preview.entry.js +3 -3
- package/dist/design-system/yoo-form-recurrence.entry.js +3 -3
- package/dist/design-system/yoo-form-reorder.entry.js +5 -5
- package/dist/design-system/yoo-form-scorm.entry.js +5 -5
- package/dist/design-system/yoo-form-shopping.entry.js +5 -5
- package/dist/design-system/yoo-form-signature-pad-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-signature-pad.entry.js +5 -5
- package/dist/design-system/yoo-form-sorts.entry.js +6 -6
- package/dist/design-system/yoo-form-star-rating.entry.js +5 -5
- package/dist/design-system/yoo-form-stripe-card.entry.js +5 -5
- package/dist/design-system/yoo-form-swipe-cards.entry.js +6 -6
- package/dist/design-system/yoo-form-table.entry.js +5 -5
- package/dist/design-system/yoo-form-task.entry.js +5 -5
- package/dist/design-system/yoo-form-text-area.entry.js +6 -6
- package/dist/design-system/yoo-form-text-editor.entry.js +7 -7
- package/dist/design-system/yoo-form-time.entry.js +5 -5
- package/dist/design-system/yoo-form-timeslots.entry.js +5 -5
- package/dist/design-system/yoo-form-todo-dialog.entry.js +4 -4
- package/dist/design-system/yoo-form-todo-mission.entry.js +4 -4
- package/dist/design-system/yoo-form-todo-task-list.entry.js +4 -4
- package/dist/design-system/yoo-form-todo-task.entry.js +4 -4
- package/dist/design-system/yoo-form-todo.entry.js +5 -5
- package/dist/design-system/yoo-form-toggle.entry.js +5 -5
- package/dist/design-system/yoo-form-uploader.entry.js +5 -5
- package/dist/design-system/yoo-form-videoplayer.entry.js +5 -5
- package/dist/design-system/yoo-form-wiki.entry.js +5 -5
- package/dist/design-system/yoo-grid-calendar.entry.js +6 -6
- package/dist/design-system/yoo-grid.entry.js +13 -14
- package/dist/design-system/yoo-gridstack.entry.js +4 -4
- package/dist/design-system/yoo-header.entry.js +5 -5
- package/dist/design-system/yoo-healthscore-dialog.entry.js +4 -4
- package/dist/design-system/yoo-healthscore.entry.js +3 -3
- package/dist/design-system/yoo-icon.entry.js +3 -3
- package/dist/design-system/yoo-image-cropper-dialog.entry.js +3 -3
- package/dist/design-system/yoo-img.entry.js +5 -5
- package/dist/design-system/yoo-incentive-detail.entry.js +5 -5
- package/dist/design-system/yoo-input-bar.entry.js +5 -5
- package/dist/design-system/yoo-ion-alert-controller.entry.js +5 -5
- package/dist/design-system/yoo-ion-content.entry.js +3 -3
- package/dist/design-system/yoo-ion-footer.entry.js +5 -5
- package/dist/design-system/yoo-ion-infinite-scroll-content.entry.js +3 -3
- package/dist/design-system/yoo-ion-infinite-scroll.entry.js +3 -3
- package/dist/design-system/yoo-ion-item-divider.entry.js +5 -5
- package/dist/design-system/yoo-ion-item-options.entry.js +5 -5
- package/dist/design-system/yoo-ion-item-sliding.entry.js +6 -6
- package/dist/design-system/yoo-ion-item.entry.js +6 -6
- package/dist/design-system/yoo-ion-list.entry.js +5 -5
- package/dist/design-system/yoo-ion-refresher.entry.js +4 -4
- package/dist/design-system/yoo-ion-scroll.entry.js +4 -4
- package/dist/design-system/yoo-ion-slide.entry.js +5 -5
- package/dist/design-system/{yoo-ion-slides-dffb26f3.js → yoo-ion-slides-77770419.js} +5 -5
- package/dist/design-system/yoo-ion-slides.entry.js +7 -7
- package/dist/design-system/yoo-ion-toast-controller.entry.js +5 -5
- package/dist/design-system/yoo-kanban.entry.js +4 -4
- package/dist/design-system/yoo-kpi-card.entry.js +3 -3
- package/dist/design-system/yoo-kpi-container.entry.js +4 -4
- package/dist/design-system/yoo-kpi-external.entry.js +3 -3
- package/dist/design-system/yoo-kpi.entry.js +3 -4
- package/dist/design-system/yoo-layout-sections.entry.js +3 -3
- package/dist/design-system/yoo-layout-tabs.entry.js +3 -3
- package/dist/design-system/yoo-layout-two-columns.entry.js +3 -3
- package/dist/design-system/yoo-lesson-detail-card.entry.js +3 -3
- package/dist/design-system/yoo-lesson-detail.entry.js +4 -4
- package/dist/design-system/yoo-lesson-heading.entry.js +4 -4
- package/dist/design-system/yoo-lesson-highscores.entry.js +3 -3
- package/dist/design-system/yoo-lesson-question-result.entry.js +4 -4
- package/dist/design-system/yoo-line-state.entry.js +1 -1
- package/dist/design-system/yoo-links-menu.entry.js +3 -3
- package/dist/design-system/yoo-links-preview.entry.js +5 -5
- package/dist/design-system/yoo-loader.entry.js +3 -3
- package/dist/design-system/yoo-location-info.entry.js +3 -3
- package/dist/design-system/yoo-location-map.entry.js +4 -4
- package/dist/design-system/yoo-login.entry.js +5 -5
- package/dist/design-system/yoo-lottie.entry.js +3 -3
- package/dist/design-system/yoo-map-gl.entry.js +4 -4
- package/dist/design-system/yoo-map-js.entry.js +5 -5
- package/dist/design-system/yoo-map-legend.entry.js +5 -5
- package/dist/design-system/yoo-map.entry.js +4 -4
- package/dist/design-system/yoo-markdown.entry.js +5 -5
- package/dist/design-system/yoo-memo-list-dialog.entry.js +3 -3
- package/dist/design-system/yoo-memo-list.entry.js +3 -3
- package/dist/design-system/yoo-mention-tag.entry.js +3 -3
- package/dist/design-system/yoo-mission-details.entry.js +5 -5
- package/dist/design-system/yoo-mission-heading.entry.js +8 -8
- package/dist/design-system/yoo-mission-score.entry.js +3 -3
- package/dist/design-system/yoo-mission-todo.entry.js +4 -4
- package/dist/design-system/yoo-mobile-tabbar-more.entry.js +3 -3
- package/dist/design-system/yoo-mobile-tabbar.entry.js +4 -4
- package/dist/design-system/yoo-modal-controller.entry.js +5 -5
- package/dist/design-system/yoo-modal.entry.js +10 -7
- package/dist/design-system/yoo-navbar.entry.js +4 -4
- package/dist/design-system/yoo-numbers-display.entry.js +4 -4
- package/dist/design-system/yoo-photo-editor.entry.js +8 -8
- package/dist/design-system/yoo-pivot-table.entry.js +8 -8
- package/dist/design-system/yoo-podium.entry.js +3 -3
- package/dist/design-system/yoo-profile-list.entry.js +4 -4
- package/dist/design-system/yoo-profile-summary.entry.js +4 -4
- package/dist/design-system/yoo-progress-bar.entry.js +4 -4
- package/dist/design-system/yoo-progress-loader.entry.js +3 -3
- package/dist/design-system/yoo-progress-recap.entry.js +3 -3
- package/dist/design-system/yoo-property-card.entry.js +4 -4
- package/dist/design-system/yoo-range.entry.js +6 -6
- package/dist/design-system/yoo-rating.entry.js +3 -3
- package/dist/design-system/yoo-reset-password.entry.js +4 -4
- package/dist/design-system/yoo-result-dialog.entry.js +4 -4
- package/dist/design-system/yoo-reveal.entry.js +3 -3
- package/dist/design-system/yoo-salesai-formula.entry.js +3 -3
- package/dist/design-system/yoo-scandit.entry.js +4 -4
- package/dist/design-system/yoo-scratch-card-creator.entry.js +3 -3
- package/dist/design-system/yoo-scratch-card.entry.js +5 -5
- package/dist/design-system/yoo-section-list.entry.js +3 -3
- package/dist/design-system/yoo-segmented-control.entry.js +3 -3
- package/dist/design-system/yoo-side-menu-tree.entry.js +3 -3
- package/dist/design-system/yoo-side-menu.entry.js +4 -4
- package/dist/design-system/yoo-slides-media.entry.js +6 -6
- package/dist/design-system/yoo-start-meeting-popup.entry.js +4 -4
- package/dist/design-system/yoo-tabs.entry.js +4 -4
- package/dist/design-system/yoo-tag.entry.js +3 -3
- package/dist/design-system/yoo-text-sequence.entry.js +4 -4
- package/dist/design-system/yoo-text.entry.js +5 -5
- package/dist/design-system/yoo-toast.entry.js +5 -5
- package/dist/design-system/yoo-tooltip.entry.js +6 -6
- package/dist/design-system/yoo-truncate.entry.js +4 -4
- package/dist/design-system/yoo-truncated-line.entry.js +3 -3
- package/dist/design-system/yoo-user-detail.entry.js +3 -3
- package/dist/design-system/yoo-user-profile.entry.js +5 -5
- package/dist/design-system/yoo-user-wizard.entry.js +4 -4
- package/dist/design-system/yoo-videoplayer-core.entry.js +4 -4
- package/dist/design-system/yoo-videoplayer-dailymotion.entry.js +5 -5
- package/dist/design-system/yoo-videoplayer-videojs.entry.js +6 -6
- package/dist/design-system/yoo-videoplayer-vimeo.entry.js +6 -6
- package/dist/design-system/yoo-videoplayer-youtube.entry.js +5 -5
- package/dist/design-system/yoo-virtual-item.entry.js +3 -3
- package/dist/design-system/yoo-virtual-scroll.entry.js +4 -4
- package/dist/design-system/yoo-waitlist-location-result.entry.js +3 -3
- package/dist/design-system/yoo-waitlist-location-start.entry.js +3 -3
- package/dist/design-system/yoo-walkthrough.entry.js +3 -3
- package/dist/design-system/yoo-web-menu.entry.js +4 -4
- package/dist/design-system/yoo-webcam.entry.js +3 -3
- package/dist/design-system/yoo-welcome-banner.entry.js +4 -4
- package/dist/design-system/yoo-widget-chart.entry.js +3 -3
- package/dist/design-system/yoo-widget-small-size.entry.js +3 -3
- package/dist/design-system/yoo-widget-tab.entry.js +3 -3
- package/dist/design-system/yoo-widget-tile.entry.js +3 -3
- package/dist/design-system/yoo-workflow-state-dialog.entry.js +3 -3
- package/dist/design-system/yoo-workflow-state.entry.js +3 -3
- package/dist/design-system/yoo-workflow.entry.js +6 -6
- package/dist/design-system/yoo-zebra.entry.js +4 -4
- package/dist/design-system/yoo-zoom.entry.js +3 -3
- package/dist/esm/{button.factory-d122b29d.js → button.factory-0bfd7322.js} +1 -2
- package/dist/{design-system/camera-helpers-144d02c3.js → esm/camera-helpers-1ebce521.js} +3 -3
- package/dist/esm/{chat-helpers-32c66b3d.js → chat-helpers-48d71dec.js} +2 -2
- package/dist/{design-system/common-helpers-93fb99d9.js → esm/common-helpers-a780c26f.js} +2 -2
- package/dist/esm/design-system.js +1 -1
- package/dist/{design-system/draggable-dots-helpers-0ad68460.js → esm/draggable-dots-helpers-94329ef6.js} +2 -2
- package/dist/esm/{draggable-tags-helpers-6b51f54e.js → draggable-tags-helpers-769d115e.js} +2 -2
- package/dist/{design-system/entities-helpers-3672b147.js → esm/entities-helpers-e847f911.js} +3 -3
- package/dist/{design-system/filters-helpers-d5738c8b.js → esm/filters-helpers-80476988.js} +3 -3
- package/dist/esm/{form-choice-helpers-4113e441.js → form-choice-helpers-215f29a7.js} +5 -5
- package/dist/esm/{form-helpers-efe7fe7e.js → form-helpers-9a884375.js} +13 -11
- package/dist/{design-system/form-input-helpers-53e64434.js → esm/form-input-helpers-482cb628.js} +7 -4
- package/dist/esm/{form-text-area-helpers-593b5061.js → form-text-area-helpers-603a28f4.js} +2 -2
- package/dist/{design-system/grid-renderers-0e4df17e.js → esm/grid-renderers-0fff5207.js} +7 -7
- package/dist/{design-system/incentive-helpers-488c18a4.js → esm/incentive-helpers-9936c2f5.js} +3 -3
- package/dist/esm/{index-6f4928d6.js → index-263fef3a.js} +6 -6
- package/dist/esm/{index-3a070b1c.js → index-295f456b.js} +3 -3
- package/dist/{design-system/index-0be1a059.js → esm/index-40fb8b1d.js} +1 -1
- package/dist/esm/{index-6b15b9b6.js → index-604330b3.js} +28 -14
- package/dist/esm/index-6ddddc78.js +1 -0
- package/dist/{design-system/index-196b5d5a.js → esm/index-82b0c326.js} +1 -1
- package/dist/{design-system/index-c070ae9a.js → esm/index-94a8a589.js} +2 -2
- package/dist/esm/{overlays-2bc53f58.js → index-b758fb25.js} +244 -15
- package/dist/{design-system/index-64b38871.js → esm/index-ce982588.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/{design-system/localForage-e0078015.js → esm/localForage-5a026748.js} +2 -2
- package/dist/esm/{map-helpers-b980a189.js → map-helpers-32e437ac.js} +2 -2
- package/dist/esm/{mission-locked-banner-8dd6a396.js → mission-locked-banner-232aa3c2.js} +2 -2
- package/dist/{design-system/missions-helpers-520e7863.js → esm/missions-helpers-d9975418.js} +2 -2
- package/dist/{design-system/modal-animations-cc76e7e4.js → esm/modal-animations-7025ae0b.js} +2 -2
- package/dist/{design-system/operation-helpers-9b6672a1.js → esm/operation-helpers-36850bef.js} +2 -2
- package/dist/esm/{overlays-71f5c593.js → overlays-835c8c90.js} +2 -2
- package/dist/esm/swiper-edbc850d.js +12 -0
- package/dist/{design-system/theme-34cf9b28.js → esm/theme-8926641e.js} +2 -2
- package/dist/{design-system/tippy.esm-c2562055.js → esm/tippy.esm-612370f7.js} +1 -1
- package/dist/esm/{video-player-helpers-7853f4e3.js → video-player-helpers-6ff0c44f.js} +4 -4
- package/dist/{design-system/web-0f906895.js → esm/web-031d6073.js} +5 -5
- package/dist/{design-system/web-03799789.js → esm/web-28c0c7fb.js} +3 -3
- package/dist/{design-system/web-f69d8cbf.js → esm/web-33445feb.js} +3 -3
- package/dist/{design-system/web-eda5b8ed.js → esm/web-dfa276f7.js} +3 -3
- package/dist/esm/yoo-about.entry.js +3 -3
- package/dist/esm/yoo-accordion.entry.js +5 -6
- package/dist/esm/yoo-action-sheet-controller.entry.js +5 -5
- package/dist/esm/yoo-action-sheet.entry.js +6 -6
- package/dist/esm/yoo-ag-grid.entry.js +8 -8
- package/dist/esm/yoo-alert.entry.js +6 -6
- package/dist/esm/yoo-amap.entry.js +5 -5
- package/dist/esm/yoo-announcement-heading.entry.js +7 -7
- package/dist/esm/yoo-app.entry.js +4 -4
- package/dist/esm/yoo-audio-player.entry.js +4 -4
- package/dist/esm/yoo-audio-recorder-dialog.entry.js +4 -4
- package/dist/esm/yoo-avatar.entry.js +3 -3
- package/dist/esm/yoo-avatars.entry.js +3 -3
- package/dist/esm/yoo-banner.entry.js +5 -5
- package/dist/esm/yoo-barcode-dialog.entry.js +3 -3
- package/dist/esm/yoo-battle-count-down.entry.js +4 -4
- package/dist/esm/yoo-battle-result.entry.js +3 -3
- package/dist/esm/yoo-battle-user-stats.entry.js +4 -4
- package/dist/esm/yoo-breadcrumbs.entry.js +3 -3
- package/dist/esm/yoo-button.entry.js +4 -4
- package/dist/esm/yoo-calendar.entry.js +4 -4
- package/dist/esm/yoo-camera-preview-dialog.entry.js +7 -7
- package/dist/esm/yoo-card-battle-result.entry.js +3 -3
- package/dist/esm/yoo-card-battle.entry.js +3 -3
- package/dist/esm/yoo-card-calendar.entry.js +4 -4
- package/dist/esm/yoo-card-campaign.entry.js +4 -4
- package/dist/esm/yoo-card-cell.entry.js +4 -4
- package/dist/esm/yoo-card-chat.entry.js +4 -4
- package/dist/esm/yoo-card-course-row-compact.entry.js +3 -3
- package/dist/esm/yoo-card-course-row.entry.js +5 -5
- package/dist/esm/yoo-card-course.entry.js +3 -3
- package/dist/esm/yoo-card-feed-row.entry.js +3 -3
- package/dist/esm/yoo-card-feed.entry.js +5 -6
- package/dist/esm/yoo-card-file.entry.js +3 -3
- package/dist/esm/yoo-card-image.entry.js +3 -3
- package/dist/esm/yoo-card-inbox.entry.js +3 -3
- package/dist/esm/yoo-card-incentive-rank.entry.js +3 -3
- package/dist/esm/yoo-card-incentive.entry.js +5 -5
- package/dist/esm/yoo-card-kanban.entry.js +5 -5
- package/dist/esm/yoo-card-lesson.entry.js +4 -4
- package/dist/esm/yoo-card-list-collapsible.entry.js +4 -4
- package/dist/esm/yoo-card-list-color.entry.js +3 -3
- package/dist/esm/yoo-card-list-simple.entry.js +4 -4
- package/dist/esm/yoo-card-list.entry.js +4 -4
- package/dist/esm/yoo-card-location.entry.js +3 -3
- package/dist/esm/yoo-card-media.entry.js +4 -4
- package/dist/esm/yoo-card-menu.entry.js +4 -4
- package/dist/esm/yoo-card-notification.entry.js +3 -3
- package/dist/esm/yoo-card-plan.entry.js +4 -4
- package/dist/esm/yoo-card-progress.entry.js +3 -3
- package/dist/esm/yoo-card-recommendation.entry.js +4 -4
- package/dist/esm/yoo-card-sticky.entry.js +4 -4
- package/dist/esm/yoo-card-video.entry.js +3 -3
- package/dist/esm/yoo-chart.entry.js +3 -3
- package/dist/esm/yoo-chat-message-dialog.entry.js +4 -4
- package/dist/esm/yoo-chat-message-preview.entry.js +4 -4
- package/dist/esm/yoo-chat-message.entry.js +5 -5
- package/dist/esm/yoo-chat.entry.js +6 -7
- package/dist/esm/yoo-collapsible.entry.js +3 -3
- package/dist/esm/yoo-color-selector.entry.js +3 -3
- package/dist/esm/yoo-community-detail.entry.js +4 -4
- package/dist/esm/yoo-context-menu-dialog.entry.js +4 -4
- package/dist/esm/yoo-context-menu.entry.js +4 -4
- package/dist/esm/yoo-copyright.entry.js +3 -3
- package/dist/esm/yoo-count-down.entry.js +4 -4
- package/dist/esm/yoo-course-info-card.entry.js +4 -4
- package/dist/esm/yoo-course-summary.entry.js +4 -4
- package/dist/esm/yoo-dashboard-detail.entry.js +3 -3
- package/dist/esm/yoo-date.entry.js +3 -3
- package/dist/esm/yoo-detail-bar.entry.js +4 -4
- package/dist/esm/yoo-device-list.entry.js +3 -3
- package/dist/esm/yoo-device.entry.js +3 -3
- package/dist/esm/yoo-draw-flow.entry.js +3 -3
- package/dist/esm/yoo-empty-state.entry.js +1 -1
- package/dist/esm/yoo-entity-query-builder.entry.js +4 -4
- package/dist/esm/yoo-entity-search-dialog.entry.js +4 -4
- package/dist/esm/yoo-entity-search-filters.entry.js +5 -5
- package/dist/esm/yoo-entity-search-recent.entry.js +3 -3
- package/dist/esm/yoo-entity-search-sorts.entry.js +4 -4
- package/dist/esm/yoo-entity-search-tags.entry.js +4 -4
- package/dist/esm/yoo-entity-search.entry.js +4 -4
- package/dist/esm/yoo-entity.entry.js +10 -11
- package/dist/esm/yoo-feed-detail.entry.js +5 -6
- package/dist/esm/yoo-flag.entry.js +3 -3
- package/dist/esm/yoo-form-audience.entry.js +6 -6
- package/dist/esm/yoo-form-autocomplete-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-autocomplete.entry.js +5 -5
- package/dist/esm/yoo-form-barcode-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-barcode.entry.js +5 -5
- package/dist/esm/yoo-form-calendar-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-capture-map-dialog.entry.js +3 -3
- package/dist/esm/yoo-form-capture-tag-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-capture-view-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-capture-webcam-dialog.entry.js +5 -5
- package/dist/esm/yoo-form-capture.entry.js +7 -7
- package/dist/esm/yoo-form-carousel.entry.js +4 -4
- package/dist/esm/yoo-form-catalog-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-catalog.entry.js +5 -5
- package/dist/esm/yoo-form-categorize-words.entry.js +7 -7
- package/dist/esm/yoo-form-checkbox.entry.js +5 -5
- package/dist/esm/yoo-form-checklist.entry.js +5 -5
- package/dist/esm/yoo-form-choice-button.entry.js +7 -7
- package/dist/esm/yoo-form-choice-card.entry.js +8 -8
- package/dist/esm/yoo-form-choice-chat.entry.js +7 -7
- package/dist/esm/yoo-form-choice-image.entry.js +7 -7
- package/dist/esm/yoo-form-choice-radio.entry.js +7 -7
- package/dist/esm/yoo-form-color-field.entry.js +5 -5
- package/dist/esm/yoo-form-color-picker.entry.js +3 -3
- package/dist/esm/yoo-form-conditions.entry.js +3 -3
- package/dist/esm/yoo-form-connect.entry.js +6 -6
- package/dist/esm/yoo-form-creator-block-expandable.entry.js +6 -6
- package/dist/esm/yoo-form-creator-block-simple.entry.js +4 -4
- package/dist/esm/yoo-form-creator-condition-block.entry.js +4 -4
- package/dist/esm/yoo-form-creator-field-selector.entry.js +6 -5
- package/dist/esm/yoo-form-creator-header.entry.js +4 -4
- package/dist/esm/yoo-form-creator-live-preview.entry.js +3 -3
- package/dist/esm/yoo-form-creator-overlay.entry.js +3 -3
- package/dist/esm/yoo-form-creator-page-card-list.entry.js +4 -4
- package/dist/esm/yoo-form-creator-page-card.entry.js +4 -4
- package/dist/esm/yoo-form-creator-score-expandable.entry.js +4 -4
- package/dist/esm/yoo-form-creator-scoring-card-list.entry.js +3 -3
- package/dist/esm/yoo-form-creator-scoring-card.entry.js +3 -3
- package/dist/esm/yoo-form-creator-scoring-quick-setup.entry.js +3 -3
- package/dist/esm/yoo-form-creator-translate-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-creator-translate.entry.js +4 -4
- package/dist/esm/yoo-form-creator-workflow-side-selection.entry.js +5 -5
- package/dist/esm/yoo-form-creator-workflow-step.entry.js +4 -4
- package/dist/esm/yoo-form-creator.entry.js +7 -7
- package/dist/esm/yoo-form-date-time.entry.js +5 -5
- package/dist/esm/yoo-form-daterange.entry.js +5 -5
- package/dist/esm/yoo-form-document-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-document.entry.js +5 -5
- package/dist/esm/yoo-form-dynamic-dialog.entry.js +4 -5
- package/dist/esm/yoo-form-dynamic.entry.js +12 -8
- package/dist/esm/yoo-form-emailreport.entry.js +5 -5
- package/dist/esm/yoo-form-entity-value-pairs.entry.js +3 -3
- package/dist/esm/yoo-form-explanation.entry.js +3 -3
- package/dist/esm/yoo-form-feed-preview.entry.js +6 -6
- package/dist/esm/yoo-form-feedback.entry.js +5 -5
- package/dist/esm/yoo-form-filter-date.entry.js +3 -3
- package/dist/esm/yoo-form-filter-number.entry.js +3 -3
- package/dist/esm/yoo-form-filter-text.entry.js +3 -3
- package/dist/esm/yoo-form-filter.entry.js +3 -3
- package/dist/esm/yoo-form-footer.entry.js +5 -6
- package/dist/esm/yoo-form-formula.entry.js +6 -6
- package/dist/esm/yoo-form-hotzones-creator.entry.js +3 -3
- package/dist/esm/yoo-form-hotzones.entry.js +7 -7
- package/dist/esm/yoo-form-iframe-dialog.entry.js +3 -3
- package/dist/esm/yoo-form-image-collection.entry.js +6 -6
- package/dist/esm/yoo-form-image-tagging-creator.entry.js +6 -6
- package/dist/esm/yoo-form-image-tagging.entry.js +9 -9
- package/dist/esm/yoo-form-incentive-participants.entry.js +1 -1
- package/dist/esm/yoo-form-incentive-targets.entry.js +5 -5
- package/dist/esm/yoo-form-input-comments.entry.js +3 -3
- package/dist/esm/yoo-form-input-container.entry.js +7 -7
- package/dist/esm/yoo-form-input.entry.js +9 -9
- package/dist/esm/yoo-form-json.entry.js +6 -6
- package/dist/esm/yoo-form-location.entry.js +5 -5
- package/dist/esm/yoo-form-missing-word.entry.js +7 -7
- package/dist/esm/yoo-form-missionfield.entry.js +5 -5
- package/dist/esm/yoo-form-multi-input.entry.js +5 -5
- package/dist/esm/yoo-form-number-picker-dialog.entry.js +3 -3
- package/dist/esm/yoo-form-number-picker.entry.js +3 -3
- package/dist/esm/yoo-form-opening-hours.entry.js +3 -3
- package/dist/esm/yoo-form-permissions.entry.js +4 -4
- package/dist/esm/yoo-form-phone-number.entry.js +3 -3
- package/dist/esm/yoo-form-plan-assign.entry.js +5 -5
- package/dist/esm/yoo-form-plan.entry.js +5 -5
- package/dist/esm/yoo-form-pricecheck.entry.js +5 -5
- package/dist/esm/yoo-form-product-batch.entry.js +6 -6
- package/dist/esm/yoo-form-products-sales.entry.js +5 -5
- package/dist/esm/yoo-form-progress-indicator.entry.js +4 -4
- package/dist/esm/yoo-form-qrcode.entry.js +5 -5
- package/dist/esm/yoo-form-query-builder.entry.js +6 -6
- package/dist/esm/yoo-form-range.entry.js +5 -5
- package/dist/esm/yoo-form-ranking.entry.js +5 -5
- package/dist/esm/yoo-form-recap-step.entry.js +4 -4
- package/dist/esm/yoo-form-recurrence-delay.entry.js +3 -3
- package/dist/esm/yoo-form-recurrence-preview.entry.js +3 -3
- package/dist/esm/yoo-form-recurrence.entry.js +3 -3
- package/dist/esm/yoo-form-reorder.entry.js +5 -5
- package/dist/esm/yoo-form-scorm.entry.js +5 -5
- package/dist/esm/yoo-form-shopping.entry.js +5 -5
- package/dist/esm/yoo-form-signature-pad-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-signature-pad.entry.js +5 -5
- package/dist/esm/yoo-form-sorts.entry.js +6 -6
- package/dist/esm/yoo-form-star-rating.entry.js +5 -5
- package/dist/esm/yoo-form-stripe-card.entry.js +5 -5
- package/dist/esm/yoo-form-swipe-cards.entry.js +6 -6
- package/dist/esm/yoo-form-table.entry.js +5 -5
- package/dist/esm/yoo-form-task.entry.js +5 -5
- package/dist/esm/yoo-form-text-area.entry.js +6 -6
- package/dist/esm/yoo-form-text-editor.entry.js +7 -7
- package/dist/esm/yoo-form-time.entry.js +5 -5
- package/dist/esm/yoo-form-timeslots.entry.js +5 -5
- package/dist/esm/yoo-form-todo-dialog.entry.js +4 -4
- package/dist/esm/yoo-form-todo-mission.entry.js +4 -4
- package/dist/esm/yoo-form-todo-task-list.entry.js +4 -4
- package/dist/esm/yoo-form-todo-task.entry.js +4 -4
- package/dist/esm/yoo-form-todo.entry.js +5 -5
- package/dist/esm/yoo-form-toggle.entry.js +5 -5
- package/dist/esm/yoo-form-uploader.entry.js +5 -5
- package/dist/esm/yoo-form-videoplayer.entry.js +5 -5
- package/dist/esm/yoo-form-wiki.entry.js +5 -5
- package/dist/esm/yoo-grid-calendar.entry.js +6 -6
- package/dist/esm/yoo-grid.entry.js +13 -14
- package/dist/esm/yoo-gridstack.entry.js +4 -4
- package/dist/esm/yoo-header.entry.js +5 -5
- package/dist/esm/yoo-healthscore-dialog.entry.js +4 -4
- package/dist/esm/yoo-healthscore.entry.js +3 -3
- package/dist/esm/yoo-icon.entry.js +3 -3
- package/dist/esm/yoo-image-cropper-dialog.entry.js +3 -3
- package/dist/esm/yoo-img.entry.js +5 -5
- package/dist/esm/yoo-incentive-detail.entry.js +5 -5
- package/dist/esm/yoo-input-bar.entry.js +5 -5
- package/dist/esm/yoo-ion-alert-controller.entry.js +5 -5
- package/dist/esm/yoo-ion-content.entry.js +3 -3
- package/dist/esm/yoo-ion-footer.entry.js +5 -5
- package/dist/esm/yoo-ion-infinite-scroll-content.entry.js +3 -3
- package/dist/esm/yoo-ion-infinite-scroll.entry.js +3 -3
- package/dist/esm/yoo-ion-item-divider.entry.js +5 -5
- package/dist/esm/yoo-ion-item-options.entry.js +5 -5
- package/dist/esm/yoo-ion-item-sliding.entry.js +6 -6
- package/dist/esm/yoo-ion-item.entry.js +6 -6
- package/dist/esm/yoo-ion-list.entry.js +5 -5
- package/dist/esm/yoo-ion-refresher.entry.js +4 -4
- package/dist/esm/yoo-ion-scroll.entry.js +4 -4
- package/dist/esm/yoo-ion-slide.entry.js +5 -5
- package/dist/esm/{yoo-ion-slides-dffb26f3.js → yoo-ion-slides-77770419.js} +5 -5
- package/dist/esm/yoo-ion-slides.entry.js +7 -7
- package/dist/esm/yoo-ion-toast-controller.entry.js +5 -5
- package/dist/esm/yoo-kanban.entry.js +4 -4
- package/dist/esm/yoo-kpi-card.entry.js +3 -3
- package/dist/esm/yoo-kpi-container.entry.js +4 -4
- package/dist/esm/yoo-kpi-external.entry.js +3 -3
- package/dist/esm/yoo-kpi.entry.js +3 -4
- package/dist/esm/yoo-layout-sections.entry.js +3 -3
- package/dist/esm/yoo-layout-tabs.entry.js +3 -3
- package/dist/esm/yoo-layout-two-columns.entry.js +3 -3
- package/dist/esm/yoo-lesson-detail-card.entry.js +3 -3
- package/dist/esm/yoo-lesson-detail.entry.js +4 -4
- package/dist/esm/yoo-lesson-heading.entry.js +4 -4
- package/dist/esm/yoo-lesson-highscores.entry.js +3 -3
- package/dist/esm/yoo-lesson-question-result.entry.js +4 -4
- package/dist/esm/yoo-line-state.entry.js +1 -1
- package/dist/esm/yoo-links-menu.entry.js +3 -3
- package/dist/esm/yoo-links-preview.entry.js +5 -5
- package/dist/esm/yoo-loader.entry.js +3 -3
- package/dist/esm/yoo-location-info.entry.js +3 -3
- package/dist/esm/yoo-location-map.entry.js +4 -4
- package/dist/esm/yoo-login.entry.js +5 -5
- package/dist/esm/yoo-lottie.entry.js +3 -3
- package/dist/esm/yoo-map-gl.entry.js +4 -4
- package/dist/esm/yoo-map-js.entry.js +5 -5
- package/dist/esm/yoo-map-legend.entry.js +5 -5
- package/dist/esm/yoo-map.entry.js +4 -4
- package/dist/esm/yoo-markdown.entry.js +5 -5
- package/dist/esm/yoo-memo-list-dialog.entry.js +3 -3
- package/dist/esm/yoo-memo-list.entry.js +3 -3
- package/dist/esm/yoo-mention-tag.entry.js +3 -3
- package/dist/esm/yoo-mission-details.entry.js +5 -5
- package/dist/esm/yoo-mission-heading.entry.js +8 -8
- package/dist/esm/yoo-mission-score.entry.js +3 -3
- package/dist/esm/yoo-mission-todo.entry.js +4 -4
- package/dist/esm/yoo-mobile-tabbar-more.entry.js +3 -3
- package/dist/esm/yoo-mobile-tabbar.entry.js +4 -4
- package/dist/esm/yoo-modal-controller.entry.js +5 -5
- package/dist/esm/yoo-modal.entry.js +10 -7
- package/dist/esm/yoo-navbar.entry.js +4 -4
- package/dist/esm/yoo-numbers-display.entry.js +4 -4
- package/dist/esm/yoo-photo-editor.entry.js +8 -8
- package/dist/esm/yoo-pivot-table.entry.js +8 -8
- package/dist/esm/yoo-podium.entry.js +3 -3
- package/dist/esm/yoo-profile-list.entry.js +4 -4
- package/dist/esm/yoo-profile-summary.entry.js +4 -4
- package/dist/esm/yoo-progress-bar.entry.js +4 -4
- package/dist/esm/yoo-progress-loader.entry.js +3 -3
- package/dist/esm/yoo-progress-recap.entry.js +3 -3
- package/dist/esm/yoo-property-card.entry.js +4 -4
- package/dist/esm/yoo-range.entry.js +6 -6
- package/dist/esm/yoo-rating.entry.js +3 -3
- package/dist/esm/yoo-reset-password.entry.js +4 -4
- package/dist/esm/yoo-result-dialog.entry.js +4 -4
- package/dist/esm/yoo-reveal.entry.js +3 -3
- package/dist/esm/yoo-salesai-formula.entry.js +3 -3
- package/dist/esm/yoo-scandit.entry.js +4 -4
- package/dist/esm/yoo-scratch-card-creator.entry.js +3 -3
- package/dist/esm/yoo-scratch-card.entry.js +5 -5
- package/dist/esm/yoo-section-list.entry.js +3 -3
- package/dist/esm/yoo-segmented-control.entry.js +3 -3
- package/dist/esm/yoo-side-menu-tree.entry.js +3 -3
- package/dist/esm/yoo-side-menu.entry.js +4 -4
- package/dist/esm/yoo-slides-media.entry.js +6 -6
- package/dist/esm/yoo-start-meeting-popup.entry.js +4 -4
- package/dist/esm/yoo-tabs.entry.js +4 -4
- package/dist/esm/yoo-tag.entry.js +3 -3
- package/dist/esm/yoo-text-sequence.entry.js +4 -4
- package/dist/esm/yoo-text.entry.js +5 -5
- package/dist/esm/yoo-toast.entry.js +5 -5
- package/dist/esm/yoo-tooltip.entry.js +6 -6
- package/dist/esm/yoo-truncate.entry.js +4 -4
- package/dist/esm/yoo-truncated-line.entry.js +3 -3
- package/dist/esm/yoo-user-detail.entry.js +3 -3
- package/dist/esm/yoo-user-profile.entry.js +5 -5
- package/dist/esm/yoo-user-wizard.entry.js +4 -4
- package/dist/esm/yoo-videoplayer-core.entry.js +4 -4
- package/dist/esm/yoo-videoplayer-dailymotion.entry.js +5 -5
- package/dist/esm/yoo-videoplayer-videojs.entry.js +6 -6
- package/dist/esm/yoo-videoplayer-vimeo.entry.js +6 -6
- package/dist/esm/yoo-videoplayer-youtube.entry.js +5 -5
- package/dist/esm/yoo-virtual-item.entry.js +3 -3
- package/dist/esm/yoo-virtual-scroll.entry.js +4 -4
- package/dist/esm/yoo-waitlist-location-result.entry.js +3 -3
- package/dist/esm/yoo-waitlist-location-start.entry.js +3 -3
- package/dist/esm/yoo-walkthrough.entry.js +3 -3
- package/dist/esm/yoo-web-menu.entry.js +4 -4
- package/dist/esm/yoo-webcam.entry.js +3 -3
- package/dist/esm/yoo-welcome-banner.entry.js +4 -4
- package/dist/esm/yoo-widget-chart.entry.js +3 -3
- package/dist/esm/yoo-widget-small-size.entry.js +3 -3
- package/dist/esm/yoo-widget-tab.entry.js +3 -3
- package/dist/esm/yoo-widget-tile.entry.js +3 -3
- package/dist/esm/yoo-workflow-state-dialog.entry.js +3 -3
- package/dist/esm/yoo-workflow-state.entry.js +3 -3
- package/dist/esm/yoo-workflow.entry.js +6 -6
- package/dist/esm/yoo-zebra.entry.js +4 -4
- package/dist/esm/yoo-zoom.entry.js +3 -3
- package/dist/types/components/form/form-formula/form-formula.d.ts +3 -2
- package/dist/types/components.d.ts +5 -3
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/features/platform/core/ui-utils/src/lib/interfaces/modal.interface.d.ts +77 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/form-field/form-field-type.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/form-field/form-field.interface.d.ts +7 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/date/index.d.ts +3 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/helpers/filters-helpers.d.ts +1 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/index.d.ts +1 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/login/index.d.ts +15 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/translate/translate.d.ts +2 -0
- package/dist/types/interfaces/form-field/form-field.instance.d.ts +1 -1
- package/dist/types/interfaces/ui/form-creator.interface.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/index-d126a9fa.js +0 -4
- package/dist/cjs/index-ec50fd6e.js +0 -4
- package/dist/cjs/mission-locked-banner-c2b49734.js +0 -19
- package/dist/cjs/modal-animations-0cbb2d14.js +0 -48
- package/dist/design-system/index-ab851667.js +0 -1
- package/dist/design-system/index-f1790bda.js +0 -1
- package/dist/design-system/swiper-f49f6b3d.js +0 -12
- package/dist/esm/index-ab851667.js +0 -1
- package/dist/esm/index-f1790bda.js +0 -1
- package/dist/esm/swiper-f49f6b3d.js +0 -12
@@ -3,26 +3,25 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-9ca0e46c.js');
|
6
|
-
const index$
|
7
|
-
require('./index-
|
6
|
+
const index$2 = require('./index-cb8276bc.js');
|
7
|
+
require('./index-7790c794.js');
|
8
8
|
const lodash = require('./lodash-a9050d79.js');
|
9
9
|
const sortable_esm = require('./sortable.esm-00e15691.js');
|
10
|
-
require('./index-
|
11
|
-
const button_factory = require('./button.factory-
|
12
|
-
const index$
|
13
|
-
const commonHelpers = require('./common-helpers-
|
14
|
-
const filtersHelpers = require('./filters-helpers-
|
15
|
-
const formInputHelpers = require('./form-input-helpers-
|
16
|
-
const gridRenderers = require('./grid-renderers-
|
17
|
-
const
|
10
|
+
require('./index-0f9a45fc.js');
|
11
|
+
const button_factory = require('./button.factory-fc24ee93.js');
|
12
|
+
const index$3 = require('./index-7f9a420b.js');
|
13
|
+
const commonHelpers = require('./common-helpers-0724ae60.js');
|
14
|
+
const filtersHelpers = require('./filters-helpers-0c478887.js');
|
15
|
+
const formInputHelpers = require('./form-input-helpers-fb275467.js');
|
16
|
+
const gridRenderers = require('./grid-renderers-1144c063.js');
|
17
|
+
const index$1 = require('./index-4cdf7949.js');
|
18
18
|
const itemSliding_interface = require('./item-sliding.interface-7206925b.js');
|
19
19
|
require('./workflow.interface-ffda8358.js');
|
20
20
|
require('./form-field.instance-410c2aea.js');
|
21
21
|
require('./card-video.interface-70a68a05.js');
|
22
|
-
require('./
|
23
|
-
require('./
|
24
|
-
require('./
|
25
|
-
require('./form-helpers-2fcb4674.js');
|
22
|
+
require('./incentive-helpers-920b03c3.js');
|
23
|
+
require('./missions-helpers-36846610.js');
|
24
|
+
require('./form-helpers-7c18f9c4.js');
|
26
25
|
require('./geolocation-helpers-4c8ccc80.js');
|
27
26
|
require('./_commonjsHelpers-94df2ea7.js');
|
28
27
|
|
@@ -158,7 +157,7 @@ const YooGridComponent = class {
|
|
158
157
|
this.itemsSliding = {};
|
159
158
|
this.itemOptions = {};
|
160
159
|
this.blockUnhoveer = {};
|
161
|
-
this.horizontalSlidesAnim = new
|
160
|
+
this.horizontalSlidesAnim = new index$1.HorizontalSlidesAnimation();
|
162
161
|
this.maxPageCount = 0;
|
163
162
|
this.itemList = [];
|
164
163
|
this.hasBeenFiltered = false;
|
@@ -175,16 +174,16 @@ const YooGridComponent = class {
|
|
175
174
|
this.filtersUpdated = false;
|
176
175
|
this.filterOptions = [
|
177
176
|
{
|
178
|
-
type: index$
|
177
|
+
type: index$2.FormFilterAutocompleteOperator.is,
|
179
178
|
active: true
|
180
179
|
},
|
181
180
|
{
|
182
|
-
type: index$
|
181
|
+
type: index$2.FormFilterAutocompleteOperator.isNot,
|
183
182
|
active: false
|
184
183
|
}
|
185
184
|
];
|
186
185
|
this.renderVirtualItem = (item, index) => {
|
187
|
-
if (this.hasSecondaryActions || (this.keepSelection &&
|
186
|
+
if (this.hasSecondaryActions || (this.keepSelection && index$1.isWeb(this.host))) {
|
188
187
|
if (this.showActionsAsMore) {
|
189
188
|
return this.renderItemWithMore(item, index);
|
190
189
|
}
|
@@ -202,20 +201,20 @@ const YooGridComponent = class {
|
|
202
201
|
return !this.isSelectedToggleView && !!((_a = this.filteredItems) === null || _a === void 0 ? void 0 : _a.length);
|
203
202
|
}
|
204
203
|
get isShowAdvancedFiltersDisplayedIntoSearch() {
|
205
|
-
return this.showSearch !== false && !
|
204
|
+
return this.showSearch !== false && !index$1.isWeb(this.host) && !this.hideAdvancedFilters;
|
206
205
|
}
|
207
206
|
get hasSecondaryActions() {
|
208
207
|
var _a;
|
209
208
|
return ((_a = this.secondaryActions) === null || _a === void 0 ? void 0 : _a.length) && ['card-list', 'card-inbox', 'card-inbox-ongoing', 'card-notification', 'card-plan', 'card-chat'].includes(this.displayType);
|
210
209
|
}
|
211
210
|
get formattedTotal() {
|
212
|
-
return
|
211
|
+
return index$1.pipes.number.transform(this.total) + (this.total > 0 && this.totalMax && this.totalMax === this.total ? '+' : '');
|
213
212
|
}
|
214
213
|
get showSelectAllFinal() {
|
215
214
|
return this.showSelectAll && !(this.isFormField && this.isReadonly);
|
216
215
|
}
|
217
216
|
onGlobaActionsChange() {
|
218
|
-
this.isSelectionMode = ((this.globalActions && this.globalActions.length > 0) ||
|
217
|
+
this.isSelectionMode = ((this.globalActions && this.globalActions.length > 0) || index$1.isWeb(this.host) || this.isFormField) && this.multiple && !this.blockSelectionMode;
|
219
218
|
}
|
220
219
|
onCollectionNameChange() {
|
221
220
|
this.items = [];
|
@@ -230,13 +229,13 @@ const YooGridComponent = class {
|
|
230
229
|
}
|
231
230
|
}
|
232
231
|
onInitialSelectionChanged() {
|
233
|
-
this.selection = [].concat(this.initialSelection || []).filter((value) =>
|
232
|
+
this.selection = [].concat(this.initialSelection || []).filter((value) => index$1.isPresent(value));
|
234
233
|
this.removeUserIdFromSelection();
|
235
|
-
if (!
|
234
|
+
if (!index$1.isWeb(this.host) && this.dynamicOrdering && !this.itemsHaveBeenReordered && !this.isLocal) {
|
236
235
|
this.itemsHaveBeenReordered = true;
|
237
236
|
this.items = this.getOrderedItems();
|
238
237
|
}
|
239
|
-
else if (
|
238
|
+
else if (index$1.isWeb(this.host) &&
|
240
239
|
this.dynamicOrdering &&
|
241
240
|
!this.itemsHaveBeenReordered &&
|
242
241
|
!this.isLocal &&
|
@@ -372,10 +371,10 @@ const YooGridComponent = class {
|
|
372
371
|
return this.getSelection();
|
373
372
|
}
|
374
373
|
async forceFieldUpdate(field) {
|
375
|
-
if (field.type === index$
|
374
|
+
if (field.type === index$2.FormFieldType.address && this.addressAutocomplete) {
|
376
375
|
this.addressAutocomplete.updateValues(field.tmpValues);
|
377
376
|
}
|
378
|
-
if (field.type === index$
|
377
|
+
if (field.type === index$2.FormFieldType.audience) {
|
379
378
|
this.updateValues(field.tmpValues, field.tmpTotal, field.gridCurrentSearch);
|
380
379
|
}
|
381
380
|
}
|
@@ -402,7 +401,7 @@ const YooGridComponent = class {
|
|
402
401
|
return;
|
403
402
|
}
|
404
403
|
const items = (this.host.shadowRoot || this.host).querySelectorAll('yoo-ion-item');
|
405
|
-
|
404
|
+
index$1.safeScrollIntoView(items === null || items === void 0 ? void 0 : items[index]);
|
406
405
|
}
|
407
406
|
async pullToRefresh(refresher) {
|
408
407
|
this.setCurrentPage(0);
|
@@ -519,7 +518,7 @@ const YooGridComponent = class {
|
|
519
518
|
}
|
520
519
|
async getQuery() {
|
521
520
|
var _a;
|
522
|
-
return
|
521
|
+
return index$1.getAsyncExtraData({
|
523
522
|
type: 'grid-query',
|
524
523
|
params: {
|
525
524
|
collectionName: this.collectionName,
|
@@ -599,7 +598,7 @@ const YooGridComponent = class {
|
|
599
598
|
this.selection = [].concat(this.initialSelection || []);
|
600
599
|
this.removeUserIdFromSelection();
|
601
600
|
if (!this.displaySize) {
|
602
|
-
this.displaySize =
|
601
|
+
this.displaySize = index$1.isWeb(this.host) ? 'small' : 'medium';
|
603
602
|
}
|
604
603
|
if (this.entityType === 'courses-small') {
|
605
604
|
this.slidesOptions.spaceBetween = 10;
|
@@ -620,7 +619,7 @@ const YooGridComponent = class {
|
|
620
619
|
if (this.displayType === 'card-sticky' && this.entityType === 'photos') {
|
621
620
|
this.slidesOptions.slidesOffsetBefore = 0;
|
622
621
|
}
|
623
|
-
if (!
|
622
|
+
if (!index$1.isWeb(this.host)) {
|
624
623
|
this.setDisplayIcon();
|
625
624
|
}
|
626
625
|
this.updateGridConfig();
|
@@ -640,13 +639,13 @@ const YooGridComponent = class {
|
|
640
639
|
this.onFetchData(true);
|
641
640
|
}
|
642
641
|
}
|
643
|
-
if (!
|
642
|
+
if (!index$1.isWeb(this.host)) {
|
644
643
|
this.keyboardWillShowListener = this.onKeyboardWillShow.bind(this);
|
645
644
|
window.addEventListener('keyboardWillShow', this.keyboardWillShowListener);
|
646
645
|
this.keyboardWillHideListener = lodash.debounce(this.onKeyboardWillHide, 500).bind(this);
|
647
646
|
window.addEventListener('keyboardWillHide', this.keyboardWillHideListener);
|
648
647
|
if (this.isWidget) {
|
649
|
-
index$
|
648
|
+
index$3.assignPressActions(this.frameContainerEl, this, (ev) => this.onWidgetEdit(ev));
|
650
649
|
}
|
651
650
|
}
|
652
651
|
// Only runs for grids with slides
|
@@ -666,7 +665,7 @@ const YooGridComponent = class {
|
|
666
665
|
if (!this.markersOnly) {
|
667
666
|
this.flyToPosition();
|
668
667
|
}
|
669
|
-
if (!
|
668
|
+
if (!index$1.isWeb(this.host)) {
|
670
669
|
this.setDisplayIcon();
|
671
670
|
}
|
672
671
|
this.onForceInputFocused();
|
@@ -677,7 +676,7 @@ const YooGridComponent = class {
|
|
677
676
|
}
|
678
677
|
connectedCallback() {
|
679
678
|
if (this.disconnected) {
|
680
|
-
this.horizontalSlidesAnim = new
|
679
|
+
this.horizontalSlidesAnim = new index$1.HorizontalSlidesAnimation();
|
681
680
|
this.updateSlides(true);
|
682
681
|
this.disconnected = false;
|
683
682
|
}
|
@@ -685,7 +684,7 @@ const YooGridComponent = class {
|
|
685
684
|
disconnectedCallback() {
|
686
685
|
this.disconnected = true;
|
687
686
|
this.isFirstLoadAfterDisconnect = !this.searchText; // if there is search text we need to requery the data after disconnecting
|
688
|
-
if (!
|
687
|
+
if (!index$1.isWeb(this.host)) {
|
689
688
|
window.removeEventListener('keyboardWillShow', this.keyboardWillShowListener);
|
690
689
|
window.removeEventListener('keyboardWillHide', this.keyboardWillHideListener);
|
691
690
|
}
|
@@ -696,7 +695,7 @@ const YooGridComponent = class {
|
|
696
695
|
removeUserIdFromSelection() {
|
697
696
|
var _a;
|
698
697
|
if (this.entityType === 'groups') {
|
699
|
-
this.selection = (_a = this.selection) === null || _a === void 0 ? void 0 : _a.filter((value) => { var _a, _b; return (value === null || value === void 0 ? void 0 : value.title) ? !((_a = value === null || value === void 0 ? void 0 : value.title) === null || _a === void 0 ? void 0 : _a.match(
|
698
|
+
this.selection = (_a = this.selection) === null || _a === void 0 ? void 0 : _a.filter((value) => { var _a, _b; return (value === null || value === void 0 ? void 0 : value.title) ? !((_a = value === null || value === void 0 ? void 0 : value.title) === null || _a === void 0 ? void 0 : _a.match(index$1.MONGODB_ID_REGEX)) : (value === null || value === void 0 ? void 0 : value._id) && !(value === null || value === void 0 ? void 0 : value.title) ? !((_b = value === null || value === void 0 ? void 0 : value._id) === null || _b === void 0 ? void 0 : _b.match(index$1.MONGODB_ID_REGEX)) : !(value === null || value === void 0 ? void 0 : value.match(index$1.MONGODB_ID_REGEX)); });
|
700
699
|
}
|
701
700
|
}
|
702
701
|
setCurrentPage(page) {
|
@@ -744,7 +743,7 @@ const YooGridComponent = class {
|
|
744
743
|
items = [...selectedItems, ...unselectedItems];
|
745
744
|
}
|
746
745
|
if (this.isLocal && this.searchText) {
|
747
|
-
items =
|
746
|
+
items = index$1.filterListByText(items, this.searchText, (_a = this.model) === null || _a === void 0 ? void 0 : _a.fields);
|
748
747
|
}
|
749
748
|
if (this.entityType === 'emails') {
|
750
749
|
let itemsMissingId = [];
|
@@ -793,7 +792,7 @@ const YooGridComponent = class {
|
|
793
792
|
}
|
794
793
|
useVirtualScroll() {
|
795
794
|
var _a, _b;
|
796
|
-
return shouldUseVirtualScroll((_a =
|
795
|
+
return shouldUseVirtualScroll((_a = index$1.getSession()) === null || _a === void 0 ? void 0 : _a.user, (_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.virtualScrollEnabled, this.isFramed);
|
797
796
|
}
|
798
797
|
transformSelectionToObject(selectedItems) {
|
799
798
|
selectedItems = selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.map((selectedItem) => {
|
@@ -1053,7 +1052,7 @@ const YooGridComponent = class {
|
|
1053
1052
|
}
|
1054
1053
|
else if ((_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.displaySubItemsAsSlides) {
|
1055
1054
|
const slideContainers = commonHelpers.querySelectorAllDeep(this.host, 'yoo-ion-slides.sub-item-container');
|
1056
|
-
if (!
|
1055
|
+
if (!index$1.isAnimationsDisabled() && (slideContainers === null || slideContainers === void 0 ? void 0 : slideContainers.length) > 0) {
|
1057
1056
|
slideContainers.forEach((slideParent) => {
|
1058
1057
|
const slides = slideParent.querySelectorAll(`yoo-ion-slide${forceAnimation === true ? '' : ':not(.gsap_animated)'}`);
|
1059
1058
|
slides.forEach((el) => {
|
@@ -1063,7 +1062,7 @@ const YooGridComponent = class {
|
|
1063
1062
|
});
|
1064
1063
|
if (slides.length > 0 || forceAnimation) {
|
1065
1064
|
slideParent === null || slideParent === void 0 ? void 0 : slideParent.update();
|
1066
|
-
new
|
1065
|
+
new index$1.HorizontalSlidesAnimation().addElements(slides, true);
|
1067
1066
|
}
|
1068
1067
|
});
|
1069
1068
|
}
|
@@ -1073,7 +1072,7 @@ const YooGridComponent = class {
|
|
1073
1072
|
this.keyboardHidden.emit();
|
1074
1073
|
}
|
1075
1074
|
async animateStickySlides(forceAnimation) {
|
1076
|
-
if (!
|
1075
|
+
if (!index$1.isAnimationsDisabled() && this.slides) {
|
1077
1076
|
const slides = this.slides.querySelectorAll(`yoo-ion-slide${forceAnimation === true ? '' : ':not(.gsap_animated)'}`);
|
1078
1077
|
slides.forEach((el) => {
|
1079
1078
|
if (el && el.classList && !el.classList.contains('gsap_animated')) {
|
@@ -1114,7 +1113,7 @@ const YooGridComponent = class {
|
|
1114
1113
|
const ids = lodash.compact((_a = this.selection) === null || _a === void 0 ? void 0 : _a.map((s) => s === null || s === void 0 ? void 0 : s._id));
|
1115
1114
|
if (ids.length > 0) {
|
1116
1115
|
this.setLoading(true);
|
1117
|
-
|
1116
|
+
index$1.getAsyncExtraData({ type: 'get-by-ids', params: { collectionName: this.collectionName, ids, sorts: [{ colId: 'title', sort: 'asc' }] } }).then((ret) => {
|
1118
1117
|
this.items = ret || [];
|
1119
1118
|
if (this.isAgGrid()) {
|
1120
1119
|
if (this.isLocal) {
|
@@ -1174,8 +1173,8 @@ const YooGridComponent = class {
|
|
1174
1173
|
else if (this.hasMapFields()) {
|
1175
1174
|
this.mapGeolocField =
|
1176
1175
|
this.mapGeolocField ||
|
1177
|
-
((_c = (_b = this.campaignFields) === null || _b === void 0 ? void 0 : _b.find((f) =>
|
1178
|
-
((_f = (_e = (_d = this.customModel) === null || _d === void 0 ? void 0 : _d.formFields) === null || _e === void 0 ? void 0 : _e.find((f) =>
|
1176
|
+
((_c = (_b = this.campaignFields) === null || _b === void 0 ? void 0 : _b.find((f) => index$1.isMapField(f))) === null || _c === void 0 ? void 0 : _c.name) ||
|
1177
|
+
((_f = (_e = (_d = this.customModel) === null || _d === void 0 ? void 0 : _d.formFields) === null || _e === void 0 ? void 0 : _e.find((f) => index$1.isMapField(f) || f.type === index$2.FormFieldType.location)) === null || _f === void 0 ? void 0 : _f.name);
|
1179
1178
|
(_g = this.filteredItems) === null || _g === void 0 ? void 0 : _g.forEach((item, index) => {
|
1180
1179
|
const geoLoc = lodash.get(item, this.mapGeolocField + (this.suffix || '') + '._geoloc');
|
1181
1180
|
if ((geoLoc === null || geoLoc === void 0 ? void 0 : geoLoc.length) === 2) {
|
@@ -1210,7 +1209,7 @@ const YooGridComponent = class {
|
|
1210
1209
|
if (this.isFormField && !noLoading) {
|
1211
1210
|
this.setLoading(true);
|
1212
1211
|
}
|
1213
|
-
if (this.isAutoComplete &&
|
1212
|
+
if (this.isAutoComplete && index$1.isWeb(this.host) && this.entityType === 'files' && this.gridIsExpanded) {
|
1214
1213
|
const minPageSizeForScroll = 36;
|
1215
1214
|
this.pageSize = Math.max(minPageSizeForScroll, this.pageSize);
|
1216
1215
|
}
|
@@ -1354,19 +1353,19 @@ const YooGridComponent = class {
|
|
1354
1353
|
if (isBlocked) {
|
1355
1354
|
return;
|
1356
1355
|
}
|
1357
|
-
const index$
|
1356
|
+
const index$2 = this.findIndex(item);
|
1358
1357
|
let selection;
|
1359
1358
|
if (this.multiple && (!this.isSelectionMode || checkBoxClick || this.isFormField || this.host.classList.contains('force-select') || this.host.classList.contains('autocomplete-selection-mode'))) {
|
1360
1359
|
// make sure at least one item selected when preventNoneSelection is set to trun in multiple selection mode
|
1361
|
-
if (((_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.preventNoneSelection) && this.multiple && index$
|
1360
|
+
if (((_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.preventNoneSelection) && this.multiple && index$2 >= 0 && ((_c = this.selection) === null || _c === void 0 ? void 0 : _c.length) === 1) {
|
1362
1361
|
return;
|
1363
1362
|
}
|
1364
|
-
if (index$
|
1365
|
-
this.selection.splice(index$
|
1363
|
+
if (index$2 >= 0) {
|
1364
|
+
this.selection.splice(index$2, 1);
|
1366
1365
|
this.selection = [...this.selection];
|
1367
1366
|
}
|
1368
1367
|
else {
|
1369
|
-
if (
|
1368
|
+
if (index$1.isPresent(this.maxSelectionNumber) && this.maxSelectionNumber >= 0 && this.multiple && this.selection && this.selection.length >= this.maxSelectionNumber) {
|
1370
1369
|
(_e = (_d = this.gridExtraOptions) === null || _d === void 0 ? void 0 : _d.maxSelectionCallback) === null || _e === void 0 ? void 0 : _e.call(_d);
|
1371
1370
|
return;
|
1372
1371
|
}
|
@@ -1377,10 +1376,10 @@ const YooGridComponent = class {
|
|
1377
1376
|
if (this.maxSelectionNumber === 0 && this.selection) {
|
1378
1377
|
return;
|
1379
1378
|
}
|
1380
|
-
if (index$
|
1379
|
+
if (index$2 >= 0 && this.keepSelection && this.disableSingleDeselection) {
|
1381
1380
|
return;
|
1382
1381
|
}
|
1383
|
-
else if (index$
|
1382
|
+
else if (index$2 >= 0 && this.keepSelection) {
|
1384
1383
|
this.selection = [];
|
1385
1384
|
}
|
1386
1385
|
else {
|
@@ -1394,7 +1393,7 @@ const YooGridComponent = class {
|
|
1394
1393
|
selection = lodash.compact(this.selection).map((s) => {
|
1395
1394
|
const id = s[this.idAttributeName || '_id'];
|
1396
1395
|
// be aware that sometimes we use the boolean value "false" as the id (for the mission validation states for example), so must test the value is not null or not undefined
|
1397
|
-
return
|
1396
|
+
return index$1.isPresent(id) ? id : s;
|
1398
1397
|
});
|
1399
1398
|
}
|
1400
1399
|
else if (this.isSelectionMode &&
|
@@ -1414,12 +1413,12 @@ const YooGridComponent = class {
|
|
1414
1413
|
this.selection &&
|
1415
1414
|
this.selection.length > 0 &&
|
1416
1415
|
!checkBoxClick &&
|
1417
|
-
|
1416
|
+
index$1.isWeb(this.host) &&
|
1418
1417
|
!this.host.classList.contains('autocomplete-selection-mode') &&
|
1419
1418
|
!this.host.classList.contains('form-choice') &&
|
1420
1419
|
!this.host.classList.contains('force-select');
|
1421
1420
|
if (!this.disconnected &&
|
1422
|
-
|
1421
|
+
index$1.isWeb(this.host) &&
|
1423
1422
|
checkBoxClick &&
|
1424
1423
|
!this.host.classList.contains('autocomplete-selection-mode') &&
|
1425
1424
|
!this.host.classList.contains('force-select') &&
|
@@ -1547,7 +1546,7 @@ const YooGridComponent = class {
|
|
1547
1546
|
}
|
1548
1547
|
onForceInputFocused() {
|
1549
1548
|
var _a;
|
1550
|
-
if (this.isAutoComplete &&
|
1549
|
+
if (this.isAutoComplete && index$1.isWeb(this.host)) {
|
1551
1550
|
(_a = this.input) === null || _a === void 0 ? void 0 : _a.setFocus();
|
1552
1551
|
}
|
1553
1552
|
}
|
@@ -1606,31 +1605,31 @@ const YooGridComponent = class {
|
|
1606
1605
|
else {
|
1607
1606
|
retVal = this.filteredItems;
|
1608
1607
|
}
|
1609
|
-
retVal = retVal.filter((v) => !
|
1608
|
+
retVal = retVal.filter((v) => !index$1.isNullOrUndefined(v));
|
1610
1609
|
return retVal;
|
1611
1610
|
}
|
1612
1611
|
getAddTagButtonString() {
|
1613
1612
|
var _a;
|
1614
1613
|
if (this.entityType === 'emails') {
|
1615
|
-
return
|
1614
|
+
return index$1.translate('ADDNEWEMAIL');
|
1616
1615
|
}
|
1617
1616
|
else if (((_a = this.model) === null || _a === void 0 ? void 0 : _a.id) === 'memos') {
|
1618
|
-
return
|
1617
|
+
return index$1.translate('ADD');
|
1619
1618
|
}
|
1620
1619
|
else {
|
1621
|
-
return
|
1620
|
+
return index$1.translate('ADDAPPROVE');
|
1622
1621
|
}
|
1623
1622
|
}
|
1624
1623
|
getTagDescription() {
|
1625
1624
|
var _a;
|
1626
1625
|
if (this.entityType === 'emails') {
|
1627
|
-
return
|
1626
|
+
return index$1.translate('NEWEMAILFOUNDDESCRIPTION');
|
1628
1627
|
}
|
1629
1628
|
else if (((_a = this.model) === null || _a === void 0 ? void 0 : _a.id) === 'memos') {
|
1630
|
-
return
|
1629
|
+
return index$1.translate('NEWTASKFOUNDDESCRIPTION');
|
1631
1630
|
}
|
1632
1631
|
else {
|
1633
|
-
return
|
1632
|
+
return index$1.translate('NEWVALUEFOUNDDESCRIPTION', { value: this.searchText || '' });
|
1634
1633
|
}
|
1635
1634
|
}
|
1636
1635
|
isNewTag() {
|
@@ -1661,7 +1660,7 @@ const YooGridComponent = class {
|
|
1661
1660
|
this.fieldFetchCustomData.emit(ev.detail);
|
1662
1661
|
};
|
1663
1662
|
dialogSortsAndFilters.addEventListener('fieldFetchCustomData', fieldFetchCustomDataListener);
|
1664
|
-
|
1663
|
+
index$1.showModal(dialogSortsAndFilters, { model: this.model, values: this.sortsAndFilters, hideSorts: this.hideSorts }, 'transparent', 'slideYEnterAnimation', 'slideYLeaveAnimation').then((ret) => {
|
1665
1664
|
if (ret === null || ret === void 0 ? void 0 : ret.data) {
|
1666
1665
|
this.applySortsAndFilters(ret.data);
|
1667
1666
|
this.filtersUpdated = !this.filtersUpdated;
|
@@ -1688,7 +1687,7 @@ const YooGridComponent = class {
|
|
1688
1687
|
}, 500);
|
1689
1688
|
}
|
1690
1689
|
onHideShowSearchBar(ev) {
|
1691
|
-
if (
|
1690
|
+
if (index$1.isWeb(this.host) && this.searchContainer) {
|
1692
1691
|
this.isSearchBarHidden = commonHelpers.hideShowSearchBar(ev, this.searchContainer, this.horizontalScroll, this.isSearchBarHidden);
|
1693
1692
|
}
|
1694
1693
|
}
|
@@ -1853,7 +1852,7 @@ const YooGridComponent = class {
|
|
1853
1852
|
});
|
1854
1853
|
});
|
1855
1854
|
const searchData = ev.detail;
|
1856
|
-
const formSearch = { field: { type: index$
|
1855
|
+
const formSearch = { field: { type: index$2.FormFieldType.address }, search: searchData, grid: this };
|
1857
1856
|
this.fieldFetchData.emit(formSearch);
|
1858
1857
|
}
|
1859
1858
|
onAddressChanged(ev) {
|
@@ -1911,7 +1910,7 @@ const YooGridComponent = class {
|
|
1911
1910
|
this.selected.emit((_a = ev.detail) === null || _a === void 0 ? void 0 : _a.entity);
|
1912
1911
|
}
|
1913
1912
|
isWebTab() {
|
1914
|
-
return
|
1913
|
+
return index$1.isWeb(this.host) && (this.isPhotosTab() || this.host.classList.contains('history-tab'));
|
1915
1914
|
}
|
1916
1915
|
isPhotosTab() {
|
1917
1916
|
return this.host.classList.contains('photos-tab');
|
@@ -1952,13 +1951,13 @@ const YooGridComponent = class {
|
|
1952
1951
|
if (this.scrollable) {
|
1953
1952
|
list.push('scrollable');
|
1954
1953
|
}
|
1955
|
-
if ((((_a = this.columns) === null || _a === void 0 ? void 0 : _a.length) || this.mainColumnHeader) &&
|
1954
|
+
if ((((_a = this.columns) === null || _a === void 0 ? void 0 : _a.length) || this.mainColumnHeader) && index$1.isWeb(this.host)) {
|
1956
1955
|
list.push('columns');
|
1957
1956
|
}
|
1958
1957
|
if (this.isCalendar()) {
|
1959
1958
|
list.push('calendar');
|
1960
1959
|
}
|
1961
|
-
if (
|
1960
|
+
if (index$1.isWeb(this.host) && (this.keepSelection || this.multiple)) {
|
1962
1961
|
list.push('keep-selection');
|
1963
1962
|
}
|
1964
1963
|
if (this.extraClass) {
|
@@ -1979,34 +1978,34 @@ const YooGridComponent = class {
|
|
1979
1978
|
renderDropdownFormRadio() {
|
1980
1979
|
var _a;
|
1981
1980
|
const formOptions = this.filterOptions.map((filterOption) => filterOption.type);
|
1982
|
-
if (
|
1981
|
+
if (index$1.isWeb(this.host) && ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length)) {
|
1983
1982
|
return (index.h("div", { class: "form-radio-container" }, index.h("yoo-form-radio", { options: formOptions, flow: "column", size: "medium", value: this.selectedFilterOperator || formOptions[0], onInputChanged: (ev) => this.onToggleFormRadio(ev) }, formOptions.map((option, index$1) => (index.h("span", { slot: index$1.toString() }, option))))));
|
1984
1983
|
}
|
1985
1984
|
}
|
1986
1985
|
renderSearchInput() {
|
1987
1986
|
var _a, _b, _c;
|
1988
1987
|
return (this.showSearch !== false && [
|
1989
|
-
!
|
1990
|
-
(
|
1988
|
+
!index$1.isWeb(this.host) && this.shouldRenderToggleSelectAll() && index.h("yoo-button", { class: "select-all", disabled: !this.canSelectAll, shape: "circular", fill: "transparent", rippleType: "unbounded", color: this.isSelectAll ? 'app-color' : 'stable', onClick: () => this.onToggleSelectAll() }, index.h("yoo-icon", { name: "select-all", color: this.isSelectAll ? 'app-color' : 'stable' })),
|
1989
|
+
(index$1.isWeb(this.host) || this.hideAdvancedFilters || this.showFilters === false) ? null : index.h("yoo-button", { class: "margin-right filters", color: "light", onClick: () => this.onShowFilterAdvanced(), fill: "transparent", shape: "circular", rippleType: "bounded" }, index.h("yoo-icon", { name: "filter", color: "stable", slot: "start", size: "medium" }), this.getActiveFiltersCount() > 0 && (index.h("yoo-badge", { color: "app-color", slot: "end", class: "count floating", text: `${this.getActiveFiltersCount()}` }))),
|
1991
1990
|
index.h("yoo-form-input", { ref: (el) => (this.input = el), debounce: 1200, autocapitalize: "none", autocorrect: "off", disabled: this.isSelectAll, class: {
|
1992
1991
|
search: true,
|
1993
|
-
flex: !
|
1994
|
-
web:
|
1992
|
+
flex: !index$1.isWeb(this.host),
|
1993
|
+
web: index$1.isWeb(this.host),
|
1995
1994
|
'grid-search': !this.isAutoComplete,
|
1996
1995
|
[((_a = this.gridExtraOptions) === null || _a === void 0 ? void 0 : _a.searchBarCssClass) || '']: true,
|
1997
1996
|
'with-toggle': this.isToggleModeVisible(),
|
1998
|
-
'drop-down': this.isAutoComplete &&
|
1997
|
+
'drop-down': this.isAutoComplete && index$1.isWeb(this.host),
|
1999
1998
|
'expanded-searchbar': this.gridIsExpanded,
|
2000
1999
|
'no-dropdown-scroll': ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) <= 8,
|
2001
2000
|
empty: !((_c = this.filteredItems) === null || _c === void 0 ? void 0 : _c.length)
|
2002
|
-
}, "icon-prefix": "search", size:
|
2001
|
+
}, "icon-prefix": "search", size: index$1.isWeb(this.host) ? 'medium' : 'large', value: this.searchText, placeholder: this.searchBarPlaceholder ? index$1.translateMulti(this.searchBarPlaceholder) : index$1.translate('SEARCH'), hideOptional: true, onInputChanged: (ev) => this.onSearchInputChange(ev), onInputFocused: () => this.onSearchInputFocused(), onInputBlurred: () => this.onSearchInputBlurred(), onEnterPressed: (ev) => this.onSearchInputEnterPressed(ev) })
|
2003
2002
|
]);
|
2004
2003
|
}
|
2005
2004
|
renderRefresh(force) {
|
2006
|
-
return ((!this.hideRefreshButton && !this.isReadonly && (force || !this.isLocal)) && (index.h("yoo-tooltip", { content:
|
2005
|
+
return ((!this.hideRefreshButton && !this.isReadonly && (force || !this.isLocal)) && (index.h("yoo-tooltip", { content: index$1.translate('REFRESH'), hoverable: true, placement: "bottom" }, index.h("yoo-button", { shape: "circular", fill: "transparent", rippleType: "unbounded", onClick: () => this.pullToRefresh() }, index.h("yoo-icon", { name: "refresh", color: "stable" })))));
|
2007
2006
|
}
|
2008
2007
|
shouldRenderEntityQueryBuilder() {
|
2009
|
-
return
|
2008
|
+
return index$1.isWeb(this.host) && !this.isAutoComplete && (this.gridIsExpanded || !this.gridIsExpanded) && (this.showFilters || this.showAdvancedQueryBuilder);
|
2010
2009
|
}
|
2011
2010
|
renderSearch() {
|
2012
2011
|
let actions = [];
|
@@ -2017,20 +2016,20 @@ const YooGridComponent = class {
|
|
2017
2016
|
return [
|
2018
2017
|
renderEntityQueryBuilder && this.renderEntityQueryBuilder(actions),
|
2019
2018
|
!renderEntityQueryBuilder && this.renderSearchInput(),
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
!
|
2019
|
+
index$1.isWeb(this.host) && !renderEntityQueryBuilder && index.h("span", { class: "flex" }),
|
2020
|
+
index$1.isWeb(this.host) && !renderEntityQueryBuilder && this.renderDisplayMode(),
|
2021
|
+
index$1.isWeb(this.host) && !renderEntityQueryBuilder && this.renderRefresh(),
|
2022
|
+
!index$1.isWeb(this.host) && (index.h("yoo-items", { class: {
|
2024
2023
|
// 'margin-left': !isWeb(this.host) && this.isToggleModeVisible(),
|
2025
|
-
'autocomplete-spacing': !
|
2024
|
+
'autocomplete-spacing': !index$1.isWeb(this.host) && this.host.classList.contains('autocomplete') && this.showSelectAllFinal
|
2026
2025
|
}, slot: "end" }, actions
|
2027
|
-
.map((a) =>
|
2026
|
+
.map((a) => index$1.toButton(a, this))
|
2028
2027
|
.map((button) => button_factory.getButton({
|
2029
2028
|
...button,
|
2030
2029
|
color: button.color || 'stable',
|
2031
2030
|
cssClass: `${button.cssClass || ''}`
|
2032
|
-
})), index.h("slot", { name: "search-buttons-before" }), !
|
2033
|
-
!
|
2031
|
+
})), index.h("slot", { name: "search-buttons-before" }), !index$1.isWeb(this.host) && this.isKanban() && this.renderDisplaySize(), this.renderDisplayMode(), !index$1.isWeb(this.host) && !renderEntityQueryBuilder && this.multiple && this.entityType === 'files' && this.renderFileUpload(), index.h("slot", { name: "search-buttons" }))),
|
2032
|
+
!index$1.isWeb(this.host) && !renderEntityQueryBuilder && this.renderCustomViews()
|
2034
2033
|
];
|
2035
2034
|
}
|
2036
2035
|
setDisplayIcon() {
|
@@ -2079,7 +2078,7 @@ const YooGridComponent = class {
|
|
2079
2078
|
var _a;
|
2080
2079
|
const buttons = (_a = this.displayTypes) === null || _a === void 0 ? void 0 : _a.map((displayType) => ({
|
2081
2080
|
icon: this.getIconFromDisplayType(displayType),
|
2082
|
-
text:
|
2081
|
+
text: index$1.translate('YOOBIC' + displayType.toUpperCase()),
|
2083
2082
|
iconColor: this.displayType === displayType ? 'app-color' : 'stable',
|
2084
2083
|
handler: () => this.onChangeDisplay(displayType)
|
2085
2084
|
}));
|
@@ -2099,7 +2098,7 @@ const YooGridComponent = class {
|
|
2099
2098
|
{ icon: 'small-without-info', handler: () => this.onKanbanResize('medium'), iconColor: this.displaySize !== 'large' ? 'app-color' : 'stable' },
|
2100
2099
|
{ icon: 'large-without-info', handler: () => this.onKanbanResize('large'), iconColor: this.displaySize === 'large' ? 'app-color' : 'stable' }
|
2101
2100
|
];
|
2102
|
-
return (index.h("yoo-tooltip", { content:
|
2101
|
+
return (index.h("yoo-tooltip", { content: index$1.translate('CHANGEDISPLAYSIZE'), hoverable: true, placement: "bottom" }, index.h("yoo-context-menu", { contentButtons: buttonsResize, class: "inline", onContextMenuOpened: (event) => {
|
2103
2102
|
var _a, _b;
|
2104
2103
|
if (((_b = (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.childNodes) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
2105
2104
|
event.target.childNodes[0]['color'] = 'app-color';
|
@@ -2112,7 +2111,7 @@ const YooGridComponent = class {
|
|
2112
2111
|
} }, index.h("yoo-button", { fill: "transparent", shape: "circular", rippleType: "unbounded", color: "stable" }, index.h("yoo-icon", { size: "medium", name: "grid-view", color: "stable" })))));
|
2113
2112
|
}
|
2114
2113
|
onFileSelect(ev) {
|
2115
|
-
|
2114
|
+
index$1.getAsyncExtraData({ type: 'file-upload', params: { file: ev.target.files[0], origin: this.origin } }).then(async (ret) => {
|
2116
2115
|
if (ret === null || ret === void 0 ? void 0 : ret.length) {
|
2117
2116
|
this.onFetchData();
|
2118
2117
|
setTimeout(() => {
|
@@ -2130,7 +2129,7 @@ const YooGridComponent = class {
|
|
2130
2129
|
}
|
2131
2130
|
renderDisplayMode() {
|
2132
2131
|
var _a, _b;
|
2133
|
-
if (
|
2132
|
+
if (index$1.isWeb(this.host) && this.displayType === 'card-media') {
|
2134
2133
|
const buttonsResize = [
|
2135
2134
|
{
|
2136
2135
|
icon: 'small-without-info',
|
@@ -2146,36 +2145,36 @@ const YooGridComponent = class {
|
|
2146
2145
|
{ icon: 'large-with-info', handler: () => this.onMediaResize('large', false), iconColor: this.displaySize === 'large' && !this.useCellOverlay ? 'app-color' : 'stable' }
|
2147
2146
|
];
|
2148
2147
|
return [
|
2149
|
-
index.h("yoo-tooltip", { content:
|
2150
|
-
((_a = this.displayTypes) === null || _a === void 0 ? void 0 : _a.length) > 1 && index.h("yoo-tooltip", { content:
|
2148
|
+
index.h("yoo-tooltip", { content: index$1.translate('CHANGEDISPLAYMODE'), hoverable: true, placement: "bottom" }, index.h("yoo-context-menu", { contentButtons: buttonsResize, class: "inline", onContextMenuOpened: (event) => (event.target.childNodes[0]['color'] = 'app-color'), onContextMenuClosed: (event) => (event.target.childNodes[0]['color'] = 'stable') }, index.h("yoo-button", { fill: "transparent", shape: "circular", rippleType: "unbounded", color: "stable" }, index.h("yoo-icon", { size: "medium", name: "grid-view", color: "stable" })))),
|
2149
|
+
((_a = this.displayTypes) === null || _a === void 0 ? void 0 : _a.length) > 1 && index.h("yoo-tooltip", { content: index$1.translate('CHANGEDISPLAYMODE'), hoverable: true, placement: "bottom" }, this.renderChangeDisplayButton())
|
2151
2150
|
];
|
2152
2151
|
}
|
2153
2152
|
if (!this.isToggleModeVisible()) {
|
2154
2153
|
return;
|
2155
2154
|
}
|
2156
2155
|
if (((_b = this.displayTypes) === null || _b === void 0 ? void 0 : _b.length) > 1) {
|
2157
|
-
return
|
2156
|
+
return index$1.isWeb(this.host) ? (index.h("yoo-tooltip", { content: index$1.translate('CHANGEDISPLAYMODE'), hoverable: true, placement: "bottom" }, this.renderChangeDisplayButton())) : (this.renderChangeDisplayButtonMobile());
|
2158
2157
|
}
|
2159
2158
|
}
|
2160
2159
|
renderExports() {
|
2161
|
-
if (
|
2160
|
+
if (index$1.isWeb(this.host) && this.showExport && this.total > 0) {
|
2162
2161
|
const buttons = [
|
2163
2162
|
{
|
2164
2163
|
icon: 'file-excel',
|
2165
|
-
text:
|
2164
|
+
text: index$1.translate('EXCEL'),
|
2166
2165
|
handler: () => {
|
2167
2166
|
this.exported.emit('xlsx');
|
2168
2167
|
}
|
2169
2168
|
},
|
2170
2169
|
{
|
2171
2170
|
icon: 'file-csv',
|
2172
|
-
text:
|
2171
|
+
text: index$1.translate('CSV'),
|
2173
2172
|
handler: () => {
|
2174
2173
|
this.exported.emit('csv');
|
2175
2174
|
}
|
2176
2175
|
}
|
2177
2176
|
];
|
2178
|
-
return (index.h("yoo-tooltip", { content:
|
2177
|
+
return (index.h("yoo-tooltip", { content: index$1.translate('EXPORT'), hoverable: true, placement: "bottom" }, index.h("yoo-context-menu", { contentButtons: buttons }, index.h("yoo-button", { fill: "transparent", shape: "circular", rippleType: "unbounded" }, index.h("yoo-icon", { size: "medium", name: "export", color: "stable" })))));
|
2179
2178
|
}
|
2180
2179
|
}
|
2181
2180
|
renderCustomViews() {
|
@@ -2186,15 +2185,15 @@ const YooGridComponent = class {
|
|
2186
2185
|
if (this.floatingFilters) {
|
2187
2186
|
return;
|
2188
2187
|
}
|
2189
|
-
const customViewsButtons = ((_b = (_a = this.customViews) === null || _a === void 0 ? void 0 : _a.slice(0, MAX_CUSTOM_VIEWS)) === null || _b === void 0 ? void 0 : _b.map((c) => filtersHelpers.mapCustomViewToButton(c, this.customView,
|
2190
|
-
const moreCustomViewsButtons = ((_d = (_c = this.customViews) === null || _c === void 0 ? void 0 : _c.slice(MAX_CUSTOM_VIEWS)) === null || _d === void 0 ? void 0 : _d.map((c) => filtersHelpers.mapCustomViewToButton(c, this.customView,
|
2188
|
+
const customViewsButtons = ((_b = (_a = this.customViews) === null || _a === void 0 ? void 0 : _a.slice(0, MAX_CUSTOM_VIEWS)) === null || _b === void 0 ? void 0 : _b.map((c) => filtersHelpers.mapCustomViewToButton(c, this.customView, index$1.getSession(), index$1.getAuthentication(), this.customViewLoaded.emit, this.customViewRemoved.emit, (c) => this.customViewSaved.emit({ view: c, showEditForm: true })))) || [];
|
2189
|
+
const moreCustomViewsButtons = ((_d = (_c = this.customViews) === null || _c === void 0 ? void 0 : _c.slice(MAX_CUSTOM_VIEWS)) === null || _d === void 0 ? void 0 : _d.map((c) => filtersHelpers.mapCustomViewToButton(c, this.customView, index$1.getSession(), index$1.getAuthentication(), this.customViewLoaded.emit, this.customViewRemoved.emit, (c) => this.customViewSaved.emit({ view: c, showEditForm: true })))) || [];
|
2191
2190
|
let buttons = [];
|
2192
|
-
if (
|
2191
|
+
if (index$1.isWeb(this.host)) {
|
2193
2192
|
buttons = buttons.concat(customViewsButtons || []);
|
2194
2193
|
if ((moreCustomViewsButtons === null || moreCustomViewsButtons === void 0 ? void 0 : moreCustomViewsButtons.length) > 0) {
|
2195
2194
|
buttons.push({
|
2196
2195
|
icon: 'list-view',
|
2197
|
-
text:
|
2196
|
+
text: index$1.translate('YOOBICMORE'),
|
2198
2197
|
separator: true,
|
2199
2198
|
isVisible: () => { var _a; return ((_a = this.customViews) === null || _a === void 0 ? void 0 : _a.length) > 0; },
|
2200
2199
|
subMenu: moreCustomViewsButtons
|
@@ -2207,7 +2206,7 @@ const YooGridComponent = class {
|
|
2207
2206
|
buttons = buttons.concat([
|
2208
2207
|
{
|
2209
2208
|
// icon: 'pull-to-refresh',
|
2210
|
-
text:
|
2209
|
+
text: index$1.translate('UPDATEVIEW'),
|
2211
2210
|
isVisible: () => !!this.customView,
|
2212
2211
|
hasDivider: true,
|
2213
2212
|
handler: () => {
|
@@ -2216,7 +2215,7 @@ const YooGridComponent = class {
|
|
2216
2215
|
},
|
2217
2216
|
{
|
2218
2217
|
// icon: 'save',
|
2219
|
-
text:
|
2218
|
+
text: index$1.translate('SAVEASNEWVIEW'),
|
2220
2219
|
hasDivider: true,
|
2221
2220
|
handler: () => {
|
2222
2221
|
this.customViewSaved.emit(null);
|
@@ -2224,7 +2223,7 @@ const YooGridComponent = class {
|
|
2224
2223
|
},
|
2225
2224
|
{
|
2226
2225
|
// icon: 'cross',
|
2227
|
-
text:
|
2226
|
+
text: index$1.translate('RESETVIEW'),
|
2228
2227
|
color: 'danger',
|
2229
2228
|
hasDivider: true,
|
2230
2229
|
iconColor: 'danger',
|
@@ -2238,7 +2237,7 @@ const YooGridComponent = class {
|
|
2238
2237
|
if (this.forceCustomViewIcon && !this.isAgGrid()) {
|
2239
2238
|
buttons.unshift({
|
2240
2239
|
icon: 'action-plan',
|
2241
|
-
text:
|
2240
|
+
text: index$1.translate(this.hideUIFields ? 'SHOWUIFIELDS' : 'HIDEUIFIELDS'),
|
2242
2241
|
separator: true,
|
2243
2242
|
handler: () => {
|
2244
2243
|
this.hideUIFields = !this.hideUIFields;
|
@@ -2246,26 +2245,26 @@ const YooGridComponent = class {
|
|
2246
2245
|
}
|
2247
2246
|
});
|
2248
2247
|
}
|
2249
|
-
if (
|
2248
|
+
if (index$1.isWeb(this.host)) {
|
2250
2249
|
return [
|
2251
|
-
index.h("yoo-tooltip", { content:
|
2250
|
+
index.h("yoo-tooltip", { content: index$1.translate('SAVEDFILTERSHELP'), hoverable: true, placement: "bottom" }, index.h("yoo-context-menu", { contentButtons: buttons, class: "customview-menu width-unset" }, index.h("div", { class: "customview-container" }, index.h("yoo-button", { fill: "transparent", shape: "circular", rippleType: "unbounded" }, index.h("yoo-icon", { size: "medium", name: "eye", color: this.customView ? 'app-color' : 'stable' })), index.h("span", { class: { 'customview-title': true, 'app-color': !!this.customView } }, ((_e = this.customView) === null || _e === void 0 ? void 0 : _e.name) || index$1.translate('SAVEDFILTERS')))))
|
2252
2251
|
];
|
2253
2252
|
}
|
2254
2253
|
else if (this.customViewsId) {
|
2255
|
-
return (index.h("yoo-button", { slot: "end", fill: "transparent", shape: "circular", rippleType: "unbounded", onClick: () =>
|
2254
|
+
return (index.h("yoo-button", { slot: "end", fill: "transparent", shape: "circular", rippleType: "unbounded", onClick: () => index$1.showActionSheet(buttons) }, index.h("yoo-icon", { size: "medium", name: "eye", color: this.customView ? 'app-color' : 'stable' })));
|
2256
2255
|
}
|
2257
2256
|
}
|
2258
2257
|
renderAddressAutocomplete() {
|
2259
2258
|
return [
|
2260
2259
|
this.showSearch && (index.h("yoo-form-autocomplete", { ref: (el) => (this.addressAutocomplete = el), size: "medium" //{isWeb(this.host) ? 'medium' : 'large'}
|
2261
2260
|
,
|
2262
|
-
class: { 'map-locations': true, web:
|
2261
|
+
class: { 'map-locations': true, web: index$1.isWeb(this.host) }, iconPrefix: "pin", multiple: false, isLocal: false, entityType: "googlemaps", displayType: "card-list", emptyState: "map", clearable: false, hideTags: true, onFetchData: (ev) => this.onAddressFetchData(ev), onInputChanged: (ev) => this.onAddressChanged(ev) })),
|
2263
2262
|
index.h("span", { class: "flex" }),
|
2264
2263
|
index.h("slot", { name: "search-buttons" }),
|
2265
|
-
|
2264
|
+
index$1.isWeb(this.host) && this.isMap() && this.hasMapFields() && this.renderMapFieldSelect(),
|
2266
2265
|
this.renderDisplayMode(),
|
2267
2266
|
this.renderCustomViews(),
|
2268
|
-
|
2267
|
+
index$1.isWeb(this.host) && this.renderRefresh(),
|
2269
2268
|
this.renderExports()
|
2270
2269
|
];
|
2271
2270
|
}
|
@@ -2280,7 +2279,7 @@ const YooGridComponent = class {
|
|
2280
2279
|
}
|
2281
2280
|
renderToggleSelectAll(useRadio) {
|
2282
2281
|
if (this.shouldRenderToggleSelectAll()) {
|
2283
|
-
const content = this.isSelectedToggleView ?
|
2282
|
+
const content = this.isSelectedToggleView ? index$1.translate('UNTOGGLETOSELECTALL') : index$1.translate('GRIDSELECTALL');
|
2284
2283
|
if (useRadio) {
|
2285
2284
|
return index.h("div", { class: "select-all-checkbox", onClick: () => this.onToggleSelectAll() }, index.h("yoo-form-checkbox", { onInputChanged: (ev) => ev.stopPropagation(), size: "small", color: "app-color", value: this.isSelectAll }), index.h("span", { class: "title" }, content));
|
2286
2285
|
}
|
@@ -2297,18 +2296,18 @@ const YooGridComponent = class {
|
|
2297
2296
|
}, onFieldFetchCustomData: (ev) => {
|
2298
2297
|
ev.stopPropagation();
|
2299
2298
|
this.fieldFetchCustomData.emit(ev.detail);
|
2300
|
-
}, class: { 'no-padding': this.showSearch === false }, floating: this.floatingFilters, disabled: this.isSelectAll && this.total > 0 },
|
2301
|
-
.map((a) =>
|
2299
|
+
}, class: { 'no-padding': this.showSearch === false }, floating: this.floatingFilters, disabled: this.isSelectAll && this.total > 0 }, index$1.isWeb(this.host) && !this.isReadonly && (index.h("div", { class: "search-container-inner", slot: "before" }, this.renderToggleSelectAll(), this.showSearch !== false && this.renderSearchInput(), index.h("slot", { name: "search-buttons-before" }))), index$1.isWeb(this.host) && this.isMap() && this.hasMapFields() && this.renderMapFieldSelect(), index$1.isWeb(this.host) && this.isKanban() && this.hasKanbanColumnFields() && this.renderKanbanColumnFieldSelect(), index$1.isWeb(this.host) && this.isKanban() && showDisplaySize && this.renderDisplaySize(), index$1.isWeb(this.host) && this.renderDisplayMode(), this.renderCustomViews(), index$1.isWeb(this.host) && this.renderRefresh(), index$1.isWeb(this.host) && this.renderExports(), actions.length > 0 && (index.h("yoo-items", { class: { 'margin-left': !index$1.isWeb(this.host) && this.isToggleModeVisible() } }, actions
|
2300
|
+
.map((a) => index$1.toButton(a, this))
|
2302
2301
|
.map((button) => button_factory.getButton({
|
2303
2302
|
...button,
|
2304
2303
|
color: button.color || 'stable',
|
2305
2304
|
cssClass: `${button.cssClass || ''}`
|
2306
|
-
})))),
|
2305
|
+
})))), index$1.isWeb(this.host) && (index.h("div", { class: "nav-bar-entity-right", slot: "before-sort" }, index.h("slot", { name: "nav-bar-entity-right" }))), index.h("slot", { name: "search-buttons" })));
|
2307
2306
|
}
|
2308
2307
|
renderEntitySearchTags(renderSearchOrAutocomplete) {
|
2309
2308
|
var _a;
|
2310
|
-
const showAdvancedFilters = (!
|
2311
|
-
return ((_a = this.tags) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("yoo-entity-search-tags", { slot: this.hideTags || !this.tags || (this.tags && this.tags.length === 0) ? 'start' : renderSearchOrAutocomplete ? 'content' : '', expandedTags: this.gridIsExpanded, hideTags: this.hideTags || !this.tags || !this.tags.length, sortsAndFilters: this.sortsAndFilters, onFilterAdvanced: () => this.onShowFilterAdvanced(), tags:
|
2309
|
+
const showAdvancedFilters = (!index$1.isWeb(this.host) && this.showSearch !== false) || (index$1.isWeb(this.host) && !!this.model) || this.forceTagFilters;
|
2310
|
+
return ((_a = this.tags) === null || _a === void 0 ? void 0 : _a.length) > 0 && (index.h("yoo-entity-search-tags", { slot: this.hideTags || !this.tags || (this.tags && this.tags.length === 0) ? 'start' : renderSearchOrAutocomplete ? 'content' : '', expandedTags: this.gridIsExpanded, hideTags: this.hideTags || !this.tags || !this.tags.length, sortsAndFilters: this.sortsAndFilters, onFilterAdvanced: () => this.onShowFilterAdvanced(), tags: index$1.isWeb(this.host) && !this.gridIsExpanded ? [] : this.tags, values: this.selectedTags || [], hideAdvancedFilters: !showAdvancedFilters || this.isShowAdvancedFiltersDisplayedIntoSearch, onSelected: (ev) => this.onTagSelect(ev), disabled: this.isSelectAll }));
|
2312
2311
|
}
|
2313
2312
|
onTabSelected(ev) {
|
2314
2313
|
this.selectedTab = this.tabs[ev.detail.nextIndex];
|
@@ -2370,12 +2369,12 @@ const YooGridComponent = class {
|
|
2370
2369
|
renderTotalHeader() {
|
2371
2370
|
const total = this.getTotalSelected() || 0;
|
2372
2371
|
if ((this.isFormField || this.showGridTotalHeader) && this.showGridTotalHeader !== false && (this.collectionName || this.entityType)) {
|
2373
|
-
return index.h("div", { class: { 'total-header': true, 'no-padding': this.isFormField, web:
|
2372
|
+
return index.h("div", { class: { 'total-header': true, 'no-padding': this.isFormField, web: index$1.isWeb(this.host) } }, index.h("span", { class: "total" }, total === null || total === void 0 ? void 0 : total.toLocaleString()), index.h("span", { class: "title" }, index$1.translate((this.mainColumnHeader || this.collectionName || this.entityType).toUpperCase())));
|
2374
2373
|
}
|
2375
2374
|
}
|
2376
2375
|
renderLinkHeader() {
|
2377
2376
|
if (this.headerLink) {
|
2378
|
-
return index.h("yoo-link", { class: "link-header", onClick: () => this.headerLinkHandler ? this.headerLinkHandler() : null }, index.h("span", { innerHTML:
|
2377
|
+
return index.h("yoo-link", { class: "link-header", onClick: () => this.headerLinkHandler ? this.headerLinkHandler() : null }, index.h("span", { innerHTML: index$1.translate(this.headerLink) }));
|
2379
2378
|
}
|
2380
2379
|
}
|
2381
2380
|
renderHeader(renderEntityTags) {
|
@@ -2383,29 +2382,29 @@ const YooGridComponent = class {
|
|
2383
2382
|
if ((_b = (_a = this.gridExtraOptions) === null || _a === void 0 ? void 0 : _a.forceSelectAllOptions) === null || _b === void 0 ? void 0 : _b.selectAll) {
|
2384
2383
|
return this.renderSelectAllHeader();
|
2385
2384
|
}
|
2386
|
-
const title =
|
2385
|
+
const title = index$1.translate(this.heading);
|
2387
2386
|
let renderSearchOrAutocomplete = !this.isReadonly &&
|
2388
|
-
(this.showSearch || ((_c = this.displayTypes) === null || _c === void 0 ? void 0 : _c.length) > 1 || (!
|
2387
|
+
(this.showSearch || ((_c = this.displayTypes) === null || _c === void 0 ? void 0 : _c.length) > 1 || (!index$1.isWeb(this.host) && this.allowCustomTag)) &&
|
2389
2388
|
((this.filteredItems && this.filteredItems.length > 0) ||
|
2390
2389
|
this.allowCustomTag ||
|
2391
2390
|
this.searchText ||
|
2392
2391
|
this.alwaysRenderTagsAndFilters() ||
|
2393
2392
|
((_d = this.displayTypes) === null || _d === void 0 ? void 0 : _d.length) > 1 ||
|
2394
2393
|
this.isAgGrid());
|
2395
|
-
if ((this.showSearch || this.showFilters) &&
|
2394
|
+
if ((this.showSearch || this.showFilters) && index$1.isWeb(this.host)) {
|
2396
2395
|
renderSearchOrAutocomplete = true;
|
2397
2396
|
}
|
2398
2397
|
if (this.getActiveFiltersCount()) {
|
2399
2398
|
renderSearchOrAutocomplete = true;
|
2400
2399
|
}
|
2401
|
-
if (this.entityType === 'files' && this.isAutoComplete &&
|
2400
|
+
if (this.entityType === 'files' && this.isAutoComplete && index$1.isWeb(this.host) && this.items.length < 9 && !this.showSearch && !this.showFilters) {
|
2402
2401
|
renderSearchOrAutocomplete = false;
|
2403
2402
|
}
|
2404
2403
|
return [
|
2405
2404
|
this.renderTotalHeader(),
|
2406
2405
|
this.renderLinkHeader(),
|
2407
2406
|
this.renderTabs(),
|
2408
|
-
this.isFramed && (this.heading) ? (index.h("div", { class: "frame-header" }, index.h("div", { class: "row" }, index.h("div", { class: "text-container", onClick: () => this.onHeadingClick() }, this.heading ? (this.isLoading && this.total <= 0 ? (index.h("yoo-card-placeholder", { displayType: this.displayType, entityType: this.entityType, header: this.progressCss })) : (index.h("span", { class: "heading" }, title, this.total > 0 && !this.hideTotal && ` - ${this.formattedTotal}`))) : null), this.showSeeAll !== false && (index.h("div", { class: { 'icon-container': true, widget: this.isWidget }, onClick: () => this.onHeadingClick() },
|
2407
|
+
this.isFramed && (this.heading) ? (index.h("div", { class: "frame-header" }, index.h("div", { class: "row" }, index.h("div", { class: "text-container", onClick: () => this.onHeadingClick() }, this.heading ? (this.isLoading && this.total <= 0 ? (index.h("yoo-card-placeholder", { displayType: this.displayType, entityType: this.entityType, header: this.progressCss })) : (index.h("span", { class: "heading" }, title, this.total > 0 && !this.hideTotal && ` - ${this.formattedTotal}`))) : null), this.showSeeAll !== false && (index.h("div", { class: { 'icon-container': true, widget: this.isWidget }, onClick: () => this.onHeadingClick() }, index$1.translate('YOOBICSEEALL'))), this.isWidget && this.isHome && (index.h("div", { class: { 'icon-container': true }, onClick: (ev) => this.onWidgetEdit(ev) }, index.h("yoo-icon", { name: "more", size: index$1.isWeb(this.host) ? 'small' : 'medium', color: "stable" }))), index.h("slot", { name: "header" })), this.renderProgressBar())) : this.forceHeading ? (index.h("div", { class: "header-container" }, index.h("div", { class: "header-title" }, index.h("div", null, this.total > 0 || !this.hideHeadingIfEmpty ? title : null, !this.hideTotal && this.renderTotalNumber())), (this.entityType === 'courses' || this.entityType === 'plans' || this.entityType === 'courses-small') && this.renderDisplayMode(), this.showSeeAll && this.total > 0 && (index.h("div", { class: "icon-container see-all", onClick: () => this.onHeadingClick() }, index$1.translate('YOOBICSEEALL'))))) : (this.renderProgressBar()),
|
2409
2408
|
(this.gridIsExpanded && this.forceHideSearch) || this.isFramed || this.hideToolbar || (!renderSearchOrAutocomplete && !renderEntityTags) ? null : (index.h("yoo-navbar", { centerTitle: false, class: {
|
2410
2409
|
'grid': !this.isAutoComplete,
|
2411
2410
|
'card-inbox': (_f = (_e = this.host) === null || _e === void 0 ? void 0 : _e.classList) === null || _f === void 0 ? void 0 : _f.contains('card-inbox'),
|
@@ -2414,19 +2413,19 @@ const YooGridComponent = class {
|
|
2414
2413
|
'questions': (_m = (_l = this.host) === null || _l === void 0 ? void 0 : _l.classList) === null || _m === void 0 ? void 0 : _m.contains('questions'),
|
2415
2414
|
'notifications': (_p = (_o = this.host) === null || _o === void 0 ? void 0 : _o.classList) === null || _p === void 0 ? void 0 : _p.contains('notifications'),
|
2416
2415
|
'form': this.isFormField,
|
2417
|
-
'web':
|
2416
|
+
'web': index$1.isWeb(this.host),
|
2418
2417
|
'no-shadow': !!renderSearchOrAutocomplete,
|
2419
2418
|
'search-only': renderSearchOrAutocomplete && !renderEntityTags,
|
2420
2419
|
'transparent': renderEntityTags && !this.hideTags && !renderSearchOrAutocomplete,
|
2421
2420
|
'tags-only': renderEntityTags && !this.hideTags && !renderSearchOrAutocomplete,
|
2422
2421
|
'hide-tags': this.hideTags || !this.tags || !this.tags.length,
|
2423
2422
|
'hide-filters': this.hideAdvancedFilters,
|
2424
|
-
'autocomplete': this.isAutoComplete &&
|
2425
|
-
'autocomplete-dialog-no-tags': this.isAutoComplete && !
|
2423
|
+
'autocomplete': this.isAutoComplete && index$1.isWeb(this.host),
|
2424
|
+
'autocomplete-dialog-no-tags': this.isAutoComplete && !index$1.isWeb(this.host) && (!renderEntityTags || ((_q = this.tags) === null || _q === void 0 ? void 0 : _q.length) === 0),
|
2426
2425
|
'no-padding': this.isFormField,
|
2427
2426
|
'overflow-hidden': this.isMap(),
|
2428
|
-
'expanded-autocomplete': this.isAutoComplete && this.gridIsExpanded &&
|
2429
|
-
} }, renderEntityTags && this.renderEntitySearchTags(renderSearchOrAutocomplete), renderSearchOrAutocomplete && (this.isMap() ? this.renderAddressAutocomplete() : this.renderSearch()), index.h("div", { slot: "content", class: "w-100" },
|
2427
|
+
'expanded-autocomplete': this.isAutoComplete && this.gridIsExpanded && index$1.isWeb(this.host)
|
2428
|
+
} }, renderEntityTags && this.renderEntitySearchTags(renderSearchOrAutocomplete), renderSearchOrAutocomplete && (this.isMap() ? this.renderAddressAutocomplete() : this.renderSearch()), index.h("div", { slot: "content", class: "w-100" }, index$1.isWeb(this.host) && !this.isAutoComplete && !this.isReadonly && !this.shouldRenderEntityQueryBuilder() && this.renderToggleSelectAll(true), index.h("slot", { name: "nav-bar-bottom" }))))
|
2430
2429
|
];
|
2431
2430
|
}
|
2432
2431
|
alwaysRenderTagsAndFilters() {
|
@@ -2455,13 +2454,13 @@ const YooGridComponent = class {
|
|
2455
2454
|
'dynamic-ordering-header-container': true,
|
2456
2455
|
'filters-visible': this.showFilters && ((_b = this.tags) === null || _b === void 0 ? void 0 : _b.length) !== 0 && this.tags !== undefined,
|
2457
2456
|
'no-search': !this.showSearch && !this.gridIsExpanded
|
2458
|
-
} }, index.h("div", { class: "selected-text" }, `${totalSelected} ${
|
2457
|
+
} }, index.h("div", { class: "selected-text" }, `${totalSelected} ${index$1.translate('SELECTED')}`), index.h("div", { class: "dynamic-buttons-container" }, index$1.isWeb(this.host) && !this.gridIsExpanded ? (index.h("yoo-button", { animated: false, color: "app-color", fill: "transparent", size: index$1.isWeb(this.host) ? 'small' : 'medium', shape: "rectangular", onClick: () => this.onExpandGrid() }, index$1.translate('EXPAND'))) : null, this.returnQuery && this.multiple && this.showSelectAllFinal && (index.h("yoo-button", { animated: false, color: "app-color", disabled: !((_c = this.filteredItems) === null || _c === void 0 ? void 0 : _c.length), fill: "transparent", size: index$1.isWeb(this.host) ? 'small' : 'medium', shape: "rectangular", onClick: () => this.onToggleSelectAll() }, index$1.translate('SELECTALL'))), this.multiple && (index.h("yoo-button", { animated: false, disabled: totalSelected <= 0, color: "app-color", fill: "transparent", size: index$1.isWeb(this.host) ? 'small' : 'medium', shape: "rectangular", onClick: () => this.clearSelection() }, index$1.translate('CLEAR'))))));
|
2459
2458
|
}
|
2460
2459
|
}
|
2461
2460
|
renderFilesIcons() {
|
2462
2461
|
var _a;
|
2463
2462
|
const iconView = this.displayType === 'card-cell' ? 'list-view' : 'grid-view';
|
2464
|
-
if (!this.isReadonly && this.entityType === 'files' &&
|
2463
|
+
if (!this.isReadonly && this.entityType === 'files' && index$1.isWeb(this.host) && this.isAutoComplete) {
|
2465
2464
|
return (index.h("div", { class: "file-icons-container" }, !this.gridIsExpanded ? (this.isUploading ? (index.h("yoo-loader", { size: "small" })) : (index.h("yoo-icon", { name: "file-upload", color: "stable", size: "small", onClick: () => this.fileUpload.emit(true) }))) : null, !!((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) && index.h("yoo-icon", { name: iconView, class: iconView, color: "stable", size: "small", onClick: () => this.onChangeDisplayMobile() })));
|
2466
2465
|
}
|
2467
2466
|
}
|
@@ -2470,18 +2469,18 @@ const YooGridComponent = class {
|
|
2470
2469
|
const showClear = this.isSelectAll && ((_a = this.selectionRemoved) === null || _a === void 0 ? void 0 : _a.length) === 0;
|
2471
2470
|
const forceSelectAllIds = ((_d = (_c = (_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.forceSelectAllOptions) === null || _c === void 0 ? void 0 : _c.allIds) === null || _d === void 0 ? void 0 : _d.length) || 0;
|
2472
2471
|
const selectedCount = this.isSelectAll && forceSelectAllIds ? forceSelectAllIds - (((_e = this.selectionRemoved) === null || _e === void 0 ? void 0 : _e.length) || 0) : (_f = this.selection) === null || _f === void 0 ? void 0 : _f.length;
|
2473
|
-
return (index.h("div", { class: "select-all-container" }, index.h("div", { class: "selected-text" }, `${selectedCount || 0} ${
|
2472
|
+
return (index.h("div", { class: "select-all-container" }, index.h("div", { class: "selected-text" }, `${selectedCount || 0} ${index$1.translate('SELECTED')}`), index.h("yoo-button", { animated: false, color: "app-color", fill: "transparent", size: index$1.isWeb(this.host) ? 'small' : 'medium', shape: "rectangular", onClick: () => this.onForceSelectAll(showClear) }, index$1.translate(showClear ? 'CLEAR' : 'SELECTALL'))));
|
2474
2473
|
}
|
2475
2474
|
renderEmptyStateButton(customStyle) {
|
2476
|
-
const buttonSize = (!this.extraClass &&
|
2477
|
-
return (index.h("yoo-button", { class: { 'empty-button': true, expanded: customStyle }, size: buttonSize, color: "app-color", onClick: () => this.emptyStateHandler() },
|
2475
|
+
const buttonSize = (!this.extraClass && index$1.isWeb(this.host)) || this.extraClass.includes('large') ? 'large' : this.extraClass.includes('small') ? 'small' : 'medium';
|
2476
|
+
return (index.h("yoo-button", { class: { 'empty-button': true, expanded: customStyle }, size: buttonSize, color: "app-color", onClick: () => this.emptyStateHandler() }, index$1.translate(this.emptyStateButtonText)));
|
2478
2477
|
}
|
2479
2478
|
renderEmptyState() {
|
2480
2479
|
const type = (this.emptyState || this.entityType || 'error');
|
2481
2480
|
const displayEmptyState = type && type !== 'none' && !this.hideEmptyState;
|
2482
|
-
const header =
|
2483
|
-
const text =
|
2484
|
-
const hasButton = !!this.emptyStateButtonText && !!this.emptyStateHandler && (!
|
2481
|
+
const header = index$1.translate(this.emptyStateHeader || index$2.EMPTYSTATE_TITLE_MAP[type]);
|
2482
|
+
const text = index$1.translate(this.emptyStateDescription || index$2.EMPTYSTATE_TEXT_MAP[type] || 'LISTEMPTY');
|
2483
|
+
const hasButton = !!this.emptyStateButtonText && !!this.emptyStateHandler && (!index$1.isOffline() || this.emptyAllowOfflineAction);
|
2485
2484
|
const customStyle = this.entityType === 'feeds';
|
2486
2485
|
return [
|
2487
2486
|
index.h("slot", { name: "before" }),
|
@@ -2513,20 +2512,20 @@ const YooGridComponent = class {
|
|
2513
2512
|
longitude: -86.05512841352316
|
2514
2513
|
};
|
2515
2514
|
position.zoom = 3;
|
2516
|
-
return (index.h("div", { class: "map-scroll-container" }, index.h("yoo-map", { ref: (el) => (this.gridMap = el), isGridMap: true, class: { absolute:
|
2515
|
+
return (index.h("div", { class: "map-scroll-container" }, index.h("yoo-map", { ref: (el) => (this.gridMap = el), isGridMap: true, class: { absolute: index$1.isWeb(this.host), web: index$1.isWeb(this.host) }, markers: this.markers, markersOnly: this.markersOnly, position: position, onSelected: (event) => this.onMarkerSelected(event), onMapLoaded: () => {
|
2517
2516
|
this.onFetchData();
|
2518
2517
|
}, onMapPositionUpdated: (ev) => this.currentPositionChanged.emit(ev.detail) }), !this.markersOnly && (index.h("yoo-ion-scroll", { class: "horizontal", ref: (el) => (this.mapScroll = el), scrollEvents: true, onIonScroll: (event) => this.onMapScroll(event) }, index.h("div", { class: "entities-container" }, (_a = this.filteredItems) === null || _a === void 0 ? void 0 : _a.map((item, index$1) => (index.h("div", { class: "entity-container-map", onClick: () => this.onMapEntityClicked(index$1) }, this.renderEntity(item, null, index$1)))))))));
|
2519
2518
|
}
|
2520
2519
|
hasMapFields() {
|
2521
2520
|
var _a, _b, _c;
|
2522
|
-
return (((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2521
|
+
return (((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isMapField(f)).length) > 0 || ((_c = (_b = this.customModel) === null || _b === void 0 ? void 0 : _b.formFields) === null || _c === void 0 ? void 0 : _c.filter((f) => index$1.isMapField(f) || f.type === index$2.FormFieldType.location).length) > 0);
|
2523
2522
|
}
|
2524
2523
|
renderMapFieldSelect() {
|
2525
2524
|
var _a;
|
2526
|
-
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2525
|
+
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isMapField(f));
|
2527
2526
|
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-autocomplete", { class: "map-field inline", size: "medium" //{isWeb(this.host) ? 'medium' : 'large'}
|
2528
2527
|
,
|
2529
|
-
hideIcon: true, clearable: false, value: this.mapGeolocField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: fields, displayType: "card-list", placeholder:
|
2528
|
+
hideIcon: true, clearable: false, value: this.mapGeolocField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: fields, displayType: "card-list", placeholder: index$1.translate('CHOOSEMAPFIELD'), useTranslate: true, onInputChanged: (ev) => this.onMapFieldChange(ev), onFetchData: (ev) => ev.stopPropagation(), dialogWidth: "200px" }));
|
2530
2529
|
}
|
2531
2530
|
onMapFieldChange(ev) {
|
2532
2531
|
if (ev === null || ev === void 0 ? void 0 : ev.detail) {
|
@@ -2537,57 +2536,57 @@ const YooGridComponent = class {
|
|
2537
2536
|
}
|
2538
2537
|
hasDateTimeFields() {
|
2539
2538
|
var _a;
|
2540
|
-
return ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2539
|
+
return ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isDateTimeField(f)).length) > 0;
|
2541
2540
|
}
|
2542
2541
|
renderDateFieldSelect() {
|
2543
2542
|
var _a;
|
2544
|
-
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2545
|
-
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title:
|
2543
|
+
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isDateTimeField(f));
|
2544
|
+
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title: index$1.translate('YOOBICCHOOSESTARTDATEFIELD') }, hideOptional: true }, index.h("yoo-form-autocomplete", { class: "date-field inline", size: index$1.isWeb(this.host) ? 'medium' : 'large', hideIcon: true, clearable: false, value: this.calendarDateField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: fields, displayType: "card-list", useTranslate: true, onInputChanged: (ev) => this.calendarDateField = ev.detail, onFetchData: (ev) => ev.stopPropagation(), dialogWidth: "200px" })));
|
2546
2545
|
}
|
2547
2546
|
renderDateEndFieldSelect() {
|
2548
2547
|
var _a;
|
2549
|
-
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2550
|
-
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title:
|
2548
|
+
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isDateTimeField(f));
|
2549
|
+
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title: index$1.translate('YOOBICCHOOSEENDDATEFIELD') }, hideOptional: true }, index.h("yoo-form-autocomplete", { class: "date-field inline", size: index$1.isWeb(this.host) ? 'medium' : 'large', hideIcon: true, clearable: false, value: this.calendarDateEndField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: fields, displayType: "card-list", useTranslate: true, onInputChanged: (ev) => this.calendarDateEndField = ev.detail, onFetchData: (ev) => ev.stopPropagation(), dialogWidth: "200px" })));
|
2551
2550
|
}
|
2552
2551
|
hasResourceFields() {
|
2553
2552
|
var _a;
|
2554
|
-
return ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2553
|
+
return ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isAutocompleteLocalField(f)).length) > 0;
|
2555
2554
|
}
|
2556
2555
|
renderResourceFieldSelect() {
|
2557
2556
|
var _a;
|
2558
|
-
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2559
|
-
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title:
|
2557
|
+
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isAutocompleteLocalField(f));
|
2558
|
+
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title: index$1.translate('YOOBICCHOOSERESOURCEFIELD') }, hideOptional: true }, index.h("yoo-form-autocomplete", { class: "resource-field inline", size: index$1.isWeb(this.host) ? 'medium' : 'large', hideIcon: true, clearable: false, value: this.calendarResourceField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: fields, displayType: "card-list", useTranslate: true, onInputChanged: (ev) => {
|
2560
2559
|
this.calendarResourceField = ev.detail;
|
2561
2560
|
}, onFetchData: (ev) => ev.stopPropagation(), dialogWidth: "200px" })));
|
2562
2561
|
}
|
2563
2562
|
hasResourceDurationFields() {
|
2564
2563
|
var _a;
|
2565
|
-
return ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2564
|
+
return ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isNumberField(f)).length) > 0;
|
2566
2565
|
}
|
2567
2566
|
renderResourceDurationFieldSelect() {
|
2568
2567
|
var _a;
|
2569
|
-
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2570
|
-
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title:
|
2568
|
+
const fields = (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isNumberField(f));
|
2569
|
+
return (fields === null || fields === void 0 ? void 0 : fields.length) > 0 && (index.h("yoo-form-input-container", { field: { title: index$1.translate('YOOBICCHOOSEDURATIONFIELD') }, hideOptional: true }, index.h("yoo-form-autocomplete", { class: "duration-field inline", size: index$1.isWeb(this.host) ? 'medium' : 'large', hideIcon: true, clearable: false, value: this.calendarResourceDurationField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: fields, displayType: "card-list", useTranslate: true, onInputChanged: (ev) => {
|
2571
2570
|
this.calendarResourceDurationField = ev.detail;
|
2572
2571
|
}, onFetchData: (ev) => ev.stopPropagation(), dialogWidth: "200px" })));
|
2573
2572
|
}
|
2574
2573
|
renderCalendar() {
|
2575
2574
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
2576
|
-
const dateFields = ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) =>
|
2577
|
-
const durationFields = ((_d = this.campaignFields) === null || _d === void 0 ? void 0 : _d.filter((f) =>
|
2575
|
+
const dateFields = ((_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => index$1.isDateTimeField(f))) || ((_c = (_b = this.customModel) === null || _b === void 0 ? void 0 : _b.formFields) === null || _c === void 0 ? void 0 : _c.filter((f) => index$1.isDateTimeField(f)));
|
2576
|
+
const durationFields = ((_d = this.campaignFields) === null || _d === void 0 ? void 0 : _d.filter((f) => index$1.isNumberField(f))) || ((_f = (_e = this.customModel) === null || _e === void 0 ? void 0 : _e.formFields) === null || _f === void 0 ? void 0 : _f.filter((f) => index$1.isNumberField(f)));
|
2578
2577
|
this.calendarDateField = this.calendarDateField || dateFields.length > 0 ? (_g = dateFields[0]) === null || _g === void 0 ? void 0 : _g.name : null;
|
2579
2578
|
this.calendarDateEndField = this.calendarDateEndField || dateFields.length > 1 ? (_h = dateFields[1]) === null || _h === void 0 ? void 0 : _h.name : null;
|
2580
2579
|
this.calendarResourceDurationField = this.calendarResourceDurationField || durationFields.length > 0 ? (_j = durationFields[0]) === null || _j === void 0 ? void 0 : _j.name : null;
|
2581
2580
|
const resources = (_l = (_k = this.campaignFields) === null || _k === void 0 ? void 0 : _k.find((f) => f.name === this.calendarResourceField)) === null || _l === void 0 ? void 0 : _l.values;
|
2582
|
-
const viewIds = [...index$
|
2581
|
+
const viewIds = [...index$2.CALENDAR_VIEW_IDS];
|
2583
2582
|
const calendarView = viewIds.find((v) => v._id === this.calendarDefaultView);
|
2584
|
-
return (index.h("yoo-grid-calendar", { ref: (el) => this.calendarEl = el, events: this.items, entityType: this.entityType, editable: this.editable && !this.calendarPreventMove, suffix: this.suffix, timezone: this.calendarTimezone, titleField: this.calendarTitleField, dateField: this.calendarDateField, hideHeader: true, dateEndField: this.calendarDateEndField, resourceField: this.calendarResourceField, showResourcesView: this.calendarShowResourcesView || (!!this.calendarResourceField && (resources === null || resources === void 0 ? void 0 : resources.length) > 0), resources: resources, calendarDefaultView: this.calendarDefaultView, durationField: this.calendarDurationField, resourceDurationField: this.calendarResourceDurationField, durationFieldUnit: this.calendarDurationFieldUnit, slotDuration: this.calendarSlotDuration, openingHours: this.calendarOpeningHours, expandRows: this.calendarExpandRows, customModel: this.customModel, onDateChanged: (ev) => this.onCalendarDateChanged(ev), onDateSelected: (ev) => this.onCalendarDateSelected(ev), onItemSelected: (ev) => this.onCalendarItemSelected(ev) }, index.h("div", { class: "views-container", slot: "header" }, index.h("yoo-form-autocomplete", { size: "medium", values: viewIds, value: calendarView, placeholder:
|
2583
|
+
return (index.h("yoo-grid-calendar", { ref: (el) => this.calendarEl = el, events: this.items, entityType: this.entityType, editable: this.editable && !this.calendarPreventMove, suffix: this.suffix, timezone: this.calendarTimezone, titleField: this.calendarTitleField, dateField: this.calendarDateField, hideHeader: true, dateEndField: this.calendarDateEndField, resourceField: this.calendarResourceField, showResourcesView: this.calendarShowResourcesView || (!!this.calendarResourceField && (resources === null || resources === void 0 ? void 0 : resources.length) > 0), resources: resources, calendarDefaultView: this.calendarDefaultView, durationField: this.calendarDurationField, resourceDurationField: this.calendarResourceDurationField, durationFieldUnit: this.calendarDurationFieldUnit, slotDuration: this.calendarSlotDuration, openingHours: this.calendarOpeningHours, expandRows: this.calendarExpandRows, customModel: this.customModel, onDateChanged: (ev) => this.onCalendarDateChanged(ev), onDateSelected: (ev) => this.onCalendarDateSelected(ev), onItemSelected: (ev) => this.onCalendarItemSelected(ev) }, index.h("div", { class: "views-container", slot: "header" }, index.h("yoo-form-autocomplete", { size: "medium", values: viewIds, value: calendarView, placeholder: index$1.translate('VIEW'), useTranslate: true, dynamicOrdering: false, onInputChanged: (ev) => {
|
2585
2584
|
var _a, _b;
|
2586
2585
|
if ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a._id) {
|
2587
2586
|
this.calendarDefaultView = ev.detail._id;
|
2588
2587
|
(_b = this.calendarEl) === null || _b === void 0 ? void 0 : _b.changeView(this.calendarDefaultView);
|
2589
2588
|
}
|
2590
|
-
}, dialogWidth: "200px" }), this.renderRefresh(true)), index.h("div", { class: "calendar-filters", slot: "more-filters" },
|
2589
|
+
}, dialogWidth: "200px" }), this.renderRefresh(true)), index.h("div", { class: "calendar-filters", slot: "more-filters" }, index$1.isWeb(this.host) && this.isCalendar() && this.hasResourceFields() && this.renderResourceFieldSelect(), index$1.isWeb(this.host) && this.isCalendar() && this.hasDateTimeFields() && this.renderDateFieldSelect(), index$1.isWeb(this.host) && this.isCalendar() && this.hasDateTimeFields() && this.renderDateEndFieldSelect(), index$1.isWeb(this.host) && this.isCalendar() && this.hasResourceDurationFields() && this.renderResourceDurationFieldSelect())));
|
2591
2590
|
}
|
2592
2591
|
hasKanbanColumnFields() {
|
2593
2592
|
var _a;
|
@@ -2595,7 +2594,7 @@ const YooGridComponent = class {
|
|
2595
2594
|
}
|
2596
2595
|
renderKanbanColumnFieldSelect() {
|
2597
2596
|
var _a;
|
2598
|
-
return (index.h("yoo-form-autocomplete", { class: "kanban-column-field inline", size:
|
2597
|
+
return (index.h("yoo-form-autocomplete", { class: "kanban-column-field inline", size: index$1.isWeb(this.host) ? 'medium' : 'large', hideIcon: true, clearable: false, value: this.kanbanColumnField, idOnly: true, idAttributeName: "name", entityType: "formfield", values: (_a = this.campaignFields) === null || _a === void 0 ? void 0 : _a.filter((f) => filtersHelpers.isKanbanColumnField(f)), displayType: "card-list", placeholder: index$1.translate('CHOOSECOLUMNFIELD'), onFetchData: (ev) => ev.stopPropagation(), useTranslate: true, onInputChanged: (ev) => this.onKanbanColumnFieldChange(ev), dialogWidth: "200px" }));
|
2599
2598
|
}
|
2600
2599
|
onKanbanColumnFieldChange(ev) {
|
2601
2600
|
this.kanbanColumnField = ev.detail;
|
@@ -2617,7 +2616,7 @@ const YooGridComponent = class {
|
|
2617
2616
|
renderEntityItems(header, headerIndex, lastItemIndex, baseIndex = 0) {
|
2618
2617
|
var _a, _b, _c, _d, _e, _f, _g;
|
2619
2618
|
const items = (_a = this.filteredItems) === null || _a === void 0 ? void 0 : _a.slice(header.index, lastItemIndex);
|
2620
|
-
const itemHeader = ((_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.hideHeaderCount) || this.entityType === 'calendarEvents' || this.entityType === 'missions' ?
|
2619
|
+
const itemHeader = ((_b = this.gridExtraOptions) === null || _b === void 0 ? void 0 : _b.hideHeaderCount) || this.entityType === 'calendarEvents' || this.entityType === 'missions' ? index$1.translateMulti(header.text) : `${index$1.translateMulti(header.text)} - ${items === null || items === void 0 ? void 0 : items.length}`;
|
2621
2620
|
const TagType = ((_c = this.gridExtraOptions) === null || _c === void 0 ? void 0 : _c.collapsible) ? 'yoo-collapsible' : 'div';
|
2622
2621
|
const ItemTagType = ((_d = this.gridExtraOptions) === null || _d === void 0 ? void 0 : _d.displaySubItemsAsSlides) ? 'yoo-ion-slides' : 'div';
|
2623
2622
|
const ItemSlideTagType = ((_e = this.gridExtraOptions) === null || _e === void 0 ? void 0 : _e.displaySubItemsAsSlides) ? 'yoo-ion-slide' : 'div';
|
@@ -2647,7 +2646,7 @@ const YooGridComponent = class {
|
|
2647
2646
|
...ionItemClass(item),
|
2648
2647
|
'no-padding': (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains('no-padding-item'),
|
2649
2648
|
'item-visible': (_d = (_c = this.host) === null || _c === void 0 ? void 0 : _c.classList) === null || _d === void 0 ? void 0 : _d.contains('item-visible')
|
2650
|
-
}, disabled: this.areItemsDisabled }, this.renderEntity(item, null, idx)),
|
2649
|
+
}, disabled: this.areItemsDisabled }, this.renderEntity(item, null, idx)), index$1.isWeb(this.host) && (this.keepSelection || this.isSelectionMode) && (index.h("yoo-icon", { class: "position", onClick: (ev) => this.onItemSelect(item, true, ev), name: this.isSelected(item) ? 'check' : 'circle', color: this.isSelected(item) ? 'app-color' : 'stable' }))));
|
2651
2650
|
}));
|
2652
2651
|
return [
|
2653
2652
|
index.h(TagType, { class: "no-padding", collapsed: this.gridExtraOptions && !(((_g = this.gridExtraOptions) === null || _g === void 0 ? void 0 : _g.expandFirstItem) && headerIndex === 0), slotHeader: true }, this.entityType === 'lessons' && this.displayType === 'card-list' ?
|
@@ -2683,11 +2682,11 @@ const YooGridComponent = class {
|
|
2683
2682
|
})
|
2684
2683
|
.filter((i) => i.text);
|
2685
2684
|
return [
|
2686
|
-
headers.map((header, index$
|
2685
|
+
headers.map((header, index$2, array) => {
|
2687
2686
|
var _a;
|
2688
|
-
const end = index$
|
2687
|
+
const end = index$2 === array.length - 1 ? (_a = this.filteredItems) === null || _a === void 0 ? void 0 : _a.length : array[index$2 + 1].index;
|
2689
2688
|
return [
|
2690
|
-
index.h("yoo-ion-item-divider", { class: { web:
|
2689
|
+
index.h("yoo-ion-item-divider", { class: { web: index$1.isWeb(this.host), first: index$2 === 0 } }, index.h("span", { class: "divider-inner" }, header.text)),
|
2691
2690
|
index.h("div", { class: "grid-cell" }, this.filteredItems
|
2692
2691
|
.slice(header.index, end)
|
2693
2692
|
.map((item, index) => this.renderEntity(item, null, index)), lodash.range(7).map(() => (index.h("yoo-entity", { class: "empty-entity" })))),
|
@@ -2739,11 +2738,11 @@ const YooGridComponent = class {
|
|
2739
2738
|
};
|
2740
2739
|
return [
|
2741
2740
|
index.h("slot", { name: "header" }),
|
2742
|
-
|
2741
|
+
index$1.isWeb(this.host) && this.entityType !== 'plans' && !this.withoutGradient && index.h("div", { class: `gradient-overlay left ${this.extraClass}` }),
|
2743
2742
|
index.h("slot", { name: "before" }),
|
2744
2743
|
index.h("yoo-ion-slides", { ref: (el) => (this.slides = el), class: newClass, options: options, onIonSlideTransitionEnd: (ev) => this.onHorizontalSlidingEnd(ev), onIonSlideDidChange: () => this.onIonSlideDidChange() }, (_d = this.filteredItems) === null || _d === void 0 ? void 0 :
|
2745
2744
|
_d.map((item, index$1) => (index.h("yoo-ion-slide", { class: slideClass }, index.h("div", { ref: (el) => (this.itemSlideDiv = el), class: "slide" }, this.renderEntity(item, null, index$1))))), emptySlides),
|
2746
|
-
|
2745
|
+
index$1.isWeb(this.host) && this.entityType !== 'plans' && !this.withoutGradient && index.h("div", { class: `gradient-overlay right ${this.extraClass}` }),
|
2747
2746
|
index.h("slot", { name: "after" })
|
2748
2747
|
];
|
2749
2748
|
}
|
@@ -2771,7 +2770,7 @@ const YooGridComponent = class {
|
|
2771
2770
|
loaded: !this.isLoading,
|
2772
2771
|
'web-photos-tab': this.isPhotosTab(),
|
2773
2772
|
'has-progress': this.progress >= 0 && this.total > 0 && this.isFramed
|
2774
|
-
}, ref: (ev) => (this.ionListEl = ev) }, index.h("slot", { name: "header" }), this.hasSecondaryActions || (this.keepSelection &&
|
2773
|
+
}, ref: (ev) => (this.ionListEl = ev) }, index.h("slot", { name: "header" }), this.hasSecondaryActions || (this.keepSelection && index$1.isWeb(this.host))
|
2775
2774
|
? this.getItems().map((item, index) => this.showActionsAsMore
|
2776
2775
|
? this.renderItemWithMore(item, index)
|
2777
2776
|
: this.renderItemSliding(item, index === this.getItems().length - 1 && (index > 1 || this.isFramed), index))
|
@@ -2782,7 +2781,7 @@ const YooGridComponent = class {
|
|
2782
2781
|
];
|
2783
2782
|
}
|
2784
2783
|
else if ((this.isLoading || this.isLoading === undefined) && this.isFormField && !this.isLocal) {
|
2785
|
-
return index.h("yoo-loader", { class: { autocomplete: !
|
2784
|
+
return index.h("yoo-loader", { class: { autocomplete: !index$1.isWeb(this.host), absolute: true }, size: "large" });
|
2786
2785
|
}
|
2787
2786
|
else if ((this.isLoading || this.isLoading === undefined) && !this.isAutoComplete && !this.isLocal && !this.isOffline) {
|
2788
2787
|
// isLoading is undefined until the data is starting to get fetch
|
@@ -2790,13 +2789,13 @@ const YooGridComponent = class {
|
|
2790
2789
|
}
|
2791
2790
|
else if (!this.isFramed && !this.allowCustomTag && (this.direction !== 'horizontal' || this.emptyState)) {
|
2792
2791
|
const isEmptyLivePreviewAutocomplete = ((_g = this.items) === null || _g === void 0 ? void 0 : _g.length) === 0 && this.host.classList.contains('live-preview-dropdown');
|
2793
|
-
return this.hideEmptyState ? (index.h("slot", { name: "emptystate" })) : this.isAutoComplete && !this.allowCustomTag && this.isLoading && !isEmptyLivePreviewAutocomplete ? (index.h("yoo-loader", { class: { autocomplete: !
|
2792
|
+
return this.hideEmptyState ? (index.h("slot", { name: "emptystate" })) : this.isAutoComplete && !this.allowCustomTag && this.isLoading && !isEmptyLivePreviewAutocomplete ? (index.h("yoo-loader", { class: { autocomplete: !index$1.isWeb(this.host), absolute: true }, size: "large" })) : ([index.h("slot", { name: "header" }), this.renderEmptyState()]);
|
2794
2793
|
}
|
2795
2794
|
else if (this.isFramed && !this.isCompact && !this.allowCustomTag) {
|
2796
|
-
return this.isAutoComplete && !this.allowCustomTag && this.isLoading ? (index.h("yoo-loader", { class: { autocomplete: !
|
2795
|
+
return this.isAutoComplete && !this.allowCustomTag && this.isLoading ? (index.h("yoo-loader", { class: { autocomplete: !index$1.isWeb(this.host), absolute: true }, size: "large" })) : (this.renderEmptyState());
|
2797
2796
|
}
|
2798
2797
|
else if (this.allowCustomTag && !this.host.classList.contains('empty-tags') && !this.host.classList.contains('empty')) {
|
2799
|
-
return index.h("yoo-loader", { class: { autocomplete: !
|
2798
|
+
return index.h("yoo-loader", { class: { autocomplete: !index$1.isWeb(this.host), absolute: true }, size: "large" });
|
2800
2799
|
}
|
2801
2800
|
}
|
2802
2801
|
renderVirtualScroll() {
|
@@ -2820,7 +2819,7 @@ const YooGridComponent = class {
|
|
2820
2819
|
];
|
2821
2820
|
}
|
2822
2821
|
renderColumns(entry, itemIndex) {
|
2823
|
-
if (!this.columns || !this.columns.length || !
|
2822
|
+
if (!this.columns || !this.columns.length || !index$1.isWeb(this.host)) {
|
2824
2823
|
return;
|
2825
2824
|
}
|
2826
2825
|
const hiddenColumnButtons = this.getColumnHeaderHiddenButtons();
|
@@ -2849,14 +2848,14 @@ const YooGridComponent = class {
|
|
2849
2848
|
}
|
2850
2849
|
renderAddNewTag() {
|
2851
2850
|
var _a;
|
2852
|
-
if (this.forceAddNewTag || (this.allowCustomTag && ((_a = this.searchText) === null || _a === void 0 ? void 0 : _a.length) && (this.entityType !== 'emails' ||
|
2851
|
+
if (this.forceAddNewTag || (this.allowCustomTag && ((_a = this.searchText) === null || _a === void 0 ? void 0 : _a.length) && (this.entityType !== 'emails' || index$1.isEmail(this.searchText)) && (this.items ? this.items.length < 6 : null) && this.isNewTag())) {
|
2853
2852
|
const searchText = this.forceAddNewTag ? `"${this.addNewTagText}"` : `"${this.searchText}"`;
|
2854
2853
|
return (searchText &&
|
2855
|
-
searchText !== '""' && (index.h("div", { class: { 'empty-new-tag': true, 'add-tag-mobile': !
|
2854
|
+
searchText !== '""' && (index.h("div", { class: { 'empty-new-tag': true, 'add-tag-mobile': !index$1.isWeb(this.host) } }, index.h("div", { class: "text-container" }, this.getTagDescription()), index.h("div", { class: "add-tag-button-container" }, index.h("yoo-button", { color: "app-color", disabled: this.isLoading || !this.searchText, size: index$1.isWeb(this.host) ? 'medium' : 'large', onClick: (ev) => this.onAddNewTag(ev) }, this.getAddTagButtonString())))));
|
2856
2855
|
}
|
2857
2856
|
}
|
2858
2857
|
presentActionSheet(actions, item) {
|
2859
|
-
|
2858
|
+
index$1.showActionSheet(actions.map((a) => ({
|
2860
2859
|
icon: a.icon ? a.icon(item) : null,
|
2861
2860
|
text: a.text ? a.text(item) : null,
|
2862
2861
|
handler: () => (a.handler ? a.handler(item) : null)
|
@@ -2874,21 +2873,21 @@ const YooGridComponent = class {
|
|
2874
2873
|
'item-visible': (_d = (_c = this.host) === null || _c === void 0 ? void 0 : _c.classList) === null || _d === void 0 ? void 0 : _d.contains('item-visible')
|
2875
2874
|
}, disabled: this.areItemsDisabled }, this.renderEntity(item, index$1 === this.getItems().length - 1 && (index$1 > 1 || this.isFramed), index$1)));
|
2876
2875
|
}
|
2877
|
-
renderItemWithMore(item, index$
|
2876
|
+
renderItemWithMore(item, index$2) {
|
2878
2877
|
var _a, _b;
|
2879
2878
|
const actions = this.secondaryActions.filter((a) => (a.isVisible ? a.isVisible(item) : true));
|
2880
|
-
return (index.h("yoo-ion-item", { key: item[this.idAttributeName || '_id'], lines: "none", class: { [this.displayType]: true, 'selected': this.isSelected(item), 'draggable': this.allowDragging, 'no-padding': (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains('no-padding-item') } }, this.renderEntity(item, null, index$
|
2879
|
+
return (index.h("yoo-ion-item", { key: item[this.idAttributeName || '_id'], lines: "none", class: { [this.displayType]: true, 'selected': this.isSelected(item), 'draggable': this.allowDragging, 'no-padding': (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains('no-padding-item') } }, this.renderEntity(item, null, index$2), actions.length && !index$1.isWeb(this.host) && (index.h("div", { class: "more-container", onClick: () => this.presentActionSheet(actions, item) }, index.h("yoo-icon", { name: "more", color: "stable" }))), actions.length && index$1.isWeb(this.host) && (index.h("div", { class: "more-container" }, index.h("yoo-context-menu", { contentButtons: actions.map((a) => ({
|
2881
2880
|
text: a.text(item),
|
2882
2881
|
handler: () => a.handler(item)
|
2883
2882
|
})), onClick: (ev) => ev.stopPropagation() }, index.h("yoo-icon", { name: "more", color: "stable" }))))));
|
2884
2883
|
}
|
2885
|
-
renderItemSliding(item, isLast = false, index$
|
2884
|
+
renderItemSliding(item, isLast = false, index$2) {
|
2886
2885
|
var _a, _b, _c, _d;
|
2887
2886
|
const actions = (_a = this.secondaryActions) === null || _a === void 0 ? void 0 : _a.filter((a) => (a.isVisible ? a.isVisible(item, this) : true)).filter((a) => (a.showInSliding ? a.showInSliding(item) : true));
|
2888
|
-
const slidingType =
|
2889
|
-
const itemSlidingStyle = this.secondaryActionsDropdown ? { position: 'relative', 'z-index': `${((_b = this.filteredItems) === null || _b === void 0 ? void 0 : _b.length) - index$
|
2887
|
+
const slidingType = index$1.isWeb(this.host) ? itemSliding_interface.ItemSlidingType.hover : itemSliding_interface.ItemSlidingType.swipe;
|
2888
|
+
const itemSlidingStyle = this.secondaryActionsDropdown ? { position: 'relative', 'z-index': `${((_b = this.filteredItems) === null || _b === void 0 ? void 0 : _b.length) - index$2}` } : {};
|
2890
2889
|
const hasMoreButton = (actions === null || actions === void 0 ? void 0 : actions.length) > 3;
|
2891
|
-
const itemSlidingId = item[this.idAttributeName || '_id'] || `${index$
|
2890
|
+
const itemSlidingId = item[this.idAttributeName || '_id'] || `${index$2}`;
|
2892
2891
|
this.blockUnhoveer[itemSlidingId] = false;
|
2893
2892
|
return (index.h("yoo-ion-item-sliding", { key: itemSlidingId, itemSlidingType: slidingType, onIonDrag: async () => {
|
2894
2893
|
await this.onItemSlidingDrag(item, itemSlidingId);
|
@@ -2897,21 +2896,21 @@ const YooGridComponent = class {
|
|
2897
2896
|
if (!this.blockUnhoveer[itemSlidingId]) {
|
2898
2897
|
(_b = (_a = this.itemsSliding[itemSlidingId]) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.remove('hovered');
|
2899
2898
|
}
|
2900
|
-
} }, index.h("yoo-ion-item", { lines: "none", class: { [this.displayType]: true, 'selected': this.isSelected(item), 'overflow-visible': this.secondaryActionsDropdown, 'no-padding': (_d = (_c = this.host) === null || _c === void 0 ? void 0 : _c.classList) === null || _d === void 0 ? void 0 : _d.contains('no-padding-item') } }, this.renderEntity(item, isLast, index$
|
2899
|
+
} }, index.h("yoo-ion-item", { lines: "none", class: { [this.displayType]: true, 'selected': this.isSelected(item), 'overflow-visible': this.secondaryActionsDropdown, 'no-padding': (_d = (_c = this.host) === null || _c === void 0 ? void 0 : _c.classList) === null || _d === void 0 ? void 0 : _d.contains('no-padding-item') } }, this.renderEntity(item, isLast, index$2)), ((actions === null || actions === void 0 ? void 0 : actions.length) > 0 && !this.secondaryActionsDropdown) || (index$1.isWeb(this.host) && this.keepSelection) ? (index.h("yoo-ion-item-options", { ref: (el) => (this.itemOptions[itemSlidingId] = el), onMouseEnter: () => { var _a, _b; return (_b = (_a = this.itemOptions[itemSlidingId]) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.add('hovered'); }, onMouseLeave: () => {
|
2901
2900
|
var _a, _b;
|
2902
2901
|
if (!this.blockUnhoveer[itemSlidingId]) {
|
2903
2902
|
(_b = (_a = this.itemOptions[itemSlidingId]) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.remove('hovered');
|
2904
2903
|
}
|
2905
|
-
} }, index.h("div", { class: { 'options-container': true, 'force-opacity': this.isSelectionMode || this.keepSelection, visible: this.displayActionsOnCard, web:
|
2904
|
+
} }, index.h("div", { class: { 'options-container': true, 'force-opacity': this.isSelectionMode || this.keepSelection, visible: this.displayActionsOnCard, web: index$1.isWeb(this.host) }, onClick: () => this.onItemSelect(item) }, !index$1.isWeb(this.host) && (actions === null || actions === void 0 ? void 0 : actions.slice(0, hasMoreButton ? 2 : actions.length).map((action) => action && this.renderMobileItemOptionButtons(action, item))), !index$1.isWeb(this.host) && actions && hasMoreButton && (index.h("button", { class: "bg-stable-light", onClick: (ev) => {
|
2906
2905
|
ev.stopPropagation();
|
2907
2906
|
this.presentActionSheet(actions.slice(2), item);
|
2908
|
-
} }, index.h("yoo-icon", { name: "more" }), index.h("span", { class: "text-action" },
|
2907
|
+
} }, index.h("yoo-icon", { name: "more" }), index.h("span", { class: "text-action" }, index$1.translate('YOOBICMORE')))), index$1.isWeb(this.host) && this.renderWebItemOptionButtons(actions, item, index$2)), index$1.isWeb(this.host) && (this.keepSelection || this.isSelectionMode) && this.isSelected(item) && (index.h("yoo-icon", { class: "position", onClick: (ev) => this.onItemSelect(item, true, ev), name: "check", color: "app-color" })))) : null));
|
2909
2908
|
}
|
2910
2909
|
getColumnHeaderHiddenButtons() {
|
2911
2910
|
var _a;
|
2912
2911
|
const hiddenColumnButtons = (_a = this.columns) === null || _a === void 0 ? void 0 : _a.filter((column) => column.hidden && this.visibleColumns.indexOf(column) < 0).map((column) => {
|
2913
2912
|
return {
|
2914
|
-
text:
|
2913
|
+
text: index$1.translate(column.title),
|
2915
2914
|
handler: () => {
|
2916
2915
|
this.showColumn(column);
|
2917
2916
|
}
|
@@ -2927,7 +2926,7 @@ const YooGridComponent = class {
|
|
2927
2926
|
}
|
2928
2927
|
hasColumnsHeader() {
|
2929
2928
|
var _a, _b;
|
2930
|
-
return (((_a = this.columns) === null || _a === void 0 ? void 0 : _a.length) || this.mainColumnHeader) &&
|
2929
|
+
return (((_a = this.columns) === null || _a === void 0 ? void 0 : _a.length) || this.mainColumnHeader) && index$1.isWeb(this.host) && !((_b = this.extraClass) === null || _b === void 0 ? void 0 : _b.includes('hide-main-column-header'));
|
2931
2930
|
}
|
2932
2931
|
getLessonHighlight(item) {
|
2933
2932
|
return item.highlighted;
|
@@ -2940,11 +2939,11 @@ const YooGridComponent = class {
|
|
2940
2939
|
return (index.h("div", { class: { 'title-container': true, 'with-more': hiddenColumnButtons.length > 0 } }, index.h("div", { class: "heading-title", ref: (el) => (this.headingTitle = el) }, (this.hideTotal || this.total < 0
|
2941
2940
|
? ''
|
2942
2941
|
: (this.isSelectionMode || this.isFormField ? (totalSelected >= 0 ? totalSelected.toLocaleString() + '/' : '') : '') +
|
2943
|
-
(Math.max(totalSelected, this.total || 0).toLocaleString() + ' ')) +
|
2942
|
+
(Math.max(totalSelected, this.total || 0).toLocaleString() + ' ')) + index$1.translate(this.mainColumnHeader)), index.h("div", { class: "columns-title-container" }, (_a = this.columns) === null || _a === void 0 ? void 0 :
|
2944
2943
|
_a.filter((column) => !column.hidden || this.visibleColumns.indexOf(column) >= 0).map((column, columnIndex) => {
|
2945
2944
|
const classList = { 'column-header': true };
|
2946
2945
|
classList[column.title.toLowerCase()] = true;
|
2947
|
-
return (index.h("div", { style: { 'min-width': `${column.width}px`, 'max-width': `${column.width}px` }, class: classList, ref: (el) => (this.columnHeaderElements[columnIndex] = el) }, this.renderResizeBorder(columnIndex), index.h("div", { class: "column-header-content" }, column.hidden && index.h("yoo-icon", { name: "close", size: "small", onClick: () => this.hideColumn(column) }), index.h("div", { class: "truncate", innerHTML:
|
2946
|
+
return (index.h("div", { style: { 'min-width': `${column.width}px`, 'max-width': `${column.width}px` }, class: classList, ref: (el) => (this.columnHeaderElements[columnIndex] = el) }, this.renderResizeBorder(columnIndex), index.h("div", { class: "column-header-content" }, column.hidden && index.h("yoo-icon", { name: "close", size: "small", onClick: () => this.hideColumn(column) }), index.h("div", { class: "truncate", innerHTML: index$1.translate(column.title) }))));
|
2948
2947
|
}), hiddenColumnButtons.length > 0 && (index.h("yoo-context-menu", { class: "column-header", contentButtons: hiddenColumnButtons }, index.h("yoo-icon", { size: "medium", name: "more", color: "stable" }))))));
|
2949
2948
|
}
|
2950
2949
|
}
|
@@ -2967,7 +2966,7 @@ const YooGridComponent = class {
|
|
2967
2966
|
} }, index.h("div", { class: "resize-border" })));
|
2968
2967
|
}
|
2969
2968
|
renderWebItemOptionButton(action, item) {
|
2970
|
-
return ((!action.forceInMoreMenu || !action.forceInMoreMenu(item)) && (index.h("yoo-button", { color: action.color ? action.color() : 'light', size: "medium", onClick: (ev) => this.onItemOptionSelect(action, item, ev) }, this.displayActionsOnCard && action.icon && index.h("yoo-icon", { size: "small", name: action.icon(item) }), this.displayActionsOnCard && (action === null || action === void 0 ? void 0 : action.icon(item)) ? null :
|
2969
|
+
return ((!action.forceInMoreMenu || !action.forceInMoreMenu(item)) && (index.h("yoo-button", { color: action.color ? action.color() : 'light', size: "medium", onClick: (ev) => this.onItemOptionSelect(action, item, ev) }, this.displayActionsOnCard && action.icon && index.h("yoo-icon", { size: "small", name: action.icon(item) }), this.displayActionsOnCard && (action === null || action === void 0 ? void 0 : action.icon(item)) ? null : index$1.translate(action.text(item)))));
|
2971
2970
|
}
|
2972
2971
|
renderWebItemOptionButtons(actions, item, index$1) {
|
2973
2972
|
const maxDisplay = this.displayActionsOnCard ? 3 : 2;
|
@@ -2998,7 +2997,7 @@ const YooGridComponent = class {
|
|
2998
2997
|
return (index.h("button", { onClick: (ev) => {
|
2999
2998
|
this.onItemOptionSelect(action, item, ev);
|
3000
2999
|
this.closeItemsSliding();
|
3001
|
-
}, class: action.cssClass ? action.cssClass(item) : '' }, action.icon ? index.h("yoo-icon", { name: action.icon(item), color: ((_a = action.iconColor) === null || _a === void 0 ? void 0 : _a.call(action, item)) || 'light' }) : null, action.text ? index.h("span", { class: "text-action" },
|
3000
|
+
}, class: action.cssClass ? action.cssClass(item) : '' }, action.icon ? index.h("yoo-icon", { name: action.icon(item), color: ((_a = action.iconColor) === null || _a === void 0 ? void 0 : _a.call(action, item)) || 'light' }) : null, action.text ? index.h("span", { class: "text-action" }, index$1.translate(action.text(item))) : null));
|
3002
3001
|
}
|
3003
3002
|
onItemOptionSelect(action, item, ev) {
|
3004
3003
|
if (ev) {
|
@@ -3008,13 +3007,13 @@ const YooGridComponent = class {
|
|
3008
3007
|
action.handler(item);
|
3009
3008
|
}
|
3010
3009
|
if (this.useVirtualScroll()) {
|
3011
|
-
|
3010
|
+
index$1.dispatchCustomEvent('itemHeightUpdated', ev === null || ev === void 0 ? void 0 : ev.srcElement);
|
3012
3011
|
}
|
3013
3012
|
}
|
3014
3013
|
renderEntityWithColumns(item, entityContent, itemIndex) {
|
3015
3014
|
return (index.h("div", { class: "entity-container" }, index.h("div", { class: "left-container", ref: (el) => (this.leftContainers[itemIndex] = el) }, entityContent), this.renderColumns(item, itemIndex)));
|
3016
3015
|
}
|
3017
|
-
renderEntity(item, isLast = false, index$
|
3016
|
+
renderEntity(item, isLast = false, index$2) {
|
3018
3017
|
var _a, _b, _c, _d;
|
3019
3018
|
const content = (index.h("div", { key: this.displayType === 'card-media' ? item[this.idAttributeName || '_id'] : undefined, class: {
|
3020
3019
|
'entity-inner-container': true,
|
@@ -3030,7 +3029,7 @@ const YooGridComponent = class {
|
|
3030
3029
|
if (this.displayType !== 'card-media') {
|
3031
3030
|
this.onItemSelect(item);
|
3032
3031
|
}
|
3033
|
-
} }, this.sortable && index.h("yoo-icon", { name: "draggable", color: "stable", size: "medium" }), index.h("yoo-entity", { iconColor: this.getIconColor(item), useTranslate: this.useTranslate, onCollapsed: (ev) => this.onEntityCollapsed(ev), extraClass: this.extraClass, displaySize: this.displaySize, useCellOverlay: this.useCellOverlay, direction: this.direction, index: index$
|
3032
|
+
} }, this.sortable && index.h("yoo-icon", { name: "draggable", color: "stable", size: "medium" }), index.h("yoo-entity", { iconColor: this.getIconColor(item), useTranslate: this.useTranslate, onCollapsed: (ev) => this.onEntityCollapsed(ev), extraClass: this.extraClass, displaySize: this.displaySize, useCellOverlay: this.useCellOverlay, direction: this.direction, index: index$2, entityMapping: this.entityMapping, onViewMoreToggled: (ev) => {
|
3034
3033
|
ev.stopPropagation();
|
3035
3034
|
this.viewMoreToggled.emit(item);
|
3036
3035
|
}, onMediaSelected: (ev) => {
|
@@ -3053,7 +3052,7 @@ const YooGridComponent = class {
|
|
3053
3052
|
'no-kpi': this.hasNoKpi(item),
|
3054
3053
|
'no-text-break': this.host.classList.contains('no-text-break'),
|
3055
3054
|
'show-bookmark': this.host.classList.contains('show-bookmark') || ((_c = this.extraClass) === null || _c === void 0 ? void 0 : _c.includes('show-bookmark')),
|
3056
|
-
'no-border':
|
3055
|
+
'no-border': index$1.isWeb(this.host) && !this.isFramed,
|
3057
3056
|
'autocomplete': this.host.classList.contains('autocomplete'),
|
3058
3057
|
'search-entity': this.host.classList.contains('entity-search'),
|
3059
3058
|
'selection-mode': this.host.classList.contains('autocomplete-selection-mode'),
|
@@ -3063,8 +3062,8 @@ const YooGridComponent = class {
|
|
3063
3062
|
'table': this.host.classList.contains('table'),
|
3064
3063
|
'block': this.host.classList.contains('radio-button-choice')
|
3065
3064
|
}, item: item, items: this.entityType === 'photos' ? this.filteredItems : undefined, displayType: this.displayType, entityType: this.entityType, profileSummary: this.profileSummary, icons: this.icons, topActions: this.topActions, bottomActions: this.bottomActions, secondaryActions: this.secondaryActions, customModel: this.customModel, isCollapsible: this.isCollapsibleCheck(), isMap: this.isMap(), isFramed: this.isFramed, isPdf: this.isPdf, unreadCounts: this.unreadCounts, playerCommand: this.currentActivePlayerId, secondaryActionsDropdown: this.secondaryActionsDropdown, selected: this.isSelected(item), valuesColor: (_d = this.valuesColor) === null || _d === void 0 ? void 0 : _d.find((e) => (item._id ? e.key === item._id : item.icon ? e.key === item.title : e.key === item)), highlighted: this.entityType === 'lessons' && this.getLessonHighlight(item), hideUIFields: this.hideUIFields })));
|
3066
|
-
if (
|
3067
|
-
return this.renderEntityWithColumns(item, content, index$
|
3065
|
+
if (index$1.isWeb(this.host) && this.columns && this.columns.length) {
|
3066
|
+
return this.renderEntityWithColumns(item, content, index$2);
|
3068
3067
|
}
|
3069
3068
|
return content;
|
3070
3069
|
}
|
@@ -3073,11 +3072,11 @@ const YooGridComponent = class {
|
|
3073
3072
|
return ((!this.isLocal || ((_a = this.filteredItems) === null || _a === void 0 ? void 0 : _a.length) < ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length)) &&
|
3074
3073
|
!this.isFramed &&
|
3075
3074
|
this.entityType !== 'googlemaps' &&
|
3076
|
-
(this.loadMoreButton ? (index.h("yoo-button", { fill: "transparent", color: "text-color", animated: false, onClick: () => this.onInfiniteScroll() },
|
3075
|
+
(this.loadMoreButton ? (index.h("yoo-button", { fill: "transparent", color: "text-color", animated: false, onClick: () => this.onInfiniteScroll() }, index$1.translate('LOADMORE'))) : (index.h("yoo-ion-infinite-scroll", { ref: (el) => (this.infiniteScroll = el), onIonInfinite: (ev) => this.onInfiniteScroll(ev), disabled: this.infiniteScrollDisabled }, index.h("yoo-ion-infinite-scroll-content", null)))));
|
3077
3076
|
}
|
3078
3077
|
renderPlaceholders() {
|
3079
3078
|
if (this.direction === 'horizontal') {
|
3080
|
-
return (index.h("yoo-ion-scroll", { class: { horizontal: true, relative: !
|
3079
|
+
return (index.h("yoo-ion-scroll", { class: { horizontal: true, relative: !index$1.isFirefox() } }, index.h("div", { class: 'entity-placeholder ' + this.extraClass }, this.renderPlaceholderContent(true))));
|
3081
3080
|
}
|
3082
3081
|
else {
|
3083
3082
|
return (index.h("div", { class: "list-container" }, index.h("yoo-ion-list", { class: 'body-container ' + this.displayType }, this.renderPlaceholderContent())));
|
@@ -3105,12 +3104,12 @@ const YooGridComponent = class {
|
|
3105
3104
|
renderGlobalActions() {
|
3106
3105
|
const numberOfSelectedItems = this.getSelectionCount();
|
3107
3106
|
if (numberOfSelectedItems > 0) {
|
3108
|
-
const message =
|
3107
|
+
const message = index$1.translate(numberOfSelectedItems === 1 ? 'SELECTEDITEMSSINGLE' : 'SELECTEDITEMS', { n: '' });
|
3109
3108
|
const extraButtons = [
|
3110
3109
|
...(this.globalActions || []),
|
3111
3110
|
{
|
3112
3111
|
icon: () => 'cross',
|
3113
|
-
text: () =>
|
3112
|
+
text: () => index$1.translate('CLOSE'),
|
3114
3113
|
handler: () => {
|
3115
3114
|
this.clearSelection(true);
|
3116
3115
|
this.updateSelectAll(false);
|
@@ -3134,7 +3133,7 @@ const YooGridComponent = class {
|
|
3134
3133
|
index.h("slot", { name: "before-scroll" }),
|
3135
3134
|
index.h("yoo-ion-scroll", { slotName: "grid-content-slot" // set a name to fix "A problem repeatedly occurred with..." on Safari
|
3136
3135
|
,
|
3137
|
-
class: { 'no-scrollbar': !
|
3136
|
+
class: { 'no-scrollbar': !index$1.isWeb(this.host) && !index$1.isForceScrollbar(), relative: isRelative, empty: isEmpty }, scrollEvents: true, onHideTabbar: (ev) => this.onHideShowSearchBar(ev), onIonScroll: (ev) => ev.stopPropagation() }, index.h("div", { class: "grid-content-slot", slot: "grid-content-slot" }, this.renderContent()))
|
3138
3137
|
]) : (this.renderContent());
|
3139
3138
|
}
|
3140
3139
|
updateMainProgress() {
|
@@ -3147,21 +3146,21 @@ const YooGridComponent = class {
|
|
3147
3146
|
}
|
3148
3147
|
renderBase() {
|
3149
3148
|
var _a, _b, _c, _d, _e;
|
3150
|
-
const renderEntityTags = (!
|
3149
|
+
const renderEntityTags = (!index$1.isWeb(this.host) || (this.gridIsExpanded && (((_a = this.tags) === null || _a === void 0 ? void 0 : _a.length) > 0 || ((_c = (_b = this.model) === null || _b === void 0 ? void 0 : _b.fields) === null || _c === void 0 ? void 0 : _c.length) > 0))) &&
|
3151
3150
|
this.isTagsVisible() &&
|
3152
3151
|
((this.items && this.items.length > 0) || this.hasSortsAndFilters() || this.alwaysRenderTagsAndFilters() || this.isAgGrid()) &&
|
3153
3152
|
!this.host.classList.contains('learning-manager') && !this.host.classList.contains('course-info');
|
3154
3153
|
return [
|
3155
3154
|
this.showProgress && this.progressHandler && this.renderProgress(),
|
3156
|
-
index.h("div", { ref: (el) => (this.containerBase = el), class: this.getClassList() }, this.showAutocompleteHeader ? (index.h("div", { class: { 'dropdown-header': true, 'no-tags': !renderEntityTags || ((_d = this.tags) === null || _d === void 0 ? void 0 : _d.length) === 0, 'form-radio-operators': this.showFormRadio } }, this.showFormRadio && this.renderDropdownFormRadio(), this.renderHeader(renderEntityTags), this.renderDynamicOrderingHeader(), this.renderFilesIcons())) : ([this.renderHeader(renderEntityTags), this.renderFilesIcons()]), this.isKanban() && index.h("slot", { name: "header" }), (((_e = this.columns) === null || _e === void 0 ? void 0 : _e.length) || this.mainColumnHeader) && !this.isAgGrid() && !this.isCalendar() &&
|
3157
|
-
|
3155
|
+
index.h("div", { ref: (el) => (this.containerBase = el), class: this.getClassList() }, this.showAutocompleteHeader ? (index.h("div", { class: { 'dropdown-header': true, 'no-tags': !renderEntityTags || ((_d = this.tags) === null || _d === void 0 ? void 0 : _d.length) === 0, 'form-radio-operators': this.showFormRadio } }, this.showFormRadio && this.renderDropdownFormRadio(), this.renderHeader(renderEntityTags), this.renderDynamicOrderingHeader(), this.renderFilesIcons())) : ([this.renderHeader(renderEntityTags), this.renderFilesIcons()]), this.isKanban() && index.h("slot", { name: "header" }), (((_e = this.columns) === null || _e === void 0 ? void 0 : _e.length) || this.mainColumnHeader) && !this.isAgGrid() && !this.isCalendar() && index$1.isWeb(this.host) && !this.isMap() ? (index.h("div", { class: "horizontal-scroll-parent" }, index.h("div", { class: "horizontal-scroll", ref: (el) => (this.horizontalScroll = el) }, index.h("div", { class: { 'horizontal-content': true, 'with-header': this.hasColumnsHeader() } }, this.renderColumnsHeader(), this.renderBaseContent())))) : (this.renderBaseContent())),
|
3156
|
+
index$1.isWeb(this.host) && this.showGlobalActions && this.isSelectionMode && this.renderGlobalActions()
|
3158
3157
|
];
|
3159
3158
|
}
|
3160
3159
|
renderTile() {
|
3161
|
-
return (index.h("yoo-widget-tile", { layout: "layout6x6", text:
|
3160
|
+
return (index.h("yoo-widget-tile", { layout: "layout6x6", text: index$1.translate(this.heading), onClick: () => this.onHeadingClick() }, this.isWidget && index$1.isWeb(this.host) && (index.h("div", { class: "tile icon-container", onClick: (ev) => this.onWidgetEdit(ev) }, index.h("yoo-icon", { name: "more", size: "small", color: "stable" }))), this.total > 0 && !this.hideTotal && index.h("yoo-badge", { class: "tile", size: "extra-small", color: "app-color", shape: "circle", text: this.formattedTotal })));
|
3162
3161
|
}
|
3163
3162
|
renderBaseFramed() {
|
3164
|
-
return (index.h("div", { ref: (el) => (this.frameContainerEl = el), class: { 'frame-container': true, web:
|
3163
|
+
return (index.h("div", { ref: (el) => (this.frameContainerEl = el), class: { 'frame-container': true, web: index$1.isWeb(this.host) } }, this.frameSize !== 'small' && this.renderBase(), this.frameSize === 'small' && this.renderTile()));
|
3165
3164
|
}
|
3166
3165
|
render() {
|
3167
3166
|
var _a;
|