@salla.sa/twilight-components 2.14.405 → 2.14.407
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-DONb5ni1.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DhkcpnBZ.js → filepond-plugin-file-poster-DJLl01PZ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DRXj8iKf.js → filepond-plugin-file-validate-size-Bj5ZS2Ia.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-FJqR9kh0.js → filepond-plugin-file-validate-type-C5qVR7jg.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-CjAecwmy.js → filepond-plugin-image-edit-BQn6XPQ1.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CUk6TmvV.js → filepond-plugin-image-exif-orientation-KkNLZrKg.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-NwqnihHT.js → filepond-plugin-image-preview-W4IKvGrD.js} +1 -1
- package/dist/cjs/{functions-AX9hdR3s.js → functions-KoRn5eZd.js} +1 -1
- package/dist/cjs/{index-DgQabv-C.js → index-BnIg_p6W.js} +2 -2
- package/dist/cjs/{index-B7ZVnTwW.js → index-D8MRA6xd.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 +34 -17
- 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 +16 -10
- 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-DB9UBRQw.js} +1 -1
- package/dist/cjs/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-B-T8Rzuq.js → vanilla-picker-DN2nlX5w.js} +1 -1
- package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +18 -6
- package/dist/collection/components/salla-file-upload/salla-file-upload.js +6 -1
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +15 -9
- 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-file-upload2.js +6 -1
- package/dist/components/salla-login-modal2.js +15 -9
- package/dist/components/salla-product-options2.js +63 -1
- package/dist/esm/{filepond-DySdjR-8.js → filepond-DItgQfdC.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BlnNa8do.js → filepond-plugin-file-poster-DwToCHWM.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-BQ6W4ihV.js → filepond-plugin-file-validate-size-BqgSqa91.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-BSjgTfes.js → filepond-plugin-file-validate-type-AOPY-zLx.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BasdFpdu.js → filepond-plugin-image-edit-CmzKh2w7.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DgqaR-d4.js → filepond-plugin-image-exif-orientation-BegRjz9p.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CqXMId16.js → filepond-plugin-image-preview-aoOBjtcL.js} +1 -1
- package/dist/esm/{functions-DrJQx-Uk.js → functions-DJndw4hV.js} +1 -1
- package/dist/esm/{index-n47ndSs0.js → index-BJPLsNkV.js} +1 -1
- package/dist/esm/{index-CtedSqt5.js → index-DszLnUGj.js} +2 -2
- 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 +34 -17
- 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 +16 -10
- 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-DX8tNVW-.js} +1 -1
- package/dist/esm/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-BbuSapAm.js → vanilla-picker-Cbh9ElyS.js} +1 -1
- package/dist/twilight/{p-a29d959e.entry.js → p-015d918e.entry.js} +1 -1
- package/dist/twilight/{p-8fc12321.entry.js → p-01fcf43b.entry.js} +1 -1
- package/dist/twilight/{p-c153e802.entry.js → p-02733c7d.entry.js} +1 -1
- package/dist/twilight/{p-a6da11cd.entry.js → p-0abd36d0.entry.js} +1 -1
- package/dist/twilight/{p-b8e43fdc.entry.js → p-10ef144c.entry.js} +1 -1
- package/dist/twilight/{p-68aba876.entry.js → p-1318b3f3.entry.js} +1 -1
- package/dist/twilight/{p-f79def0e.entry.js → p-14911faf.entry.js} +1 -1
- package/dist/twilight/p-16d92b93.entry.js +4 -0
- package/dist/twilight/{p-ed9b2c0a.entry.js → p-175307cc.entry.js} +1 -1
- package/dist/twilight/{p-ad24b49f.entry.js → p-1ab34e50.entry.js} +1 -1
- package/dist/twilight/{p-265c5119.entry.js → p-1d044eb9.entry.js} +1 -1
- package/dist/twilight/{p-79b10d4f.entry.js → p-1d6814cd.entry.js} +1 -1
- package/dist/twilight/{p-5c855f94.entry.js → p-292f34dd.entry.js} +1 -1
- package/dist/twilight/{p-0141f545.entry.js → p-2ecde2f5.entry.js} +1 -1
- package/dist/twilight/{p-12bced37.entry.js → p-3067235e.entry.js} +1 -1
- package/dist/twilight/{p-0a1bddb5.entry.js → p-31a364c8.entry.js} +1 -1
- package/dist/twilight/{p-370ba990.entry.js → p-34473727.entry.js} +1 -1
- package/dist/twilight/{p-6559fd74.entry.js → p-35b2704c.entry.js} +1 -1
- package/dist/twilight/p-37461c2e.entry.js +4 -0
- package/dist/twilight/{p-52ff7ce9.entry.js → p-39cb3a88.entry.js} +1 -1
- package/dist/twilight/{p-c9d4fe86.entry.js → p-3a79c700.entry.js} +1 -1
- package/dist/twilight/{p-5a4ab122.entry.js → p-426d6d02.entry.js} +1 -1
- package/dist/twilight/{p-d57f8ddc.entry.js → p-45ec6d5e.entry.js} +1 -1
- package/dist/twilight/{p-2ef0b3d8.entry.js → p-47b75322.entry.js} +1 -1
- package/dist/twilight/{p-33d1d347.entry.js → p-483021b0.entry.js} +1 -1
- package/dist/twilight/{p-35683b9d.entry.js → p-49f91bc0.entry.js} +1 -1
- package/dist/twilight/{p-ed8da6c7.entry.js → p-4c3f5513.entry.js} +1 -1
- package/dist/twilight/{p-345e5b0c.entry.js → p-4dabe96e.entry.js} +1 -1
- package/dist/twilight/p-4e0ae449.entry.js +4 -0
- package/dist/twilight/{p-77fb4ab3.entry.js → p-50f05fba.entry.js} +1 -1
- package/dist/twilight/{p-1ac02c8b.entry.js → p-528a04a4.entry.js} +1 -1
- package/dist/twilight/{p-ffec7151.entry.js → p-547682d5.entry.js} +1 -1
- package/dist/twilight/{p-e77bc664.entry.js → p-5866546b.entry.js} +1 -1
- package/dist/twilight/{p-9539d123.entry.js → p-5868a3c5.entry.js} +1 -1
- package/dist/twilight/{p-6ad9fdb6.entry.js → p-5946f4f7.entry.js} +1 -1
- package/dist/twilight/{p-7bca6a1a.entry.js → p-5d884976.entry.js} +1 -1
- package/dist/twilight/{p-3b63b3c3.entry.js → p-5f56eb57.entry.js} +1 -1
- package/dist/twilight/{p-3aa17242.entry.js → p-62d39f74.entry.js} +1 -1
- package/dist/twilight/{p-1a9bd680.entry.js → p-63fda921.entry.js} +1 -1
- package/dist/twilight/{p-223aa493.entry.js → p-664ddf5c.entry.js} +1 -1
- package/dist/twilight/{p-14bfdd5d.entry.js → p-66a4beef.entry.js} +1 -1
- package/dist/twilight/{p-41e2eb88.entry.js → p-6f66b9f1.entry.js} +1 -1
- package/dist/twilight/{p-e5505e66.entry.js → p-708ea2f8.entry.js} +1 -1
- package/dist/twilight/{p-9da2e790.entry.js → p-70b4f566.entry.js} +1 -1
- package/dist/twilight/{p-2e3eda61.entry.js → p-724a4bb5.entry.js} +1 -1
- package/dist/twilight/{p-765e22b4.entry.js → p-740a98cf.entry.js} +1 -1
- package/dist/twilight/{p-522514b4.entry.js → p-75ba07a3.entry.js} +1 -1
- package/dist/twilight/{p-8e34615b.entry.js → p-773e29ee.entry.js} +1 -1
- package/dist/twilight/{p-dcc6111a.entry.js → p-7c1ba8a8.entry.js} +1 -1
- package/dist/twilight/{p-84b7b4ad.entry.js → p-7e903262.entry.js} +1 -1
- package/dist/twilight/{p-419a6d67.entry.js → p-87eb0946.entry.js} +1 -1
- package/dist/twilight/{p-3f52e61b.entry.js → p-8853be2f.entry.js} +1 -1
- package/dist/twilight/{p-5ad5ff1e.entry.js → p-8e43263b.entry.js} +1 -1
- package/dist/twilight/{p-57f4622c.entry.js → p-92a7a433.entry.js} +1 -1
- package/dist/twilight/{p-3bd4333b.entry.js → p-93465dc7.entry.js} +1 -1
- package/dist/twilight/{p-6e3a2117.entry.js → p-985999f2.entry.js} +1 -1
- package/dist/twilight/{p-7a9609e1.entry.js → p-98b356b0.entry.js} +1 -1
- package/dist/twilight/{p-B4yd_FR0.js → p-BFO0hHSc.js} +1 -1
- package/dist/twilight/{p-kh2fG6rM.js → p-BR4Z-q-K.js} +1 -1
- package/dist/twilight/{p-DeVIZSmo.js → p-BWgDXPtg.js} +1 -1
- package/dist/twilight/{p-Cs4MH9HC.js → p-BpLMOuGA.js} +1 -1
- package/dist/twilight/{p-dCMSKLuX.js → p-BxDRTh2C.js} +2 -2
- package/dist/twilight/p-CrhFFVDZ.js +9 -0
- package/dist/twilight/{p-BFvfq821.js → p-DXck6gB1.js} +1 -1
- package/dist/twilight/p-Dai280kp.js +4 -0
- package/dist/twilight/{p-dn9IXQL6.js → p-Dd67_hDr.js} +1 -1
- package/dist/twilight/{p-CtedSqt5.js → p-DszLnUGj.js} +1 -1
- package/dist/twilight/{p-768383b6.entry.js → p-a790811c.entry.js} +1 -1
- package/dist/twilight/{p-825c8b40.entry.js → p-aeec7898.entry.js} +1 -1
- package/dist/twilight/{p-821405e8.entry.js → p-b01d790c.entry.js} +1 -1
- package/dist/twilight/{p-423a21ce.entry.js → p-badc31ab.entry.js} +1 -1
- package/dist/twilight/{p-8744853a.entry.js → p-bd7d3e97.entry.js} +1 -1
- package/dist/twilight/{p-0488a76d.entry.js → p-c0e49be8.entry.js} +1 -1
- package/dist/twilight/{p-bf2853ba.entry.js → p-c186acbd.entry.js} +1 -1
- package/dist/twilight/p-c3c152a2.entry.js +4 -0
- package/dist/twilight/{p-31c17553.entry.js → p-c408201c.entry.js} +1 -1
- package/dist/twilight/{p-a779b16a.entry.js → p-c463f03a.entry.js} +1 -1
- package/dist/twilight/{p-cfeadcd4.entry.js → p-c5ead689.entry.js} +1 -1
- package/dist/twilight/{p-dd766f7c.entry.js → p-ce9c043a.entry.js} +1 -1
- package/dist/twilight/{p-1f681622.entry.js → p-d1009bc1.entry.js} +1 -1
- package/dist/twilight/{p-f177da4e.entry.js → p-d418c9c7.entry.js} +1 -1
- package/dist/twilight/{p-ca4d905d.entry.js → p-e42eda5b.entry.js} +1 -1
- package/dist/twilight/{p-e626e3f4.entry.js → p-ebefbf8a.entry.js} +1 -1
- package/dist/twilight/{p-178cc3b8.entry.js → p-ef805bfd.entry.js} +1 -1
- package/dist/twilight/{p-9d363442.entry.js → p-f05d044d.entry.js} +1 -1
- package/dist/twilight/{p-6c713501.entry.js → p-f7494edc.entry.js} +1 -1
- package/dist/twilight/{p-322f4c26.entry.js → p-f7fca848.entry.js} +1 -1
- package/dist/twilight/{p-a989e667.entry.js → p-fc4c59bf.entry.js} +1 -1
- package/dist/twilight/{p-9c01e1ec.entry.js → p-fc516675.entry.js} +1 -1
- package/dist/twilight/{p-98849974.entry.js → p-fc7f8467.entry.js} +1 -1
- package/dist/twilight/{p-83abbe7a.entry.js → p-fecbf4bc.entry.js} +1 -1
- package/dist/twilight/{p-ElgY53WU.js → p-vRiP6WII.js} +1 -1
- package/dist/twilight/{p-szxzKhuY.js → p-zuz35CP4.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-file-upload/salla-file-upload.d.ts +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-C_DTMIQF.js +0 -9
- package/dist/twilight/p-c5ce7496.entry.js +0 -4
- package/dist/twilight/p-c812ba21.entry.js +0 -4
- package/dist/twilight/p-fdfc080d.entry.js +0 -4
|
@@ -16,15 +16,27 @@ const SallaConditionalFields = /*@__PURE__*/ proxyCustomElement(class SallaCondi
|
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
18
|
disableInputs(field) {
|
|
19
|
-
field.querySelectorAll('[name]').forEach((
|
|
19
|
+
field.querySelectorAll('[name]').forEach((node) => {
|
|
20
|
+
const input = node;
|
|
20
21
|
input.setAttribute('disabled', '');
|
|
21
22
|
input.removeAttribute('required');
|
|
22
|
-
if (input
|
|
23
|
+
if (input instanceof HTMLSelectElement) {
|
|
23
24
|
input.value = '';
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (input instanceof HTMLTextAreaElement) {
|
|
28
|
+
input.value = '';
|
|
29
|
+
return;
|
|
24
30
|
}
|
|
25
|
-
if (
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
if (input instanceof HTMLInputElement) {
|
|
32
|
+
const t = (input.type || 'text').toLowerCase();
|
|
33
|
+
if (t === 'checkbox' || t === 'radio') {
|
|
34
|
+
input.checked = false;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (['text', 'search', 'number', 'tel', 'url', 'email'].includes(t)) {
|
|
38
|
+
input.value = '';
|
|
39
|
+
}
|
|
28
40
|
}
|
|
29
41
|
});
|
|
30
42
|
}
|
|
@@ -118,7 +130,7 @@ const SallaConditionalFields = /*@__PURE__*/ proxyCustomElement(class SallaCondi
|
|
|
118
130
|
});
|
|
119
131
|
}
|
|
120
132
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: 'a7314ccb4aaccc58db6c24db7a0f57e53087fdac' }, h("slot", { key: '0f192d2fd0670c8ba0e3d94dc84fed81123373b2' })));
|
|
122
134
|
}
|
|
123
135
|
get host() { return this; }
|
|
124
136
|
}, [4, "salla-conditional-fields", undefined, [[0, "change", "changeHandler"], [0, "input", "changeHandler"]]]);
|
|
@@ -322,7 +322,12 @@ const SallaFileUpload = /*@__PURE__*/ proxyCustomElement(class SallaFileUpload e
|
|
|
322
322
|
"s-file-upload-multiple": this.allowMultiple,
|
|
323
323
|
} }, h("input", { key: 'd203f426a3e4ac253ed6e6f96fd495620a87ee47', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: '865690093e0d86e01a801a50a0d32263ab6adc29', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
|
|
324
324
|
}
|
|
325
|
-
componentDidLoad() {
|
|
325
|
+
async componentDidLoad() {
|
|
326
|
+
await Salla.onRead();
|
|
327
|
+
await Salla.lang.onLoaded();
|
|
328
|
+
if (this.profileImage && !this.value) {
|
|
329
|
+
this.value = Salla.config.get('user.avatar');
|
|
330
|
+
}
|
|
326
331
|
let files = this.getFiles();
|
|
327
332
|
this.filepond = this.FilePond.create(this.fileUploader, {
|
|
328
333
|
name: this.payloadName || this.name,
|
|
@@ -85,12 +85,14 @@ const SallaLoginModal = /*@__PURE__*/ proxyCustomElement(class SallaLoginModal e
|
|
|
85
85
|
// }
|
|
86
86
|
if (action == 'ready') {
|
|
87
87
|
if (value.isPasskeyPage) {
|
|
88
|
-
this.createPassKey.postMessage({
|
|
88
|
+
this.createPassKey.postMessage({
|
|
89
|
+
source: "login", type: "init_passkey_page", data: {
|
|
89
90
|
token: salla.storage.get('token'),
|
|
90
91
|
store_id: salla.config.get('store.id'),
|
|
91
92
|
locale: salla.config.get('user.language_code'),
|
|
92
93
|
redirect: salla.config.get('store.url')
|
|
93
|
-
}
|
|
94
|
+
}
|
|
95
|
+
}, salla.config.get('login.url'));
|
|
94
96
|
return;
|
|
95
97
|
}
|
|
96
98
|
this.handleIframeReadyAction();
|
|
@@ -158,18 +160,18 @@ const SallaLoginModal = /*@__PURE__*/ proxyCustomElement(class SallaLoginModal e
|
|
|
158
160
|
* Open login component
|
|
159
161
|
*/
|
|
160
162
|
async open(_event = null) {
|
|
163
|
+
if (Salla.config.isGuest()) {
|
|
164
|
+
return this.modal.open();
|
|
165
|
+
}
|
|
161
166
|
/**
|
|
162
167
|
* This is a workaround until we remove all the user objet from twig files
|
|
163
168
|
* When the user is already login, let's reload the page
|
|
164
169
|
*/
|
|
165
|
-
if (!
|
|
166
|
-
|
|
167
|
-
return location.reload();
|
|
168
|
-
}
|
|
169
|
-
// Fire an event if withoutReload is true
|
|
170
|
-
return;
|
|
170
|
+
if (!this.withoutReload) {
|
|
171
|
+
return location.reload();
|
|
171
172
|
}
|
|
172
|
-
|
|
173
|
+
// Fire an event if withoutReload is true
|
|
174
|
+
return;
|
|
173
175
|
}
|
|
174
176
|
close() {
|
|
175
177
|
Salla.event.emit('salla-login::closing');
|
|
@@ -302,6 +304,10 @@ const SallaLoginModal = /*@__PURE__*/ proxyCustomElement(class SallaLoginModal e
|
|
|
302
304
|
this.modal.open();
|
|
303
305
|
}
|
|
304
306
|
render() {
|
|
307
|
+
//let's avoid showing the login modal if the user is already logged in
|
|
308
|
+
if (Salla.config.isUser()) {
|
|
309
|
+
return;
|
|
310
|
+
}
|
|
305
311
|
if (this.inline) {
|
|
306
312
|
return this.getLoginDom();
|
|
307
313
|
}
|
|
@@ -206,8 +206,12 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
206
206
|
const requiredElements = this.host.querySelectorAll('[required]');
|
|
207
207
|
let pass = true;
|
|
208
208
|
for (let i = 0; i < requiredElements.length; i++) {
|
|
209
|
+
const el = requiredElements[i];
|
|
210
|
+
if (el.disabled || el.closest('.hidden')) {
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
209
213
|
//if there is only one invalid option, return false
|
|
210
|
-
if ('reportValidity' in
|
|
214
|
+
if ('reportValidity' in el && !el.reportValidity()) {
|
|
211
215
|
pass = false;
|
|
212
216
|
}
|
|
213
217
|
}
|
|
@@ -330,6 +334,13 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
330
334
|
}
|
|
331
335
|
return opt;
|
|
332
336
|
});
|
|
337
|
+
this.pruneInvisibleConditionalSelections();
|
|
338
|
+
this.setSelectedSkus();
|
|
339
|
+
requestAnimationFrame(() => {
|
|
340
|
+
this.optionsData
|
|
341
|
+
?.filter(o => o.type === DisplayType.MULTIPLE_OPTIONS && o.required)
|
|
342
|
+
.forEach(o => this.handleRequiredMultipleOptions(o));
|
|
343
|
+
});
|
|
333
344
|
// Emit the event only if fireChangeEvent is true
|
|
334
345
|
if (fireChangeEvent) {
|
|
335
346
|
this.changed.emit(data);
|
|
@@ -349,9 +360,60 @@ const SallaProductOptions = /*@__PURE__*/ proxyCustomElement(class SallaProductO
|
|
|
349
360
|
return;
|
|
350
361
|
}
|
|
351
362
|
const optionContainer = this.host.querySelector(`[data-option-id="${option.id}"]`);
|
|
363
|
+
if (!optionContainer) {
|
|
364
|
+
return;
|
|
365
|
+
}
|
|
352
366
|
const hasChecked = optionContainer.querySelectorAll('input:checked').length;
|
|
353
367
|
optionContainer.querySelectorAll('input').forEach(input => input.toggleAttribute('required', !hasChecked));
|
|
354
368
|
}
|
|
369
|
+
pruneInvisibleConditionalSelections() {
|
|
370
|
+
const passes = Math.max(1, this.optionsData.length);
|
|
371
|
+
for (let p = 0; p < passes; p++) {
|
|
372
|
+
let clearedSomething = false;
|
|
373
|
+
for (const opt of this.optionsData) {
|
|
374
|
+
const vc = opt.visibility_condition;
|
|
375
|
+
if (!vc) {
|
|
376
|
+
continue;
|
|
377
|
+
}
|
|
378
|
+
const selectedAtParent = this.selectedOptions
|
|
379
|
+
.filter(s => s.option_id === vc.option)
|
|
380
|
+
.map(s => String(s.id));
|
|
381
|
+
const targetSelected = selectedAtParent.includes(String(vc.value));
|
|
382
|
+
const shouldShow = vc.operator === '=' ? targetSelected : !targetSelected;
|
|
383
|
+
if (shouldShow) {
|
|
384
|
+
continue;
|
|
385
|
+
}
|
|
386
|
+
if (this.clearStaleOption(opt.id)) {
|
|
387
|
+
clearedSomething = true;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
if (!clearedSomething) {
|
|
391
|
+
break;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
clearStaleOption(optionId) {
|
|
396
|
+
const opt = this.optionsData.find(o => o.id === optionId);
|
|
397
|
+
if (!opt) {
|
|
398
|
+
return false;
|
|
399
|
+
}
|
|
400
|
+
const beforeLen = this.selectedOptions.length;
|
|
401
|
+
this.selectedOptions = this.selectedOptions.filter(s => s.option_id !== optionId);
|
|
402
|
+
const removedFromSelected = this.selectedOptions.length !== beforeLen;
|
|
403
|
+
const hasValue = opt.value != null && String(opt.value).length > 0;
|
|
404
|
+
const hadSelectedDetail = opt.details?.some(d => d.is_selected) ?? false;
|
|
405
|
+
if (!removedFromSelected && !hasValue && !hadSelectedDetail) {
|
|
406
|
+
return false;
|
|
407
|
+
}
|
|
408
|
+
this.optionsData = this.optionsData.map(o => o.id !== optionId
|
|
409
|
+
? o
|
|
410
|
+
: {
|
|
411
|
+
...o,
|
|
412
|
+
value: undefined,
|
|
413
|
+
details: o.details?.map(d => ({ ...d, is_selected: false })) ?? o.details,
|
|
414
|
+
});
|
|
415
|
+
return true;
|
|
416
|
+
}
|
|
355
417
|
getLatLng(value, type) {
|
|
356
418
|
return value
|
|
357
419
|
? value.split(',')[type === 'lat' ? 0 : 1]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-DszLnUGj.js';
|
|
5
5
|
|
|
6
6
|
function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
|
|
7
7
|
return number < multipleOf ? number : number - (number % multipleOf);
|