@salla.sa/twilight-components 2.14.575 → 2.14.576
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-NMq4bM2q.js → filepond-pMiRtx1x.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-TEelNjjG.js → filepond-plugin-file-poster-DxsZ8Mch.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DRVxzFUc.js → filepond-plugin-file-validate-size-B6fa4wXz.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-75J1mHEB.js → filepond-plugin-file-validate-type-BEggFpci.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CvC-CZjk.js → filepond-plugin-image-edit-BDwSySal.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-D7mJeHKx.js → filepond-plugin-image-exif-orientation-HE8n94tY.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-QxURSuZ4.js → filepond-plugin-image-preview-C-CaMrlm.js} +1 -1
- package/dist/cjs/{index-Bt8A6pnr.js → index-B3IyDlYG.js} +2 -2
- package/dist/cjs/{intlTelInput-Dq8y3YHO.js → intlTelInput-CeiHZwpn.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-applied-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +10 -10
- 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 +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 +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 +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gift-card-redeem.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_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 +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_3.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_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +18 -2
- 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-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 +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +38 -13
- 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.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-products-slider.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-review-order-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- 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 +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 +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-BkJyQVMl.js → vanilla-picker-DBIBI2Jr.js} +1 -1
- package/dist/collection/components/salla-offer/salla-offer.js +17 -1
- package/dist/collection/components/salla-orders/salla-orders.js +39 -12
- package/dist/components/index.js +2 -2
- package/dist/components/salla-offer.js +17 -1
- package/dist/components/salla-orders.js +39 -12
- package/dist/esm/{filepond-kmpJTY5p.js → filepond-C6VyLUVF.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-8M0TsTUo.js → filepond-plugin-file-poster-BfFqi2TO.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CPVDzrMj.js → filepond-plugin-file-validate-size-BBqb56CB.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-D0qUdWNB.js → filepond-plugin-file-validate-type-O67G3mL2.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-K8nFORG9.js → filepond-plugin-image-edit-CGZyNJxN.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BSvnwKAw.js → filepond-plugin-image-exif-orientation-DA7fGQP3.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-hArDoD8N.js → filepond-plugin-image-preview-BijvA1XW.js} +1 -1
- package/dist/esm/{index-a6lSRQK4.js → index-VyEjj_Gx.js} +2 -2
- package/dist/esm/{intlTelInput-CC5xRRkd.js → intlTelInput-DE-bT5KJ.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-applied-filters.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-attachment-view_9.entry.js +10 -10
- 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 +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 +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 +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gift-card-redeem.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_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 +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_3.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_2.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +18 -2
- 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-options-modal.entry.js +1 -1
- package/dist/esm/salla-order-shipments.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +38 -13
- 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.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-products-slider.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-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- 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 +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 +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/salla-wishlist-summary.entry.js +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-CDhGfTst.js → vanilla-picker-BVwvMAEs.js} +1 -1
- package/dist/twilight/{p-2af98444.entry.js → p-02df3435.entry.js} +1 -1
- package/dist/twilight/{p-bc54fc8b.entry.js → p-08bcc8c6.entry.js} +1 -1
- package/dist/twilight/{p-fc13e706.entry.js → p-0987a1bf.entry.js} +1 -1
- package/dist/twilight/{p-71ecb477.entry.js → p-09ab0b69.entry.js} +1 -1
- package/dist/twilight/{p-6051a92c.entry.js → p-10da5fab.entry.js} +1 -1
- package/dist/twilight/{p-10968d1c.entry.js → p-12bcfd57.entry.js} +1 -1
- package/dist/twilight/{p-34d33337.entry.js → p-140bf9e1.entry.js} +1 -1
- package/dist/twilight/{p-ebd9a6c2.entry.js → p-15fd28e8.entry.js} +1 -1
- package/dist/twilight/{p-5b1a0560.entry.js → p-19c39465.entry.js} +1 -1
- package/dist/twilight/{p-28875055.entry.js → p-1b2ce7bb.entry.js} +1 -1
- package/dist/twilight/{p-5d72b7d7.entry.js → p-22efe055.entry.js} +1 -1
- package/dist/twilight/{p-24bd13b8.entry.js → p-237ee8db.entry.js} +1 -1
- package/dist/twilight/{p-a0d39b81.entry.js → p-2438d7e1.entry.js} +1 -1
- package/dist/twilight/{p-8d30dbac.entry.js → p-26105855.entry.js} +1 -1
- package/dist/twilight/p-29bc507d.entry.js +4 -0
- package/dist/twilight/{p-96cac80e.entry.js → p-2aa87b3c.entry.js} +1 -1
- package/dist/twilight/{p-5ddd9aa0.entry.js → p-2d43aaae.entry.js} +1 -1
- package/dist/twilight/{p-6a7eacbd.entry.js → p-354f6595.entry.js} +1 -1
- package/dist/twilight/p-370939c2.entry.js +4 -0
- package/dist/twilight/{p-e0b5a06d.entry.js → p-38f82c85.entry.js} +1 -1
- package/dist/twilight/{p-127f0000.entry.js → p-4198d092.entry.js} +1 -1
- package/dist/twilight/{p-583a63e5.entry.js → p-47ddfc87.entry.js} +1 -1
- package/dist/twilight/{p-d56cb23a.entry.js → p-4abd6abc.entry.js} +1 -1
- package/dist/twilight/{p-aee0c658.entry.js → p-4bcf0187.entry.js} +1 -1
- package/dist/twilight/{p-977e3e76.entry.js → p-55469fd9.entry.js} +1 -1
- package/dist/twilight/{p-7cc8b82b.entry.js → p-55afe19f.entry.js} +1 -1
- package/dist/twilight/{p-9b04ed7f.entry.js → p-565f021e.entry.js} +1 -1
- package/dist/twilight/{p-d1a0bd97.entry.js → p-58398f44.entry.js} +1 -1
- package/dist/twilight/{p-540138a1.entry.js → p-63a287b4.entry.js} +1 -1
- package/dist/twilight/{p-0a38d353.entry.js → p-63af5354.entry.js} +1 -1
- package/dist/twilight/{p-c9779211.entry.js → p-66be47ec.entry.js} +1 -1
- package/dist/twilight/{p-7f861ac0.entry.js → p-6c4d3288.entry.js} +1 -1
- package/dist/twilight/{p-55e0745e.entry.js → p-6d46f977.entry.js} +1 -1
- package/dist/twilight/{p-12ab7c1a.entry.js → p-70577d8b.entry.js} +1 -1
- package/dist/twilight/{p-63a315e1.entry.js → p-724be00d.entry.js} +1 -1
- package/dist/twilight/{p-d6803c56.entry.js → p-76843521.entry.js} +1 -1
- package/dist/twilight/{p-254e6e0c.entry.js → p-7d4c9e95.entry.js} +1 -1
- package/dist/twilight/{p-86ad5af2.entry.js → p-7ef406e5.entry.js} +1 -1
- package/dist/twilight/{p-4bf58226.entry.js → p-7f38bccf.entry.js} +1 -1
- package/dist/twilight/{p-81c88f97.entry.js → p-80cf8042.entry.js} +1 -1
- package/dist/twilight/{p-2541db96.entry.js → p-82186e1c.entry.js} +1 -1
- package/dist/twilight/{p-ef037207.entry.js → p-85a81ddd.entry.js} +1 -1
- package/dist/twilight/{p-6958e848.entry.js → p-85d5c0b6.entry.js} +1 -1
- package/dist/twilight/{p-d7e5b860.entry.js → p-88918b1b.entry.js} +1 -1
- package/dist/twilight/{p-dc86737c.entry.js → p-90033ecc.entry.js} +1 -1
- package/dist/twilight/{p-21e6b2e7.entry.js → p-915965eb.entry.js} +1 -1
- package/dist/twilight/{p-45b97699.entry.js → p-9417b38b.entry.js} +1 -1
- package/dist/twilight/{p-312e8678.entry.js → p-95494a3d.entry.js} +1 -1
- package/dist/twilight/{p-004584f5.entry.js → p-9a0ad6b4.entry.js} +1 -1
- package/dist/twilight/{p-3a113599.entry.js → p-9df6ef40.entry.js} +1 -1
- package/dist/twilight/{p-d0fce326.entry.js → p-9eebb417.entry.js} +1 -1
- package/dist/twilight/{p-ea1c06ab.entry.js → p-9f485845.entry.js} +1 -1
- package/dist/twilight/p-BB5KMFvk.js +9 -0
- package/dist/twilight/{p-DZHubgN5.js → p-BZQPZ7Vk.js} +1 -1
- package/dist/twilight/{p-DOF2UkI4.js → p-BqBflUu5.js} +1 -1
- package/dist/twilight/{p-DNjWzZsK.js → p-CVE_4GIW.js} +1 -1
- package/dist/twilight/{p-CfhebjBE.js → p-Dht_HSXg.js} +2 -2
- package/dist/twilight/{p-DWPp9ZjN.js → p-DtngMbK9.js} +1 -1
- package/dist/twilight/{p-BokV7EHy.js → p-MofCSty6.js} +1 -1
- package/dist/twilight/{p-a6lSRQK4.js → p-VyEjj_Gx.js} +1 -1
- package/dist/twilight/{p-BG1dHHdm.js → p-XWoqFS1d.js} +1 -1
- package/dist/twilight/{p-f1a3cf9e.entry.js → p-a185519a.entry.js} +1 -1
- package/dist/twilight/{p-e9d73e7d.entry.js → p-a291f319.entry.js} +1 -1
- package/dist/twilight/{p-2af75479.entry.js → p-a2bf4487.entry.js} +1 -1
- package/dist/twilight/{p-742f2c15.entry.js → p-a4ba6008.entry.js} +1 -1
- package/dist/twilight/{p-8271e127.entry.js → p-a5dc1d5e.entry.js} +1 -1
- package/dist/twilight/{p-84599aa5.entry.js → p-a8f4fa9e.entry.js} +1 -1
- package/dist/twilight/{p-44b8d453.entry.js → p-a990b069.entry.js} +1 -1
- package/dist/twilight/{p-cbcbc9f8.entry.js → p-b06b0973.entry.js} +1 -1
- package/dist/twilight/{p-6f741b21.entry.js → p-b35956cc.entry.js} +1 -1
- package/dist/twilight/{p-2c480419.entry.js → p-b3a36e11.entry.js} +1 -1
- package/dist/twilight/{p-0f1981ee.entry.js → p-b7e14e40.entry.js} +1 -1
- package/dist/twilight/{p-e155a1a6.entry.js → p-b930b2ba.entry.js} +1 -1
- package/dist/twilight/{p-7b373051.entry.js → p-b9e85434.entry.js} +1 -1
- package/dist/twilight/{p-50816838.entry.js → p-bb2c9ac9.entry.js} +1 -1
- package/dist/twilight/{p-a47b910f.entry.js → p-bb83242c.entry.js} +1 -1
- package/dist/twilight/{p-3500065c.entry.js → p-bc1251f6.entry.js} +1 -1
- package/dist/twilight/{p-426acd77.entry.js → p-c032ca19.entry.js} +1 -1
- package/dist/twilight/{p-9e53d7a6.entry.js → p-c1f9932b.entry.js} +1 -1
- package/dist/twilight/{p-2bf8f0ed.entry.js → p-c593919c.entry.js} +1 -1
- package/dist/twilight/{p-25a4633f.entry.js → p-c63be3cf.entry.js} +1 -1
- package/dist/twilight/{p-5134aae8.entry.js → p-c6e6daf9.entry.js} +1 -1
- package/dist/twilight/{p-c9ba30cd.entry.js → p-c95f4657.entry.js} +1 -1
- package/dist/twilight/{p-3bd153c1.entry.js → p-ca7cd467.entry.js} +1 -1
- package/dist/twilight/{p-4a60be6d.entry.js → p-cbaa45a4.entry.js} +1 -1
- package/dist/twilight/{p-5fe0908b.entry.js → p-ceae3b17.entry.js} +1 -1
- package/dist/twilight/{p-109472c5.entry.js → p-d0445027.entry.js} +1 -1
- package/dist/twilight/{p-00e68964.entry.js → p-d4466357.entry.js} +1 -1
- package/dist/twilight/{p-b7624eb6.entry.js → p-d59a53f5.entry.js} +1 -1
- package/dist/twilight/{p-c500e5fe.entry.js → p-d5d8230d.entry.js} +1 -1
- package/dist/twilight/{p-338f727b.entry.js → p-d6c4c0f7.entry.js} +1 -1
- package/dist/twilight/{p-b0c86557.entry.js → p-dcba291c.entry.js} +1 -1
- package/dist/twilight/{p-a177b13f.entry.js → p-e2d0eb4c.entry.js} +1 -1
- package/dist/twilight/{p-0f9bfeeb.entry.js → p-e6803d06.entry.js} +1 -1
- package/dist/twilight/{p-01cae03e.entry.js → p-ec378cee.entry.js} +1 -1
- package/dist/twilight/{p-a391b31d.entry.js → p-f059fb37.entry.js} +1 -1
- package/dist/twilight/{p-3ff2b8b6.entry.js → p-f12fc91c.entry.js} +1 -1
- package/dist/twilight/{p-af99726d.entry.js → p-f1d0d4da.entry.js} +1 -1
- package/dist/twilight/{p-2591eead.entry.js → p-f265b4ea.entry.js} +1 -1
- package/dist/twilight/{p-f2f6f502.entry.js → p-f291fd6b.entry.js} +1 -1
- package/dist/twilight/{p-cc15290b.entry.js → p-f7063e39.entry.js} +1 -1
- package/dist/twilight/{p-69594ced.entry.js → p-f7f35e00.entry.js} +1 -1
- package/dist/twilight/{p-7f69cf5d.entry.js → p-f889b4d2.entry.js} +1 -1
- package/dist/twilight/{p-6f371a84.entry.js → p-faa90387.entry.js} +1 -1
- package/dist/twilight/{p-7a19ef45.entry.js → p-fe8cb1d6.entry.js} +1 -1
- package/dist/twilight/{p-CSuif4Xw.js → p-k8NfWBBa.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-offer/salla-offer.d.ts +10 -0
- package/dist/types/components/salla-orders/interface.d.ts +2 -0
- package/dist/types/components/salla-orders/salla-orders.d.ts +5 -1
- package/package.json +5 -5
- package/dist/twilight/p-3357d33a.entry.js +0 -4
- package/dist/twilight/p-eb11b8be.entry.js +0 -4
- package/dist/twilight/p-wx2L9ZB0.js +0 -9
|
@@ -5,15 +5,20 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
import Helper from "../../Helpers/Helper";
|
|
6
6
|
const FEEDBACK_STATUS_WAITING = 'waiting';
|
|
7
7
|
const TAB_QUERY_PARAM = 'tab';
|
|
8
|
+
const SHOW_EXTERNAL_ORDERS_FEATURE = 'show-external-orders';
|
|
8
9
|
function getFilterFromSearchParams() {
|
|
9
10
|
const tab = new URLSearchParams(window.location.search).get(TAB_QUERY_PARAM);
|
|
10
|
-
|
|
11
|
+
if (tab === 'waiting' || tab === 'archived')
|
|
12
|
+
return tab;
|
|
13
|
+
return 'all';
|
|
11
14
|
}
|
|
12
15
|
const LANG_DEFAULTS = {
|
|
13
16
|
'pages.orders.filter_all': { ar: 'الكل', en: 'All' },
|
|
17
|
+
'pages.orders.filter_archived': { ar: 'الطلبات المؤرشفة', en: 'Archived orders' },
|
|
14
18
|
'pages.orders.filter_awaiting_review': { ar: 'بانتظار تقييمك', en: 'Awaiting your review' },
|
|
15
19
|
'pages.orders.leave_review': { ar: 'أضف تقييمك', en: 'Add review' },
|
|
16
20
|
'pages.orders.no_unrated_orders': { ar: 'لا توجد طلبات غير مقيَّمة', en: 'No unrated orders' },
|
|
21
|
+
'pages.orders.no_archived_orders': { ar: 'لا توجد طلبات مؤرشفة', en: 'No archived orders' },
|
|
17
22
|
'pages.orders.review_banner': {
|
|
18
23
|
ar: 'لديك طلبات بانتظار تقييمك. شارك رأيك وساعدنا على تحسين تجربتك.',
|
|
19
24
|
en: 'You have orders awaiting your review. Share your feedback and help us improve your experience.',
|
|
@@ -33,9 +38,11 @@ export class SallaOrder {
|
|
|
33
38
|
this.load_more_text_trans = salla.lang.get('common.elements.load_more');
|
|
34
39
|
this.languageCode = salla.lang.locale;
|
|
35
40
|
this.filterAllText = salla.lang.getWithDefault('pages.orders.filter_all', 'الكل');
|
|
41
|
+
this.filterArchivedText = salla.lang.getWithDefault('pages.orders.filter_archived', 'الطلبات المؤرشفة');
|
|
36
42
|
this.filterAwaitingReviewText = salla.lang.getWithDefault('pages.orders.filter_awaiting_review', 'بانتظار تقييمك');
|
|
37
43
|
this.leaveReviewText = salla.lang.getWithDefault('pages.orders.leave_review', 'شارك تقييمك');
|
|
38
44
|
this.noUnratedOrdersText = salla.lang.getWithDefault('pages.orders.no_unrated_orders', 'لا توجد طلبات غير مقيَّمة');
|
|
45
|
+
this.noArchivedOrdersText = salla.lang.getWithDefault('pages.orders.no_archived_orders', 'لا توجد طلبات مؤرشفة');
|
|
39
46
|
this.orders = [];
|
|
40
47
|
this.nextPage = null;
|
|
41
48
|
this.activeFilter = getFilterFromSearchParams();
|
|
@@ -44,6 +51,7 @@ export class SallaOrder {
|
|
|
44
51
|
this.isFetching = false;
|
|
45
52
|
this.reviewPoints = 0;
|
|
46
53
|
this.filterGeneration = 0;
|
|
54
|
+
this.showExternalOrders = false;
|
|
47
55
|
salla.lang.onLoaded(() => {
|
|
48
56
|
this.languageCode = salla.lang.locale;
|
|
49
57
|
this.orderNumberText = salla.lang.get('pages.thank_you.order_id');
|
|
@@ -63,9 +71,11 @@ export class SallaOrder {
|
|
|
63
71
|
}
|
|
64
72
|
refreshReviewLabels() {
|
|
65
73
|
this.filterAllText = salla.lang.getWithDefault('pages.orders.filter_all', 'الكل');
|
|
74
|
+
this.filterArchivedText = salla.lang.getWithDefault('pages.orders.filter_archived', 'الطلبات المؤرشفة');
|
|
66
75
|
this.filterAwaitingReviewText = salla.lang.getWithDefault('pages.orders.filter_awaiting_review', 'بانتظار تقييمك');
|
|
67
76
|
this.leaveReviewText = salla.lang.getWithDefault('pages.orders.leave_review', 'شارك تقييمك');
|
|
68
77
|
this.noUnratedOrdersText = salla.lang.getWithDefault('pages.orders.no_unrated_orders', 'لا توجد طلبات غير مقيَّمة');
|
|
78
|
+
this.noArchivedOrdersText = salla.lang.getWithDefault('pages.orders.no_archived_orders', 'لا توجد طلبات مؤرشفة');
|
|
69
79
|
}
|
|
70
80
|
setupLoyalty() {
|
|
71
81
|
// ? Flags
|
|
@@ -210,11 +220,11 @@ export class SallaOrder {
|
|
|
210
220
|
return;
|
|
211
221
|
this.setLoadMoreLoading(false);
|
|
212
222
|
this.isFetching = true;
|
|
213
|
-
// Rows are appended to the
|
|
223
|
+
// Rows are appended to the table body imperatively (outside Stencil's vdom), so
|
|
214
224
|
// switching the render branch to the skeleton table won't clear them on its
|
|
215
225
|
// own — clear them explicitly or the old rows linger alongside the skeleton.
|
|
216
|
-
if (this.
|
|
217
|
-
this.
|
|
226
|
+
if (this.ordersTableBody) {
|
|
227
|
+
this.ordersTableBody.innerHTML = '';
|
|
218
228
|
}
|
|
219
229
|
this.filterGeneration++;
|
|
220
230
|
const feedbackStatus = filter === 'waiting' ? FEEDBACK_STATUS_WAITING : null;
|
|
@@ -224,6 +234,7 @@ export class SallaOrder {
|
|
|
224
234
|
format: 'light',
|
|
225
235
|
types: [''],
|
|
226
236
|
feedback_status: feedbackStatus,
|
|
237
|
+
...(filter === 'archived' ? { external_orders: 1 } : {}),
|
|
227
238
|
});
|
|
228
239
|
this.orders = resp.data;
|
|
229
240
|
this.hasInfiniteScroll = !!resp.pagination?.links.next;
|
|
@@ -237,8 +248,8 @@ export class SallaOrder {
|
|
|
237
248
|
}
|
|
238
249
|
if (!this.orders.length) {
|
|
239
250
|
this.setLoadMoreLoading(false);
|
|
240
|
-
this.emptyFilterResult = filter
|
|
241
|
-
this.showPlaceholder = filter
|
|
251
|
+
this.emptyFilterResult = filter !== 'all';
|
|
252
|
+
this.showPlaceholder = filter === 'all';
|
|
242
253
|
return;
|
|
243
254
|
}
|
|
244
255
|
this.showPlaceholder = false;
|
|
@@ -256,7 +267,9 @@ export class SallaOrder {
|
|
|
256
267
|
}
|
|
257
268
|
}
|
|
258
269
|
getSingleOrderItem(order) {
|
|
259
|
-
const
|
|
270
|
+
const orderNumber = String((this.activeFilter === 'archived' ? order.external_order_id : order.reference_id) ?? '');
|
|
271
|
+
// ponytail: # only for pure digits; alphanumeric external ids stay bare
|
|
272
|
+
const orderNumberLabel = /^\d+$/.test(orderNumber) ? `#${orderNumber}` : orderNumber;
|
|
260
273
|
const tr = document.createElement('tr');
|
|
261
274
|
tr.classList.add('s-orders-table-tbody-tr', 's-orders-table-tbody-tr-shadow');
|
|
262
275
|
const td1 = document.createElement('td');
|
|
@@ -268,7 +281,7 @@ export class SallaOrder {
|
|
|
268
281
|
span1.textContent = `${this.orderNumberText}:`;
|
|
269
282
|
const span2 = document.createElement('span');
|
|
270
283
|
span2.classList.add('s-orders-reference-id');
|
|
271
|
-
span2.textContent =
|
|
284
|
+
span2.textContent = orderNumberLabel;
|
|
272
285
|
div1.appendChild(span1);
|
|
273
286
|
div1.appendChild(span2);
|
|
274
287
|
if (order.source === 'buy_as_gift') {
|
|
@@ -286,7 +299,7 @@ export class SallaOrder {
|
|
|
286
299
|
sallaButton.classList.add('relative');
|
|
287
300
|
sallaButton.setAttribute('color', 'dark');
|
|
288
301
|
sallaButton.setAttribute('shape', 'link');
|
|
289
|
-
sallaButton.dataset.content =
|
|
302
|
+
sallaButton.dataset.content = orderNumber;
|
|
290
303
|
sallaButton.addEventListener('click', event => {
|
|
291
304
|
Helper.copyToClipboard(event);
|
|
292
305
|
Helper.toggleElementClassIf(sallaButton, 'copied', 'code-to-copy', () => true);
|
|
@@ -295,7 +308,7 @@ export class SallaOrder {
|
|
|
295
308
|
}, 1000);
|
|
296
309
|
});
|
|
297
310
|
const span3 = document.createElement('span');
|
|
298
|
-
span3.textContent =
|
|
311
|
+
span3.textContent = orderNumberLabel;
|
|
299
312
|
const copyIcon = document.createElement('i');
|
|
300
313
|
copyIcon.classList.add('sicon-swap-stroke', 's-orders-copy-to-clipboard-button-icon');
|
|
301
314
|
// Check the text direction
|
|
@@ -427,8 +440,13 @@ export class SallaOrder {
|
|
|
427
440
|
renderSkeletonRows(count = 5) {
|
|
428
441
|
return Array.from({ length: count }, (_, index) => this.renderSkeletonRow(index));
|
|
429
442
|
}
|
|
443
|
+
getEmptyFilterText() {
|
|
444
|
+
return this.activeFilter === 'archived'
|
|
445
|
+
? this.noArchivedOrdersText
|
|
446
|
+
: this.noUnratedOrdersText;
|
|
447
|
+
}
|
|
430
448
|
renderFilters() {
|
|
431
|
-
return (h("div", { class: "s-orders-filters" }, h("salla-button", { size: "small", color: this.activeFilter === 'all' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('all'), enableLoader: false }, this.filterAllText), h("salla-button", { size: "small", color: this.activeFilter === 'waiting' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('waiting'), enableLoader: false }, this.filterAwaitingReviewText)));
|
|
449
|
+
return (h("div", { class: "s-orders-filters" }, h("salla-button", { size: "small", color: this.activeFilter === 'all' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('all'), enableLoader: false }, this.filterAllText), this.showExternalOrders && (h("salla-button", { size: "small", color: this.activeFilter === 'archived' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('archived'), enableLoader: false }, this.filterArchivedText)), h("salla-button", { size: "small", color: this.activeFilter === 'waiting' ? 'primary' : 'light', fill: "outline", onClick: () => this.switchFilter('waiting'), enableLoader: false }, this.filterAwaitingReviewText)));
|
|
432
450
|
}
|
|
433
451
|
renderBanner() {
|
|
434
452
|
if (!this.pendingReviewCount)
|
|
@@ -439,7 +457,7 @@ export class SallaOrder {
|
|
|
439
457
|
if (this.showPlaceholder) {
|
|
440
458
|
return (h("div", { class: "s-orders-no-content" }, h("i", { class: "sicon-packed-box icon" }), h("p", null, this.noOrderText)));
|
|
441
459
|
}
|
|
442
|
-
return (h("div", { class: "s-orders-wrapper" }, this.renderBanner(), this.renderFilters(), h("div", { class: "s-orders-list-wrapper" }, this.isFetching ? (h("table", { class: "s-orders-table s-orders-table-skeleton" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody" }, this.renderSkeletonRows()))) : this.emptyFilterResult ? (h("div", { class: "s-orders-no-content" }, h("i", { class: "sicon-packed-box icon" }), h("p", null, this.
|
|
460
|
+
return (h("div", { class: "s-orders-wrapper" }, this.renderBanner(), this.renderFilters(), h("div", { class: "s-orders-list-wrapper" }, this.isFetching ? (h("table", { class: "s-orders-table s-orders-table-skeleton" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody" }, this.renderSkeletonRows()))) : this.emptyFilterResult ? (h("div", { class: "s-orders-no-content" }, h("i", { class: "sicon-packed-box icon" }), h("p", null, this.getEmptyFilterText()))) : (h("table", { class: "s-orders-table" }, this.renderTableHead(), h("tbody", { class: "s-orders-table-tbody", ref: element => (this.ordersTableBody = element) })))), this.nextPage && !this.emptyFilterResult && (h("div", { class: "s-infinite-scroll-wrapper", ref: status => (this.status = status) }, h("button", { type: "button", onClick: () => this.loadMore(), class: "s-infinite-scroll-btn s-button-btn s-button-primary" }, h("span", { class: "s-button-text s-infinite-scroll-btn-text" }, this.loadMoreText ?? this.load_more_text_trans), h("span", { class: "s-button-loader s-button-loader-center s-infinite-scroll-btn-loader", ref: btnLoader => (this.btnLoader = btnLoader), style: { display: 'none' } })))), h("salla-rating-modal", { ref: el => (this.ratingModal = el) })));
|
|
443
461
|
}
|
|
444
462
|
componentDidRender() {
|
|
445
463
|
this.populateOrdersTableIfEmpty();
|
|
@@ -451,6 +469,13 @@ export class SallaOrder {
|
|
|
451
469
|
});
|
|
452
470
|
return salla.onReady().then(() => {
|
|
453
471
|
this.setupLoyalty();
|
|
472
|
+
this.showExternalOrders = salla.config
|
|
473
|
+
.get('store.features', [])
|
|
474
|
+
.includes(SHOW_EXTERNAL_ORDERS_FEATURE);
|
|
475
|
+
if (this.activeFilter === 'archived' && !this.showExternalOrders) {
|
|
476
|
+
this.activeFilter = 'all';
|
|
477
|
+
this.syncFilterToSearchParams('all');
|
|
478
|
+
}
|
|
454
479
|
const tasks = [this.fetchOrders(this.activeFilter)];
|
|
455
480
|
// fetchOrders already resolves the pending count when the initial tab is "waiting"
|
|
456
481
|
if (this.activeFilter !== 'waiting') {
|
|
@@ -527,9 +552,11 @@ export class SallaOrder {
|
|
|
527
552
|
"load_more_text_trans": {},
|
|
528
553
|
"languageCode": {},
|
|
529
554
|
"filterAllText": {},
|
|
555
|
+
"filterArchivedText": {},
|
|
530
556
|
"filterAwaitingReviewText": {},
|
|
531
557
|
"leaveReviewText": {},
|
|
532
558
|
"noUnratedOrdersText": {},
|
|
559
|
+
"noArchivedOrdersText": {},
|
|
533
560
|
"orders": {},
|
|
534
561
|
"pagination": {},
|
|
535
562
|
"hasInfiniteScroll": {},
|