@salla.sa/twilight-components 2.14.405 → 2.14.406
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-BPLK_foX.js → filepond-Dv_Vd2af.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DhkcpnBZ.js → filepond-plugin-file-poster-CDFzVn8y.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DRXj8iKf.js → filepond-plugin-file-validate-size-smkVFdk4.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-FJqR9kh0.js → filepond-plugin-file-validate-type-DtgLYo7I.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CjAecwmy.js → filepond-plugin-image-edit-CBKnIuOq.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CUk6TmvV.js → filepond-plugin-image-exif-orientation-U0UFINRP.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-NwqnihHT.js → filepond-plugin-image-preview-Fqi5ikRb.js} +1 -1
- package/dist/cjs/{functions-AX9hdR3s.js → functions-BteTqioX.js} +1 -1
- package/dist/cjs/{index-DgQabv-C.js → index-DPCf4JsS.js} +2 -2
- package/dist/cjs/{index-B7ZVnTwW.js → index-DgjrN1qB.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_4.cjs.entry.js +64 -2
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +28 -16
- package/dist/cjs/salla-bullet-delivery.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-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- 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-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.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-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/{tracked-promise-kpbdqzFi.js → tracked-promise-BydfL53z.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-B-T8Rzuq.js → vanilla-picker-CN1BrJl3.js} +1 -1
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +18 -6
- package/dist/collection/components/salla-product-options/salla-product-options.js +63 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-conditional-fields2.js +18 -6
- package/dist/components/salla-product-options2.js +63 -1
- package/dist/esm/{filepond-DySdjR-8.js → filepond-akG9YxKs.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BlnNa8do.js → filepond-plugin-file-poster-78baNcka.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BQ6W4ihV.js → filepond-plugin-file-validate-size-CETGyPCg.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BSjgTfes.js → filepond-plugin-file-validate-type-C5CKH4pM.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BasdFpdu.js → filepond-plugin-image-edit-JDFQOv1g.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DgqaR-d4.js → filepond-plugin-image-exif-orientation-EK76RBmr.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CqXMId16.js → filepond-plugin-image-preview-BmPnm8ID.js} +1 -1
- package/dist/esm/{functions-DrJQx-Uk.js → functions-CobAX8rF.js} +1 -1
- package/dist/esm/{index-CtedSqt5.js → index-BJ31ZN0M.js} +2 -2
- package/dist/esm/{index-n47ndSs0.js → index-CUxBUUOD.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_4.entry.js +64 -2
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +28 -16
- package/dist/esm/salla-bullet-delivery.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-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +1 -1
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- 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-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.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-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +1 -1
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +1 -1
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/{tracked-promise-wsfedytO.js → tracked-promise-Du_1QBOl.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-BbuSapAm.js → vanilla-picker-BdII2xCi.js} +1 -1
- package/dist/twilight/{p-d57f8ddc.entry.js → p-05468a1e.entry.js} +1 -1
- package/dist/twilight/{p-3f52e61b.entry.js → p-0597f95a.entry.js} +1 -1
- package/dist/twilight/{p-5ad5ff1e.entry.js → p-073b6803.entry.js} +1 -1
- package/dist/twilight/{p-1f681622.entry.js → p-07cc8c2d.entry.js} +1 -1
- package/dist/twilight/{p-765e22b4.entry.js → p-0b9c253d.entry.js} +1 -1
- package/dist/twilight/p-0db8f9a7.entry.js +4 -0
- package/dist/twilight/{p-423a21ce.entry.js → p-0e8180bb.entry.js} +1 -1
- package/dist/twilight/{p-ad24b49f.entry.js → p-123ffe95.entry.js} +1 -1
- package/dist/twilight/{p-825c8b40.entry.js → p-169722ae.entry.js} +1 -1
- package/dist/twilight/{p-c153e802.entry.js → p-19c20fcb.entry.js} +1 -1
- package/dist/twilight/{p-3b63b3c3.entry.js → p-1b817177.entry.js} +1 -1
- package/dist/twilight/{p-a29d959e.entry.js → p-1d7cd144.entry.js} +1 -1
- package/dist/twilight/{p-5c855f94.entry.js → p-20d4985f.entry.js} +1 -1
- package/dist/twilight/{p-f177da4e.entry.js → p-2d80eb08.entry.js} +1 -1
- package/dist/twilight/{p-178cc3b8.entry.js → p-2f6e5e91.entry.js} +1 -1
- package/dist/twilight/{p-6ad9fdb6.entry.js → p-2fc64c69.entry.js} +1 -1
- package/dist/twilight/p-3aafb389.entry.js +4 -0
- package/dist/twilight/{p-31c17553.entry.js → p-3b8e672d.entry.js} +1 -1
- package/dist/twilight/{p-cfeadcd4.entry.js → p-3d890d1f.entry.js} +1 -1
- package/dist/twilight/{p-bf2853ba.entry.js → p-3eafc56d.entry.js} +1 -1
- package/dist/twilight/{p-7bca6a1a.entry.js → p-441277b3.entry.js} +1 -1
- package/dist/twilight/{p-12bced37.entry.js → p-4622b7d1.entry.js} +1 -1
- package/dist/twilight/{p-dd766f7c.entry.js → p-4762930b.entry.js} +1 -1
- package/dist/twilight/{p-0a1bddb5.entry.js → p-4b47f067.entry.js} +1 -1
- package/dist/twilight/{p-9539d123.entry.js → p-4e6aaa3c.entry.js} +1 -1
- package/dist/twilight/{p-8e34615b.entry.js → p-54f97f1a.entry.js} +1 -1
- package/dist/twilight/{p-a6da11cd.entry.js → p-56bf1eca.entry.js} +1 -1
- package/dist/twilight/{p-6c713501.entry.js → p-58cad593.entry.js} +1 -1
- package/dist/twilight/{p-52ff7ce9.entry.js → p-59e67d7c.entry.js} +1 -1
- package/dist/twilight/{p-0488a76d.entry.js → p-606fc739.entry.js} +1 -1
- package/dist/twilight/{p-83abbe7a.entry.js → p-63545832.entry.js} +1 -1
- package/dist/twilight/{p-a779b16a.entry.js → p-65c4bc54.entry.js} +1 -1
- package/dist/twilight/{p-5a4ab122.entry.js → p-67f965c2.entry.js} +1 -1
- package/dist/twilight/{p-522514b4.entry.js → p-6aad9d28.entry.js} +1 -1
- package/dist/twilight/{p-6e3a2117.entry.js → p-7102a001.entry.js} +1 -1
- package/dist/twilight/{p-265c5119.entry.js → p-7447f78c.entry.js} +1 -1
- package/dist/twilight/{p-6559fd74.entry.js → p-751e0024.entry.js} +1 -1
- package/dist/twilight/p-78d12e59.entry.js +4 -0
- package/dist/twilight/{p-f79def0e.entry.js → p-7af653fd.entry.js} +1 -1
- package/dist/twilight/{p-e5505e66.entry.js → p-83adc1be.entry.js} +1 -1
- package/dist/twilight/{p-223aa493.entry.js → p-83db3971.entry.js} +1 -1
- package/dist/twilight/{p-68aba876.entry.js → p-882b2bfe.entry.js} +1 -1
- package/dist/twilight/{p-322f4c26.entry.js → p-884a8a23.entry.js} +1 -1
- package/dist/twilight/{p-c5ce7496.entry.js → p-8bd4f18e.entry.js} +1 -1
- package/dist/twilight/{p-8fc12321.entry.js → p-8f76f2ca.entry.js} +1 -1
- package/dist/twilight/{p-2ef0b3d8.entry.js → p-9597a62a.entry.js} +1 -1
- package/dist/twilight/{p-821405e8.entry.js → p-978c4d5e.entry.js} +1 -1
- package/dist/twilight/{p-14bfdd5d.entry.js → p-9a142974.entry.js} +1 -1
- package/dist/twilight/{p-ed9b2c0a.entry.js → p-9a37eea7.entry.js} +1 -1
- package/dist/twilight/{p-768383b6.entry.js → p-9ccdac28.entry.js} +1 -1
- package/dist/twilight/{p-ffec7151.entry.js → p-9f4adc18.entry.js} +1 -1
- package/dist/twilight/p-B3hrzPfw.js +4 -0
- package/dist/twilight/{p-CtedSqt5.js → p-BJ31ZN0M.js} +1 -1
- package/dist/twilight/{p-kh2fG6rM.js → p-BgiHenwd.js} +1 -1
- package/dist/twilight/{p-B4yd_FR0.js → p-Bh5SqUDX.js} +1 -1
- package/dist/twilight/{p-BFvfq821.js → p-Bp4nxKlJ.js} +1 -1
- package/dist/twilight/{p-dCMSKLuX.js → p-C6vE8kuo.js} +2 -2
- package/dist/twilight/{p-C_DTMIQF.js → p-CN9ed0k2.js} +1 -1
- package/dist/twilight/{p-Cs4MH9HC.js → p-CuQZwJue.js} +1 -1
- package/dist/twilight/{p-ElgY53WU.js → p-DXva9cuL.js} +1 -1
- package/dist/twilight/{p-DeVIZSmo.js → p-DkJk7oyK.js} +1 -1
- package/dist/twilight/{p-szxzKhuY.js → p-DqmP8Y8y.js} +1 -1
- package/dist/twilight/{p-dn9IXQL6.js → p-POTxBToh.js} +1 -1
- package/dist/twilight/{p-3bd4333b.entry.js → p-a5edff7a.entry.js} +1 -1
- package/dist/twilight/{p-41e2eb88.entry.js → p-a637f31f.entry.js} +1 -1
- package/dist/twilight/{p-b8e43fdc.entry.js → p-a9ecd789.entry.js} +1 -1
- package/dist/twilight/{p-e626e3f4.entry.js → p-aded7099.entry.js} +1 -1
- package/dist/twilight/{p-419a6d67.entry.js → p-b22eaeff.entry.js} +1 -1
- package/dist/twilight/{p-a989e667.entry.js → p-ba62c754.entry.js} +1 -1
- package/dist/twilight/{p-370ba990.entry.js → p-bb661b27.entry.js} +1 -1
- package/dist/twilight/{p-345e5b0c.entry.js → p-bbacd868.entry.js} +1 -1
- package/dist/twilight/{p-0141f545.entry.js → p-bea52ab5.entry.js} +1 -1
- package/dist/twilight/{p-98849974.entry.js → p-bfdeadc7.entry.js} +1 -1
- package/dist/twilight/{p-9da2e790.entry.js → p-bfe9e7b3.entry.js} +1 -1
- package/dist/twilight/{p-1ac02c8b.entry.js → p-c82583d7.entry.js} +1 -1
- package/dist/twilight/{p-ca4d905d.entry.js → p-c9b79f97.entry.js} +1 -1
- package/dist/twilight/{p-9d363442.entry.js → p-cc8cfb41.entry.js} +1 -1
- package/dist/twilight/{p-2e3eda61.entry.js → p-d1a3d31c.entry.js} +1 -1
- package/dist/twilight/{p-9c01e1ec.entry.js → p-d29a0e54.entry.js} +1 -1
- package/dist/twilight/{p-79b10d4f.entry.js → p-d5681b3d.entry.js} +1 -1
- package/dist/twilight/{p-dcc6111a.entry.js → p-d7b32afd.entry.js} +1 -1
- package/dist/twilight/{p-77fb4ab3.entry.js → p-d849d1e3.entry.js} +1 -1
- package/dist/twilight/{p-ed8da6c7.entry.js → p-dcc50063.entry.js} +1 -1
- package/dist/twilight/{p-3aa17242.entry.js → p-ddf0d826.entry.js} +1 -1
- package/dist/twilight/{p-7a9609e1.entry.js → p-dfc1145f.entry.js} +1 -1
- package/dist/twilight/{p-35683b9d.entry.js → p-e156ed77.entry.js} +1 -1
- package/dist/twilight/{p-c9d4fe86.entry.js → p-e1d0f511.entry.js} +1 -1
- package/dist/twilight/{p-33d1d347.entry.js → p-ed1149a1.entry.js} +1 -1
- package/dist/twilight/{p-e77bc664.entry.js → p-f0b71329.entry.js} +1 -1
- package/dist/twilight/{p-1a9bd680.entry.js → p-f329dbd4.entry.js} +1 -1
- package/dist/twilight/{p-84b7b4ad.entry.js → p-f420bc05.entry.js} +1 -1
- package/dist/twilight/{p-8744853a.entry.js → p-f94b4221.entry.js} +1 -1
- package/dist/twilight/{p-57f4622c.entry.js → p-fececfd1.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-product-options/salla-product-options.d.ts +2 -0
- package/package.json +5 -5
- package/dist/twilight/p-5aa6b2cc.entry.js +0 -4
- package/dist/twilight/p-Bvvn09Ie.js +0 -4
- package/dist/twilight/p-c812ba21.entry.js +0 -4
- package/dist/twilight/p-fdfc080d.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-DPCf4JsS.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DPCf4JsS.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var tag = require('./tag-D-PcUR33.js');
|
|
9
9
|
var cart2 = require('./cart2-B98PSAFN.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DPCf4JsS.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-DPCf4JsS.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var functions = require('./functions-
|
|
6
|
+
var index = require('./index-DPCf4JsS.js');
|
|
7
|
+
var functions = require('./functions-BteTqioX.js');
|
|
8
8
|
var gift = require('./gift-DbNivqYO.js');
|
|
9
9
|
var tag = require('./tag-D-PcUR33.js');
|
|
10
10
|
var check = require('./check-BnVBPQNp.js');
|
|
11
11
|
var cancel = require('./cancel-B5SbMYEk.js');
|
|
12
|
-
var trackedPromise = require('./tracked-promise-
|
|
12
|
+
var trackedPromise = require('./tracked-promise-BydfL53z.js');
|
|
13
13
|
|
|
14
14
|
const sallaLoyaltyProgramCss$3 = "";
|
|
15
15
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DPCf4JsS.js');
|
|
7
7
|
|
|
8
8
|
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;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:#baf3e6 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-DPCf4JsS.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');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DPCf4JsS.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
|
|
package/dist/cjs/twilight.cjs.js
CHANGED
|
@@ -15,15 +15,27 @@ export class SallaConditionalFields {
|
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
disableInputs(field) {
|
|
18
|
-
field.querySelectorAll('[name]').forEach((
|
|
18
|
+
field.querySelectorAll('[name]').forEach((node) => {
|
|
19
|
+
const input = node;
|
|
19
20
|
input.setAttribute('disabled', '');
|
|
20
21
|
input.removeAttribute('required');
|
|
21
|
-
if (input
|
|
22
|
+
if (input instanceof HTMLSelectElement) {
|
|
22
23
|
input.value = '';
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (input instanceof HTMLTextAreaElement) {
|
|
27
|
+
input.value = '';
|
|
28
|
+
return;
|
|
23
29
|
}
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
if (input instanceof HTMLInputElement) {
|
|
31
|
+
const t = (input.type || 'text').toLowerCase();
|
|
32
|
+
if (t === 'checkbox' || t === 'radio') {
|
|
33
|
+
input.checked = false;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (['text', 'search', 'number', 'tel', 'url', 'email'].includes(t)) {
|
|
37
|
+
input.value = '';
|
|
38
|
+
}
|
|
27
39
|
}
|
|
28
40
|
});
|
|
29
41
|
}
|
|
@@ -117,7 +129,7 @@ export class SallaConditionalFields {
|
|
|
117
129
|
});
|
|
118
130
|
}
|
|
119
131
|
render() {
|
|
120
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'a7314ccb4aaccc58db6c24db7a0f57e53087fdac' }, h("slot", { key: '0f192d2fd0670c8ba0e3d94dc84fed81123373b2' })));
|
|
121
133
|
}
|
|
122
134
|
static get is() { return "salla-conditional-fields"; }
|
|
123
135
|
static get elementRef() { return "host"; }
|
|
@@ -156,8 +156,12 @@ export class SallaProductOptions {
|
|
|
156
156
|
const requiredElements = this.host.querySelectorAll('[required]');
|
|
157
157
|
let pass = true;
|
|
158
158
|
for (let i = 0; i < requiredElements.length; i++) {
|
|
159
|
+
const el = requiredElements[i];
|
|
160
|
+
if (el.disabled || el.closest('.hidden')) {
|
|
161
|
+
continue;
|
|
162
|
+
}
|
|
159
163
|
//if there is only one invalid option, return false
|
|
160
|
-
if ('reportValidity' in
|
|
164
|
+
if ('reportValidity' in el && !el.reportValidity()) {
|
|
161
165
|
pass = false;
|
|
162
166
|
}
|
|
163
167
|
}
|
|
@@ -280,6 +284,13 @@ export class SallaProductOptions {
|
|
|
280
284
|
}
|
|
281
285
|
return opt;
|
|
282
286
|
});
|
|
287
|
+
this.pruneInvisibleConditionalSelections();
|
|
288
|
+
this.setSelectedSkus();
|
|
289
|
+
requestAnimationFrame(() => {
|
|
290
|
+
this.optionsData
|
|
291
|
+
?.filter(o => o.type === DisplayType.MULTIPLE_OPTIONS && o.required)
|
|
292
|
+
.forEach(o => this.handleRequiredMultipleOptions(o));
|
|
293
|
+
});
|
|
283
294
|
// Emit the event only if fireChangeEvent is true
|
|
284
295
|
if (fireChangeEvent) {
|
|
285
296
|
this.changed.emit(data);
|
|
@@ -299,9 +310,60 @@ export class SallaProductOptions {
|
|
|
299
310
|
return;
|
|
300
311
|
}
|
|
301
312
|
const optionContainer = this.host.querySelector(`[data-option-id="${option.id}"]`);
|
|
313
|
+
if (!optionContainer) {
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
302
316
|
const hasChecked = optionContainer.querySelectorAll('input:checked').length;
|
|
303
317
|
optionContainer.querySelectorAll('input').forEach(input => input.toggleAttribute('required', !hasChecked));
|
|
304
318
|
}
|
|
319
|
+
pruneInvisibleConditionalSelections() {
|
|
320
|
+
const passes = Math.max(1, this.optionsData.length);
|
|
321
|
+
for (let p = 0; p < passes; p++) {
|
|
322
|
+
let clearedSomething = false;
|
|
323
|
+
for (const opt of this.optionsData) {
|
|
324
|
+
const vc = opt.visibility_condition;
|
|
325
|
+
if (!vc) {
|
|
326
|
+
continue;
|
|
327
|
+
}
|
|
328
|
+
const selectedAtParent = this.selectedOptions
|
|
329
|
+
.filter(s => s.option_id === vc.option)
|
|
330
|
+
.map(s => String(s.id));
|
|
331
|
+
const targetSelected = selectedAtParent.includes(String(vc.value));
|
|
332
|
+
const shouldShow = vc.operator === '=' ? targetSelected : !targetSelected;
|
|
333
|
+
if (shouldShow) {
|
|
334
|
+
continue;
|
|
335
|
+
}
|
|
336
|
+
if (this.clearStaleOption(opt.id)) {
|
|
337
|
+
clearedSomething = true;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
if (!clearedSomething) {
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
clearStaleOption(optionId) {
|
|
346
|
+
const opt = this.optionsData.find(o => o.id === optionId);
|
|
347
|
+
if (!opt) {
|
|
348
|
+
return false;
|
|
349
|
+
}
|
|
350
|
+
const beforeLen = this.selectedOptions.length;
|
|
351
|
+
this.selectedOptions = this.selectedOptions.filter(s => s.option_id !== optionId);
|
|
352
|
+
const removedFromSelected = this.selectedOptions.length !== beforeLen;
|
|
353
|
+
const hasValue = opt.value != null && String(opt.value).length > 0;
|
|
354
|
+
const hadSelectedDetail = opt.details?.some(d => d.is_selected) ?? false;
|
|
355
|
+
if (!removedFromSelected && !hasValue && !hadSelectedDetail) {
|
|
356
|
+
return false;
|
|
357
|
+
}
|
|
358
|
+
this.optionsData = this.optionsData.map(o => o.id !== optionId
|
|
359
|
+
? o
|
|
360
|
+
: {
|
|
361
|
+
...o,
|
|
362
|
+
value: undefined,
|
|
363
|
+
details: o.details?.map(d => ({ ...d, is_selected: false })) ?? o.details,
|
|
364
|
+
});
|
|
365
|
+
return true;
|
|
366
|
+
}
|
|
305
367
|
getLatLng(value, type) {
|
|
306
368
|
return value
|
|
307
369
|
? value.split(',')[type === 'lat' ? 0 : 1]
|