@salla.sa/twilight-components 2.14.389 → 2.14.390

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 (286) hide show
  1. package/dist/cjs/{filepond-D-Sm5mfd.js → filepond-DFct_qpx.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-D_Q9tOzh.js → filepond-plugin-file-poster-B_Lr4Ulx.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-jE8i9yLT.js → filepond-plugin-file-validate-size-BqkoO_hr.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-ClNK2GsY.js → filepond-plugin-file-validate-type-DyTH8eH0.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BtI2loP1.js → filepond-plugin-image-edit-Cxg-WjCl.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DFksd-cT.js → filepond-plugin-image-exif-orientation-BSVkpMNu.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-B6iy7dvj.js → filepond-plugin-image-preview-DNcmQwuK.js} +1 -1
  8. package/dist/cjs/{index-CZzG9P8m.js → index-B8vh41va.js} +26 -10
  9. package/dist/cjs/{index-PbcABX0l.js → index-DnQaQgSB.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +63 -0
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  19. package/dist/cjs/salla-bullet-delivery.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-count-down.cjs.entry.js +196 -0
  27. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-gifting.cjs.entry.js +91 -16
  31. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  41. package/dist/cjs/{salla-accordion-body_3.cjs.entry.js → salla-map.cjs.entry.js} +1 -57
  42. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-order-edit-item.cjs.entry.js +95 -0
  55. package/dist/cjs/salla-order-edit.cjs.entry.js +181 -0
  56. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  62. package/dist/cjs/{salla-count-down_2.cjs.entry.js → salla-product-card.cjs.entry.js} +1 -160
  63. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  84. package/dist/cjs/twilight.cjs.js +2 -2
  85. package/dist/cjs/{vanilla-picker-BP4lqf-K.js → vanilla-picker-BZ48aiBi.js} +1 -1
  86. package/dist/collection/collection-manifest.json +2 -0
  87. package/dist/collection/components/salla-count-down/salla-count-down.css +4 -0
  88. package/dist/collection/components/salla-count-down/salla-count-down.js +122 -13
  89. package/dist/collection/components/salla-gifting/salla-gifting.js +96 -15
  90. package/dist/collection/components/salla-order-edit/interfaces.js +1 -0
  91. package/dist/collection/components/salla-order-edit/salla-order-edit-item.css +0 -0
  92. package/dist/collection/components/salla-order-edit/salla-order-edit-item.js +185 -0
  93. package/dist/collection/components/salla-order-edit/salla-order-edit.css +0 -0
  94. package/dist/collection/components/salla-order-edit/salla-order-edit.js +256 -0
  95. package/dist/components/index.js +2 -2
  96. package/dist/components/salla-count-down2.js +49 -13
  97. package/dist/components/salla-gifting.js +96 -15
  98. package/dist/components/salla-order-edit-item.d.ts +11 -0
  99. package/dist/components/salla-order-edit-item.js +9 -0
  100. package/dist/components/salla-order-edit-item2.js +184 -0
  101. package/dist/components/salla-order-edit.d.ts +11 -0
  102. package/dist/components/salla-order-edit.js +291 -0
  103. package/dist/components/salla-quantity-input.js +1 -125
  104. package/dist/components/salla-quantity-input2.js +130 -0
  105. package/dist/esm/{filepond-PPWykQxI.js → filepond-C9FlNeRD.js} +1 -1
  106. package/dist/esm/{filepond-plugin-file-poster-BRSyNznG.js → filepond-plugin-file-poster-BfX4exY0.js} +1 -1
  107. package/dist/esm/{filepond-plugin-file-validate-size-BKa_IBRc.js → filepond-plugin-file-validate-size-B5-cSfmI.js} +1 -1
  108. package/dist/esm/{filepond-plugin-file-validate-type-B2Gqcysx.js → filepond-plugin-file-validate-type-DKvNhI35.js} +1 -1
  109. package/dist/esm/{filepond-plugin-image-edit-C0UvZ9iA.js → filepond-plugin-image-edit-DV1-ZICm.js} +1 -1
  110. package/dist/esm/{filepond-plugin-image-exif-orientation-Dmzu9ZJy.js → filepond-plugin-image-exif-orientation-idrSYwAk.js} +1 -1
  111. package/dist/esm/{filepond-plugin-image-preview-CaZ36U6e.js → filepond-plugin-image-preview-os8BCUOs.js} +1 -1
  112. package/dist/esm/{index-CyfZeaV2.js → index-BcMtCVX0.js} +26 -10
  113. package/dist/esm/{index-C3w2qMi0.js → index-DQCZHaDc.js} +1 -1
  114. package/dist/esm/loader.js +3 -3
  115. package/dist/esm/salla-accordion-body_2.entry.js +60 -0
  116. package/dist/esm/salla-accordion_6.entry.js +1 -1
  117. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  118. package/dist/esm/salla-advertisement.entry.js +1 -1
  119. package/dist/esm/salla-alert_2.entry.js +1 -1
  120. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  121. package/dist/esm/salla-apps-icons.entry.js +1 -1
  122. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  123. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  124. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  125. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  126. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  127. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  128. package/dist/esm/salla-contacts.entry.js +1 -1
  129. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  130. package/dist/esm/salla-count-down.entry.js +194 -0
  131. package/dist/esm/salla-custom-fields.entry.js +1 -1
  132. package/dist/esm/salla-filters-widget.entry.js +1 -1
  133. package/dist/esm/salla-filters.entry.js +1 -1
  134. package/dist/esm/salla-gifting.entry.js +91 -16
  135. package/dist/esm/salla-hook.entry.js +1 -1
  136. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  137. package/dist/esm/salla-installment.entry.js +1 -1
  138. package/dist/esm/salla-list-tile.entry.js +1 -1
  139. package/dist/esm/salla-localization-modal.entry.js +1 -1
  140. package/dist/esm/salla-login-modal.entry.js +1 -1
  141. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  142. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  143. package/dist/esm/salla-loyalty.entry.js +1 -1
  144. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  145. package/dist/esm/{salla-accordion-body_3.entry.js → salla-map.entry.js} +2 -56
  146. package/dist/esm/salla-menu.entry.js +1 -1
  147. package/dist/esm/salla-metadata.entry.js +1 -1
  148. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  149. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  150. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  151. package/dist/esm/salla-notification-item.entry.js +1 -1
  152. package/dist/esm/salla-notifications.entry.js +1 -1
  153. package/dist/esm/salla-offer-modal.entry.js +1 -1
  154. package/dist/esm/salla-offer.entry.js +1 -1
  155. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  156. package/dist/esm/salla-order-details-options.entry.js +1 -1
  157. package/dist/esm/salla-order-details.entry.js +1 -1
  158. package/dist/esm/salla-order-edit-item.entry.js +93 -0
  159. package/dist/esm/salla-order-edit.entry.js +179 -0
  160. package/dist/esm/salla-order-summary.entry.js +1 -1
  161. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  162. package/dist/esm/salla-orders.entry.js +1 -1
  163. package/dist/esm/salla-payments.entry.js +1 -1
  164. package/dist/esm/salla-placeholder.entry.js +1 -1
  165. package/dist/esm/salla-price-range.entry.js +1 -1
  166. package/dist/esm/{salla-count-down_2.entry.js → salla-product-card.entry.js} +2 -160
  167. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  168. package/dist/esm/salla-products-list.entry.js +1 -1
  169. package/dist/esm/salla-products-slider.entry.js +1 -1
  170. package/dist/esm/salla-progress-bar.entry.js +1 -1
  171. package/dist/esm/salla-quick-order.entry.js +1 -1
  172. package/dist/esm/salla-rating-modal.entry.js +1 -1
  173. package/dist/esm/salla-scopes.entry.js +1 -1
  174. package/dist/esm/salla-search.entry.js +1 -1
  175. package/dist/esm/salla-skeleton.entry.js +1 -1
  176. package/dist/esm/salla-slider.entry.js +1 -1
  177. package/dist/esm/salla-social-share.entry.js +1 -1
  178. package/dist/esm/salla-social.entry.js +1 -1
  179. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  180. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  181. package/dist/esm/salla-tooltip.entry.js +1 -1
  182. package/dist/esm/salla-trust-badges.entry.js +1 -1
  183. package/dist/esm/salla-user-menu.entry.js +1 -1
  184. package/dist/esm/salla-user-profile.entry.js +1 -1
  185. package/dist/esm/salla-user-settings.entry.js +1 -1
  186. package/dist/esm/salla-verify.entry.js +1 -1
  187. package/dist/esm/salla-wallet.entry.js +1 -1
  188. package/dist/esm/twilight.js +3 -3
  189. package/dist/esm/{vanilla-picker-BnLjo9lg.js → vanilla-picker-BBEKwYz7.js} +1 -1
  190. package/dist/twilight/{p-49178d13.entry.js → p-00a2d261.entry.js} +1 -1
  191. package/dist/twilight/{p-0dcadf17.entry.js → p-0b27ca19.entry.js} +1 -1
  192. package/dist/twilight/{p-52249b73.entry.js → p-0d0ca330.entry.js} +1 -1
  193. package/dist/twilight/{p-749f87cc.entry.js → p-1054b66c.entry.js} +1 -1
  194. package/dist/twilight/{p-9dace77f.entry.js → p-129d6c0c.entry.js} +1 -1
  195. package/dist/twilight/{p-d0d9eaa7.entry.js → p-15a052c7.entry.js} +1 -1
  196. package/dist/twilight/{p-7367264c.entry.js → p-207950ad.entry.js} +1 -1
  197. package/dist/twilight/{p-4a0248ab.entry.js → p-2548fa30.entry.js} +1 -1
  198. package/dist/twilight/{p-77a89284.entry.js → p-26cb1fdf.entry.js} +1 -1
  199. package/dist/twilight/{p-313e016b.entry.js → p-2b74eb03.entry.js} +1 -1
  200. package/dist/twilight/{p-71199938.entry.js → p-359b2de3.entry.js} +1 -1
  201. package/dist/twilight/{p-3424772f.entry.js → p-35a2ea22.entry.js} +1 -1
  202. package/dist/twilight/{p-92aa6f9c.entry.js → p-3653ad70.entry.js} +1 -1
  203. package/dist/twilight/{p-0e064e79.entry.js → p-374057f7.entry.js} +1 -1
  204. package/dist/twilight/p-374c63c7.entry.js +4 -0
  205. package/dist/twilight/{p-3490e1f2.entry.js → p-412643eb.entry.js} +1 -1
  206. package/dist/twilight/{p-981aa6b2.entry.js → p-47cd7ceb.entry.js} +1 -1
  207. package/dist/twilight/{p-5db4f7be.entry.js → p-47d1003b.entry.js} +1 -1
  208. package/dist/twilight/{p-b6d4d88f.entry.js → p-48353d62.entry.js} +1 -1
  209. package/dist/twilight/{p-833e8364.entry.js → p-4866439f.entry.js} +1 -1
  210. package/dist/twilight/{p-549d8385.entry.js → p-4f3964d8.entry.js} +1 -1
  211. package/dist/twilight/{p-f8b53b4a.entry.js → p-4fefd2df.entry.js} +1 -1
  212. package/dist/twilight/{p-de4fc6d3.entry.js → p-5174aa32.entry.js} +1 -1
  213. package/dist/twilight/{p-6b642ef5.entry.js → p-58c66b0d.entry.js} +1 -1
  214. package/dist/twilight/{p-7b3e9e94.entry.js → p-58fa3856.entry.js} +1 -1
  215. package/dist/twilight/{p-6f230886.entry.js → p-596525f9.entry.js} +1 -1
  216. package/dist/twilight/p-5a629abd.entry.js +4 -0
  217. package/dist/twilight/{p-f713d4c1.entry.js → p-5d2ebf97.entry.js} +1 -1
  218. package/dist/twilight/{p-016b3b19.entry.js → p-65df6042.entry.js} +1 -1
  219. package/dist/twilight/{p-7eebae69.entry.js → p-67bc002a.entry.js} +1 -1
  220. package/dist/twilight/{p-b85269f0.entry.js → p-67cf0723.entry.js} +1 -1
  221. package/dist/twilight/{p-1a9b64ea.entry.js → p-687a597a.entry.js} +1 -1
  222. package/dist/twilight/{p-75744403.entry.js → p-689701b4.entry.js} +1 -1
  223. package/dist/twilight/{p-646ac137.entry.js → p-70e478a6.entry.js} +1 -1
  224. package/dist/twilight/{p-a3479656.entry.js → p-74472650.entry.js} +1 -1
  225. package/dist/twilight/{p-5a3fbfcc.entry.js → p-7855ae93.entry.js} +1 -1
  226. package/dist/twilight/p-8c86ba24.entry.js +4 -0
  227. package/dist/twilight/{p-9b03dc5f.entry.js → p-8d4d4a0e.entry.js} +1 -1
  228. package/dist/twilight/{p-85e08789.entry.js → p-8fbd92a2.entry.js} +1 -1
  229. package/dist/twilight/{p-f2a021d2.entry.js → p-983f9f1e.entry.js} +1 -1
  230. package/dist/twilight/{p-f9b6a945.entry.js → p-998a3b5f.entry.js} +1 -1
  231. package/dist/twilight/{p-56f20bf9.entry.js → p-9bf0a7df.entry.js} +1 -1
  232. package/dist/twilight/{p-414f399b.entry.js → p-9ff1a4dc.entry.js} +1 -1
  233. package/dist/twilight/{p-C11T4TVo.js → p-B21QGKK8.js} +1 -1
  234. package/dist/twilight/{p-DaXFe_AG.js → p-Bc2ExcVy.js} +1 -1
  235. package/dist/twilight/{p-CyfZeaV2.js → p-BcMtCVX0.js} +2 -2
  236. package/dist/twilight/{p-DV84B4Zf.js → p-C3Z9uRGX.js} +1 -1
  237. package/dist/twilight/{p-CKAWVE2E.js → p-DIeaJrGb.js} +1 -1
  238. package/dist/twilight/{p-CJnMMMxb.js → p-DbdyybJU.js} +1 -1
  239. package/dist/twilight/{p-oPo_An7U.js → p-UFbwqsEd.js} +1 -1
  240. package/dist/twilight/{p-9af46409.entry.js → p-a39a0eb8.entry.js} +1 -1
  241. package/dist/twilight/{p-6c5ab45f.entry.js → p-a54364a3.entry.js} +1 -1
  242. package/dist/twilight/{p-68e1946b.entry.js → p-a6bb162e.entry.js} +1 -1
  243. package/dist/twilight/{p-dccaabbe.entry.js → p-a6cbb4f5.entry.js} +1 -1
  244. package/dist/twilight/{p-b6924b12.entry.js → p-a8fd427d.entry.js} +1 -1
  245. package/dist/twilight/{p-9ae66ab7.entry.js → p-a909028d.entry.js} +1 -1
  246. package/dist/twilight/{p-fdb99998.entry.js → p-acd70c2f.entry.js} +1 -1
  247. package/dist/twilight/{p-8538541b.entry.js → p-ae1e338f.entry.js} +1 -1
  248. package/dist/twilight/{p-ccc3689d.entry.js → p-b19ace8d.entry.js} +1 -1
  249. package/dist/twilight/p-b697172b.entry.js +4 -0
  250. package/dist/twilight/{p-c48e2a05.entry.js → p-bb98a631.entry.js} +1 -1
  251. package/dist/twilight/{p-8c1f6ff5.entry.js → p-c18179ed.entry.js} +1 -1
  252. package/dist/twilight/{p-8c918f58.entry.js → p-c2d74b3d.entry.js} +1 -1
  253. package/dist/twilight/{p-83bb3e08.entry.js → p-c45f2128.entry.js} +1 -1
  254. package/dist/twilight/p-c5522363.entry.js +4 -0
  255. package/dist/twilight/{p-a5215f9c.entry.js → p-c6e7b06f.entry.js} +1 -1
  256. package/dist/twilight/{p-d224ad78.entry.js → p-cc6c624c.entry.js} +1 -1
  257. package/dist/twilight/{p-B5sTdzgA.js → p-ctIqN5Fo.js} +1 -1
  258. package/dist/twilight/{p-71e9036c.entry.js → p-d607bfd3.entry.js} +1 -1
  259. package/dist/twilight/{p-2d3c3fc0.entry.js → p-d862646f.entry.js} +1 -1
  260. package/dist/twilight/{p-e4984da6.entry.js → p-dbcc0a7f.entry.js} +1 -1
  261. package/dist/twilight/p-dc6f4d54.entry.js +4 -0
  262. package/dist/twilight/{p-28691a37.entry.js → p-deb74e2e.entry.js} +1 -1
  263. package/dist/twilight/{p-e51abff8.entry.js → p-dfa729d4.entry.js} +1 -1
  264. package/dist/twilight/p-e7671432.entry.js +4 -0
  265. package/dist/twilight/{p-1fa74395.entry.js → p-e7932d3d.entry.js} +1 -1
  266. package/dist/twilight/{p-46715ed4.entry.js → p-e879fb84.entry.js} +1 -1
  267. package/dist/twilight/p-e9c7f99a.entry.js +4 -0
  268. package/dist/twilight/{p-c782ba90.entry.js → p-f100cc25.entry.js} +1 -1
  269. package/dist/twilight/{p-fca12e58.entry.js → p-f63999f8.entry.js} +1 -1
  270. package/dist/twilight/{p-nDM6sAQW.js → p-fbLtV-T9.js} +1 -1
  271. package/dist/twilight/{p-282b2717.entry.js → p-fd22cd01.entry.js} +1 -1
  272. package/dist/twilight/{p-DgRZXtp7.js → p-ukob-enB.js} +2 -2
  273. package/dist/twilight/twilight.esm.js +1 -1
  274. package/dist/types/components/salla-count-down/salla-count-down.d.ts +24 -0
  275. package/dist/types/components/salla-gifting/gift-schema.d.ts +4 -0
  276. package/dist/types/components/salla-gifting/intefaces.d.ts +1 -0
  277. package/dist/types/components/salla-gifting/salla-gifting.d.ts +10 -1
  278. package/dist/types/components/salla-order-edit/interfaces.d.ts +114 -0
  279. package/dist/types/components/salla-order-edit/salla-order-edit-item.d.ts +35 -0
  280. package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +42 -0
  281. package/dist/types/components.d.ts +170 -0
  282. package/package.json +5 -5
  283. package/dist/twilight/p-1048b469.entry.js +0 -4
  284. package/dist/twilight/p-69ae622f.entry.js +0 -4
  285. package/dist/twilight/p-d33f3c58.entry.js +0 -4
  286. package/dist/twilight/p-fbcc194e.entry.js +0 -4
@@ -0,0 +1,196 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ 'use strict';
5
+
6
+ var index = require('./index-B8vh41va.js');
7
+
8
+ const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
9
+
10
+ const SallaCountDown = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ /**
14
+ * The size of the count down
15
+ * */
16
+ this.size = 'md';
17
+ /**
18
+ * The color of the count down
19
+ * */
20
+ this.color = 'dark';
21
+ /**
22
+ * The digits lang to show in the count down
23
+ * */
24
+ this.digits = 'auto';
25
+ /**
26
+ * If true, hides days segment when days = 0, and hides hours segment when both days and hours = 0.
27
+ * Matches salla-timer behaviour. Off by default for backward compatibility.
28
+ * */
29
+ this.autoSegments = false;
30
+ this.daysLabel = salla.lang.getWithDefault('pages.checkout.day', 'يوم');
31
+ this.hoursLabel = salla.lang.getWithDefault('pages.checkout.hour', 'ساعة');
32
+ this.minutesLabel = salla.lang.getWithDefault('pages.checkout.minute', 'دقيقة');
33
+ this.secondsLabel = salla.lang.getWithDefault('pages.checkout.second', 'ثانية');
34
+ this.endLabel = salla.lang.getWithDefault('pages.checkout.offer_ended', 'انتهت مدة العرض');
35
+ this.invalidDate = salla.lang.getWithDefault('blocks.buy_as_gift.incorrect_date', 'الرجاء إدخال الموعد بشكل صحيح');
36
+ this.offerEnded = false;
37
+ this.showDays = true;
38
+ this.showHours = true;
39
+ this.days = this.number(0);
40
+ this.hours = this.number(0);
41
+ this.minutes = this.number(0);
42
+ this.seconds = this.number(0);
43
+ salla.lang.onLoaded(() => {
44
+ this.daysLabel = salla.lang.getWithDefault('pages.checkout.day', 'يوم');
45
+ this.hoursLabel = salla.lang.getWithDefault('pages.checkout.hour', 'ساعة');
46
+ this.minutesLabel = salla.lang.getWithDefault('pages.checkout.minute', 'دقيقة');
47
+ this.invalidDate = salla.lang.getWithDefault('blocks.buy_as_gift.incorrect_date', 'الرجاء إدخال الموعد بشكل صحيح');
48
+ this.secondsLabel = salla.lang.getWithDefault('pages.checkout.second', 'ثانية');
49
+ this.endLabel = salla.lang.getWithDefault('pages.checkout.offer_ended', 'انتهت مدة العرض');
50
+ });
51
+ if (this.date && this.isValidDate(this.date)) {
52
+ this.startCountDown();
53
+ }
54
+ }
55
+ /**
56
+ * End the count down
57
+ * */
58
+ async endCountDown() {
59
+ clearInterval(this.countInterval);
60
+ this.offerEnded = true;
61
+ this.days = this.number(0);
62
+ this.hours = this.number(0);
63
+ this.minutes = this.number(0);
64
+ this.seconds = this.number(0);
65
+ }
66
+ componentWillLoad() {
67
+ if (typeof this.preOrder === 'string') {
68
+ try {
69
+ this.normalizedPreOrder = JSON.parse(this.preOrder);
70
+ }
71
+ catch {
72
+ this.normalizedPreOrder = undefined;
73
+ }
74
+ }
75
+ else {
76
+ this.normalizedPreOrder = this.preOrder;
77
+ }
78
+ if (this.normalizedPreOrder?.end_date) {
79
+ this.date = this.normalizedPreOrder.end_date;
80
+ if (this.date && this.isValidDate(this.date)) {
81
+ this.startCountDown();
82
+ }
83
+ }
84
+ }
85
+ isValidDate(date) {
86
+ let dateHasDashes = date.includes('-'), dateParts = date.split(' '), testedDate;
87
+ if (dateHasDashes) {
88
+ testedDate = dateParts[0].replace(/-/g, '/');
89
+ }
90
+ else {
91
+ testedDate = dateParts[0];
92
+ }
93
+ return !isNaN(Date.parse(testedDate));
94
+ }
95
+ number(digit) {
96
+ return salla.helpers.number(digit, this.digits === 'en');
97
+ }
98
+ startCountDown() {
99
+ const isIsoFormat = this.date.includes('-');
100
+ const isDateOnly = this.endOfDay || this.date.split(' ').length === 1;
101
+ let countDownTime;
102
+ if (isIsoFormat) {
103
+ // Backend KSA date — parse as UTC+3 explicitly
104
+ const dateStr = isDateOnly
105
+ ? `${this.date.split(' ')[0]}T23:59:59+03:00`
106
+ : `${this.date.replace(' ', 'T')}+03:00`;
107
+ countDownTime = new Date(dateStr).getTime();
108
+ }
109
+ else {
110
+ // "MMM DD, YYYY HH:mm:ss" format — preserve existing behaviour
111
+ const countDownDate = new Date(this.date);
112
+ if (isDateOnly) {
113
+ countDownDate.setHours(23, 59, 59, 999);
114
+ }
115
+ countDownTime = countDownDate.getTime();
116
+ }
117
+ const tick = () => {
118
+ const distance = countDownTime - Date.now();
119
+ const dRaw = Math.floor(distance / (1000 * 60 * 60 * 24));
120
+ const hRaw = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
121
+ this.days = this.number(dRaw);
122
+ this.hours = this.number(hRaw);
123
+ this.minutes = this.number(Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)));
124
+ this.seconds = this.number(Math.floor((distance % (1000 * 60)) / 1000));
125
+ if (this.autoSegments) {
126
+ this.showDays = dRaw > 0;
127
+ this.showHours = dRaw > 0 || hRaw > 0;
128
+ }
129
+ if (distance < 0) {
130
+ this.endCountDown();
131
+ }
132
+ };
133
+ this.countInterval = setInterval(tick, 1000);
134
+ tick();
135
+ }
136
+ renderCountDown() {
137
+ const listStyle = this.listPadding ? { paddingLeft: this.listPadding, paddingRight: this.listPadding } : undefined;
138
+ const resolvedBoxColor = this.boxTheme ? `var(--color-${this.boxTheme})` : this.boxColor;
139
+ const boxStyle = this.boxed && resolvedBoxColor ? { backgroundColor: resolvedBoxColor } : undefined;
140
+ return (index.h("ul", { class: `s-count-down-list ${this.boxed ? 's-count-down-boxed' : ''} ${this.offerEnded ? 's-count-down-ended' : ''} s-count-down-${this.size} s-count-down-${this.color}`, style: listStyle }, index.h("li", { class: "s-count-down-item", style: boxStyle }, index.h("div", { class: "s-count-down-item-value" }, this.seconds), this.labeled && index.h("div", { class: "s-count-down-item-label" }, this.secondsLabel)), index.h("li", { class: "s-count-down-item", style: boxStyle }, index.h("div", { class: "s-count-down-item-value" }, this.minutes), this.labeled && index.h("div", { class: "s-count-down-item-label" }, this.minutesLabel)), (!this.autoSegments || this.showHours) && (index.h("li", { class: "s-count-down-item", style: boxStyle }, index.h("div", { class: "s-count-down-item-value" }, this.hours), this.labeled && index.h("div", { class: "s-count-down-item-label" }, this.hoursLabel))), (!this.autoSegments || this.showDays) && (index.h("li", { class: "s-count-down-item", style: boxStyle }, index.h("div", { class: "s-count-down-item-value" }, this.days), this.labeled && index.h("div", { class: "s-count-down-item-label" }, this.daysLabel)))));
141
+ }
142
+ renderInvalidDate() {
143
+ return index.h("div", { class: "s-count-down-text-center" }, this.invalidDate);
144
+ }
145
+ renderOfferEnded() {
146
+ return index.h("div", { class: "s-count-down-end-text" }, !!this.endText ? this.endText : this.endLabel);
147
+ }
148
+ renderPreOrderToBeAvailableOn() {
149
+ if (!this.normalizedPreOrder?.availability_date ||
150
+ !this.isValidDate(this.normalizedPreOrder?.availability_date))
151
+ return null;
152
+ return (index.h("div", { class: "s-count-down-info-message" }, index.h("i", { class: "sicon-info" }), index.h("span", null, salla.lang.getWithDefault('pages.products.expected_to_be', 'متوقَّع توفُّره بتاريخ:')), index.h("span", null, new Date(this.normalizedPreOrder?.availability_date).toLocaleDateString(salla.lang.locale, {
153
+ weekday: 'long',
154
+ year: 'numeric',
155
+ month: 'long',
156
+ day: 'numeric',
157
+ }))));
158
+ }
159
+ renderPreOrderCountDown() {
160
+ if (!this.normalizedPreOrder?.activate_countdown)
161
+ return null;
162
+ return (index.h("div", { class: "s-count-down-pre-order-container" }, index.h("p", { class: "text-sm " }, salla.lang.getWithDefault('pages.products.pre_order_ends_in', 'ينتهي الطلب المسبق خلال:')), this.renderCountDown()));
163
+ }
164
+ renderPreOrder() {
165
+ return (index.h("div", null, typeof this.normalizedPreOrder === 'object' &&
166
+ this.normalizedPreOrder?.availability_date &&
167
+ this.renderPreOrderToBeAvailableOn(), this.renderPreOrderCountDown()));
168
+ }
169
+ renderPrefixText() {
170
+ if (!this.prefixText)
171
+ return null;
172
+ return index.h("span", { class: "s-count-down-prefix-text" }, this.prefixText);
173
+ }
174
+ renderButton() {
175
+ if (!this.withButton || !this.buttonText)
176
+ return null;
177
+ return index.h("salla-button", { color: "primary", size: "medium", href: this.buttonHref }, this.buttonIcon ? index.h("i", { class: this.buttonIcon }) : null, index.h("span", null, this.buttonText));
178
+ }
179
+ renderContent() {
180
+ if (!this.date)
181
+ return null;
182
+ if (!this.isValidDate(this.date)) {
183
+ return this.renderInvalidDate();
184
+ }
185
+ if (this.preOrder) {
186
+ return this.renderPreOrder();
187
+ }
188
+ return this.renderCountDown();
189
+ }
190
+ render() {
191
+ return (index.h(index.Host, { key: '72c0f5f822ea852674814ced58f323e8b99075c0', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
192
+ }
193
+ };
194
+ SallaCountDown.style = sallaCountDownCss;
195
+
196
+ exports.salla_count_down = SallaCountDown;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var camera = require('./camera-DytepEoK.js');
8
8
  var interfaces = require('./interfaces-CRqrf5RX.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  var interfaces = require('./interfaces-DZDQwN6-.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var interfaces = require('./interfaces-DZDQwN6-.js');
8
8
  var Helper = require('./Helper-CU4Xuiki.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
9
9
  var cancel = require('./cancel-De6vslRA.js');
@@ -46,6 +46,11 @@ const SallaGifting = class {
46
46
  this.selectedCountryId = undefined;
47
47
  this.selectedCountryCode = undefined;
48
48
  this.loadingCities = false;
49
+ this.loadingRegions = false;
50
+ this.regions = [];
51
+ this.selectedRegionId = undefined;
52
+ this.isKSA = false;
53
+ this.step2Animated = false;
49
54
  this.showTextArea = false;
50
55
  /// Gift Form Data
51
56
  this.selectedImage = undefined;
@@ -80,6 +85,8 @@ const SallaGifting = class {
80
85
  this.selectCountry = salla.lang.get('pages.checkout.select_country');
81
86
  this.selectCityInfo = salla.lang.get('blocks.buy_as_gift.city_info');
82
87
  this.receiverCityFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_city');
88
+ this.receiverRegionFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_region') || salla.lang.get('pages.checkout.region');
89
+ this.selectRegion = salla.lang.get('pages.checkout.select_region');
83
90
  this.receiverEmailFieldLabel = salla.lang.get('blocks.buy_as_gift.receiver_email');
84
91
  this.emailPlaceholder = salla.lang.get('common.elements.email_placeholder');
85
92
  this.sendLater = salla.lang.get('blocks.buy_as_gift.send_later');
@@ -157,7 +164,7 @@ const SallaGifting = class {
157
164
  */
158
165
  async setWrapperHeight(asStep = 1, delay = 250, additionSpace = 0, newHeight = 0) {
159
166
  let currentStep = document.querySelector(`#${this.hostId} .gift-step-${asStep}`);
160
- setTimeout(() => {
167
+ const updateHeight = () => {
161
168
  let currentStepHeight = currentStep.offsetHeight;
162
169
  if (newHeight) {
163
170
  this.stepsWrapper.style.height = `${newHeight}px`;
@@ -165,7 +172,13 @@ const SallaGifting = class {
165
172
  else {
166
173
  this.stepsWrapper.style.height = currentStepHeight + additionSpace + 'px';
167
174
  }
168
- }, delay);
175
+ };
176
+ if (this.step2Animated && asStep === 2) {
177
+ requestAnimationFrame(updateHeight);
178
+ }
179
+ else {
180
+ setTimeout(updateHeight, delay);
181
+ }
169
182
  }
170
183
  toggleCalendar() {
171
184
  this.showCalendar = !this.showCalendar;
@@ -234,6 +247,7 @@ const SallaGifting = class {
234
247
  item.classList.remove('opacity-0');
235
248
  item.removeAttribute('style');
236
249
  });
250
+ this.step2Animated = true;
237
251
  }
238
252
  }, '-=1200');
239
253
  this.currentStep = 2;
@@ -275,6 +289,7 @@ const SallaGifting = class {
275
289
  }
276
290
  }, '-=1200');
277
291
  stepBackAnime.play();
292
+ this.step2Animated = false;
278
293
  this.setWrapperHeight(1, 600, 0);
279
294
  this.currentStep = 1;
280
295
  this.parentClass = `is-current-step-${this.currentStep}`;
@@ -324,23 +339,72 @@ const SallaGifting = class {
324
339
  this.clearError('receiver.city_id');
325
340
  }
326
341
  async handleCountryChange(event) {
327
- const countryId = event.target.value;
342
+ const countryId = Number(event.target.value);
328
343
  this.selectedCountryId = countryId;
329
344
  this.clearError('receiver.country');
330
345
  // Find the selected country and store its country_code
331
346
  const selectedCountry = this.gift?.countries?.find(country => country.id == countryId);
332
347
  this.selectedCountryCode = selectedCountry?.country_code;
348
+ this.isKSA = selectedCountry?.country_code === 'SA';
349
+ // Reset region and city
350
+ this.regions = [];
351
+ this.selectedRegionId = undefined;
352
+ this.gift = { ...this.gift, cities: [] };
353
+ this.receiverCity = undefined;
333
354
  if (!countryId || this.gift?.countries?.length === 0) {
334
- this.gift = { ...this.gift, cities: [] };
335
- this.receiverCity = undefined;
336
355
  this.selectedCountryCode = undefined;
356
+ this.isKSA = false;
357
+ this.setWrapperHeight(2, 0, 0);
337
358
  return;
338
359
  }
339
- this.loadingCities = true;
360
+ if (this.isKSA) {
361
+ // For KSA, fetch regions first
362
+ this.loadingRegions = true;
363
+ this.setWrapperHeight(2, 0, 0);
364
+ try {
365
+ const response = await salla.api.request(`shipping/countries/${countryId}/regions`);
366
+ if (response && response.data) {
367
+ this.regions = response.data;
368
+ }
369
+ }
370
+ catch (error) {
371
+ console.error('Error fetching regions:', error);
372
+ }
373
+ finally {
374
+ this.loadingRegions = false;
375
+ this.setWrapperHeight(2, 0, 0);
376
+ }
377
+ }
378
+ else {
379
+ // For non-KSA, fetch cities directly
380
+ this.loadingCities = true;
381
+ this.setWrapperHeight(2, 0, 0);
382
+ try {
383
+ const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${countryId}`);
384
+ if (response && response.data) {
385
+ this.gift = { ...this.gift, cities: response.data };
386
+ }
387
+ }
388
+ catch (error) {
389
+ console.error('Error fetching cities:', error);
390
+ }
391
+ finally {
392
+ this.loadingCities = false;
393
+ }
394
+ }
395
+ }
396
+ async handleRegionChange(event) {
397
+ const regionId = Number(event.target.value);
398
+ this.selectedRegionId = regionId;
399
+ this.clearError('receiver.region');
400
+ // Reset city when region changes
340
401
  this.gift = { ...this.gift, cities: [] };
341
402
  this.receiverCity = undefined;
403
+ if (!regionId)
404
+ return;
405
+ this.loadingCities = true;
342
406
  try {
343
- const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${countryId}`);
407
+ const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${this.selectedCountryId}&region_id=${regionId}`);
344
408
  if (response && response.data) {
345
409
  this.gift = { ...this.gift, cities: response.data };
346
410
  }
@@ -350,6 +414,7 @@ const SallaGifting = class {
350
414
  }
351
415
  finally {
352
416
  this.loadingCities = false;
417
+ this.setWrapperHeight(2, 0, 0);
353
418
  }
354
419
  }
355
420
  handleUploadImage(img) {
@@ -405,6 +470,7 @@ const SallaGifting = class {
405
470
  { key: 'receiver.mobile', value: this.receiverMobile, label: this.receiverMobileFieldLabel },
406
471
  ...(this.physicalProducts ? [
407
472
  { key: 'receiver.country', value: this.selectedCountryId, label: this.receiverCountryFieldLabel },
473
+ ...(this.isKSA ? [{ key: 'receiver.region', value: this.selectedRegionId, label: this.receiverRegionFieldLabel }] : []),
408
474
  { key: 'receiver.city_id', value: this.receiverCity, label: this.receiverCityFieldLabel },
409
475
  ] : []),
410
476
  ];
@@ -431,6 +497,7 @@ const SallaGifting = class {
431
497
  mobile_country_code: this.receiverCountryCode,
432
498
  mobile: this.receiverMobile,
433
499
  ...(this.physicalProducts && this.selectedCountryCode ? { country_code: this.selectedCountryCode } : {}),
500
+ ...(this.physicalProducts && this.selectedRegionId ? { region_id: this.selectedRegionId } : {}),
434
501
  ...(this.receiverCity && this.physicalProducts ? { city_id: this.receiverCity } : {})
435
502
  },
436
503
  has_apple_pay: salla.helpers.hasApplePay(),
@@ -455,6 +522,10 @@ const SallaGifting = class {
455
522
  this.setWrapperHeight(2, 150, 0);
456
523
  });
457
524
  }
525
+ step2ItemClass(extra = '') {
526
+ const base = `anime-item${this.step2Animated ? '' : ' opacity-0'}`;
527
+ return extra ? `${extra} ${base}` : base;
528
+ }
458
529
  generateClass() {
459
530
  return {
460
531
  "s-gifting-widget": true,
@@ -488,7 +559,7 @@ const SallaGifting = class {
488
559
  }
489
560
  render() {
490
561
  return [
491
- index.h("div", { key: '5959120e43b44cd294d9466003422efb26090897' }, index.h("salla-list-tile", { key: '6ba52f5157d734e4c8443a9b4a59703d69eb8e84', class: this.generateClass() }, index.h("div", { key: '26130f1b0e64f7dcc488f2865a19c04c4da28afe', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: 'b26949ce590efdeb7d364bbb65f04cc2e58eb396' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'bfa36868bc7681aa8fb218dcaa032a414609413c', slot: "subtitle" }, index.h("div", { key: 'b070fb428965fd7f2f58573970d5d0604564f682' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '343729605e7b97a7a35e63ca26b46ef2b48d5d8e', slot: "action" }, index.h("salla-button", { key: 'f8d6e1d5f60ea02a271b504fd3daa36215e9a8f3', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: 'c9cc5ec40b0e09aa99e15f464701deb5c9a3f486', name: "widget-btn-content" }, index.h("div", { key: '5b431294450b2c45bc5b3503e022d03872cd4252', class: "s-gifting-widget-action-content" }, index.h("span", { key: '4397140781cf6e311de760e384e1b0f3f429eeeb', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: 'e993b5010cca3eb5c09ab6abc592d29c149292bb' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '13a1010f08acd0c9ef7bdd4eafd3488ae083b0a4', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '0eea1fa6d0ea8240d198e8e7fdd68dc7327fa817', slot: "loading" }, index.h("div", { key: '9e98de0165db06a39e51984419cb93dcb4bd40ad', class: "s-gifting-skeleton" }, index.h("div", { key: 'd302e19b737bc272ccece10bfca0eb019b6ca2cf', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: '787d98c862475e7a263d4d501842d0b769e9be4a', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '86b67bbbe29fe5b1bad587432652f36480269c86', class: "s-gifting-modal-title" }, index.h("div", { key: 'af9eb2262a435ce110e355b75f5c0ebdd2a3acdc', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '9311ddd1eb3afdc7c02530451eafc27bbba8b776', height: '15px', width: '150px' })))), index.h("div", { key: '5c87083930311249c7ea735697c3c7d20be4b2e7', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: 'f42adea83216bc972863bd56c5ba0b5f02df6eb1', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '7781766e62dedadff68943e69bc97b54fe6eb22b', height: '230px' }), index.h("salla-skeleton", { key: 'a61810158f2edf8b0f7ed0f44c4985ca1f4b01e7', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '2f2763deca90fcfe66a462befbfb7072decf63c1', height: '30px' }), index.h("salla-skeleton", { key: '2f34b53353830532c900e70660a81d9124bbc1e8', height: '40px' })))), index.h("slot", { key: 'd6f51bf3ee6a11019d25150e26c45fa80a534c43', name: "header" }), !!this.hasError ?
562
+ index.h("div", { key: '5d0eec8210f77d166c144704ec78bffcaf1f4ce0' }, index.h("salla-list-tile", { key: '19cc20b4f70bbb8a7d267f60052db77589901962', class: this.generateClass() }, index.h("div", { key: '1c3c52b5ac48e71a6ac26c60494657ac28d16457', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: 'e3379fb3ed39d1bc63500346058b26b883c3be13' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'f6c2a522727546aa27cef725faa8be082da063da', slot: "subtitle" }, index.h("div", { key: '7b58ad967f39fa2cc660369b72e73f8dc49f90dc' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '848396dcd6ce6009ebc4cf1a209a055ad1adbf15', slot: "action" }, index.h("salla-button", { key: '2ba69b670f1c958784c6f1dca6b2dd0b93f20859', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '6ac9ac339e321fc9433465cfd75f299307ee7152', name: "widget-btn-content" }, index.h("div", { key: 'c61dd36375886c1ecf87f115e5248dca1af7efc9', class: "s-gifting-widget-action-content" }, index.h("span", { key: '0c8a3630ba6b15889fc4bf3d55a1279cdf713400', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: 'c9299ec752e5393f30a78e1e01d367be9e97ca50' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '9ee17e79f97eee59d25d9627d5b1cd4ada7cadb3', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: 'aba3b6a4d3e903934c9b5e629119c3a3b5bc90ab', slot: "loading" }, index.h("div", { key: 'e03613cc85bf4024f63d2e256a2744ec78f7eabf', class: "s-gifting-skeleton" }, index.h("div", { key: '01156691d540ce5ef5723902610a1da27fba3ddb', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: 'e45b4868e4fa5633aeb22f758f75f5412290b179', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '2b427d38dd6e0569e16de84ef46eb2052d23b739', class: "s-gifting-modal-title" }, index.h("div", { key: 'c4f9cb6f513e3ebd2e6ad209648a1f70bcafbcb5', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: 'e684b682a4cca89262128cca13604b7aa9a83cd7', height: '15px', width: '150px' })))), index.h("div", { key: '2941865d68cd216b4dd82bb8279f6bcbaa062bf3', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '7c4f4235a666930ceef3dc0b38809aea5ee5ce5c', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '0257f401762a11b0bf3da7db603b4e5f57bd1aae', height: '230px' }), index.h("salla-skeleton", { key: 'cced26b189549fcee4eff3a3fbd943a5735b4c6c', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'f5893e5c631564c91bfe42c4102190d43f913947', height: '30px' }), index.h("salla-skeleton", { key: '64d3738017cf6732b429848c1de4ca16db1adc06', height: '40px' })))), index.h("slot", { key: '77d5bda8147f7f09d73b97fd7456121626b465a7', name: "header" }), !!this.hasError ?
492
563
  index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), index.h("span", { slot: "description" }, " "))
493
564
  :
494
565
  [
@@ -497,14 +568,18 @@ const SallaGifting = class {
497
568
  index.h("salla-slider", { id: "gifting-slider", loop: false, "controls-outer": true, class: "s-gifting-slider", type: "carousel" }, index.h("div", { slot: "items" }, this.gift && this.gift.gift_images ?
498
569
  this.gift?.gift_images.map((item) => index.h("a", { class: "s-gifting-clickable s-gifting-image", onClick: () => this.setPreview(item) }, index.h("img", { style: { "width": "120px" }, src: item.url, alt: `${item.id}` }))) : ''))
499
570
  : ""), index.h("div", { class: "anime-item" }, index.h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, index.h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, index.h("option", { "data-id": null, selected: true }, this.selectGiftMessage), this.gift && this.gift.gift_texts ?
500
- this.gift?.gift_texts.map((txt) => index.h("option", { "data-id": txt.id, value: txt.text, key: txt.id }, txt.text)) : '', index.h("option", { "data-id": "custom" }, this.giftCustomText))), index.h("div", { class: this.showGiftText ? "s-form-group s-gifting-textarea shown" : "s-form-group s-gifting-textarea hide", ref: (el) => this.customTextArea = el }, index.h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), index.h("div", { class: "mt-1" }, index.h("textarea", { onInput: (event) => this.handleTextAreaChange(event), rows: 4, ref: (el) => this.textArea = el, name: "gift-custom-text", id: "gift-custom-text", class: "s-form-control" })))), index.h("div", { class: "anime-item" }, index.h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2() }, index.h("span", null, this.nextStep)))), index.h("div", { class: "s-gifting-step-two gift-step-2", ref: el => this.step2Elems = el }, index.h("div", { class: this.errors && this.errors['sender_name'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), index.h("input", { type: "text", class: "s-form-control", name: "sender_name", id: "sender_name", value: this.senderName, onInput: (event) => this.handleSenderName(event), placeholder: "" }), this.errors && this.errors['sender_name'] ?
501
- index.h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), index.h("div", { class: this.errors && this.errors['receiver.name'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), index.h("input", { type: "text", class: "s-form-control", name: "receiver_name", id: "receiver_name", value: "", onInput: (event) => this.handleReceiverName(event), placeholder: "" }), this.errors && this.errors['receiver.name'] ?
502
- index.h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), index.h("div", { class: this.errors && this.errors['receiver.mobile'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), index.h("salla-tel-input", { class: "s-gifting-tel-input", phone: this.receiverMobile, countryCode: this.receiverCountryCode, onPhoneEntered: (e) => this.handlePhoneInputChange(e) }), this.errors && this.errors['receiver.mobile'] ?
571
+ this.gift?.gift_texts.map((txt) => index.h("option", { "data-id": txt.id, value: txt.text, key: txt.id }, txt.text)) : '', index.h("option", { "data-id": "custom" }, this.giftCustomText))), index.h("div", { class: this.showGiftText ? "s-form-group s-gifting-textarea shown" : "s-form-group s-gifting-textarea hide", ref: (el) => this.customTextArea = el }, index.h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), index.h("div", { class: "mt-1" }, index.h("textarea", { onInput: (event) => this.handleTextAreaChange(event), rows: 4, ref: (el) => this.textArea = el, name: "gift-custom-text", id: "gift-custom-text", class: "s-form-control" })))), index.h("div", { class: "anime-item" }, index.h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2() }, index.h("span", null, this.nextStep)))), index.h("div", { class: "s-gifting-step-two gift-step-2", ref: el => this.step2Elems = el }, index.h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), index.h("input", { type: "text", class: "s-form-control", name: "sender_name", id: "sender_name", value: this.senderName, onInput: (event) => this.handleSenderName(event), placeholder: "" }), this.errors && this.errors['sender_name'] ?
572
+ index.h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), index.h("input", { type: "text", class: "s-form-control", name: "receiver_name", id: "receiver_name", value: "", onInput: (event) => this.handleReceiverName(event), placeholder: "" }), this.errors && this.errors['receiver.name'] ?
573
+ index.h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), index.h("salla-tel-input", { class: "s-gifting-tel-input", phone: this.receiverMobile, countryCode: this.receiverCountryCode, onPhoneEntered: (e) => this.handlePhoneInputChange(e) }), this.errors && this.errors['receiver.mobile'] ?
503
574
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.physicalProducts &&
504
- index.h("div", null, index.h("div", { class: this.errors && this.errors['receiver.country'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), index.h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, index.h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (index.h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
505
- index.h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), index.h("div", { class: this.errors && this.errors['receiver.city_id'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), index.h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities }, index.h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (index.h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
506
- index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), index.h("div", { class: "s-gifting-info anime-item opacity-0" }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo))), !this.physicalProducts && index.h("div", { class: "anime-item opacity-0" }, index.h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, index.h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), index.h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, index.h("label", { class: "s-form-label" }, this.selectSendDateAndTime), index.h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), index.h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), index.h("div", { class: "s-gifting-step-two-footer anime-item opacity-0" }, index.h("a", { href: "#!", innerHTML: arrowLeft.arrowLeft, onClick: (e) => this.goToStep1(e) }), index.h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, index.h("span", null, this.sendGift)))))
507
- ], index.h("slot", { key: 'a08d6d434a1d144bd7aa5d3b13754980083a3f4d', name: "footer" })))
575
+ index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.country'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), index.h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, index.h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (index.h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
576
+ index.h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), this.physicalProducts && this.isKSA &&
577
+ index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverRegionFieldLabel), index.h("select", { name: "region", class: "s-form-control", onChange: (event) => this.handleRegionChange(event), disabled: this.loadingRegions }, index.h("option", { value: "", selected: true }, this.loadingRegions ? salla.lang.get('common.elements.loading') : this.selectRegion), this.regions?.map((region) => (index.h("option", { value: region.id }, region.name)))), this.errors && this.errors['receiver.region'] ?
578
+ index.h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.physicalProducts &&
579
+ index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), index.h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, index.h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (index.h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
580
+ index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.physicalProducts &&
581
+ index.h("div", { class: this.step2ItemClass('s-gifting-info') }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo)), !this.physicalProducts && index.h("div", { class: this.step2ItemClass() }, index.h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, index.h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), index.h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, index.h("label", { class: "s-form-label" }, this.selectSendDateAndTime), index.h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), index.h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), index.h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, index.h("a", { href: "#!", innerHTML: arrowLeft.arrowLeft, onClick: (e) => this.goToStep1(e) }), index.h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, index.h("span", null, this.sendGift)))))
582
+ ], index.h("slot", { key: '46da7ff69a3c10b75886a23936f2f9ad8ad0e7bf', name: "footer" })))
508
583
  ];
509
584
  }
510
585
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
 
8
8
  const SallaHook = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.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-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
 
8
8
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
 
8
8
  const sallaListTileCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
 
8
8
  const SallaLocalizationModal = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
 
8
8
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
 
8
8
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var gift = require('./gift-CJ-3Yw_x.js');
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var cancel = require('./cancel-De6vslRA.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CZzG9P8m.js');
6
+ var index = require('./index-B8vh41va.js');
7
7
  var cancel = require('./cancel-De6vslRA.js');
8
8
 
9
9
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";