@salla.sa/twilight-components 2.14.379 → 2.14.381
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-DeK1JlYj.js → filepond-CsqfBzs3.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CKwue0gw.js → filepond-plugin-file-poster-BWhvanmU.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-DOyErYLM.js → filepond-plugin-file-validate-size-noIyy5Yp.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CU1RpQcp.js → filepond-plugin-file-validate-type-N76Wh7ZL.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-B9HP-QyX.js → filepond-plugin-image-edit-BkgUR4kG.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-ChkDsVpW.js → filepond-plugin-image-exif-orientation-DLFISFCC.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-yVWAKO74.js → filepond-plugin-image-preview-CtTDfIQp.js} +1 -1
- package/dist/cjs/{index-DJeWXRgb.js → index-B-K6ToCR.js} +1 -1
- package/dist/cjs/{index-DbXsJQgp.js → index-Bxxuur88.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +4 -2
- package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +5 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +8 -2
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
- package/dist/cjs/salla-bullet-delivery.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 +2 -2
- 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 +5 -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-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +6 -2
- 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 +144 -43
- package/dist/cjs/salla-login-modal.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 +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-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 +6 -4
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +10 -6
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
- 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 +2 -2
- 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-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-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 +5 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +5 -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 +4 -4
- 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/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-_efxLFRc.js → vanilla-picker-DDwsUdkB.js} +1 -1
- package/dist/collection/components/salla-accordion/salla-accordion.js +5 -3
- package/dist/collection/components/salla-advertisement/salla-advertisement.js +4 -0
- package/dist/collection/components/salla-app-install-alert/salla-app-install-alert.js +7 -1
- package/dist/collection/components/salla-custom-fields/salla-custom-fields.js +12 -8
- package/dist/collection/components/salla-hook/salla-hook.js +12 -5
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +165 -47
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +3 -2
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +4 -3
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +12 -9
- package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +7 -6
- package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +2 -2
- package/dist/collection/components/salla-order-details/salla-order-details.js +2 -2
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +4 -2
- package/dist/collection/components/salla-review-card/salla-review-card.js +2 -2
- package/dist/collection/components/salla-scopes/salla-scopes.js +4 -0
- package/dist/collection/components/salla-user-menu/salla-user-menu.js +7 -7
- package/dist/components/index.js +2 -2
- package/dist/components/salla-accordion2.js +3 -1
- package/dist/components/salla-advertisement.js +4 -0
- package/dist/components/salla-app-install-alert.js +7 -1
- package/dist/components/salla-custom-fields.js +4 -0
- package/dist/components/salla-hook.js +5 -1
- package/dist/components/salla-localization-modal.js +144 -43
- package/dist/components/salla-multiple-bundle-product-cart2.js +2 -1
- package/dist/components/salla-multiple-bundle-product-details2.js +3 -2
- package/dist/components/salla-multiple-bundle-product-options-modal2.js +7 -4
- package/dist/components/salla-multiple-bundle-product-slider2.js +2 -1
- package/dist/components/salla-multiple-bundle-product.js +1 -1
- package/dist/components/salla-order-details.js +1 -1
- package/dist/components/salla-rating-modal.js +4 -2
- package/dist/components/salla-review-card2.js +1 -1
- package/dist/components/salla-scopes.js +4 -0
- package/dist/components/salla-user-menu.js +4 -4
- package/dist/esm/{filepond-Dc2yPlyl.js → filepond-Dw5LLI9G.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BDl4PvAQ.js → filepond-plugin-file-poster-BQve1M8B.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CuAcfGXW.js → filepond-plugin-file-validate-size-Mq0exUD8.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Nae1uVmb.js → filepond-plugin-file-validate-type-BjZfWuzA.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-CMwEVunH.js → filepond-plugin-image-edit-B_Mw4seW.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-DjUH5Di_.js → filepond-plugin-image-exif-orientation-D1rHHcpP.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-p7Vgot5R.js → filepond-plugin-image-preview-CSOxFeXE.js} +1 -1
- package/dist/esm/{index-DYl9MMu1.js → index-BpoZBzEy.js} +2 -2
- package/dist/esm/{index-Db2IiLsV.js → index-COcTESat.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_3.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +4 -2
- package/dist/esm/salla-add-product-button_4.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +5 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +8 -2
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +10 -10
- package/dist/esm/salla-bullet-delivery.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 +2 -2
- 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 +5 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +6 -2
- 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 +144 -43
- package/dist/esm/salla-login-modal.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.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-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 +6 -4
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +10 -6
- package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
- 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 +2 -2
- 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-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-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +5 -3
- package/dist/esm/salla-scopes.entry.js +5 -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 +4 -4
- 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/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-DvNGHEcJ.js → vanilla-picker-COFfA4w_.js} +1 -1
- package/dist/twilight/{p-19e99ec3.entry.js → p-0413c734.entry.js} +1 -1
- package/dist/twilight/p-04b8ab10.entry.js +4 -0
- package/dist/twilight/{p-4004a6c3.entry.js → p-15a594fa.entry.js} +1 -1
- package/dist/twilight/{p-31aeba33.entry.js → p-15fd3093.entry.js} +1 -1
- package/dist/twilight/{p-ef4e02a6.entry.js → p-17b7160b.entry.js} +1 -1
- package/dist/twilight/{p-6e82a20a.entry.js → p-2199d718.entry.js} +1 -1
- package/dist/twilight/{p-6972fb2a.entry.js → p-24377f25.entry.js} +1 -1
- package/dist/twilight/{p-d58f488d.entry.js → p-264fbff6.entry.js} +1 -1
- package/dist/twilight/{p-c920468e.entry.js → p-3041a8c3.entry.js} +1 -1
- package/dist/twilight/{p-0dbee06d.entry.js → p-30e99651.entry.js} +1 -1
- package/dist/twilight/{p-a0fbbde1.entry.js → p-39581e5c.entry.js} +1 -1
- package/dist/twilight/{p-2ae41025.entry.js → p-3f181a96.entry.js} +1 -1
- package/dist/twilight/{p-a4a182ee.entry.js → p-4463abd4.entry.js} +1 -1
- package/dist/twilight/{p-1f14f108.entry.js → p-4919e5a9.entry.js} +1 -1
- package/dist/twilight/{p-74304f2e.entry.js → p-4ffae40f.entry.js} +1 -1
- package/dist/twilight/{p-CNY9yekJ.js → p-4jF7OEOD.js} +1 -1
- package/dist/twilight/{p-32a24cc8.entry.js → p-538189c6.entry.js} +1 -1
- package/dist/twilight/{p-57cb15c8.entry.js → p-53c9c271.entry.js} +1 -1
- package/dist/twilight/{p-fb7a5504.entry.js → p-5507971f.entry.js} +1 -1
- package/dist/twilight/{p-0fe06f81.entry.js → p-5e99999b.entry.js} +1 -1
- package/dist/twilight/{p-97a32190.entry.js → p-6004b9f6.entry.js} +1 -1
- package/dist/twilight/{p-31070fc5.entry.js → p-645926ff.entry.js} +1 -1
- package/dist/twilight/{p-d1b17d65.entry.js → p-64a71c5b.entry.js} +1 -1
- package/dist/twilight/{p-b5fd2061.entry.js → p-64e748a7.entry.js} +1 -1
- package/dist/twilight/{p-09415a32.entry.js → p-6a92b5dd.entry.js} +1 -1
- package/dist/twilight/{p-899e93da.entry.js → p-6af10c58.entry.js} +1 -1
- package/dist/twilight/{p-51378710.entry.js → p-7131d69f.entry.js} +1 -1
- package/dist/twilight/{p-dba15861.entry.js → p-73ab234b.entry.js} +1 -1
- package/dist/twilight/{p-2cfbfd3d.entry.js → p-83f3ec31.entry.js} +1 -1
- package/dist/twilight/{p-8046e1a3.entry.js → p-84c228b3.entry.js} +1 -1
- package/dist/twilight/p-87995ef8.entry.js +4 -0
- package/dist/twilight/{p-f5496ae9.entry.js → p-8edc0ff0.entry.js} +1 -1
- package/dist/twilight/{p-e43d3c28.entry.js → p-97fb05e9.entry.js} +1 -1
- package/dist/twilight/{p-e1708f19.entry.js → p-984f5fdb.entry.js} +1 -1
- package/dist/twilight/{p-d3e64710.entry.js → p-98cb7b70.entry.js} +1 -1
- package/dist/twilight/{p-1016de73.entry.js → p-9aea4727.entry.js} +1 -1
- package/dist/twilight/{p-3f4b353c.entry.js → p-9f184cae.entry.js} +1 -1
- package/dist/twilight/{p-C5iTLACj.js → p-BEN319Se.js} +1 -1
- package/dist/twilight/{p-XUmgs20v.js → p-B_eS27OO.js} +1 -1
- package/dist/twilight/{p-DYl9MMu1.js → p-BpoZBzEy.js} +1 -1
- package/dist/twilight/p-CLHtpy_k.js +9 -0
- package/dist/twilight/{p-BfWVI6fY.js → p-ChWnmXKQ.js} +1 -1
- package/dist/twilight/{p-BCV9dZdC.js → p-OV5ZDGcP.js} +1 -1
- package/dist/twilight/{p-72eb3395.entry.js → p-a1bf8ad3.entry.js} +1 -1
- package/dist/twilight/{p-83964eae.entry.js → p-a3ec6623.entry.js} +1 -1
- package/dist/twilight/{p-da83b567.entry.js → p-ab35c8be.entry.js} +1 -1
- package/dist/twilight/p-acd0216d.entry.js +4 -0
- package/dist/twilight/{p-6cb3f083.entry.js → p-b01d274c.entry.js} +1 -1
- package/dist/twilight/{p-5a064ede.entry.js → p-b070f96a.entry.js} +1 -1
- package/dist/twilight/p-b2979968.entry.js +4 -0
- package/dist/twilight/{p-dfa5509d.entry.js → p-bdefc2f2.entry.js} +1 -1
- package/dist/twilight/{p-d7c141c5.entry.js → p-c0540583.entry.js} +1 -1
- package/dist/twilight/{p-4cdd88f8.entry.js → p-c1a34acb.entry.js} +1 -1
- package/dist/twilight/{p-7fa2b846.entry.js → p-c5b6f255.entry.js} +1 -1
- package/dist/twilight/{p-1b4691d2.entry.js → p-c5b8fb5f.entry.js} +1 -1
- package/dist/twilight/{p-45ecda7a.entry.js → p-c614db39.entry.js} +1 -1
- package/dist/twilight/{p-5da28879.entry.js → p-c69cfce4.entry.js} +1 -1
- package/dist/twilight/{p-dc73f4bb.entry.js → p-c74dd641.entry.js} +1 -1
- package/dist/twilight/{p-17791661.entry.js → p-ca62b40b.entry.js} +1 -1
- package/dist/twilight/{p-ab89dd28.entry.js → p-ca995389.entry.js} +1 -1
- package/dist/twilight/{p-3a1093a4.entry.js → p-d9e33667.entry.js} +1 -1
- package/dist/twilight/{p-fe5d6165.entry.js → p-dd01d95c.entry.js} +1 -1
- package/dist/twilight/{p-863b82f7.entry.js → p-dff43324.entry.js} +1 -1
- package/dist/twilight/{p-4f51f5d7.entry.js → p-e35623f2.entry.js} +1 -1
- package/dist/twilight/{p-2d0dcb74.entry.js → p-e4d4516c.entry.js} +1 -1
- package/dist/twilight/{p-26a40803.entry.js → p-e66f7d14.entry.js} +1 -1
- package/dist/twilight/{p-C49HEFSR.js → p-eWBd8uwT.js} +1 -1
- package/dist/twilight/{p-72b7b339.entry.js → p-ed12b178.entry.js} +1 -1
- package/dist/twilight/{p-9b03fd43.entry.js → p-efd9618b.entry.js} +1 -1
- package/dist/twilight/{p-fba9bcb7.entry.js → p-f158ba7c.entry.js} +1 -1
- package/dist/twilight/{p-c8bc7ca0.entry.js → p-f2b27a5e.entry.js} +1 -1
- package/dist/twilight/{p-b31bfad8.entry.js → p-f60ec106.entry.js} +1 -1
- package/dist/twilight/{p-ed43b042.entry.js → p-f625565a.entry.js} +1 -1
- package/dist/twilight/{p-5134f712.entry.js → p-f78b23ea.entry.js} +1 -1
- package/dist/twilight/{p-54b2bc53.entry.js → p-f7bf59b9.entry.js} +1 -1
- package/dist/twilight/{p-c2164b2c.entry.js → p-fdad85d2.entry.js} +1 -1
- package/dist/twilight/{p-CL4h7m8M.js → p-rPMW4kOC.js} +1 -1
- package/dist/twilight/{p-Ki-83_QV.js → p-tNbreaQ2.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-accordion/salla-accordion.d.ts +2 -0
- package/dist/types/components/salla-app-install-alert/salla-app-install-alert.d.ts +1 -0
- package/dist/types/components/salla-custom-fields/salla-custom-fields.d.ts +8 -0
- package/dist/types/components/salla-hook/salla-hook.d.ts +5 -0
- package/dist/types/components/salla-localization-modal/salla-localization-modal.d.ts +14 -3
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.d.ts +1 -0
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.d.ts +1 -0
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.d.ts +5 -0
- package/dist/types/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.d.ts +5 -0
- package/dist/types/components/salla-multiple-bundle-product/salla-multiple-bundle-product.d.ts +1 -0
- package/dist/types/components/salla-order-details/salla-order-details.d.ts +1 -0
- package/dist/types/components/salla-review-card/salla-review-card.d.ts +1 -0
- package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +2 -2
- package/dist/types/components.d.ts +120 -14
- package/package.json +5 -5
- package/dist/twilight/p-16a67ed0.entry.js +0 -4
- package/dist/twilight/p-1ad5ec25.entry.js +0 -4
- package/dist/twilight/p-5XDdT3iZ.js +0 -9
- package/dist/twilight/p-609121b5.entry.js +0 -4
- package/dist/twilight/p-a95f88c8.entry.js +0 -4
|
@@ -6,6 +6,7 @@ import KeyBoardArrowLeftIcon from "../../../assets/svg/keyboard_arrow_left.svg";
|
|
|
6
6
|
import KeyBoardArrowRightIcon from "../../../assets/svg/keyboard_arrow_right.svg";
|
|
7
7
|
export class SallaMultipleBundleProductSlider {
|
|
8
8
|
constructor() {
|
|
9
|
+
/** A dictionary tracking which product IDs are currently selected per section. */
|
|
9
10
|
this.selectedProducts = {};
|
|
10
11
|
this.savedOptionsByInstance = {};
|
|
11
12
|
this.handleProductClick = (product, productIndex) => {
|
|
@@ -86,7 +87,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
86
87
|
return `bundle[${sectionId}][${productIndex}][id]`;
|
|
87
88
|
}
|
|
88
89
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: '336a3bcf504a178ee207b40b3b7fac5d26e00f91' }, h("salla-slider", { key: '004d1c3f644bfd015efe2ffc21a78e912c5d0647', type: "carousel", controlsOuter: false, showControls: false, id: `accordion-multiple-bundle-product-${this.section.id}`, pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: { spaceBetween: 0 } }, h("div", { key: 'fda4544764b9bf2eb95d408179c1abc252f50243', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
|
|
90
91
|
const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
|
|
91
92
|
const hasSavedOptions = this.savedOptionsByInstance[this.getProductInstanceKey(this.section.id, productIndex)];
|
|
92
93
|
const optionsButtonLabel = hasSavedOptions
|
|
@@ -132,7 +133,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
132
133
|
"optional": false,
|
|
133
134
|
"docs": {
|
|
134
135
|
"tags": [],
|
|
135
|
-
"text": ""
|
|
136
|
+
"text": "The data for the current bundle section being rendered in this slider."
|
|
136
137
|
},
|
|
137
138
|
"getter": false,
|
|
138
139
|
"setter": false
|
|
@@ -150,7 +151,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
150
151
|
"optional": false,
|
|
151
152
|
"docs": {
|
|
152
153
|
"tags": [],
|
|
153
|
-
"text": ""
|
|
154
|
+
"text": "The zero-based index of this section within the overall bundle."
|
|
154
155
|
},
|
|
155
156
|
"getter": false,
|
|
156
157
|
"setter": false,
|
|
@@ -174,7 +175,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
174
175
|
"optional": false,
|
|
175
176
|
"docs": {
|
|
176
177
|
"tags": [],
|
|
177
|
-
"text": ""
|
|
178
|
+
"text": "A dictionary tracking which product IDs are currently selected per section."
|
|
178
179
|
},
|
|
179
180
|
"getter": false,
|
|
180
181
|
"setter": false,
|
|
@@ -196,7 +197,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
196
197
|
"composed": true,
|
|
197
198
|
"docs": {
|
|
198
199
|
"tags": [],
|
|
199
|
-
"text": ""
|
|
200
|
+
"text": "Emitted when a product is clicked/toggled within the slider."
|
|
200
201
|
},
|
|
201
202
|
"complexType": {
|
|
202
203
|
"original": "{ product: BundleProduct; sectionId: string | number }",
|
|
@@ -217,7 +218,7 @@ export class SallaMultipleBundleProductSlider {
|
|
|
217
218
|
"composed": true,
|
|
218
219
|
"docs": {
|
|
219
220
|
"tags": [],
|
|
220
|
-
"text": ""
|
|
221
|
+
"text": "Emitted when the user clicks the \"options\" button on a product card."
|
|
221
222
|
},
|
|
222
223
|
"complexType": {
|
|
223
224
|
"original": "{\n product: BundleProduct;\n sectionId: string | number;\n }",
|
package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js
CHANGED
|
@@ -82,7 +82,7 @@ export class SallaMultipleBundleProduct {
|
|
|
82
82
|
this.parseProducts(this.bundleSections);
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '2a4510d1ccd3dc840d25a288cb0788a7dd23672c', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "salla-multiple-bundle-product"; }
|
|
88
88
|
static get originalStyleUrls() {
|
|
@@ -110,7 +110,7 @@ export class SallaMultipleBundleProduct {
|
|
|
110
110
|
"optional": false,
|
|
111
111
|
"docs": {
|
|
112
112
|
"tags": [],
|
|
113
|
-
"text": ""
|
|
113
|
+
"text": "The bundled sections data, given as a JSON string or parsed object."
|
|
114
114
|
},
|
|
115
115
|
"getter": false,
|
|
116
116
|
"setter": false,
|
|
@@ -36,7 +36,7 @@ export class SallaOrderDetails {
|
|
|
36
36
|
];
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return h(Host, { key: '
|
|
39
|
+
return h(Host, { key: 'a32d03172c884c8431e592b35b3f6560e3055555', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "salla-order-details"; }
|
|
42
42
|
static get originalStyleUrls() {
|
|
@@ -70,7 +70,7 @@ export class SallaOrderDetails {
|
|
|
70
70
|
"optional": false,
|
|
71
71
|
"docs": {
|
|
72
72
|
"tags": [],
|
|
73
|
-
"text": ""
|
|
73
|
+
"text": "The payload containing order data, stringified JSON or literal object."
|
|
74
74
|
},
|
|
75
75
|
"getter": false,
|
|
76
76
|
"setter": false,
|
|
@@ -315,8 +315,10 @@ export class SallaRatingModal {
|
|
|
315
315
|
}
|
|
316
316
|
data.order_id = this.orderId;
|
|
317
317
|
data.type = this.currentTab.dataset.type;
|
|
318
|
-
this.
|
|
319
|
-
|
|
318
|
+
return salla.rating.api[this.currentTab.dataset.type](data).then((res) => {
|
|
319
|
+
this.submitted.push(this.currentIndex);
|
|
320
|
+
return res;
|
|
321
|
+
});
|
|
320
322
|
}
|
|
321
323
|
showThankYou() {
|
|
322
324
|
let seconds = 10;
|
|
@@ -158,7 +158,7 @@ export class SallaReviewCard {
|
|
|
158
158
|
return (h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), h("div", { class: "s-review-card-product-details" }, h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? h("p", { class: "s-review-card-product-details-purchase-count" }, h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
|
-
return h("div", { key: '
|
|
161
|
+
return h("div", { key: '48e1eb2b71e5ee6e66def2aac42e9b6255935a17', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: '0b24ea13f1f31224fff7e73d5db6c428adef0bd9', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '44501e61b5eed711820bece91053534a2baacbde', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
|
|
162
162
|
}
|
|
163
163
|
static get is() { return "salla-review-card"; }
|
|
164
164
|
static get originalStyleUrls() {
|
|
@@ -196,7 +196,7 @@ export class SallaReviewCard {
|
|
|
196
196
|
"optional": false,
|
|
197
197
|
"docs": {
|
|
198
198
|
"tags": [],
|
|
199
|
-
"text": ""
|
|
199
|
+
"text": "The review object to render, containing review text, stars, product info, and images."
|
|
200
200
|
},
|
|
201
201
|
"getter": false,
|
|
202
202
|
"setter": false
|
|
@@ -157,6 +157,10 @@ export class SallaScopees {
|
|
|
157
157
|
}
|
|
158
158
|
async componentDidLoad() {
|
|
159
159
|
await Salla.hooks.registerComponent('salla-scopes', this);
|
|
160
|
+
// * Note: Do not auto open scopes modal in mobile app
|
|
161
|
+
const isMobileApp = salla.config.isMobileApp();
|
|
162
|
+
if (isMobileApp)
|
|
163
|
+
return;
|
|
160
164
|
if (!this.isOpenedBefore && this.selection == 'mandatory') {
|
|
161
165
|
this.open();
|
|
162
166
|
}
|
|
@@ -62,9 +62,9 @@ export class SallaUserMenu {
|
|
|
62
62
|
*/
|
|
63
63
|
this.relativeDropdown = false;
|
|
64
64
|
/**
|
|
65
|
-
* To
|
|
65
|
+
* To show the trigger button or not
|
|
66
66
|
*/
|
|
67
|
-
this.
|
|
67
|
+
this.showTrigger = false;
|
|
68
68
|
this.onClickOutside = () => {
|
|
69
69
|
this.opened = false;
|
|
70
70
|
};
|
|
@@ -149,7 +149,7 @@ export class SallaUserMenu {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
autoMountLoginModal() {
|
|
152
|
-
if (!this.
|
|
152
|
+
if (!this.showTrigger) {
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
155
|
if (document.querySelector('salla-login-modal')) {
|
|
@@ -341,10 +341,10 @@ export class SallaUserMenu {
|
|
|
341
341
|
"reflect": true,
|
|
342
342
|
"defaultValue": "false"
|
|
343
343
|
},
|
|
344
|
-
"
|
|
344
|
+
"showTrigger": {
|
|
345
345
|
"type": "boolean",
|
|
346
|
-
"attribute": "
|
|
347
|
-
"mutable":
|
|
346
|
+
"attribute": "show-trigger",
|
|
347
|
+
"mutable": true,
|
|
348
348
|
"complexType": {
|
|
349
349
|
"original": "boolean",
|
|
350
350
|
"resolved": "boolean",
|
|
@@ -354,7 +354,7 @@ export class SallaUserMenu {
|
|
|
354
354
|
"optional": false,
|
|
355
355
|
"docs": {
|
|
356
356
|
"tags": [],
|
|
357
|
-
"text": "To
|
|
357
|
+
"text": "To show the trigger button or not"
|
|
358
358
|
},
|
|
359
359
|
"getter": false,
|
|
360
360
|
"setter": false,
|