@salla.sa/twilight-components 2.14.361 → 2.14.363
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-B9wDH0hL.js → filepond-Cm0veZUa.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CDAuTBej.js → filepond-plugin-file-poster-5FfyUW85.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-C4L-Kvct.js → filepond-plugin-file-validate-size-BZrpKzQW.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BW3FEKz1.js → filepond-plugin-file-validate-type-DfvlWHm3.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-pAPZWiDo.js → filepond-plugin-image-edit-BS6vuSMf.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-C6OEp0GA.js → filepond-plugin-image-exif-orientation-B14qHqal.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-sdDdM7uQ.js → filepond-plugin-image-preview-DbPhsoe7.js} +1 -1
- package/dist/cjs/{index-Cr_tA7my.js → index-8uU_89ND.js} +2 -2
- package/dist/cjs/{index-CbHQk8WJ.js → index-D4WVexAs.js} +1 -1
- 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 +9 -5
- package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-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 +6 -4
- 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 -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 +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-Cei89uUU.js → vanilla-picker-IQ-oWn_E.js} +1 -1
- package/dist/collection/components/salla-breadcrumb/salla-breadcrumb.js +8 -4
- package/dist/collection/components/salla-cookies-bar/salla-cookies-bar.js +5 -3
- package/dist/components/index.js +2 -2
- package/dist/components/salla-breadcrumb.js +8 -4
- package/dist/components/salla-cookies-bar.js +5 -3
- package/dist/esm/{filepond-CYW89yXc.js → filepond-BxnfcWKu.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DcZl9j1q.js → filepond-plugin-file-poster-CVlOWX6z.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-C192qRuF.js → filepond-plugin-file-validate-size-DkWQTJLs.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-ag9RiKtc.js → filepond-plugin-file-validate-type-DJ3SNo4p.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-C4VUQy7T.js → filepond-plugin-image-edit--sW-f_3W.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CEAYAdoN.js → filepond-plugin-image-exif-orientation-BqM7-Xzy.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DEZzgflX.js → filepond-plugin-image-preview-CEoAG6lV.js} +1 -1
- package/dist/esm/{index-Dg2FbtYI.js → index-CIDWvPVd.js} +1 -1
- package/dist/esm/{index-Bm_JjmLY.js → index-DYymy2t0.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 +9 -5
- package/dist/esm/salla-add-product-button_4.entry.js +1 -1
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-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 +6 -4
- 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 -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 +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-N0WXZp8a.js → vanilla-picker-gdoSRIwJ.js} +1 -1
- package/dist/twilight/{p-0b39ca00.entry.js → p-02d3c2c1.entry.js} +1 -1
- package/dist/twilight/{p-0aeb742b.entry.js → p-02f9a65d.entry.js} +1 -1
- package/dist/twilight/{p-1f36e4ed.entry.js → p-05d9522b.entry.js} +1 -1
- package/dist/twilight/{p-199d2afc.entry.js → p-069081f5.entry.js} +1 -1
- package/dist/twilight/{p-1c088a28.entry.js → p-0be53208.entry.js} +1 -1
- package/dist/twilight/{p-b0aa2fbb.entry.js → p-0e2abd8d.entry.js} +1 -1
- package/dist/twilight/{p-3eeeee2a.entry.js → p-147e15be.entry.js} +1 -1
- package/dist/twilight/{p-ace375d3.entry.js → p-147fbbd6.entry.js} +1 -1
- package/dist/twilight/{p-f90ed6b8.entry.js → p-15272ec6.entry.js} +1 -1
- package/dist/twilight/{p-14216c7f.entry.js → p-1a7ef8b9.entry.js} +1 -1
- package/dist/twilight/{p-4d46ba8f.entry.js → p-1df7fdd6.entry.js} +1 -1
- package/dist/twilight/{p-23eb9541.entry.js → p-2cff7601.entry.js} +1 -1
- package/dist/twilight/{p-89ada978.entry.js → p-2fa4615b.entry.js} +1 -1
- package/dist/twilight/{p-49b314ee.entry.js → p-3188943f.entry.js} +1 -1
- package/dist/twilight/{p-1dce335c.entry.js → p-33464e57.entry.js} +1 -1
- package/dist/twilight/{p-7307d72e.entry.js → p-36a25d6d.entry.js} +1 -1
- package/dist/twilight/{p-533058db.entry.js → p-379fd315.entry.js} +1 -1
- package/dist/twilight/{p-cc7a045e.entry.js → p-399edf8d.entry.js} +1 -1
- package/dist/twilight/{p-9242d518.entry.js → p-3b4000a6.entry.js} +1 -1
- package/dist/twilight/{p-8a369c2f.entry.js → p-3bdf10a6.entry.js} +1 -1
- package/dist/twilight/{p-67c292c4.entry.js → p-3d5d0173.entry.js} +1 -1
- package/dist/twilight/{p-253af7e4.entry.js → p-3f9d5f82.entry.js} +1 -1
- package/dist/twilight/{p-7f206524.entry.js → p-46d4b3cc.entry.js} +1 -1
- package/dist/twilight/{p-1ffb95e4.entry.js → p-4786d914.entry.js} +1 -1
- package/dist/twilight/{p-c5c69dd5.entry.js → p-47982538.entry.js} +1 -1
- package/dist/twilight/{p-2c2a5e31.entry.js → p-479c3288.entry.js} +1 -1
- package/dist/twilight/{p-dcc08b7e.entry.js → p-48b787d5.entry.js} +1 -1
- package/dist/twilight/{p-49d0e951.entry.js → p-4ca694ae.entry.js} +1 -1
- package/dist/twilight/{p-b2597562.entry.js → p-4e20b67d.entry.js} +1 -1
- package/dist/twilight/{p-ae6c31ec.entry.js → p-5b9bea1a.entry.js} +1 -1
- package/dist/twilight/{p-01758527.entry.js → p-5fad1660.entry.js} +1 -1
- package/dist/twilight/{p-a64b38ff.entry.js → p-6b7de7eb.entry.js} +1 -1
- package/dist/twilight/{p-00c6b938.entry.js → p-6d5b8938.entry.js} +1 -1
- package/dist/twilight/{p-4e84a501.entry.js → p-6e94fb16.entry.js} +1 -1
- package/dist/twilight/{p-cd4e8a97.entry.js → p-701cc402.entry.js} +1 -1
- package/dist/twilight/{p-4248cb93.entry.js → p-70afedaf.entry.js} +1 -1
- package/dist/twilight/{p-b2b1a5c0.entry.js → p-72d2fd15.entry.js} +1 -1
- package/dist/twilight/{p-6ae733e7.entry.js → p-77186686.entry.js} +1 -1
- package/dist/twilight/{p-32d4ff3c.entry.js → p-8125cc1b.entry.js} +1 -1
- package/dist/twilight/{p-d1efff1b.entry.js → p-8553c120.entry.js} +1 -1
- package/dist/twilight/{p-f8277b02.entry.js → p-857967c3.entry.js} +1 -1
- package/dist/twilight/{p-94797588.entry.js → p-88c066a8.entry.js} +1 -1
- package/dist/twilight/{p-b4fdbde1.entry.js → p-8f5a25a5.entry.js} +1 -1
- package/dist/twilight/{p-448f2198.entry.js → p-9249501a.entry.js} +1 -1
- package/dist/twilight/{p-e1bd6fb2.entry.js → p-9d768dfc.entry.js} +1 -1
- package/dist/twilight/{p-CdycwZVR.js → p-BOP72N-Z.js} +2 -2
- package/dist/twilight/{p-DmucjJ79.js → p-BTCaUy5J.js} +1 -1
- package/dist/twilight/{p-cJK7vs27.js → p-BzWzzpbs.js} +1 -1
- package/dist/twilight/{p-BrMsg8LI.js → p-CFBwCDmK.js} +1 -1
- package/dist/twilight/{p-DClbd2fR.js → p-CNy-mrf-.js} +1 -1
- package/dist/twilight/{p-CJO84kVm.js → p-CWpk66mj.js} +1 -1
- package/dist/twilight/{p-CW14YLAM.js → p-DRCqKDhl.js} +2 -2
- package/dist/twilight/{p-Bm_JjmLY.js → p-DYymy2t0.js} +1 -1
- package/dist/twilight/{p-Bz-InkXO.js → p-DxG2Dyn2.js} +1 -1
- package/dist/twilight/{p-29370764.entry.js → p-a5e35583.entry.js} +1 -1
- package/dist/twilight/{p-d1de9401.entry.js → p-aa067602.entry.js} +1 -1
- package/dist/twilight/{p-f6756659.entry.js → p-acdd9122.entry.js} +1 -1
- package/dist/twilight/{p-3894d390.entry.js → p-b49162d4.entry.js} +1 -1
- package/dist/twilight/{p-46c4028c.entry.js → p-b80a7503.entry.js} +1 -1
- package/dist/twilight/{p-cdff9d44.entry.js → p-b86fb433.entry.js} +1 -1
- package/dist/twilight/{p-1a0ebb60.entry.js → p-bd6ea5cf.entry.js} +1 -1
- package/dist/twilight/{p-6f1a95cf.entry.js → p-c50ea955.entry.js} +1 -1
- package/dist/twilight/{p-da0f4af0.entry.js → p-c6dbc1ad.entry.js} +1 -1
- package/dist/twilight/p-cba4f8d2.entry.js +4 -0
- package/dist/twilight/{p-01515b77.entry.js → p-cbf0d560.entry.js} +1 -1
- package/dist/twilight/{p-BCSovGhK.js → p-cxrZ-GDo.js} +1 -1
- package/dist/twilight/{p-e9db19fa.entry.js → p-d0e54564.entry.js} +1 -1
- package/dist/twilight/{p-78aa003e.entry.js → p-d5e236b8.entry.js} +1 -1
- package/dist/twilight/{p-161b6be8.entry.js → p-d9630e7f.entry.js} +1 -1
- package/dist/twilight/{p-a40111cd.entry.js → p-e083d504.entry.js} +1 -1
- package/dist/twilight/{p-676d09dc.entry.js → p-e8b38c6b.entry.js} +1 -1
- package/dist/twilight/{p-9adb8d89.entry.js → p-e940067f.entry.js} +1 -1
- package/dist/twilight/{p-3d83fcd2.entry.js → p-ebc613c2.entry.js} +1 -1
- package/dist/twilight/{p-890997b7.entry.js → p-f1e8f262.entry.js} +1 -1
- package/dist/twilight/{p-26cdd544.entry.js → p-fcc4e111.entry.js} +1 -1
- package/dist/twilight/{p-c91e5718.entry.js → p-fec7f674.entry.js} +1 -1
- package/dist/twilight/{p-edb6d017.entry.js → p-ff991b71.entry.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-ac82644e.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-8uU_89ND.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');
|
|
@@ -81,7 +81,9 @@ const SallaBreadcrumb = class {
|
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
83
|
let sessionBreadcrumbs = this.getSessionBreadcrumbs();
|
|
84
|
-
|
|
84
|
+
let lastSessionItem = sessionBreadcrumbs[sessionBreadcrumbs.length - 1];
|
|
85
|
+
let isParentCompatible = lastSessionItem?.url && page.parent?.url && lastSessionItem.url === page.parent.url;
|
|
86
|
+
if (page.slug === "product.single" && sessionBreadcrumbs && sessionBreadcrumbs.length > 0 && isParentCompatible) {
|
|
85
87
|
sessionBreadcrumbs.push({
|
|
86
88
|
title: page.title,
|
|
87
89
|
url: page.url
|
|
@@ -148,11 +150,13 @@ const SallaBreadcrumb = class {
|
|
|
148
150
|
}
|
|
149
151
|
generateBreadcrumbs(page) {
|
|
150
152
|
let breadcrumbs = [];
|
|
151
|
-
//
|
|
153
|
+
// Same parent-compatibility as main path: only reuse session path when last item matches page.parent
|
|
152
154
|
if (page.slug === 'product.single') {
|
|
153
155
|
const previousPage = this.getSessionBreadcrumbs();
|
|
154
|
-
|
|
155
|
-
|
|
156
|
+
const lastSessionItem = previousPage[previousPage.length - 1];
|
|
157
|
+
const isParentCompatible = lastSessionItem?.url && page.parent?.url && lastSessionItem.url === page.parent.url;
|
|
158
|
+
if (previousPage.length > 0 && isParentCompatible) {
|
|
159
|
+
return this.setBreadcrumbsFromArray([...previousPage, { title: page.title, url: page.url }]);
|
|
156
160
|
}
|
|
157
161
|
}
|
|
158
162
|
// Start with the current page
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8uU_89ND.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-DHRnzcFm.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-IQ-oWn_E.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-Cm0veZUa.js'); }).then(function (n) { return n.filepond; }),
|
|
836
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-BZrpKzQW.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
|
|
837
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-B14qHqal.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
|
|
838
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-DbPhsoe7.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
|
|
839
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-BS6vuSMf.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
|
|
840
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-DfvlWHm3.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
|
|
841
|
+
Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-5FfyUW85.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-D4WVexAs.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-8uU_89ND.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-8uU_89ND.js');
|
|
7
7
|
|
|
8
8
|
const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}";
|
|
9
9
|
|
|
@@ -42,22 +42,24 @@ const SallaCookiesBar = class {
|
|
|
42
42
|
* Accept cookies consent.
|
|
43
43
|
*/
|
|
44
44
|
async accept() {
|
|
45
|
-
Salla.storage.set('cookies-consent', 'accepted');
|
|
46
45
|
this.isVisible = false;
|
|
46
|
+
//We will call event first because we need to compare between old and new data inside session
|
|
47
47
|
Salla.event.emit('salla-cookies-bar::accepted');
|
|
48
|
+
Salla.storage.set('cookies-consent', 'accepted');
|
|
48
49
|
return this.host;
|
|
49
50
|
}
|
|
50
51
|
/**
|
|
51
52
|
* Reject cookies consent.
|
|
52
53
|
*/
|
|
53
54
|
async reject() {
|
|
54
|
-
Salla.storage.set('cookies-consent', 'rejected');
|
|
55
55
|
this.isVisible = false;
|
|
56
|
+
//We will call event first because we need to compare between old and new data inside session
|
|
56
57
|
Salla.event.emit('salla-cookies-bar::rejected');
|
|
58
|
+
Salla.storage.set('cookies-consent', 'rejected');
|
|
57
59
|
return this.host;
|
|
58
60
|
}
|
|
59
61
|
isRtl() {
|
|
60
|
-
return
|
|
62
|
+
return Salla.config.get('theme.is_rtl', true);
|
|
61
63
|
}
|
|
62
64
|
render() {
|
|
63
65
|
if (!this.isVisible) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-8uU_89ND.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-8uU_89ND.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-8uU_89ND.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-8uU_89ND.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-8uU_89ND.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-8uU_89ND.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-8uU_89ND.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-8uU_89ND.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-DHRnzcFm.js');
|