@salla.sa/twilight-components 2.14.471 → 2.14.472

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.
Files changed (486) hide show
  1. package/dist/cjs/{filepond-nQfoJi-g.js → filepond-Cy1e6Ro5.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-hJ9M3t0L.js → filepond-plugin-file-poster-CLtWPKuV.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-CgpDoJxO.js → filepond-plugin-file-validate-size-VaxUnQB7.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B2KbrSbZ.js → filepond-plugin-file-validate-type-qjNEM_4Q.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BkNqlXrL.js → filepond-plugin-image-edit-DZdFIpzD.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-P3Zfw8MQ.js → filepond-plugin-image-exif-orientation-CMDdMoTf.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CNXFmZth.js → filepond-plugin-image-preview-CckneKBe.js} +1 -1
  8. package/dist/cjs/{functions-B8CHu2z4.js → functions-DDLs9J1M.js} +1 -1
  9. package/dist/cjs/{index-GUQS0-Q-.js → index-BLZPuy15.js} +10 -14
  10. package/dist/cjs/{index-CPhoxBkB.js → index-MGCYfYcr.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +4 -4
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +3 -3
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +333 -21
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +4 -4
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +2 -2
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +18 -18
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +5 -5
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  34. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  37. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -9
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  53. package/dist/cjs/{salla-map.cjs.entry.js → salla-map_2.cjs.entry.js} +70 -4
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/{salla-product-card_2.cjs.entry.js → salla-order-options-modal_3.cjs.entry.js} +209 -6
  72. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  73. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  76. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  77. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  78. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -10
  84. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  86. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  91. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  100. package/dist/cjs/{tracked-promise-B7zS9VE-.js → tracked-promise-B-bFT1y-.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-1QrQ9HZi.js → vanilla-picker-CP29RTHf.js} +1 -1
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/salla-accordion/salla-accordion-body.js +1 -1
  105. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  106. package/dist/collection/components/salla-accordion/salla-accordion.js +1 -1
  107. package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +10 -0
  108. package/dist/collection/components/salla-alert/salla-alert.js +1 -1
  109. package/dist/collection/components/salla-badge/salla-badge.js +1 -1
  110. package/dist/collection/components/salla-booking-field/salla-booking-field.js +1 -1
  111. package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +2 -2
  112. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  113. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  114. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  115. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  116. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  117. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  118. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  119. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  120. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  121. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  122. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  123. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  124. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  125. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  126. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  127. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  128. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +1 -1
  129. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  130. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
  131. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  132. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  133. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  134. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  135. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  136. package/dist/collection/components/salla-map/salla-map.js +3 -3
  137. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  138. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  139. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  140. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  141. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  142. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  143. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  144. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  145. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  146. package/dist/collection/components/salla-order-options-modal/apple-pay-order-options.js +84 -0
  147. package/dist/collection/components/salla-order-options-modal/order-options-gate.js +136 -0
  148. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.css +35 -0
  149. package/dist/collection/components/salla-order-options-modal/salla-order-options-modal.js +282 -0
  150. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  151. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  152. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  153. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  154. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  155. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  156. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  157. package/dist/collection/components/salla-product-options/salla-product-options.js +65 -2
  158. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  159. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  160. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +70 -16
  161. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  162. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  163. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  164. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  165. package/dist/collection/components/salla-search/salla-search.js +5 -5
  166. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  167. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  168. package/dist/collection/components/salla-social/salla-social.js +1 -1
  169. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  170. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  171. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  172. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  173. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  174. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  175. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  176. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  177. package/dist/components/index.js +2 -2
  178. package/dist/components/index2.js +2540 -1699
  179. package/dist/components/index3.js +1699 -2540
  180. package/dist/components/location.js +2 -2
  181. package/dist/components/salla-accordion-body2.js +1 -1
  182. package/dist/components/salla-accordion-head2.js +2 -2
  183. package/dist/components/salla-accordion2.js +1 -1
  184. package/dist/components/salla-add-product-button2.js +205 -8
  185. package/dist/components/salla-alert.js +1 -1
  186. package/dist/components/salla-badge2.js +1 -1
  187. package/dist/components/salla-booking-field2.js +1 -1
  188. package/dist/components/salla-bottom-alert.js +2 -2
  189. package/dist/components/salla-bullet-delivery.js +3 -3
  190. package/dist/components/salla-cart-coupons.js +1 -1
  191. package/dist/components/salla-cart-summary.js +1 -1
  192. package/dist/components/salla-color-picker2.js +1 -1
  193. package/dist/components/salla-comment-form2.js +1 -1
  194. package/dist/components/salla-conditional-fields2.js +1 -1
  195. package/dist/components/salla-count-down2.js +1 -1
  196. package/dist/components/salla-datetime-picker2.js +2 -2
  197. package/dist/components/salla-file-upload2.js +2 -2
  198. package/dist/components/salla-filters-widget2.js +2 -2
  199. package/dist/components/salla-filters.js +1 -1
  200. package/dist/components/salla-gifting.js +2 -2
  201. package/dist/components/salla-hook.js +1 -1
  202. package/dist/components/salla-list-tile2.js +1 -1
  203. package/dist/components/salla-loading2.js +1 -1
  204. package/dist/components/salla-localization-modal.js +1 -1
  205. package/dist/components/salla-loyalty-hero2.js +3 -3
  206. package/dist/components/salla-loyalty-panel.js +66 -18
  207. package/dist/components/salla-loyalty-point2.js +6 -6
  208. package/dist/components/salla-loyalty-points-history.js +1 -1
  209. package/dist/components/salla-loyalty-prize-item.js +1 -1
  210. package/dist/components/salla-loyalty-program.js +68 -20
  211. package/dist/components/salla-loyalty-reward.js +2 -2
  212. package/dist/components/salla-maintenance-alert.js +1 -1
  213. package/dist/components/salla-map2.js +4 -4
  214. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  215. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  216. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  217. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  218. package/dist/components/salla-multiple-bundle-product.js +1 -1
  219. package/dist/components/salla-notification-item2.js +1 -1
  220. package/dist/components/salla-offer-modal.js +65 -17
  221. package/dist/components/salla-order-details.js +1 -1
  222. package/dist/components/salla-order-edit-product-card.js +1 -1
  223. package/dist/components/salla-order-options-modal.d.ts +11 -0
  224. package/dist/components/salla-order-options-modal.js +9 -0
  225. package/dist/components/salla-order-options-modal2.js +303 -0
  226. package/dist/components/salla-order-summary.js +1 -1
  227. package/dist/components/salla-payments.js +2 -2
  228. package/dist/components/salla-placeholder2.js +1 -1
  229. package/dist/components/salla-price-range2.js +2 -2
  230. package/dist/components/salla-product-availability2.js +1 -1
  231. package/dist/components/salla-product-card-embed.js +1 -1
  232. package/dist/components/salla-product-card2.js +65 -17
  233. package/dist/components/salla-product-options2.js +30 -2
  234. package/dist/components/salla-product-size-guide.js +2 -2
  235. package/dist/components/salla-products-slider2.js +62 -14
  236. package/dist/components/salla-quantity-input2.js +1 -1
  237. package/dist/components/salla-quick-buy2.js +233 -18
  238. package/dist/components/salla-review-card2.js +1 -1
  239. package/dist/components/salla-reviews-page.js +1 -1
  240. package/dist/components/salla-reviews.js +1 -1
  241. package/dist/components/salla-reward-card2.js +1 -1
  242. package/dist/components/salla-reward-details2.js +67 -19
  243. package/dist/components/salla-reward-exchange2.js +3 -3
  244. package/dist/components/salla-scopes.js +1 -1
  245. package/dist/components/salla-search.js +5 -5
  246. package/dist/components/salla-searchable-dropdown2.js +4 -4
  247. package/dist/components/salla-skeleton2.js +1 -1
  248. package/dist/components/salla-social-share2.js +1 -1
  249. package/dist/components/salla-social.js +1 -1
  250. package/dist/components/salla-tab-content2.js +1 -1
  251. package/dist/components/salla-tab-header2.js +1 -1
  252. package/dist/components/salla-tabs2.js +1 -1
  253. package/dist/components/salla-tel-input2.js +2 -2
  254. package/dist/components/salla-tooltip2.js +1 -1
  255. package/dist/components/salla-user-settings.js +1 -1
  256. package/dist/components/salla-wishlist-actions.js +1 -1
  257. package/dist/esm/{filepond-Doklzvb6.js → filepond-BOdFx-k4.js} +1 -1
  258. package/dist/esm/{filepond-plugin-file-poster-BSBF1f0z.js → filepond-plugin-file-poster-B0plGjbP.js} +1 -1
  259. package/dist/esm/{filepond-plugin-file-validate-size-CbaXmA8m.js → filepond-plugin-file-validate-size-BFnLP4vL.js} +1 -1
  260. package/dist/esm/{filepond-plugin-file-validate-type-FjPelZ0O.js → filepond-plugin-file-validate-type-CKf0Z8YX.js} +1 -1
  261. package/dist/esm/{filepond-plugin-image-edit-BmG7tc8Q.js → filepond-plugin-image-edit-lPLGnaWD.js} +1 -1
  262. package/dist/esm/{filepond-plugin-image-exif-orientation-DhRt-kLt.js → filepond-plugin-image-exif-orientation-ad7mrSt5.js} +1 -1
  263. package/dist/esm/{filepond-plugin-image-preview-DZ2XM7gt.js → filepond-plugin-image-preview-D5dtrQjv.js} +1 -1
  264. package/dist/esm/{functions-_-9PUSBv.js → functions-nnPBSJY6.js} +1 -1
  265. package/dist/esm/{index-CJ2jUKh4.js → index-BtIvUNme.js} +1 -1
  266. package/dist/esm/{index-Cly9a4nm.js → index-CjnbnAFU.js} +10 -14
  267. package/dist/esm/loader.js +3 -3
  268. package/dist/esm/salla-accordion-body_2.entry.js +4 -4
  269. package/dist/esm/salla-accordion_6.entry.js +3 -3
  270. package/dist/esm/salla-add-product-button_5.entry.js +333 -21
  271. package/dist/esm/salla-advertisement.entry.js +1 -1
  272. package/dist/esm/salla-alert_2.entry.js +4 -4
  273. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  274. package/dist/esm/salla-apps-icons.entry.js +1 -1
  275. package/dist/esm/salla-badge.entry.js +2 -2
  276. package/dist/esm/salla-booking-field_7.entry.js +18 -18
  277. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  278. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  279. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  280. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  281. package/dist/esm/salla-comment-form_8.entry.js +5 -5
  282. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  283. package/dist/esm/salla-contacts.entry.js +1 -1
  284. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  285. package/dist/esm/salla-count-down.entry.js +2 -2
  286. package/dist/esm/salla-custom-fields.entry.js +1 -1
  287. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  288. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  289. package/dist/esm/salla-filters-widget.entry.js +3 -3
  290. package/dist/esm/salla-filters.entry.js +2 -2
  291. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  292. package/dist/esm/salla-gifting.entry.js +3 -3
  293. package/dist/esm/salla-hook.entry.js +2 -2
  294. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  295. package/dist/esm/salla-installment.entry.js +1 -1
  296. package/dist/esm/salla-list-tile.entry.js +2 -2
  297. package/dist/esm/salla-localization-modal.entry.js +2 -2
  298. package/dist/esm/salla-login-modal.entry.js +1 -1
  299. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  300. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -9
  301. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  302. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  303. package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
  304. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  305. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  306. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  307. package/dist/esm/salla-loyalty.entry.js +1 -1
  308. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  309. package/dist/esm/{salla-map.entry.js → salla-map_2.entry.js} +70 -5
  310. package/dist/esm/salla-menu.entry.js +1 -1
  311. package/dist/esm/salla-metadata.entry.js +1 -1
  312. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  313. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  314. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  315. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  316. package/dist/esm/salla-notification-item.entry.js +2 -2
  317. package/dist/esm/salla-notifications.entry.js +1 -1
  318. package/dist/esm/salla-offer-modal.entry.js +2 -2
  319. package/dist/esm/salla-offer.entry.js +1 -1
  320. package/dist/esm/salla-order-branch.entry.js +1 -1
  321. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  322. package/dist/esm/salla-order-details-options.entry.js +1 -1
  323. package/dist/esm/salla-order-details.entry.js +2 -2
  324. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  325. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  326. package/dist/esm/salla-order-edit.entry.js +1 -1
  327. package/dist/esm/{salla-product-card_2.entry.js → salla-order-options-modal_3.entry.js} +209 -7
  328. package/dist/esm/salla-order-summary.entry.js +2 -2
  329. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  330. package/dist/esm/salla-orders.entry.js +1 -1
  331. package/dist/esm/salla-payments.entry.js +3 -3
  332. package/dist/esm/salla-placeholder.entry.js +2 -2
  333. package/dist/esm/salla-price-range.entry.js +3 -3
  334. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  335. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  336. package/dist/esm/salla-products-list.entry.js +1 -1
  337. package/dist/esm/salla-quick-order.entry.js +1 -1
  338. package/dist/esm/salla-rating-modal.entry.js +1 -1
  339. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  340. package/dist/esm/salla-scopes.entry.js +2 -2
  341. package/dist/esm/salla-search.entry.js +6 -6
  342. package/dist/esm/salla-skeleton.entry.js +2 -2
  343. package/dist/esm/salla-slider.entry.js +1 -1
  344. package/dist/esm/salla-social-share.entry.js +2 -2
  345. package/dist/esm/salla-social.entry.js +2 -2
  346. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  347. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  348. package/dist/esm/salla-tooltip.entry.js +2 -2
  349. package/dist/esm/salla-trust-badges.entry.js +1 -1
  350. package/dist/esm/salla-user-menu.entry.js +1 -1
  351. package/dist/esm/salla-user-profile.entry.js +1 -1
  352. package/dist/esm/salla-user-settings.entry.js +2 -2
  353. package/dist/esm/salla-verify.entry.js +1 -1
  354. package/dist/esm/salla-wallet.entry.js +1 -1
  355. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  356. package/dist/esm/{tracked-promise-CdJOz1H_.js → tracked-promise-DxK5ancc.js} +1 -1
  357. package/dist/esm/twilight.js +3 -3
  358. package/dist/esm/{vanilla-picker-B7uhKtBD.js → vanilla-picker-BNKvceoq.js} +1 -1
  359. package/dist/twilight/{p-d7f528c7.entry.js → p-01995780.entry.js} +1 -1
  360. package/dist/twilight/{p-79c2cc3c.entry.js → p-02822e9f.entry.js} +1 -1
  361. package/dist/twilight/p-080444bb.entry.js +4 -0
  362. package/dist/twilight/{p-4d368d57.entry.js → p-0d01c327.entry.js} +1 -1
  363. package/dist/twilight/{p-14ca32a2.entry.js → p-0dcb8111.entry.js} +1 -1
  364. package/dist/twilight/p-129c20ed.entry.js +4 -0
  365. package/dist/twilight/{p-c992256d.entry.js → p-15541ca3.entry.js} +1 -1
  366. package/dist/twilight/{p-c5f3b4e2.entry.js → p-155d4693.entry.js} +1 -1
  367. package/dist/twilight/{p-d07ee0d6.entry.js → p-1982cd13.entry.js} +1 -1
  368. package/dist/twilight/{p-96825a64.entry.js → p-1b8c59cf.entry.js} +1 -1
  369. package/dist/twilight/{p-05fdfdc9.entry.js → p-1dc58168.entry.js} +1 -1
  370. package/dist/twilight/{p-6ba653dc.entry.js → p-1f3480ba.entry.js} +1 -1
  371. package/dist/twilight/p-241b94a6.entry.js +4 -0
  372. package/dist/twilight/{p-63be9782.entry.js → p-2b75426a.entry.js} +1 -1
  373. package/dist/twilight/{p-aae74199.entry.js → p-2dc46abc.entry.js} +1 -1
  374. package/dist/twilight/{p-0e9ae0e0.entry.js → p-2eaf114e.entry.js} +1 -1
  375. package/dist/twilight/{p-ef345c2c.entry.js → p-304f3de9.entry.js} +1 -1
  376. package/dist/twilight/p-35f30553.entry.js +4 -0
  377. package/dist/twilight/{p-820ee5fe.entry.js → p-3adacc75.entry.js} +1 -1
  378. package/dist/twilight/{p-130b525c.entry.js → p-3e9f8d3c.entry.js} +1 -1
  379. package/dist/twilight/{p-5ca57591.entry.js → p-407a0c14.entry.js} +1 -1
  380. package/dist/twilight/{p-b96e442c.entry.js → p-43affbdd.entry.js} +1 -1
  381. package/dist/twilight/{p-7874b654.entry.js → p-456cfec5.entry.js} +1 -1
  382. package/dist/twilight/{p-4ba3ebb1.entry.js → p-46c8b2d4.entry.js} +1 -1
  383. package/dist/twilight/{p-55b21f9b.entry.js → p-474b22b8.entry.js} +1 -1
  384. package/dist/twilight/{p-821fd8c1.entry.js → p-49c42118.entry.js} +1 -1
  385. package/dist/twilight/p-5089b72f.entry.js +4 -0
  386. package/dist/twilight/{p-7ee71548.entry.js → p-5229c8aa.entry.js} +1 -1
  387. package/dist/twilight/{p-5b8adb19.entry.js → p-550a91fe.entry.js} +1 -1
  388. package/dist/twilight/{p-2d235234.entry.js → p-594694e9.entry.js} +1 -1
  389. package/dist/twilight/{p-f9c1c247.entry.js → p-5a18c6cc.entry.js} +1 -1
  390. package/dist/twilight/{p-7343e9d9.entry.js → p-5aa08192.entry.js} +1 -1
  391. package/dist/twilight/p-5bda616b.entry.js +4 -0
  392. package/dist/twilight/p-5d9b57c8.entry.js +4 -0
  393. package/dist/twilight/{p-68fa9305.entry.js → p-6030f1fd.entry.js} +1 -1
  394. package/dist/twilight/{p-25f7fbc1.entry.js → p-62010e29.entry.js} +1 -1
  395. package/dist/twilight/{p-5c0d795c.entry.js → p-63f1acc7.entry.js} +1 -1
  396. package/dist/twilight/p-6790943b.entry.js +4 -0
  397. package/dist/twilight/{p-b0f0d7bc.entry.js → p-67d41cbb.entry.js} +1 -1
  398. package/dist/twilight/{p-00f3a2ec.entry.js → p-6c39606a.entry.js} +1 -1
  399. package/dist/twilight/{p-e12da840.entry.js → p-6d6184c0.entry.js} +1 -1
  400. package/dist/twilight/{p-c5613717.entry.js → p-6eab2444.entry.js} +1 -1
  401. package/dist/twilight/{p-86469c65.entry.js → p-72a1b702.entry.js} +1 -1
  402. package/dist/twilight/{p-1938ad27.entry.js → p-7442c41a.entry.js} +1 -1
  403. package/dist/twilight/{p-20afc879.entry.js → p-7f4d4e3c.entry.js} +1 -1
  404. package/dist/twilight/{p-c9b37b12.entry.js → p-7fdeec2b.entry.js} +1 -1
  405. package/dist/twilight/{p-6efce4b0.entry.js → p-83cb6915.entry.js} +1 -1
  406. package/dist/twilight/{p-05266229.entry.js → p-88bed460.entry.js} +1 -1
  407. package/dist/twilight/{p-fa0ebde1.entry.js → p-8d1c4f93.entry.js} +1 -1
  408. package/dist/twilight/{p-a74197ee.entry.js → p-8d427c53.entry.js} +1 -1
  409. package/dist/twilight/p-929e5aed.entry.js +4 -0
  410. package/dist/twilight/p-956d6683.entry.js +4 -0
  411. package/dist/twilight/{p-CkxoydBy.js → p-BKKN_hn3.js} +1 -1
  412. package/dist/twilight/{p-D3bGV5Yn.js → p-BT5S72c8.js} +1 -1
  413. package/dist/twilight/{p-bo_zr0My.js → p-ByL3FHQ6.js} +1 -1
  414. package/dist/twilight/{p-CWrfZ9Qs.js → p-CBwG3dWv.js} +1 -1
  415. package/dist/twilight/{p-Cly9a4nm.js → p-CjnbnAFU.js} +1 -1
  416. package/dist/twilight/{p-C-NwbNqh.js → p-ClNJhnhN.js} +1 -1
  417. package/dist/twilight/p-Cq2cbPYZ.js +4 -0
  418. package/dist/twilight/p-Czf4a8gg.js +9 -0
  419. package/dist/twilight/{p-DGWMOt94.js → p-D6Z2cDb0.js} +1 -1
  420. package/dist/twilight/{p-b9tXSwoW.js → p-DBxZFsVz.js} +1 -1
  421. package/dist/twilight/{p-BpiX36Sb.js → p-DXVmi29t.js} +1 -1
  422. package/dist/twilight/{p-DhE0-1Aj.js → p-DY6O-SiT.js} +1 -1
  423. package/dist/twilight/{p-72bc753c.entry.js → p-a1e520d5.entry.js} +1 -1
  424. package/dist/twilight/{p-06a0b408.entry.js → p-a26fe1e5.entry.js} +1 -1
  425. package/dist/twilight/{p-44abf289.entry.js → p-a30cfade.entry.js} +1 -1
  426. package/dist/twilight/{p-08d2e056.entry.js → p-a9090afd.entry.js} +1 -1
  427. package/dist/twilight/{p-48e85ee2.entry.js → p-ae2c963f.entry.js} +1 -1
  428. package/dist/twilight/p-b18a446a.entry.js +4 -0
  429. package/dist/twilight/{p-8d26f80c.entry.js → p-b1c97472.entry.js} +1 -1
  430. package/dist/twilight/{p-f2d0b9d1.entry.js → p-bc6c4c1c.entry.js} +1 -1
  431. package/dist/twilight/{p-288572d0.entry.js → p-be10a9c3.entry.js} +1 -1
  432. package/dist/twilight/p-c26cf3fa.entry.js +4 -0
  433. package/dist/twilight/{p-cdb0e80a.entry.js → p-c4655810.entry.js} +1 -1
  434. package/dist/twilight/{p-92961807.entry.js → p-c5211eca.entry.js} +1 -1
  435. package/dist/twilight/{p-0b6d87a5.entry.js → p-cbd793c8.entry.js} +1 -1
  436. package/dist/twilight/{p-39ff606c.entry.js → p-cfb9665f.entry.js} +2 -2
  437. package/dist/twilight/{p-99b127fa.entry.js → p-d46fb24a.entry.js} +1 -1
  438. package/dist/twilight/{p-b8b3c0fc.entry.js → p-d6cb423a.entry.js} +1 -1
  439. package/dist/twilight/{p-84207e00.entry.js → p-d7a2e982.entry.js} +1 -1
  440. package/dist/twilight/{p-8aca6bc0.entry.js → p-d9868f07.entry.js} +1 -1
  441. package/dist/twilight/{p-eb767e28.entry.js → p-dbe3a5bb.entry.js} +1 -1
  442. package/dist/twilight/{p-b555a4aa.entry.js → p-e041fe56.entry.js} +1 -1
  443. package/dist/twilight/{p-af970c82.entry.js → p-e058b62c.entry.js} +1 -1
  444. package/dist/twilight/{p-195589ec.entry.js → p-e07c9a85.entry.js} +1 -1
  445. package/dist/twilight/{p-47080690.entry.js → p-e1275bf7.entry.js} +1 -1
  446. package/dist/twilight/{p-db2d9d1c.entry.js → p-e5d5a6b3.entry.js} +1 -1
  447. package/dist/twilight/p-e5e6ea75.entry.js +4 -0
  448. package/dist/twilight/{p-6838ec3a.entry.js → p-e7a255a3.entry.js} +1 -1
  449. package/dist/twilight/{p-f6435c3c.entry.js → p-ebebcd55.entry.js} +1 -1
  450. package/dist/twilight/{p-005ac762.entry.js → p-f0d7247d.entry.js} +1 -1
  451. package/dist/twilight/{p-dab62284.entry.js → p-f222bf9f.entry.js} +1 -1
  452. package/dist/twilight/{p-5fe6ac53.entry.js → p-f2594407.entry.js} +1 -1
  453. package/dist/twilight/{p-16c9b4bd.entry.js → p-f4235325.entry.js} +1 -1
  454. package/dist/twilight/p-fafdeea7.entry.js +4 -0
  455. package/dist/twilight/{p-8c404dbf.entry.js → p-fb7de7c4.entry.js} +1 -1
  456. package/dist/twilight/{p-03d28343.entry.js → p-fc1e3854.entry.js} +1 -1
  457. package/dist/twilight/{p-a47dccd1.entry.js → p-fc72b631.entry.js} +1 -1
  458. package/dist/twilight/{p-b07f1925.entry.js → p-fce2579c.entry.js} +1 -1
  459. package/dist/twilight/twilight.esm.js +1 -1
  460. package/dist/types/components/salla-add-product-button/salla-add-product-button.d.ts +2 -0
  461. package/dist/types/components/salla-order-options-modal/apple-pay-order-options.d.ts +26 -0
  462. package/dist/types/components/salla-order-options-modal/order-options-gate.d.ts +23 -0
  463. package/dist/types/components/salla-order-options-modal/salla-order-options-modal.d.ts +66 -0
  464. package/dist/types/components/salla-product-options/salla-product-options.d.ts +12 -0
  465. package/dist/types/components/salla-quick-buy/salla-quick-buy.d.ts +14 -0
  466. package/dist/types/components.d.ts +62 -0
  467. package/package.json +5 -5
  468. package/dist/cjs/salla-progress-bar.cjs.entry.js +0 -73
  469. package/dist/esm/salla-progress-bar.entry.js +0 -71
  470. package/dist/twilight/p-39426e43.entry.js +0 -4
  471. package/dist/twilight/p-40e2fc5f.entry.js +0 -4
  472. package/dist/twilight/p-46b4c12f.entry.js +0 -4
  473. package/dist/twilight/p-5971669a.entry.js +0 -4
  474. package/dist/twilight/p-654af42c.entry.js +0 -4
  475. package/dist/twilight/p-7e4e3e76.entry.js +0 -4
  476. package/dist/twilight/p-7efa0246.entry.js +0 -4
  477. package/dist/twilight/p-8e121e7c.entry.js +0 -4
  478. package/dist/twilight/p-98f0f411.entry.js +0 -4
  479. package/dist/twilight/p-9b7ad2bd.entry.js +0 -4
  480. package/dist/twilight/p-9ddfdc65.entry.js +0 -4
  481. package/dist/twilight/p-BUcuXVwN.js +0 -9
  482. package/dist/twilight/p-CXgdON62.js +0 -4
  483. package/dist/twilight/p-a900af64.entry.js +0 -4
  484. package/dist/twilight/p-c184157a.entry.js +0 -4
  485. package/dist/twilight/p-f5969e58.entry.js +0 -4
  486. package/dist/twilight/p-fbf4cb19.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  function parseMaybeJson(value, fallback) {
9
9
  if (typeof value !== 'string') {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  const sallaOrderDetailsMultipleBundleProductCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  var copyIcon = `<!-- 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-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  const sallaOrderDetailsCss = "";
9
9
 
@@ -39,7 +39,7 @@ const SallaOrderDetails = class {
39
39
  ];
40
40
  }
41
41
  render() {
42
- return index.h(index.Host, { key: '9c662f4c829a24386a4fa83f83f261996c72086f', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
42
+ return index.h(index.Host, { key: 'cdd154032a0319721ef92d3912ca5323fe230b8a', class: "s-order-details-wrapper" }, this.renderOrderDetailsContent());
43
43
  }
44
44
  static get watchers() { return {
45
45
  "orderDetails": ["parseOrderDetailsData"]
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var helpers = require('./helpers-BJ2rnhxz.js');
8
8
  require('./interfaces-Bh7W0bEU.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
9
9
 
@@ -33,7 +33,7 @@ const SallaOrderEditProductCard = class {
33
33
  const product = this.productData;
34
34
  const productName = product?.name || salla.lang.getWithDefault('common.elements.product', 'منتج');
35
35
  const price = product?.price;
36
- return (index.h(index.Host, { key: '922736be2f3fec4f6c41c724590d2790fb5a5940' }, index.h("button", { key: 'b690f3dbd307937d4b68790f417a7d9a820b56f1', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, index.h("div", { key: 'f846d7e31c7c3d067909d65db3457ac061c93264', class: "s-order-edit-product-card-media" }, product?.image?.url ? (index.h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (index.h("div", { class: "s-order-edit-product-card-placeholder" }, index.h("i", { class: "sicon-shopping-bag" })))), index.h("div", { key: 'b1243ae5df15e3e783b139dcf593f85b72624015', class: "s-order-edit-product-card-content" }, index.h("h3", { key: '50c7b8edb40dd88fcb1ac4267b1ba88c5b2b92b2', class: "s-order-edit-product-card-title" }, productName), price != null && (index.h("p", { key: '6dea7fefab83a9839146acfb89e7a532adaa6559', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
36
+ return (index.h(index.Host, { key: 'f5a665dd52e9a3280a81bcf6f6e2f286a11cd417' }, index.h("button", { key: '9a0a846f40962ace66cc20d74cafd768ecf013fe', type: "button", class: "s-order-edit-product-card", onClick: () => this.handleSelectProduct() }, index.h("div", { key: '28113406f30fccdf5d49ac688e7e55fef27789e8', class: "s-order-edit-product-card-media" }, product?.image?.url ? (index.h("img", { src: product.image.url, alt: product.image.alt || productName, class: "s-order-edit-product-card-image" })) : (index.h("div", { class: "s-order-edit-product-card-placeholder" }, index.h("i", { class: "sicon-shopping-bag" })))), index.h("div", { key: '9210d60532997f80fa165154768483eebbea01f3', class: "s-order-edit-product-card-content" }, index.h("h3", { key: 'a91e3b58e83a982ad9b2e855a88fbc7982faace9', class: "s-order-edit-product-card-title" }, productName), price != null && (index.h("p", { key: '7abfe3edb776da102b513803913a4ac69199aa2a', class: "s-order-edit-product-card-price", innerHTML: salla.money(price) }))))));
37
37
  }
38
38
  };
39
39
  SallaOrderEditProductCard.style = sallaOrderEditProductCardCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var helpers = require('./helpers-BJ2rnhxz.js');
8
8
  require('./interfaces-Bh7W0bEU.js');
9
9
 
@@ -3,11 +3,213 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var Helper = require('./Helper-CgGR9Qf8.js');
9
9
  require('./anime.es-BqW8JHZi.js');
10
10
 
11
+ const sallaOrderOptionsModalCss = ".s-order-options-modal-host .s-modal-header-inner,.s-order-options-modal-host .s-modal-header-content,.s-order-options-modal-host .s-modal-title{text-align:start !important}.s-order-options-modal-apple-pay{display:block;width:100%;--apple-pay-button-width:100%;--apple-pay-button-height:44px;--apple-pay-button-border-radius:0.75rem}.s-order-options-modal-apple-pay-wrap{display:flex;flex-direction:column;gap:0.75rem;width:100%}.s-order-options-modal-apple-pay-total{display:flex;align-items:center;justify-content:space-between;gap:0.5rem}.s-order-options-modal-apple-pay-label,.s-order-options-modal-apple-pay-amount{font-size:1.125rem;line-height:1.5rem;font-weight:700;color:#111827}";
12
+
13
+ const SallaOrderOptionsModal = class {
14
+ constructor(hostRef) {
15
+ index.registerInstance(this, hostRef);
16
+ this.resolveFn = null;
17
+ this.rejectFn = null;
18
+ this.optionsRefs = new Map();
19
+ this.changeHandler = null;
20
+ /** Sync hook for callers that need to act under the submit user gesture (Apple Pay). */
21
+ this.submitCallback = null;
22
+ this.orderOptions = [];
23
+ this.basePrice = 0;
24
+ this.liveTotal = 0;
25
+ this.isSubmitting = false;
26
+ /** Bumped each open() so the inner <salla-product-options> remounts. */
27
+ this.sessionId = 0;
28
+ this.paymentMode = 'default';
29
+ this.title = '';
30
+ this.subtitle = '';
31
+ this.submitLabel = '';
32
+ this.totalLabel = '';
33
+ this.requiredMessage = '';
34
+ this.handleClose = () => {
35
+ if (this.isSubmitting)
36
+ return;
37
+ this.rejectFn?.({ reason: 'dismissed' });
38
+ this.resolveFn = null;
39
+ this.rejectFn = null;
40
+ this.detachChangeListener();
41
+ this.reset();
42
+ };
43
+ salla.lang.onLoaded(() => this.loadTranslations());
44
+ }
45
+ componentWillLoad() {
46
+ this.loadTranslations();
47
+ }
48
+ loadTranslations() {
49
+ this.title = salla.lang.get('blocks.order_options.title');
50
+ this.subtitle = salla.lang.get('blocks.order_options.subtitle');
51
+ this.submitLabel = salla.lang.get('blocks.order_options.continue');
52
+ this.totalLabel = salla.lang.get('blocks.order_options.total');
53
+ this.requiredMessage = salla.lang.get('blocks.order_options.required_message');
54
+ }
55
+ /**
56
+ * Open the modal. Resolves with selections on submit; rejects on dismiss.
57
+ * `onSubmit` fires sync in the submit click (for Apple Pay user-gesture).
58
+ * `paymentMode: 'apple-pay'` swaps the footer button for <apple-pay-button>.
59
+ */
60
+ async open(payload) {
61
+ // Normalize here, not in the shared salla-product-options: text/number order options ship no
62
+ // `details`, which product-options dereferences unguarded.
63
+ this.orderOptions = (Array.isArray(payload.orderOptions) ? payload.orderOptions : [])
64
+ .map((o) => ({ ...o, details: o.details ?? [] }));
65
+ this.basePrice = Number(payload.basePrice) || 0;
66
+ this.liveTotal = this.basePrice + this.seedOptionsPrice(this.orderOptions);
67
+ this.isSubmitting = false;
68
+ this.sessionId++;
69
+ this.optionsRefs.clear();
70
+ this.submitCallback = payload.onSubmit ?? null;
71
+ this.paymentMode = payload.paymentMode ?? 'default';
72
+ await this.modal?.open();
73
+ this.attachChangeListener();
74
+ return new Promise((resolve, reject) => {
75
+ this.resolveFn = resolve;
76
+ this.rejectFn = reject;
77
+ });
78
+ }
79
+ async close() {
80
+ await this.modal?.close();
81
+ }
82
+ /** Sync walk of inputs — avoids `await` through the @Method that would consume the AP user gesture. */
83
+ collectOrderOptionsSync() {
84
+ const result = [];
85
+ for (const [, el] of this.optionsRefs) {
86
+ if (!el)
87
+ continue;
88
+ const inputs = el.querySelectorAll('[name^="options["],[name*="[options]["]');
89
+ inputs.forEach((input) => {
90
+ if (input instanceof HTMLInputElement && (input.type === 'radio' || input.type === 'checkbox') && !input.checked) {
91
+ return;
92
+ }
93
+ const match = input.name.match(/(?:^|\[)options\]?\[(\d+)\]/);
94
+ if (!match)
95
+ return;
96
+ const raw = input.value;
97
+ if (raw === '' || raw === null || raw === undefined)
98
+ return;
99
+ const numeric = Number(raw);
100
+ result.push({
101
+ id: Number(match[1]),
102
+ value: Number.isFinite(numeric) && raw === String(numeric) ? numeric : raw,
103
+ });
104
+ });
105
+ }
106
+ return result;
107
+ }
108
+ /** Sync native validity — keeps the AP user gesture intact. */
109
+ validateSync() {
110
+ let pass = true;
111
+ for (const [, el] of this.optionsRefs) {
112
+ if (!el)
113
+ continue;
114
+ const requiredInputs = el.querySelectorAll('[required]');
115
+ requiredInputs.forEach((input) => {
116
+ // Mirror salla-product-options.reportValidity(): skip hidden/disabled inputs so a
117
+ // required field in a `.hidden` conditional container can't silently block submit.
118
+ if (input.disabled || input.closest('.hidden'))
119
+ return;
120
+ if ('reportValidity' in input && !input.reportValidity())
121
+ pass = false;
122
+ });
123
+ }
124
+ return pass;
125
+ }
126
+ /** Sum the additional_price of any pre-selected details. */
127
+ seedOptionsPrice(orderOptions) {
128
+ let sum = 0;
129
+ orderOptions.forEach((opt) => {
130
+ (opt.details || []).forEach((d) => {
131
+ if (d.is_selected)
132
+ sum += Number(d.additional_price) || 0;
133
+ });
134
+ });
135
+ return sum;
136
+ }
137
+ /** salla.event.on is global — attach per open, detach on close to avoid stacking. */
138
+ attachChangeListener() {
139
+ this.detachChangeListener();
140
+ this.changeHandler = () => this.recomputeTotal();
141
+ salla.event.on('product-options::change', this.changeHandler);
142
+ }
143
+ detachChangeListener() {
144
+ if (!this.changeHandler)
145
+ return;
146
+ salla.event.off('product-options::change', this.changeHandler);
147
+ this.changeHandler = null;
148
+ }
149
+ async recomputeTotal() {
150
+ let selectedPrice = 0;
151
+ for (const [, el] of this.optionsRefs) {
152
+ if (!el)
153
+ continue;
154
+ const selected = typeof el.getSelectedOptions === 'function'
155
+ ? await el.getSelectedOptions()
156
+ : [];
157
+ (selected || []).forEach((s) => {
158
+ selectedPrice += Number(s.additional_price) || 0;
159
+ });
160
+ }
161
+ this.liveTotal = this.basePrice + selectedPrice;
162
+ }
163
+ handleSubmit() {
164
+ if (this.isSubmitting)
165
+ return;
166
+ if (!this.validateSync()) {
167
+ salla.notify?.error?.(this.requiredMessage);
168
+ return;
169
+ }
170
+ this.isSubmitting = true;
171
+ const orderOptions = this.collectOrderOptionsSync();
172
+ const total = Math.round(this.liveTotal * 100) / 100;
173
+ // Fire onSubmit BEFORE any await — Apple Pay needs the user gesture.
174
+ try {
175
+ this.submitCallback?.(orderOptions, total);
176
+ }
177
+ catch (err) {
178
+ salla?.logger?.warn?.('order-options modal onSubmit threw', err);
179
+ }
180
+ this.resolveFn?.({ orderOptions });
181
+ this.resolveFn = null;
182
+ this.rejectFn = null;
183
+ this.submitCallback = null;
184
+ this.detachChangeListener();
185
+ this.modal?.close().then(() => this.reset());
186
+ this.isSubmitting = false;
187
+ }
188
+ /** Clear options on close so the inner <salla-product-options> unmounts. */
189
+ reset() {
190
+ this.orderOptions = [];
191
+ this.optionsRefs.clear();
192
+ this.liveTotal = 0;
193
+ }
194
+ render() {
195
+ // salla.money returns HTML (sicon-sar icon) → render via innerHTML. Round
196
+ // first so floating-point sum doesn't show as 1174.3799999999999.
197
+ const totalHtml = salla.money(Math.round(this.liveTotal * 100) / 100);
198
+ return (index.h("salla-modal", { key: 'a7b7c31da2f5fd9f5f3ee601052f84e512368cee', ref: el => (this.modal = el), class: "s-order-options-modal-host", width: "md", "modal-title": this.title, onModalVisibilityChanged: (e) => {
199
+ if (!e.detail)
200
+ this.handleClose();
201
+ } }, index.h("div", { key: '9a44c4dcec6f0e49a65217b1e1e2cd19ccc80c76', class: "s-order-options-modal-body" }, index.h("p", { key: '66c41a32e2130db4dc1aa402a31cfd6d519544b3', class: "s-order-options-modal-subtitle" }, this.subtitle), index.h("div", { key: 'fffe868427973b6426b8a2f8f33f48c017dfb7fb', class: "s-order-options-modal-fields" }, this.orderOptions.length > 0 && (index.h("salla-product-options", { key: this.sessionId, ref: el => {
202
+ if (!el)
203
+ return;
204
+ this.optionsRefs.set('order-options', el);
205
+ // Without seeding, first multi-select toggle wipes pre-selected defaults.
206
+ el.seedSelectedOptions?.();
207
+ }, "product-id": `order-options-${this.orderOptions[0]?.id}`, "unique-key": "order-options", options: JSON.stringify(this.orderOptions), "hide-out-label": "1", "no-padding": true })))), index.h("div", { key: '36f3a18380f05a8420d4bc32fa643bf596ac16fb', slot: "footer", class: "s-order-options-modal-footer" }, this.paymentMode === 'apple-pay' ? (index.h("div", { class: "s-order-options-modal-apple-pay-wrap" }, index.h("div", { class: "s-order-options-modal-apple-pay-total" }, index.h("span", { class: "s-order-options-modal-apple-pay-label" }, this.totalLabel), index.h("span", { class: "s-order-options-modal-apple-pay-amount", innerHTML: totalHtml })), index.h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', buttonstyle: "black", type: "buy", class: "s-order-options-modal-apple-pay", onClick: () => this.handleSubmit() }))) : (index.h("salla-button", { type: "button", color: "primary", fill: "solid", width: "wide", loading: this.isSubmitting, onClick: () => this.handleSubmit() }, index.h("span", { class: "s-order-options-modal-cta-content" }, index.h("span", { class: "s-order-options-modal-cta-text" }, this.submitLabel), index.h("span", { class: "s-order-options-modal-cta-total", innerHTML: totalHtml })))))));
208
+ }
209
+ get host() { return index.getElement(this); }
210
+ };
211
+ SallaOrderOptionsModal.style = sallaOrderOptionsModalCss;
212
+
11
213
  var Heart = `<!-- Generated by IcoMoon.io -->
12
214
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
13
215
  <title>heart</title>
@@ -116,14 +318,14 @@ const SallaProductCard = class {
116
318
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
117
319
  };
118
320
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
119
- return (index.h(index.Host, { key: '789fbb35499a12f08dab69a6be3559eebea03381', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '9cb05484a39b108348e3b2070d63c503681ef417', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '1805be53cb3a3cf1068752121b846178d6b9340f', ...hrefProp }, index.h("img", { key: 'bf9183ed961e8fe5207548ce1e8146064b69675d', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
321
+ return (index.h(index.Host, { key: '0f4b4f64ee342da10905dee73db8a2b4bebdfc9e', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: 'ed5cfb208c6241ca6ccd2c8f2205f76d1f81ca2a', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '865376db3deadd97c23480e9226a50abe9371284', ...hrefProp }, index.h("img", { key: 'ad314a97956853e26b3a3c4ecb9f1d427bf748fb', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
120
322
  ? 'contain'
121
323
  : this.fitImageHeight
122
324
  ? this.fitImageHeight
123
- : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '567e6766ff7516ff409d9f86dc3cba7a51508d57', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
124
- index.h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: 'b36b0e6bdb8af5b1cf38d416b9f64038fa1f17ae', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
325
+ : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: 'eef3edab8f4cc75c385928dcdbd9d29c318b68cc', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
326
+ index.h("salla-button", { shape: "icon", fill: "none", color: "light", loading: false, "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => this.handleWishlistClick() }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '208f74738cd81bb68ec63f4fdadedbd9b19e6dad', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
125
327
  index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
126
- : '', index.h("div", { key: '93258adb3ca7ff5d3a89a118c7642b8b1264e045', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'fdf1c66e6533f3b092ad66e66875cbb2e213e6ad', class: "s-product-card-content-title" }, index.h("a", { key: 'cd3476f564e8ed4050b909c33926a5d44bf8fb5a', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
328
+ : '', index.h("div", { key: '6b00056661ebe29db89377f858bfefda80ed365f', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'a1a7a2d363a009c3254df7728e80f958be76a012', class: "s-product-card-content-title" }, index.h("a", { key: 'c3c8a4b862cf6a0b78bafb6f30bd5a04d437257d', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
127
329
  index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
128
330
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
129
331
  [index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -132,7 +334,7 @@ const SallaProductCard = class {
132
334
  this.addBtn.donatingAmount = e.target.value;
133
335
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
134
336
  : '')]
135
- : '', index.h("div", { key: 'b32c488819742ae8dd56147f4285424d381a3df4', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
337
+ : '', index.h("div", { key: '2ab7701aac64f90667627f0a0b3bfc031e30d835', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
136
338
  index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: star2.Star }), index.h("span", null, this.productData.rating.stars))
137
339
  : ''), this.isSpecial && this.productData.discount_ends
138
340
  ? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -269,5 +471,6 @@ const SallaProductsSlider = class {
269
471
  };
270
472
  SallaProductsSlider.style = sallaProductsSliderCss;
271
473
 
474
+ exports.salla_order_options_modal = SallaOrderOptionsModal;
272
475
  exports.salla_product_card = SallaProductCard;
273
476
  exports.salla_products_slider = SallaProductsSlider;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var swapStroke = require('./swap-stroke-CYGxjKIS.js');
8
8
  var check = require('./check-BnVBPQNp.js');
9
9
 
@@ -86,7 +86,7 @@ const SallaOrderSummary = class {
86
86
  this.copyCodeButtonTimeout && clearTimeout(this.copyCodeButtonTimeout);
87
87
  }
88
88
  render() {
89
- return (index.h("ul", { key: 'e26e13231b72707a39a6fd83561247bea05aa490', class: "s-order-summary-wrapper" }, this.noItemFound ? index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" })) :
89
+ return (index.h("ul", { key: 'c95c9ab867fda65d1db9e61addec2e5f8e5135a6', class: "s-order-summary-wrapper" }, this.noItemFound ? index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" })) :
90
90
  this.order_items.map((item) => (this.isDigitalCard(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.codes_text, " (", item.name, ")"), item.codes.map((code) => (index.h("div", { key: code.code, class: "s-order-summary-code-item-wrapper" }, index.h("p", null, index.h("span", { innerHTML: iconCreditCard }), index.h("span", null, code.code)), index.h("salla-button", { class: `s-order-summary-item-copy-button ${this.codeCopied === code.code ? 'copied' : ''}`, onClick: () => this.copyToClipboardHandler(code.code), shape: "link" }, index.h("span", { innerHTML: this.codeCopied === code.code ? check.SICheck : swapStroke.iconCopy }), index.h("span", null, this.copy_text))))))) :
91
91
  this.isDigitalProduct(item) ? (index.h("li", { key: item.product.id, class: "s-order-summary-item" }, index.h("h2", { class: "s-order-summary-item-title" }, this.files_text, " (", item.name, ")"), index.h("ul", null, item.files.map((file) => (index.h("li", { class: "s-order-summary-digital-item-wrapper" }, index.h("div", null, index.h("span", { innerHTML: iconFileArchive }), index.h("span", null, file.name)), index.h("a", { href: file.url, target: "_blank", class: "s-order-summary-item-download" }, index.h("span", { innerHTML: iconDownload }), index.h("span", null, this.download_text)))))))) : null))));
92
92
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  const sallaOrderTotalsCardCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var Helper = require('./Helper-CgGR9Qf8.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  const sallaPaymentsCss = ":host{display:block}";
9
9
 
@@ -36,12 +36,12 @@ const SallaPayments = class {
36
36
  render() {
37
37
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
38
38
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
39
- return (index.h(index.Host, { key: '2d3a652f9eb7fc3a07d79be1aa4ac08df349e4bc', class: "s-payments-list-wrap" }, index.h("ul", { key: '62ed1989e85b2b89bd1f1ad370806dc1c8f67454', class: "s-payments-list" }, madeInKSA && index.h("li", { key: 'a77bdb50ba28249d0b587e3aba0beb392cb1db59', class: "s-payments-list-item" }, index.h("img", { key: '3aa60ab4ee98cf8efe3e3a17f2c2363038b76b24', width: 58, height: 58, 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" ?
39
+ return (index.h(index.Host, { key: 'dcf34aa7bf20914e9413c39c5429b66067a29ec5', class: "s-payments-list-wrap" }, index.h("ul", { key: '523fef26ce20eedcdbf2701f64f0be3ee04dc62a', class: "s-payments-list" }, madeInKSA && index.h("li", { key: 'feb443128cf1820f22b076acd10681e5a3b401c8', class: "s-payments-list-item" }, index.h("img", { key: 'c82b844706cd47ee4633ea896352611defe21685', width: 58, height: 58, 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" ?
40
40
  index.h("div", { id: "cod-slot", innerHTML: this.codSlot
41
41
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
42
42
  index.h("div", { id: "payment-slot", innerHTML: this.paymentSlot
43
43
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
44
- .replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: 'c1d56e4217afdb48f955a5133156a1708c91da52', id: "sbc-slot", innerHTML: this.sbcSlot
44
+ .replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: 'c439bed0cf4cf57c206a44008b4daaaa28559e2f', id: "sbc-slot", innerHTML: this.sbcSlot
45
45
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
46
46
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
47
47
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  var Inbox = `<!-- 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">
@@ -43,7 +43,7 @@ const SallaPlaceholder = class {
43
43
  };
44
44
  }
45
45
  render() {
46
- return (index.h(index.Host, { key: 'ccc65b60efc14d78b46b838f089cf09ed849d136', class: this.alignmentClass() }, index.h("div", { key: 'b174990bfedc2e979ca0484552015abc112795d1', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '51ec34810a25ae77f797754419c6dc5f0afcfbaa', class: "s-placeholder-title" }, index.h("slot", { key: '3e0c9987b7477e8145436098f024dde49bd76162', name: 'title' }, index.h("span", { key: '618dfc6b328f2f5c82a16357ecf403b740e67778' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: '005e68bcb52eca86ea3368ce750e1b7f9cfda50e', class: "s-placeholder-description" }, index.h("slot", { key: '5e2b860c11a35e93658c153ea2eb2efb9683900b', name: 'description' }, index.h("span", { key: '903012cd214bb068e591ca9280f4c95762672e9c' }, salla.lang.get('common.errors.empty_results'))))));
46
+ return (index.h(index.Host, { key: 'f2fb77ca80d28fcc5f5505f4588bef72a4a26690', class: this.alignmentClass() }, index.h("div", { key: 'b2a1b41baf2a78087fd1f41f2f7244a36eb20846', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '65d106c0700890b7033ffb17ad7497db11cbdc65', class: "s-placeholder-title" }, index.h("slot", { key: 'aaa421d74b1c1c7e506adaee5efd6e7e1fe367e9', name: 'title' }, index.h("span", { key: '5e8232ebceffa33a1a997faf302e66f7f7d6112d' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: '47f7267ff9aef10baff8a5d555cd116c569790c9', class: "s-placeholder-description" }, index.h("slot", { key: '8f54838b8258e2f2a42a0da120186a9a7b71503f', name: 'description' }, index.h("span", { key: '6a5b79c1a69449ea4cd20d96f6149dfe89425ec3' }, salla.lang.get('common.errors.empty_results'))))));
47
47
  }
48
48
  };
49
49
  SallaPlaceholder.style = sallaPlaceholderCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
8
8
 
9
9
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -159,9 +159,9 @@ const SallaPriceRange = class {
159
159
  this.maxPrice = value === undefined ? '' : value;
160
160
  }
161
161
  render() {
162
- return (index.h(index.Host, { key: 'ab96e0b292966af5dea7627ed2cfae7aa6cf42d2' }, this.filterValues.map((filterValue, index$1) => {
162
+ return (index.h(index.Host, { key: 'ecc44cf63ea7788f00aa33a19c06579c887c59dd' }, this.filterValues.map((filterValue, index$1) => {
163
163
  return index.h("label", { class: "s-filters-label", htmlFor: `${this.option.key}-${index$1}`, key: index$1 }, index.h("input", { id: `${this.option.key}-${index$1}`, name: "price", type: "radio", checked: this.isChecked(filterValue), class: "s-filters-radio", onChange: e => this.handleMinMaxPrice(e, filterValue) }), index.h("span", { innerHTML: this.getPriceLabel(filterValue) }));
164
- }), index.h("div", { key: '5d958a76e7878542fd8090229570ed9baf9ca2ea', class: "flex justify-center items-center" }, index.h("div", { key: '1c500632705c5006b901a809368ce85a16709afb', class: "relative max-w-xl w-full" }, index.h("div", { key: 'd29b5185bf50c5582920b54716005e8756de05bd', class: "s-price-range-inputs" }, index.h("div", { key: 'bd41a6602d5f3f434ba7d7ee4b8c92900d27c6b9', class: "s-price-range-relative" }, index.h("div", { key: 'd61027acbb26d6754d4406aa07c11101fd8c4005', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: 'b368eabded71a6631943b5cd12624418df07afe8', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), index.h("div", { key: '0b7b3750d740e929fe0c3f120185d153cb9f6a8e', class: "s-price-range-gray-text" }, " -"), index.h("div", { key: '148ebe3d2b5a52d013ab9ca6aef02342c5acb3fa', class: "s-price-range-relative" }, index.h("div", { key: '205c13dd92d5784fc2b1551b56a0ec5e329e0854', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: 'a4b8886ae87387e891f286931b58a3340920a0e0', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), index.h("salla-button", { key: '221241ca34ed2e7aec47b57b609718e68ccd5060', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, index.h("span", { key: 'b277d7c12f44eba76b967055e79a12ed7e492e4d', innerHTML: this.isRTL ? arrowLeft.arrowLeft : arrowRight })))))));
164
+ }), index.h("div", { key: 'c4b6d75b11a2625f429caf6bba9e0dd625f6f646', class: "flex justify-center items-center" }, index.h("div", { key: '4e85f9c05415daf235ab965ebe185c7171f08e06', class: "relative max-w-xl w-full" }, index.h("div", { key: '44b7747bfa4ec0e46da70dcf25f5325562bb0be9', class: "s-price-range-inputs" }, index.h("div", { key: '08a9afa0ea579f31eba87561283162b1d47f123f', class: "s-price-range-relative" }, index.h("div", { key: '54540065c16484f01e356fb2094f3163357ffd95', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: '851b957d076c25808edba4e763ae31286047782f', type: "number", maxlength: "5", ref: el => this.minInput = el, onBlur: (e) => this.handleMinPrice(e), value: this.minPrice, placeholder: this.fromLabel, class: "s-price-range-number-input" })), index.h("div", { key: 'f8a910aca554ae21657a19115d7f9607efb0566d', class: "s-price-range-gray-text" }, " -"), index.h("div", { key: '7d1561634459c15862bc0455b4bd9248d44a8446', class: "s-price-range-relative" }, index.h("div", { key: '7ca1fb8056b8af71f6f57524ed9d5fdfdc641ef2', class: "s-price-range-currency" }, " ", salla.config.currency().symbol), index.h("input", { key: 'e6411b0e1b0e36b45a6879c1b257f394ec94007f', type: "number", maxlength: "5", ref: el => this.maxInput = el, onBlur: (e) => this.handleMaxPrice(e), value: this.maxPrice, placeholder: this.toLabel, class: "s-price-range-number-input", "aria-describedby": "price-currency" })), index.h("salla-button", { key: '63bc422c8d82c820bd984d5af68f8081add164c3', color: 'gray', shape: 'icon', size: 'small', fill: 'outline', onClick: (event) => this.changedEventHandler(event) }, index.h("span", { key: 'b81d3813cb2ff9523f232cf0a615c58576b14177', innerHTML: this.isRTL ? arrowLeft.arrowLeft : arrowRight })))))));
165
165
  }
166
166
  componentDidLoad() {
167
167
  this.isReady = true;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
 
8
8
  const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
9
9
 
@@ -85,7 +85,7 @@ const SallaProductCardEmbed = class {
85
85
  's-product-card-embed-card-align-right': this.align === 'right',
86
86
  's-product-card-embed-card-align-center': this.align === 'center',
87
87
  };
88
- return (index.h(index.Host, { key: 'a742a11dc2926fb941f44d1b3fd5cc3b4a207822' }, this.hasError && index.h("span", { key: 'c554a3b1971fa0b646611d24b7000bed921114d8', class: "s-product-card-embed-fallback" }), index.h("div", { key: 'cb0551a374e4ed68496bfa436adf6424febbd681', class: cardClasses, ref: (el) => {
88
+ return (index.h(index.Host, { key: '61c3e673a103e5d13217bac208611bf4978d20a4' }, this.hasError && index.h("span", { key: '8f013953f9eed502307823825e573281f481fd19', class: "s-product-card-embed-fallback" }), index.h("div", { key: '150d4080de0dbf21a2abaa00eca4c8ffae604546', class: cardClasses, ref: (el) => {
89
89
  this.cardContainer = el;
90
90
  } })));
91
91
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.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">
@@ -53,11 +53,11 @@ const SallaProductSizeGuide = class {
53
53
  return index.h("salla-placeholder", { alignment: "center", iconSize: "xl" }, index.h("div", { slot: "title" }, this.placeholder_title), index.h("div", { slot: "description" }, this.placeholder_description));
54
54
  }
55
55
  render() {
56
- return (index.h("salla-modal", { key: 'de368aff05a19d87eb4e99f4e1d7eee36155f435', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: 'c4ab31b3e6ef2751761ca2db27554f7f5bf057fc', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '17cfceb5ccb0546928f87f956267e9d0c11017ac', slot: "loading" }, index.h("div", { key: '4f4e20a62396d7825315203ffd22a72030e821b1', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: 'd9132b26634ae1997dad9f1229b248c2cd76fff0', height: '15px', width: '25%' }), index.h("div", { key: '1b6a236851eef6e7caf7b7a0e84e591824b4e4ef', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: 'bae06741881b57b4eb853f1256a22f9393d9cea4', height: '40px' }), index.h("salla-skeleton", { key: 'fdeb75a853f89df154b69dbd48fc8e233561af59', height: '40px' }), index.h("salla-skeleton", { key: 'd0be70bc141f04fd24adc86c56eec3a5e896f2d4', height: '40px' }), index.h("salla-skeleton", { key: 'c5146addbf2d5b9bda05170a9743cad0e08d8674', height: '40px' })), index.h("div", { key: '04dbbffe2de708c984c5d0966aa2b86c0051bd14', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: '320fb33a2e5d9ee1f4b87c18b3f3dd13de180d4f', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: 'f06aeac8e2f8ea86ec9b1c5c6f2b31172f23209f', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '1accf852a34edcac77a77151ebf67ba8e05cc729', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '42d4c3364779a6ee130339e37affe2e0c590e6a7', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '13064a231460414b4a0abd19dda41b01ac1ee04f', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: 'd5a50f96ca3bab125503f836cd883cfb98ca135d', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: '11cd2ed36d9754c32173f14cd7d5ea99fc2b5577', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: 'a5b3a192d0e38dc13a025b8b8e0aba767f35611b', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: 'dddcb26038e180fb5b686b29d286316d4314909f', height: '10px', width: '30%' })))), index.h("slot", { key: '43a08b9b6e64955b726b832f0849617ac31d4c25', name: "header" }), !this.hasError && !!this.guides ?
56
+ return (index.h("salla-modal", { key: '750cca54e5286fc1b77942cc4a9784970b8569ec', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: '0aecc3b447a0ef8f92183c1c785c2a8bbf139c17', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '1720d30460d99d578365cae9d6a0e92790f834a2', slot: "loading" }, index.h("div", { key: '0bf85ba5de7db72b7e4f4d94e592dc951c1d3801', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: '3635e6c238400762f5c70266bb8359cf3c1c0527', height: '15px', width: '25%' }), index.h("div", { key: '0adfa776efbf9e7d988d08a3dce69900d6d3d737', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: '53799c8bd0f495ec723d0cf4be0ab0e978351c23', height: '40px' }), index.h("salla-skeleton", { key: 'a825da569d6453a5e3b6cac9cf5848f941af22ae', height: '40px' }), index.h("salla-skeleton", { key: 'd2091d09ca662aef1f2d6b3cddb4bf86ccc77c0f', height: '40px' }), index.h("salla-skeleton", { key: '5974a5b7227d03979ea5a65f2f1481f59ca6e0fe', height: '40px' })), index.h("div", { key: '6e12dc1b703488433f5e8047efe16d70ebaec8c3', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: '9d54f957ba7e4c78fff9ed693179d5f7faa55a25', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: '946eedae2371d7df9d1b9cf8cf1b0f7800554eed', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '35d38d23f73bb4bbd4dc5372b70cd34f09cec2ea', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '8f13518e172127af747f50773f7a7f0d64d2c0ba', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '759708410b562babb733f401cdf8ee310761b110', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: 'ad8d12dcefe5fbbd8dfa4060a028a3387186ffa1', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: '63c5864943ec23a3a42761c90ca019acd7118f8c', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: '490d6078c8d382740eb92c825a08e2aad203c4af', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: '10b0d73e6a34990a2d23554faec6bce24dcc234e', height: '10px', width: '30%' })))), index.h("slot", { key: '3d0a3e42eba7cc521e8df1fbb2e7323962bff5a8', name: "header" }), !this.hasError && !!this.guides ?
57
57
  [
58
58
  index.h("salla-tabs", null, this.guides.map((guide) => index.h("salla-tab-header", { slot: "header", name: guide.name }, index.h("span", null, guide.name))), this.guides.map((guide) => index.h("salla-tab-content", { slot: "content", name: guide.name }, index.h("div", { innerHTML: guide.description }))))
59
59
  ]
60
- : this.showPlaceholder(), index.h("slot", { key: '5ae0956ca1f9313b5ef3d01dbdcab32f2e975e05', name: "footer" })));
60
+ : this.showPlaceholder(), index.h("slot", { key: 'd1fc7cdbbd52a1c3c2b08f45a647e7ea1586cc9d', name: "footer" })));
61
61
  }
62
62
  get host() { return index.getElement(this); }
63
63
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.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-CgGR9Qf8.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var iphoneX = require('./iphone-x-qC21wCLj.js');
8
8
  var mail = require('./mail-C9D8MHae.js');
9
9
  var cancel = require('./cancel-B5SbMYEk.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-GUQS0-Q-.js');
6
+ var index = require('./index-BLZPuy15.js');
7
7
  var star = require('./star-DGcH7Yso.js');
8
8
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
9
  var Helper = require('./Helper-CgGR9Qf8.js');