@salla.sa/twilight-components 2.14.402 → 2.14.404
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/calendar-D-PUoCDH.js +13 -0
- package/dist/cjs/{cancel-De6vslRA.js → cancel-B5SbMYEk.js} +2 -2
- package/dist/cjs/cart2-B98PSAFN.js +13 -0
- package/dist/cjs/{check-x3w3-gpj.js → check-BnVBPQNp.js} +2 -2
- package/dist/cjs/{filepond-PWJcd3M3.js → filepond-BGeIVPOk.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-Bt4qeA2f.js → filepond-plugin-file-poster-Dj0y59Ov.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-C-9PDDsS.js → filepond-plugin-file-validate-size-B8XJT5tN.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-tA2SP9JO.js → filepond-plugin-file-validate-type-wrMrxOn7.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-jcfxLe8v.js → filepond-plugin-image-edit-D3Iapkhv.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DVDjcytZ.js → filepond-plugin-image-exif-orientation-BbEM_vMd.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-CenIamTW.js → filepond-plugin-image-preview-Bz-ITSEo.js} +1 -1
- package/dist/cjs/functions-DVMonIet.js +74 -0
- package/dist/{esm/gift-BChI23pG.js → cjs/gift-DbNivqYO.js} +4 -2
- package/dist/cjs/gift-sharing-BE0uszUm.js +13 -0
- package/dist/cjs/{index-Cuq57q32.js → index-B3JuQExz.js} +61 -26
- package/dist/cjs/{index-ZlRhYmjA.js → index-B587wk8w.js} +1 -1
- package/dist/cjs/iphone-x-qC21wCLj.js +13 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mail-CO8cFZH7.js → mail-Bgvt2hc9.js} +2 -2
- package/dist/cjs/percentage-Fs83gq6Q.js +21 -0
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +5 -5
- package/dist/cjs/salla-add-product-button_4.cjs.entry.js +5 -5
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +3 -3
- 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 +95 -0
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +20 -26
- package/dist/cjs/salla-bullet-delivery.cjs.entry.js +2 -2
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +4 -4
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +11 -11
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +3 -3
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
- 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 +65 -0
- package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +7 -13
- package/dist/cjs/salla-hook.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +69 -0
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +239 -0
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +103 -0
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +108 -64
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +54 -0
- package/dist/cjs/salla-loyalty.cjs.entry.js +3 -3
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +3 -3
- package/dist/cjs/salla-map.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
- package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +5 -16
- 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 +2 -2
- package/dist/cjs/salla-order-edit-item.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 +4 -4
- 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 +3 -3
- package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
- package/dist/cjs/{salla-product-card.cjs.entry.js → salla-product-card_2.cjs.entry.js} +120 -6
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
- 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 +6 -12
- package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -3
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +243 -0
- package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
- 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 +5 -5
- 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 +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +7 -6
- 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 +3 -3
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/shipping-CPYcgyCL.js +13 -0
- package/dist/cjs/tag-D-PcUR33.js +12 -0
- package/dist/cjs/tracked-promise-Ef3pfQOZ.js +31 -0
- package/dist/cjs/translations-DMwpLvqi.js +294 -0
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/user-add-BCGrddZS.js +13 -0
- package/dist/cjs/{vanilla-picker-C8OtoDdM.js → vanilla-picker-BgPOS3MC.js} +1 -1
- package/dist/collection/assets/images/prize-image.svg +1 -0
- package/dist/collection/collection-manifest.json +11 -0
- package/dist/collection/components/salla-badge/salla-badge.css +0 -0
- package/dist/collection/components/salla-badge/salla-badge.js +117 -0
- package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
- package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +1 -1
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
- package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
- package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
- package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
- package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
- package/dist/collection/components/salla-edit-order-button/salla-edit-order-button.css +3 -0
- package/dist/collection/components/salla-edit-order-button/salla-edit-order-button.js +99 -0
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
- package/dist/collection/components/salla-filters/salla-filters.js +1 -1
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
- package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
- package/dist/collection/components/salla-hook/salla-hook.js +1 -1
- package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
- package/dist/collection/components/salla-loading/salla-loading.js +1 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
- package/dist/collection/components/salla-loyalty-program/functions.js +53 -0
- package/dist/collection/components/salla-loyalty-program/interfaces.js +8 -1
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-banner.js +69 -0
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +87 -0
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +171 -0
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +219 -0
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +104 -65
- package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +166 -0
- package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +93 -0
- package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +92 -0
- package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +206 -0
- package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +109 -0
- package/dist/collection/components/salla-loyalty-program/translations.js +290 -0
- package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
- package/dist/collection/components/salla-map/salla-map.js +3 -3
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
- package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
- package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
- package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
- package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
- package/dist/collection/components/salla-payments/salla-payments.js +2 -2
- package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
- package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
- package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
- package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
- package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
- package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
- package/dist/collection/components/salla-search/salla-search.js +5 -5
- 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-user-menu/salla-user-menu.js +2 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/calendar.js +11 -0
- package/dist/components/cart2.js +11 -0
- package/dist/components/functions.js +68 -0
- package/dist/components/gift-sharing.js +11 -0
- package/dist/components/index.js +2 -2
- package/dist/components/iphone-x.js +11 -0
- package/dist/components/percentage.js +18 -0
- package/dist/components/salla-badge.d.ts +11 -0
- package/dist/components/salla-badge.js +9 -0
- package/dist/components/salla-badge2.js +112 -0
- package/dist/components/salla-booking-field2.js +3 -9
- package/dist/components/salla-bottom-alert.js +2 -2
- package/dist/components/salla-bullet-delivery.js +1 -1
- package/dist/components/salla-cart-coupons.js +1 -1
- package/dist/components/salla-cart-summary.js +1 -1
- package/dist/components/salla-color-picker2.js +1 -1
- package/dist/components/salla-comment-form2.js +1 -1
- package/dist/components/salla-comment-item2.js +3 -3
- package/dist/components/salla-conditional-fields2.js +1 -1
- package/dist/components/salla-count-down2.js +1 -1
- package/dist/components/salla-datetime-picker2.js +1 -1
- package/dist/components/salla-edit-order-button.d.ts +11 -0
- package/dist/components/salla-edit-order-button.js +99 -0
- package/dist/components/salla-file-upload2.js +2 -2
- package/dist/components/salla-filters-widget2.js +2 -2
- package/dist/components/salla-filters.js +1 -1
- package/dist/components/salla-gifting.js +4 -10
- package/dist/components/salla-hook.js +1 -1
- package/dist/components/salla-list-tile2.js +1 -1
- package/dist/components/salla-loading2.js +1 -1
- package/dist/components/salla-localization-modal.js +1 -1
- package/dist/components/salla-loyalty-banner.d.ts +11 -0
- package/dist/components/salla-loyalty-banner.js +103 -0
- package/dist/components/salla-loyalty-hero.d.ts +11 -0
- package/dist/components/salla-loyalty-hero.js +9 -0
- package/dist/components/salla-loyalty-hero2.js +43 -0
- package/dist/components/salla-loyalty-panel.d.ts +11 -0
- package/dist/components/salla-loyalty-panel.js +250 -0
- package/dist/components/salla-loyalty-point.d.ts +11 -0
- package/dist/components/salla-loyalty-point.js +9 -0
- package/dist/components/salla-loyalty-point2.js +259 -0
- package/dist/components/salla-loyalty-prize-item.js +1 -1
- package/dist/components/salla-loyalty-program.js +233 -70
- package/dist/components/salla-loyalty-reward.d.ts +11 -0
- package/dist/components/salla-loyalty-reward.js +80 -0
- package/dist/components/salla-maintenance-alert.js +1 -1
- package/dist/components/salla-map2.js +3 -3
- package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
- package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
- package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
- package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
- package/dist/components/salla-multiple-bundle-product.js +1 -1
- package/dist/components/salla-notification-item2.js +1 -1
- package/dist/components/salla-offer-modal.js +3 -14
- package/dist/components/salla-order-details.js +1 -1
- package/dist/components/salla-order-summary.js +1 -1
- package/dist/components/salla-payments.js +2 -2
- package/dist/components/salla-placeholder2.js +1 -1
- package/dist/components/salla-price-range2.js +2 -2
- package/dist/components/salla-product-availability2.js +1 -1
- package/dist/components/salla-product-card2.js +5 -5
- package/dist/components/salla-product-size-guide.js +2 -2
- package/dist/components/salla-quantity-input2.js +1 -1
- package/dist/components/salla-quick-buy2.js +1 -1
- package/dist/components/salla-quick-order.js +1 -7
- package/dist/components/salla-review-card2.js +1 -1
- package/dist/components/salla-reviews-page.js +1 -1
- package/dist/components/salla-reviews.js +1 -1
- package/dist/components/salla-reward-action.d.ts +11 -0
- package/dist/components/salla-reward-action.js +9 -0
- package/dist/components/salla-reward-action2.js +56 -0
- package/dist/components/salla-reward-card.d.ts +11 -0
- package/dist/components/salla-reward-card.js +9 -0
- package/dist/components/salla-reward-card2.js +44 -0
- package/dist/components/salla-reward-details.d.ts +11 -0
- package/dist/components/salla-reward-details.js +9 -0
- package/dist/components/salla-reward-details2.js +266 -0
- package/dist/components/salla-reward-exchange.d.ts +11 -0
- package/dist/components/salla-reward-exchange.js +9 -0
- package/dist/components/salla-reward-exchange2.js +81 -0
- package/dist/components/salla-scopes.js +1 -1
- package/dist/components/salla-search.js +5 -5
- package/dist/components/salla-skeleton2.js +1 -1
- package/dist/components/salla-social-share.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-user-menu.js +2 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/components/shipping.js +11 -0
- package/dist/components/tag.js +10 -0
- package/dist/components/tracked-promise.js +29 -0
- package/dist/components/translations.js +292 -0
- package/dist/esm/calendar-BkmanTR_.js +11 -0
- package/dist/esm/{cancel-BsLF_HK7.js → cancel-8Tsmrwno.js} +2 -2
- package/dist/esm/cart2-D1s2kXqL.js +11 -0
- package/dist/esm/{check-BsXh13x8.js → check-BZp0rKEO.js} +2 -2
- package/dist/esm/{filepond-kua7JWt0.js → filepond-TQwRQEj7.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-D9ZjwPcg.js → filepond-plugin-file-poster-D6Scyf7M.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BVMhUXTI.js → filepond-plugin-file-validate-size-DmV95X-a.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-CkwmRCJd.js → filepond-plugin-file-validate-type-BxcIYCpF.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-YEt9I2Ff.js → filepond-plugin-image-edit-C_dhSLv3.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-B5Q7AlDn.js → filepond-plugin-image-exif-orientation-C0v1CD3U.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-B3J-p8BK.js → filepond-plugin-image-preview-DjsC29px.js} +1 -1
- package/dist/esm/functions-CsHz6jUn.js +68 -0
- package/dist/{cjs/gift-CJ-3Yw_x.js → esm/gift-CXRKXFgT.js} +2 -4
- package/dist/esm/gift-sharing-0-eTJXSD.js +11 -0
- package/dist/esm/{index-Qfjn4tFb.js → index-C_WMBvxX.js} +1 -1
- package/dist/esm/{index-BYCfehfD.js → index-aDXaoBqI.js} +61 -27
- package/dist/esm/iphone-x-CciN5Q_x.js +11 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mail-DmgxDvXL.js → mail-DLNIOD9t.js} +2 -2
- package/dist/esm/percentage-Bs6JxDkg.js +18 -0
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +5 -5
- package/dist/esm/salla-add-product-button_4.entry.js +5 -5
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +3 -3
- 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 +93 -0
- package/dist/esm/salla-booking-field_7.entry.js +20 -26
- package/dist/esm/salla-bullet-delivery.entry.js +2 -2
- package/dist/esm/salla-cart-coupons.entry.js +2 -2
- package/dist/esm/salla-cart-item-offers_2.entry.js +4 -4
- package/dist/esm/salla-comment-form_8.entry.js +11 -11
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +3 -3
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +2 -2
- 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 +63 -0
- package/dist/esm/salla-filters-widget.entry.js +3 -3
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +7 -13
- package/dist/esm/salla-hook.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/salla-localization-modal.entry.js +2 -2
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +67 -0
- package/dist/esm/salla-loyalty-hero_2.entry.js +236 -0
- package/dist/esm/salla-loyalty-panel.entry.js +101 -0
- package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
- package/dist/esm/salla-loyalty-program.entry.js +108 -64
- package/dist/esm/salla-loyalty-reward.entry.js +52 -0
- package/dist/esm/salla-loyalty.entry.js +3 -3
- package/dist/esm/salla-maintenance-alert.entry.js +3 -3
- package/dist/esm/salla-map.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
- package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
- package/dist/esm/salla-notification-item.entry.js +2 -2
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +5 -16
- 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 +2 -2
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/salla-placeholder.entry.js +2 -2
- package/dist/esm/salla-price-range.entry.js +3 -3
- package/dist/esm/{salla-product-card.entry.js → salla-product-card_2.entry.js} +120 -7
- package/dist/esm/salla-product-size-guide.entry.js +3 -3
- 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 +6 -12
- package/dist/esm/salla-rating-modal.entry.js +3 -3
- package/dist/esm/salla-reward-action_4.entry.js +238 -0
- package/dist/esm/salla-scopes.entry.js +2 -2
- 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 +5 -5
- 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 +1 -1
- package/dist/esm/salla-user-menu.entry.js +7 -6
- 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 +3 -3
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/shipping-CZRcMGA9.js +11 -0
- package/dist/esm/tag-cgSL_BIo.js +10 -0
- package/dist/esm/tracked-promise-DftQnHNU.js +29 -0
- package/dist/esm/translations-B-Rj6b9M.js +292 -0
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/user-add-QpH8MU22.js +11 -0
- package/dist/esm/{vanilla-picker-B4glVCCp.js → vanilla-picker-D_u7k2C7.js} +1 -1
- package/dist/twilight/p-0-eTJXSD.js +4 -0
- package/dist/twilight/{p-5381a86d.entry.js → p-00a64a38.entry.js} +1 -1
- package/dist/twilight/p-0930f5b4.entry.js +4 -0
- package/dist/twilight/p-0d660e1f.entry.js +4 -0
- package/dist/twilight/p-14210f63.entry.js +4 -0
- package/dist/twilight/{p-65928570.entry.js → p-18e842b3.entry.js} +1 -1
- package/dist/twilight/p-196754b9.entry.js +4 -0
- package/dist/twilight/p-19801f8a.entry.js +4 -0
- package/dist/twilight/{p-90045f50.entry.js → p-19b2712e.entry.js} +1 -1
- package/dist/twilight/{p-d9b8aa69.entry.js → p-1d9285ce.entry.js} +1 -1
- package/dist/twilight/{p-f8527980.entry.js → p-1ef01404.entry.js} +1 -1
- package/dist/twilight/{p-6cf0e5f0.entry.js → p-205a52b1.entry.js} +1 -1
- package/dist/twilight/p-20b32fe8.entry.js +4 -0
- package/dist/twilight/{p-0cfd333a.entry.js → p-225fe66e.entry.js} +1 -1
- package/dist/twilight/p-24b05b1a.entry.js +4 -0
- package/dist/twilight/{p-62b949f1.entry.js → p-25b36736.entry.js} +1 -1
- package/dist/twilight/{p-5871fc28.entry.js → p-27d8eddd.entry.js} +1 -1
- package/dist/twilight/{p-64fe6c2f.entry.js → p-29bc5464.entry.js} +1 -1
- package/dist/twilight/{p-ac973857.entry.js → p-36e9a803.entry.js} +1 -1
- package/dist/twilight/{p-6f0a262a.entry.js → p-3b0558c4.entry.js} +1 -1
- package/dist/twilight/{p-ebb782d3.entry.js → p-41df3651.entry.js} +1 -1
- package/dist/twilight/{p-5ca700cd.entry.js → p-44369f67.entry.js} +1 -1
- package/dist/twilight/{p-30695c34.entry.js → p-444a8a35.entry.js} +1 -1
- package/dist/twilight/{p-15d44ede.entry.js → p-4d27be11.entry.js} +1 -1
- package/dist/twilight/{p-60aa25f0.entry.js → p-4f25c507.entry.js} +1 -1
- package/dist/twilight/{p-af6a34af.entry.js → p-4feac98b.entry.js} +1 -1
- package/dist/twilight/{p-97aad44a.entry.js → p-5863784a.entry.js} +1 -1
- package/dist/twilight/p-59e8585a.entry.js +4 -0
- package/dist/twilight/{p-3df24aaf.entry.js → p-59eab6b7.entry.js} +1 -1
- package/dist/twilight/p-5aabe849.entry.js +4 -0
- package/dist/twilight/{p-d112b260.entry.js → p-5e24d043.entry.js} +1 -1
- package/dist/twilight/p-61358d11.entry.js +4 -0
- package/dist/twilight/{p-ee14a23d.entry.js → p-63d277c4.entry.js} +1 -1
- package/dist/twilight/{p-f68e2787.entry.js → p-6752ef5e.entry.js} +1 -1
- package/dist/twilight/p-6c573616.entry.js +4 -0
- package/dist/twilight/{p-f4060b10.entry.js → p-6d0a0866.entry.js} +1 -1
- package/dist/twilight/{p-ea0c19be.entry.js → p-6dfb4b36.entry.js} +1 -1
- package/dist/twilight/{p-164ae46f.entry.js → p-7ab5a0a3.entry.js} +1 -1
- package/dist/twilight/{p-d130f149.entry.js → p-7bcced89.entry.js} +1 -1
- package/dist/twilight/{p-4797dab5.entry.js → p-7e04b708.entry.js} +1 -1
- package/dist/twilight/{p-3ed67200.entry.js → p-7ee3d2ce.entry.js} +1 -1
- package/dist/twilight/{p-ec873193.entry.js → p-7f5d2abb.entry.js} +1 -1
- package/dist/twilight/{p-e5ccdc1d.entry.js → p-81b539fc.entry.js} +1 -1
- package/dist/twilight/{p-2a19f553.entry.js → p-8237cece.entry.js} +1 -1
- package/dist/twilight/{p-887c9a29.entry.js → p-83880a8d.entry.js} +1 -1
- package/dist/twilight/{p-BsLF_HK7.js → p-8Tsmrwno.js} +1 -1
- package/dist/twilight/p-8a55874d.entry.js +4 -0
- package/dist/twilight/{p-b80c87f3.entry.js → p-8bc3feef.entry.js} +1 -1
- package/dist/twilight/{p-011ff091.entry.js → p-8c8c7d88.entry.js} +1 -1
- package/dist/twilight/{p-f8183098.entry.js → p-8e5c7dad.entry.js} +1 -1
- package/dist/twilight/{p-2edec63c.entry.js → p-913dfdeb.entry.js} +1 -1
- package/dist/twilight/{p-9XUl8eNt.js → p-9VcxoAaz.js} +1 -1
- package/dist/twilight/p-B-Rj6b9M.js +4 -0
- package/dist/twilight/{p-DtXQ785R.js → p-BAAK-Wog.js} +1 -1
- package/dist/twilight/{p-Dx9FGzIq.js → p-BVp3vitI.js} +1 -1
- package/dist/twilight/{p-BsXh13x8.js → p-BZp0rKEO.js} +1 -1
- package/dist/twilight/{p-DPak7cFa.js → p-BaM5mo9g.js} +1 -1
- package/dist/twilight/{p-D2bKqo2L.js → p-BhnvZDje.js} +1 -1
- package/dist/twilight/p-BkmanTR_.js +4 -0
- package/dist/twilight/p-Bs6JxDkg.js +4 -0
- package/dist/twilight/{p-a8mIwFp8.js → p-BvzXDYao.js} +1 -1
- package/dist/twilight/{p-CVG84YNJ.js → p-Bzuww4Jp.js} +1 -1
- package/dist/twilight/p-CVVRdz9l.js +4 -0
- package/dist/twilight/{p-BChI23pG.js → p-CXRKXFgT.js} +1 -1
- package/dist/twilight/p-CZRcMGA9.js +4 -0
- package/dist/twilight/p-CciN5Q_x.js +4 -0
- package/dist/twilight/p-D1s2kXqL.js +4 -0
- package/dist/twilight/{p-DmgxDvXL.js → p-DLNIOD9t.js} +1 -1
- package/dist/twilight/{p-C45ROGL4.js → p-DboJwcoy.js} +1 -1
- package/dist/twilight/{p-Wts3eSQu.js → p-Jii8QiXD.js} +1 -1
- package/dist/twilight/p-QpH8MU22.js +4 -0
- package/dist/twilight/p-UAJe1KFk.js +4 -0
- package/dist/twilight/{p-BYCfehfD.js → p-aDXaoBqI.js} +2 -2
- package/dist/twilight/{p-1819894b.entry.js → p-ae8d11a1.entry.js} +1 -1
- package/dist/twilight/p-b955177d.entry.js +4 -0
- package/dist/twilight/{p-f4c6434f.entry.js → p-bb588e20.entry.js} +1 -1
- package/dist/twilight/{p-7c78c1a5.entry.js → p-bbb92919.entry.js} +1 -1
- package/dist/twilight/{p-4e941f6a.entry.js → p-bd7963b8.entry.js} +1 -1
- package/dist/twilight/p-beb851a0.entry.js +4 -0
- package/dist/twilight/{p-32a21d3e.entry.js → p-c5ca258f.entry.js} +1 -1
- package/dist/twilight/{p-8d9b1865.entry.js → p-c5ff4012.entry.js} +1 -1
- package/dist/twilight/p-c84796ed.entry.js +4 -0
- package/dist/twilight/{p-28fba512.entry.js → p-ccde5f93.entry.js} +1 -1
- package/dist/twilight/{p-e23cc9c1.entry.js → p-cf65581e.entry.js} +1 -1
- package/dist/twilight/{p-99aa0a59.entry.js → p-cfa7e6f8.entry.js} +1 -1
- package/dist/twilight/p-cgSL_BIo.js +4 -0
- package/dist/twilight/{p-0b265c17.entry.js → p-d19423c8.entry.js} +1 -1
- package/dist/twilight/{p-c5a12dde.entry.js → p-d1b2e25d.entry.js} +1 -1
- package/dist/twilight/p-d39a4239.entry.js +4 -0
- package/dist/twilight/{p-156660b7.entry.js → p-d5d04465.entry.js} +1 -1
- package/dist/twilight/p-d79993a2.entry.js +4 -0
- package/dist/twilight/{p-67f20b74.entry.js → p-dd732fd5.entry.js} +1 -1
- package/dist/twilight/{p-140f5001.entry.js → p-e0da92db.entry.js} +1 -1
- package/dist/twilight/{p-63778992.entry.js → p-eadcfa35.entry.js} +1 -1
- package/dist/twilight/p-eb4c87d2.entry.js +4 -0
- package/dist/twilight/{p-d93e90fb.entry.js → p-ec130506.entry.js} +1 -1
- package/dist/twilight/{p-ba128435.entry.js → p-ee7d1c8c.entry.js} +1 -1
- package/dist/twilight/{p-c5ab5c1b.entry.js → p-f180a4d2.entry.js} +1 -1
- package/dist/twilight/{p-955aab42.entry.js → p-f32d462e.entry.js} +1 -1
- package/dist/twilight/{p-5fe6bb62.entry.js → p-f414c3e8.entry.js} +1 -1
- package/dist/twilight/{p-72487957.entry.js → p-f5a225fb.entry.js} +1 -1
- package/dist/twilight/{p-24b86104.entry.js → p-f6f154f2.entry.js} +1 -1
- package/dist/twilight/{p-2f060d69.entry.js → p-f6f860d3.entry.js} +1 -1
- package/dist/twilight/{p-09fcfe8f.entry.js → p-fd486a62.entry.js} +1 -1
- package/dist/twilight/{p-cd9f175a.entry.js → p-fdebb964.entry.js} +1 -1
- package/dist/twilight/{p-f136e41b.entry.js → p-fe008cc5.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-badge/salla-badge.d.ts +15 -0
- package/dist/types/components/salla-edit-order-button/salla-edit-order-button.d.ts +25 -0
- package/dist/types/components/salla-loyalty-program/functions.d.ts +67 -0
- package/dist/types/components/salla-loyalty-program/interfaces.d.ts +125 -0
- package/dist/types/components/salla-loyalty-program/salla-loyalty-banner.d.ts +20 -0
- package/dist/types/components/salla-loyalty-program/salla-loyalty-hero.d.ts +15 -0
- package/dist/types/components/salla-loyalty-program/salla-loyalty-panel.d.ts +45 -0
- package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +11 -0
- package/dist/types/components/salla-loyalty-program/salla-loyalty-program.d.ts +25 -8
- package/dist/types/components/salla-loyalty-program/salla-loyalty-reward.d.ts +13 -0
- package/dist/types/components/salla-loyalty-program/salla-reward-action.d.ts +9 -0
- package/dist/types/components/salla-loyalty-program/salla-reward-card.d.ts +17 -0
- package/dist/types/components/salla-loyalty-program/salla-reward-details.d.ts +22 -0
- package/dist/types/components/salla-loyalty-program/salla-reward-exchange.d.ts +11 -0
- package/dist/types/components/salla-loyalty-program/translations.d.ts +1 -0
- package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -1
- package/dist/types/components.d.ts +341 -0
- package/package.json +6 -5
- package/dist/cjs/salla-products-slider.cjs.entry.js +0 -121
- package/dist/esm/salla-products-slider.entry.js +0 -119
- package/dist/twilight/p-078c884b.entry.js +0 -4
- package/dist/twilight/p-336f0f06.entry.js +0 -4
- package/dist/twilight/p-39ad489e.entry.js +0 -4
- package/dist/twilight/p-470433cb.entry.js +0 -4
- package/dist/twilight/p-52192d08.entry.js +0 -4
- package/dist/twilight/p-54c7e570.entry.js +0 -4
- package/dist/twilight/p-a0171740.entry.js +0 -4
- package/dist/twilight/p-c65832b1.entry.js +0 -4
- package/dist/twilight/p-d3a119aa.entry.js +0 -4
- package/dist/twilight/p-d4f3797c.entry.js +0 -4
- package/dist/twilight/p-fa3ceb7c.entry.js +0 -4
- package/dist/twilight/p-fa44f874.entry.js +0 -4
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Crafted with ❤ by Salla
|
|
3
|
+
*/
|
|
4
|
+
const translations = {
|
|
5
|
+
'currency.usd': {
|
|
6
|
+
ar: 'دولار',
|
|
7
|
+
en: 'USD',
|
|
8
|
+
},
|
|
9
|
+
'pages.loyalty_program.your_points': {
|
|
10
|
+
ar: 'نقاطك',
|
|
11
|
+
en: 'Your points',
|
|
12
|
+
},
|
|
13
|
+
'pages.loyalty_program.how_to_start': {
|
|
14
|
+
ar: 'كيف تبدأ؟',
|
|
15
|
+
en: 'How to Start?',
|
|
16
|
+
},
|
|
17
|
+
'pages.loyalty_program.three_simple_steps': {
|
|
18
|
+
ar: 'ثلاث خطوات بسيطة تفصلك عن مكافآت رائعة!',
|
|
19
|
+
en: 'Three simple steps separate you from great rewards!',
|
|
20
|
+
},
|
|
21
|
+
'pages.loyalty_program.two_simple_steps': {
|
|
22
|
+
ar: 'خطوات بسيطة تفصلك عن المزيد من نقاط الولاء!',
|
|
23
|
+
en: 'Two simple steps separate you from great rewards!',
|
|
24
|
+
},
|
|
25
|
+
'pages.loyalty_program.register': {
|
|
26
|
+
ar: 'سجِّل',
|
|
27
|
+
en: 'Register',
|
|
28
|
+
},
|
|
29
|
+
'pages.loyalty_program.create_account': {
|
|
30
|
+
ar: 'أنشئ حساب جديد أو سجِّل الدخول لحسابك.',
|
|
31
|
+
en: 'Create a new account or log in to your account.',
|
|
32
|
+
},
|
|
33
|
+
'pages.loyalty_program.earn_points': {
|
|
34
|
+
ar: 'اكسب نقاط',
|
|
35
|
+
en: 'Earn Points',
|
|
36
|
+
},
|
|
37
|
+
'pages.loyalty_program.complete_tasks': {
|
|
38
|
+
ar: 'أكمل مهام محددة لتتمكن من أخذ عدد من نقاط الولاء.',
|
|
39
|
+
en: 'Complete specific tasks to earn a number of loyalty points.',
|
|
40
|
+
},
|
|
41
|
+
'pages.loyalty_program.redeem_rewards': {
|
|
42
|
+
ar: 'استبدلها بمكافآت',
|
|
43
|
+
en: 'Redeem Rewards',
|
|
44
|
+
},
|
|
45
|
+
'pages.loyalty_program.enjoy_rewards': {
|
|
46
|
+
ar: 'استمتع بالمكافآت المميزة التي تنتظرك في المتجر!',
|
|
47
|
+
en: 'Enjoy the exclusive rewards waiting for you in the store!',
|
|
48
|
+
},
|
|
49
|
+
'pages.loyalty_program.all': {
|
|
50
|
+
ar: 'الكل',
|
|
51
|
+
en: 'All',
|
|
52
|
+
},
|
|
53
|
+
'pages.loyalty_program.rewards': {
|
|
54
|
+
ar: 'المكافآت',
|
|
55
|
+
en: 'Rewards',
|
|
56
|
+
},
|
|
57
|
+
'pages.loyalty_program.points': {
|
|
58
|
+
ar: 'نقطة',
|
|
59
|
+
en: 'points',
|
|
60
|
+
},
|
|
61
|
+
'pages.loyalty_program.redeem_reward': {
|
|
62
|
+
ar: 'استبدل النقاط',
|
|
63
|
+
en: 'Redeem Reward',
|
|
64
|
+
},
|
|
65
|
+
'pages.loyalty_program.shop_now': {
|
|
66
|
+
ar: 'تسوق الآن',
|
|
67
|
+
en: 'Shop Now',
|
|
68
|
+
},
|
|
69
|
+
'pages.loyalty_program.out_of_stock': {
|
|
70
|
+
ar: 'نفدت الكمية',
|
|
71
|
+
en: 'Out of stock',
|
|
72
|
+
},
|
|
73
|
+
'pages.loyalty_program.start_earning_points': {
|
|
74
|
+
ar: 'ابدأ بكسب النقاط اليوم',
|
|
75
|
+
en: 'Start Earning Points Today',
|
|
76
|
+
},
|
|
77
|
+
'pages.loyalty_program.one_time_points': {
|
|
78
|
+
ar: 'هذه النقاط تستحق لمرة واحدة',
|
|
79
|
+
en: 'These points are earned only once',
|
|
80
|
+
},
|
|
81
|
+
'pages.loyalty_program.completed': {
|
|
82
|
+
ar: 'مكتملة',
|
|
83
|
+
en: 'Completed',
|
|
84
|
+
},
|
|
85
|
+
'pages.loyalty_program.show_more': {
|
|
86
|
+
ar: 'عرض المزيد',
|
|
87
|
+
en: 'Show More',
|
|
88
|
+
},
|
|
89
|
+
'pages.loyalty_program.show_less': {
|
|
90
|
+
ar: 'عرض أقل',
|
|
91
|
+
en: 'Show Less',
|
|
92
|
+
},
|
|
93
|
+
'currency.sar': {
|
|
94
|
+
ar: 'ر.س',
|
|
95
|
+
en: 'SAR',
|
|
96
|
+
},
|
|
97
|
+
'pages.loyalty_program.copied': {
|
|
98
|
+
ar: 'تم النسخ ✓',
|
|
99
|
+
en: 'Copied ✓',
|
|
100
|
+
},
|
|
101
|
+
'pages.loyalty_program.redeem_confirmation': {
|
|
102
|
+
ar: 'هل أنت متأكد من إستبدال',
|
|
103
|
+
en: 'Are you sure you want to redeem',
|
|
104
|
+
},
|
|
105
|
+
'pages.loyalty_program.for': {
|
|
106
|
+
ar: 'مقابل',
|
|
107
|
+
en: 'for',
|
|
108
|
+
},
|
|
109
|
+
'pages.loyalty_program.first_order_store_fix_amount': {
|
|
110
|
+
ar: 'النقاط المستحقة عند اتمام أول طلب من المتجر',
|
|
111
|
+
en: 'Points earned when completing the first order from the store',
|
|
112
|
+
},
|
|
113
|
+
'pages.loyalty_program.first_order_store_for_unit': {
|
|
114
|
+
ar: 'النقاط المستحقة عند اتمام أول طلب من المتجر بالوحدة',
|
|
115
|
+
en: 'Points earned when completing the first order from the store for the unit',
|
|
116
|
+
},
|
|
117
|
+
'pages.loyalty_program.order_from_app_fix_amount': {
|
|
118
|
+
ar: 'النقاط المستحقة عند اتمام طلب من التطبيق',
|
|
119
|
+
en: 'Points earned when completing an order from the app',
|
|
120
|
+
},
|
|
121
|
+
'pages.loyalty_program.order_from_app_for_unit': {
|
|
122
|
+
ar: 'النقاط المستحقة عند اتمام طلب من التطبيق بالوحدة',
|
|
123
|
+
en: 'Points earned when completing an order from the app for the unit',
|
|
124
|
+
},
|
|
125
|
+
'pages.loyalty_program.step_1': {
|
|
126
|
+
ar: 'الخطوة الأولى',
|
|
127
|
+
en: 'Step One',
|
|
128
|
+
},
|
|
129
|
+
'pages.loyalty_program.step_2': {
|
|
130
|
+
ar: 'الخطوة الثانية',
|
|
131
|
+
en: 'Step Two',
|
|
132
|
+
},
|
|
133
|
+
'pages.loyalty_program.step_3': {
|
|
134
|
+
ar: 'الخطوة الثالثة',
|
|
135
|
+
en: 'Step Three',
|
|
136
|
+
},
|
|
137
|
+
'pages.loyalty_program.step_4': {
|
|
138
|
+
ar: 'الخطوة الرابعة',
|
|
139
|
+
en: 'Step Four',
|
|
140
|
+
},
|
|
141
|
+
'pages.loyalty_program.step_5': {
|
|
142
|
+
ar: 'الخطوة الخامسة',
|
|
143
|
+
en: 'Step Five',
|
|
144
|
+
},
|
|
145
|
+
'pages.loyalty_program.step_6': {
|
|
146
|
+
ar: 'الخطوة السادسة',
|
|
147
|
+
en: 'Step Six',
|
|
148
|
+
},
|
|
149
|
+
'pages.loyalty_program.affiliate_link_1': {
|
|
150
|
+
ar: 'شارك أصدقائك رابط المتجر الإلكتروني لزيارته',
|
|
151
|
+
en: 'Share the store\'s electronic link with your friends to visit it',
|
|
152
|
+
},
|
|
153
|
+
'pages.loyalty_program.affiliate_link_2': {
|
|
154
|
+
ar: 'ادعُ أصدقائك لإنشاء حساباتهم عبر الرابط الذي شاركته',
|
|
155
|
+
en: 'Invite your friends to create their accounts through the link you shared',
|
|
156
|
+
},
|
|
157
|
+
'pages.loyalty_program.affiliate_link_3': {
|
|
158
|
+
ar: 'اكسب :points نقطة عندما يقوم أصدقاؤك بإتمام أول طلب لهم',
|
|
159
|
+
en: 'Earn :points points when your friends complete their first order',
|
|
160
|
+
},
|
|
161
|
+
'pages.loyalty_program.order_from_pos_1': {
|
|
162
|
+
ar: 'تسوّق من أحد فروعنا المحددة أدناه',
|
|
163
|
+
en: 'Shop from one of our selected branches below',
|
|
164
|
+
},
|
|
165
|
+
'pages.loyalty_program.order_from_pos_2': {
|
|
166
|
+
ar: 'شارك رقم الجوال المسجّل بحسابك مع المحاسب',
|
|
167
|
+
en: 'Share the mobile number registered with your account with the accountant',
|
|
168
|
+
},
|
|
169
|
+
'pages.loyalty_program.branches': {
|
|
170
|
+
ar: 'الفروع',
|
|
171
|
+
en: 'Branches',
|
|
172
|
+
},
|
|
173
|
+
'pages.loyalty_program.shop_from_branches': {
|
|
174
|
+
ar: 'يمكنك كسب النقاط عبر التسوّق في أحد فروعنا حولك',
|
|
175
|
+
en: 'You can earn points by shopping at one of our branches around you',
|
|
176
|
+
},
|
|
177
|
+
'pages.loyalty_program.branch': {
|
|
178
|
+
ar: 'فرع',
|
|
179
|
+
en: 'Branch',
|
|
180
|
+
},
|
|
181
|
+
'pages.loyalty_program.free_product': {
|
|
182
|
+
ar: 'منتج مجاني',
|
|
183
|
+
en: 'Free Product',
|
|
184
|
+
},
|
|
185
|
+
'pages.loyalty_program.coupon_discount': {
|
|
186
|
+
ar: 'خصم كوبون',
|
|
187
|
+
en: 'Coupon Discount',
|
|
188
|
+
},
|
|
189
|
+
'pages.loyalty_program.free_shipping': {
|
|
190
|
+
ar: 'شحن مجاني',
|
|
191
|
+
en: 'Free Shipping',
|
|
192
|
+
},
|
|
193
|
+
'pages.loyalty_program.order_minimum_amount': {
|
|
194
|
+
ar: 'الحد الأدنى للطلب',
|
|
195
|
+
en: 'Order Minimum Amount',
|
|
196
|
+
},
|
|
197
|
+
'pages.loyalty_program.coupon_maximum_amount': {
|
|
198
|
+
ar: 'أقصى مبلغ للخصم',
|
|
199
|
+
en: 'Maximum Discount Amount',
|
|
200
|
+
},
|
|
201
|
+
'pages.loyalty_program.included': {
|
|
202
|
+
ar: 'مشمولة',
|
|
203
|
+
en: 'Included',
|
|
204
|
+
},
|
|
205
|
+
'pages.loyalty_program.excluded': {
|
|
206
|
+
ar: 'غير مشمولة',
|
|
207
|
+
en: 'Excluded',
|
|
208
|
+
},
|
|
209
|
+
'pages.loyalty_program.how_to_benefit_from_this_reward': {
|
|
210
|
+
ar: 'كيف تستفيد من هذه المكافأة؟',
|
|
211
|
+
en: 'How to benefit from this reward?',
|
|
212
|
+
},
|
|
213
|
+
'pages.loyalty_program.terms_and_conditions': {
|
|
214
|
+
ar: 'الشروط والأحكام',
|
|
215
|
+
en: 'Terms and Conditions',
|
|
216
|
+
},
|
|
217
|
+
'pages.loyalty_program.redeem_on_specific_products': {
|
|
218
|
+
ar: 'المكافأة متاحة على منتجات محددة. أعجبك منتج معين؟ توجَّه لنفس صفحة المنتج لاستبدال نقاطك به مجانًا!',
|
|
219
|
+
en: 'Rewards apply to selected products. See something you like? Redeem it for free on the product page.',
|
|
220
|
+
},
|
|
221
|
+
'pages.loyalty_program.redeem_on_specific_brands': {
|
|
222
|
+
ar: 'يمكنك استبدال نقاطك للحصول على خصم على الماركات المحددة أدناه.',
|
|
223
|
+
en: 'You can redeem your points for a discount on the specified brands below.',
|
|
224
|
+
},
|
|
225
|
+
'pages.loyalty_program.redeem_on_specific_categories': {
|
|
226
|
+
ar: 'يمكنك استبدال نقاطك للحصول على خصم على التصنيفات المحددة أدناه.',
|
|
227
|
+
en: 'You can redeem your points for a discount on the specified categories below.',
|
|
228
|
+
},
|
|
229
|
+
'pages.loyalty_program.redeem_on_all_products': {
|
|
230
|
+
ar: 'يمكنك استبدال نقاطك للحصول على خصم على كل المنتجات في المتجر.',
|
|
231
|
+
en: 'You can redeem your points for a discount on all products in the store.',
|
|
232
|
+
},
|
|
233
|
+
'pages.loyalty_program.redeem_for_free_shipping': {
|
|
234
|
+
ar: 'يمكنك استبدال نقاطك للحصول على الشحن المجاني',
|
|
235
|
+
en: 'You can redeem your points for free shipping',
|
|
236
|
+
},
|
|
237
|
+
'pages.loyalty_program.want_to_redeem_free_product': {
|
|
238
|
+
ar: 'ودّك بهذا المنتج مجانًا؟',
|
|
239
|
+
en: 'Want this product for free?',
|
|
240
|
+
},
|
|
241
|
+
'pages.loyalty_program.exchange_points_for_free_product': {
|
|
242
|
+
ar: 'استبدل' + ' :points ' + 'نقطة بحسابك بهذا المنتج الآن!',
|
|
243
|
+
en: 'Exchange' + ' :points ' + 'point in your account for this product now!',
|
|
244
|
+
},
|
|
245
|
+
'pages.loyalty_program.exchange_points': {
|
|
246
|
+
ar: 'استبدل نقاطك',
|
|
247
|
+
en: 'Exchange points',
|
|
248
|
+
},
|
|
249
|
+
'pages.loyalty_program.excluded_categories': {
|
|
250
|
+
ar: 'التصنيفات الغير مشمولة',
|
|
251
|
+
en: 'Excluded Categories',
|
|
252
|
+
},
|
|
253
|
+
'pages.loyalty_program.excluded_brands': {
|
|
254
|
+
ar: 'الماركات الغير المشمولة',
|
|
255
|
+
en: 'ِِExcluded Brands',
|
|
256
|
+
},
|
|
257
|
+
'pages.loyalty_program.excluded_products': {
|
|
258
|
+
ar: 'المنتجات الغير المشمولة',
|
|
259
|
+
en: 'Excluded Products',
|
|
260
|
+
},
|
|
261
|
+
'pages.loyalty_program.included_categories': {
|
|
262
|
+
ar: 'التصنيفات المشمولة',
|
|
263
|
+
en: 'Included Categories',
|
|
264
|
+
},
|
|
265
|
+
'pages.loyalty_program.included_brands': {
|
|
266
|
+
ar: 'الماركات المشمولة',
|
|
267
|
+
en: 'Included Brands',
|
|
268
|
+
},
|
|
269
|
+
'pages.loyalty_program.included_products': {
|
|
270
|
+
ar: 'المنتجات المشمولة',
|
|
271
|
+
en: 'Included Products',
|
|
272
|
+
},
|
|
273
|
+
'pages.loyalty_program.show_reward': {
|
|
274
|
+
ar: 'عرض المكافأة',
|
|
275
|
+
en: 'Show Reward',
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
const setNestedAsync = (lang, key, value) => {
|
|
279
|
+
return new Promise((resolve) => {
|
|
280
|
+
salla.helpers.setNested(salla.lang.messages[lang], key, value);
|
|
281
|
+
resolve(true);
|
|
282
|
+
});
|
|
283
|
+
};
|
|
284
|
+
export const setTranslations = async () => {
|
|
285
|
+
for (const [key, value] of Object.entries(translations)) {
|
|
286
|
+
for (const [lang, text] of Object.entries(value)) {
|
|
287
|
+
await setNestedAsync(`${lang}.trans`, key, text);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
};
|
|
@@ -16,7 +16,7 @@ export class SallaMaintenanceAlert {
|
|
|
16
16
|
this.host.style.display = 'none';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'e76dcd0a076d1b72ead3398196f962713e975ce5', class: "s-maintenance-alert-wrapper" }, h("button", { key: '2105bc891908dab5a1c9edec1c534a600bb35fe5', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), h("div", { key: 'a01b014066fbbc08da96962ad9a0c98e24fddf1c', class: "s-maintenance-alert-content" }, h("div", { key: 'c8b6ac96a881fc40bdb65908bb309378035235ea', class: "s-maintenance-alert-container" }, h("div", { key: '5d9fb2968315674e0d3a3172f82f9109db55da1d', class: "s-maintenance-alert-icon" }, h("img", { key: '2649551a12d0958375a89cc1dcb8176b28f5e41f', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: '2b3f99a39857bcf87b034aa48074c1f4229bff95', class: "s-maintenance-alert-text" }, h("h2", { key: '5a3c0969cd45f666a8bd043d171e00bc88031f3e' }, this.title), h("p", { key: 'd3df4ada2bf5f7192b22affeeb10edec481a0038' }, this.message))), h("div", { key: '818d96f7680dc4b02fed14a2d8c09dab9b8e5d86' }, h("a", { key: '794a0c273fc4d84b0319b38e11fb43af5681ce67', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
|
|
20
20
|
}
|
|
21
21
|
componentDidLoad() {
|
|
22
22
|
//auto-hide the alert if close button is clicked before one hour
|
|
@@ -271,11 +271,11 @@ export class SallaMap {
|
|
|
271
271
|
}
|
|
272
272
|
// render
|
|
273
273
|
render() {
|
|
274
|
-
return (h(Host, { key: '
|
|
274
|
+
return (h(Host, { key: '302015399be6ef260a6617b31a6065e5facf940f', class: "s-map-wrapper" }, h("salla-modal", { key: '9f6cdedaeaa81ae33e14f09bf6cae48c4d3b152b', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
|
|
275
275
|
this.locationModal = modal;
|
|
276
|
-
} }, this.getLocationModal()), h("slot", { key: '
|
|
276
|
+
} }, this.getLocationModal()), h("slot", { key: '7085cb61e2e404a22381825feaabfcc36e6f20fb', name: "button" }, h("salla-button", { key: '3ebf2ec427c6d5edf501262afd096f5a82e69a13', onClick: () => {
|
|
277
277
|
this.open();
|
|
278
|
-
}, color: "primary", class: "s-map-location-button" }, h("span", { key: '
|
|
278
|
+
}, color: "primary", class: "s-map-location-button" }, h("span", { key: 'aa4dfd6a1282d651a0e78631c8165c2cbdd536d2', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: 'eadd1bbe75d9ba2898bb770e7e6aa9a02e21dece', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
|
|
279
279
|
}
|
|
280
280
|
static get is() { return "salla-map"; }
|
|
281
281
|
static get originalStyleUrls() {
|
|
@@ -30,7 +30,7 @@ export class SallaMultipleBundleProductCart {
|
|
|
30
30
|
return (h("div", { slot: "html", class: "s-multiple-bundle-product-cart-header-wrapper" }, h("div", { class: `s-multiple-bundle-product-cart-header ${hasOptions ? '' : 's-multiple-bundle-product-cart-header-no-options'}` }, h("div", { class: "s-multiple-bundle-product-cart-header-content" }, h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-image-wrapper" }, h("img", { src: product?.image?.url, alt: product?.image?.alt || product?.name, class: "s-multiple-bundle-product-cart-header-image" })), h("div", { class: "s-multiple-bundle-product-cart-header-content-details" }, h("h2", { class: "s-multiple-bundle-product-cart-header-content-details-title" }, h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-content-details-title-link" }, product?.name)), h("div", { class: "s-multiple-bundle-product-cart-header-content-details-price" }, h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-regular" }, h("span", { innerHTML: product?.price ? salla.money(product?.price) : '' })), product?.sale_price > 0 && (h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-sale" }, h("span", { innerHTML: salla.money(product?.sale_price) })))), product?.quantity_in_group > 0 && product?.quantity !== 0 && (h("p", { class: "s-multiple-bundle-product-cart-header-content-details-quantity" }, h("span", null, salla.lang.get('pages.products.number_of_pieces')), h("span", null, product?.quantity_in_group))))), !hasOptions && (h("div", { class: "s-multiple-bundle-product-cart-header-remove-button" }, this.renderRemoveButton(sectionId, product, false))))));
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'd584e8fca258d4be9c50fe6e4094aa274ff64d14', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: '55a444d53317e17a7ef9a286089f85e2def128c8', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
|
|
34
34
|
return section.products.map(product => {
|
|
35
35
|
const bundleContext = {
|
|
36
36
|
sectionId: section.id,
|
|
@@ -157,10 +157,10 @@ export class SallaMultipleBundleProductDetails {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: '07ca2849aa860c68213f61ffdca521cc1c41b6f9', class: "s-multiple-bundle-product-wrapper" }, h("div", { key: 'b810754688575d2a6418f9f2089ca65aa7981a58', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index) => {
|
|
161
161
|
const selectedCount = this.selectedProducts[section.id]?.size || 0;
|
|
162
162
|
return (h("salla-accordion", { key: section.id, collapsed: index === 0 ? false : true }, h("salla-accordion-head", null, this.renderAccordionHeader(section, selectedCount)), h("salla-accordion-body", null, h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index, selectedProducts: this.selectedProducts, onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
|
|
163
|
-
})), h("salla-multiple-bundle-product-options-modal", { key: '
|
|
163
|
+
})), h("salla-multiple-bundle-product-options-modal", { key: '7b7373564360e33bf005a5854acd84b61cdd3b05' })));
|
|
164
164
|
}
|
|
165
165
|
static get is() { return "salla-multiple-bundle-product-details"; }
|
|
166
166
|
static get originalStyleUrls() {
|
|
@@ -458,7 +458,7 @@ export class SallaMultipleBundleProductOptionsModal {
|
|
|
458
458
|
const cacheKey = this.generateCacheKey(this.sectionId, this.productIndex, productId);
|
|
459
459
|
const resetToken = this.optionsResetTokens[cacheKey] || 0;
|
|
460
460
|
const isDisabled = this.isLoading || optionsWithSelectedState.some(opt => opt.details.some(d => d.is_selected && d.is_out === true));
|
|
461
|
-
return (h(Host, { key: '
|
|
461
|
+
return (h(Host, { key: '1a9514ddc173fd5da9a31b29be3e905d11be5782' }, h("salla-modal", { key: '50efdd76cff0794bd638490c7f48cc599a49dcfc', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, h("div", { key: '9fec44912babfc95fed6ab99c5cd2e71c8bc5298', slot: "loading" }, h("salla-skeleton", { key: '84c3f41d42e81330bd32f7a3c5b44cb07fc02cac', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (h("salla-slider", { key: '5de5fd4285de79b8406626fdb00dccd3987142fa', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
|
|
462
462
|
centeredSlides: true,
|
|
463
463
|
centeredSlidesBounds: true,
|
|
464
464
|
slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
|
|
@@ -466,13 +466,13 @@ export class SallaMultipleBundleProductOptionsModal {
|
|
|
466
466
|
watchSlidesProgress: true,
|
|
467
467
|
direction: 'vertical',
|
|
468
468
|
spaceBetween: 10,
|
|
469
|
-
} }, h("div", { key: '
|
|
469
|
+
} }, h("div", { key: 'd782e027554b6de6bb959940f9a841042f2a55e5', slot: "items" }, this.product?.images &&
|
|
470
470
|
this.product?.images.map((image, index) => (h("div", { key: index, class: "swiper-slide" }, h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index + 1}`, loading: "lazy", onError: e => {
|
|
471
471
|
e.target.style.display = 'none';
|
|
472
|
-
} }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '
|
|
472
|
+
} }))))), this.product?.images && this.product?.images.length > 1 && (h("div", { key: '8b47995edd34d3f5e7c7fd5a24a39c335c6634f1', slot: "thumbs" }, this.product?.images &&
|
|
473
473
|
this.product?.images.map((image, index) => (h("div", { key: index, "data-caption": `${this.product?.name} - Image ${index + 1}` }, h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index + 1}`, alt: image.alt || `${this.product?.name} - ${index + 1}`, onError: e => {
|
|
474
474
|
e.target.style.display = 'none';
|
|
475
|
-
} })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '
|
|
475
|
+
} })))))))), h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${cacheKey}-reset-${resetToken}`, "product-id": productId, "unique-key": `${cacheKey}-reset-${resetToken}` }), h("div", { key: '72847766444879b09ab86729279844c51b0cef18', slot: "footer" }, h("div", { key: '58ecac81b3d09c211bf0e74e9f74d932a31ed7c1', class: "s-multiple-bundle-product-options-modal-footer" }, h("salla-button", { key: 'c7e08990104c111d6b6ab3375fb7649a94aa6191', onClick: e => this.onSave(e), loading: this.isLoading, disabled: isDisabled }, this.isLoading
|
|
476
476
|
? salla.lang.get('common.elements.saving')
|
|
477
477
|
: salla.lang.get('common.elements.save')))))));
|
|
478
478
|
}
|
|
@@ -87,7 +87,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
87
87
|
return `bundle[${sectionId}][${productIndex}][id]`;
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: '3968471eedb925b4dda4d4d381344fb2ed4f97ed' }, h("salla-slider", { key: '4bbaab685b7677b79b56cd6a3d80b210b125d568', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: 'b0d1a441b2cf9ed124dec4f210e082ffd0cb200b', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
|
|
91
91
|
const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
|
|
92
92
|
const hasSavedOptions = this.savedOptionsByInstance[this.getProductInstanceKey(this.section.id, productIndex)];
|
|
93
93
|
const optionsButtonLabel = hasSavedOptions
|
package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js
CHANGED
|
@@ -82,7 +82,7 @@ export class SallaMultipleBundleProduct {
|
|
|
82
82
|
this.parseProducts(this.bundleSections);
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '0c083bcf6f932c3db65e7c9c1871843594bc8604', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "salla-multiple-bundle-product"; }
|
|
88
88
|
static get originalStyleUrls() {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
export class SallaNotificationItem {
|
|
6
6
|
render() {
|
|
7
|
-
return h("a", { key: '
|
|
7
|
+
return h("a", { key: 'c134f5fc8901762ed8fa4a53aed5fd5ec62df689', href: this.notification.url, class: { "s-notifications-item": true, "s-notifications-item-shadow": true, "s-notifications-item-read": !this.notification.is_new } }, h("span", { key: '78fbafd1dd2998dba7e3a1ad8b34cbeb9e962cf2', class: "s-notifications-item-icon" }, h("i", { key: '61357a8087938b3ffae36387a6d8b79979704dba', class: { 's-notifications-item-icon sicon-bell-ring': true, 's-notifications-item-icon-new': this.notification.is_new } })), h("div", { key: '67c85332e868f4dbb2099524e441d64211d1ba1f', class: "s-notifications-item-content" }, h("div", { key: 'c7f79cb902edd54f171b8e3c089aa0f6795ca2a2', class: "s-notifications-item-content-leading" }, h("h4", { key: '078d34e4cc8093ded2dc3c948100337acfe0101e' }, this.notification.title), h("p", { key: '30c20f5308761bcd4011052b2fc8c6f87698a8f9' }, this.notification.sub_title)), h("span", { key: 'db1f387f53c747bccb3836cf8622f9f67af3a654', class: "s-notifications-item-content-trailing" }, h("i", { key: '2f662b2dbff1487831681586c15d17c1a2e68eaa', class: "sicon-time s-notifications-item-content-trailing-icon" }), h("span", { key: '119e37704dc78372f3340fc33df69e20b666a7c5' }, this.notification.date))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "salla-notification-item"; }
|
|
10
10
|
static get originalStyleUrls() {
|
|
@@ -199,7 +199,7 @@ export class SallaOfferModal {
|
|
|
199
199
|
// '</div>';
|
|
200
200
|
// }
|
|
201
201
|
render() {
|
|
202
|
-
return h("salla-modal", { key: '
|
|
202
|
+
return h("salla-modal", { key: '8be68e5882a9cbb1f4286f765f5db3ce88689c16', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, h("div", { key: '570bcafe6a1a00534b26ee25aa154e46594cb662', slot: 'loading' }, h("div", { key: 'baee23d1ad4429e8663fcf043004bf0747fe47de', class: "s-offer-modal-skeleton" }, h("div", { key: '1c6967ecfb17092c48247c17c2ce86b8ca048c77', class: "s-offer-modal-skeleton-header" }, h("salla-skeleton", { key: 'a6ce5a415d4e6350c2467d7d3c070fddaeccd074', type: 'circle', height: '80px', width: '80px' }), h("salla-skeleton", { key: '2d65ed027b9fff7eae7ecbb372f9e584a0334cf5', height: '15px', width: '50%' }), h("salla-skeleton", { key: '247706c9ddf7d2b9f96c7ea2deac960de3449017', height: '10px', width: '30%' })), h("div", { key: 'b5c9fec6565313706e2d6b73e2f060e4b216ffbc', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => h("div", { class: "s-offer-modal-skeleton-item" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-offer-modal-skeleton-item-title" }, h("salla-skeleton", { height: '15px', width: '100%' })), h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, h("salla-skeleton", { height: '9px', width: '50%' }), h("div", { innerHTML: Cart2 }))))), h("div", { key: '58e2d38061e8e4434113b1fc16f3601969e342da', class: "s-offer-modal-skeleton-footer" }, h("salla-skeleton", { key: 'c388e246236e4849e5d97592ea6a803e6409083f', height: '15px', width: '50%' }), h("salla-skeleton", { key: '4ccd783b15647cf62f1b5b4d760f3e7feead7bfb', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
|
|
203
203
|
? [h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: SpecialDiscountIcon }), this.getOfferContent(), h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
|
|
204
204
|
h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
|
|
205
205
|
: '', h("label", { class: "s-offer-modal-remember-label" }, h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
|
|
@@ -36,7 +36,7 @@ export class SallaOrderDetails {
|
|
|
36
36
|
];
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return h(Host, { key: '
|
|
39
|
+
return h(Host, { key: '41599687bddf4d4b9eda3572ce39b93a0d8f596d', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "salla-order-details"; }
|
|
42
42
|
static get originalStyleUrls() {
|
|
@@ -62,7 +62,7 @@ export class SallaOrderSummary {
|
|
|
62
62
|
this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h("ul", { key: '
|
|
65
|
+
return (h("ul", { key: 'bb8c8e2c3a44f0922012789efc9a73d71fd213d5', class: "s-order-summary-wrapper" }, this.noItemFound ? h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" })) :
|
|
66
66
|
this.order_items.map((item) => (this.isDigitalCard(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, h("p", null, h("span", { innerHTML: iconCreditCard }), h("span", null, code.code)), h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, h("span", { innerHTML: this.codeCopied === code.code ? iconCheck : iconCopy }), h("span", null, this.copy_text))))))) :
|
|
67
67
|
this.isDigitalProduct(item) ? (h("li", { key: item.product.id, class: "s-order-summary-item" }, h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), h("ul", null, item.files.map((file) => (h("li", { class: "s-order-summary-digital-item-wrapper" }, h("div", null, h("span", { innerHTML: iconFileArchive }), h("span", null, file.name)), h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, h("span", { innerHTML: iconDownload }), h("span", null, this.download_text)))))))) : null))));
|
|
68
68
|
}
|
|
@@ -35,12 +35,12 @@ export class SallaPayments {
|
|
|
35
35
|
render() {
|
|
36
36
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
37
37
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '3e44396c845375f9147a4dd036fe63f299787a6f', class: "s-payments-list-wrap" }, h("ul", { key: '476cc234749bb57898769d1089d718995da9ae12', class: "s-payments-list" }, madeInKSA && h("li", { key: '2bbe346520331ca8bff96a5fb8f4628093422e61', class: "s-payments-list-item" }, h("img", { key: 'a281cc6e6bf4cdfc8fa4948c86a9b1b024bca8b8', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
|
|
39
39
|
h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
40
40
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
|
|
41
41
|
h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
42
42
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
|
|
43
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: '
|
|
43
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && h("div", { key: 'ef5bbf9934a50015e2eb588f41ec9b5f86341dea', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
44
44
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
45
45
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
46
46
|
}
|
|
@@ -35,7 +35,7 @@ export class SallaPlaceholder {
|
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '85a52f39cc2012ca1a3c6d143d06b81981d761aa', class: this.alignmentClass() }, h("div", { key: '35be844bc3883f3451344bbeedb4b24f9c218f7a', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), h("div", { key: '58152da7774e79fdb09465087b741212a3982cf2', class: "s-placeholder-title" }, h("slot", { key: 'f9953085b498043920fd03ae44a082e0fb1a02d2', name: 'title' }, h("span", { key: '989633e3165d187c6d3b36e0cdfa2cb10466c6da' }, salla.lang.get('common.elements.no_options')))), h("div", { key: 'bfbcbb5a2f9561292e5a6850eb43f5bfea8bd040', class: "s-placeholder-description" }, h("slot", { key: '4592587daaaa41c67cd7670eea7d5e7e3d8635d7', name: 'description' }, h("span", { key: '4b1e3c4a453b8dbc5139b40ebddb94d8c2d1c465' }, salla.lang.get('common.errors.empty_results'))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "salla-placeholder"; }
|
|
41
41
|
static get originalStyleUrls() {
|
|
@@ -146,9 +146,9 @@ export class SallaPriceRange {
|
|
|
146
146
|
this.maxPrice = value === undefined ? '' : value;
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: '996f527f5a36ea273b0d8c195e35dc3efbdf62f2' }, this.filterValues.map((filterValue, index) => {
|
|
150
150
|
return h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index}`, key: index }, h("input", { id: `${this.option.key}-${index}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), h("span", { innerHTML: this.getPriceLabel(filterValue) }));
|
|
151
|
-
}), h("div", { key: '
|
|
151
|
+
}), h("div", { key: 'bfa8f970eb1e9c5d2b9678e5271aa04208b39289', class: "flex justify-center items-center" }, h("div", { key: '59cd51f388f36a38e2bd036d27b7abe001fed9d0', class: "relative max-w-xl w-full" }, h("div", { key: '226bd18705572502c7da11022a8ce02dc08d4d21', class: "s-price-range-inputs" }, h("div", { key: '0ebfdced114308e82075cd153bef0020daa15bf6', class: "s-price-range-relative" }, h("div", { key: 'c3dacef6133e2b05eca8d643d1c8ce3f5b991548', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: 'b2451e091d93f85f268fc80e30e24f5f71c2628c', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), h("div", { key: '00c07380972b65eac5fac5688b99d21277f65d39', class: "s-price-range-gray-text" }, " -"), h("div", { key: '403e98ad682f08946ccd191715ff37401a376722', class: "s-price-range-relative" }, h("div", { key: 'a1b0729fc40c17b9be68dd2c76a3afa1e99d8a62', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), h("input", { key: '5f5e5a202f4b11cde88ae954fa352b71886fe30e', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), h("salla-button", { key: 'dd4899512e03f10c18e74f4d2434406dc6922a50', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, h("span", { key: '98d023ccfe7e26278259bf690a1d7a4323a704fc', innerHTML: this.isRTL ? arrowLeft : arrowRight })))))));
|
|
152
152
|
}
|
|
153
153
|
componentDidLoad() {
|
|
154
154
|
this.isReady = true;
|
|
@@ -131,7 +131,7 @@ export class SallaProductAvailability {
|
|
|
131
131
|
field.nextElementSibling['innerText'] = '* ' + errorMsg;
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '65f3dc76d08ee3ba1745b6bbf885fdd9c4f6bae6', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
|
|
135
135
|
? h("div", { class: "s-product-availability-subscribed" }, h("span", { innerHTML: BellRingIcon, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
|
|
136
136
|
:
|
|
137
137
|
h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
|
|
@@ -105,14 +105,14 @@ export class SallaProductCard {
|
|
|
105
105
|
's-product-card-out-of-stock': this.productData?.is_out_of_stock,
|
|
106
106
|
};
|
|
107
107
|
const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: 'e0981508ab81f2a0bed4b763829d25792e55a692', id: `product-${this.productData?.id}`, class: classes }, h("div", { key: '8ed3f18aa60f4c63fcd8a5603683f76c6ec247a8', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, h("a", { key: 'e412236f624d180312a7361c0bb43f4af05ac868', ...hrefProp }, h("img", { key: 'a8517f1f3c5c2d15489aa5509bb667fb3ce98ca6', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
|
|
109
109
|
? 'contain'
|
|
110
110
|
: this.fitImageHeight
|
|
111
111
|
? this.fitImageHeight
|
|
112
|
-
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '
|
|
113
|
-
h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: '
|
|
112
|
+
: 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && h("a", { key: '9b0841267856eeaf8fd3f44df9e11a2e82ea2554', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
|
|
113
|
+
h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, h("span", { innerHTML: Heart })) : ''), h("div", { key: 'f027bc5aa8d3e46eeff5e0c2f22c33f06298884c', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
|
|
114
114
|
h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, h("span", null, h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
|
|
115
|
-
: '', h("div", { key: '
|
|
115
|
+
: '', h("div", { key: '942aed0114c9155a7b397261032ec3d5f3bbf983', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, h("h3", { key: '82e874903e2391cbda7df6cdbb41422341f66476', class: "s-product-card-content-title" }, h("a", { key: 'be7e564d2341c97d8431fa49e6a176548183929c', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
|
|
116
116
|
h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
|
|
117
117
|
: ''), this.productData?.donation && !this.minimal && !this.fullImage ?
|
|
118
118
|
[h("salla-progress-bar", { donation: this.productData?.donation }), h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
|
|
@@ -121,7 +121,7 @@ export class SallaProductCard {
|
|
|
121
121
|
this.addBtn.donatingAmount = e.target.value;
|
|
122
122
|
}, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
|
|
123
123
|
: '')]
|
|
124
|
-
: '', h("div", { key: '
|
|
124
|
+
: '', h("div", { key: 'f565ee76394a00c047cdf3abacacdc351565ba1d', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
|
|
125
125
|
h("div", { class: "s-product-card-rating" }, h("span", { innerHTML: Star }), h("span", null, this.productData.rating.stars))
|
|
126
126
|
: ''), this.isSpecial && this.productData.discount_ends
|
|
127
127
|
? h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
|
|
@@ -45,11 +45,11 @@ export class SallaProductSizeGuide {
|
|
|
45
45
|
return h("salla-placeholder", { alignment: "center", iconSize: "xl" }, h("div", { slot: "title" }, this.placeholder_title), h("div", { slot: "description" }, this.placeholder_description));
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("salla-modal", { key: '
|
|
48
|
+
return (h("salla-modal", { key: 'eeb477f6cd7831f06fb2b716e2391d684ae4e93c', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("span", { key: '48f9e18ebfec9999dc856fe3c7bca7854e4f53b3', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), h("div", { key: '9fc445cfb72dfdd5d0d306419041aa9f3acafb66', slot: "loading" }, h("div", { key: 'f5dbfb1560940a691f891e7d41eca22977693d79', class: "s-product-size-guide-skeleton" }, h("salla-skeleton", { key: 'c6790017016fc8b471601bf093051f80183645c9', height: '15px', width: '25%' }), h("div", { key: 'ba72c67c7b26e62ed4548444ba9083f83816f59e', class: "s-product-size-guide-skeleton-header" }, h("salla-skeleton", { key: '4fd934c7bf103bcd937028bacda524915a40f76a', height: '40px' }), h("salla-skeleton", { key: '3754ae6eca3938380261e221f6941b2ef2a381dd', height: '40px' }), h("salla-skeleton", { key: 'a2007afe625ce45713b3a2f64a62cf0da101c1e9', height: '40px' }), h("salla-skeleton", { key: '7ed982fa2c6c862bf724fa1b1dc059db2f5dbc41', height: '40px' })), h("div", { key: '3914b9dde80d2257a55b0aa156f61df5936f1bb5', class: "s-product-size-guide-skeleton-content" }, h("salla-skeleton", { key: '51b96df249504517e4c3fe1098be2937cbaeef63', height: '15px', width: '25%' }), h("salla-skeleton", { key: 'd5844e3c91eddc4821b97cc9991a2441dd0bb117', height: '10px', width: '75%' }), h("salla-skeleton", { key: '976e70a0aa160dd9b4dbe4d0f9f0675f5c3308ea', height: '10px', width: '50%' }), h("salla-skeleton", { key: '1baf5286915a708ea68850c9c82e7970c6521c86', height: '10px', width: '75%' }), h("salla-skeleton", { key: '8ecc89a3defd83637936023b0d0841c55c6799cd', height: '10px', width: '100%' }), h("salla-skeleton", { key: 'eb90ea350d6947596688595bb898a8c3a8dcac39', height: '10px', width: '25%' }), h("salla-skeleton", { key: '282d747e764c2761aa4b68f145467371acd66f32', height: '10px', width: '60%' }), h("salla-skeleton", { key: '610491fa3769027ceebec2ab46e7166d0bfac9f2', height: '10px', width: '45%' }), h("salla-skeleton", { key: '8162ba3bec487efe6fa1c0adf2355bd175d8310a', height: '10px', width: '30%' })))), h("slot", { key: 'b55b29cfeb52e41c0c56a79bded075fda7f49fab', name: "header" }), !this.hasError && !!this.guides ?
|
|
49
49
|
[
|
|
50
50
|
h("salla-tabs", null, this.guides.map((guide) => h("salla-tab-header", { slot: "header", name: guide.name }, h("span", null, guide.name))), this.guides.map((guide) => h("salla-tab-content", { slot: "content", name: guide.name }, h("div", { innerHTML: guide.description }))))
|
|
51
51
|
]
|
|
52
|
-
: this.showPlaceholder(), h("slot", { key: '
|
|
52
|
+
: this.showPlaceholder(), h("slot", { key: '6e37eb73078f786ce5dda8cf9ed6bae16eb3acfc', name: "footer" })));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "salla-product-size-guide"; }
|
|
55
55
|
static get originalStyleUrls() {
|