@salla.sa/twilight-components 2.14.596 → 2.14.598
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-MMeFYRaC.js → filepond-Yrcu23Ew.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-Dd1aobB-.js → filepond-plugin-file-poster-DRez16xM.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-Be46s5wp.js → filepond-plugin-file-validate-size-H6Ijvhk2.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-Cf3OjTHE.js → filepond-plugin-file-validate-type-ozbX9Tb-.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BDX5qgng.js → filepond-plugin-image-edit-CynCgK8H.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-ilZNc8J4.js → filepond-plugin-image-exif-orientation-C18fCqoh.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-C9c7tVEB.js → filepond-plugin-image-preview-FiRPNiZp.js} +1 -1
- package/dist/cjs/{index-zv0p1Eys.js → index-CpkvCUQ3.js} +7 -7
- package/dist/cjs/{intlTelInput-C8hiSJ_i.js → intlTelInput-dW1ObsSS.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +10 -18
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +37 -15
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +26 -20
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +7 -2
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +111 -37
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +2 -2
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +12 -5
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_9.cjs.entry.js +47 -24
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +10 -3
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +17 -12
- 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 +7 -4
- package/dist/cjs/salla-filters.cjs.entry.js +10 -5
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gift-card-redeem_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +12 -7
- package/dist/cjs/salla-hook.cjs.entry.js +2 -2
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +7 -2
- 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 +14 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +14 -3
- package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty.cjs.entry.js +12 -5
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_3.cjs.entry.js +39 -15
- 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_2.cjs.entry.js +7 -2
- package/dist/cjs/salla-offer-modal.cjs.entry.js +14 -7
- package/dist/cjs/salla-offer.cjs.entry.js +14 -9
- package/dist/cjs/salla-order-branch.cjs.entry.js +42 -4
- package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +7 -4
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +11 -4
- package/dist/cjs/salla-orders.cjs.entry.js +41 -7
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +10 -3
- package/dist/cjs/salla-price-range.cjs.entry.js +7 -4
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card.cjs.entry.js +16 -9
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +9 -4
- package/dist/cjs/salla-products-list.cjs.entry.js +5 -4
- package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +7 -2
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +9 -3
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +9 -2
- package/dist/cjs/salla-search-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +8 -8
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +8 -3
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +7 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +9 -5
- package/dist/cjs/salla-user-menu.cjs.entry.js +39 -2
- package/dist/cjs/salla-user-profile.cjs.entry.js +7 -3
- package/dist/cjs/salla-user-settings.cjs.entry.js +8 -3
- package/dist/cjs/salla-verify.cjs.entry.js +13 -6
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
- package/dist/cjs/translate-Cvomt6Jh.js +58 -0
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-DRrOfZz0.js → vanilla-picker-CSaDVE6R.js} +1 -1
- package/dist/collection/Helpers/money-text.js +37 -0
- package/dist/collection/Helpers/translate.js +36 -0
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +7 -2
- package/dist/collection/components/salla-alert/salla-alert.js +5 -5
- package/dist/collection/components/salla-apps-icons/salla-apps-icons.js +6 -1
- package/dist/collection/components/salla-booking-field/salla-booking-field.js +10 -4
- package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +23 -17
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +2 -0
- package/dist/collection/components/salla-button/salla-button.js +19 -27
- package/dist/collection/components/salla-cart-item-offers/salla-cart-item-offers.js +10 -3
- package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +2 -2
- package/dist/collection/components/salla-comment-form/salla-comment-form.js +10 -5
- package/dist/collection/components/salla-comments/salla-comment-item.js +11 -3
- package/dist/collection/components/salla-comments/salla-comments.js +9 -3
- package/dist/collection/components/salla-contacts/salla-contacts.js +9 -2
- package/dist/collection/components/salla-count-down/salla-count-down.js +23 -18
- package/dist/collection/components/salla-custom-fields/salla-custom-fields.js +4 -0
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +69 -5
- package/dist/collection/components/salla-filters/salla-filters.js +10 -5
- package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +6 -3
- package/dist/collection/components/salla-gifting/salla-gifting.js +11 -6
- package/dist/collection/components/salla-hook/salla-hook.js +5 -1
- package/dist/collection/components/salla-infinite-scroll/salla-infinite-scroll.js +6 -1
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +15 -2
- package/dist/collection/components/salla-login-modal/salla-login-modal.css +3 -0
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +12 -1
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +12 -5
- package/dist/collection/components/salla-map/salla-map.js +12 -7
- package/dist/collection/components/salla-notifications/salla-notifications.js +6 -1
- package/dist/collection/components/salla-offer/salla-offer.js +12 -7
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +13 -6
- package/dist/collection/components/salla-order-branch/salla-order-branch.css +35 -0
- package/dist/collection/components/salla-order-branch/salla-order-branch.js +40 -2
- package/dist/collection/components/salla-order-summary/salla-order-summary.js +6 -3
- package/dist/collection/components/salla-order-totals-card/salla-order-totals-card.js +10 -3
- package/dist/collection/components/salla-orders/salla-orders.js +13 -6
- package/dist/collection/components/salla-placeholder/salla-placeholder.js +10 -3
- package/dist/collection/components/salla-price-range/salla-price-range.js +6 -3
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +16 -7
- package/dist/collection/components/salla-product-card/salla-product-card.js +24 -17
- package/dist/collection/components/salla-product-options/salla-product-options.js +9 -6
- package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +8 -3
- package/dist/collection/components/salla-products-list/salla-products-list.js +4 -3
- package/dist/collection/components/salla-progress-bar/salla-progress-bar.js +20 -4
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +6 -1
- package/dist/collection/components/salla-quick-order/salla-quick-order.js +6 -1
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +8 -2
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +16 -16
- package/dist/collection/components/salla-review-card/salla-review-card.js +5 -1
- package/dist/collection/components/salla-reviews/salla-reviews.js +6 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +9 -2
- package/dist/collection/components/salla-skeleton/salla-skeleton.js +10 -10
- package/dist/collection/components/salla-slider/salla-slider.js +6 -3
- package/dist/collection/components/salla-social/salla-social.js +7 -2
- package/dist/collection/components/salla-tabs/salla-tab-header.js +3 -3
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +24 -19
- package/dist/collection/components/salla-tiered-offer/salla-tiered-offer.js +6 -1
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.css +17 -12
- package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +7 -3
- package/dist/collection/components/salla-user-menu/salla-user-menu.js +38 -1
- package/dist/collection/components/salla-user-profile/salla-user-profile.js +6 -2
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +7 -2
- package/dist/collection/components/salla-verify/salla-verify.js +13 -6
- package/dist/components/index.js +3 -3
- package/dist/components/salla-add-product-button2.js +7 -2
- package/dist/components/salla-alert.js +2 -2
- package/dist/components/salla-apps-icons.js +6 -1
- package/dist/components/salla-booking-field2.js +10 -4
- package/dist/components/salla-bottom-alert.js +23 -17
- package/dist/components/salla-bullet-delivery.js +1 -1
- package/dist/components/salla-button2.js +9 -17
- package/dist/components/salla-cart-item-offers.js +10 -3
- package/dist/components/salla-cart-summary.js +1 -1
- package/dist/components/salla-comment-form2.js +10 -5
- package/dist/components/salla-comment-item2.js +11 -3
- package/dist/components/salla-comments.js +9 -3
- package/dist/components/salla-contacts.js +9 -2
- package/dist/components/salla-count-down2.js +16 -11
- package/dist/components/salla-file-upload2.js +69 -5
- package/dist/components/salla-filters-widget2.js +6 -3
- package/dist/components/salla-filters.js +9 -4
- package/dist/components/salla-gifting.js +11 -6
- package/dist/components/salla-hook.js +1 -1
- package/dist/components/salla-infinite-scroll.js +6 -1
- package/dist/components/salla-localization-modal.js +15 -2
- package/dist/components/salla-login-modal2.js +13 -2
- package/dist/components/salla-loyalty.js +12 -5
- package/dist/components/salla-map2.js +12 -7
- package/dist/components/salla-notifications.js +6 -1
- package/dist/components/salla-offer-modal.js +13 -6
- package/dist/components/salla-offer.js +12 -7
- package/dist/components/salla-order-branch.js +41 -3
- package/dist/components/salla-order-summary.js +6 -3
- package/dist/components/salla-order-totals-card.js +10 -3
- package/dist/components/salla-orders.js +40 -6
- package/dist/components/salla-placeholder2.js +10 -3
- package/dist/components/salla-price-range2.js +6 -3
- package/dist/components/salla-product-availability2.js +16 -7
- package/dist/components/salla-product-card2.js +15 -8
- package/dist/components/salla-product-options2.js +9 -6
- package/dist/components/salla-product-size-guide.js +8 -3
- package/dist/components/salla-products-list2.js +4 -3
- package/dist/components/salla-progress-bar2.js +20 -4
- package/dist/components/salla-quick-buy2.js +6 -1
- package/dist/components/salla-quick-order.js +6 -1
- package/dist/components/salla-rating-modal2.js +8 -2
- package/dist/components/salla-rating-stars2.js +10 -10
- package/dist/components/salla-review-card2.js +1 -1
- package/dist/components/salla-reviews.js +6 -1
- package/dist/components/salla-scopes.js +9 -2
- package/dist/components/salla-skeleton2.js +7 -7
- package/dist/components/salla-slider2.js +6 -3
- package/dist/components/salla-social.js +7 -2
- package/dist/components/salla-tab-header2.js +3 -3
- package/dist/components/salla-tel-input2.js +24 -19
- package/dist/components/salla-tiered-offer.js +6 -1
- package/dist/components/salla-trust-badges.js +8 -4
- package/dist/components/salla-user-menu.js +38 -1
- package/dist/components/salla-user-profile.js +6 -2
- package/dist/components/salla-user-settings.js +7 -2
- package/dist/components/salla-verify.js +13 -6
- package/dist/components/translate.js +37 -1
- package/dist/docs.json +44 -44
- package/dist/esm/{filepond-okemUEVJ.js → filepond-Cqatu146.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-He-1QDcm.js → filepond-plugin-file-poster-DbVXhgv4.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BoQ9OZHK.js → filepond-plugin-file-validate-size-BpJPambh.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BVxE-7xU.js → filepond-plugin-file-validate-type-3Qrskyxw.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DJnNmArQ.js → filepond-plugin-image-edit-Cjy7cOV1.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CgkqV9g5.js → filepond-plugin-image-exif-orientation-DYM12Yp-.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DxbixTNR.js → filepond-plugin-image-preview-C9nMEHVX.js} +1 -1
- package/dist/esm/{index-C1mBhG6Z.js → index-noRE1pbw.js} +7 -7
- package/dist/esm/{intlTelInput-wxpsRy0u.js → intlTelInput-CiinYrbq.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +10 -18
- package/dist/esm/salla-add-product-button_5.entry.js +37 -15
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +26 -20
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-applied-filters.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +7 -2
- package/dist/esm/salla-attachment-view_9.entry.js +111 -37
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-bullet-delivery_3.entry.js +2 -2
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +12 -5
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_9.entry.js +47 -24
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +10 -3
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +17 -12
- 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 +7 -4
- package/dist/esm/salla-filters.entry.js +10 -5
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gift-card-redeem_2.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +12 -7
- package/dist/esm/salla-hook.entry.js +2 -2
- package/dist/esm/salla-infinite-scroll.entry.js +7 -2
- 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 +14 -2
- package/dist/esm/salla-login-modal.entry.js +14 -3
- package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
- package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty.entry.js +12 -5
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_3.entry.js +39 -15
- 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_2.entry.js +7 -2
- package/dist/esm/salla-offer-modal.entry.js +14 -7
- package/dist/esm/salla-offer.entry.js +14 -9
- package/dist/esm/salla-order-branch.entry.js +42 -4
- package/dist/esm/salla-order-cancel.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-options-modal.entry.js +1 -1
- package/dist/esm/salla-order-shipments.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +7 -4
- package/dist/esm/salla-order-totals-card.entry.js +11 -4
- package/dist/esm/salla-orders.entry.js +41 -7
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +10 -3
- package/dist/esm/salla-price-range.entry.js +7 -4
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card.entry.js +16 -9
- package/dist/esm/salla-product-size-guide.entry.js +9 -4
- package/dist/esm/salla-products-list.entry.js +5 -4
- package/dist/esm/salla-products-slider.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +7 -2
- package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +9 -3
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +9 -2
- package/dist/esm/salla-search-product-card.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +8 -8
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +8 -3
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +7 -2
- package/dist/esm/salla-trust-badges.entry.js +9 -5
- package/dist/esm/salla-user-menu.entry.js +39 -2
- package/dist/esm/salla-user-profile.entry.js +7 -3
- package/dist/esm/salla-user-settings.entry.js +8 -3
- package/dist/esm/salla-verify.entry.js +13 -6
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/salla-wishlist-summary.entry.js +1 -1
- package/dist/esm/translate-CxrJQ3Jf.js +54 -0
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-CQEJbE9K.js → vanilla-picker-BWBrgMJQ.js} +1 -1
- package/dist/twilight/{p-c28395c6.entry.js → p-03e89cb1.entry.js} +1 -1
- package/dist/twilight/{p-5babb989.entry.js → p-07dc637e.entry.js} +1 -1
- package/dist/twilight/p-0859fe23.entry.js +4 -0
- package/dist/twilight/p-0b54834f.entry.js +4 -0
- package/dist/twilight/{p-e00ed6c9.entry.js → p-0c9f5232.entry.js} +1 -1
- package/dist/twilight/p-0ca1a782.entry.js +4 -0
- package/dist/twilight/p-0cb548be.entry.js +4 -0
- package/dist/twilight/{p-8ec0fc03.entry.js → p-138d6214.entry.js} +1 -1
- package/dist/twilight/p-141218a3.entry.js +4 -0
- package/dist/twilight/p-15b8fa7f.entry.js +4 -0
- package/dist/twilight/{p-ac20a6de.entry.js → p-15f5d424.entry.js} +1 -1
- package/dist/twilight/{p-21ba0eac.entry.js → p-16072449.entry.js} +1 -1
- package/dist/twilight/{p-dcb5ceda.entry.js → p-16b2f58b.entry.js} +1 -1
- package/dist/twilight/{p-f643bf2f.entry.js → p-18aff2d5.entry.js} +1 -1
- package/dist/twilight/{p-7ac91ace.entry.js → p-1930b915.entry.js} +1 -1
- package/dist/twilight/p-1cbbdcea.entry.js +4 -0
- package/dist/twilight/{p-d75157e0.entry.js → p-1fe92c36.entry.js} +1 -1
- package/dist/twilight/{p-f130c67f.entry.js → p-221e47a5.entry.js} +1 -1
- package/dist/twilight/p-2636c473.entry.js +4 -0
- package/dist/twilight/p-27712ed1.entry.js +4 -0
- package/dist/twilight/{p-fac4da2b.entry.js → p-2eea4245.entry.js} +1 -1
- package/dist/twilight/{p-d6d72996.entry.js → p-3263103c.entry.js} +1 -1
- package/dist/twilight/{p-ca7593c0.entry.js → p-341a7ab8.entry.js} +1 -1
- package/dist/twilight/{p-1080831a.entry.js → p-3b4f66d3.entry.js} +1 -1
- package/dist/twilight/p-3c45c49f.entry.js +4 -0
- package/dist/twilight/{p-e98835e3.entry.js → p-3f730d01.entry.js} +1 -1
- package/dist/twilight/{p-12a2b743.entry.js → p-40c8b553.entry.js} +1 -1
- package/dist/twilight/p-4333c630.entry.js +4 -0
- package/dist/twilight/{p-1a5d0b25.entry.js → p-454b32f0.entry.js} +1 -1
- package/dist/twilight/{p-8bdb7f71.entry.js → p-475d01e2.entry.js} +1 -1
- package/dist/twilight/{p-f8aa1b23.entry.js → p-4962d869.entry.js} +1 -1
- package/dist/twilight/{p-4b0eaa16.entry.js → p-4ce97595.entry.js} +1 -1
- package/dist/twilight/p-4d1582f8.entry.js +4 -0
- package/dist/twilight/{p-5e426c78.entry.js → p-4d482ee4.entry.js} +1 -1
- package/dist/twilight/{p-67d3ee58.entry.js → p-5110433d.entry.js} +1 -1
- package/dist/twilight/p-517807b2.entry.js +4 -0
- package/dist/twilight/p-52a7dbb7.entry.js +4 -0
- package/dist/twilight/{p-160476f0.entry.js → p-5360d082.entry.js} +1 -1
- package/dist/twilight/p-53bf1d54.entry.js +4 -0
- package/dist/twilight/p-540a7588.entry.js +4 -0
- package/dist/twilight/{p-9d434410.entry.js → p-5a6c4fdf.entry.js} +1 -1
- package/dist/twilight/{p-5e099f96.entry.js → p-5ac2e6ab.entry.js} +1 -1
- package/dist/twilight/{p-de55326d.entry.js → p-64158678.entry.js} +1 -1
- package/dist/twilight/p-67ecb74a.entry.js +4 -0
- package/dist/twilight/{p-342b31ba.entry.js → p-6e53afc6.entry.js} +1 -1
- package/dist/twilight/{p-474997dd.entry.js → p-6f66a0f2.entry.js} +1 -1
- package/dist/twilight/p-721819ee.entry.js +4 -0
- package/dist/twilight/p-76d11b5c.entry.js +4 -0
- package/dist/twilight/p-78b86647.entry.js +4 -0
- package/dist/twilight/p-7f0bdf0e.entry.js +4 -0
- package/dist/twilight/{p-caee5b0d.entry.js → p-7f882abf.entry.js} +1 -1
- package/dist/twilight/{p-6602a61a.entry.js → p-826ed1c6.entry.js} +1 -1
- package/dist/twilight/{p-8eb75cf8.entry.js → p-82d59bf3.entry.js} +1 -1
- package/dist/twilight/p-856ed222.entry.js +4 -0
- package/dist/twilight/{p-4bde9c4e.entry.js → p-87b3c231.entry.js} +1 -1
- package/dist/twilight/p-87dcc9d8.entry.js +4 -0
- package/dist/twilight/{p-58058ae9.entry.js → p-8876efa6.entry.js} +1 -1
- package/dist/twilight/{p-81596b48.entry.js → p-88d64b87.entry.js} +1 -1
- package/dist/twilight/p-88f650da.entry.js +4 -0
- package/dist/twilight/p-8e248aa7.entry.js +4 -0
- package/dist/twilight/p-919dd049.entry.js +4 -0
- package/dist/twilight/{p-62653d93.entry.js → p-950634d1.entry.js} +1 -1
- package/dist/twilight/{p-a11b77df.entry.js → p-9ce917a6.entry.js} +1 -1
- package/dist/twilight/{p-672a709e.entry.js → p-9e084610.entry.js} +1 -1
- package/dist/twilight/{p-8513fec2.entry.js → p-9ed52621.entry.js} +1 -1
- package/dist/twilight/{p-60d06105.entry.js → p-9fcc7eeb.entry.js} +1 -1
- package/dist/twilight/{p-Gxv67UlH.js → p-B867dk1j.js} +1 -1
- package/dist/twilight/{p-CJPWrlxL.js → p-BT5AJCX9.js} +1 -1
- package/dist/twilight/{p-CtcjG32v.js → p-CADeV7A-.js} +1 -1
- package/dist/twilight/{p-E2n9kJc8.js → p-CbJEogz0.js} +1 -1
- package/dist/twilight/p-CxrJQ3Jf.js +4 -0
- package/dist/twilight/{p-C57CqqgQ.js → p-CyV163V_.js} +1 -1
- package/dist/twilight/{p-DiU9tYvl.js → p-D98H4WeK.js} +1 -1
- package/dist/twilight/p-DN2opqoB.js +9 -0
- package/dist/twilight/{p-pzi0Osm7.js → p-DWkNp24H.js} +1 -1
- package/dist/twilight/{p-Bm1ywp6t.js → p-DomdkzLW.js} +1 -1
- package/dist/twilight/{p-c28c53c3.entry.js → p-a030da8e.entry.js} +1 -1
- package/dist/twilight/{p-3a465851.entry.js → p-a2de7999.entry.js} +1 -1
- package/dist/twilight/{p-c89282b0.entry.js → p-a8408d51.entry.js} +1 -1
- package/dist/twilight/p-aabc57e3.entry.js +4 -0
- package/dist/twilight/p-b1a35349.entry.js +4 -0
- package/dist/twilight/{p-fd787b30.entry.js → p-ba76a96a.entry.js} +1 -1
- package/dist/twilight/{p-d6508494.entry.js → p-ba9ee435.entry.js} +1 -1
- package/dist/twilight/{p-f47a1351.entry.js → p-be7dcc25.entry.js} +1 -1
- package/dist/twilight/{p-54bc613c.entry.js → p-c41c1eff.entry.js} +1 -1
- package/dist/twilight/p-c589a326.entry.js +4 -0
- package/dist/twilight/{p-e43c49e9.entry.js → p-c5d4682b.entry.js} +1 -1
- package/dist/twilight/p-c631e2cd.entry.js +4 -0
- package/dist/twilight/{p-97bb12a6.entry.js → p-c6af4f05.entry.js} +1 -1
- package/dist/twilight/{p-da9bd7f6.entry.js → p-c8d269df.entry.js} +1 -1
- package/dist/twilight/{p-e4589779.entry.js → p-cab2f22a.entry.js} +1 -1
- package/dist/twilight/{p-f3985cfd.entry.js → p-ce120ce6.entry.js} +1 -1
- package/dist/twilight/{p-80699771.entry.js → p-ce981b2f.entry.js} +1 -1
- package/dist/twilight/p-d09b6b8c.entry.js +4 -0
- package/dist/twilight/{p-b3abf071.entry.js → p-d13f5256.entry.js} +1 -1
- package/dist/twilight/{p-c82f46a9.entry.js → p-d306b947.entry.js} +1 -1
- package/dist/twilight/p-d986aa18.entry.js +4 -0
- package/dist/twilight/{p-844176cb.entry.js → p-e4c88bee.entry.js} +1 -1
- package/dist/twilight/p-e7fc0d63.entry.js +4 -0
- package/dist/twilight/p-eef846fa.entry.js +4 -0
- package/dist/twilight/{p-dbc1e40c.entry.js → p-f03f893c.entry.js} +1 -1
- package/dist/twilight/p-f5f0246f.entry.js +4 -0
- package/dist/twilight/p-f6f633fc.entry.js +4 -0
- package/dist/twilight/p-f9fbcb8d.entry.js +4 -0
- package/dist/twilight/p-fc717703.entry.js +4 -0
- package/dist/twilight/{p-C1mBhG6Z.js → p-noRE1pbw.js} +2 -2
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/Helpers/money-text.d.ts +13 -0
- package/dist/types/Helpers/translate.d.ts +17 -0
- package/dist/types/components/salla-add-product-button/salla-add-product-button.d.ts +2 -1
- package/dist/types/components/salla-alert/salla-alert.d.ts +3 -3
- package/dist/types/components/salla-apps-icons/salla-apps-icons.d.ts +3 -0
- package/dist/types/components/salla-booking-field/salla-booking-field.d.ts +3 -0
- package/dist/types/components/salla-bottom-alert/salla-bottom-alert.d.ts +3 -1
- package/dist/types/components/salla-button/salla-button.d.ts +10 -18
- package/dist/types/components/salla-cart-item-offers/salla-cart-item-offers.d.ts +3 -0
- package/dist/types/components/salla-cart-summary/salla-cart-summary.d.ts +2 -2
- package/dist/types/components/salla-comment-form/salla-comment-form.d.ts +3 -0
- package/dist/types/components/salla-comments/salla-comment-item.d.ts +3 -1
- package/dist/types/components/salla-comments/salla-comments.d.ts +3 -0
- package/dist/types/components/salla-contacts/salla-contacts.d.ts +4 -0
- package/dist/types/components/salla-count-down/salla-count-down.d.ts +17 -14
- package/dist/types/components/salla-custom-fields/salla-custom-fields.d.ts +4 -0
- package/dist/types/components/salla-file-upload/salla-file-upload.d.ts +12 -0
- package/dist/types/components/salla-filters/salla-filters.d.ts +4 -1
- package/dist/types/components/salla-filters-widget/salla-filters-widget.d.ts +2 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +3 -0
- package/dist/types/components/salla-hook/salla-hook.d.ts +4 -0
- package/dist/types/components/salla-infinite-scroll/salla-infinite-scroll.d.ts +3 -0
- package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +4 -0
- package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +3 -0
- package/dist/types/components/salla-loyalty/salla-loyalty.d.ts +3 -0
- package/dist/types/components/salla-map/salla-map.d.ts +3 -0
- package/dist/types/components/salla-notifications/salla-notifications.d.ts +3 -1
- package/dist/types/components/salla-offer/salla-offer.d.ts +3 -0
- package/dist/types/components/salla-offer-modal/salla-offer-modal.d.ts +3 -0
- package/dist/types/components/salla-order-branch/interfaces.d.ts +1 -0
- package/dist/types/components/salla-order-branch/salla-order-branch.d.ts +10 -1
- package/dist/types/components/salla-order-summary/salla-order-summary.d.ts +2 -0
- package/dist/types/components/salla-order-totals-card/interfaces.d.ts +4 -3
- package/dist/types/components/salla-order-totals-card/salla-order-totals-card.d.ts +2 -0
- package/dist/types/components/salla-orders/salla-orders.d.ts +3 -1
- package/dist/types/components/salla-placeholder/salla-placeholder.d.ts +3 -1
- package/dist/types/components/salla-price-range/salla-price-range.d.ts +2 -0
- package/dist/types/components/salla-product-availability/salla-product-availability.d.ts +4 -0
- package/dist/types/components/salla-product-card/salla-product-card.d.ts +12 -9
- package/dist/types/components/salla-product-options/salla-product-options.d.ts +2 -0
- package/dist/types/components/salla-product-size-guide/salla-product-size-guide.d.ts +3 -0
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +1 -0
- package/dist/types/components/salla-progress-bar/salla-progress-bar.d.ts +5 -0
- package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +3 -1
- package/dist/types/components/salla-quick-order/salla-quick-order.d.ts +3 -0
- package/dist/types/components/salla-rating-modal/salla-rating-modal.d.ts +3 -0
- package/dist/types/components/salla-rating-stars/salla-rating-stars.d.ts +14 -14
- package/dist/types/components/salla-review-card/salla-review-card.d.ts +4 -0
- package/dist/types/components/salla-reviews/salla-reviews.d.ts +3 -0
- package/dist/types/components/salla-scopes/salla-scopes.d.ts +3 -0
- package/dist/types/components/salla-skeleton/salla-skeleton.d.ts +6 -6
- package/dist/types/components/salla-slider/salla-slider.d.ts +2 -0
- package/dist/types/components/salla-social/salla-social.d.ts +3 -0
- package/dist/types/components/salla-tabs/salla-tab-header.d.ts +2 -2
- package/dist/types/components/salla-tel-input/salla-tel-input.d.ts +3 -1
- package/dist/types/components/salla-tiered-offer/salla-tiered-offer.d.ts +3 -1
- package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +3 -1
- package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +16 -0
- package/dist/types/components/salla-user-profile/salla-user-profile.d.ts +3 -1
- package/dist/types/components/salla-user-settings/salla-user-settings.d.ts +3 -0
- package/dist/types/components/salla-verify/salla-verify.d.ts +3 -0
- package/dist/types/components.d.ts +128 -80
- package/package.json +19 -19
- package/dist/cjs/translate-BeU1QX_r.js +0 -20
- package/dist/esm/translate-CrSV-tno.js +0 -18
- package/dist/twilight/p-020eb2a1.entry.js +0 -4
- package/dist/twilight/p-06799084.entry.js +0 -4
- package/dist/twilight/p-0a3abfd4.entry.js +0 -4
- package/dist/twilight/p-0ef388be.entry.js +0 -4
- package/dist/twilight/p-1f99db23.entry.js +0 -4
- package/dist/twilight/p-232c39e9.entry.js +0 -4
- package/dist/twilight/p-305ed224.entry.js +0 -4
- package/dist/twilight/p-3a4cf66c.entry.js +0 -4
- package/dist/twilight/p-3c4702bb.entry.js +0 -4
- package/dist/twilight/p-3dcb5129.entry.js +0 -4
- package/dist/twilight/p-43d0c80e.entry.js +0 -4
- package/dist/twilight/p-50bbbd18.entry.js +0 -4
- package/dist/twilight/p-51c26ce7.entry.js +0 -4
- package/dist/twilight/p-54054ab9.entry.js +0 -4
- package/dist/twilight/p-5c1a36ab.entry.js +0 -4
- package/dist/twilight/p-5cf3929c.entry.js +0 -4
- package/dist/twilight/p-8028be6f.entry.js +0 -4
- package/dist/twilight/p-82939afe.entry.js +0 -4
- package/dist/twilight/p-85cff524.entry.js +0 -4
- package/dist/twilight/p-8dfdd6c9.entry.js +0 -4
- package/dist/twilight/p-92f6aa52.entry.js +0 -4
- package/dist/twilight/p-BB23a2fo.js +0 -9
- package/dist/twilight/p-CrSV-tno.js +0 -4
- package/dist/twilight/p-a4aac112.entry.js +0 -4
- package/dist/twilight/p-a52bfa57.entry.js +0 -4
- package/dist/twilight/p-a9aadc0b.entry.js +0 -4
- package/dist/twilight/p-bc26490f.entry.js +0 -4
- package/dist/twilight/p-bef93c52.entry.js +0 -4
- package/dist/twilight/p-c30bfc0b.entry.js +0 -4
- package/dist/twilight/p-cb770a9e.entry.js +0 -4
- package/dist/twilight/p-cbcca1ff.entry.js +0 -4
- package/dist/twilight/p-d81bcfb3.entry.js +0 -4
- package/dist/twilight/p-e67b2aa8.entry.js +0 -4
- package/dist/twilight/p-e9ce8dec.entry.js +0 -4
- package/dist/twilight/p-eb718f6b.entry.js +0 -4
- package/dist/twilight/p-ec361a66.entry.js +0 -4
- package/dist/twilight/p-f32de457.entry.js +0 -4
- package/dist/twilight/p-f626ef96.entry.js +0 -4
- package/dist/twilight/p-f6df7f8a.entry.js +0 -4
- package/dist/twilight/p-fd3bb3f2.entry.js +0 -4
|
@@ -173,15 +173,15 @@ export namespace Components {
|
|
|
173
173
|
}
|
|
174
174
|
interface SallaAlert {
|
|
175
175
|
/**
|
|
176
|
-
*
|
|
176
|
+
* The icon type to display. Defaults to the variant type. Set to 'none' to hide the icon.
|
|
177
177
|
*/
|
|
178
178
|
"icon"?: 'info' | 'success' | 'warning' | 'error' | 'none';
|
|
179
179
|
/**
|
|
180
|
-
*
|
|
180
|
+
* The alert message text to display.
|
|
181
181
|
*/
|
|
182
182
|
"message": string;
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* The visual style/theme of the alert. Can be 'info', 'success', 'warning', or 'error'. Default is 'info'.
|
|
185
185
|
* @default 'info'
|
|
186
186
|
*/
|
|
187
187
|
"variant": 'info' | 'success' | 'warning' | 'error';
|
|
@@ -380,7 +380,7 @@ export namespace Components {
|
|
|
380
380
|
}
|
|
381
381
|
interface SallaButton {
|
|
382
382
|
/**
|
|
383
|
-
*
|
|
383
|
+
* The color theme of the button. Available options: 'primary', 'success', 'warning', 'danger', 'light', 'gray', 'dark'. Default is 'primary'.
|
|
384
384
|
* @default 'primary'
|
|
385
385
|
*/
|
|
386
386
|
"color": 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'gray' | 'dark';
|
|
@@ -389,7 +389,7 @@ export namespace Components {
|
|
|
389
389
|
*/
|
|
390
390
|
"disable": () => Promise<HTMLElement>;
|
|
391
391
|
/**
|
|
392
|
-
*
|
|
392
|
+
* Disables the button, preventing user interaction. Default is false.
|
|
393
393
|
* @default false
|
|
394
394
|
*/
|
|
395
395
|
"disabled": boolean;
|
|
@@ -403,12 +403,12 @@ export namespace Components {
|
|
|
403
403
|
*/
|
|
404
404
|
"enableLoader": boolean;
|
|
405
405
|
/**
|
|
406
|
-
*
|
|
406
|
+
* The fill style of the button. 'solid' (filled background), 'outline' (bordered, transparent background), or 'none'. Default is 'solid'.
|
|
407
407
|
* @default 'solid'
|
|
408
408
|
*/
|
|
409
409
|
"fill": 'solid' | 'outline' | 'none';
|
|
410
410
|
/**
|
|
411
|
-
*
|
|
411
|
+
* When provided, renders the button as an anchor (`<a>`) element with this URL.
|
|
412
412
|
*/
|
|
413
413
|
"href": string;
|
|
414
414
|
/**
|
|
@@ -416,12 +416,12 @@ export namespace Components {
|
|
|
416
416
|
*/
|
|
417
417
|
"load": () => Promise<HTMLElement>;
|
|
418
418
|
/**
|
|
419
|
-
*
|
|
419
|
+
* Position of the loading spinner. Can be 'start', 'end', 'center', or 'after' (after the button text). Default is 'after'.
|
|
420
420
|
* @default 'after'
|
|
421
421
|
*/
|
|
422
422
|
"loaderPosition": 'start' | 'end' | 'center' | 'after';
|
|
423
423
|
/**
|
|
424
|
-
*
|
|
424
|
+
* Shows a loading spinner on the button. Default is false.
|
|
425
425
|
* @default false
|
|
426
426
|
*/
|
|
427
427
|
"loading": boolean;
|
|
@@ -431,12 +431,12 @@ export namespace Components {
|
|
|
431
431
|
*/
|
|
432
432
|
"setText": (html: string) => Promise<HTMLElement>;
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* The shape/variant of the button. Can be 'link' (text-only style), 'icon' (circular icon button), or 'btn' (standard button). Default is 'btn'.
|
|
435
435
|
* @default 'btn'
|
|
436
436
|
*/
|
|
437
437
|
"shape": 'link' | 'icon' | 'btn';
|
|
438
438
|
/**
|
|
439
|
-
*
|
|
439
|
+
* The size of the button. Can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
440
440
|
* @default 'medium'
|
|
441
441
|
*/
|
|
442
442
|
"size": 'small' | 'large' | 'medium';
|
|
@@ -445,12 +445,12 @@ export namespace Components {
|
|
|
445
445
|
*/
|
|
446
446
|
"stop": () => Promise<HTMLElement>;
|
|
447
447
|
/**
|
|
448
|
-
*
|
|
448
|
+
* The HTML type attribute for the button. 'button' (default, general-purpose), 'submit' (submits forms), or 'reset' (resets form fields).
|
|
449
449
|
* @default "button"
|
|
450
450
|
*/
|
|
451
451
|
"type": string;
|
|
452
452
|
/**
|
|
453
|
-
*
|
|
453
|
+
* The width of the button. 'wide' makes the button full-width, 'normal' uses auto width. Default is 'normal'.
|
|
454
454
|
* @default 'normal'
|
|
455
455
|
*/
|
|
456
456
|
"width": 'wide' | 'normal';
|
|
@@ -486,7 +486,7 @@ export namespace Components {
|
|
|
486
486
|
*/
|
|
487
487
|
"animateToCart": (image: any) => Promise<void>;
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
489
|
+
* Whether to show the cart label text alongside the cart icon. Default is false (icon only).
|
|
490
490
|
*/
|
|
491
491
|
"showCartLabel": boolean;
|
|
492
492
|
}
|
|
@@ -706,7 +706,7 @@ export namespace Components {
|
|
|
706
706
|
*/
|
|
707
707
|
"boxTheme": string;
|
|
708
708
|
/**
|
|
709
|
-
*
|
|
709
|
+
* Whether to display countdown numbers in boxed containers. Default is false.
|
|
710
710
|
*/
|
|
711
711
|
"boxed": boolean;
|
|
712
712
|
/**
|
|
@@ -722,7 +722,7 @@ export namespace Components {
|
|
|
722
722
|
*/
|
|
723
723
|
"buttonText"?: string;
|
|
724
724
|
/**
|
|
725
|
-
* The color of the
|
|
725
|
+
* The color theme of the countdown. Can be 'primary', 'light', or 'dark'. Default is 'dark'.
|
|
726
726
|
* @default 'dark'
|
|
727
727
|
*/
|
|
728
728
|
"color": 'primary' | 'light' | 'dark';
|
|
@@ -731,7 +731,7 @@ export namespace Components {
|
|
|
731
731
|
*/
|
|
732
732
|
"date": string;
|
|
733
733
|
/**
|
|
734
|
-
* The digits
|
|
734
|
+
* The language/format for displaying digits. 'en' for English numerals, 'auto' for localized numerals. Default is 'auto'.
|
|
735
735
|
* @default 'auto'
|
|
736
736
|
*/
|
|
737
737
|
"digits": 'en' | 'auto';
|
|
@@ -740,11 +740,11 @@ export namespace Components {
|
|
|
740
740
|
*/
|
|
741
741
|
"endCountDown": () => Promise<void>;
|
|
742
742
|
/**
|
|
743
|
-
*
|
|
743
|
+
* Whether to set the countdown end time to the end of the specified day (23:59:59). Default is false.
|
|
744
744
|
*/
|
|
745
745
|
"endOfDay": boolean;
|
|
746
746
|
/**
|
|
747
|
-
*
|
|
747
|
+
* Custom text to display when the countdown ends. If not provided, uses the default localized message.
|
|
748
748
|
*/
|
|
749
749
|
"endText": string;
|
|
750
750
|
/**
|
|
@@ -752,7 +752,7 @@ export namespace Components {
|
|
|
752
752
|
*/
|
|
753
753
|
"horizontal"?: boolean;
|
|
754
754
|
/**
|
|
755
|
-
*
|
|
755
|
+
* Whether to show labels (day, hour, minute, second) below each countdown number. Default is false.
|
|
756
756
|
*/
|
|
757
757
|
"labeled": boolean;
|
|
758
758
|
/**
|
|
@@ -768,7 +768,7 @@ export namespace Components {
|
|
|
768
768
|
*/
|
|
769
769
|
"prefixText"?: string;
|
|
770
770
|
/**
|
|
771
|
-
* The size of the
|
|
771
|
+
* The size of the countdown display. Can be 'sm', 'md', or 'lg'. Default is 'md'.
|
|
772
772
|
* @default 'md'
|
|
773
773
|
*/
|
|
774
774
|
"size": 'sm' | 'md' | 'lg';
|
|
@@ -777,6 +777,10 @@ export namespace Components {
|
|
|
777
777
|
*/
|
|
778
778
|
"withButton"?: boolean;
|
|
779
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* The `salla-custom-fields` component renders custom form fields with validation support.
|
|
782
|
+
* Supports text and file upload fields with real-time validation.
|
|
783
|
+
*/
|
|
780
784
|
interface SallaCustomFields {
|
|
781
785
|
/**
|
|
782
786
|
* The list of custom fields to render. Can be a JSON string or an array of objects.
|
|
@@ -1407,7 +1411,7 @@ export namespace Components {
|
|
|
1407
1411
|
*/
|
|
1408
1412
|
"applyFilters": () => Promise<void>;
|
|
1409
1413
|
/**
|
|
1410
|
-
* Array of filter options
|
|
1414
|
+
* Array of filter options to display. Each filter contains key, label, type, and values for filtering products.
|
|
1411
1415
|
*/
|
|
1412
1416
|
"filters"?: Filter[];
|
|
1413
1417
|
/**
|
|
@@ -1524,6 +1528,10 @@ export namespace Components {
|
|
|
1524
1528
|
*/
|
|
1525
1529
|
"widgetTitle": string;
|
|
1526
1530
|
}
|
|
1531
|
+
/**
|
|
1532
|
+
* The `salla-hook` component serves as a placeholder for dynamic content injection.
|
|
1533
|
+
* Used by the Salla hooks system to mount elements at specific locations.
|
|
1534
|
+
*/
|
|
1527
1535
|
interface SallaHook {
|
|
1528
1536
|
/**
|
|
1529
1537
|
* Mounts a given HTML element into the hook position.
|
|
@@ -2349,7 +2357,7 @@ export namespace Components {
|
|
|
2349
2357
|
}
|
|
2350
2358
|
interface SallaProductCard {
|
|
2351
2359
|
/**
|
|
2352
|
-
*
|
|
2360
|
+
* Whether to use a compact card layout suitable for drawers and lists. Default is false.
|
|
2353
2361
|
*/
|
|
2354
2362
|
"compact": boolean;
|
|
2355
2363
|
/**
|
|
@@ -2363,31 +2371,31 @@ export namespace Components {
|
|
|
2363
2371
|
*/
|
|
2364
2372
|
"forceShowWishlistButton": boolean;
|
|
2365
2373
|
/**
|
|
2366
|
-
*
|
|
2374
|
+
* Whether to use a full-image card style where the image covers the entire card. Default is false.
|
|
2367
2375
|
*/
|
|
2368
2376
|
"fullImage": boolean;
|
|
2369
2377
|
/**
|
|
2370
|
-
*
|
|
2378
|
+
* Whether to hide the "Add to Cart" button. Default is false (button is shown).
|
|
2371
2379
|
*/
|
|
2372
2380
|
"hideAddBtn": boolean;
|
|
2373
2381
|
/**
|
|
2374
|
-
*
|
|
2382
|
+
* Whether to display the card in horizontal (landscape) layout. Default is false (vertical layout).
|
|
2375
2383
|
*/
|
|
2376
2384
|
"horizontal": boolean;
|
|
2377
2385
|
/**
|
|
2378
|
-
*
|
|
2386
|
+
* Whether this is a special/featured product card with additional styling (like quantity pie chart). Default is false.
|
|
2379
2387
|
*/
|
|
2380
2388
|
"isSpecial": boolean;
|
|
2381
2389
|
/**
|
|
2382
|
-
*
|
|
2390
|
+
* Whether to use a minimal card style with reduced information. Default is false.
|
|
2383
2391
|
*/
|
|
2384
2392
|
"minimal": boolean;
|
|
2385
2393
|
/**
|
|
2386
|
-
*
|
|
2394
|
+
* The product data to display. Can be a JSON string or a product object containing id, name, image, price, etc.
|
|
2387
2395
|
*/
|
|
2388
2396
|
"product": string | object;
|
|
2389
2397
|
/**
|
|
2390
|
-
*
|
|
2398
|
+
* Whether to add a shadow effect on hover. Default is false.
|
|
2391
2399
|
*/
|
|
2392
2400
|
"shadowOnHover": boolean;
|
|
2393
2401
|
/**
|
|
@@ -2396,7 +2404,7 @@ export namespace Components {
|
|
|
2396
2404
|
*/
|
|
2397
2405
|
"showOutOfStockBesidePrice": boolean;
|
|
2398
2406
|
/**
|
|
2399
|
-
*
|
|
2407
|
+
* Whether to show the product quantity in a badge. Default is false.
|
|
2400
2408
|
*/
|
|
2401
2409
|
"showQuantity": boolean;
|
|
2402
2410
|
}
|
|
@@ -2894,7 +2902,7 @@ export namespace Components {
|
|
|
2894
2902
|
}
|
|
2895
2903
|
interface SallaRatingStars {
|
|
2896
2904
|
/**
|
|
2897
|
-
*
|
|
2905
|
+
* Whether the rating is interactive/editable by the user. Default is false (display-only).
|
|
2898
2906
|
* @default false
|
|
2899
2907
|
*/
|
|
2900
2908
|
"editable": boolean;
|
|
@@ -2904,17 +2912,17 @@ export namespace Components {
|
|
|
2904
2912
|
*/
|
|
2905
2913
|
"labelBeforeStars": boolean;
|
|
2906
2914
|
/**
|
|
2907
|
-
*
|
|
2915
|
+
* The name attribute for the rating input (used in forms). Default is 'rating'.
|
|
2908
2916
|
* @default 'rating'
|
|
2909
2917
|
*/
|
|
2910
2918
|
"name": string;
|
|
2911
2919
|
/**
|
|
2912
|
-
*
|
|
2920
|
+
* The number of reviews to display next to the stars. Default is 0 (hidden).
|
|
2913
2921
|
* @default 0
|
|
2914
2922
|
*/
|
|
2915
2923
|
"reviews": number;
|
|
2916
2924
|
/**
|
|
2917
|
-
*
|
|
2925
|
+
* The size of the star icons. Can be 'large', 'medium', 'small', or 'mini'. Default is 'medium'.
|
|
2918
2926
|
* @default 'medium'
|
|
2919
2927
|
*/
|
|
2920
2928
|
"size": "large" | "medium" | "small" | "mini";
|
|
@@ -2923,14 +2931,18 @@ export namespace Components {
|
|
|
2923
2931
|
*/
|
|
2924
2932
|
"tag": boolean;
|
|
2925
2933
|
/**
|
|
2926
|
-
* The rating value.
|
|
2934
|
+
* The current rating value (0-5). Used to display filled stars.
|
|
2927
2935
|
*/
|
|
2928
2936
|
"value": number;
|
|
2929
2937
|
/**
|
|
2930
|
-
*
|
|
2938
|
+
* Whether to show a descriptive label (e.g., "Excellent", "Good") next to the rating. Default is false.
|
|
2931
2939
|
*/
|
|
2932
2940
|
"withLabel": boolean;
|
|
2933
2941
|
}
|
|
2942
|
+
/**
|
|
2943
|
+
* The `salla-review-card` component displays a product review with images, ratings, and product info.
|
|
2944
|
+
* Supports image carousel with swipe gestures.
|
|
2945
|
+
*/
|
|
2934
2946
|
interface SallaReviewCard {
|
|
2935
2947
|
/**
|
|
2936
2948
|
* The review object to render, containing review text, stars, product info, and images.
|
|
@@ -3176,17 +3188,17 @@ export namespace Components {
|
|
|
3176
3188
|
}
|
|
3177
3189
|
interface SallaSkeleton {
|
|
3178
3190
|
/**
|
|
3179
|
-
*
|
|
3191
|
+
* The height of the skeleton. Can be any CSS height value (e.g., '100%', '50px', '2rem'). Default is '100%'.
|
|
3180
3192
|
* @default '100%'
|
|
3181
3193
|
*/
|
|
3182
3194
|
"height": string;
|
|
3183
3195
|
/**
|
|
3184
|
-
*
|
|
3196
|
+
* The shape type of the skeleton. 'circle' for circular skeletons (e.g., avatars), 'normal' for rectangular shapes. Default is 'normal'.
|
|
3185
3197
|
* @default 'normal'
|
|
3186
3198
|
*/
|
|
3187
3199
|
"type": 'circle' | 'normal';
|
|
3188
3200
|
/**
|
|
3189
|
-
*
|
|
3201
|
+
* The width of the skeleton. Can be any CSS width value (e.g., '100%', '50px', '2rem'). Default is '100%'.
|
|
3190
3202
|
* @default '100%'
|
|
3191
3203
|
*/
|
|
3192
3204
|
"width": string;
|
|
@@ -4203,6 +4215,10 @@ declare global {
|
|
|
4203
4215
|
isValid: boolean;
|
|
4204
4216
|
};
|
|
4205
4217
|
}
|
|
4218
|
+
/**
|
|
4219
|
+
* The `salla-custom-fields` component renders custom form fields with validation support.
|
|
4220
|
+
* Supports text and file upload fields with real-time validation.
|
|
4221
|
+
*/
|
|
4206
4222
|
interface HTMLSallaCustomFieldsElement extends Components.SallaCustomFields, HTMLStencilElement {
|
|
4207
4223
|
addEventListener<K extends keyof HTMLSallaCustomFieldsElementEventMap>(type: K, listener: (this: HTMLSallaCustomFieldsElement, ev: SallaCustomFieldsCustomEvent<HTMLSallaCustomFieldsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4208
4224
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4379,6 +4395,10 @@ declare global {
|
|
|
4379
4395
|
prototype: HTMLSallaGiftingElement;
|
|
4380
4396
|
new (): HTMLSallaGiftingElement;
|
|
4381
4397
|
};
|
|
4398
|
+
/**
|
|
4399
|
+
* The `salla-hook` component serves as a placeholder for dynamic content injection.
|
|
4400
|
+
* Used by the Salla hooks system to mount elements at specific locations.
|
|
4401
|
+
*/
|
|
4382
4402
|
interface HTMLSallaHookElement extends Components.SallaHook, HTMLStencilElement {
|
|
4383
4403
|
}
|
|
4384
4404
|
var HTMLSallaHookElement: {
|
|
@@ -5033,6 +5053,10 @@ declare global {
|
|
|
5033
5053
|
prototype: HTMLSallaRatingStarsElement;
|
|
5034
5054
|
new (): HTMLSallaRatingStarsElement;
|
|
5035
5055
|
};
|
|
5056
|
+
/**
|
|
5057
|
+
* The `salla-review-card` component displays a product review with images, ratings, and product info.
|
|
5058
|
+
* Supports image carousel with swipe gestures.
|
|
5059
|
+
*/
|
|
5036
5060
|
interface HTMLSallaReviewCardElement extends Components.SallaReviewCard, HTMLStencilElement {
|
|
5037
5061
|
}
|
|
5038
5062
|
var HTMLSallaReviewCardElement: {
|
|
@@ -5651,15 +5675,15 @@ declare namespace LocalJSX {
|
|
|
5651
5675
|
}
|
|
5652
5676
|
interface SallaAlert {
|
|
5653
5677
|
/**
|
|
5654
|
-
*
|
|
5678
|
+
* The icon type to display. Defaults to the variant type. Set to 'none' to hide the icon.
|
|
5655
5679
|
*/
|
|
5656
5680
|
"icon"?: 'info' | 'success' | 'warning' | 'error' | 'none';
|
|
5657
5681
|
/**
|
|
5658
|
-
*
|
|
5682
|
+
* The alert message text to display.
|
|
5659
5683
|
*/
|
|
5660
5684
|
"message"?: string;
|
|
5661
5685
|
/**
|
|
5662
|
-
*
|
|
5686
|
+
* The visual style/theme of the alert. Can be 'info', 'success', 'warning', or 'error'. Default is 'info'.
|
|
5663
5687
|
* @default 'info'
|
|
5664
5688
|
*/
|
|
5665
5689
|
"variant"?: 'info' | 'success' | 'warning' | 'error';
|
|
@@ -5861,12 +5885,12 @@ declare namespace LocalJSX {
|
|
|
5861
5885
|
}
|
|
5862
5886
|
interface SallaButton {
|
|
5863
5887
|
/**
|
|
5864
|
-
*
|
|
5888
|
+
* The color theme of the button. Available options: 'primary', 'success', 'warning', 'danger', 'light', 'gray', 'dark'. Default is 'primary'.
|
|
5865
5889
|
* @default 'primary'
|
|
5866
5890
|
*/
|
|
5867
5891
|
"color"?: 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'gray' | 'dark';
|
|
5868
5892
|
/**
|
|
5869
|
-
*
|
|
5893
|
+
* Disables the button, preventing user interaction. Default is false.
|
|
5870
5894
|
* @default false
|
|
5871
5895
|
*/
|
|
5872
5896
|
"disabled"?: boolean;
|
|
@@ -5876,41 +5900,41 @@ declare namespace LocalJSX {
|
|
|
5876
5900
|
*/
|
|
5877
5901
|
"enableLoader"?: boolean;
|
|
5878
5902
|
/**
|
|
5879
|
-
*
|
|
5903
|
+
* The fill style of the button. 'solid' (filled background), 'outline' (bordered, transparent background), or 'none'. Default is 'solid'.
|
|
5880
5904
|
* @default 'solid'
|
|
5881
5905
|
*/
|
|
5882
5906
|
"fill"?: 'solid' | 'outline' | 'none';
|
|
5883
5907
|
/**
|
|
5884
|
-
*
|
|
5908
|
+
* When provided, renders the button as an anchor (`<a>`) element with this URL.
|
|
5885
5909
|
*/
|
|
5886
5910
|
"href"?: string;
|
|
5887
5911
|
/**
|
|
5888
|
-
*
|
|
5912
|
+
* Position of the loading spinner. Can be 'start', 'end', 'center', or 'after' (after the button text). Default is 'after'.
|
|
5889
5913
|
* @default 'after'
|
|
5890
5914
|
*/
|
|
5891
5915
|
"loaderPosition"?: 'start' | 'end' | 'center' | 'after';
|
|
5892
5916
|
/**
|
|
5893
|
-
*
|
|
5917
|
+
* Shows a loading spinner on the button. Default is false.
|
|
5894
5918
|
* @default false
|
|
5895
5919
|
*/
|
|
5896
5920
|
"loading"?: boolean;
|
|
5897
5921
|
/**
|
|
5898
|
-
*
|
|
5922
|
+
* The shape/variant of the button. Can be 'link' (text-only style), 'icon' (circular icon button), or 'btn' (standard button). Default is 'btn'.
|
|
5899
5923
|
* @default 'btn'
|
|
5900
5924
|
*/
|
|
5901
5925
|
"shape"?: 'link' | 'icon' | 'btn';
|
|
5902
5926
|
/**
|
|
5903
|
-
*
|
|
5927
|
+
* The size of the button. Can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
5904
5928
|
* @default 'medium'
|
|
5905
5929
|
*/
|
|
5906
5930
|
"size"?: 'small' | 'large' | 'medium';
|
|
5907
5931
|
/**
|
|
5908
|
-
*
|
|
5932
|
+
* The HTML type attribute for the button. 'button' (default, general-purpose), 'submit' (submits forms), or 'reset' (resets form fields).
|
|
5909
5933
|
* @default "button"
|
|
5910
5934
|
*/
|
|
5911
5935
|
"type"?: string;
|
|
5912
5936
|
/**
|
|
5913
|
-
*
|
|
5937
|
+
* The width of the button. 'wide' makes the button full-width, 'normal' uses auto width. Default is 'normal'.
|
|
5914
5938
|
* @default 'normal'
|
|
5915
5939
|
*/
|
|
5916
5940
|
"width"?: 'wide' | 'normal';
|
|
@@ -5937,7 +5961,7 @@ declare namespace LocalJSX {
|
|
|
5937
5961
|
}
|
|
5938
5962
|
interface SallaCartSummary {
|
|
5939
5963
|
/**
|
|
5940
|
-
*
|
|
5964
|
+
* Whether to show the cart label text alongside the cart icon. Default is false (icon only).
|
|
5941
5965
|
*/
|
|
5942
5966
|
"showCartLabel"?: boolean;
|
|
5943
5967
|
}
|
|
@@ -6144,7 +6168,7 @@ declare namespace LocalJSX {
|
|
|
6144
6168
|
*/
|
|
6145
6169
|
"boxTheme"?: string;
|
|
6146
6170
|
/**
|
|
6147
|
-
*
|
|
6171
|
+
* Whether to display countdown numbers in boxed containers. Default is false.
|
|
6148
6172
|
*/
|
|
6149
6173
|
"boxed"?: boolean;
|
|
6150
6174
|
/**
|
|
@@ -6160,7 +6184,7 @@ declare namespace LocalJSX {
|
|
|
6160
6184
|
*/
|
|
6161
6185
|
"buttonText"?: string;
|
|
6162
6186
|
/**
|
|
6163
|
-
* The color of the
|
|
6187
|
+
* The color theme of the countdown. Can be 'primary', 'light', or 'dark'. Default is 'dark'.
|
|
6164
6188
|
* @default 'dark'
|
|
6165
6189
|
*/
|
|
6166
6190
|
"color"?: 'primary' | 'light' | 'dark';
|
|
@@ -6169,16 +6193,16 @@ declare namespace LocalJSX {
|
|
|
6169
6193
|
*/
|
|
6170
6194
|
"date"?: string;
|
|
6171
6195
|
/**
|
|
6172
|
-
* The digits
|
|
6196
|
+
* The language/format for displaying digits. 'en' for English numerals, 'auto' for localized numerals. Default is 'auto'.
|
|
6173
6197
|
* @default 'auto'
|
|
6174
6198
|
*/
|
|
6175
6199
|
"digits"?: 'en' | 'auto';
|
|
6176
6200
|
/**
|
|
6177
|
-
*
|
|
6201
|
+
* Whether to set the countdown end time to the end of the specified day (23:59:59). Default is false.
|
|
6178
6202
|
*/
|
|
6179
6203
|
"endOfDay"?: boolean;
|
|
6180
6204
|
/**
|
|
6181
|
-
*
|
|
6205
|
+
* Custom text to display when the countdown ends. If not provided, uses the default localized message.
|
|
6182
6206
|
*/
|
|
6183
6207
|
"endText"?: string;
|
|
6184
6208
|
/**
|
|
@@ -6186,7 +6210,7 @@ declare namespace LocalJSX {
|
|
|
6186
6210
|
*/
|
|
6187
6211
|
"horizontal"?: boolean;
|
|
6188
6212
|
/**
|
|
6189
|
-
*
|
|
6213
|
+
* Whether to show labels (day, hour, minute, second) below each countdown number. Default is false.
|
|
6190
6214
|
*/
|
|
6191
6215
|
"labeled"?: boolean;
|
|
6192
6216
|
/**
|
|
@@ -6202,7 +6226,7 @@ declare namespace LocalJSX {
|
|
|
6202
6226
|
*/
|
|
6203
6227
|
"prefixText"?: string;
|
|
6204
6228
|
/**
|
|
6205
|
-
* The size of the
|
|
6229
|
+
* The size of the countdown display. Can be 'sm', 'md', or 'lg'. Default is 'md'.
|
|
6206
6230
|
* @default 'md'
|
|
6207
6231
|
*/
|
|
6208
6232
|
"size"?: 'sm' | 'md' | 'lg';
|
|
@@ -6211,6 +6235,10 @@ declare namespace LocalJSX {
|
|
|
6211
6235
|
*/
|
|
6212
6236
|
"withButton"?: boolean;
|
|
6213
6237
|
}
|
|
6238
|
+
/**
|
|
6239
|
+
* The `salla-custom-fields` component renders custom form fields with validation support.
|
|
6240
|
+
* Supports text and file upload fields with real-time validation.
|
|
6241
|
+
*/
|
|
6214
6242
|
interface SallaCustomFields {
|
|
6215
6243
|
/**
|
|
6216
6244
|
* The list of custom fields to render. Can be a JSON string or an array of objects.
|
|
@@ -6853,7 +6881,7 @@ declare namespace LocalJSX {
|
|
|
6853
6881
|
}
|
|
6854
6882
|
interface SallaFilters {
|
|
6855
6883
|
/**
|
|
6856
|
-
* Array of filter options
|
|
6884
|
+
* Array of filter options to display. Each filter contains key, label, type, and values for filtering products.
|
|
6857
6885
|
*/
|
|
6858
6886
|
"filters"?: Filter[];
|
|
6859
6887
|
/**
|
|
@@ -6939,6 +6967,10 @@ declare namespace LocalJSX {
|
|
|
6939
6967
|
*/
|
|
6940
6968
|
"widgetTitle"?: string;
|
|
6941
6969
|
}
|
|
6970
|
+
/**
|
|
6971
|
+
* The `salla-hook` component serves as a placeholder for dynamic content injection.
|
|
6972
|
+
* Used by the Salla hooks system to mount elements at specific locations.
|
|
6973
|
+
*/
|
|
6942
6974
|
interface SallaHook {
|
|
6943
6975
|
/**
|
|
6944
6976
|
* The unique name to identify the hook position.
|
|
@@ -7750,7 +7782,7 @@ declare namespace LocalJSX {
|
|
|
7750
7782
|
}
|
|
7751
7783
|
interface SallaProductCard {
|
|
7752
7784
|
/**
|
|
7753
|
-
*
|
|
7785
|
+
* Whether to use a compact card layout suitable for drawers and lists. Default is false.
|
|
7754
7786
|
*/
|
|
7755
7787
|
"compact"?: boolean;
|
|
7756
7788
|
/**
|
|
@@ -7764,31 +7796,31 @@ declare namespace LocalJSX {
|
|
|
7764
7796
|
*/
|
|
7765
7797
|
"forceShowWishlistButton"?: boolean;
|
|
7766
7798
|
/**
|
|
7767
|
-
*
|
|
7799
|
+
* Whether to use a full-image card style where the image covers the entire card. Default is false.
|
|
7768
7800
|
*/
|
|
7769
7801
|
"fullImage"?: boolean;
|
|
7770
7802
|
/**
|
|
7771
|
-
*
|
|
7803
|
+
* Whether to hide the "Add to Cart" button. Default is false (button is shown).
|
|
7772
7804
|
*/
|
|
7773
7805
|
"hideAddBtn"?: boolean;
|
|
7774
7806
|
/**
|
|
7775
|
-
*
|
|
7807
|
+
* Whether to display the card in horizontal (landscape) layout. Default is false (vertical layout).
|
|
7776
7808
|
*/
|
|
7777
7809
|
"horizontal"?: boolean;
|
|
7778
7810
|
/**
|
|
7779
|
-
*
|
|
7811
|
+
* Whether this is a special/featured product card with additional styling (like quantity pie chart). Default is false.
|
|
7780
7812
|
*/
|
|
7781
7813
|
"isSpecial"?: boolean;
|
|
7782
7814
|
/**
|
|
7783
|
-
*
|
|
7815
|
+
* Whether to use a minimal card style with reduced information. Default is false.
|
|
7784
7816
|
*/
|
|
7785
7817
|
"minimal"?: boolean;
|
|
7786
7818
|
/**
|
|
7787
|
-
*
|
|
7819
|
+
* The product data to display. Can be a JSON string or a product object containing id, name, image, price, etc.
|
|
7788
7820
|
*/
|
|
7789
7821
|
"product"?: string | object;
|
|
7790
7822
|
/**
|
|
7791
|
-
*
|
|
7823
|
+
* Whether to add a shadow effect on hover. Default is false.
|
|
7792
7824
|
*/
|
|
7793
7825
|
"shadowOnHover"?: boolean;
|
|
7794
7826
|
/**
|
|
@@ -7797,7 +7829,7 @@ declare namespace LocalJSX {
|
|
|
7797
7829
|
*/
|
|
7798
7830
|
"showOutOfStockBesidePrice"?: boolean;
|
|
7799
7831
|
/**
|
|
7800
|
-
*
|
|
7832
|
+
* Whether to show the product quantity in a badge. Default is false.
|
|
7801
7833
|
*/
|
|
7802
7834
|
"showQuantity"?: boolean;
|
|
7803
7835
|
}
|
|
@@ -8199,7 +8231,7 @@ declare namespace LocalJSX {
|
|
|
8199
8231
|
}
|
|
8200
8232
|
interface SallaRatingStars {
|
|
8201
8233
|
/**
|
|
8202
|
-
*
|
|
8234
|
+
* Whether the rating is interactive/editable by the user. Default is false (display-only).
|
|
8203
8235
|
* @default false
|
|
8204
8236
|
*/
|
|
8205
8237
|
"editable"?: boolean;
|
|
@@ -8209,17 +8241,17 @@ declare namespace LocalJSX {
|
|
|
8209
8241
|
*/
|
|
8210
8242
|
"labelBeforeStars"?: boolean;
|
|
8211
8243
|
/**
|
|
8212
|
-
*
|
|
8244
|
+
* The name attribute for the rating input (used in forms). Default is 'rating'.
|
|
8213
8245
|
* @default 'rating'
|
|
8214
8246
|
*/
|
|
8215
8247
|
"name"?: string;
|
|
8216
8248
|
/**
|
|
8217
|
-
*
|
|
8249
|
+
* The number of reviews to display next to the stars. Default is 0 (hidden).
|
|
8218
8250
|
* @default 0
|
|
8219
8251
|
*/
|
|
8220
8252
|
"reviews"?: number;
|
|
8221
8253
|
/**
|
|
8222
|
-
*
|
|
8254
|
+
* The size of the star icons. Can be 'large', 'medium', 'small', or 'mini'. Default is 'medium'.
|
|
8223
8255
|
* @default 'medium'
|
|
8224
8256
|
*/
|
|
8225
8257
|
"size"?: "large" | "medium" | "small" | "mini";
|
|
@@ -8228,14 +8260,18 @@ declare namespace LocalJSX {
|
|
|
8228
8260
|
*/
|
|
8229
8261
|
"tag"?: boolean;
|
|
8230
8262
|
/**
|
|
8231
|
-
* The rating value.
|
|
8263
|
+
* The current rating value (0-5). Used to display filled stars.
|
|
8232
8264
|
*/
|
|
8233
8265
|
"value"?: number;
|
|
8234
8266
|
/**
|
|
8235
|
-
*
|
|
8267
|
+
* Whether to show a descriptive label (e.g., "Excellent", "Good") next to the rating. Default is false.
|
|
8236
8268
|
*/
|
|
8237
8269
|
"withLabel"?: boolean;
|
|
8238
8270
|
}
|
|
8271
|
+
/**
|
|
8272
|
+
* The `salla-review-card` component displays a product review with images, ratings, and product info.
|
|
8273
|
+
* Supports image carousel with swipe gestures.
|
|
8274
|
+
*/
|
|
8239
8275
|
interface SallaReviewCard {
|
|
8240
8276
|
/**
|
|
8241
8277
|
* The review object to render, containing review text, stars, product info, and images.
|
|
@@ -8484,17 +8520,17 @@ declare namespace LocalJSX {
|
|
|
8484
8520
|
}
|
|
8485
8521
|
interface SallaSkeleton {
|
|
8486
8522
|
/**
|
|
8487
|
-
*
|
|
8523
|
+
* The height of the skeleton. Can be any CSS height value (e.g., '100%', '50px', '2rem'). Default is '100%'.
|
|
8488
8524
|
* @default '100%'
|
|
8489
8525
|
*/
|
|
8490
8526
|
"height"?: string;
|
|
8491
8527
|
/**
|
|
8492
|
-
*
|
|
8528
|
+
* The shape type of the skeleton. 'circle' for circular skeletons (e.g., avatars), 'normal' for rectangular shapes. Default is 'normal'.
|
|
8493
8529
|
* @default 'normal'
|
|
8494
8530
|
*/
|
|
8495
8531
|
"type"?: 'circle' | 'normal';
|
|
8496
8532
|
/**
|
|
8497
|
-
*
|
|
8533
|
+
* The width of the skeleton. Can be any CSS width value (e.g., '100%', '50px', '2rem'). Default is '100%'.
|
|
8498
8534
|
* @default '100%'
|
|
8499
8535
|
*/
|
|
8500
8536
|
"width"?: string;
|
|
@@ -9155,6 +9191,10 @@ declare module "@stencil/core" {
|
|
|
9155
9191
|
"salla-contacts": LocalJSX.SallaContacts & JSXBase.HTMLAttributes<HTMLSallaContactsElement>;
|
|
9156
9192
|
"salla-cookies-bar": LocalJSX.SallaCookiesBar & JSXBase.HTMLAttributes<HTMLSallaCookiesBarElement>;
|
|
9157
9193
|
"salla-count-down": LocalJSX.SallaCountDown & JSXBase.HTMLAttributes<HTMLSallaCountDownElement>;
|
|
9194
|
+
/**
|
|
9195
|
+
* The `salla-custom-fields` component renders custom form fields with validation support.
|
|
9196
|
+
* Supports text and file upload fields with real-time validation.
|
|
9197
|
+
*/
|
|
9158
9198
|
"salla-custom-fields": LocalJSX.SallaCustomFields & JSXBase.HTMLAttributes<HTMLSallaCustomFieldsElement>;
|
|
9159
9199
|
"salla-datetime-picker": LocalJSX.SallaDatetimePicker & JSXBase.HTMLAttributes<HTMLSallaDatetimePickerElement>;
|
|
9160
9200
|
/**
|
|
@@ -9192,6 +9232,10 @@ declare module "@stencil/core" {
|
|
|
9192
9232
|
*/
|
|
9193
9233
|
"salla-gift-card-redeem": LocalJSX.SallaGiftCardRedeem & JSXBase.HTMLAttributes<HTMLSallaGiftCardRedeemElement>;
|
|
9194
9234
|
"salla-gifting": LocalJSX.SallaGifting & JSXBase.HTMLAttributes<HTMLSallaGiftingElement>;
|
|
9235
|
+
/**
|
|
9236
|
+
* The `salla-hook` component serves as a placeholder for dynamic content injection.
|
|
9237
|
+
* Used by the Salla hooks system to mount elements at specific locations.
|
|
9238
|
+
*/
|
|
9195
9239
|
"salla-hook": LocalJSX.SallaHook & JSXBase.HTMLAttributes<HTMLSallaHookElement>;
|
|
9196
9240
|
"salla-infinite-scroll": LocalJSX.SallaInfiniteScroll & JSXBase.HTMLAttributes<HTMLSallaInfiniteScrollElement>;
|
|
9197
9241
|
"salla-installment": LocalJSX.SallaInstallment & JSXBase.HTMLAttributes<HTMLSallaInstallmentElement>;
|
|
@@ -9345,6 +9389,10 @@ declare module "@stencil/core" {
|
|
|
9345
9389
|
"salla-rating-modal": LocalJSX.SallaRatingModal & JSXBase.HTMLAttributes<HTMLSallaRatingModalElement>;
|
|
9346
9390
|
"salla-rating-modal-v2": LocalJSX.SallaRatingModalV2 & JSXBase.HTMLAttributes<HTMLSallaRatingModalV2Element>;
|
|
9347
9391
|
"salla-rating-stars": LocalJSX.SallaRatingStars & JSXBase.HTMLAttributes<HTMLSallaRatingStarsElement>;
|
|
9392
|
+
/**
|
|
9393
|
+
* The `salla-review-card` component displays a product review with images, ratings, and product info.
|
|
9394
|
+
* Supports image carousel with swipe gestures.
|
|
9395
|
+
*/
|
|
9348
9396
|
"salla-review-card": LocalJSX.SallaReviewCard & JSXBase.HTMLAttributes<HTMLSallaReviewCardElement>;
|
|
9349
9397
|
"salla-review-factors-tags": LocalJSX.SallaReviewFactorsTags & JSXBase.HTMLAttributes<HTMLSallaReviewFactorsTagsElement>;
|
|
9350
9398
|
"salla-review-order-item": LocalJSX.SallaReviewOrderItem & JSXBase.HTMLAttributes<HTMLSallaReviewOrderItemElement>;
|