@salla.sa/twilight-components 2.14.354 → 2.14.355
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-CuKErtOy.js → filepond-D0WqQOsJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-d-8BSuST.js → filepond-plugin-file-poster-ZuSz5Sia.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-zgI_JcqY.js → filepond-plugin-file-validate-size-C3-G9fQU.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-Cy8IgG2P.js → filepond-plugin-file-validate-type-pC6E-hQQ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-9ZAUzCvh.js → filepond-plugin-image-edit-B6RJ-sf_.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-DzNe_tY2.js → filepond-plugin-image-exif-orientation-BAKA7TOr.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-Cfna6xTB.js → filepond-plugin-image-preview-C_5JV3u4.js} +1 -1
- package/dist/cjs/{index-ff-xJfhj.js → index-DdedaQQE.js} +1 -1
- package/dist/cjs/{index-Ce40E8tZ.js → index-DgOViweO.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- 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 +2 -2
- 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 +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-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 +6 -18
- 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 +2 -2
- 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 +68 -29
- package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
- package/dist/cjs/salla-social.cjs.entry.js +2 -2
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- 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-zQsXQIff.js → vanilla-picker-Cd4v7i9t.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/salla-apps-icons/salla-apps-icons.js +1 -1
- package/dist/collection/components/salla-payments/salla-payments.js +5 -17
- package/dist/collection/components/salla-products-slider/salla-products-slider.js +32 -1
- package/dist/collection/components/salla-slider/salla-slider.js +89 -29
- package/dist/collection/components/salla-social/salla-social.js +1 -1
- package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/salla-apps-icons.js +1 -1
- package/dist/components/salla-payments.js +5 -17
- package/dist/components/salla-products-slider2.js +2 -1
- package/dist/components/salla-slider2.js +69 -28
- package/dist/components/salla-social-share.js +1 -1
- package/dist/components/salla-social.js +1 -1
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/esm/{filepond-DEzyRrdH.js → filepond-YrJ-JCRn.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-DyLcCcHM.js → filepond-plugin-file-poster-UWiXxhAl.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-Cxp5Yzea.js → filepond-plugin-file-validate-size-CuFnfvIq.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-D2qNOQP4.js → filepond-plugin-file-validate-type-BgYsHZEQ.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-DndTlA7m.js → filepond-plugin-image-edit-BQtZWl9D.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CiT1CQoK.js → filepond-plugin-image-exif-orientation-Dp7a5KRi.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-DBG7keFZ.js → filepond-plugin-image-preview-DvWrR7vg.js} +1 -1
- package/dist/esm/{index-BLw7mdtM.js → index-DwU5NnFF.js} +1 -1
- package/dist/esm/{index-B74h9G6a.js → index-PHxPq4LJ.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 +1 -1
- 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 +2 -2
- 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 +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-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 +6 -18
- 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 +2 -2
- 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 +68 -29
- package/dist/esm/salla-social-share.entry.js +2 -2
- package/dist/esm/salla-social.entry.js +2 -2
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- 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-CtwkXTap.js → vanilla-picker-fpTcpsmb.js} +1 -1
- package/dist/twilight/{p-3cffa4c9.entry.js → p-009d1b75.entry.js} +1 -1
- package/dist/twilight/{p-fe983809.entry.js → p-04e21492.entry.js} +1 -1
- package/dist/twilight/{p-9051a540.entry.js → p-0cc07ad0.entry.js} +1 -1
- package/dist/twilight/{p-309a0ba4.entry.js → p-0f45b27f.entry.js} +1 -1
- package/dist/twilight/p-112b4c91.entry.js +4 -0
- package/dist/twilight/{p-afd61e47.entry.js → p-14749ab0.entry.js} +1 -1
- package/dist/twilight/{p-a2756650.entry.js → p-1c66e567.entry.js} +1 -1
- package/dist/twilight/{p-2de9df64.entry.js → p-1e405d4e.entry.js} +1 -1
- package/dist/twilight/{p-c56a47b0.entry.js → p-1eb76272.entry.js} +1 -1
- package/dist/twilight/{p-b71fc1b5.entry.js → p-2322e6fc.entry.js} +1 -1
- package/dist/twilight/{p-f57ca123.entry.js → p-2626b358.entry.js} +1 -1
- package/dist/twilight/{p-b588ef46.entry.js → p-29e92637.entry.js} +1 -1
- package/dist/twilight/{p-229275db.entry.js → p-2ca5a8af.entry.js} +1 -1
- package/dist/twilight/{p-6c8f5c94.entry.js → p-2cb04fa6.entry.js} +1 -1
- package/dist/twilight/{p-32ca34ec.entry.js → p-2e97a6cd.entry.js} +1 -1
- package/dist/twilight/{p-bVqtOl1F.js → p-2tEKDOI-.js} +1 -1
- package/dist/twilight/{p-6be7bbb0.entry.js → p-30b58124.entry.js} +1 -1
- package/dist/twilight/{p-efc18ce6.entry.js → p-333171ce.entry.js} +1 -1
- package/dist/twilight/{p-f4039c40.entry.js → p-33cd8edb.entry.js} +1 -1
- package/dist/twilight/p-3774fa61.entry.js +4 -0
- package/dist/twilight/{p-212a0710.entry.js → p-37aa131b.entry.js} +1 -1
- package/dist/twilight/{p-232185ec.entry.js → p-3c76e2d4.entry.js} +1 -1
- package/dist/twilight/{p-f5ad6572.entry.js → p-3cbbd625.entry.js} +1 -1
- package/dist/twilight/{p-6fa02770.entry.js → p-3db132b8.entry.js} +1 -1
- package/dist/twilight/{p-8c189d76.entry.js → p-3eff2372.entry.js} +1 -1
- package/dist/twilight/{p-c73189e3.entry.js → p-428fe4e6.entry.js} +1 -1
- package/dist/twilight/{p-40fe4b01.entry.js → p-475a61f8.entry.js} +1 -1
- package/dist/twilight/{p-i5J7XGS6.js → p-4D4VVK4U.js} +1 -1
- package/dist/twilight/{p-fc65084f.entry.js → p-4c31b81f.entry.js} +1 -1
- package/dist/twilight/{p-654429df.entry.js → p-52ffcaba.entry.js} +1 -1
- package/dist/twilight/{p-d4edfed4.entry.js → p-534be529.entry.js} +1 -1
- package/dist/twilight/{p-f47b130c.entry.js → p-59697c9b.entry.js} +1 -1
- package/dist/twilight/{p-fd81a311.entry.js → p-5c5aba15.entry.js} +1 -1
- package/dist/twilight/{p-5d044466.entry.js → p-666bea2d.entry.js} +1 -1
- package/dist/twilight/p-6a934903.entry.js +4 -0
- package/dist/twilight/{p-10dcd981.entry.js → p-6e89154f.entry.js} +1 -1
- package/dist/twilight/{p-5d21334a.entry.js → p-6f69cfa5.entry.js} +1 -1
- package/dist/twilight/{p-01daaaa6.entry.js → p-76ce3ec0.entry.js} +1 -1
- package/dist/twilight/{p-9f1c561f.entry.js → p-781f1219.entry.js} +1 -1
- package/dist/twilight/{p-5c9281d3.entry.js → p-78e33f77.entry.js} +1 -1
- package/dist/twilight/{p-b206a0a1.entry.js → p-79aa2c2f.entry.js} +1 -1
- package/dist/twilight/{p-4036d5dc.entry.js → p-7a2bd261.entry.js} +1 -1
- package/dist/twilight/{p-a100bd38.entry.js → p-7a769233.entry.js} +1 -1
- package/dist/twilight/{p-d86ce978.entry.js → p-7eef10c9.entry.js} +1 -1
- package/dist/twilight/{p-0134b4fd.entry.js → p-8606c783.entry.js} +1 -1
- package/dist/twilight/{p-e3e33238.entry.js → p-8719301a.entry.js} +1 -1
- package/dist/twilight/{p-3e0d814c.entry.js → p-8ad78dfa.entry.js} +1 -1
- package/dist/twilight/{p-bf65b263.entry.js → p-9bea43d6.entry.js} +1 -1
- package/dist/twilight/{p-aab45a16.entry.js → p-9c01357f.entry.js} +1 -1
- package/dist/twilight/{p-DpsbV3x1.js → p-BPRHuBhm.js} +1 -1
- package/dist/twilight/{p-B69XOH6h.js → p-BRh_eoK1.js} +1 -1
- package/dist/twilight/{p-_-aXm0Wb.js → p-BitILwJ_.js} +1 -1
- package/dist/twilight/{p-CQq81yb5.js → p-Bx_UY06u.js} +1 -1
- package/dist/twilight/{p-BPqZ249Z.js → p-C6S8Hr36.js} +1 -1
- package/dist/twilight/{p-shFpk0H3.js → p-DtkaGJwR.js} +1 -1
- package/dist/twilight/{p-B74h9G6a.js → p-PHxPq4LJ.js} +1 -1
- package/dist/twilight/{p-d1203242.entry.js → p-a5bb66a3.entry.js} +1 -1
- package/dist/twilight/{p-b2332516.entry.js → p-ad9c9773.entry.js} +1 -1
- package/dist/twilight/{p-7040ea33.entry.js → p-b502e876.entry.js} +1 -1
- package/dist/twilight/{p-32732ca7.entry.js → p-b8d8175a.entry.js} +1 -1
- package/dist/twilight/{p-3d0bb451.entry.js → p-ba5fc67a.entry.js} +1 -1
- package/dist/twilight/{p-e6bb7362.entry.js → p-c3750eaa.entry.js} +1 -1
- package/dist/twilight/{p-ec2fd37e.entry.js → p-d7037864.entry.js} +1 -1
- package/dist/twilight/{p-6b8453be.entry.js → p-d9880694.entry.js} +1 -1
- package/dist/twilight/{p-aae761ff.entry.js → p-db0b3ed2.entry.js} +1 -1
- package/dist/twilight/{p-08badc32.entry.js → p-dbb4ede5.entry.js} +1 -1
- package/dist/twilight/{p-e7813c80.entry.js → p-e017e403.entry.js} +1 -1
- package/dist/twilight/{p-47ac0ca5.entry.js → p-e31177e7.entry.js} +1 -1
- package/dist/twilight/{p-b1fc6dfc.entry.js → p-e5b90edd.entry.js} +1 -1
- package/dist/twilight/{p-ec77c523.entry.js → p-ec3f15ee.entry.js} +1 -1
- package/dist/twilight/{p-07da7390.entry.js → p-edc41bbc.entry.js} +1 -1
- package/dist/twilight/{p-8f1f052c.entry.js → p-f2c23e42.entry.js} +1 -1
- package/dist/twilight/{p-2d880232.entry.js → p-f34f5a30.entry.js} +1 -1
- package/dist/twilight/{p-0aa5a12a.entry.js → p-f578dea7.entry.js} +1 -1
- package/dist/twilight/{p-33093880.entry.js → p-ffbd5949.entry.js} +1 -1
- package/dist/twilight/{p-BCxm-ISm.js → p-fq0HEcD_.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-payments/salla-payments.d.ts +0 -2
- package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +8 -0
- package/dist/types/components/salla-slider/salla-slider.d.ts +20 -2
- package/dist/types/components.d.ts +22 -0
- package/package.json +5 -5
- package/dist/twilight/p-2a927eac.entry.js +0 -4
- package/dist/twilight/p-4cd9da44.entry.js +0 -4
- package/dist/twilight/p-d9e7973d.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-DgOViweO.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-DgOViweO.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-DgOViweO.js');
|
|
7
7
|
|
|
8
8
|
const sallaPaymentsCss = ":host{display:block}";
|
|
9
9
|
|
|
@@ -27,36 +27,24 @@ const SallaPayments = class {
|
|
|
27
27
|
this.exclude = [];
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.codSlot = this.host.querySelector('[slot="cod"]')?.innerHTML || `<li class="s-payments-list-item"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy" alt="COD"/><li>`;
|
|
30
|
+
this.paymentSlot = this.host.querySelector('[slot="payment"]')?.innerHTML || `<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="{payment}" /></li>`;
|
|
31
|
+
this.sbcSlot = this.host.querySelector('[slot="sbc"]')?.innerHTML || `<li class="s-payments-list-item"><a target="_blank" href="{link}"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" class="s-payments-sbc-image" alt="SBC" /></a></li>`;
|
|
32
|
+
this.codSlot = this.host.querySelector('[slot="cod"]')?.innerHTML || `<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="COD" /></li>`;
|
|
34
33
|
this.payments = salla.config.get('store.settings.payments');
|
|
35
34
|
});
|
|
36
35
|
}
|
|
37
36
|
render() {
|
|
38
37
|
const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
|
|
39
38
|
const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: 'd93c9cfafd67203e3d85f78296b6256dbdfd8d78', class: "s-payments-list-wrap" }, index.h("ul", { key: '9520b4979082d6e733edb3ec5d6defe97beec6de', class: "s-payments-list" }, madeInKSA && index.h("li", { key: '93ba9c342f5809d6b75ab00f99126a351c18ccc5', class: "s-payments-list-item" }, index.h("img", { key: '8e62415523f4a1ccf839d394d5089ee49e0873c4', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
|
|
41
40
|
index.h("div", { id: "cod-slot", innerHTML: this.codSlot
|
|
42
41
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
|
|
43
42
|
index.h("div", { id: "payment-slot", innerHTML: this.paymentSlot
|
|
44
43
|
.replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
|
|
45
|
-
.replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '
|
|
44
|
+
.replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '0acb0d8a0f4c4c53c9e439127418081684cd2bd1', id: "sbc-slot", innerHTML: this.sbcSlot
|
|
46
45
|
.replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
|
|
47
46
|
.replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
|
|
48
47
|
}
|
|
49
|
-
componentDidLoad() {
|
|
50
|
-
//todo:: double check about the following workaround, it looks not normal
|
|
51
|
-
document.lazyLoadInstance?.update(this.host.querySelectorAll('.lazy'));
|
|
52
|
-
// fix lazy loaded images that have 100% width and height
|
|
53
|
-
this.host.querySelectorAll('.lazy').forEach((img) => {
|
|
54
|
-
img.addEventListener('load', () => {
|
|
55
|
-
img.setAttribute('width', "100%");
|
|
56
|
-
img.setAttribute('height', "100%");
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
48
|
componentDidRender() {
|
|
61
49
|
//todo:: double check about the following workaround to reduce the dom length, it looks unusal
|
|
62
50
|
this.host.querySelectorAll('#payment-slot').forEach(el => el.replaceWith(el.firstChild));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DgOViweO.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-DgOViweO.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');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DgOViweO.js');
|
|
7
7
|
var Helper = require('./Helper-DHRnzcFm.js');
|
|
8
8
|
require('./anime.es-BqW8JHZi.js');
|
|
9
9
|
|
|
@@ -106,7 +106,7 @@ const SallaProductsSlider = class {
|
|
|
106
106
|
if (!this.canRender()) {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
return (index.h(index.Host, { class: "s-products-slider-wrapper" }, index.h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, index.h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
|
|
109
|
+
return (index.h(index.Host, { class: "s-products-slider-wrapper" }, index.h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, ...(this.sliderProps || {}), "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, index.h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
|
|
110
110
|
}
|
|
111
111
|
get host() { return index.getElement(this); }
|
|
112
112
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DgOViweO.js');
|
|
7
7
|
var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -9859,6 +9859,11 @@ const SallaSlider = class {
|
|
|
9859
9859
|
* Show/hide thumbs slider arrows
|
|
9860
9860
|
*/
|
|
9861
9861
|
this.showThumbsControls = true;
|
|
9862
|
+
/**
|
|
9863
|
+
* When enabled and there is exactly one slide in the `items` slot,
|
|
9864
|
+
* render without initializing Swiper (single slide mode).
|
|
9865
|
+
*/
|
|
9866
|
+
this.enableSingleSlideMode = false;
|
|
9862
9867
|
/**
|
|
9863
9868
|
* Enable autoplay - working with `type="carousel" only`
|
|
9864
9869
|
*/
|
|
@@ -9890,6 +9895,9 @@ const SallaSlider = class {
|
|
|
9890
9895
|
this.isBeginning = true;
|
|
9891
9896
|
/** Use matchMedia instead of window.innerWidth to avoid forced reflow (Lighthouse recommended) */
|
|
9892
9897
|
this.isDesktopViewport = typeof window !== 'undefined' ? window.matchMedia('(min-width: 768px)').matches : true;
|
|
9898
|
+
/** When true, only one slide is present; we render without Swiper for performance. */
|
|
9899
|
+
this.singleSlideMode = false;
|
|
9900
|
+
this._rafId = null;
|
|
9893
9901
|
this.viewportMediaQuery = null;
|
|
9894
9902
|
this.hasThumbSlot = false;
|
|
9895
9903
|
this.pre_defined_config = {
|
|
@@ -9945,7 +9953,7 @@ const SallaSlider = class {
|
|
|
9945
9953
|
* @returns The Swiper slider instance
|
|
9946
9954
|
*/
|
|
9947
9955
|
async sliderInstance() {
|
|
9948
|
-
return this.slider;
|
|
9956
|
+
return this.singleSlideMode ? undefined : this.slider;
|
|
9949
9957
|
}
|
|
9950
9958
|
/**
|
|
9951
9959
|
* Run transition to the slide with index number equal to 'index' parameter for the duration equal to 'speed' parameter.
|
|
@@ -9955,6 +9963,8 @@ const SallaSlider = class {
|
|
|
9955
9963
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
9956
9964
|
* **/
|
|
9957
9965
|
async slideTo(index, speed, runCallbacks) {
|
|
9966
|
+
if (!this.slider)
|
|
9967
|
+
return;
|
|
9958
9968
|
return this.slider.slideTo(index, speed, runCallbacks);
|
|
9959
9969
|
}
|
|
9960
9970
|
/**
|
|
@@ -9982,7 +9992,7 @@ const SallaSlider = class {
|
|
|
9982
9992
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
9983
9993
|
* **/
|
|
9984
9994
|
async slideToLoop(index, speed, runCallbacks) {
|
|
9985
|
-
this.slider
|
|
9995
|
+
this.slider?.slideToLoop(index, speed, runCallbacks);
|
|
9986
9996
|
}
|
|
9987
9997
|
/**
|
|
9988
9998
|
* Does the same as .slideNext but for the case when used with enabled loop. So this method will slide to next slide with realIndex matching to next index
|
|
@@ -9991,7 +10001,7 @@ const SallaSlider = class {
|
|
|
9991
10001
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
9992
10002
|
* **/
|
|
9993
10003
|
async slideNextLoop(speed, runCallbacks) {
|
|
9994
|
-
this.slider
|
|
10004
|
+
this.slider?.slideNextLoop(speed, runCallbacks);
|
|
9995
10005
|
}
|
|
9996
10006
|
/**
|
|
9997
10007
|
* Does the same as .slidePrev but for the case when used with enabled loop. So this method will slide to previous slide with realIndex matching to previous index
|
|
@@ -10000,7 +10010,7 @@ const SallaSlider = class {
|
|
|
10000
10010
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
10001
10011
|
* **/
|
|
10002
10012
|
async slidePrevLoop(speed, runCallbacks) {
|
|
10003
|
-
this.slider
|
|
10013
|
+
this.slider?.slidePrevLoop(speed, runCallbacks);
|
|
10004
10014
|
}
|
|
10005
10015
|
/**
|
|
10006
10016
|
* Reset slider position to currently active slide for the duration equal to 'speed' parameter.
|
|
@@ -10009,7 +10019,7 @@ const SallaSlider = class {
|
|
|
10009
10019
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
10010
10020
|
* **/
|
|
10011
10021
|
async slideReset(speed, runCallbacks) {
|
|
10012
|
-
this.slider
|
|
10022
|
+
this.slider?.slideReset(speed, runCallbacks);
|
|
10013
10023
|
}
|
|
10014
10024
|
/**
|
|
10015
10025
|
* Reset slider position to closest slide/snap point for the duration equal to 'speed' parameter.
|
|
@@ -10017,56 +10027,56 @@ const SallaSlider = class {
|
|
|
10017
10027
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
10018
10028
|
* **/
|
|
10019
10029
|
async slideToClosest(speed, runCallbacks) {
|
|
10020
|
-
this.slider
|
|
10030
|
+
this.slider?.slideToClosest(speed, runCallbacks);
|
|
10021
10031
|
}
|
|
10022
10032
|
/**
|
|
10023
10033
|
* You should call it after you add/remove slides manually, or after you hide/show it, or do any custom DOM modifications with Swiper This method also includes subcall of the following methods which you can use separately:
|
|
10024
10034
|
* **/
|
|
10025
10035
|
async update() {
|
|
10026
|
-
this.slider
|
|
10036
|
+
this.slider?.update();
|
|
10027
10037
|
}
|
|
10028
10038
|
/**
|
|
10029
10039
|
* Force slider to update its height (when autoHeight enabled) for the duration equal to 'speed' parameter
|
|
10030
10040
|
* @param {number} speed - Transition duration (in ms).
|
|
10031
10041
|
* **/
|
|
10032
10042
|
async updateAutoHeight(speed) {
|
|
10033
|
-
this.slider
|
|
10043
|
+
this.slider?.updateAutoHeight(speed);
|
|
10034
10044
|
}
|
|
10035
10045
|
/**
|
|
10036
10046
|
* recalculate number of slides and their offsets. Useful after you add/remove slides with JavaScript
|
|
10037
10047
|
* **/
|
|
10038
10048
|
async updateSlides() {
|
|
10039
|
-
this.slider
|
|
10049
|
+
this.slider?.updateSlides();
|
|
10040
10050
|
}
|
|
10041
10051
|
/**
|
|
10042
10052
|
* recalculate slider progress
|
|
10043
10053
|
* **/
|
|
10044
10054
|
async updateProgress() {
|
|
10045
|
-
this.slider
|
|
10055
|
+
this.slider?.updateProgress();
|
|
10046
10056
|
}
|
|
10047
10057
|
/**
|
|
10048
10058
|
* update active/prev/next classes on slides and bullets
|
|
10049
10059
|
* **/
|
|
10050
10060
|
async updateSlidesClasses() {
|
|
10051
|
-
this.slider
|
|
10061
|
+
this.slider?.updateSlidesClasses();
|
|
10052
10062
|
}
|
|
10053
10063
|
/**
|
|
10054
10064
|
* Get slider slides
|
|
10055
10065
|
* **/
|
|
10056
10066
|
async getSlides() {
|
|
10057
|
-
return await this.slider?.slides;
|
|
10067
|
+
return this.singleSlideMode ? undefined : await this.slider?.slides;
|
|
10058
10068
|
}
|
|
10059
10069
|
/**
|
|
10060
10070
|
* Get slider slides
|
|
10061
10071
|
* **/
|
|
10062
10072
|
async updateSize() {
|
|
10063
|
-
return await this.slider
|
|
10073
|
+
return await this.slider?.updateSize();
|
|
10064
10074
|
}
|
|
10065
10075
|
/**
|
|
10066
10076
|
* Get thumbs slider update
|
|
10067
10077
|
* **/
|
|
10068
10078
|
async sliderInit() {
|
|
10069
|
-
return await this.slider
|
|
10079
|
+
return await this.slider?.init();
|
|
10070
10080
|
}
|
|
10071
10081
|
/**
|
|
10072
10082
|
* Get thumbs slider slides
|
|
@@ -10105,6 +10115,8 @@ const SallaSlider = class {
|
|
|
10105
10115
|
* @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
|
|
10106
10116
|
* **/
|
|
10107
10117
|
async thumbsSlideTo(index, speed, runCallbacks) {
|
|
10118
|
+
if (!this.thumbsSlider)
|
|
10119
|
+
return;
|
|
10108
10120
|
return this.thumbsSlider.slideTo(index, speed, runCallbacks);
|
|
10109
10121
|
}
|
|
10110
10122
|
/**
|
|
@@ -10292,7 +10304,16 @@ const SallaSlider = class {
|
|
|
10292
10304
|
classes += this.verticalThumbs ? ' s-slider-vertical ' : ' s-slider-horizontal ';
|
|
10293
10305
|
classes += this.arrowsCentered ? ' s-slider-v-centered ' : '';
|
|
10294
10306
|
classes += this.gridThumbs ? ' s-slider-with-grid-thumbs ' : '';
|
|
10295
|
-
|
|
10307
|
+
if (this.singleSlideMode) {
|
|
10308
|
+
return (index.h(index.Host, { class: 's-slider-wrapper s-slider-single-mode ' + classes }, this.blockTitle || this.displayAllUrl ?
|
|
10309
|
+
index.h("div", { class: "s-slider-block__title" }, this.blockTitle ?
|
|
10310
|
+
index.h("div", { class: "s-slider-block__title-right" }, index.h("h2", null, this.blockTitle), this.blockSubtitle ? index.h("p", { innerHTML: this.blockSubtitle }) : '')
|
|
10311
|
+
: '', this.displayAllUrl ?
|
|
10312
|
+
index.h("div", { class: "s-slider-block__title-left" }, index.h("a", { href: this.displayAllUrl, class: "s-slider-block__display-all" }, this.displayAllTitle))
|
|
10313
|
+
: '')
|
|
10314
|
+
: '', index.h("div", { class: "swiper s-slider-container s-slider-single", dir: this.vertical ? "ltr" : this.direction }, index.h("slot", null), index.h("div", { class: "swiper-wrapper s-slider-swiper-wrapper" }, index.h("slot", { name: 'items' })))));
|
|
10315
|
+
}
|
|
10316
|
+
return (index.h(index.Host, { class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
|
|
10296
10317
|
index.h("div", { class: "s-slider-block__title" }, this.blockTitle ?
|
|
10297
10318
|
index.h("div", { class: "s-slider-block__title-right" }, index.h("h2", null, this.blockTitle), this.blockSubtitle ? index.h("p", { innerHTML: this.blockSubtitle }) : '')
|
|
10298
10319
|
: '', index.h("div", { class: "s-slider-block__title-left" }, this.displayAllUrl ?
|
|
@@ -10300,7 +10321,7 @@ const SallaSlider = class {
|
|
|
10300
10321
|
: '', this.showControls ?
|
|
10301
10322
|
index.h("div", { class: "s-slider-block__title-nav", dir: "rtl" }, index.h("button", { "aria-label": "Previous Slide", class: "s-slider-prev s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? keyboard_arrow_right.ArrowRightIcon : keyboard_arrow_right.ArrowLeftIcon })), index.h("button", { "aria-label": "Next Slide", class: "s-slider-next s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? keyboard_arrow_right.ArrowLeftIcon : keyboard_arrow_right.ArrowRightIcon })))
|
|
10302
10323
|
: ''))
|
|
10303
|
-
: '', index.h("div", {
|
|
10324
|
+
: '', index.h("div", { class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, index.h("slot", null), index.h("div", { class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, index.h("slot", { name: 'items' })), this.pagination ? index.h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? index.h("div", { class: "s-slider-thumbs" }, index.h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, index.h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, index.h("slot", { name: "thumbs" })), this.showThumbsControls ?
|
|
10304
10325
|
index.h("div", { class: "s-slider-thumbs-nav", dir: "rtl" }, index.h("button", { "aria-label": "Previous Slide", class: "s-slider-thumbs-prev s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? keyboard_arrow_right.ArrowRightIcon : keyboard_arrow_right.ArrowLeftIcon })), index.h("button", { "aria-label": "Next Slide", class: "s-slider-thumbs-next s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? keyboard_arrow_right.ArrowLeftIcon : keyboard_arrow_right.ArrowRightIcon })))
|
|
10305
10326
|
: null))
|
|
10306
10327
|
: null));
|
|
@@ -10359,25 +10380,43 @@ const SallaSlider = class {
|
|
|
10359
10380
|
}
|
|
10360
10381
|
this.lazyObserver.observe(el);
|
|
10361
10382
|
}
|
|
10362
|
-
/** Keep only element nodes so Swiper never sees text nodes (getAttribute would throw). */
|
|
10363
|
-
flattenSlotToElements(container, slotSelector) {
|
|
10364
|
-
const slotEl = container?.querySelector(slotSelector);
|
|
10365
|
-
if (!slotEl)
|
|
10366
|
-
return;
|
|
10367
|
-
const elements = Array.from(slotEl.children).filter((node) => node.nodeType === Node.ELEMENT_NODE);
|
|
10368
|
-
if (elements.length)
|
|
10369
|
-
slotEl.replaceWith(...elements);
|
|
10370
|
-
}
|
|
10371
10383
|
componentDidLoad() {
|
|
10372
|
-
|
|
10384
|
+
// 1. Batch Reads (Get all elements first without modifying DOM)
|
|
10385
|
+
const tasks = [];
|
|
10386
|
+
let _singleSlideMode = false;
|
|
10387
|
+
const prepareFlatten = (container, slotSelector) => {
|
|
10388
|
+
const slotEl = container?.querySelector(slotSelector);
|
|
10389
|
+
if (!slotEl)
|
|
10390
|
+
return;
|
|
10391
|
+
const elements = Array.from(slotEl.children).filter((node) => node.nodeType === Node.ELEMENT_NODE);
|
|
10392
|
+
if (elements.length) {
|
|
10393
|
+
// Queue the Write operation
|
|
10394
|
+
tasks.push(() => slotEl.replaceWith(...elements));
|
|
10395
|
+
if (elements.length === 1 && this.enableSingleSlideMode) {
|
|
10396
|
+
_singleSlideMode = true;
|
|
10397
|
+
elements[0].classList.add('swiper-slide');
|
|
10398
|
+
}
|
|
10399
|
+
}
|
|
10400
|
+
};
|
|
10401
|
+
prepareFlatten(this.sliderWrapper, 'div[slot="items"]');
|
|
10373
10402
|
if (this.type == 'thumbs' && this.hasThumbSlot) {
|
|
10374
|
-
|
|
10403
|
+
prepareFlatten(this.thumbsSliderWrapper, 'div[slot="thumbs"]');
|
|
10375
10404
|
}
|
|
10376
|
-
|
|
10405
|
+
// 2. Batch Writes (Execute all DOM modifications together)
|
|
10406
|
+
tasks.forEach(task => task());
|
|
10407
|
+
// 3. Init Swiper inside rAF
|
|
10408
|
+
this._rafId = requestAnimationFrame(() => {
|
|
10409
|
+
this.singleSlideMode = _singleSlideMode;
|
|
10410
|
+
if (!_singleSlideMode) {
|
|
10411
|
+
this.initSlider();
|
|
10412
|
+
}
|
|
10413
|
+
});
|
|
10377
10414
|
this.viewportMediaQuery = window.matchMedia('(min-width: 768px)');
|
|
10378
10415
|
this.viewportMediaQuery.addEventListener('change', this.onViewportChange);
|
|
10379
10416
|
}
|
|
10380
10417
|
disconnectedCallback() {
|
|
10418
|
+
if (this._rafId)
|
|
10419
|
+
cancelAnimationFrame(this._rafId);
|
|
10381
10420
|
this.viewportMediaQuery?.removeEventListener('change', this.onViewportChange);
|
|
10382
10421
|
this.lazyObserver?.disconnect();
|
|
10383
10422
|
this.lazyImageObserver?.disconnect();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DgOViweO.js');
|
|
7
7
|
var anime_es = require('./anime.es-BqW8JHZi.js');
|
|
8
8
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
9
9
|
var mail = require('./mail-CO8cFZH7.js');
|
|
@@ -150,7 +150,7 @@ const SallaSocialShare = class {
|
|
|
150
150
|
window.a2a?.init('page');
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
|
-
return (index.h("div", { key: '
|
|
153
|
+
return (index.h("div", { key: '05350f69911825a04716569eaac5769c67b07e24', class: "s-social-share-wrapper" }, index.h("slot", { key: 'c9bb03b5907e8d211d1a2bc7d36b0924dd2fa00b', name: 'widget' }, index.h("salla-button", { key: '3120d746deabb24bc2b3994a1088a42e355c2796', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '7874b8c8aceb1372d061d0142405a3f07e3c0ba3', innerHTML: this.opened ? cancel.Cancel : ShareAlt }))), index.h("ul", { key: 'deaa966a6ae4a91a350361f44316d749f8459cec', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
|
|
154
154
|
return (index.h("li", null, index.h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
|
|
155
155
|
if (icon.name === platform) {
|
|
156
156
|
return index.h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DgOViweO.js');
|
|
7
7
|
var facebook = require('./facebook-DbXua6B9.js');
|
|
8
8
|
|
|
9
9
|
var instagram = `<!-- Generated by IcoMoon.io -->
|
|
@@ -57,7 +57,7 @@ const SallaSocial = class {
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const linksArray = this.getLinksArray();
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '20f01d2027bf9ac9fa635c2e814bf9778c5abf8c' }, index.h("ul", { key: '016fc5a496d6efd36cf15dc805dd83ee4d6a9845', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
|
|
61
61
|
.replace(/\{icon\}/g, this.iconsList[link.type])
|
|
62
62
|
.replace(/\{type\}/g, link.type)
|
|
63
63
|
.replace(/\{link\}/g, link.value.toString()) })))))));
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DgOViweO.js');
|
|
7
7
|
|
|
8
8
|
const sallaTabContentCss = "";
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ const SallaTabContent = class {
|
|
|
33
33
|
's-tabs-content': true,
|
|
34
34
|
's-tabs-content-selected': this.isSelected
|
|
35
35
|
};
|
|
36
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: 'dd7c68e402701af152ab5d3d5afb2565f9b4a5cb', class: classes }, index.h("slot", { key: 'f7599dd3d56d04dd06d9d8cce105d0c7b73b6195' })));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
SallaTabContent.style = sallaTabContentCss;
|
|
@@ -92,7 +92,7 @@ const SallaTabHeader = class {
|
|
|
92
92
|
's-tabs-active': this.isSelected,
|
|
93
93
|
};
|
|
94
94
|
return [
|
|
95
|
-
index.h("div", { key: '
|
|
95
|
+
index.h("div", { key: '70daa4821b240da5f44591c427999d34556a0fed', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '002eb0a0e48f3a31f272a393bf4fce94bcd0c841' })),
|
|
96
96
|
];
|
|
97
97
|
}
|
|
98
98
|
};
|
|
@@ -145,7 +145,7 @@ const SallaTabs = class {
|
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
147
|
return [
|
|
148
|
-
index.h("div", { key: '
|
|
148
|
+
index.h("div", { key: '485e1ff4ea6a556dfdd8a2e7f8166c9e3d721c7d', class: "s-tabs" }, index.h("div", { key: 'a2825df331fdfc01de63eea7800ad62e4814205b', class: "s-tabs-header" }, index.h("slot", { key: 'd9d3c9bdbce261daccd480c0245fd06930b03602', name: "header" })), index.h("div", { key: '9e02ff1a53ffd068f1b1da6cbe5fec7adbc38492', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '222b612d9ef34d936b3ccb1a883a42c135f67661', name: "content" })))
|
|
149
149
|
];
|
|
150
150
|
}
|
|
151
151
|
get host() { return index.getElement(this); }
|