@salla.sa/twilight-components 2.14.363 → 2.14.365
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/{Helper-DHRnzcFm.js → Helper-CU4Xuiki.js} +9 -3
- package/dist/cjs/{filepond-Cm0veZUa.js → filepond-5FseaYGO.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-5FfyUW85.js → filepond-plugin-file-poster-B6jRMST8.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-BZrpKzQW.js → filepond-plugin-file-validate-size-B5KYrf7Q.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-DfvlWHm3.js → filepond-plugin-file-validate-type-D6zZbyEw.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-BS6vuSMf.js → filepond-plugin-image-edit-D9sIYJpS.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-B14qHqal.js → filepond-plugin-image-exif-orientation-DCPv8T5a.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-DbPhsoe7.js → filepond-plugin-image-preview-B6ya_UMz.js} +1 -1
- package/dist/cjs/{index-8uU_89ND.js → index-DaB0o62I.js} +2 -2
- package/dist/cjs/{index-D4WVexAs.js → index-DsLCYojB.js} +1 -1
- 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 +2 -2
- package/dist/cjs/salla-add-product-button_4.cjs.entry.js +2 -2
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
- 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 +25 -8
- 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 +2 -2
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/cjs/salla-offer-modal.cjs.entry.js +18 -5
- 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 +2 -2
- 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 +7 -2
- package/dist/cjs/salla-products-slider.cjs.entry.js +11 -3
- 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 +2 -2
- package/dist/cjs/salla-scopes.cjs.entry.js +3 -2
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- 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 +8 -3
- 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 +2 -2
- 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-IQ-oWn_E.js → vanilla-picker-DE9NaT9j.js} +1 -1
- package/dist/collection/Helpers/Helper.js +9 -3
- package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.js +24 -7
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +17 -4
- package/dist/collection/components/salla-products-list/salla-products-list.js +5 -0
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +9 -1
- package/dist/collection/components/salla-scopes/salla-scopes.js +2 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.css +13 -0
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +26 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/Helper.js +9 -3
- package/dist/components/index.js +2 -2
- package/dist/components/salla-conditional-offer.js +32 -9
- package/dist/components/salla-offer-modal.js +17 -4
- package/dist/components/salla-products-list2.js +5 -0
- package/dist/components/salla-products-slider2.js +9 -1
- package/dist/components/salla-scopes.js +2 -1
- package/dist/components/salla-tooltip2.js +8 -2
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/esm/{Helper-B5RLi6Xo.js → Helper-DFMXF2_h.js} +9 -3
- package/dist/esm/{filepond-BxnfcWKu.js → filepond-BGPYjCAA.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-CVlOWX6z.js → filepond-plugin-file-poster-sd-w_Hri.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DkWQTJLs.js → filepond-plugin-file-validate-size-CQkfT5sz.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-DJ3SNo4p.js → filepond-plugin-file-validate-type-Cu8nOdXD.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit--sW-f_3W.js → filepond-plugin-image-edit-CWpBhgby.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-BqM7-Xzy.js → filepond-plugin-image-exif-orientation-DbSLLg4E.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CEoAG6lV.js → filepond-plugin-image-preview-DXgOkLlG.js} +1 -1
- package/dist/esm/{index-CIDWvPVd.js → index-BNB-g4_5.js} +1 -1
- package/dist/esm/{index-DYymy2t0.js → index-DcD0Zbyk.js} +2 -2
- 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 +2 -2
- package/dist/esm/salla-add-product-button_4.entry.js +2 -2
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +11 -11
- 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 +25 -8
- 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 +2 -2
- package/dist/esm/salla-filters.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/salla-offer-modal.entry.js +18 -5
- 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 +2 -2
- 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 +7 -2
- package/dist/esm/salla-products-slider.entry.js +11 -3
- 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 +2 -2
- package/dist/esm/salla-scopes.entry.js +3 -2
- package/dist/esm/salla-search.entry.js +2 -2
- 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 +8 -3
- 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 +2 -2
- 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-gdoSRIwJ.js → vanilla-picker-ErWyfb2S.js} +1 -1
- package/dist/twilight/{p-cbf0d560.entry.js → p-049e7629.entry.js} +1 -1
- package/dist/twilight/{p-3f9d5f82.entry.js → p-05b3f2ba.entry.js} +1 -1
- package/dist/twilight/{p-48b787d5.entry.js → p-05edd1ae.entry.js} +1 -1
- package/dist/twilight/{p-4e20b67d.entry.js → p-0a33368c.entry.js} +1 -1
- package/dist/twilight/{p-4786d914.entry.js → p-0f733d50.entry.js} +1 -1
- package/dist/twilight/p-0f9b63f1.entry.js +4 -0
- package/dist/twilight/{p-47982538.entry.js → p-14d02ff1.entry.js} +1 -1
- package/dist/twilight/{p-d9630e7f.entry.js → p-1db6e42a.entry.js} +1 -1
- package/dist/twilight/{p-a5e35583.entry.js → p-1df500d5.entry.js} +1 -1
- package/dist/twilight/{p-5fad1660.entry.js → p-22b8f56b.entry.js} +1 -1
- package/dist/twilight/{p-88c066a8.entry.js → p-27198dfa.entry.js} +1 -1
- package/dist/twilight/{p-069081f5.entry.js → p-281ca90e.entry.js} +1 -1
- package/dist/twilight/p-28fa2261.entry.js +4 -0
- package/dist/twilight/{p-fcc4e111.entry.js → p-2a8e49ca.entry.js} +1 -1
- package/dist/twilight/{p-fec7f674.entry.js → p-2e1418d2.entry.js} +1 -1
- package/dist/twilight/{p-b49162d4.entry.js → p-31e390fc.entry.js} +1 -1
- package/dist/twilight/{p-701cc402.entry.js → p-34690dc4.entry.js} +1 -1
- package/dist/twilight/{p-b86fb433.entry.js → p-3504a127.entry.js} +1 -1
- package/dist/twilight/{p-3188943f.entry.js → p-37baa677.entry.js} +1 -1
- package/dist/twilight/{p-6d5b8938.entry.js → p-38fb50ed.entry.js} +1 -1
- package/dist/twilight/{p-379fd315.entry.js → p-3bd66c8c.entry.js} +1 -1
- package/dist/twilight/{p-c6dbc1ad.entry.js → p-3e62ea6f.entry.js} +1 -1
- package/dist/twilight/{p-4ca694ae.entry.js → p-3f99644a.entry.js} +1 -1
- package/dist/twilight/{p-2cff7601.entry.js → p-3fbb37fc.entry.js} +1 -1
- package/dist/twilight/{p-f1e8f262.entry.js → p-43bed278.entry.js} +1 -1
- package/dist/twilight/{p-3bdf10a6.entry.js → p-48b8702d.entry.js} +1 -1
- package/dist/twilight/{p-857967c3.entry.js → p-4afcc4e1.entry.js} +1 -1
- package/dist/twilight/{p-1df7fdd6.entry.js → p-4b508998.entry.js} +1 -1
- package/dist/twilight/{p-ff991b71.entry.js → p-4fcd9105.entry.js} +1 -1
- package/dist/twilight/{p-02d3c2c1.entry.js → p-50b01475.entry.js} +1 -1
- package/dist/twilight/{p-5b9bea1a.entry.js → p-5286e950.entry.js} +1 -1
- package/dist/twilight/{p-6e94fb16.entry.js → p-5463603e.entry.js} +1 -1
- package/dist/twilight/{p-72d2fd15.entry.js → p-5b221eda.entry.js} +1 -1
- package/dist/twilight/p-5ca44db4.entry.js +4 -0
- package/dist/twilight/{p-d5e236b8.entry.js → p-61b073fe.entry.js} +1 -1
- package/dist/twilight/{p-77186686.entry.js → p-62ab3466.entry.js} +1 -1
- package/dist/twilight/{p-e8b38c6b.entry.js → p-62eecdc3.entry.js} +1 -1
- package/dist/twilight/{p-02f9a65d.entry.js → p-7472ce60.entry.js} +1 -1
- package/dist/twilight/{p-147e15be.entry.js → p-794141e7.entry.js} +1 -1
- package/dist/twilight/{p-acdd9122.entry.js → p-7e971fde.entry.js} +1 -1
- package/dist/twilight/{p-d0e54564.entry.js → p-84920a03.entry.js} +1 -1
- package/dist/twilight/{p-6b7de7eb.entry.js → p-90375d86.entry.js} +1 -1
- package/dist/twilight/{p-bd6ea5cf.entry.js → p-9a2691e8.entry.js} +1 -1
- package/dist/twilight/{p-CNy-mrf-.js → p-BpwFfwom.js} +1 -1
- package/dist/twilight/{p-CFBwCDmK.js → p-C6smOZtR.js} +1 -1
- package/dist/twilight/p-CHf8XdiS.js +4 -0
- package/dist/twilight/{p-DxG2Dyn2.js → p-CMeOfINj.js} +1 -1
- package/dist/twilight/{p-cxrZ-GDo.js → p-CfS_Im-l.js} +1 -1
- package/dist/twilight/{p-CWpk66mj.js → p-Ctf313G7.js} +1 -1
- package/dist/twilight/{p-BOP72N-Z.js → p-D94qS2bu.js} +2 -2
- package/dist/twilight/{p-BTCaUy5J.js → p-DI8hZjwW.js} +1 -1
- package/dist/twilight/{p-BzWzzpbs.js → p-DaQtMKKH.js} +1 -1
- package/dist/twilight/{p-DYymy2t0.js → p-DcD0Zbyk.js} +2 -2
- package/dist/twilight/{p-3b4000a6.entry.js → p-a12e53fb.entry.js} +1 -1
- package/dist/twilight/{p-8553c120.entry.js → p-a3b90d18.entry.js} +1 -1
- package/dist/twilight/{p-0be53208.entry.js → p-a916b222.entry.js} +1 -1
- package/dist/twilight/{p-70afedaf.entry.js → p-ac4d4de4.entry.js} +1 -1
- package/dist/twilight/{p-9249501a.entry.js → p-bac8dfc6.entry.js} +1 -1
- package/dist/twilight/{p-147fbbd6.entry.js → p-bd15fbda.entry.js} +1 -1
- package/dist/twilight/{p-c50ea955.entry.js → p-ca43a3b7.entry.js} +1 -1
- package/dist/twilight/{p-33464e57.entry.js → p-cacb3ce1.entry.js} +1 -1
- package/dist/twilight/{p-46d4b3cc.entry.js → p-cad7741c.entry.js} +1 -1
- package/dist/twilight/{p-05d9522b.entry.js → p-cf4c8fc8.entry.js} +1 -1
- package/dist/twilight/{p-2fa4615b.entry.js → p-d4135be2.entry.js} +1 -1
- package/dist/twilight/{p-479c3288.entry.js → p-d9e1559a.entry.js} +1 -1
- package/dist/twilight/{p-aa067602.entry.js → p-df475039.entry.js} +1 -1
- package/dist/twilight/{p-cba4f8d2.entry.js → p-e53c695d.entry.js} +1 -1
- package/dist/twilight/p-ea2ebd0c.entry.js +4 -0
- package/dist/twilight/{p-ebc613c2.entry.js → p-eaf91b32.entry.js} +1 -1
- package/dist/twilight/{p-36a25d6d.entry.js → p-eb1ee098.entry.js} +1 -1
- package/dist/twilight/{p-399edf8d.entry.js → p-eb21f677.entry.js} +1 -1
- package/dist/twilight/{p-8f5a25a5.entry.js → p-ec61d027.entry.js} +1 -1
- package/dist/twilight/{p-0e2abd8d.entry.js → p-f0234135.entry.js} +1 -1
- package/dist/twilight/{p-15272ec6.entry.js → p-f1865223.entry.js} +1 -1
- package/dist/twilight/p-f94c1c9a.entry.js +4 -0
- package/dist/twilight/{p-b80a7503.entry.js → p-f959adcd.entry.js} +1 -1
- package/dist/twilight/{p-9d768dfc.entry.js → p-fbc08feb.entry.js} +1 -1
- package/dist/twilight/{p-DRCqKDhl.js → p-r4UR1cQJ.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/Helpers/Helper.d.ts +2 -0
- package/dist/types/components/salla-conditional-offer/salla-conditional-offer.d.ts +2 -1
- package/dist/types/components/salla-scopes/salla-scopes.d.ts +1 -1
- package/dist/types/components/salla-tooltip/salla-tooltip.d.ts +4 -0
- package/dist/types/components.d.ts +10 -0
- package/package.json +5 -5
- package/dist/twilight/p-1a7ef8b9.entry.js +0 -4
- package/dist/twilight/p-3d5d0173.entry.js +0 -4
- package/dist/twilight/p-8125cc1b.entry.js +0 -4
- package/dist/twilight/p-DgNC8L6e.js +0 -4
- package/dist/twilight/p-e083d504.entry.js +0 -4
- package/dist/twilight/p-e940067f.entry.js +0 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.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-DaB0o62I.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-DaB0o62I.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var Helper = require('./Helper-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
|
+
var Helper = require('./Helper-CU4Xuiki.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
10
10
|
const sallaNotificationsCss = "";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.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">
|
|
@@ -80,14 +80,27 @@ const SallaOfferModal = class {
|
|
|
80
80
|
this.productID = product_id;
|
|
81
81
|
//TODO:: make sure there is only one offer
|
|
82
82
|
this.hasError = false;
|
|
83
|
-
this.modal.
|
|
83
|
+
this.modal.loading(); // Reset loading state for subsequent opens
|
|
84
84
|
return await salla.api.withoutNotifier(() => salla.product.offers(product_id))
|
|
85
|
-
.then(response =>
|
|
85
|
+
.then(response => {
|
|
86
|
+
// Check if there are offers before opening the modal
|
|
87
|
+
if (!response.data || !response.data.length) {
|
|
88
|
+
return; // Don't open modal if no offers
|
|
89
|
+
}
|
|
90
|
+
this.modal.open();
|
|
91
|
+
this.showOffer(response.data[0]);
|
|
92
|
+
})
|
|
86
93
|
.catch(e => {
|
|
87
94
|
this.hasError = true;
|
|
88
95
|
this.errorMessage = e.response?.data?.error?.message || e.response?.data;
|
|
96
|
+
this.modal.open(); // Open modal to show error
|
|
89
97
|
})
|
|
90
|
-
.finally(() =>
|
|
98
|
+
.finally(() => {
|
|
99
|
+
// Only stop loading if modal was opened (either for offers or errors)
|
|
100
|
+
if (this.modal.visible) {
|
|
101
|
+
setTimeout(() => this.modal.stopLoading(), 1000);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
91
104
|
}
|
|
92
105
|
/**
|
|
93
106
|
* Show offer details
|
|
@@ -192,7 +205,7 @@ const SallaOfferModal = class {
|
|
|
192
205
|
// '</div>';
|
|
193
206
|
// }
|
|
194
207
|
render() {
|
|
195
|
-
return index.h("salla-modal", { key: '
|
|
208
|
+
return index.h("salla-modal", { key: '630ede1c6ac0df4aa55bd36597eb846df901d94e', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: 'd467615c5aaefc38cec4e40e4e5a7282466937d3', slot: 'loading' }, index.h("div", { key: 'ff17d657a94dcfe8d744e1317d8f73cab6063d11', class: "s-offer-modal-skeleton" }, index.h("div", { key: '81bf28f2785c0beb1ef1d4997ce064983e2211ec', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: 'acd8aa8be556821b4039d1b5fb6e46ef4155ac67', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: '0c6855f5423a5e5bf1caf54da4f608b95b7d3f08', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'e313bac8052684ede353852821a51befb73f52b7', height: '10px', width: '30%' })), index.h("div", { key: '4c6a675e9c07e8e2986debd8dbecc346890ce0ca', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: Cart2 }))))), index.h("div", { key: '226951e15be9aede559c4d24ba6f6690fac80e13', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: '86ae2c54c01b3e58fd31729bc6d263dfa078f7ba', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '32f30f4f5bb11405901359267ab6311604f352ed', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
|
|
196
209
|
? [index.h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: specialDiscount.SpecialDiscountIcon }), this.getOfferContent(), index.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
|
|
197
210
|
index.h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
|
|
198
211
|
: '', index.h("label", { class: "s-offer-modal-remember-label" }, index.h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var Helper = require('./Helper-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
|
+
var Helper = require('./Helper-CU4Xuiki.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
10
10
|
const sallaOrdersCss = ":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-DaB0o62I.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,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
|
|
9
|
-
var Helper = require('./Helper-
|
|
9
|
+
var Helper = require('./Helper-CU4Xuiki.js');
|
|
10
10
|
|
|
11
11
|
const sallaProductsListCss = "";
|
|
12
12
|
|
|
@@ -224,6 +224,11 @@ const SallaProductsList = class {
|
|
|
224
224
|
sessionStorage.setItem(this.lastViewedProductKey, product.id);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
+
// Save source when add-to-cart button is clicked
|
|
228
|
+
const addBtn = target.closest('salla-add-product-button');
|
|
229
|
+
if (addBtn) {
|
|
230
|
+
Helper.Helper.saveAddToCartSource(this.getSource());
|
|
231
|
+
}
|
|
227
232
|
});
|
|
228
233
|
return productCard;
|
|
229
234
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var Helper = require('./Helper-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
|
+
var Helper = require('./Helper-CU4Xuiki.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
10
10
|
const sallaProductsSliderCss = "";
|
|
@@ -80,7 +80,15 @@ 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 : () =>
|
|
83
|
+
const handleClick = isLandingPage ? undefined : (event) => {
|
|
84
|
+
const target = event.target;
|
|
85
|
+
if (target.closest('salla-add-product-button')) {
|
|
86
|
+
Helper.Helper.saveAddToCartSource(this.getSource());
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
Helper.Helper.saveProductSource(this.getSource());
|
|
90
|
+
}
|
|
91
|
+
};
|
|
84
92
|
if (this.hasCustomComponent && this.productCardComponent.toLowerCase() == 'custom-salla-product-card') {
|
|
85
93
|
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() }));
|
|
86
94
|
}
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
var star = require('./star-DGcH7Yso.js');
|
|
8
8
|
var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
|
|
9
|
-
var Helper = require('./Helper-
|
|
9
|
+
var Helper = require('./Helper-CU4Xuiki.js');
|
|
10
10
|
var image = require('./image-BoZ6Hums.js');
|
|
11
11
|
var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
|
|
12
12
|
var mail = require('./mail-CO8cFZH7.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
8
|
|
|
9
9
|
var StoreAlt = `<!-- Generated by IcoMoon.io -->
|
|
@@ -169,7 +169,8 @@ const SallaScopees = class {
|
|
|
169
169
|
this.placeholderContent()
|
|
170
170
|
: this.mode === ModeType.DEFAULT ? this.defaultContent() : this.availabilityContent())])));
|
|
171
171
|
}
|
|
172
|
-
componentDidLoad() {
|
|
172
|
+
async componentDidLoad() {
|
|
173
|
+
await Salla.hooks.registerComponent('salla-scopes', this);
|
|
173
174
|
if (!this.isOpenedBefore && this.selection == 'mandatory') {
|
|
174
175
|
this.open();
|
|
175
176
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
var search = require('./search-c7Aa7lM9.js');
|
|
8
|
-
var Helper = require('./Helper-
|
|
8
|
+
var Helper = require('./Helper-CU4Xuiki.js');
|
|
9
9
|
require('./anime.es-BqW8JHZi.js');
|
|
10
10
|
|
|
11
11
|
const sallaSearchCss = "";
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
|
|
8
|
-
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}";
|
|
8
|
+
const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
|
|
9
9
|
|
|
10
10
|
const SallaTooltip = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
+
/**
|
|
14
|
+
* The theme of the tooltip (default, dark)
|
|
15
|
+
*/
|
|
16
|
+
this.theme = 'default';
|
|
13
17
|
this.show = false;
|
|
14
18
|
this.targetElement = null;
|
|
15
19
|
}
|
|
@@ -28,7 +32,8 @@ const SallaTooltip = class {
|
|
|
28
32
|
this.targetElement = document.getElementById(this.targetId);
|
|
29
33
|
}
|
|
30
34
|
render() {
|
|
31
|
-
|
|
35
|
+
const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
|
|
36
|
+
return (index.h("div", { key: '2c7bc2a1100ae31bb86f278c31b540f077384376', class: "s-tooltip-container" }, index.h("div", { key: '8869153f4eea6404d5ba8666e26b6d0c23cd4e76', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
|
|
32
37
|
}
|
|
33
38
|
get el() { return index.getElement(this); }
|
|
34
39
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
|
|
8
8
|
var bellRing = require('./bell-ring-BfKPinNo.js');
|
|
9
9
|
var cart = require('./cart-s-x1Fshk.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
|
|
8
8
|
var Bullhorn = `<!-- 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">
|
|
@@ -80,7 +80,7 @@ const SallaUserSettings = class {
|
|
|
80
80
|
await salla.profile.delete().finally(() => this.confirmationModal.close());
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: '85b2fe2739f6ac3c55939d3cb9c87fc404413e7f', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: 'e46be8b9cb4898c9b676ee67f0750bb654bda953', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '48f81d5a9b511c2a8baabab2aab6ad3dcfb98370' }, index.h("div", { key: '9009c4d612aea7e7a6834b90f38d03d8c95bcc84', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '03f209e6e1e1adbdb130f9b80aed30f0618dd58c', innerHTML: UserCancel })), index.h("div", { key: 'fb02ca2387806135ac3f074f0a9f30ce4bb325ca', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '1ddbd1144a59745bf26f4650eb5d050a34d42e8f', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '0ff6163a407a53ff100c8d3235212c167dbb006a', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '03b817a0bea880c9a2e056d4d8f0fb737dc0e5da', class: "s-toggle" }, index.h("input", { key: 'fcb56427c6d1ae503abdc768358e9ecfa9139dac', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: 'ff312279ede50b86446d1305217053942d05a603', class: "s-toggle-switcher" }))))), index.h("div", { key: '08cf0045a6f96ae7046d9a7c640e53a5b2cec7dc', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '1ccbcd93cf4cef91693603b5b05dbc4f3b85dc65' }, index.h("div", { key: 'bf5270f2d2cae798463ab9516c11321e96c461ff', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '3bc3927296faa253a8b91710049eca3372fb24aa', innerHTML: Bullhorn })), index.h("div", { key: '60ddca373590545a7fd03498e4ff7306a23b05a9', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '874e81d5e4727160a85bb3381fdfadcd65e774c0', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '6d2aacf7a72c4d25163913eccbb0a3e94595ec75', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'cf58459624592b34083afe61a0afc29dea03864e', class: "s-toggle" }, index.h("input", { key: 'b854ce4ca8224c8200623aad0dea4c659d89dee1', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '785a5765e36056629a23ca53e48715f91c14ee1f', class: "s-toggle-switcher" }))))), index.h("div", { key: '9f58724a8d748809b39874efaa861643a78076eb', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '12a69027f2822b6fa1e8fb641278932fc2206335' }, index.h("div", { key: '679eec74598612167c77443e5f6977991b333fd7', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '0263f8f31ad3e4ca60f2bb4bae910c143f2d36a8', innerHTML: UserOff })), index.h("div", { key: '6c0c17dfbcbb48ae3882b07b58fb0d1245a28cdb', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: '07389c3b86b3d8e821b8b9c33cf43de1ee6527db', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: 'e98736162d465c0717550eb8231b120acfafc4f6', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'd29c5023b3a35f95c94a06dc87f0e2504b3a6390', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: '6f23ca61fe62de261e7d2f616a4d5bf13fba1577', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '89073dfc15d4a1349618180c776968012e843556', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: 'f464a56ab783c4ddd51cc40e4d4dbf2f4ae21be2', class: "s-user-settings-confirmation" }, index.h("div", { key: 'e9921faaf8718ba51937006360b11d409bde4e05', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '4a71df323e6fa2b86cb85e77af438a51e9c1c5a9', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: '156249d17bdcc25b7c586af416001ec60e8b0f5b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: 'acbe44c04f77f8ccdcaeb90bfb731de399f88fc7', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SallaUserSettings.style = sallaUserSettingsCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DaB0o62I.js');
|
|
7
7
|
|
|
8
8
|
const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
|
|
9
9
|
|