@salla.sa/twilight-components 2.14.474 → 2.14.476
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/{filepond-BdUelG-L.js → filepond-CJ-ohhaG.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-BWMBvXBX.js → filepond-plugin-file-poster-DEg147-W.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-ClFff__s.js → filepond-plugin-file-validate-size-Cd9ZtF22.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-8wyxat9i.js → filepond-plugin-file-validate-type-Kse5TjAn.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-DQabJpzQ.js → filepond-plugin-image-edit-DRgtgiQH.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BTLkUr22.js → filepond-plugin-image-exif-orientation-B6a2oJcX.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-dn2AxtBC.js → filepond-plugin-image-preview-UbYGoPcJ.js} +1 -1
- package/dist/cjs/{functions-DcP9sGZW.js → functions-lMzyaZ1L.js} +1 -1
- package/dist/cjs/{index-CYT7Hux3.js → index-CvkzTFUU.js} +2 -2
- package/dist/cjs/{index-DF0b75Bf.js → index-DbSdIHzI.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +18 -2
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +2 -2
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +19 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +25 -6
- package/dist/cjs/salla-search.cjs.entry.js +6 -6
- package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
- package/dist/cjs/salla-social.cjs.entry.js +2 -2
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +2 -2
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
- package/dist/cjs/{tracked-promise-BMhfZ5Gr.js → tracked-promise-ChTKDERU.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-Dj5fVxjj.js → vanilla-picker-ClhLWTOR.js} +1 -1
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +17 -1
- package/dist/collection/components/salla-delivery-promise/salla-delivery-promise.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +18 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +24 -5
- package/dist/collection/components/salla-search/salla-search.js +5 -5
- package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-summary.js +17 -1
- package/dist/components/salla-delivery-promise.js +1 -1
- package/dist/components/salla-localization-modal.js +18 -1
- package/dist/components/salla-scopes.js +24 -5
- package/dist/components/salla-search.js +5 -5
- package/dist/components/salla-searchable-dropdown2.js +4 -4
- package/dist/components/salla-skeleton2.js +1 -1
- package/dist/components/salla-social-share2.js +1 -1
- package/dist/components/salla-social.js +1 -1
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-trust-badges.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/components/salla-wishlist-actions.js +1 -1
- package/dist/esm/{filepond-DCDAJ4wC.js → filepond-CI5IhawK.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Da0qcNsD.js → filepond-plugin-file-poster-Br3XP08y.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BsEYt-WQ.js → filepond-plugin-file-validate-size-evoB_lus.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DKO_U3P0.js → filepond-plugin-file-validate-type-DINMO_PM.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BwQSyJd4.js → filepond-plugin-image-edit-BezFD6qn.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-Dvs_uurM.js → filepond-plugin-image-exif-orientation-DpQFMoWn.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-BWaZLmt7.js → filepond-plugin-image-preview-COAzYcXw.js} +1 -1
- package/dist/esm/{functions-DbO8Dw_w.js → functions-DRBXCFuf.js} +1 -1
- package/dist/esm/{index-C-PndMxl.js → index-CCmkpaUr.js} +2 -2
- package/dist/esm/{index-DgWfpEMc.js → index-Cbv5qmRi.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +11 -11
- package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +18 -2
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +2 -2
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +19 -2
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-options-modal_3.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +25 -6
- package/dist/esm/salla-search.entry.js +6 -6
- package/dist/esm/salla-skeleton.entry.js +2 -2
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +2 -2
- package/dist/esm/salla-social.entry.js +2 -2
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- package/dist/esm/salla-trust-badges.entry.js +2 -2
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +2 -2
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +2 -2
- package/dist/esm/{tracked-promise-CmiOu-Uh.js → tracked-promise-BeB1W9ZQ.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-BTvZMBWG.js → vanilla-picker-Bs4N6Pj2.js} +1 -1
- package/dist/twilight/{p-13fb479e.entry.js → p-039eadab.entry.js} +1 -1
- package/dist/twilight/{p-80a67bc8.entry.js → p-07a45122.entry.js} +1 -1
- package/dist/twilight/{p-14a901b0.entry.js → p-0cffb95f.entry.js} +1 -1
- package/dist/twilight/{p-969a3c6a.entry.js → p-101a336e.entry.js} +1 -1
- package/dist/twilight/{p-e08f7638.entry.js → p-1777e8cf.entry.js} +1 -1
- package/dist/twilight/p-181cac59.entry.js +4 -0
- package/dist/twilight/{p-7b9bcf99.entry.js → p-1e189138.entry.js} +1 -1
- package/dist/twilight/{p-7309ee90.entry.js → p-20b5e26a.entry.js} +1 -1
- package/dist/twilight/{p-1b5db3b8.entry.js → p-21d8849a.entry.js} +1 -1
- package/dist/twilight/{p-25f56a07.entry.js → p-240c246f.entry.js} +1 -1
- package/dist/twilight/{p-e1a3d4ce.entry.js → p-26146e88.entry.js} +1 -1
- package/dist/twilight/{p-110e828f.entry.js → p-2ba4c828.entry.js} +1 -1
- package/dist/twilight/{p-91800e57.entry.js → p-2bb4bb3f.entry.js} +1 -1
- package/dist/twilight/{p-cda84e40.entry.js → p-2ebb5fd5.entry.js} +1 -1
- package/dist/twilight/{p-87818d3f.entry.js → p-2ed22900.entry.js} +1 -1
- package/dist/twilight/{p-1b3e3361.entry.js → p-33bd4967.entry.js} +1 -1
- package/dist/twilight/{p-16c3d48a.entry.js → p-34665b64.entry.js} +1 -1
- package/dist/twilight/{p-6dfbcc8d.entry.js → p-394ffd54.entry.js} +1 -1
- package/dist/twilight/{p-ac9b02f5.entry.js → p-43265b28.entry.js} +1 -1
- package/dist/twilight/{p-174a56e5.entry.js → p-49ff092f.entry.js} +1 -1
- package/dist/twilight/{p-1ec1b240.entry.js → p-4b1603e1.entry.js} +1 -1
- package/dist/twilight/{p-109c829a.entry.js → p-4ba215e9.entry.js} +1 -1
- package/dist/twilight/{p-1476ad01.entry.js → p-4c5cebdc.entry.js} +1 -1
- package/dist/twilight/{p-d7c27d51.entry.js → p-5280ac1a.entry.js} +1 -1
- package/dist/twilight/{p-5867e7c1.entry.js → p-52f364c5.entry.js} +1 -1
- package/dist/twilight/{p-4e625abb.entry.js → p-53e247f7.entry.js} +1 -1
- package/dist/twilight/{p-7de60979.entry.js → p-575f3be3.entry.js} +1 -1
- package/dist/twilight/{p-23f25bf0.entry.js → p-5d0bf892.entry.js} +1 -1
- package/dist/twilight/{p-5b1c769e.entry.js → p-5d15dc88.entry.js} +1 -1
- package/dist/twilight/{p-8a4c555f.entry.js → p-5d2d2f9c.entry.js} +1 -1
- package/dist/twilight/{p-de76dbff.entry.js → p-5ee85309.entry.js} +1 -1
- package/dist/twilight/{p-d6fc2ef1.entry.js → p-639e4dcc.entry.js} +1 -1
- package/dist/twilight/{p-3af9c0af.entry.js → p-63cbc37e.entry.js} +1 -1
- package/dist/twilight/{p-db82e1bd.entry.js → p-64d12607.entry.js} +1 -1
- package/dist/twilight/{p-d10afd3f.entry.js → p-64f43db0.entry.js} +1 -1
- package/dist/twilight/{p-0330dcd7.entry.js → p-67391111.entry.js} +1 -1
- package/dist/twilight/{p-c5cf6c2e.entry.js → p-67ca7c30.entry.js} +1 -1
- package/dist/twilight/{p-b8af3447.entry.js → p-6e0c8680.entry.js} +1 -1
- package/dist/twilight/{p-8131250d.entry.js → p-75b6878c.entry.js} +1 -1
- package/dist/twilight/p-762336bc.entry.js +4 -0
- package/dist/twilight/{p-4424442a.entry.js → p-79392bfc.entry.js} +1 -1
- package/dist/twilight/{p-66489c0d.entry.js → p-80961ab7.entry.js} +1 -1
- package/dist/twilight/{p-91a557e0.entry.js → p-828ef579.entry.js} +1 -1
- package/dist/twilight/{p-6af9a488.entry.js → p-8503018c.entry.js} +1 -1
- package/dist/twilight/{p-280ab1e5.entry.js → p-85e1e3a0.entry.js} +1 -1
- package/dist/twilight/{p-c0f50984.entry.js → p-8ea37098.entry.js} +1 -1
- package/dist/twilight/p-9070f24e.entry.js +4 -0
- package/dist/twilight/{p-2cf17023.entry.js → p-91048b10.entry.js} +1 -1
- package/dist/twilight/{p-27b81281.entry.js → p-93063769.entry.js} +1 -1
- package/dist/twilight/{p-34d68783.entry.js → p-935eaeee.entry.js} +1 -1
- package/dist/twilight/{p-57d27e60.entry.js → p-958c0578.entry.js} +1 -1
- package/dist/twilight/{p-b5664152.entry.js → p-990afbbd.entry.js} +1 -1
- package/dist/twilight/{p-4e69b834.entry.js → p-9b137fc1.entry.js} +1 -1
- package/dist/twilight/{p-95a16f0b.entry.js → p-9f924f46.entry.js} +1 -1
- package/dist/twilight/p-BRd7Uttn.js +4 -0
- package/dist/twilight/{p-TsnrHTxa.js → p-BpTzhiML.js} +1 -1
- package/dist/twilight/{p-rW7_MDCt.js → p-CCIAKfEz.js} +1 -1
- package/dist/twilight/{p-C-PndMxl.js → p-CCmkpaUr.js} +1 -1
- package/dist/twilight/{p-BFJGy0hY.js → p-CRXgfxZz.js} +1 -1
- package/dist/twilight/{p-DBRGg-00.js → p-CbUMLp_K.js} +1 -1
- package/dist/twilight/{p-BmUHDajQ.js → p-D2k9qKuv.js} +1 -1
- package/dist/twilight/{p-Dvc8G0GF.js → p-Dn4aj2-G.js} +1 -1
- package/dist/twilight/p-Dn4zZcaL.js +9 -0
- package/dist/twilight/{p-BbeyurLe.js → p-DqwP04u2.js} +1 -1
- package/dist/twilight/{p-BzTOc4vV.js → p-XVDeaVNt.js} +1 -1
- package/dist/twilight/{p-39f65074.entry.js → p-a3f43f0c.entry.js} +1 -1
- package/dist/twilight/{p-63b46104.entry.js → p-ac4d2fda.entry.js} +1 -1
- package/dist/twilight/{p-ebe09298.entry.js → p-b12bb5de.entry.js} +1 -1
- package/dist/twilight/{p-1916c837.entry.js → p-b4769ff3.entry.js} +1 -1
- package/dist/twilight/{p-f09a5e0a.entry.js → p-b7225165.entry.js} +1 -1
- package/dist/twilight/{p-bcba0950.entry.js → p-b7ef118c.entry.js} +2 -2
- package/dist/twilight/{p-387f9490.entry.js → p-b8b84400.entry.js} +1 -1
- package/dist/twilight/{p-73e24084.entry.js → p-be1143ce.entry.js} +1 -1
- package/dist/twilight/{p-84005dcf.entry.js → p-bf8b1264.entry.js} +1 -1
- package/dist/twilight/{p-569eaa07.entry.js → p-c4548a08.entry.js} +1 -1
- package/dist/twilight/{p-a5edeb2c.entry.js → p-c598e4ad.entry.js} +1 -1
- package/dist/twilight/{p-84f3a7a8.entry.js → p-c6b00d42.entry.js} +1 -1
- package/dist/twilight/{p-23090cbc.entry.js → p-c726eb0c.entry.js} +1 -1
- package/dist/twilight/{p-01fadb8c.entry.js → p-cb13109f.entry.js} +1 -1
- package/dist/twilight/{p-3001e6c0.entry.js → p-cd43186a.entry.js} +1 -1
- package/dist/twilight/{p-54c1218d.entry.js → p-ce96edb8.entry.js} +1 -1
- package/dist/twilight/{p-a6a15f9b.entry.js → p-d8e62777.entry.js} +1 -1
- package/dist/twilight/{p-1e68cfb0.entry.js → p-db1a17f6.entry.js} +1 -1
- package/dist/twilight/{p-21f5bee9.entry.js → p-df6bb4de.entry.js} +1 -1
- package/dist/twilight/{p-b4a47d34.entry.js → p-e0b35b22.entry.js} +1 -1
- package/dist/twilight/{p-f1189d5b.entry.js → p-e21d39fe.entry.js} +1 -1
- package/dist/twilight/{p-dfba9f3f.entry.js → p-e61c518b.entry.js} +1 -1
- package/dist/twilight/{p-ec5aa9b2.entry.js → p-e8ba458c.entry.js} +1 -1
- package/dist/twilight/{p-349cae47.entry.js → p-ec0cf9b1.entry.js} +1 -1
- package/dist/twilight/{p-e5baf7d6.entry.js → p-ec55b19d.entry.js} +1 -1
- package/dist/twilight/{p-027b2e6c.entry.js → p-f1f8b22c.entry.js} +1 -1
- package/dist/twilight/p-f512d962.entry.js +4 -0
- package/dist/twilight/p-f6bdf794.entry.js +4 -0
- package/dist/twilight/{p-0a3cd575.entry.js → p-fceb9538.entry.js} +1 -1
- package/dist/twilight/p-fd08f948.entry.js +4 -0
- package/dist/twilight/{p-6ed6b06b.entry.js → p-fd434f3d.entry.js} +1 -1
- package/dist/twilight/{p-9eccfeb3.entry.js → p-fdeb9fff.entry.js} +1 -1
- package/dist/twilight/{p-3954282f.entry.js → p-fe06c38a.entry.js} +1 -1
- package/dist/twilight/{p-5de3603d.entry.js → p-fecf9d4d.entry.js} +1 -1
- package/dist/twilight/{p-FsSGk0KM.js → p-nN-08mtR.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-summary/salla-cart-summary.d.ts +8 -0
- package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +6 -0
- package/dist/types/components/salla-scopes/salla-scopes.d.ts +8 -0
- package/package.json +5 -5
- package/dist/twilight/p-074ddb49.entry.js +0 -4
- package/dist/twilight/p-1c8354c5.entry.js +0 -4
- package/dist/twilight/p-9c00e83f.entry.js +0 -4
- package/dist/twilight/p-BQw6MUsC.js +0 -4
- package/dist/twilight/p-FxCmxZkw.js +0 -9
- package/dist/twilight/p-bf614ee0.entry.js +0 -4
- package/dist/twilight/p-e3bf2952.entry.js +0 -4
- package/dist/twilight/p-e7758c92.entry.js +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CvkzTFUU.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaTooltip = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
36
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: '84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca', class: "s-tooltip-container" }, index.h("div", { key: '59d3bac320e20f99de1c4bf49531a61962190efc', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
|
|
37
37
|
}
|
|
38
38
|
get el() { return index.getElement(this); }
|
|
39
39
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CvkzTFUU.js');
|
|
7
7
|
|
|
8
8
|
const sallaTrustBadgesCss = "";
|
|
9
9
|
|
|
@@ -238,7 +238,7 @@ const SallaTrustBadges = class {
|
|
|
238
238
|
if (!badgeData) {
|
|
239
239
|
return null;
|
|
240
240
|
}
|
|
241
|
-
return (index.h(index.Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, index.h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }), index.h("div", { class: "s-trust-badges-content" }, index.h("p", { class: "s-trust-badges-label" }, badgeData.label), index.h("b", { class: "s-trust-badges-number" }, badgeData.number))));
|
|
241
|
+
return (index.h(index.Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, this.isVisibilityEnforced() ? index.h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }) : null, index.h("div", { class: "s-trust-badges-content" }, index.h("p", { class: "s-trust-badges-label" }, badgeData.label), index.h("b", { class: "s-trust-badges-number" }, badgeData.number))));
|
|
242
242
|
}
|
|
243
243
|
get hostEl() { return index.getElement(this); }
|
|
244
244
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CvkzTFUU.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-s-x1Fshk.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CvkzTFUU.js');
|
|
7
7
|
|
|
8
8
|
var Bullhorn = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -80,7 +80,7 @@ const SallaUserSettings = class {
|
|
|
80
80
|
await salla.profile.delete().finally(() => this.confirmationModal.close());
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: 'ae94c12d52ff04f41f08d4a107a35aa2bd94ee0a', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: '5b46a680b85fc72976c5c3d4f478b64b6c1d483c', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'b41bb42ea03a2ed63c7664d0b98ee045110c31d0' }, index.h("div", { key: '29abb43471c5160b7817f153c8968593332e7826', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '3fd763ac2437570eed2073acb6b57cbdd0f1cdac', innerHTML: UserCancel })), index.h("div", { key: 'cbff9be1b97a31a11d1b10d88d2408070047fd3b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '5fd0a91c56d9b8deeed04fb52a033fe5c1ad84ee', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '81ed76bd7b69ae7b16440f131cd78905d33da607', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'ae98c8814636b4e6008c421b291353ba2c4b91e7', class: "s-toggle" }, index.h("input", { key: '0c01d7706053667e80539a0a293ea21f4304e423', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '31d91e01bc2a28a6cd81af024b99bd42f1a04947', class: "s-toggle-switcher" }))))), index.h("div", { key: '7dd3c504babb5b79d07d08c5665cd5e080cb9a4d', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '9573ce56a617ac5c3e64f7cd868269f7f5f991cd' }, index.h("div", { key: 'deb424768ebb4b1086067816f4359e5b56da6044', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'db74169678f85313ef3b6c9a5ff92f8afaf012c2', innerHTML: Bullhorn })), index.h("div", { key: '569cc0dd9462bb606dab18116c071acb49fd8f48', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: 'fbe15f41b42ee2f98585ae29ff985cbe3b6f0ef1', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: 'c1a4fd8a0a340a73adb9efac7c7d75534b13ce3a', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'fade0f4d1a9214169bb087900561afd482674a75', class: "s-toggle" }, index.h("input", { key: '87cf0b041a89d79b23c2dd0d929c3b14dd18fb96', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '7812c9a8f51a7ad64172db275ac050f8b45ec6e5', class: "s-toggle-switcher" }))))), index.h("div", { key: '7224d14d365a9fd767e2b900dd1e30c6bee69e7e', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: 'cb61e0a146115885a36455159d808d7edbbdff5b' }, index.h("div", { key: 'c073c1bbca5ae9496a4116323611d15f33d68566', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'ed78cb19724511219f35ed85e3d915ced708d46c', innerHTML: UserOff })), index.h("div", { key: 'f8a9ba483b7af0216536a130554186b722f9ad6e', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: 'fd9cdf72725204e320c56b1bd6ac4cf2d77d2176', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: '739a99cfb762cd18d91c955b218ab0d06a289a9a', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'c2fd322ae8ff4060c21c65cfdd8b1d89bb338e3f', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: 'f8c8a2922ffd79d2dc04a35cf964882526b6b91c', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: 'b036e50b12f521c0f623ae7afded1113b0fc20ab', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: '0ae61369ece6d96056e0b461ba7a3e0104e00583', class: "s-user-settings-confirmation" }, index.h("div", { key: 'ef2eef33396e9eaa0c43d2196e43b61917f3c5fe', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '1656cb466302c11990d5e0d9833b21cb47766846', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: 'ce75f721106b103e6c7f2cfc75f8be08aba54f9c', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: '006ceecf237eee2febde96ff584eb8256b820049', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SallaUserSettings.style = sallaUserSettingsCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CvkzTFUU.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-CvkzTFUU.js');
|
|
7
7
|
|
|
8
8
|
const sallaWishlistActionsCss = ":host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}";
|
|
9
9
|
|
|
@@ -319,7 +319,7 @@ const SallaWishlistActions = class {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
render() {
|
|
322
|
-
return (index.h(index.Host, { key: '
|
|
322
|
+
return (index.h(index.Host, { key: '6329ecd00f2d08cd0fc485c371e98fe7984502d0' }, index.h("div", { key: '6e24cd1109ae290196337fe3e1e05cfd074966a9', class: "s-wishlist-actions" }, index.h("div", { key: '82c29d5b203368059c7883272c36576b19bdfd2d', class: "s-wishlist-actions-bar flex items-center justify-end gap-3 mb-3" }, index.h("div", { key: '3f85ad6a6e72308b71d506d2fc8687672b00ea7a', class: "s-wishlist-actions-dropdown relative" }, index.h("salla-button", { key: '56c109a338bc9fa06aebdadb041b6587440fa71a', color: "primary", fill: "outline", type: "button", disabled: !this.hasProducts, "aria-haspopup": "true", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: () => this.toggleMenu() }, index.h("div", { key: 'f0cf0dc66dd8ce00ac878481bbf21662d1853eba', class: "flex flex-row justify-center items-center gap-2" }, index.h("svg", { key: '3b97ef84df832a0bc1198319cc63b753da915b37', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'e8c626812dad32a5fc3165b58ce76a5c39586f09', d: "M26.667 21.333c-1.699 0-3.196 0.812-4.173 2.052l-11.912-5.211c0.044-0.276 0.085-0.553 0.085-0.841 0-0.472-0.081-0.923-0.197-1.359l12.361-6.952c0.971 1.009 2.328 1.644 3.836 1.644 2.941 0 5.333-2.392 5.333-5.333s-2.392-5.333-5.333-5.333-5.333 2.392-5.333 5.333c0 0.472 0.081 0.923 0.197 1.359l-12.361 6.952c-0.971-1.009-2.328-1.644-3.836-1.644-2.941 0-5.333 2.392-5.333 5.333s2.392 5.333 5.333 5.333c1.699 0 3.196-0.812 4.173-2.052l11.912 5.211c-0.044 0.276-0.085 0.553-0.085 0.841 0 2.941 2.392 5.333 5.333 5.333s5.333-2.392 5.333-5.333-2.392-5.333-5.333-5.333zM26.667 2.667c1.471 0 2.667 1.196 2.667 2.667s-1.196 2.667-2.667 2.667-2.667-1.196-2.667-2.667 1.196-2.667 2.667-2.667zM5.333 20c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667zM26.667 29.333c-1.471 0-2.667-1.196-2.667-2.667s1.196-2.667 2.667-2.667 2.667 1.196 2.667 2.667-1.196 2.667-2.667 2.667z" })), this.shareLabel, index.h("svg", { key: '731093a2d4393fe53d63e96ecc48fcb4c4a360d2', version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 32 32", style: { width: '16px', height: '16px' } }, index.h("path", { key: 'af87c9481389b4b1e544e0ab2eac43db6c164aac', d: "M26.212 10.996c-0.556-0.484-1.396-0.428-1.881 0.127l-8.331 9.519-8.331-9.52c-0.485-0.555-1.327-0.611-1.881-0.125s-0.609 1.328-0.124 1.881l9.333 10.667c0.253 0.291 0.617 0.456 1.003 0.456s0.749-0.165 1.003-0.456l9.333-10.667c0.485-0.553 0.429-1.396-0.124-1.881z" })))), this.menuOpen && (index.h("ul", { key: '62ce5ade389fb563d2548fd94939f697dbc03d8a', class: "s-wishlist-actions-menu absolute z-20 mt-1 bg-white rounded-lg shadow overflow-hidden" }, index.h("li", { key: '7cb443687290ce4c7144b71140b68c020bb52dd4' }, index.h("button", { key: 'd55410bb2f164d267a9c21af2648fbef3fdc1928', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareAll() }, this.shareAllLabel)), index.h("li", { key: 'f921f5241b0e7b7ebb228049f84dfe3996081d92' }, index.h("button", { key: 'dbc903542086266571c21ada73d54dab62f5a3e2', type: "button", class: "s-wishlist-actions-menu-item", onClick: () => this.shareSpecific() }, this.shareSpecificLabel))))), index.h("salla-social-share", { key: '0e3aec575c1b4aa4cdd5bb2c61f3cc3e90687f23', class: "s-wishlist-actions-social", ref: el => (this.socialShare = el), url: this.shareUrl, mode: "modal", modalTitle: this.shareModalTitle }, index.h("span", { key: 'bafce0670b980b583398b3d1a997020298e35bed', slot: "widget", class: "s-wishlist-actions-social-anchor", "aria-hidden": "true" }))), this.specificMode && (index.h("div", { key: '216cd3409541b0f93b26e2f2bfe256a36d0ff37b', class: "s-wishlist-actions-panel flex items-center justify-between gap-4 flex-wrap p-4 mt-3 mb-3 bg-white rounded-lg" }, index.h("label", { key: '4bf9a1cc508bfc87c229f69a7134bdefae0f9535', class: "s-wishlist-actions-panel-select-all flex items-center gap-2 cursor-pointer" }, index.h("input", { key: 'fbc39c6513eec5f4b1f281046b509c642ddce3db', type: "checkbox", class: "s-products-list-select-checkbox s-wishlist-actions-select-all", checked: this.isAllSelected, ref: el => (this.selectAllCheckbox = el), "aria-label": this.selectAllLabel, onChange: () => this.toggleSelectAll() }), index.h("span", { key: '02ba3b818ecb802d8976734738c8042163b6cdae', class: "s-wishlist-actions-panel-title text-sm font-bold text-gray-700" }, this.shareSpecificLabel, " (", this.selectedCount, ")")), index.h("div", { key: '447df46aa76c1ecb165b7680465ff6c6dfcc967d', class: "s-wishlist-actions-panel-buttons flex items-center gap-2" }, index.h("salla-button", { key: '36a6360b83dd07d20ca7763e2f12dc93f169c645', class: "s-wishlist-actions-cancel", color: "light", fill: "outline", type: "button", onClick: () => this.cancelSpecific() }, this.cancelLabel), index.h("salla-button", { key: '3aa46bcd91bf605f7715fcaa5692e4ca0e8f199e', class: "s-wishlist-actions-share", color: "primary", fill: "outline", type: "button", disabled: !this.selectedCount, loading: this.isSharing, onClick: () => this.shareSelected() }, this.shareLabel)))))));
|
|
323
323
|
}
|
|
324
324
|
get host() { return index.getElement(this); }
|
|
325
325
|
};
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -9,6 +9,22 @@ export class SallaCartSummary {
|
|
|
9
9
|
this.cartSummaryCount = salla.storage.get('cart.summary.count') || 0;
|
|
10
10
|
this.cartSummaryTotal = salla.storage.get('cart.summary.total') || 0;
|
|
11
11
|
this.cartLabel = salla.config.get('user.language_code') === 'ar' ? 'السلة' : 'Cart';
|
|
12
|
+
/**
|
|
13
|
+
* NEW, opt-in override (gated on `theme.is_spa_webview`): only inside the SPA webview does the
|
|
14
|
+
* native shell own the cart/checkout screen, so we intercept the tap and hand the cart URL to
|
|
15
|
+
* the native bridge instead of letting the webview navigate. On web, in any existing mobile app
|
|
16
|
+
* without the flag, or when the bridge isn't available to handle it, the anchor's href is
|
|
17
|
+
* followed normally — so the button never breaks.
|
|
18
|
+
*/
|
|
19
|
+
this.handleCheckoutClick = (e) => {
|
|
20
|
+
// Confirm the bridge can actually open checkout BEFORE preventing default — otherwise a shell
|
|
21
|
+
// that predates the openCheckout command would block navigation with nothing to fall back to
|
|
22
|
+
// (stuck checkout). When it can't, the anchor's href is followed normally.
|
|
23
|
+
if (salla.config.get('theme.is_spa_webview') && salla.mobile?.isEnabled?.() && salla.mobile.openCheckout) {
|
|
24
|
+
e.preventDefault();
|
|
25
|
+
salla.mobile.openCheckout(this.getCartLink());
|
|
26
|
+
}
|
|
27
|
+
};
|
|
12
28
|
salla.cart.event.onUpdated((response) => {
|
|
13
29
|
this.cartSummaryCount = response.count || 0;
|
|
14
30
|
this.cartSummaryTotal = response.total || 0;
|
|
@@ -102,7 +118,7 @@ export class SallaCartSummary {
|
|
|
102
118
|
return cartUrl;
|
|
103
119
|
}
|
|
104
120
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '53d6025626701e19c64643f9e62ccaa2daa656a9' }, h("a", { key: 'c1d88b8ad74590394c9acfa9ed8b88ec6db7bde7', class: "s-cart-summary-wrapper", href: this.getCartLink(), onClick: this.handleCheckoutClick }, h("div", { key: '2b01745e18463d81fee379ccef230f23f0e3d9df', id: "s-cart-icon" }, h("slot", { key: '714ca2f44c5c9f77eb14c755f55d1b1146deca40', name: "icon" }, h("i", { key: 'fa96424523444146a7f9be629251763ba2845fca', class: "s-cart-summary-icon", innerHTML: CartIcon }))), h("span", { key: 'b427766d04b4917542ff7be82e0b6841027caea6', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), h("p", { key: 'f5566215452c961de8ea5225864536195a2f9932', class: "s-cart-summary-content" }, this.showCartLabel && h("span", { key: 'fa9b82099badd45f4e9dfb0f0057dba07a92cebd', class: "s-cart-summary-label" }, this.cartLabel), h("b", { key: 'bd4dca3eb12509281b34514118469a5e6abc2fa5', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
|
|
106
122
|
}
|
|
107
123
|
static get is() { return "salla-cart-summary"; }
|
|
108
124
|
static get originalStyleUrls() {
|
|
@@ -73,7 +73,7 @@ export class SallaDeliveryPromise {
|
|
|
73
73
|
await salla.lang.onLoaded();
|
|
74
74
|
this.labels = loadLabels();
|
|
75
75
|
this.isDeliveryPromiseEnabled = salla.config.get('store.features', []).includes('delivery-promises');
|
|
76
|
-
this.isLoginCycleEnabled = salla.config.get('store.features', []).includes('bullet-delivery-v2');
|
|
76
|
+
this.isLoginCycleEnabled = salla.config.get('store.features', []).includes('bullet-delivery-v2') && Salla.config.get('store.settings.bullet_delivery.enabled');
|
|
77
77
|
this.productId = salla.config.get('page.id');
|
|
78
78
|
if (!this.isDeliveryPromiseEnabled) {
|
|
79
79
|
this.canRender = false;
|
|
@@ -110,6 +110,13 @@ export class SallaLocalizationModal {
|
|
|
110
110
|
await Salla.onReady();
|
|
111
111
|
await Salla.lang.onLoaded();
|
|
112
112
|
Salla.event.on('localization::open', () => this.open());
|
|
113
|
+
// currency::open / language::open mirror localization::open on web (open this same modal).
|
|
114
|
+
// Inside a native app the shell owns the currency/language sheets — the Salla.mobile bridge
|
|
115
|
+
// already forwards both events to native — so don't ALSO open the web modal there. This is new
|
|
116
|
+
// logic (nothing opened this modal on these events before), so gate on isMobileApp() directly;
|
|
117
|
+
// theme.is_spa_webview is not required here.
|
|
118
|
+
Salla.event.on('currency::open', () => this.openUnlessNative());
|
|
119
|
+
Salla.event.on('language::open', () => this.openUnlessNative());
|
|
113
120
|
if (!this.language) {
|
|
114
121
|
this.language = Salla.config.get('user.language_code');
|
|
115
122
|
}
|
|
@@ -119,6 +126,16 @@ export class SallaLocalizationModal {
|
|
|
119
126
|
// Pre-load currencies so the trigger can resolve unknown codes via API fallback before the modal opens
|
|
120
127
|
Salla.api.withoutNotifier(() => this.getCurrencies()).catch(() => null);
|
|
121
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Open the web modal unless we're inside a native app, where the shell owns the currency/language
|
|
131
|
+
* sheet (the Salla.mobile bridge forwards currency::open / language::open to native). Used only by
|
|
132
|
+
* the new currency::open / language::open listeners — localization::open always opens the web modal.
|
|
133
|
+
*/
|
|
134
|
+
openUnlessNative() {
|
|
135
|
+
if (Salla.config.isMobileApp())
|
|
136
|
+
return;
|
|
137
|
+
this.open();
|
|
138
|
+
}
|
|
122
139
|
/**
|
|
123
140
|
* open the component
|
|
124
141
|
*/
|
|
@@ -227,7 +244,7 @@ export class SallaLocalizationModal {
|
|
|
227
244
|
this.showTrigger
|
|
228
245
|
? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
|
|
229
246
|
: '',
|
|
230
|
-
h("salla-modal", { key: '
|
|
247
|
+
h("salla-modal", { key: 'f8c4089089cc05dcc26628ca92dff99a1604d5ee', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '61d4450ea6277a3848512c4a91bbe823dd8d2813', slot: 'loading' }, h("div", { key: 'e2416822d2f660bb75284e17cb0d4408b25073b3', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '529ac08f5fdd3442e63d3272e43075d30dc67bb3', width: '25%', height: '15px' }), h("div", { key: '9b87c3ff232922c2bb27f9064afe6e203532e624', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'ff35e7d5ccdb6fafc599bdaefb5390d3cba7a8a6', width: '25%', height: '15px' }), h("div", { key: 'abef2a071f3818fd980023522d118e64466d77e8', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '15611b13fb120fc02b79c4d341aa8ecd7a4265fc', height: '40px', width: '100%' }))), !!this.hasError ?
|
|
231
248
|
h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
|
|
232
249
|
h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
|
|
233
250
|
h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
|
|
@@ -41,13 +41,23 @@ export class SallaScopees {
|
|
|
41
41
|
}
|
|
42
42
|
return salla.lang.get('blocks.scope.search_for_availability_in_other_branches');
|
|
43
43
|
};
|
|
44
|
-
salla.event.on('scopes::open', ({ mode = null, product_id = null }) => {
|
|
44
|
+
salla.event.on('scopes::open', ({ mode = null, product_id = null } = {}) => {
|
|
45
45
|
this.open(mode, product_id);
|
|
46
46
|
});
|
|
47
47
|
salla.lang.onLoaded(() => {
|
|
48
48
|
this.translationLoaded = true;
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Whether to hand scope selection to the native app instead of rendering the web modal.
|
|
53
|
+
* NEW, opt-in override gated on `theme.is_spa_webview`: only the SPA webview delegates the scope
|
|
54
|
+
* sheet to native — existing mobile apps keep the web modal, so this is not a breaking change.
|
|
55
|
+
* Still require the bridge to be live so a shell that can't handle it degrades gracefully to the
|
|
56
|
+
* web modal rather than leaving scope selection with no UI at all.
|
|
57
|
+
*/
|
|
58
|
+
get isNativeApp() {
|
|
59
|
+
return !!salla.config.get('theme.is_spa_webview') && !!salla.mobile?.isEnabled?.();
|
|
60
|
+
}
|
|
51
61
|
/**
|
|
52
62
|
* Closes the scope modal.
|
|
53
63
|
*/
|
|
@@ -58,6 +68,12 @@ export class SallaScopees {
|
|
|
58
68
|
* Opens the scope modal.
|
|
59
69
|
*/
|
|
60
70
|
async open(mode = ModeType.DEFAULT, product_id = null) {
|
|
71
|
+
// Inside a native app the shell owns the scope sheet: hand off to it and skip the web modal entirely.
|
|
72
|
+
if (this.isNativeApp) {
|
|
73
|
+
salla.log('SallaScope:: delegated open to native app');
|
|
74
|
+
salla.mobile?.openScopes?.();
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
61
77
|
this.hasError = false;
|
|
62
78
|
this.mode = [ModeType.AVAILABILITY, ModeType.DEFAULT].includes(mode) ? mode : ModeType.DEFAULT;
|
|
63
79
|
this.loading = !this.loadedScopes[this.mode];
|
|
@@ -146,7 +162,10 @@ export class SallaScopees {
|
|
|
146
162
|
return salla.onReady();
|
|
147
163
|
}
|
|
148
164
|
render() {
|
|
149
|
-
|
|
165
|
+
// Native app renders its own scope sheet; keep the web component out of the DOM.
|
|
166
|
+
if (this.isNativeApp)
|
|
167
|
+
return null;
|
|
168
|
+
return (h(Host, null, h("salla-modal", { ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
|
|
150
169
|
h("div", { slot: "loading" }, h("div", { class: "s-scopes-skeleton" }, h("salla-list-tile", { class: "s-scopes-header" }, h("div", { slot: "icon", class: "s-scopes-header-icon" }, h("salla-skeleton", { type: "circle" })), h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-scopes-skeleton-search" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '30px', width: '100%' })), h("div", { class: "s-scopes-skeleton-scopes" }, h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-scopes-skeleton-btn" }, h("salla-skeleton", { height: '40px', width: '100%' }))))
|
|
151
170
|
:
|
|
152
171
|
[h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
|
|
@@ -157,9 +176,9 @@ export class SallaScopees {
|
|
|
157
176
|
}
|
|
158
177
|
async componentDidLoad() {
|
|
159
178
|
await Salla.hooks.registerComponent('salla-scopes', this);
|
|
160
|
-
// * Note:
|
|
161
|
-
|
|
162
|
-
if (isMobileApp)
|
|
179
|
+
// * Note: don't auto-pop the web modal in any native context — the modern shell owns the
|
|
180
|
+
// sheet (isNativeApp), and legacy shells (isMobileApp, no bridge) historically suppressed it too.
|
|
181
|
+
if (salla.config.isMobileApp() || this.isNativeApp)
|
|
163
182
|
return;
|
|
164
183
|
if (!this.isOpenedBefore && this.selection == 'mandatory') {
|
|
165
184
|
this.open();
|
|
@@ -127,10 +127,10 @@ export class SallaSearch {
|
|
|
127
127
|
this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
const searchContent = (h("div", { key: '
|
|
130
|
+
const searchContent = (h("div", { key: 'ca8dec5eb90cd0893a1a3364df34ba0ee4d60891', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '212f8180ecca220a8b89231311dec6cdf3ef0b06', class: "s-search-input-wrapper" }, h("span", { key: '51fb0f9a2e342afd35eb82b57f55471aa9e1519f', class: "s-search-icon-wrap" }, h("span", { key: 'e75117068c51c6d200e8e20fa0f00ca02ed0c61d', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '442b1704b75a33e8c9e02da8200151a1d8e8db72', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
|
|
131
131
|
height: this.height + 'px',
|
|
132
132
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
133
|
-
} }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: '
|
|
133
|
+
} }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: 'f3b40ce4ec24678f6d8421f3da8ac9e1bd631c3a', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
|
|
134
134
|
's-search-product': true,
|
|
135
135
|
's-search-product-not-available': !product.is_available,
|
|
136
136
|
}, innerHTML: this.productSlot
|
|
@@ -139,9 +139,9 @@ export class SallaSearch {
|
|
|
139
139
|
.replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
|
|
140
140
|
? salla.money(product.regular_price)
|
|
141
141
|
: '')
|
|
142
|
-
.replace(/\{image\}/g, product.image.url) }))), h("p", { key: '
|
|
143
|
-
const modalContent = (h("salla-modal", { key: '
|
|
144
|
-
const placeholderContent = (h("div", { key: '
|
|
142
|
+
.replace(/\{image\}/g, product.image.url) }))), h("p", { key: 'fdbb21061c599a59c6d828eec80e8d591a708cca', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
|
|
143
|
+
const modalContent = (h("salla-modal", { key: 'ca90aea3fb92d1ba7d8270c26e2ecd82d5018784', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
|
|
144
|
+
const placeholderContent = (h("div", { key: '73333ce51cabadc4963a9fe9d1372bb7d63925c8', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '77a66e9bba504557160c8c50d91f1216cc68f253', class: "s-search-input-wrapper" }, h("span", { key: '18fb5ce6e3e72874e76dd1ef2c6db8718a68f778', class: "s-search-icon-wrap" }, h("span", { key: '63b9e9af1c51647df734cc4d5cf7a825b922ce38', class: "s-search-icon", innerHTML: Search })), h("button", { key: 'b70169ed2d80ec2ad6b09952ad104824610212df', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
|
|
145
145
|
height: this.height + 'px',
|
|
146
146
|
borderRadius: this.oval ? this.height / 2 + 'px' : '',
|
|
147
147
|
} }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
|
|
@@ -188,18 +188,18 @@ export class SallaSearchableDropdown {
|
|
|
188
188
|
render() {
|
|
189
189
|
const hasSelection = this.selectedItem != null;
|
|
190
190
|
const listboxId = `${this.inputId}-listbox`;
|
|
191
|
-
return (h(Host, { key: '
|
|
191
|
+
return (h(Host, { key: 'e95aedae8c83fe27ef5e94065bd34a0c105ab565', class: "s-searchable-dropdown" }, h("div", { key: '3bd95a9a3652934d7a0904b6813f372a517dc415', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '85b95c812b9aa2c496b394a750c362d69c50546a', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: 'a863108db25faffd654d2a49832c9ab78c4d3124', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'fb3ce40726d9b5f0060d1279bd0a17339da978b1', class: {
|
|
192
192
|
's-searchable-dropdown-trigger': true,
|
|
193
193
|
's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
|
|
194
194
|
's-searchable-dropdown-trigger--open': this.isOpen,
|
|
195
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '
|
|
195
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: '493e615e79b3483aca3bf2b40c45b8be38190788', class: {
|
|
196
196
|
'sicon-keyboard_arrow_down': true,
|
|
197
197
|
's-searchable-dropdown-trigger-icon': true,
|
|
198
198
|
's-searchable-dropdown-trigger-icon--open': this.isOpen,
|
|
199
|
-
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '
|
|
199
|
+
}, "aria-hidden": "true" })), this.isOpen && (h("div", { key: 'db839d1fcc73c7bc68cd324ca2e8c91f42bb991c', class: {
|
|
200
200
|
's-searchable-dropdown-panel': true,
|
|
201
201
|
's-searchable-dropdown-panel--up': this.dropUp,
|
|
202
|
-
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: '
|
|
202
|
+
}, ref: (el) => (this.panelRef = el) }, this.searchable && (h("div", { key: 'd3b91389e90e87345672cd7ec630b555114372b2', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '67d56ff8ad837b683d12fb750ccee6412bd8de4c', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: 'f400a683b9b54ae8e448279ce19130cb346dcc5f', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId }))), h("div", { key: '75bd2f369824326cb1ef87c5f3dad2e80975f4d9', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
|
|
203
203
|
}
|
|
204
204
|
renderListContent() {
|
|
205
205
|
if (this.searching || this.loading) {
|
|
@@ -22,7 +22,7 @@ export class SallaSkeleton {
|
|
|
22
22
|
's-skeleton-item': true,
|
|
23
23
|
's-skeleton-item-circular': this.type == 'circle',
|
|
24
24
|
};
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '7b36da96585cfefe9aa96df6262be14f6a03c585', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '568ae1bc0aeae182bb32468b19601c0245e9617d', class: classes }, "\u00A0")));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "salla-skeleton"; }
|
|
28
28
|
static get originalStyleUrls() {
|
|
@@ -31,7 +31,7 @@ export class SallaSocial {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const linksArray = this.getLinksArray();
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'e7d69dbae46ef54588471875ada751103d14d393' }, h("ul", { key: 'ff4b15127e6664cca17fa7f6f49e4cda25829d74', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
35
35
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
36
36
|
.replace(/\{type\}/g, link.type)
|
|
37
37
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -345,7 +345,7 @@ export class SallaSocialShare {
|
|
|
345
345
|
})));
|
|
346
346
|
}
|
|
347
347
|
render() {
|
|
348
|
-
return (h("div", { key: '
|
|
348
|
+
return (h("div", { key: 'e934ffb94fea491d445e62f26fcf98914ff0a399', class: "s-social-share-wrapper" }, h("slot", { key: '8dbf4a0c3fb6fb17a0a7c32ace57b357708c0678', name: "widget" }, h("salla-button", { key: 'eb6459bc99d4587bbfc6c0399003a2860d6992b0', "aria-label": "Share", onClick: () => this.toggle(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '3394f64755bd0bc07839b1a513f5459c8258f096', innerHTML: this.opened ? Cancel : ShareAlt }))), this.mode === 'modal' ? this.renderModal() : this.renderPopupList()));
|
|
349
349
|
}
|
|
350
350
|
static get is() { return "salla-social-share"; }
|
|
351
351
|
static get originalStyleUrls() {
|
|
@@ -30,7 +30,7 @@ export class SallaTabContent {
|
|
|
30
30
|
's-tabs-content': true,
|
|
31
31
|
's-tabs-content-selected': this.isSelected
|
|
32
32
|
};
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'f5cfa9676bc8314149cb78e103b9ef580c0d7559', class: classes }, h("slot", { key: '1b86591377c09f1acb25cda20024b3af9c6a874d' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "salla-tab-content"; }
|
|
36
36
|
static get originalStyleUrls() {
|
|
@@ -52,7 +52,7 @@ export class SallaTabHeader {
|
|
|
52
52
|
's-tabs-active': this.isSelected,
|
|
53
53
|
};
|
|
54
54
|
return [
|
|
55
|
-
h("div", { key: '
|
|
55
|
+
h("div", { key: 'a9548ed2a74d30e6fcf365dbe26aa5f7fdab2468', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '547edd40aab5843c6035bd3c36a34d9449dc12d3' })),
|
|
56
56
|
];
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "salla-tab-header"; }
|
|
@@ -50,7 +50,7 @@ export class SallaTabs {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
return [
|
|
53
|
-
h("div", { key: '
|
|
53
|
+
h("div", { key: 'e9054cb114c2bd66940b6afa98d7c7c230353a74', class: "s-tabs" }, h("div", { key: 'd245f64aef9b7fd77c9c51eb1d86ddfd9202e5fb', class: "s-tabs-header" }, h("slot", { key: 'f1b9a982cd746d637db5d514cb691f188af0cb7e', name: "header" })), h("div", { key: '0ba8441707b087a8c4d068b1a72bf10c8efb41cc', class: "s-tabs-content-wrapper" }, h("slot", { key: 'afcee28724a5a9ce263fcc3a38d624a631069945', name: "content" })))
|
|
54
54
|
];
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "salla-tabs"; }
|
|
@@ -123,7 +123,7 @@ export class SallaTelInput {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '727fa47d71bd8fd98f76c66b3bafb2348a586303', class: "s-tel-input" }, h("input", { key: '19f5d3e2ff8902733e21f39038f716b18ae065ae', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'ad6b735fa4d5574b8717f460171c13a56a031451', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: '07c8732dc276613fc5ed2928a2d47af51c49d942', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
|
|
127
127
|
}
|
|
128
128
|
componentDidLoad() {
|
|
129
129
|
this.initTelInput();
|
|
@@ -27,7 +27,7 @@ export class SallaTooltip {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '84dfb23d4eb2689ff71b65c4a8b24dd36f8cb6ca', class: "s-tooltip-container" }, h("div", { key: '59d3bac320e20f99de1c4bf49531a61962190efc', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "salla-tooltip"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -232,7 +232,7 @@ export class SallaTrustBadges {
|
|
|
232
232
|
if (!badgeData) {
|
|
233
233
|
return null;
|
|
234
234
|
}
|
|
235
|
-
return (h(Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }), h("div", { class: "s-trust-badges-content" }, h("p", { class: "s-trust-badges-label" }, badgeData.label), h("b", { class: "s-trust-badges-number" }, badgeData.number))));
|
|
235
|
+
return (h(Host, { class: `s-trust-badges-wrapper ${this.dark ? 'dark' : ''}` }, this.isVisibilityEnforced() ? h("img", { class: "s-trust-badges-image", width: "55", height: "55", src: badgeData.imageUrl, alt: badgeData.label }) : null, h("div", { class: "s-trust-badges-content" }, h("p", { class: "s-trust-badges-label" }, badgeData.label), h("b", { class: "s-trust-badges-number" }, badgeData.number))));
|
|
236
236
|
}
|
|
237
237
|
static get is() { return "salla-trust-badges"; }
|
|
238
238
|
static get originalStyleUrls() {
|
|
@@ -56,7 +56,7 @@ export class SallaUserSettings {
|
|
|
56
56
|
await salla.profile.delete().finally(() => this.confirmationModal.close());
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'ae94c12d52ff04f41f08d4a107a35aa2bd94ee0a', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '5b46a680b85fc72976c5c3d4f478b64b6c1d483c', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'b41bb42ea03a2ed63c7664d0b98ee045110c31d0' }, h("div", { key: '29abb43471c5160b7817f153c8968593332e7826', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '3fd763ac2437570eed2073acb6b57cbdd0f1cdac', innerHTML: UserCancel })), h("div", { key: 'cbff9be1b97a31a11d1b10d88d2408070047fd3b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '5fd0a91c56d9b8deeed04fb52a033fe5c1ad84ee', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '81ed76bd7b69ae7b16440f131cd78905d33da607', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'ae98c8814636b4e6008c421b291353ba2c4b91e7', class: "s-toggle" }, h("input", { key: '0c01d7706053667e80539a0a293ea21f4304e423', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '31d91e01bc2a28a6cd81af024b99bd42f1a04947', class: "s-toggle-switcher" }))))), h("div", { key: '7dd3c504babb5b79d07d08c5665cd5e080cb9a4d', class: "s-user-settings-section" }, h("salla-list-tile", { key: '9573ce56a617ac5c3e64f7cd868269f7f5f991cd' }, h("div", { key: 'deb424768ebb4b1086067816f4359e5b56da6044', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'db74169678f85313ef3b6c9a5ff92f8afaf012c2', innerHTML: Bullhorn })), h("div", { key: '569cc0dd9462bb606dab18116c071acb49fd8f48', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: 'fbe15f41b42ee2f98585ae29ff985cbe3b6f0ef1', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'c1a4fd8a0a340a73adb9efac7c7d75534b13ce3a', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'fade0f4d1a9214169bb087900561afd482674a75', class: "s-toggle" }, h("input", { key: '87cf0b041a89d79b23c2dd0d929c3b14dd18fb96', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '7812c9a8f51a7ad64172db275ac050f8b45ec6e5', class: "s-toggle-switcher" }))))), h("div", { key: '7224d14d365a9fd767e2b900dd1e30c6bee69e7e', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'cb61e0a146115885a36455159d808d7edbbdff5b' }, h("div", { key: 'c073c1bbca5ae9496a4116323611d15f33d68566', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'ed78cb19724511219f35ed85e3d915ced708d46c', innerHTML: UserOff })), h("div", { key: 'f8a9ba483b7af0216536a130554186b722f9ad6e', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'fd9cdf72725204e320c56b1bd6ac4cf2d77d2176', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '739a99cfb762cd18d91c955b218ab0d06a289a9a', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'c2fd322ae8ff4060c21c65cfdd8b1d89bb338e3f', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'f8c8a2922ffd79d2dc04a35cf964882526b6b91c', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: 'b036e50b12f521c0f623ae7afded1113b0fc20ab', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '0ae61369ece6d96056e0b461ba7a3e0104e00583', class: "s-user-settings-confirmation" }, h("div", { key: 'ef2eef33396e9eaa0c43d2196e43b61917f3c5fe', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '1656cb466302c11990d5e0d9833b21cb47766846', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: 'ce75f721106b103e6c7f2cfc75f8be08aba54f9c', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '006ceecf237eee2febde96ff584eb8256b820049', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "salla-user-settings"; }
|
|
62
62
|
static get originalStyleUrls() {
|