@salla.sa/twilight-components 2.14.366 → 2.14.367
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-iKAI8_Ua.js → filepond-Dc4v9nRQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-DBOuyuqE.js → filepond-plugin-file-poster-D580mHPz.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-3OjivJWc.js → filepond-plugin-file-validate-size-CirPDkJ5.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-C4wPNa1h.js → filepond-plugin-file-validate-type-DlzM2hzF.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-D06RnDWS.js → filepond-plugin-image-edit-C-V0_34D.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-CbwYrnuw.js → filepond-plugin-image-exif-orientation-BzOSGmgz.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-mOmpKkFJ.js → filepond-plugin-image-preview-DPPccyO8.js} +1 -1
- package/dist/cjs/{index-TmWujwmX.js → index-B-3J2UiO.js} +1 -1
- package/dist/cjs/{index-DL9nqubd.js → index-C4FIMuo-.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-accordion-body_3.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 +5 -3
- 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-booking-field_7.cjs.entry.js +10 -10
- 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_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.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-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-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 +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-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 -6
- package/dist/cjs/salla-products-slider.cjs.entry.js +3 -9
- 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-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/twilight.cjs.js +1 -1
- package/dist/cjs/{vanilla-picker-DPu_Z0gW.js → vanilla-picker-wB5YeUXb.js} +1 -1
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +4 -1
- package/dist/collection/components/salla-products-list/salla-products-list.js +0 -5
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +2 -8
- package/dist/components/index.js +2 -2
- package/dist/components/salla-add-product-button2.js +4 -1
- package/dist/components/salla-products-list2.js +0 -5
- package/dist/components/salla-products-slider2.js +2 -8
- package/dist/esm/{filepond-OIAu6i0O.js → filepond-Pk5LWGeG.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-BMvjO1cc.js → filepond-plugin-file-poster-BtFMoeoX.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-CMCs88HU.js → filepond-plugin-file-validate-size-BxrR9h6P.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Bjpeuqen.js → filepond-plugin-file-validate-type-BwgatLbq.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-Fpoh6xBj.js → filepond-plugin-image-edit-D5zXSV7g.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CPChwYPW.js → filepond-plugin-image-exif-orientation-DCrpf9GE.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-pLwEytag.js → filepond-plugin-image-preview-B67SPp2M.js} +1 -1
- package/dist/esm/{index-Cs4XvAmW.js → index-MNn-Ef4U.js} +1 -1
- package/dist/esm/{index-CV1rqKQz.js → index-ea1dIZhh.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-accordion-body_3.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_4.entry.js +5 -3
- 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-booking-field_7.entry.js +10 -10
- 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_2.entry.js +1 -1
- package/dist/esm/salla-custom-fields.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-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-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 +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-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 -6
- package/dist/esm/salla-products-slider.entry.js +3 -9
- 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-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/twilight.js +2 -2
- package/dist/esm/{vanilla-picker-BASTfXcg.js → vanilla-picker-DyzYo4Sm.js} +1 -1
- package/dist/twilight/{p-594d219c.entry.js → p-034d8a67.entry.js} +1 -1
- package/dist/twilight/{p-0c385d73.entry.js → p-064c2b11.entry.js} +1 -1
- package/dist/twilight/{p-e1bf6d23.entry.js → p-089a72be.entry.js} +1 -1
- package/dist/twilight/{p-22b1bd15.entry.js → p-0b3261ac.entry.js} +1 -1
- package/dist/twilight/{p-bb0585cc.entry.js → p-0b51caa0.entry.js} +1 -1
- package/dist/twilight/{p-c0ab0fc6.entry.js → p-0eb1f375.entry.js} +1 -1
- package/dist/twilight/{p-4d35a32b.entry.js → p-0f2acbdc.entry.js} +1 -1
- package/dist/twilight/{p-c3f515ae.entry.js → p-25589361.entry.js} +1 -1
- package/dist/twilight/{p-2c787ba0.entry.js → p-25787405.entry.js} +1 -1
- package/dist/twilight/p-28faa620.entry.js +4 -0
- package/dist/twilight/{p-e0e61f73.entry.js → p-2ff31dfc.entry.js} +1 -1
- package/dist/twilight/{p-1f6ead7d.entry.js → p-3240a1fe.entry.js} +1 -1
- package/dist/twilight/{p-0f1d7449.entry.js → p-36566eca.entry.js} +1 -1
- package/dist/twilight/{p-6f09b53e.entry.js → p-39b426d2.entry.js} +1 -1
- package/dist/twilight/p-3a82f07b.entry.js +4 -0
- package/dist/twilight/{p-75ab49a3.entry.js → p-3f39afe0.entry.js} +1 -1
- package/dist/twilight/{p-2dd98664.entry.js → p-443034a4.entry.js} +1 -1
- package/dist/twilight/{p-3c09b198.entry.js → p-4719199c.entry.js} +1 -1
- package/dist/twilight/{p-af3d4d0d.entry.js → p-47521f54.entry.js} +1 -1
- package/dist/twilight/{p-965fe2b3.entry.js → p-48cf39b8.entry.js} +1 -1
- package/dist/twilight/{p-db4f5b38.entry.js → p-4964523f.entry.js} +1 -1
- package/dist/twilight/{p-134c9d22.entry.js → p-49eedd45.entry.js} +1 -1
- package/dist/twilight/{p-3f8b06b3.entry.js → p-4db7b9b8.entry.js} +1 -1
- package/dist/twilight/{p-2405c0f7.entry.js → p-50ddd8ae.entry.js} +1 -1
- package/dist/twilight/{p-3c418ff7.entry.js → p-57b7835d.entry.js} +1 -1
- package/dist/twilight/{p-215ed586.entry.js → p-584a2bcc.entry.js} +1 -1
- package/dist/twilight/{p-f1156ab8.entry.js → p-645c1083.entry.js} +1 -1
- package/dist/twilight/{p-a0a6a255.entry.js → p-74445a67.entry.js} +1 -1
- package/dist/twilight/{p-f1be81ba.entry.js → p-74fec1e4.entry.js} +1 -1
- package/dist/twilight/{p-40ec7a33.entry.js → p-7b4b2370.entry.js} +1 -1
- package/dist/twilight/{p-fc6ddedc.entry.js → p-7cbebd14.entry.js} +1 -1
- package/dist/twilight/{p-721bb258.entry.js → p-7d9e3567.entry.js} +1 -1
- package/dist/twilight/{p-e2c6ed54.entry.js → p-93441a3d.entry.js} +1 -1
- package/dist/twilight/{p-8c2b148a.entry.js → p-99addee2.entry.js} +1 -1
- package/dist/twilight/{p-ac7f094e.entry.js → p-99bcb8d4.entry.js} +1 -1
- package/dist/twilight/{p-6daa8bd8.entry.js → p-9a20af32.entry.js} +1 -1
- package/dist/twilight/{p-58f562df.entry.js → p-9aaa0b02.entry.js} +1 -1
- package/dist/twilight/{p-f2v0udIe.js → p-BTSNi4-Y.js} +1 -1
- package/dist/twilight/{p-DbzHZVd1.js → p-BpRlzPzg.js} +1 -1
- package/dist/twilight/{p-CofhuO2Z.js → p-Bv6jrsv_.js} +1 -1
- package/dist/twilight/{p-CvLPGpFQ.js → p-CDyCpF-q.js} +1 -1
- package/dist/twilight/{p-tacIS_Xg.js → p-C_5WDzkV.js} +1 -1
- package/dist/twilight/{p-D5AsuzfF.js → p-Cd7SQKFA.js} +1 -1
- package/dist/twilight/{p-5mQqqwMU.js → p-DMwKr6kA.js} +1 -1
- package/dist/twilight/{p-BLbGjdAU.js → p-LocYOzht.js} +1 -1
- package/dist/twilight/{p-90eea1a9.entry.js → p-a591946d.entry.js} +1 -1
- package/dist/twilight/{p-3c6f9112.entry.js → p-a6c6f400.entry.js} +1 -1
- package/dist/twilight/{p-15242c87.entry.js → p-a7a6c8ad.entry.js} +1 -1
- package/dist/twilight/{p-50f5e38d.entry.js → p-a92b3c77.entry.js} +1 -1
- package/dist/twilight/{p-233b89ad.entry.js → p-afb766ef.entry.js} +1 -1
- package/dist/twilight/{p-1aead6d3.entry.js → p-b053fe1e.entry.js} +1 -1
- package/dist/twilight/{p-5485978c.entry.js → p-b06335bd.entry.js} +1 -1
- package/dist/twilight/{p-9797a552.entry.js → p-b3152bd4.entry.js} +1 -1
- package/dist/twilight/{p-6aecc925.entry.js → p-b870e878.entry.js} +1 -1
- package/dist/twilight/{p-6b6e2a52.entry.js → p-bad606d7.entry.js} +1 -1
- package/dist/twilight/{p-a08f5eae.entry.js → p-bf3ffab6.entry.js} +1 -1
- package/dist/twilight/{p-95db0124.entry.js → p-c045c6b1.entry.js} +1 -1
- package/dist/twilight/{p-e0ce2c0d.entry.js → p-c3351b4c.entry.js} +1 -1
- package/dist/twilight/{p-c90a6440.entry.js → p-c3b046bc.entry.js} +1 -1
- package/dist/twilight/{p-cf64bb24.entry.js → p-c481f4a2.entry.js} +1 -1
- package/dist/twilight/{p-c7719ce9.entry.js → p-c48d8192.entry.js} +1 -1
- package/dist/twilight/{p-a5df57f9.entry.js → p-c5b4e65a.entry.js} +1 -1
- package/dist/twilight/{p-d64027b9.entry.js → p-cb605a9e.entry.js} +1 -1
- package/dist/twilight/{p-7bfb9d71.entry.js → p-d2ce1566.entry.js} +1 -1
- package/dist/twilight/{p-907b40cd.entry.js → p-d3b0bd92.entry.js} +1 -1
- package/dist/twilight/p-d56efab2.entry.js +4 -0
- package/dist/twilight/{p-6dbcd99e.entry.js → p-d9741316.entry.js} +1 -1
- package/dist/twilight/{p-9d937a82.entry.js → p-dbf28d24.entry.js} +1 -1
- package/dist/twilight/{p-dfc75ce2.entry.js → p-e7cd6030.entry.js} +1 -1
- package/dist/twilight/{p-CV1rqKQz.js → p-ea1dIZhh.js} +1 -1
- package/dist/twilight/{p-64ac4c0c.entry.js → p-ea41c97a.entry.js} +1 -1
- package/dist/twilight/{p-f8fb3130.entry.js → p-ee2501d9.entry.js} +1 -1
- package/dist/twilight/{p-f9fcf183.entry.js → p-eef758b0.entry.js} +1 -1
- package/dist/twilight/{p-0ede455c.entry.js → p-f66c013f.entry.js} +1 -1
- package/dist/twilight/{p-04664fcb.entry.js → p-fb93477b.entry.js} +1 -1
- package/dist/twilight/{p-585a349f.entry.js → p-fcebbb86.entry.js} +1 -1
- package/dist/twilight/{p-BGB1zYFQ.js → p-yvU70SQX.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-7c8c6c47.entry.js +0 -4
- package/dist/twilight/p-a386b02a.entry.js +0 -4
- package/dist/twilight/p-de42ef8c.entry.js +0 -4
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
var cancel = require('./cancel-De6vslRA.js');
|
|
9
9
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var cart = require('./cart-s-x1Fshk.js');
|
|
8
|
-
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
8
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
9
|
+
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
10
10
|
var check = require('./check-x3w3-gpj.js');
|
|
11
11
|
var camera = require('./camera-DytepEoK.js');
|
|
12
12
|
require('./anime.es-BqW8JHZi.js');
|
|
@@ -108,11 +108,13 @@ const SallaAddProductButton = class {
|
|
|
108
108
|
* but its work only when the id is the only value is passed via the object
|
|
109
109
|
* so we will filter the object entities to remove null and zero values in case we don't want the normal add item action
|
|
110
110
|
*/
|
|
111
|
+
const parent = this.host.closest('salla-products-list, salla-products-slider');
|
|
111
112
|
const data = Object.entries({
|
|
112
113
|
id: this.productId,
|
|
113
114
|
donation_amount: this.donatingAmount,
|
|
114
115
|
quantity: this.quantity,
|
|
115
|
-
endpoint: 'quickAdd'
|
|
116
|
+
endpoint: 'quickAdd',
|
|
117
|
+
source: Helper.Helper.getProductsSource(parent?.getAttribute('source'))
|
|
116
118
|
}).reduce((a, [k, v]) => (v ? (a[k] = v, a) : a), {});
|
|
117
119
|
// Use the potentially modified data
|
|
118
120
|
return salla.cart.addItem(data)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var minus = require('./minus-CCryh1qf.js');
|
|
9
9
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
@@ -384,7 +384,7 @@ const SallaColorPicker = class {
|
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
initColorPicker() {
|
|
387
|
-
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-
|
|
387
|
+
this.pickerReady = Promise.resolve().then(function () { return require('./vanilla-picker-wB5YeUXb.js'); }).then(function (n) { return n.vanillaPicker; }).then(mod => {
|
|
388
388
|
const Picker = mod.default;
|
|
389
389
|
const picker = new Picker({
|
|
390
390
|
parent: this.host,
|
|
@@ -832,13 +832,13 @@ const SallaFileUpload = class {
|
|
|
832
832
|
return;
|
|
833
833
|
try {
|
|
834
834
|
const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
|
|
835
|
-
Promise.resolve().then(function () { return require('./filepond-
|
|
836
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-
|
|
837
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-
|
|
838
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-
|
|
839
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-
|
|
840
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-
|
|
841
|
-
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-
|
|
835
|
+
Promise.resolve().then(function () { return require('./filepond-Dc4v9nRQ.js'); }).then(function (n) { return n.filepond; }),
|
|
836
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-CirPDkJ5.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
837
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-BzOSGmgz.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
838
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-DPPccyO8.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
839
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-C-V0_34D.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
840
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-DlzM2hzF.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
841
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-D580mHPz.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
|
|
842
842
|
]);
|
|
843
843
|
this.FilePond = FilePondModule;
|
|
844
844
|
// Register plugins
|
|
@@ -1433,7 +1433,7 @@ const SallaTelInput = class {
|
|
|
1433
1433
|
if (this.TelInput)
|
|
1434
1434
|
return;
|
|
1435
1435
|
try {
|
|
1436
|
-
const telInputModule = await Promise.resolve().then(function () { return require('./index-
|
|
1436
|
+
const telInputModule = await Promise.resolve().then(function () { return require('./index-B-3J2UiO.js'); }).then(function (n) { return n.index; });
|
|
1437
1437
|
this.TelInput = telInputModule.default;
|
|
1438
1438
|
}
|
|
1439
1439
|
catch (error) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
var gift = require('./gift-CJ-3Yw_x.js');
|
|
9
9
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var arrowLeft = require('./arrow-left-xSEmRpp6.js');
|
|
9
9
|
var cancel = require('./cancel-De6vslRA.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
|
|
8
8
|
const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
|
|
8
8
|
const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var cancel = require('./cancel-De6vslRA.js');
|
|
8
8
|
|
|
9
9
|
const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.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-C4FIMuo-.js');
|
|
7
7
|
var specialDiscount = require('./special-discount-DC2oXurL.js');
|
|
8
8
|
|
|
9
9
|
var Tag = `<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-C4FIMuo-.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-C4FIMuo-.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');
|
|
@@ -229,11 +229,6 @@ const SallaProductsList = class {
|
|
|
229
229
|
sessionStorage.setItem(this.lastViewedProductKey, product.id);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
// Save source when add-to-cart button is clicked
|
|
233
|
-
const addBtn = target.closest('salla-add-product-button');
|
|
234
|
-
if (addBtn) {
|
|
235
|
-
Helper.Helper.saveAddToCartSource(this.getSource());
|
|
236
|
-
}
|
|
237
232
|
});
|
|
238
233
|
return productCard;
|
|
239
234
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-C4FIMuo-.js');
|
|
7
7
|
var Helper = require('./Helper-CU4Xuiki.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
@@ -80,14 +80,8 @@ const SallaProductsSlider = class {
|
|
|
80
80
|
//todo:: find a better way to handle this request
|
|
81
81
|
const isLandingPage = this.getSource() === 'landing-page';
|
|
82
82
|
isLandingPage && (product.url = '');
|
|
83
|
-
const handleClick = isLandingPage ? undefined : (
|
|
84
|
-
|
|
85
|
-
if (target.closest('salla-add-product-button')) {
|
|
86
|
-
Helper.Helper.saveAddToCartSource(this.getSource());
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
Helper.Helper.saveProductSource(this.getSource());
|
|
90
|
-
}
|
|
83
|
+
const handleClick = isLandingPage ? undefined : () => {
|
|
84
|
+
Helper.Helper.saveProductSource(this.getSource());
|
|
91
85
|
};
|
|
92
86
|
if (this.hasCustomComponent && this.productCardComponent.toLowerCase() == 'custom-salla-product-card') {
|
|
93
87
|
return index.h("div", { class: "s-products-slider-card", onClick: handleClick }, index.h("custom-salla-product-card", { product: product, source: this.getSource(), "source-value": this.getSourceValue() }));
|