@salla.sa/twilight-components 2.14.454 → 2.14.456
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-omDVoR0V.js → filepond-ByigWwFl.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CiTwbype.js → filepond-plugin-file-poster-BiD-_Ds9.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BMUGogIJ.js → filepond-plugin-file-validate-size--jYzIVxc.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DU7loMuy.js → filepond-plugin-file-validate-type-DSEoIdkG.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BvpuxlGL.js → filepond-plugin-image-edit-BxhNq1OW.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-BltzmQ3V.js → filepond-plugin-image-exif-orientation-CxhioraI.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C-51g4On.js → filepond-plugin-image-preview-BOBfoOPj.js} +1 -1
- package/dist/cjs/{functions-BugkyX_h.js → functions-CzTE1Can.js} +36 -8
- package/dist/cjs/{index-CMdVOCIm.js → index-CHEJ_wTy.js} +1 -1
- package/dist/cjs/{index-DppdveKW.js → index-MWekS0mu.js} +2 -2
- 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 +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +32 -10
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +4 -4
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +11 -5
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
- 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.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-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-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-card_2.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-progress-bar.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 +14 -11
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +172 -1
- 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 +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-D_CjjRbz.js → tracked-promise-DzmWHAH-.js} +1 -1
- package/dist/cjs/{translations-DMwpLvqi.js → translations-BHyDCj-Y.js} +12 -0
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-Cx13ViIR.js → vanilla-picker-D7NBRp4f.js} +1 -1
- package/dist/collection/components/salla-loyalty-program/functions.js +22 -7
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +31 -9
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +7 -1
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
- package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +4 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
- package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
- package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
- package/dist/collection/components/salla-loyalty-program/translations.js +12 -0
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +171 -0
- package/dist/components/functions.js +35 -8
- package/dist/components/index.js +2 -2
- package/dist/components/salla-loyalty-point2.js +31 -9
- package/dist/components/salla-loyalty-program.js +7 -1
- package/dist/components/salla-loyalty-reward.js +2 -2
- package/dist/components/salla-reward-action2.js +4 -1
- package/dist/components/salla-reward-card2.js +1 -1
- package/dist/components/salla-reward-details2.js +3 -3
- package/dist/components/salla-reward-exchange2.js +3 -3
- package/dist/components/salla-trust-badges.js +171 -0
- package/dist/components/translations.js +12 -0
- package/dist/esm/{filepond-DFccUKfi.js → filepond-CRlzgcIb.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BKP-dfBt.js → filepond-plugin-file-poster-ByayYzo6.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Cjhw73dP.js → filepond-plugin-file-validate-size-Dzbvm4bE.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BYB_v8v7.js → filepond-plugin-file-validate-type-BLR4c3Mg.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DrvarOmH.js → filepond-plugin-image-edit-C3Xg8l5R.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DdeulGFN.js → filepond-plugin-image-exif-orientation-CVUrfrNW.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CygMfjyy.js → filepond-plugin-image-preview-CGO8PkcS.js} +1 -1
- package/dist/esm/{functions-B4JadfO-.js → functions-gyNQgO8M.js} +36 -9
- package/dist/esm/{index-iW77h_OO.js → index-CF5lYEtt.js} +2 -2
- package/dist/esm/{index-BsChAaWH.js → index-D8tNjsq-.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 +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +3 -3
- package/dist/esm/salla-loyalty-hero_2.entry.js +32 -10
- package/dist/esm/salla-loyalty-panel.entry.js +4 -4
- package/dist/esm/salla-loyalty-points-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +11 -5
- package/dist/esm/salla-loyalty-reward.entry.js +4 -4
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map.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-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-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-card_2.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-progress-bar.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 +14 -11
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +172 -1
- 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 +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/{tracked-promise-C44guOYk.js → tracked-promise-p7166HJt.js} +1 -1
- package/dist/esm/{translations-B-Rj6b9M.js → translations-dn_hTofo.js} +12 -0
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-YDGjYiGR.js → vanilla-picker-DNH0QcWx.js} +1 -1
- package/dist/twilight/{p-f909c93a.entry.js → p-00cae5da.entry.js} +1 -1
- package/dist/twilight/{p-34aa2e08.entry.js → p-03d2a295.entry.js} +1 -1
- package/dist/twilight/{p-d7efc079.entry.js → p-07509240.entry.js} +1 -1
- package/dist/twilight/{p-99cc3c6d.entry.js → p-08e2d088.entry.js} +1 -1
- package/dist/twilight/{p-05a72e81.entry.js → p-161bbb4d.entry.js} +1 -1
- package/dist/twilight/{p-596d016f.entry.js → p-1745f9a1.entry.js} +1 -1
- package/dist/twilight/{p-3e994db0.entry.js → p-18eeb19b.entry.js} +1 -1
- package/dist/twilight/{p-d9754b4d.entry.js → p-19c86bc6.entry.js} +1 -1
- package/dist/twilight/{p-DQRmUn8O.js → p-1P71keJV.js} +1 -1
- package/dist/twilight/{p-24b99485.entry.js → p-1a647899.entry.js} +1 -1
- package/dist/twilight/{p-4cbe8713.entry.js → p-1c87788f.entry.js} +1 -1
- package/dist/twilight/{p-02dd7637.entry.js → p-1dbb89d0.entry.js} +1 -1
- package/dist/twilight/{p-13cb0ec4.entry.js → p-25705059.entry.js} +1 -1
- package/dist/twilight/{p-d5dd0382.entry.js → p-2d707e83.entry.js} +1 -1
- package/dist/twilight/{p-256aa3f1.entry.js → p-30f4c0c7.entry.js} +1 -1
- package/dist/twilight/{p-a6394281.entry.js → p-3586e535.entry.js} +1 -1
- package/dist/twilight/{p-ed5da7f4.entry.js → p-3ab0ba37.entry.js} +1 -1
- package/dist/twilight/{p-2d4e9fb9.entry.js → p-3e5d39d6.entry.js} +1 -1
- package/dist/twilight/{p-c0ff719e.entry.js → p-3f7d4d95.entry.js} +1 -1
- package/dist/twilight/{p-290f254d.entry.js → p-4189d36a.entry.js} +1 -1
- package/dist/twilight/{p-c929ace3.entry.js → p-44cb2ef8.entry.js} +1 -1
- package/dist/twilight/p-469b9c3b.entry.js +4 -0
- package/dist/twilight/{p-7afdc002.entry.js → p-4ba8a32c.entry.js} +1 -1
- package/dist/twilight/{p-46b71bff.entry.js → p-4c74a0de.entry.js} +1 -1
- package/dist/twilight/{p-99e0fc1f.entry.js → p-4d2ee4bf.entry.js} +1 -1
- package/dist/twilight/{p-40c95509.entry.js → p-4f623243.entry.js} +1 -1
- package/dist/twilight/{p-ed14038b.entry.js → p-4fbac225.entry.js} +1 -1
- package/dist/twilight/p-5312991b.entry.js +4 -0
- package/dist/twilight/{p-8fea01ea.entry.js → p-53db2588.entry.js} +1 -1
- package/dist/twilight/{p-02f8d9f9.entry.js → p-549dfe1b.entry.js} +1 -1
- package/dist/twilight/{p-51da9e0c.entry.js → p-579c9941.entry.js} +1 -1
- package/dist/twilight/{p-6ed57526.entry.js → p-585f6156.entry.js} +1 -1
- package/dist/twilight/p-5b9aee81.entry.js +4 -0
- package/dist/twilight/{p-6c9aca7c.entry.js → p-60c4743f.entry.js} +1 -1
- package/dist/twilight/{p-JqmowdAI.js → p-65q-Lspm.js} +1 -1
- package/dist/twilight/{p-51638221.entry.js → p-6612976a.entry.js} +1 -1
- package/dist/twilight/p-66384032.entry.js +4 -0
- package/dist/twilight/p-66fb0eed.entry.js +4 -0
- package/dist/twilight/{p-b266250b.entry.js → p-6e1cec7b.entry.js} +1 -1
- package/dist/twilight/{p-28f46e76.entry.js → p-7046c764.entry.js} +1 -1
- package/dist/twilight/{p-1b2c0753.entry.js → p-72a7f290.entry.js} +1 -1
- package/dist/twilight/{p-19f2e7d2.entry.js → p-72ec3a50.entry.js} +1 -1
- package/dist/twilight/{p-4c9edafa.entry.js → p-74ad347b.entry.js} +1 -1
- package/dist/twilight/{p-a61a9f5a.entry.js → p-789816d3.entry.js} +1 -1
- package/dist/twilight/{p-d58e833c.entry.js → p-814b5624.entry.js} +1 -1
- package/dist/twilight/{p-cb7e203e.entry.js → p-84eae64c.entry.js} +1 -1
- package/dist/twilight/p-86be13c9.entry.js +4 -0
- package/dist/twilight/{p-a6dca70e.entry.js → p-8714ba55.entry.js} +1 -1
- package/dist/twilight/{p-19276c52.entry.js → p-8b9835be.entry.js} +1 -1
- package/dist/twilight/{p-da7dac3f.entry.js → p-8e84a8eb.entry.js} +1 -1
- package/dist/twilight/{p-3c810267.entry.js → p-90e05e76.entry.js} +1 -1
- package/dist/twilight/{p-721bf683.entry.js → p-96015a02.entry.js} +1 -1
- package/dist/twilight/{p-e6c02cf3.entry.js → p-97647732.entry.js} +1 -1
- package/dist/twilight/{p-D--YecOb.js → p-BWsYxy94.js} +1 -1
- package/dist/twilight/{p-CgvkiAxT.js → p-BevZXaXF.js} +1 -1
- package/dist/twilight/{p-DPYkeBoq.js → p-BtV9ZEuP.js} +1 -1
- package/dist/twilight/{p-iW77h_OO.js → p-CF5lYEtt.js} +1 -1
- package/dist/twilight/p-CSn54B_A.js +4 -0
- package/dist/twilight/{p-JH4C3FEL.js → p-CgnSxwtl.js} +2 -2
- package/dist/twilight/{p-CNLZvKDA.js → p-D0XsGIjC.js} +1 -1
- package/dist/twilight/{p-BtQuvkil.js → p-D58UweWS.js} +1 -1
- package/dist/twilight/p-DFCW2iW-.js +9 -0
- package/dist/twilight/{p-CwIp300F.js → p-DaxhHxCj.js} +2 -2
- package/dist/twilight/{p-3bbd0428.entry.js → p-a3d00953.entry.js} +1 -1
- package/dist/twilight/{p-5d9af31e.entry.js → p-a446b3b1.entry.js} +1 -1
- package/dist/twilight/{p-a27bb10b.entry.js → p-a6b63629.entry.js} +1 -1
- package/dist/twilight/{p-f05b8136.entry.js → p-a7b4fb6b.entry.js} +1 -1
- package/dist/twilight/{p-3a4376e2.entry.js → p-ab8c90ab.entry.js} +1 -1
- package/dist/twilight/{p-3f5f9c20.entry.js → p-acb29315.entry.js} +1 -1
- package/dist/twilight/{p-5ac78da9.entry.js → p-ad411fb2.entry.js} +1 -1
- package/dist/twilight/{p-74ab39a5.entry.js → p-ade9674c.entry.js} +1 -1
- package/dist/twilight/{p-f8316f57.entry.js → p-ae31f13e.entry.js} +1 -1
- package/dist/twilight/{p-fd293182.entry.js → p-b03ccd38.entry.js} +1 -1
- package/dist/twilight/p-b23c3b14.entry.js +4 -0
- package/dist/twilight/{p-d742b000.entry.js → p-b4a5d9f1.entry.js} +1 -1
- package/dist/twilight/{p-f0cddd1f.entry.js → p-b94a95f9.entry.js} +1 -1
- package/dist/twilight/{p-4e93a3b0.entry.js → p-bd692fdc.entry.js} +1 -1
- package/dist/twilight/{p-1152d39f.entry.js → p-bf38bbba.entry.js} +1 -1
- package/dist/twilight/{p-f2b6c9a8.entry.js → p-bf9ecde7.entry.js} +1 -1
- package/dist/twilight/{p-76523a14.entry.js → p-c0c2f66b.entry.js} +1 -1
- package/dist/twilight/{p-3bae0861.entry.js → p-c19fc5f6.entry.js} +1 -1
- package/dist/twilight/{p-0819daad.entry.js → p-c2818e13.entry.js} +1 -1
- package/dist/twilight/{p-588a366c.entry.js → p-c3ab6df4.entry.js} +1 -1
- package/dist/twilight/{p-87b489d5.entry.js → p-c47b7eb7.entry.js} +1 -1
- package/dist/twilight/{p-eba853e8.entry.js → p-cdcf9152.entry.js} +1 -1
- package/dist/twilight/{p-df7285e7.entry.js → p-cf5f44a4.entry.js} +1 -1
- package/dist/twilight/{p-ba047214.entry.js → p-d06ddfdd.entry.js} +1 -1
- package/dist/twilight/{p-00b84307.entry.js → p-d0982f5f.entry.js} +1 -1
- package/dist/twilight/{p-5965a3d2.entry.js → p-d4415e81.entry.js} +1 -1
- package/dist/twilight/{p-a9d9d779.entry.js → p-d4737a77.entry.js} +1 -1
- package/dist/twilight/{p-fb21e567.entry.js → p-d53cf37d.entry.js} +1 -1
- package/dist/twilight/p-dn_hTofo.js +4 -0
- package/dist/twilight/{p-cd7b86ca.entry.js → p-e189cbcd.entry.js} +1 -1
- package/dist/twilight/{p-bf5f9ac5.entry.js → p-e34af4af.entry.js} +1 -1
- package/dist/twilight/{p-1f7af2ad.entry.js → p-e71456a5.entry.js} +1 -1
- package/dist/twilight/{p-0649d07b.entry.js → p-f1da2348.entry.js} +1 -1
- package/dist/twilight/{p-f65dfb0b.entry.js → p-f77fa8c8.entry.js} +1 -1
- package/dist/twilight/{p-a6563120.entry.js → p-fb088b52.entry.js} +1 -1
- package/dist/twilight/{p-7ca70e4e.entry.js → p-fde1dd81.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-loyalty-program/functions.d.ts +3 -1
- package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +3 -0
- package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +25 -0
- package/package.json +5 -5
- package/dist/twilight/p-10334bac.entry.js +0 -4
- package/dist/twilight/p-498cdb6f.entry.js +0 -4
- package/dist/twilight/p-697a25c4.entry.js +0 -4
- package/dist/twilight/p-B-Rj6b9M.js +0 -4
- package/dist/twilight/p-BWfbW9uR.js +0 -4
- package/dist/twilight/p-BpU1d8Q_.js +0 -9
- package/dist/twilight/p-c5c834f6.entry.js +0 -4
- package/dist/twilight/p-d85d8cc1.entry.js +0 -4
- package/dist/twilight/p-dc1ed927.entry.js +0 -4
- package/dist/twilight/p-f1b235e6.entry.js +0 -4
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var translations = require('./translations-
|
|
8
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
|
+
var translations = require('./translations-BHyDCj-Y.js');
|
|
8
|
+
var functions = require('./functions-CzTE1Can.js');
|
|
9
9
|
var percentage = require('./percentage-Fs83gq6Q.js');
|
|
10
10
|
var shipping = require('./shipping-CPYcgyCL.js');
|
|
11
11
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
12
12
|
var userAdd = require('./user-add-BCGrddZS.js');
|
|
13
13
|
var giftSharing = require('./gift-sharing-BE0uszUm.js');
|
|
14
14
|
var gift = require('./gift-DbNivqYO.js');
|
|
15
|
-
var trackedPromise = require('./tracked-promise-
|
|
15
|
+
var trackedPromise = require('./tracked-promise-DzmWHAH-.js');
|
|
16
16
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
17
17
|
|
|
18
18
|
var SICartUpload = `<!-- Generated by IcoMoon.io -->
|
|
@@ -100,7 +100,13 @@ const SallaLoyaltyProgram = class {
|
|
|
100
100
|
? index.h("span", null, salla.lang.get('pages.loyalty_program.show_more'), "\u00A0\u00A0", index.h("span", { style: { fontSize: '1.2rem', fontWeight: '300' } }, "+"))
|
|
101
101
|
: index.h("span", null, salla.lang.get('pages.loyalty_program.show_less'), "\u00A0\u00A0", index.h("span", { style: { fontSize: '1.2rem', fontWeight: '300' } }, "-"))))), this.program.status !== 'success' ? '' : index.h("div", { class: "s-loyalty-program-rewards-container s-loyalty-program-slider-arrows-edges" }, index.h("section", { class: {
|
|
102
102
|
's-loyalty-program-tabs-hider': prizesGroups.length <= 2 || prizesCount <= 4,
|
|
103
|
-
} }, index.h("h1", { class: "s-loyalty-program-rewards-heading-mobile" }, salla.lang.get('pages.loyalty_program.rewards')), index.h("salla-tabs", null, index.h("div", { slot: "header", class: "s-loyalty-program-rewards-tab-items" }, prizesGroups.map((group) => (index.h("salla-tab-header", { slot: "header", name: group.type }, sicons[group.type], index.h("span", null, group.title))))), index.h("h1", { slot: "header", class: "s-loyalty-program-rewards-heading-desktop" }, salla.lang.get('pages.loyalty_program.rewards')), prizesGroups.map((group) => (index.h("salla-tab-content", { slot: "content", name: group.type }, index.h("salla-slider", { id: group.type, type: "default", "slider-config": '{"loop":false,"slidesPerView":"auto","freeMode":true,"spaceBetween":12,"breakpoints":{"768":{"slidesPerView":4,"spaceBetween":24,"freeMode":false,"speed":300}}}' }, index.h("div", { slot: "items" }, group.items.map((prize) => index.h("salla-reward-card", { prize: prize, onAreaClick: () => {
|
|
103
|
+
} }, index.h("h1", { class: "s-loyalty-program-rewards-heading-mobile" }, salla.lang.get('pages.loyalty_program.rewards')), index.h("salla-tabs", null, index.h("div", { slot: "header", class: "s-loyalty-program-rewards-tab-items" }, prizesGroups.map((group) => (index.h("salla-tab-header", { slot: "header", name: group.type }, sicons[group.type], index.h("span", null, group.title))))), index.h("h1", { slot: "header", class: "s-loyalty-program-rewards-heading-desktop" }, salla.lang.get('pages.loyalty_program.rewards')), prizesGroups.map((group) => (index.h("salla-tab-content", { slot: "content", name: group.type }, index.h("salla-slider", { id: group.type, type: "default", "slider-config": '{"loop":false,"slidesPerView":"auto","freeMode":true,"spaceBetween":12,"breakpoints":{"768":{"slidesPerView":4,"spaceBetween":24,"freeMode":false,"speed":300}}}' }, index.h("div", { slot: "items" }, group.items.map((prize) => index.h("salla-reward-card", { prize: prize, onAreaClick: () => {
|
|
104
|
+
this.currentPrize = prize;
|
|
105
|
+
functions.closeModals(() => this.detailsModal.open());
|
|
106
|
+
}, onActionClick: () => {
|
|
107
|
+
this.currentPrize = prize;
|
|
108
|
+
functions.closeModals(() => this.detailsModal.open());
|
|
109
|
+
} })))))))), index.h("salla-modal", { ref: modal => this.detailsModal = modal, class: "s-loyalty-program-modal", width: "md", noPadding: true }, !this.currentPrize ? '' : index.h("salla-reward-details", { onActionClick: () => functions.closeModals(() => this.exchangeModal.open()), prize: this.currentPrize })), index.h("salla-modal", { ref: modal => this.exchangeModal = modal, class: "s-loyalty-program-modal", width: "sm" }, !this.currentPrize ? '' : index.h("salla-reward-exchange", { prize: this.currentPrize }))))));
|
|
104
110
|
}
|
|
105
111
|
};
|
|
106
112
|
__decorate([
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
|
+
var functions = require('./functions-CzTE1Can.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
|
|
10
10
|
const sallaLoyaltyProgramCss = "";
|
|
@@ -39,10 +39,10 @@ const SallaLoyaltyReward = class {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h("div", { key: '
|
|
42
|
+
return (index.h("div", { key: 'cc64d1446b539fa06a6fea4280992264816fed40', class: {
|
|
43
43
|
's-loyalty-program-reward-container': true,
|
|
44
44
|
's-loyalty-program-reward-xs': this.size === 'xs',
|
|
45
|
-
} }, index.h("div", { key: '
|
|
45
|
+
} }, index.h("div", { key: 'c50cc16ceff89288dc0bd4199123e0cfb7816732', onClick: this.handleActionArea, role: "button" }, index.h("div", { key: '7a68197172329f91e7df1e13ca667062131e14b8', class: "s-loyalty-program-reward-img" }, index.h("img", { key: 'f1d9dc5fc674095bfdfcb5d167f46d896f9a9b0c', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), index.h("div", { key: 'b443d55df65a1f34fdff14a3beda5b159fe687f8', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '292dcd5f9997f82fd0695fdd80380180e781b77f', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '083348231855223ff3ffc66b61847af85d274e19', size: "xs" }, index.h("span", { key: '5939fae8cd6737c98f6cab437cefdb89b0847bbb', innerHTML: gift.SIGift }), index.h("span", { key: '155ad221e00b1d21db2b16a8c1d394b302897cda', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), index.h("div", { key: 'ab9d0e10acfc7e1bd5464a971cd6ff7eedf90d52', class: "s-loyalty-program-reward-title" }, index.h("span", { key: '3fcc04b5a81dd29b1b40411c95bebe8805ffb2bb' }, this.group)), index.h("div", { key: '2ffe9cb9c295cf817224b8d8aab7f1b413893f2f', class: "s-loyalty-program-reward-name" }, index.h("div", { key: 'e384ac797eb91704951e91f6fadf4863a9e9971c', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), index.h("div", { key: '887bb1eb44d945a66af21a88de60d09275fd5042', class: "p-4" }, index.h("button", { key: '704b697973f51cdcc67ba62a8b4d806d4abb5461', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
|
|
46
46
|
's-loyalty-program-rewards-action-base': true,
|
|
47
47
|
's-loyalty-program-rewards-action-on': this.isActionClickable(this.prize),
|
|
48
48
|
's-loyalty-program-rewards-action-off': !this.isActionClickable(this.prize),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
7
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
8
8
|
|
|
9
9
|
const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var tag = require('./tag-D-PcUR33.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
7
|
|
|
8
8
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
7
|
|
|
8
8
|
var PencilRuler = `<!-- 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">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-MWekS0mu.js');
|
|
7
|
+
var functions = require('./functions-CzTE1Can.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tag = require('./tag-D-PcUR33.js');
|
|
10
10
|
var check = require('./check-BnVBPQNp.js');
|
|
11
11
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
12
|
-
var trackedPromise = require('./tracked-promise-
|
|
12
|
+
var trackedPromise = require('./tracked-promise-DzmWHAH-.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -32,7 +32,10 @@ const SallaRewardAction = class {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
|
|
35
|
+
if (!this.isClickable(this.prize)) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return (index.h("div", { class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (index.h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
|
|
36
39
|
's-loyalty-program-rewards-action-base': true,
|
|
37
40
|
's-loyalty-program-rewards-action-on': true,
|
|
38
41
|
} }, salla.lang.get('pages.loyalty_program.shop_now'))) : (index.h("button", { onClick: this.handleClick, class: {
|
|
@@ -52,7 +55,7 @@ const SallaRewardCard = class {
|
|
|
52
55
|
this.actionClick = index.createEvent(this, "actionClick");
|
|
53
56
|
}
|
|
54
57
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
58
|
+
return (index.h(index.Host, { key: '8e688793dec09f19093df23deacfd7ecaac100b7', class: "s-loyalty-program-reward-host" }, index.h("div", { key: '12663908467c428e861f999fa6449810207b9399', class: "s-loyalty-program-reward-container" }, index.h("div", { key: '8b01e444f083bafcd1036962113921e876be942a', onClick: (e) => this.areaClick.emit(e), role: "button" }, index.h("div", { key: 'a90032821b870b9fe915a3bdceb5422bacc66c3c', class: "s-loyalty-program-reward-img" }, index.h("img", { key: '70f872cb5c17cb8c05df6cdcd767f5b0b018f182', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), index.h("div", { key: 'af161adc0a211ddb2c3702ee81cc47bf275a8b3d', class: "s-loyalty-program-reward-content" }, index.h("div", { key: '5f420a70d14120075ac394ced39b7d37477b8042', class: "s-loyalty-program-reward-points" }, index.h("salla-badge", { key: '58df0147fce4aa22479474ff4e3b327dca4165c0', size: "xs" }, index.h("span", { key: 'e59fc1b27e38e45560d4469d2e8fad0ef1c80915', innerHTML: gift.SIGift }), index.h("span", { key: '9272311f41a78628c2ff6b78acb25e0b04cc3a95', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), index.h("div", { key: '297b130a68d6b64659a6eb832baccf8a5884db78', class: "s-loyalty-program-reward-title" }, index.h("span", { key: '7e9d42268e77dffb2dda963cc046fb09015c4ee7' }, this.prize.group_title)), index.h("div", { key: 'f70b7369222792657b02909aed7bacf2a61f24f6', class: "s-loyalty-program-reward-name" }, index.h("div", { key: '8f1bd6ffb8190d455006e111a013946b3569c24e', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), index.h("div", { key: 'a5a7d0acba4a00be16db6b277a0a5eb39b88153b', class: "p-4" }, index.h("slot", { key: 'e2fcb1189b103f419884b05518af74cfd1c5eeb7', name: "action" }, index.h("button", { key: 'e0522ba4b684bcabae4483dfd36d00cafb86d511', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
|
|
56
59
|
}
|
|
57
60
|
};
|
|
58
61
|
SallaRewardCard.style = sallaLoyaltyProgramCss$2;
|
|
@@ -166,11 +169,11 @@ const SallaRewardDetails = class {
|
|
|
166
169
|
}
|
|
167
170
|
render() {
|
|
168
171
|
const termsAndConditions = this.getTermsAndConditions();
|
|
169
|
-
return (index.h("div", { key: '
|
|
172
|
+
return (index.h("div", { key: '2b8f4348fb0e728665b53db47719686629c1836d', class: "s-loyalty-program-reward-modal" }, index.h("div", { key: '1c838eaa84818ee590a36062b68a505bca8e7c68', class: "s-loyalty-program-points-modal-header" }, index.h("h1", { key: '2912070e266711897fec27c3a3e663677fd605df', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
|
|
170
173
|
: index.h("button", { class: "s-loyalty-program-back-btn", onClick: () => functions.closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, index.h("span", { class: {
|
|
171
174
|
'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
|
|
172
175
|
'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
|
|
173
|
-
} })), this.prize.name)), index.h("div", { key: '
|
|
176
|
+
} })), this.prize.name)), index.h("div", { key: '0d7f102d7031fcae33670435d9fa3a7d40a0fbc4', class: "s-loyalty-program-modal-scrollable-content" }, index.h("div", { key: '0aa1b6206852391cae2bdd83452b3ed1dca4ef52', class: "s-loyalty-program-reward-details-header" }, index.h("div", { key: 'b8de08abbd4ed24367312ecd8e36b9b203dc24cb', class: "s-loyalty-program-aspect-container" }, index.h("img", { key: 'd327bd9cc47042cc694fda8f38a130686caeaeb6', src: this.prize.image, alt: this.prize.name })), index.h("salla-badge", { key: 'dbb6d24e2f647bd93bc2cb2d174c747e8117b1cb', size: "sm", bg: "light" }, index.h("span", { key: '8e78d674f565f2274796a57b218a14f683e29149', innerHTML: gift.SIGift }), index.h("span", { key: '3e959d7d67a899a429c2c2100236527268c98905', class: "s-loyalty-program-points-badge-points" }, functions.formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : index.h("div", { class: "s-loyalty-program-terms-and-conditions" }, index.h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), index.h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (index.h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, index.h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), index.h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), index.h("div", { key: 'b09d181ad0587d4d6f99020adc2b944778e3d491', class: "s-loyalty-program-reward-info-message" }, index.h("h1", { key: '7538f340d33fd34fd55728c3df1d43ff676ffa57', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), index.h("p", { key: '927078b3615900c8377c1563f7bfe3b6a4cd28d3', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : index.h("div", { class: "s-loyalty-program-reward-details" }, index.h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
|
|
174
177
|
index.h("salla-tab-header", { slot: "header", name: "included", style: {
|
|
175
178
|
display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
|
|
176
179
|
} }, index.h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: check.SICheck }), index.h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
|
|
@@ -180,7 +183,7 @@ const SallaRewardDetails = class {
|
|
|
180
183
|
display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
|
|
181
184
|
} }, index.h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: cancel.SICancel }), index.h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
|
|
182
185
|
index.h("salla-tab-content", { slot: "content", name: "excluded" }, index.h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
|
|
183
|
-
]))), index.h("salla-reward-action", { key: '
|
|
186
|
+
]))), index.h("salla-reward-action", { key: '0d03ebd0fcf1f7469b75b04d9ad82b71a284d0d1', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
|
|
184
187
|
}
|
|
185
188
|
static get watchers() { return {
|
|
186
189
|
"prize": ["handlePrizeChange"]
|
|
@@ -239,11 +242,11 @@ const SallaRewardExchange = class {
|
|
|
239
242
|
this.reset(0);
|
|
240
243
|
}
|
|
241
244
|
render() {
|
|
242
|
-
return (index.h(index.Host, { key: '
|
|
245
|
+
return (index.h(index.Host, { key: '44934c0c0574ea61c4ef293a9deb796a2d42c02b' }, index.h("div", { key: 'eca62e786a5d13d4578cc5badcd464ee1570541b', class: "s-loyalty-program-exchange-heading" }, index.h("div", { key: '14b346e172b9859449b780ec7c22e81ec2e97a8c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, index.h("span", { key: '472753cc4742c2b010729ed98cdbf58192b548fa', innerHTML: gift.SIGift })), index.h("h2", { key: 'e77eeb994a91e36a8b04c213484221a6db2f99fd' }, salla.lang.get('pages.loyalty_program.redeem_reward')), index.h("p", { key: '7c9b9d6400ddeeb7a6ad8bdc1a2f364e9d67187b' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", index.h("span", { key: '07eea7e08a596dd284ceb2d60d2489012457585e' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", index.h("span", { key: '70d6c67bd78400626c1e2d91753a494df5e6d94d' }, "(", this.prize.name, ")"))), index.h("div", { key: '49d98bbcbb017bf3f9195734fbb80f1da8559746', class: "s-loyalty-program-exchange-btns" }, index.h("button", { key: 'a1775e84ef7c17effb54b6fdff83bad9ac8cf8ec', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, index.h("span", { key: '28977f2f6990322cb194c19b01feeffd8117d1b8', style: {
|
|
243
246
|
opacity: this.exchange.status !== 'pending' ? '1' : '0',
|
|
244
|
-
} }, salla.lang.get('common.elements.confirm')), index.h("span", { key: '
|
|
247
|
+
} }, salla.lang.get('common.elements.confirm')), index.h("span", { key: '2ff77b13d468e5096d777e0179db9e257468ca53', class: "s-loyalty-program-exchange-loading", style: {
|
|
245
248
|
opacity: this.exchange.status === 'pending' ? '1' : '0',
|
|
246
|
-
} }, index.h("salla-loading", { key: '
|
|
249
|
+
} }, index.h("salla-loading", { key: '415c1d497b93718ac0bc67e18442c28246e589e7', color: "primary", size: 24 }))), index.h("button", { key: '32d1a3f2e221261bd4ff459cc85dec5c780dd5e8', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
|
|
247
250
|
}
|
|
248
251
|
};
|
|
249
252
|
__decorate([
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-MWekS0mu.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
|
|