@salla.sa/twilight-components 2.14.261 → 2.14.262
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/{app-globals-9KVXzA9b.js → app-globals-e3kKmuwC.js} +3 -3
- package/dist/cjs/{app-globals-9KVXzA9b.js.map → app-globals-e3kKmuwC.js.map} +1 -1
- package/dist/cjs/{index-CfmOwvmC.js → index-BJv-nH8x.js} +4 -4
- package/dist/cjs/index-BJv-nH8x.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_51.cjs.entry.js +1 -1
- package/dist/cjs/salla-advertisement.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_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers.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-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.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-metadata.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.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.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.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-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-reviews.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.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-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/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/esm/{app-globals-BgG-hCSq.js → app-globals-VqthM5f6.js} +3 -3
- package/dist/esm/{app-globals-BgG-hCSq.js.map → app-globals-VqthM5f6.js.map} +1 -1
- package/dist/esm/{index-LSZwJPPB.js → index-gdhHvm6V.js} +4 -4
- package/dist/esm/index-gdhHvm6V.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion_4.entry.js +1 -1
- package/dist/esm/salla-add-product-button_51.entry.js +1 -1
- package/dist/esm/salla-advertisement.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_2.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers.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-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-installment.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-metadata.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.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.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-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-options.entry.js +1 -1
- package/dist/esm/salla-review-card.entry.js +1 -1
- package/dist/esm/salla-reviews-page.entry.js +1 -1
- package/dist/esm/salla-reviews.entry.js +1 -1
- package/dist/esm/salla-social.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-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm-es5/{app-globals-BgG-hCSq.js → app-globals-VqthM5f6.js} +2 -2
- package/dist/esm-es5/{app-globals-BgG-hCSq.js.map → app-globals-VqthM5f6.js.map} +1 -1
- package/dist/esm-es5/{index-LSZwJPPB.js → index-gdhHvm6V.js} +3 -3
- package/dist/esm-es5/index-gdhHvm6V.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/salla-accordion_4.entry.js +1 -1
- package/dist/esm-es5/salla-add-product-button_51.entry.js +4 -4
- package/dist/esm-es5/salla-advertisement.entry.js +1 -1
- package/dist/esm-es5/salla-app-install-alert.entry.js +1 -1
- package/dist/esm-es5/salla-apps-icons.entry.js +1 -1
- package/dist/esm-es5/salla-booking-field_2.entry.js +1 -1
- package/dist/esm-es5/salla-cart-item-offers.entry.js +1 -1
- package/dist/esm-es5/salla-conditional-offer.entry.js +1 -1
- package/dist/esm-es5/salla-contacts.entry.js +1 -1
- package/dist/esm-es5/salla-filters-widget.entry.js +1 -1
- package/dist/esm-es5/salla-filters.entry.js +1 -1
- package/dist/esm-es5/salla-installment.entry.js +1 -1
- package/dist/esm-es5/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm-es5/salla-loyalty-program.entry.js +1 -1
- package/dist/esm-es5/salla-metadata.entry.js +1 -1
- package/dist/esm-es5/salla-notification-item.entry.js +1 -1
- package/dist/esm-es5/salla-notifications.entry.js +1 -1
- package/dist/esm-es5/salla-offer.entry.js +1 -1
- package/dist/esm-es5/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm-es5/salla-order-details.entry.js +1 -1
- package/dist/esm-es5/salla-order-summary.entry.js +1 -1
- package/dist/esm-es5/salla-orders.entry.js +1 -1
- package/dist/esm-es5/salla-payments.entry.js +1 -1
- package/dist/esm-es5/salla-price-range.entry.js +1 -1
- package/dist/esm-es5/salla-product-options.entry.js +1 -1
- package/dist/esm-es5/salla-review-card.entry.js +1 -1
- package/dist/esm-es5/salla-reviews-page.entry.js +1 -1
- package/dist/esm-es5/salla-reviews.entry.js +1 -1
- package/dist/esm-es5/salla-social.entry.js +1 -1
- package/dist/esm-es5/salla-tiered-offer.entry.js +1 -1
- package/dist/esm-es5/salla-tooltip.entry.js +1 -1
- package/dist/esm-es5/salla-verify.entry.js +1 -1
- package/dist/esm-es5/salla-wallet.entry.js +1 -1
- package/dist/esm-es5/twilight.js +1 -1
- package/dist/twilight/{p-64c8b0e2.system.entry.js → p-00d05d4c.system.entry.js} +2 -2
- package/dist/twilight/{p-de2b1078.system.entry.js → p-07327345.system.entry.js} +2 -2
- package/dist/twilight/{p-1f93b886.system.entry.js → p-16493b31.system.entry.js} +2 -2
- package/dist/twilight/{p-ea832823.system.entry.js → p-18eaeb07.system.entry.js} +2 -2
- package/dist/twilight/{p-09bc1f72.system.entry.js → p-1e3e4a84.system.entry.js} +2 -2
- package/dist/twilight/{p-aa49c07f.entry.js → p-1e4e21ab.entry.js} +2 -2
- package/dist/twilight/{p-fcfd9a2b.entry.js → p-1e5c48d0.entry.js} +2 -2
- package/dist/twilight/{p-39d68fc1.system.entry.js → p-229e4f73.system.entry.js} +2 -2
- package/dist/twilight/{p-4eef3c0e.system.entry.js → p-2314d050.system.entry.js} +2 -2
- package/dist/twilight/{p-059405fc.system.entry.js → p-243cd247.system.entry.js} +2 -2
- package/dist/twilight/{p-143dd94c.system.entry.js → p-28cc1200.system.entry.js} +2 -2
- package/dist/twilight/{p-ce02710a.entry.js → p-2f3b050a.entry.js} +2 -2
- package/dist/twilight/{p-c09565da.entry.js → p-36f043a4.entry.js} +2 -2
- package/dist/twilight/{p-f0cc5b35.entry.js → p-37bdeacb.entry.js} +2 -2
- package/dist/twilight/{p-0e1cd76c.system.entry.js → p-42aa8f00.system.entry.js} +3 -3
- package/dist/twilight/{p-47de107e.entry.js → p-4446d80b.entry.js} +6 -6
- package/dist/twilight/{p-88e53a1e.system.entry.js → p-4f54efd1.system.entry.js} +2 -2
- package/dist/twilight/{p-9e6c5671.entry.js → p-513eb3ab.entry.js} +2 -2
- package/dist/twilight/{p-fa5ead87.entry.js → p-51563172.entry.js} +2 -2
- package/dist/twilight/{p-d660efad.entry.js → p-545204c4.entry.js} +2 -2
- package/dist/twilight/{p-1f8bf87a.entry.js → p-58702c6a.entry.js} +2 -2
- package/dist/twilight/{p-c38dbed0.entry.js → p-5fb7d021.entry.js} +2 -2
- package/dist/twilight/{p-b0d88d59.entry.js → p-6234d5b1.entry.js} +2 -2
- package/dist/twilight/{p-5bae6d14.system.entry.js → p-66440eaf.system.entry.js} +2 -2
- package/dist/twilight/{p-c5fa09d1.system.entry.js → p-68e96348.system.entry.js} +2 -2
- package/dist/twilight/{p-675d4ab7.entry.js → p-6d9239fa.entry.js} +2 -2
- package/dist/twilight/{p-d1ef5396.entry.js → p-7a849013.entry.js} +2 -2
- package/dist/twilight/{p-d62c20f1.system.entry.js → p-7d8494a1.system.entry.js} +2 -2
- package/dist/twilight/{p-Xd4af-0t.system.js.map → p-7hzBIbI9.system.js.map} +1 -1
- package/dist/twilight/{p-fe0234a1.entry.js → p-8aa7e30f.entry.js} +2 -2
- package/dist/twilight/{p-87d32e2f.entry.js → p-8f3dec24.entry.js} +2 -2
- package/dist/twilight/{p-Cnbdx_CN.system.js.map → p-93DWpqSw.system.js.map} +1 -1
- package/dist/twilight/{p-4806aee6.system.entry.js → p-953d84e6.system.entry.js} +2 -2
- package/dist/twilight/{p-d3a36873.entry.js → p-9a8f94bd.entry.js} +2 -2
- package/dist/twilight/{p-H5xAa3Fp.system.js.map → p-B1BJxOVi.system.js.map} +1 -1
- package/dist/twilight/{p-B52cxJwt.system.js → p-BEQYXrdz.system.js} +2 -2
- package/dist/twilight/{p-B52cxJwt.system.js.map → p-BEQYXrdz.system.js.map} +1 -1
- package/dist/twilight/{p-CNqf1L3p.system.js.map → p-BKXNNMLm.system.js.map} +1 -1
- package/dist/twilight/{p-DQg5Q6X-.js → p-BReGkw3Y.js} +2 -2
- package/dist/twilight/{p-DQg5Q6X-.js.map → p-BReGkw3Y.js.map} +1 -1
- package/dist/twilight/{p-BMe9fgvJ.system.js.map → p-Bmkf6XAv.system.js.map} +1 -1
- package/dist/twilight/{p-DN3CCyG-.system.js.map → p-BmwVeBpY.system.js.map} +1 -1
- package/dist/twilight/{p-CLHJmBGj.system.js.map → p-BvtfE2-2.system.js.map} +1 -1
- package/dist/twilight/{p-BBjPvuu7.system.js.map → p-C6KNQG1y.system.js.map} +1 -1
- package/dist/twilight/{p-D3JDyRUW.system.js.map → p-C8x80jPq.system.js.map} +1 -1
- package/dist/twilight/{p-BC-cnFy-.system.js.map → p-CClJfpon.system.js.map} +1 -1
- package/dist/twilight/{p-Cb9M2a-j.system.js.map → p-CLWUAiQH.system.js.map} +1 -1
- package/dist/twilight/{p-jGMZVThE.system.js.map → p-COFul74p.system.js.map} +1 -1
- package/dist/twilight/{p-DaTp8sB1.system.js.map → p-COYoK3Au.system.js.map} +1 -1
- package/dist/twilight/{p-B7SRc_rs.system.js.map → p-CXqdittj.system.js.map} +1 -1
- package/dist/twilight/{p-C51w7Au-.system.js.map → p-Cbo44k63.system.js.map} +1 -1
- package/dist/twilight/{p-DS9HrJPI.system.js.map → p-D-3lG5I2.system.js.map} +1 -1
- package/dist/twilight/{p-B4sHNRyB.system.js.map → p-D3R0t76R.system.js.map} +1 -1
- package/dist/twilight/{p-D8jKZnWs.system.js.map → p-D6LCDuHg.system.js.map} +1 -1
- package/dist/twilight/{p-8i-yI1XS.system.js.map → p-DBvyXCi6.system.js.map} +1 -1
- package/dist/twilight/{p-DzjfnKbb.system.js.map → p-DJmCwgGP.system.js.map} +1 -1
- package/dist/twilight/{p-C_Jmr6ar.system.js.map → p-DR264Rhr.system.js.map} +1 -1
- package/dist/twilight/{p-DHFCX5Dz.system.js.map → p-DbmggJGw.system.js.map} +1 -1
- package/dist/twilight/{p-DVEvrSjN.system.js.map → p-Dko7YEnJ.system.js.map} +1 -1
- package/dist/twilight/{p-DNiwBHdX.system.js.map → p-DmPhtn_C.system.js.map} +1 -1
- package/dist/twilight/{p-BtWTphPP.system.js.map → p-DnJZZ7tb.system.js.map} +1 -1
- package/dist/twilight/{p-NCpDIEN8.system.js.map → p-DoWBCSPK.system.js.map} +1 -1
- package/dist/twilight/{p-MzTS1h7j.system.js.map → p-DpeEK_nM.system.js.map} +1 -1
- package/dist/twilight/{p-aff393D5.system.js.map → p-Dr_IaU2s.system.js.map} +1 -1
- package/dist/twilight/{p-CGmIt4gq.system.js.map → p-J6Yhk9LX.system.js.map} +1 -1
- package/dist/twilight/{p-Co12cj-7.system.js.map → p-UvhFktOU.system.js.map} +1 -1
- package/dist/twilight/{p-BL3DMysj.system.js.map → p-WTZEldbP.system.js.map} +1 -1
- package/dist/twilight/{p-d02a08e9.entry.js → p-a13b8146.entry.js} +2 -2
- package/dist/twilight/{p-f80b373d.system.entry.js → p-a15f23df.system.entry.js} +2 -2
- package/dist/twilight/{p-b94bc357.entry.js → p-a2128c52.entry.js} +2 -2
- package/dist/twilight/{p-ccffcd08.entry.js → p-a48c5028.entry.js} +2 -2
- package/dist/twilight/{p-aa357e2b.system.entry.js → p-a51585ee.system.entry.js} +2 -2
- package/dist/twilight/{p-2957c27c.entry.js → p-a56f6418.entry.js} +2 -2
- package/dist/twilight/{p-528aa2c4.system.entry.js → p-afecdf40.system.entry.js} +2 -2
- package/dist/twilight/{p-008a771c.entry.js → p-b589f4db.entry.js} +2 -2
- package/dist/twilight/{p-f1218836.system.entry.js → p-b9708fef.system.entry.js} +2 -2
- package/dist/twilight/{p-B2wed4KP.system.js.map → p-bGMoB2qG.system.js.map} +1 -1
- package/dist/twilight/{p-42bcde7d.entry.js → p-bad5d163.entry.js} +2 -2
- package/dist/twilight/{p-6a8ba65f.system.entry.js → p-c0871d45.system.entry.js} +2 -2
- package/dist/twilight/{p-6b1753ce.entry.js → p-c0951c06.entry.js} +2 -2
- package/dist/twilight/{p-5271a9e8.entry.js → p-c7973d48.entry.js} +2 -2
- package/dist/twilight/{p-188e8d1c.system.entry.js → p-c9fdaf20.system.entry.js} +3 -3
- package/dist/twilight/{p-3ede6721.entry.js → p-caac9050.entry.js} +2 -2
- package/dist/twilight/{p-71bd4d79.system.entry.js → p-d17bcd5b.system.entry.js} +2 -2
- package/dist/twilight/{p-6ad30bc0.entry.js → p-e2930923.entry.js} +2 -2
- package/dist/twilight/{p-b7572664.entry.js → p-e5ab5482.entry.js} +2 -2
- package/dist/twilight/{p-a13fcfe1.entry.js → p-e63915a5.entry.js} +2 -2
- package/dist/twilight/{p-68285203.system.entry.js → p-e6558318.system.entry.js} +2 -2
- package/dist/twilight/{p-81b99416.system.entry.js → p-e8c5510b.system.entry.js} +2 -2
- package/dist/twilight/{p-68327c54.entry.js → p-eb8c92b5.entry.js} +2 -2
- package/dist/twilight/{p-53e00642.system.entry.js → p-ef0d3f01.system.entry.js} +2 -2
- package/dist/twilight/{p-DaMdjqfe.system.js.map → p-etxkGBiL.system.js.map} +1 -1
- package/dist/twilight/{p-275332fa.system.entry.js → p-f065dc14.system.entry.js} +2 -2
- package/dist/twilight/{p-d1ca52ee.system.entry.js → p-f0aabe3f.system.entry.js} +2 -2
- package/dist/twilight/p-f1e1d569.system.entry.js +5 -0
- package/dist/twilight/{p-0407da23.entry.js → p-f342f449.entry.js} +2 -2
- package/dist/twilight/{p-2ed6d081.system.entry.js → p-f65cfedf.system.entry.js} +2 -2
- package/dist/twilight/{p-64de4869.system.entry.js → p-f9981248.system.entry.js} +2 -2
- package/dist/twilight/{p-a6961af5.entry.js → p-fbc449aa.entry.js} +2 -2
- package/dist/twilight/{p-e5eae8ce.system.entry.js → p-fc0f5c2e.system.entry.js} +2 -2
- package/dist/twilight/{p-9847a4f4.entry.js → p-fc37604a.entry.js} +2 -2
- package/dist/twilight/{p-dad1b603.system.entry.js → p-fc72825e.system.entry.js} +2 -2
- package/dist/twilight/{p-ef823dbd.system.entry.js → p-fc7808d3.system.entry.js} +2 -2
- package/dist/twilight/{p-LSZwJPPB.js → p-gdhHvm6V.js} +3 -3
- package/dist/twilight/p-gdhHvm6V.js.map +1 -0
- package/dist/twilight/{p-CCJYFUxF.system.js.map → p-kuWGCb9j.system.js.map} +1 -1
- package/dist/twilight/{p-Ce2XJNsy.system.js → p-sMaYJNRW.system.js} +3 -3
- package/dist/twilight/p-sMaYJNRW.system.js.map +1 -0
- package/dist/twilight/{p-BMCxvVxH.system.js → p-womksxIV.system.js} +2 -2
- package/dist/twilight/{p-BMCxvVxH.system.js.map → p-womksxIV.system.js.map} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/twilight/twilight.js +1 -1
- package/package.json +5 -5
- package/dist/cjs/index-CfmOwvmC.js.map +0 -1
- package/dist/esm/index-LSZwJPPB.js.map +0 -1
- package/dist/esm-es5/index-LSZwJPPB.js.map +0 -1
- package/dist/twilight/p-13a2e582.system.entry.js +0 -5
- package/dist/twilight/p-Ce2XJNsy.system.js.map +0 -1
- package/dist/twilight/p-LSZwJPPB.js.map +0 -1
- /package/dist/twilight/{p-64c8b0e2.system.entry.js.map → p-00d05d4c.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-de2b1078.system.entry.js.map → p-07327345.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-1f93b886.system.entry.js.map → p-16493b31.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-ea832823.system.entry.js.map → p-18eaeb07.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-09bc1f72.system.entry.js.map → p-1e3e4a84.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-aa49c07f.entry.js.map → p-1e4e21ab.entry.js.map} +0 -0
- /package/dist/twilight/{p-fcfd9a2b.entry.js.map → p-1e5c48d0.entry.js.map} +0 -0
- /package/dist/twilight/{p-39d68fc1.system.entry.js.map → p-229e4f73.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-4eef3c0e.system.entry.js.map → p-2314d050.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-059405fc.system.entry.js.map → p-243cd247.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-143dd94c.system.entry.js.map → p-28cc1200.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-ce02710a.entry.js.map → p-2f3b050a.entry.js.map} +0 -0
- /package/dist/twilight/{p-c09565da.entry.js.map → p-36f043a4.entry.js.map} +0 -0
- /package/dist/twilight/{p-f0cc5b35.entry.js.map → p-37bdeacb.entry.js.map} +0 -0
- /package/dist/twilight/{p-0e1cd76c.system.entry.js.map → p-42aa8f00.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-47de107e.entry.js.map → p-4446d80b.entry.js.map} +0 -0
- /package/dist/twilight/{p-88e53a1e.system.entry.js.map → p-4f54efd1.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-9e6c5671.entry.js.map → p-513eb3ab.entry.js.map} +0 -0
- /package/dist/twilight/{p-fa5ead87.entry.js.map → p-51563172.entry.js.map} +0 -0
- /package/dist/twilight/{p-d660efad.entry.js.map → p-545204c4.entry.js.map} +0 -0
- /package/dist/twilight/{p-1f8bf87a.entry.js.map → p-58702c6a.entry.js.map} +0 -0
- /package/dist/twilight/{p-c38dbed0.entry.js.map → p-5fb7d021.entry.js.map} +0 -0
- /package/dist/twilight/{p-b0d88d59.entry.js.map → p-6234d5b1.entry.js.map} +0 -0
- /package/dist/twilight/{p-5bae6d14.system.entry.js.map → p-66440eaf.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-c5fa09d1.system.entry.js.map → p-68e96348.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-675d4ab7.entry.js.map → p-6d9239fa.entry.js.map} +0 -0
- /package/dist/twilight/{p-d1ef5396.entry.js.map → p-7a849013.entry.js.map} +0 -0
- /package/dist/twilight/{p-d62c20f1.system.entry.js.map → p-7d8494a1.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-fe0234a1.entry.js.map → p-8aa7e30f.entry.js.map} +0 -0
- /package/dist/twilight/{p-87d32e2f.entry.js.map → p-8f3dec24.entry.js.map} +0 -0
- /package/dist/twilight/{p-4806aee6.system.entry.js.map → p-953d84e6.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-d3a36873.entry.js.map → p-9a8f94bd.entry.js.map} +0 -0
- /package/dist/twilight/{p-d02a08e9.entry.js.map → p-a13b8146.entry.js.map} +0 -0
- /package/dist/twilight/{p-f80b373d.system.entry.js.map → p-a15f23df.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-b94bc357.entry.js.map → p-a2128c52.entry.js.map} +0 -0
- /package/dist/twilight/{p-ccffcd08.entry.js.map → p-a48c5028.entry.js.map} +0 -0
- /package/dist/twilight/{p-aa357e2b.system.entry.js.map → p-a51585ee.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-2957c27c.entry.js.map → p-a56f6418.entry.js.map} +0 -0
- /package/dist/twilight/{p-528aa2c4.system.entry.js.map → p-afecdf40.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-008a771c.entry.js.map → p-b589f4db.entry.js.map} +0 -0
- /package/dist/twilight/{p-f1218836.system.entry.js.map → p-b9708fef.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-42bcde7d.entry.js.map → p-bad5d163.entry.js.map} +0 -0
- /package/dist/twilight/{p-6a8ba65f.system.entry.js.map → p-c0871d45.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-6b1753ce.entry.js.map → p-c0951c06.entry.js.map} +0 -0
- /package/dist/twilight/{p-5271a9e8.entry.js.map → p-c7973d48.entry.js.map} +0 -0
- /package/dist/twilight/{p-188e8d1c.system.entry.js.map → p-c9fdaf20.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-3ede6721.entry.js.map → p-caac9050.entry.js.map} +0 -0
- /package/dist/twilight/{p-71bd4d79.system.entry.js.map → p-d17bcd5b.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-6ad30bc0.entry.js.map → p-e2930923.entry.js.map} +0 -0
- /package/dist/twilight/{p-b7572664.entry.js.map → p-e5ab5482.entry.js.map} +0 -0
- /package/dist/twilight/{p-a13fcfe1.entry.js.map → p-e63915a5.entry.js.map} +0 -0
- /package/dist/twilight/{p-68285203.system.entry.js.map → p-e6558318.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-81b99416.system.entry.js.map → p-e8c5510b.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-68327c54.entry.js.map → p-eb8c92b5.entry.js.map} +0 -0
- /package/dist/twilight/{p-53e00642.system.entry.js.map → p-ef0d3f01.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-275332fa.system.entry.js.map → p-f065dc14.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-d1ca52ee.system.entry.js.map → p-f0aabe3f.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-13a2e582.system.entry.js.map → p-f1e1d569.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-0407da23.entry.js.map → p-f342f449.entry.js.map} +0 -0
- /package/dist/twilight/{p-2ed6d081.system.entry.js.map → p-f65cfedf.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-64de4869.system.entry.js.map → p-f9981248.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-a6961af5.entry.js.map → p-fbc449aa.entry.js.map} +0 -0
- /package/dist/twilight/{p-e5eae8ce.system.entry.js.map → p-fc0f5c2e.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-9847a4f4.entry.js.map → p-fc37604a.entry.js.map} +0 -0
- /package/dist/twilight/{p-dad1b603.system.entry.js.map → p-fc72825e.system.entry.js.map} +0 -0
- /package/dist/twilight/{p-ef823dbd.system.entry.js.map → p-fc7808d3.system.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,h as s,H as a,g as c}from"./p-
|
|
5
|
-
//# sourceMappingURL=p-
|
|
4
|
+
import{r as t,h as s,H as a,g as c}from"./p-gdhHvm6V.js";import{w as e}from"./p-DWksgowB.js";import{M as n}from"./p-DmgxDvXL.js";var i=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>iphone</title>\n<path d="M15.053 27.613c0.133 0.12 0.28 0.213 0.44 0.28s0.333 0.107 0.507 0.107c0.36 0 0.693-0.135 0.947-0.387 0.12-0.135 0.213-0.28 0.28-0.44 0.080-0.16 0.107-0.333 0.107-0.507 0-0.347-0.147-0.695-0.387-0.947-0.507-0.493-1.387-0.493-1.893 0-0.12 0.12-0.213 0.267-0.28 0.44-0.067 0.16-0.107 0.333-0.107 0.507s0.040 0.347 0.107 0.507 0.16 0.305 0.28 0.44zM24 0h-16c-2.205 0-4 1.795-4 4v24c0 2.205 1.795 4 4 4h16c2.205 0 4-1.795 4-4v-24c0-2.205-1.795-4-4-4zM25.333 28c0 0.736-0.599 1.333-1.333 1.333h-16c-0.735 0-1.333-0.597-1.333-1.333v-4h18.667zM25.333 21.333h-18.667v-17.333c0-0.735 0.599-1.333 1.333-1.333h16c0.735 0 1.333 0.599 1.333 1.333z"></path>\n</svg>\n`;var o=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>phone</title>\n<path d="M30.823 21.713l-3.883-3.883c-1.569-1.568-4.12-1.568-5.689 0l-2.568 2.568c-3.063-1.499-5.583-4.019-7.081-7.083l2.568-2.567c0.759-0.76 1.177-1.771 1.177-2.845s-0.419-2.084-1.179-2.844l-3.881-3.881c-1.52-1.521-4.171-1.521-5.689 0l-1.845 1.847c-2.22 2.219-3.183 5.407-2.573 8.527 1.98 10.144 10.125 18.292 20.269 20.271 0.616 0.121 1.236 0.18 1.849 0.18 2.492 0 4.896-0.972 6.677-2.752l1.847-1.847c1.568-1.571 1.568-4.121 0.001-5.691zM28.936 25.517l-1.845 1.847c-1.592 1.592-3.883 2.283-6.132 1.841-9.089-1.776-16.388-9.075-18.163-18.165-0.439-2.247 0.249-4.539 1.841-6.129l1.847-1.847c0.256-0.257 0.596-0.397 0.959-0.397s0.703 0.14 0.959 0.397l3.883 3.883c0.256 0.256 0.397 0.596 0.397 0.959s-0.141 0.703-0.397 0.96l-3.22 3.217c-0.383 0.384-0.496 0.959-0.287 1.457 1.813 4.339 5.343 7.868 9.683 9.684 0.497 0.207 1.073 0.095 1.457-0.288l3.22-3.22c0.529-0.529 1.389-0.528 1.917 0l3.881 3.883c0.528 0.529 0.528 1.389 0 1.919z"></path>\n</svg>\n`;var l=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>paper-plane-o</title>\n<path d="M31.5 0.482c0.375 0.268 0.554 0.696 0.482 1.143l-4.571 27.429c-0.054 0.339-0.268 0.625-0.571 0.804-0.161 0.089-0.357 0.143-0.554 0.143-0.143 0-0.286-0.036-0.429-0.089l-9.411-3.839-5.321 5.839c-0.214 0.25-0.518 0.375-0.839 0.375-0.143 0-0.286-0.018-0.411-0.071-0.446-0.179-0.732-0.607-0.732-1.071v-8.071l-8.429-3.446c-0.411-0.161-0.679-0.536-0.714-0.982-0.036-0.429 0.196-0.839 0.571-1.054l29.714-17.143c0.375-0.232 0.857-0.214 1.214 0.036zM25.393 27.25l3.946-23.625-25.607 14.768 6 2.446 15.411-11.411-8.536 14.232z"></path>\n</svg>\n`;const h=".unicode{unicode-bidi:-webkit-plaintext;unicode-bidi:plaintext}";const r=class{constructor(s){t(this,s);var a;this.contacts=salla.config.get("store.contacts");this.iconsList={mobile:i,whatsapp:e,phone:o,telegram:l,email:n};this.contactSlot=((a=this.host.querySelector('[slot="contact"]'))===null||a===void 0?void 0:a.innerHTML)||`<a href={link} class="s-contacts-item"><span class="s-contacts-icon">{icon}</span>${!this.iconsOnly&&"<span class='unicode'>{value}</span>"}</a>`;salla.onReady((()=>{this.contacts=salla.config.get("store.contacts")}));salla.lang.onLoaded((()=>{this.contactsTitle=this.contactsTitle||salla.lang.get("blocks.footer.social")}))}getContactsArray(){return Object.entries(this.contacts).filter((([t,s])=>s!=="")).map((([t,s])=>({type:t,value:s})))}getContactLink(t){const s=this.contacts[t];switch(t){case"phone":case"mobile":return`tel:${s}`;case"whatsapp":return salla.url.get("whatsapp/send");case"email":return`mailto:${s}`;case"telegram":return s.startsWith("https://t.me/")?s:`https://t.me/${s}`;default:return s}}getContactIcon(t){return this.iconsList[t]}componentWillLoad(){return new Promise((t=>salla.onReady(t)))}render(){const t=this.getContactsArray();if(!t||t.length==0){return}if(this.isHeader){return s(a,{class:"s-contacts s-contacts-header"},t.filter((t=>t.type=="phone"||t.type=="email")).map(((t,a)=>s("a",{href:this.getContactLink(t.type),key:a,class:"s-contacts-topnav-link"},t.type==="email"?t.value:[s("span",null,this.contactsTitle,": "),s("a",{class:"unicode",href:this.iconsList[t.type]},t.value)]))))}return s(a,{class:"s-contacts"},!this.hideTitle&&s("h3",{class:"s-contacts-title"},this.contactsTitle),s("div",{class:{"s-contacts-list":true,"s-contacts-list-horizontal":this.horizontal,"s-contacts-list-vertical":!this.horizontal,"s-contacts-list-icons-only":this.iconsOnly}},t.map(((t,a)=>s("div",{key:a,id:"contact-slot",innerHTML:this.contactSlot.replace(/\{icon\}/g,this.getContactIcon(t.type)).replace(/\{value\}/g,t.value.toString()).replace(/\{link\}/g,this.getContactLink(t.type))})))))}componentDidRender(){var t;(t=this.host.querySelector('[slot="contact"]'))===null||t===void 0?void 0:t.remove()}get host(){return c(this)}};r.style=h;export{r as salla_contacts};
|
|
5
|
+
//# sourceMappingURL=p-2f3b050a.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as s,c as t,h as i,H as e,g as a}from"./p-
|
|
5
|
-
//# sourceMappingURL=p-
|
|
4
|
+
import{r as s,c as t,h as i,H as e,g as a}from"./p-gdhHvm6V.js";import{H as h}from"./p-CGaH6V1S.js";import{F as l}from"./p-DL4h2bc3.js";import"./p-CgtvEd63.js";const r=":host{display:block}";const c=class{constructor(i){s(this,i);this.changed=t(this,"changed");this.initHeight=195;this.isOpen=true;this.isShowMore=false;this.showMoreLabel="عرض المزيد";this.showLessLabel="عرض أقل";this.page=salla.config.get("page")}connectedCallback(){this.withLoadMore=this.option.key!="price"&&Array.isArray(this.option.values)&&this.option.values.length>8;salla.onReady((()=>{this.page=salla.config.get("page")}));salla.lang.onLoaded((()=>{this.showMoreLabel=salla.lang.getWithDefault("common.titles.more",this.showMoreLabel);this.showLessLabel=salla.lang.getWithDefault("common.elements.show_less",this.showLessLabel)}))}componentDidLoad(){this.widgetValues.scrollHeight<this.initHeight&&(this.withLoadMore=false);this.withLoadMore&&this.widgetValues&&(this.widgetValues.style.maxHeight=`${this.initHeight}px`);this.widgetContent.style.height=`${this.widgetContent.scrollHeight}px`}async setWidgetHeight(s=250){this.widgetContent.removeAttribute("style");setTimeout((()=>{let s=this.widgetContent.scrollHeight;this.widgetContent.style.height=s+"px"}),s)}async reset(){if(this.option.type===l.RANGE){this.priceRange.reset()}Array.from(this.host.querySelectorAll("input")).forEach((s=>s.checked=false))}async showMore(){this.isShowMore=!this.isShowMore;this.widgetContent.style.height="auto";this.widgetValues.style.maxHeight=this.isShowMore?`${this.widgetValues.scrollHeight}px`:`${this.initHeight}px`;setTimeout((()=>{this.widgetContent.style.height=`${this.widgetContent.scrollHeight}px`}),400)}async toggleWidget(){this.isOpen=!this.isOpen;h.toggleElementClassIf(this.widgetContent,"s-filters-widget-opened","s-filters-widget-closed",(()=>this.isOpen))}renderFilterOption(s){if(![l.VALUES,l.MINIMUM,l.VARIANTS].includes(s.type)){return""}return s.values.map(((t,e)=>{let a=typeof t=="number"?t:t.key||t.value;return i("label",{class:"s-filters-label",htmlFor:`${s.key}-option-${a}`,key:`${s.key}-option-${a}`},i("input",{id:`${s.key}-option-${a}`,name:s.key,type:"radio",checked:this.isSelectedOption(s,a),class:`s-filters-radio`,onChange:t=>this.changed.emit({event:t,option:s,value:a})}),this.getOptionLabel(s,t))}))}isSelectedOption(s,t){if(s.type===l.MINIMUM){return this.filtersData[s.key]==t}if(s.type===l.VARIANTS){return this.filtersData[s.type]&&this.filtersData[s.type][Object.keys(this.filtersData[s.type])[0]]==t}if(s.type===l.RANGE){return this.filtersData[s.key]&&this.filtersData[s.key].min==t.min&&this.filtersData[s.key].max==t.max}if(s.type===l.VALUES){return this.filtersData[s.key]&&Number(this.filtersData[s.key])==Number(t)}return false}getOptionLabel(s,t){if(s.key=="rating"){return i("salla-rating-stars",{size:"small",value:t})}let e=t.value||"null";return i("span",{class:"s-filters-option-name"},e)}render(){return i(e,{key:"1987fec03cfe48cddc60af2d81bbc30a476dcb61",class:"s-filters-widget-container"},i("h3",{key:"4232775c4012d1be8bb3036d9d09e5d29d951ee4",class:"s-filters-widget-title",onClick:()=>this.toggleWidget()},i("span",{key:"61cf9ea5a69f3ab5377502a396cc84478c6152a1"},this.option.label),i("span",{key:"b75914eb06f9d419d0a89da2a8f2da2f891f3d27",class:`s-filters-widget-plusminus ${this.isOpen?"s-filters-widget-plusminus-active":""}`})),i("div",{key:"f65e2f8a44648b034dacf1bda1aa64b5398627b7",class:"s-filters-widget-content",ref:s=>this.widgetContent=s},i("div",{key:"adcafe169ce8cbef671263f3624bce071b168c36",class:"s-filters-widget-values",ref:s=>this.widgetValues=s},i("slot",{key:"fa006556e44e508c3c64cc5ae76cc826b7e7601e"}),this.option.type!==l.RANGE?this.renderFilterOption(this.option):i("salla-price-range",{onChanged:s=>{this.changed.emit(s.detail)},ref:s=>this.priceRange=s,filtersData:this.filtersData,option:this.option})),this.withLoadMore&&i("a",{key:"16a4ddeb365dc1d52fc51a8999fc6d7dbe094658",class:"s-filters-widget-more",onClick:()=>this.showMore()},!this.isShowMore?this.showMoreLabel:this.showLessLabel)))}get host(){return a(this)}};c.style=r;export{c as salla_filters_widget};
|
|
5
|
+
//# sourceMappingURL=p-36f043a4.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
|
-
import{r as s,h as t}from"./p-
|
|
5
|
-
//# sourceMappingURL=p-
|
|
4
|
+
import{r as s,h as t}from"./p-gdhHvm6V.js";import{I as a}from"./p-uTyAzPSy.js";var e=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>file-archive</title>\n<path d="M17.333 16h-5.333c-0.737 0-1.333 0.597-1.333 1.333v2.667c0 2.205 1.795 4 4 4s4-1.795 4-4v-2.667c0-0.736-0.596-1.333-1.333-1.333zM16 20c0 0.735-0.597 1.333-1.333 1.333s-1.333-0.599-1.333-1.333v-1.333h2.667zM17.333 12h-5.333c-0.737 0-1.333 0.597-1.333 1.333s0.596 1.333 1.333 1.333h5.333c0.737 0 1.333-0.597 1.333-1.333s-0.596-1.333-1.333-1.333zM28.943 8.391l-8-8c-0.249-0.251-0.588-0.391-0.943-0.391h-13.333c-2.205 0-4 1.795-4 4v24c0 2.205 1.795 4 4 4h18.667c2.205 0 4-1.795 4-4v-18.667c0-0.353-0.14-0.693-0.391-0.943zM26.667 28c0 0.735-0.597 1.333-1.333 1.333h-18.667c-0.736 0-1.333-0.599-1.333-1.333v-24c0-0.735 0.597-1.333 1.333-1.333h12.781l7.219 7.219zM17.333 8h-5.333c-0.737 0-1.333 0.597-1.333 1.333s0.596 1.333 1.333 1.333h5.333c0.737 0 1.333-0.597 1.333-1.333s-0.596-1.333-1.333-1.333zM17.333 4h-5.333c-0.737 0-1.333 0.597-1.333 1.333s0.596 1.333 1.333 1.333h5.333c0.737 0 1.333-0.597 1.333-1.333s-0.596-1.333-1.333-1.333z"></path>\n</svg>\n`;var c=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>download</title>\n<path d="M15.056 20.941c0.123 0.124 0.271 0.221 0.435 0.289 0.163 0.067 0.336 0.103 0.509 0.103s0.347-0.036 0.509-0.103c0.164-0.068 0.311-0.165 0.435-0.289l5.332-5.332c0.521-0.521 0.521-1.364 0-1.885s-1.364-0.521-1.885 0l-3.057 3.057v-12.781c0-0.737-0.597-1.333-1.333-1.333s-1.333 0.596-1.333 1.333v12.781l-3.057-3.057c-0.521-0.521-1.364-0.521-1.885 0s-0.521 1.364 0 1.885zM25.333 26.667h-18.667c-0.736 0-1.333 0.596-1.333 1.333s0.597 1.333 1.333 1.333h18.667c0.736 0 1.333-0.596 1.333-1.333s-0.597-1.333-1.333-1.333z"></path>\n</svg>\n`;var i=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>swap-stroke</title>\n<path d="M6.667 18.667h-2.667c-0.736 0-1.333-0.597-1.333-1.333v-13.333c0-0.736 0.597-1.333 1.333-1.333h13.333c0.736 0 1.333 0.597 1.333 1.333v2.667c0 0.737 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333v-2.667c0-2.205-1.795-4-4-4h-13.333c-2.205 0-4 1.795-4 4v13.333c0 2.205 1.795 4 4 4h2.667c0.737 0 1.333-0.596 1.333-1.333s-0.596-1.333-1.333-1.333zM28 10.667h-13.333c-2.205 0-4 1.795-4 4v13.333c0 2.205 1.795 4 4 4h13.333c2.205 0 4-1.795 4-4v-13.333c0-2.205-1.795-4-4-4zM29.333 28c0 0.736-0.597 1.333-1.333 1.333h-13.333c-0.736 0-1.333-0.597-1.333-1.333v-13.333c0-0.736 0.597-1.333 1.333-1.333h13.333c0.736 0 1.333 0.597 1.333 1.333z"></path>\n</svg>\n`;var l=`\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>debit-card-back</title>\n<path d="M30 28h-28c-1.105 0-2-0.895-2-2v0-18c0-1.105 0.895-2 2-2v0h28c1.105 0 2 0.895 2 2v0 18c0 1.105-0.895 2-2 2v0zM30 26v0zM2 8v18h28v-18zM31 14h-30c-0.552 0-1-0.448-1-1s0.448-1 1-1v0h30c0.552 0 1 0.448 1 1s-0.448 1-1 1v0zM11 22h-6c-0.552 0-1-0.448-1-1s0.448-1 1-1v0h6c0.552 0 1 0.448 1 1s-0.448 1-1 1v0zM24 24c-2.209 0-4-1.791-4-4s1.791-4 4-4c2.209 0 4 1.791 4 4v0c0 2.209-1.791 4-4 4v0zM24 18c-1.105 0-2 0.895-2 2s0.895 2 2 2c1.105 0 2-0.895 2-2v0c0-1.105-0.895-2-2-2v0zM20 24c-2.209 0-4-1.791-4-4s1.791-4 4-4v0c0.002 0 0.005 0 0.007 0 1.032 0 1.972 0.398 2.673 1.048l-0.003-0.002c0.191 0.183 0.311 0.439 0.311 0.724 0 0.552-0.448 1-1 1-0.257 0-0.492-0.097-0.669-0.257l0.001 0.001c-0.345-0.319-0.807-0.514-1.315-0.514-0.002 0-0.003 0-0.005 0h0c-1.105 0-2 0.895-2 2s0.895 2 2 2v0c0.002 0 0.004 0 0.007 0 0.508 0 0.971-0.195 1.317-0.515l-0.001 0.001c0.179-0.171 0.422-0.276 0.689-0.276 0.552 0 1 0.448 1 1 0 0.295-0.128 0.56-0.331 0.743l-0.001 0.001c-0.699 0.648-1.638 1.046-2.671 1.046-0.003 0-0.007 0-0.010 0h0.001z"></path>\n</svg>\n`;const n=":host{display:block}";const h=class{constructor(t){s(this,t);this.codeCopied=null;this.noItemFound=true;this.order_items=[];this.isDigitalCard=s=>s.product.type==="codes";this.isDigitalProduct=s=>s.product.type==="digital"}async componentWillLoad(){salla.lang.onLoaded((()=>{this.codes_text=salla.lang.get("pages.thank_you.codes");this.copy_text=salla.lang.get("common.elements.copy");this.files_text=salla.lang.get("pages.thank_you.files");this.download_text=salla.lang.get("pages.thank_you.download")}));return await this.getOrderItems()}copyToClipboardHandler(s){if(navigator&&"clipboard"in navigator){try{navigator.clipboard.writeText(s).then((()=>{this.codeCopied=s;this.copyCodeButtonTimeout=setTimeout((()=>{this.codeCopied=null}),3e3)}))}catch(s){salla.loggers.error("copy functionality is not supported by the browser")}}}async getOrderItems(){const s=this.orderId||salla.config.get("page.id");const t="Failed to fetch order items";if(!s){salla.logger.error(t);throw new Error(t)}try{const{data:{items:t=[]}}=await salla.api.request(`orders/${s}`);const a=t.some((s=>this.isDigitalCard(s)||this.isDigitalProduct(s)));if(a){this.order_items=t;this.noItemFound=false}}catch(s){salla.logger.error(t)}}disconnectedCallback(){this.copyCodeButtonTimeout&&clearTimeout(this.copyCodeButtonTimeout)}render(){return t("ul",{key:"14eed8e219bcde5b32d5fddb95bb8727e980c56c",class:"s-order-summary-wrapper"},this.noItemFound?t("salla-placeholder",{alignment:"center"},t("span",{slot:"title"})):this.order_items.map((s=>this.isDigitalCard(s)?t("li",{key:s.product.id,class:"s-order-summary-item"},t("h2",{class:"s-order-summary-item-title"},this.codes_text," (",s.name,")"),s.codes.map((s=>t("div",{key:s.code,class:"s-order-summary-code-item-wrapper"},t("p",null,t("span",{innerHTML:l}),t("span",null,s.code)),t("salla-button",{class:`s-order-summary-item-copy-button ${this.codeCopied===s.code?"copied":""}`,onClick:()=>this.copyToClipboardHandler(s.code),shape:"link"},t("span",{innerHTML:this.codeCopied===s.code?a:i}),t("span",null,this.copy_text)))))):this.isDigitalProduct(s)?t("li",{key:s.product.id,class:"s-order-summary-item"},t("h2",{class:"s-order-summary-item-title"},this.files_text," (",s.name,")"),t("ul",null,s.files.map((s=>t("li",{class:"s-order-summary-digital-item-wrapper"},t("div",null,t("span",{innerHTML:e}),t("span",null,s.name)),t("a",{href:s.url,target:"_blank",class:"s-order-summary-item-download"},t("span",{innerHTML:c}),t("span",null,this.download_text))))))):null)))}};h.style=n;export{h as salla_order_summary};
|
|
5
|
+
//# sourceMappingURL=p-37bdeacb.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,r,n,
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,r,n,i){function e(t){return t instanceof n?t:new n((function(r){r(t)}))}return new(n||(n=Promise))((function(n,a){function s(t){try{u(i.next(t))}catch(t){a(t)}}function o(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):e(t.value).then(s,o)}u((i=i.apply(t,r||[])).next())}))};var __generator=this&&this.__generator||function(t,r){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,e,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(r){return u([t,r])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,e&&(a=o[0]&2?e["return"]:o[0]?e["throw"]||((a=e["return"])&&a.call(e),0):e.next)&&!(a=a.call(e,o[1])).done)return a;if(e=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;e=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=r.call(t,n)}catch(t){o=[6,t];e=0}finally{i=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Crafted with ❤ by Salla
|
|
4
|
-
*/System.register(["./p-
|
|
5
|
-
//# sourceMappingURL=p-
|
|
4
|
+
*/System.register(["./p-sMaYJNRW.system.js","./p-Bnro4LR3.system.js","./p-CzwwMHuN.system.js","./p-CLqFzsVe.system.js"],(function(t){"use strict";var r,n,i,e,a,s,o;return{setters:[function(t){r=t.r;n=t.c;i=t.h;e=t.H;a=t.g},function(t){s=t.F},function(t){o=t.H},null],execute:function(){var u=":host{display:block}.s-rating-stars-small{line-height:12px}.s-filters-radio{background-image:none !important}";var f=t("salla_filters",function(){function t(t){var i=this;r(this,t);this.changed=n(this,"changed");this.isReady=false;this.filtersData={};salla.event.on("filters::hidden",(function(){return i.host.style.display="none"}));salla.lang.onLoaded((function(){i.apply=salla.lang.get("pages.checkout.apply");i.reset=salla.lang.get("pages.categories.filters_reset")}));salla.event.on("filters::fetched",(function(t){var r=t.filters;i.host.style.display="";var n={};i.filters=r.map((function(t){t.label={category_id:salla.lang.get("common.titles.categories"),brand_id:salla.lang.get("common.titles.brands"),rating:salla.lang.get("pages.categories.filter_rating"),price:salla.lang.get("pages.categories.filter_price")}[t.key]||t.label;if(t.key=="rating"){t.type=s.VALUES;var r=t.values,e=r.max,a=r.min;t.values=[5,4,3,2,1].filter((function(t){return t>=a||t<=e}))}if(i.filtersData.variants&&t.type==s.VARIANTS){n.variants=i.filtersData.variants}if(i.filtersData[t.key]&&t.type!==s.VARIANTS){n[t.key]=i.filtersData[t.key]}var o=new URLSearchParams(window.location.search);var u=false;for(var f=0,c=o.keys();f<c.length;f++){var l=c[f];if(l.includes("filters")){u=true;break}}if(salla.config.get("page.slug")=="product.index"&&Object.keys(n).length==0&&!u){var h=window.location.href;var v=salla.config.get("page.id");var d=h.indexOf("?")!==-1?"&":"?";var w=h+d+"filters[category_id]="+v;n.category_id=v;window.history.pushState({path:w},"",w)}return t}));i.filtersData=n;i.host.childNodes.forEach((function(t){return __awaiter(i,void 0,void 0,(function(){var r;return __generator(this,(function(n){switch(n.label){case 0:r=t.setWidgetHeight;if(!r)return[3,2];return[4,t.setWidgetHeight()];case 1:r=n.sent();n.label=2;case 2:return[2,r]}}))}))}))}))}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,r,n;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);t=new URLSearchParams(window.location.search);r=this;return[4,o.extractFiltersFromUrl(t)];case 1:r.filtersData=i.sent();return[3,3];case 2:n=i.sent();console.warn("failed to get filters from URL",n.message);return[3,3];case 3:return[2]}}))}))};t.prototype.getFilters=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.filtersData]}))}))};t.prototype.applyFilters=function(){return __awaiter(this,void 0,void 0,(function(){var t;var r=this;return __generator(this,(function(n){if(!this.isReady){return[2]}t=Object.keys(this.filtersData).length>0;setTimeout((function(){var n;if(t){var i=new URL(window.location.href);for(var e=0,a=i.searchParams.entries();e<a.length;e++){var s=a[e][0];if(s.startsWith("filters")){i.searchParams.delete(s)}}var o=r.encodeFilters(r.filtersData);var u=i.search.split("&").filter((function(t){return!t.includes("filters")})).join("&");if(u){i.search=i.search.split("&filters")[0]+"&"+o}else{i.search="?".concat(o)}window.history.pushState({},"",i.href)}else{var i=new URL(window.location.href);(n=i.searchParams)===null||n===void 0?void 0:n.delete("filters");window.history.pushState({},"",i.toString())}salla.event.emit("salla-filters::changed",r.filtersData);r.changed.emit(r.filtersData)}),300);return[2]}))}))};t.prototype.encodeFilters=function(t,r){if(r===void 0){r="filters"}var n=[];for(var i in t){if(Object.prototype.hasOwnProperty.call(t,i)){var e=t[i];var a=r?"".concat(r,"[").concat(i,"]"):i;if(Array.isArray(e)){for(var s=0;s<e.length;s++){n.push("".concat(a,"[").concat(s,"]=").concat(e[s]))}}else if(typeof e==="object"&&e!==null){n.push(this.encodeFilters(e,a))}else{var o="".concat(a,"=").concat(e);n.push(o)}}}return n.join("&")};t.prototype.resetFilters=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.removeFiltersQueryParams();this.filtersData={};this.host.childNodes.forEach((function(t){return t.reset&&t.reset()}));salla.event.emit("salla-filters::reset");return[2,this.applyFilters()]}))}))};t.prototype.removeFiltersQueryParams=function(){var t=new URLSearchParams(window.location.search);var r=Array.from(t.keys()).filter((function(t){return!t.startsWith("filters[")})).map((function(r){return"".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t.get(r)))})).join("&");var n=r?"".concat(window.location.pathname,"?").concat(r):window.location.pathname;window.history.pushState({},"",n)};t.prototype.handleOptionChange=function(t,r,n){if(r.type===s.RANGE){this.filtersData[r.key]=n}var i=t.target.checked;if(r.type===s.VARIANTS){this.filtersData.variants=this.filtersData.variants||{};i&&(this.filtersData.variants[r.key]=n);i||delete this.filtersData.variants[r.key]}else if(t.target.type=="radio"){i&&(this.filtersData[r.key]=n);i||delete this.filtersData[r.key]}else if(t.target.type=="checkbox"){this.filtersData[r.key]=this.filtersData[r.key]||[];if(i){this.filtersData[r.key].push(n)}this.filtersData[r.key]=this.filtersData[r.key].filter((function(t){return t!=n}))}this.applyFilters()};t.prototype.render=function(){var t=this;var r,n;return i(e,{key:"54a625522588215230f1eb5a3ca94b8280b18040"},(r=this.filters)===null||r===void 0?void 0:r.map((function(r){return i("salla-filters-widget",{option:r,filtersData:t.filtersData,onChanged:function(r){var n=r.detail,i=n.event,e=n.option,a=n.value;t.handleOptionChange(i,e,a)}})})),((n=this.filters)===null||n===void 0?void 0:n.length)?i("div",{class:"s-filters-footer"},i("salla-button",{color:"gray",fill:"outline",onClick:function(){return t.resetFilters()}},this.reset)):"")};t.prototype.componentDidLoad=function(){this.isReady=true};Object.defineProperty(t.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());f.style=u}}}));
|
|
5
|
+
//# sourceMappingURL=p-42aa8f00.system.entry.js.map
|