@salla.sa/twilight-components 2.14.514 → 2.14.516
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-BrMz9lwQ.js → filepond-BVk_qugj.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CXLsx8it.js → filepond-plugin-file-poster-CevD4HdD.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-mSUTf-UR.js → filepond-plugin-file-validate-size-i7np7XCz.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CPCUe4I9.js → filepond-plugin-file-validate-type-Gacna2VA.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-DCJZTAIe.js → filepond-plugin-image-edit-0x2DeM-H.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-B6tPPpp4.js → filepond-plugin-image-exif-orientation-Dmm3eMMZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DSdtEzNX.js → filepond-plugin-image-preview-BSb1jOWO.js} +1 -1
- package/dist/cjs/{functions-DVR8KL8Z.js → functions-DfrV6G5_.js} +1 -1
- package/dist/cjs/{index-B1gojaKP.js → index-B6RWhkkR.js} +6 -2
- package/dist/cjs/{index-DbnRXAWJ.js → index-J4xGG6Hq.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 +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +17 -4
- 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_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-exchange-product-card_5.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-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-shipments.cjs.entry.js +76 -0
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +32 -2
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-Co7zKJiC.js → tracked-promise-DfLohMkv.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-eIkf_cyq.js → vanilla-picker-FxKjXhjJ.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/salla-cart-summary-card/salla-cart-summary-card.js +16 -3
- package/dist/collection/components/salla-order-shipments/interfaces.js +1 -0
- package/dist/collection/components/salla-order-shipments/salla-order-shipments.css +3 -0
- package/dist/collection/components/salla-order-shipments/salla-order-shipments.js +115 -0
- package/dist/collection/components/salla-user-menu/salla-user-menu.js +33 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-summary-card.js +16 -3
- package/dist/components/salla-order-shipments.d.ts +11 -0
- package/dist/components/salla-order-shipments.js +97 -0
- package/dist/components/salla-user-menu.js +33 -1
- package/dist/esm/{filepond-CuccuSQc.js → filepond-Bk0gHKob.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster--NsZeC2o.js → filepond-plugin-file-poster-YSUKdGOX.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Bkbx98ju.js → filepond-plugin-file-validate-size-pjLAQAWV.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DTdnbkr6.js → filepond-plugin-file-validate-type-DrrN5Zs4.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-Cl4KCy_a.js → filepond-plugin-image-edit-CWWdz9kB.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-C8MwhzVz.js → filepond-plugin-image-exif-orientation-gUQtWcgV.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DsaHYKNd.js → filepond-plugin-image-preview-D5Nm8BIl.js} +1 -1
- package/dist/esm/{functions-MpYGQOQD.js → functions-BWx2LhvF.js} +1 -1
- package/dist/esm/{index-Crijf68j.js → index-CDoLIl29.js} +6 -2
- package/dist/esm/{index-BzdDNQAg.js → index-CqOF4yoZ.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 +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cart-summary-card.entry.js +17 -4
- 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_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down_2.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-exchange-product-card_5.entry.js +3 -3
- package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_2.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-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-shipments.entry.js +74 -0
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +1 -1
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +32 -2
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/{tracked-promise-2_p0LVES.js → tracked-promise-B3rJfj6D.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-kYXU8Uvu.js → vanilla-picker-B0XMZPNF.js} +1 -1
- package/dist/twilight/{p-0de6624b.entry.js → p-029acfba.entry.js} +1 -1
- package/dist/twilight/{p-76f91b56.entry.js → p-0414245a.entry.js} +1 -1
- package/dist/twilight/{p-95c4740b.entry.js → p-073ae9d0.entry.js} +1 -1
- package/dist/twilight/{p-455eb768.entry.js → p-08dce1ce.entry.js} +1 -1
- package/dist/twilight/{p-5ab98967.entry.js → p-0a441ec3.entry.js} +1 -1
- package/dist/twilight/{p-772867ce.entry.js → p-0a6e70de.entry.js} +1 -1
- package/dist/twilight/{p-087c9b34.entry.js → p-0b8bc1b8.entry.js} +1 -1
- package/dist/twilight/{p-be0c7a2c.entry.js → p-0e143834.entry.js} +1 -1
- package/dist/twilight/{p-e1c914a2.entry.js → p-0f54049f.entry.js} +1 -1
- package/dist/twilight/{p-aed022fb.entry.js → p-133422b1.entry.js} +1 -1
- package/dist/twilight/{p-4ef1d5a2.entry.js → p-1351493b.entry.js} +1 -1
- package/dist/twilight/{p-1e488c9d.entry.js → p-1505d5c0.entry.js} +1 -1
- package/dist/twilight/{p-1734962f.entry.js → p-153729e1.entry.js} +1 -1
- package/dist/twilight/{p-b4dc0e25.entry.js → p-185da5d3.entry.js} +1 -1
- package/dist/twilight/{p-3c47611b.entry.js → p-1a40876f.entry.js} +1 -1
- package/dist/twilight/{p-3aa8cb71.entry.js → p-1cac4e8c.entry.js} +1 -1
- package/dist/twilight/{p-63689f46.entry.js → p-22ac4488.entry.js} +1 -1
- package/dist/twilight/{p-21baa6de.entry.js → p-295e29ba.entry.js} +1 -1
- package/dist/twilight/{p-d3ecdf0c.entry.js → p-2a5baa1c.entry.js} +1 -1
- package/dist/twilight/{p-21522361.entry.js → p-2d97e204.entry.js} +1 -1
- package/dist/twilight/{p-200a53c6.entry.js → p-2df8a90f.entry.js} +1 -1
- package/dist/twilight/{p-efbfe361.entry.js → p-2e0c4aba.entry.js} +1 -1
- package/dist/twilight/{p-a62c906d.entry.js → p-3081cb55.entry.js} +1 -1
- package/dist/twilight/{p-8370fbc8.entry.js → p-377578be.entry.js} +1 -1
- package/dist/twilight/{p-70bec3a4.entry.js → p-385698a7.entry.js} +1 -1
- package/dist/twilight/{p-8ae95976.entry.js → p-39261863.entry.js} +1 -1
- package/dist/twilight/{p-f07f0b62.entry.js → p-39ed61d1.entry.js} +1 -1
- package/dist/twilight/{p-a9e09e6d.entry.js → p-3ab079ee.entry.js} +1 -1
- package/dist/twilight/{p-a9438d40.entry.js → p-3ab2c131.entry.js} +1 -1
- package/dist/twilight/{p-3c8cc7b5.entry.js → p-3b0dcbcb.entry.js} +1 -1
- package/dist/twilight/{p-e50a4840.entry.js → p-3c77ac19.entry.js} +1 -1
- package/dist/twilight/{p-bfcbd8fd.entry.js → p-43cdcb03.entry.js} +1 -1
- package/dist/twilight/{p-705c5caf.entry.js → p-4acb81b8.entry.js} +1 -1
- package/dist/twilight/{p-5050358e.entry.js → p-4d725c13.entry.js} +1 -1
- package/dist/twilight/{p-e48ec124.entry.js → p-515699ab.entry.js} +1 -1
- package/dist/twilight/{p-1f9d9730.entry.js → p-58f8109b.entry.js} +1 -1
- package/dist/twilight/{p-559f69c1.entry.js → p-5aa34e28.entry.js} +1 -1
- package/dist/twilight/{p-76089609.entry.js → p-5b75d7a7.entry.js} +1 -1
- package/dist/twilight/p-5be1c192.entry.js +4 -0
- package/dist/twilight/{p-696435b9.entry.js → p-5d44bc7c.entry.js} +1 -1
- package/dist/twilight/{p-2240ca58.entry.js → p-624897fa.entry.js} +1 -1
- package/dist/twilight/{p-d359fa2d.entry.js → p-6af0d2ca.entry.js} +1 -1
- package/dist/twilight/{p-32d45913.entry.js → p-6b70c316.entry.js} +1 -1
- package/dist/twilight/{p-49c75e82.entry.js → p-772aed9b.entry.js} +1 -1
- package/dist/twilight/{p-e4dc59db.entry.js → p-7cd4f855.entry.js} +1 -1
- package/dist/twilight/{p-4dcd11f6.entry.js → p-7ef7e64b.entry.js} +1 -1
- package/dist/twilight/{p-6a205626.entry.js → p-852fd338.entry.js} +1 -1
- package/dist/twilight/{p-13f0e9a6.entry.js → p-86678003.entry.js} +1 -1
- package/dist/twilight/{p-4f956c6f.entry.js → p-8cb30cca.entry.js} +1 -1
- package/dist/twilight/{p-ded95666.entry.js → p-917e46be.entry.js} +1 -1
- package/dist/twilight/{p-902e9028.entry.js → p-938afc60.entry.js} +1 -1
- package/dist/twilight/{p-6eca5aed.entry.js → p-984013c3.entry.js} +1 -1
- package/dist/twilight/{p-feadc0c9.entry.js → p-98ec6e04.entry.js} +1 -1
- package/dist/twilight/{p-4349783f.entry.js → p-9c63ee4e.entry.js} +1 -1
- package/dist/twilight/{p-CyTaLJo3.js → p-B2F0YSfq.js} +1 -1
- package/dist/twilight/p-BN-W7MPg.js +4 -0
- package/dist/twilight/{p-C36yOeFI.js → p-BRjoSniA.js} +1 -1
- package/dist/twilight/{p-C2FQvIq0.js → p-BqtdPtV1.js} +1 -1
- package/dist/twilight/{p-Bjl1PEUS.js → p-C2UWOjWB.js} +1 -1
- package/dist/twilight/{p-Crijf68j.js → p-CDoLIl29.js} +2 -2
- package/dist/twilight/{p-D97pUIlk.js → p-CMHTSC6o.js} +1 -1
- package/dist/twilight/{p-D-_uPomU.js → p-CUPXifBZ.js} +1 -1
- package/dist/twilight/{p-CdQOKISG.js → p-CVw6aBvl.js} +1 -1
- package/dist/twilight/{p-Ba2rQmJW.js → p-DMLBy1NO.js} +1 -1
- package/dist/twilight/{p-88e4d404.entry.js → p-a4469aa0.entry.js} +1 -1
- package/dist/twilight/{p-f31cac68.entry.js → p-a4a2465c.entry.js} +1 -1
- package/dist/twilight/p-ac0254de.entry.js +4 -0
- package/dist/twilight/{p-ad2dff14.entry.js → p-ac428bc4.entry.js} +1 -1
- package/dist/twilight/{p-8e3ea4e7.entry.js → p-ac9a1a33.entry.js} +1 -1
- package/dist/twilight/{p-dac7d5b1.entry.js → p-ad3ae322.entry.js} +1 -1
- package/dist/twilight/{p-51bee591.entry.js → p-b3662c2a.entry.js} +1 -1
- package/dist/twilight/{p-926db077.entry.js → p-b3cabdb3.entry.js} +1 -1
- package/dist/twilight/{p-720034f2.entry.js → p-b578a997.entry.js} +1 -1
- package/dist/twilight/{p-88d2a8aa.entry.js → p-b66fe08b.entry.js} +1 -1
- package/dist/twilight/{p-7d86d46a.entry.js → p-bafeade1.entry.js} +1 -1
- package/dist/twilight/{p-29e299b8.entry.js → p-bcd0be09.entry.js} +1 -1
- package/dist/twilight/{p-5bd9401a.entry.js → p-bcf9d2a2.entry.js} +1 -1
- package/dist/twilight/{p-3356808f.entry.js → p-bd8d866d.entry.js} +1 -1
- package/dist/twilight/{p-a7656ecb.entry.js → p-c0bf2216.entry.js} +1 -1
- package/dist/twilight/{p-6ae9fc35.entry.js → p-c37406c2.entry.js} +1 -1
- package/dist/twilight/{p-fcbf208b.entry.js → p-c7ae5ce3.entry.js} +1 -1
- package/dist/twilight/{p-f4050df2.entry.js → p-cf63495e.entry.js} +1 -1
- package/dist/twilight/{p-4c30d956.entry.js → p-d222cefc.entry.js} +1 -1
- package/dist/twilight/{p-b1c4b976.entry.js → p-d250c573.entry.js} +1 -1
- package/dist/twilight/{p-89691a0a.entry.js → p-d279cb22.entry.js} +1 -1
- package/dist/twilight/{p-5da7e2ad.entry.js → p-d2906cde.entry.js} +1 -1
- package/dist/twilight/{p-0935d707.entry.js → p-d2e2db87.entry.js} +1 -1
- package/dist/twilight/{p-3c885439.entry.js → p-d345c7b2.entry.js} +1 -1
- package/dist/twilight/{p-57f9e1e1.entry.js → p-d37ceff0.entry.js} +1 -1
- package/dist/twilight/{p-573aafb0.entry.js → p-d58195a2.entry.js} +1 -1
- package/dist/twilight/{p-ef990719.entry.js → p-d6ba436b.entry.js} +1 -1
- package/dist/twilight/{p-b7cef4bd.entry.js → p-d70f3b34.entry.js} +1 -1
- package/dist/twilight/{p-2012b777.entry.js → p-dc1adf40.entry.js} +1 -1
- package/dist/twilight/p-e4be3123.entry.js +4 -0
- package/dist/twilight/{p-e5063b7f.entry.js → p-e81fcaf5.entry.js} +1 -1
- package/dist/twilight/{p-d6ee8aec.entry.js → p-ec3aedf8.entry.js} +1 -1
- package/dist/twilight/{p-32774ff0.entry.js → p-f2011a00.entry.js} +1 -1
- package/dist/twilight/{p-7fa23855.entry.js → p-f47a06bf.entry.js} +1 -1
- package/dist/twilight/{p-60e74f7f.entry.js → p-f7e080d7.entry.js} +1 -1
- package/dist/twilight/{p-ce2cef62.entry.js → p-f8bb7a1b.entry.js} +1 -1
- package/dist/twilight/p-f9ec6fd3.entry.js +4 -0
- package/dist/twilight/{p-eeccd9c0.entry.js → p-fcf42564.entry.js} +1 -1
- package/dist/twilight/{p-41387dee.entry.js → p-fd4f51b0.entry.js} +1 -1
- package/dist/twilight/{p-1a2b7660.entry.js → p-fdbedc30.entry.js} +1 -1
- package/dist/twilight/{p-2d6cb58e.entry.js → p-ff8b92fe.entry.js} +1 -1
- package/dist/twilight/{p-CLi67lW6.js → p-gBZJcPA-.js} +1 -1
- package/dist/twilight/{p-D35nGmrk.js → p-hRifplWF.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-summary-card/salla-cart-summary-card.d.ts +1 -0
- package/dist/types/components/salla-order-shipments/interfaces.d.ts +15 -0
- package/dist/types/components/salla-order-shipments/salla-order-shipments.d.ts +20 -0
- package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +4 -0
- package/dist/types/components.d.ts +45 -0
- package/package.json +5 -5
- package/dist/twilight/p-1fd7917d.entry.js +0 -4
- package/dist/twilight/p-422798b3.entry.js +0 -4
- package/dist/twilight/p-D5YJIW7-.js +0 -4
- package/dist/twilight/p-b3848ba3.entry.js +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
|
|
8
8
|
const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
|
|
8
8
|
var PencilRuler = `<!-- Generated by IcoMoon.io -->
|
|
9
9
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-B2B-kxAI.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
var star = require('./star-DMzrN05M.js');
|
|
8
8
|
var shippingFast = require('./shipping-fast-CsqEQE78.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
9
9
|
var image = require('./image-BoZ6Hums.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-s-x1Fshk.js');
|
|
@@ -73,6 +73,10 @@ const SallaUserMenu = class {
|
|
|
73
73
|
pending_orders: salla.helpers.number(salla.storage.get('user.pending_orders') || 0),
|
|
74
74
|
};
|
|
75
75
|
this.sallaAccountEnabled = false;
|
|
76
|
+
this.walletBalance = '';
|
|
77
|
+
this.walletBalanceLoading = false;
|
|
78
|
+
// Fetched once per page load; resets on remount (page refresh), not on open.
|
|
79
|
+
this.walletBalanceLoaded = false;
|
|
76
80
|
this.hasBadges = Number(salla.storage.get('user.pending_orders')) > 0 ||
|
|
77
81
|
Number(salla.storage.get('user.notifications')) > 0;
|
|
78
82
|
/**
|
|
@@ -152,6 +156,28 @@ const SallaUserMenu = class {
|
|
|
152
156
|
this.loyalty_points = Salla.lang.get('pages.loyalty_program.loyalty_points');
|
|
153
157
|
this.logout = Salla.lang.get('blocks.header.logout');
|
|
154
158
|
}
|
|
159
|
+
async loadWalletBalance() {
|
|
160
|
+
// Live balance instead of the cached (stale) config; light skips transactions.
|
|
161
|
+
if (Salla.config.isGuest())
|
|
162
|
+
return;
|
|
163
|
+
this.walletBalanceLoading = true;
|
|
164
|
+
try {
|
|
165
|
+
// withoutNotifier: a failed background fetch must not toast the shopper.
|
|
166
|
+
const resp = await salla.api.withoutNotifier(() => salla.api.request('/balance/wallet?light=1'));
|
|
167
|
+
const balance = Number(resp?.data?.balance) || 0;
|
|
168
|
+
// Currency stays from config — it doesn't go stale like the amount.
|
|
169
|
+
this.walletBalance = balance
|
|
170
|
+
? Salla.money({ amount: Number(balance.toFixed(2)), currency: Salla.config.get('user.currency_code') })
|
|
171
|
+
: '';
|
|
172
|
+
this.walletBalanceLoaded = true; // cache for the rest of this page load
|
|
173
|
+
}
|
|
174
|
+
catch {
|
|
175
|
+
// keep the last value on failure (retries on next open)
|
|
176
|
+
}
|
|
177
|
+
finally {
|
|
178
|
+
this.walletBalanceLoading = false;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
155
181
|
initiate() {
|
|
156
182
|
if (Salla.config.isGuest()) {
|
|
157
183
|
return this.autoMountLoginModal();
|
|
@@ -213,6 +239,10 @@ const SallaUserMenu = class {
|
|
|
213
239
|
this.opened = !this.opened;
|
|
214
240
|
e.stopPropagation();
|
|
215
241
|
if (this.opened) {
|
|
242
|
+
// Fetch once per page load; reuse the cached value on later opens.
|
|
243
|
+
if (window.can_access_wallet && !this.walletBalanceLoaded && !this.walletBalanceLoading) {
|
|
244
|
+
this.loadWalletBalance();
|
|
245
|
+
}
|
|
216
246
|
window.addEventListener('click', this.onClickOutside);
|
|
217
247
|
}
|
|
218
248
|
}
|
|
@@ -255,7 +285,7 @@ const SallaUserMenu = class {
|
|
|
255
285
|
return (index.h("li", { class: {
|
|
256
286
|
's-user-menu-dropdown-item': true,
|
|
257
287
|
's-user-menu-dropdown-item-logout': i + 1 === Object.entries(this.items).length,
|
|
258
|
-
} }, index.h("a", { ...this.getItemAnchorLinkAttrs(itemKey), class: "s-user-menu-dropdown-item-link", onClick: event => this.menuItemClicked(event, itemKey) }, index.h("i", { class: "s-user-menu-dropdown-item-prefix", innerHTML: itemValue }), index.h("span", { class: "s-user-menu-dropdown-item-title" }, this[itemKey]), !['٠', '0', undefined].includes(this.badges[itemKey]) ? (index.h("span", { class: "s-user-menu-dropdown-item-badge" }, this.badges[itemKey])) : (''))));
|
|
288
|
+
} }, index.h("a", { ...this.getItemAnchorLinkAttrs(itemKey), class: "s-user-menu-dropdown-item-link", onClick: event => this.menuItemClicked(event, itemKey) }, index.h("i", { class: "s-user-menu-dropdown-item-prefix", innerHTML: itemValue }), index.h("span", { class: "s-user-menu-dropdown-item-title" }, this[itemKey]), itemKey === 'wallet' && !this.inline && (this.walletBalance || this.walletBalanceLoading) ? (index.h("span", { class: "s-user-menu-dropdown-item-balance", style: { display: 'inline-flex', alignItems: 'center', gap: '4px' } }, this.walletBalance ? index.h("span", { innerHTML: this.walletBalance }) : '', this.walletBalanceLoading ? index.h("salla-loading", { size: "14" }) : '')) : (''), !['٠', '0', undefined].includes(this.badges[itemKey]) ? (index.h("span", { class: "s-user-menu-dropdown-item-badge" }, this.badges[itemKey])) : (''))));
|
|
259
289
|
}
|
|
260
290
|
componentShouldUpdate() {
|
|
261
291
|
if (!this.opened) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-B6RWhkkR.js');
|
|
7
7
|
|
|
8
8
|
const sallaWishlistActionsCss = ":host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}";
|
|
9
9
|
|