@salla.sa/twilight-components 2.14.362 → 2.14.364

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 (261) hide show
  1. package/dist/cjs/{filepond-P1L22XbE.js → filepond-C6YjB4Pc.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-UlbHgXAq.js → filepond-plugin-file-poster-CtNn5Jla.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DKXahANU.js → filepond-plugin-file-validate-size-PCygUua9.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DtZZQ1i3.js → filepond-plugin-file-validate-type-MZSqUcaj.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BhtrRTGp.js → filepond-plugin-image-edit-ZmpgJTIn.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B61gl4UN.js → filepond-plugin-image-exif-orientation-DxPDvRXB.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-BF6G0R6q.js → filepond-plugin-image-preview-93G9gp9A.js} +1 -1
  8. package/dist/cjs/{index-_cJXmKQz.js → index-DrduZhCQ.js} +2 -2
  9. package/dist/cjs/{index-DgFxXzJ_.js → index-DrtTVEw4.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_3.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +9 -5
  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-cart-item-offers_2.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-conditional-offer.cjs.entry.js +25 -8
  22. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-offer-modal.cjs.entry.js +18 -5
  47. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-scopes.cjs.entry.js +3 -2
  64. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-tooltip.cjs.entry.js +8 -3
  72. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  78. package/dist/cjs/twilight.cjs.js +2 -2
  79. package/dist/cjs/{vanilla-picker-CEWOqGx6.js → vanilla-picker-BKkfVwL1.js} +1 -1
  80. package/dist/collection/components/salla-breadcrumb/salla-breadcrumb.js +8 -4
  81. package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.js +24 -7
  82. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +17 -4
  83. package/dist/collection/components/salla-scopes/salla-scopes.js +2 -1
  84. package/dist/collection/components/salla-tooltip/salla-tooltip.css +13 -0
  85. package/dist/collection/components/salla-tooltip/salla-tooltip.js +26 -1
  86. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  87. package/dist/components/index.js +2 -2
  88. package/dist/components/salla-breadcrumb.js +8 -4
  89. package/dist/components/salla-conditional-offer.js +32 -9
  90. package/dist/components/salla-offer-modal.js +17 -4
  91. package/dist/components/salla-scopes.js +2 -1
  92. package/dist/components/salla-tooltip2.js +8 -2
  93. package/dist/components/salla-user-settings.js +1 -1
  94. package/dist/esm/{filepond-T-MBWI7u.js → filepond-DKDl5gHI.js} +1 -1
  95. package/dist/esm/{filepond-plugin-file-poster-CbcPfGWQ.js → filepond-plugin-file-poster-D93Cfru7.js} +1 -1
  96. package/dist/esm/{filepond-plugin-file-validate-size-DSnXG2na.js → filepond-plugin-file-validate-size-B9y0A-_Z.js} +1 -1
  97. package/dist/esm/{filepond-plugin-file-validate-type-BjZ4VftS.js → filepond-plugin-file-validate-type-DJLrAmDa.js} +1 -1
  98. package/dist/esm/{filepond-plugin-image-edit-EeitPKAi.js → filepond-plugin-image-edit-5SrR8khF.js} +1 -1
  99. package/dist/esm/{filepond-plugin-image-exif-orientation-l4wHDhla.js → filepond-plugin-image-exif-orientation-CzhglWtb.js} +1 -1
  100. package/dist/esm/{filepond-plugin-image-preview-B7W4EgCu.js → filepond-plugin-image-preview-DBxJhkxb.js} +1 -1
  101. package/dist/esm/{index-BX9zVfVp.js → index-BrjMW-AZ.js} +1 -1
  102. package/dist/esm/{index-5jnzECfn.js → index-CgYN55XK.js} +2 -2
  103. package/dist/esm/loader.js +3 -3
  104. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  105. package/dist/esm/salla-accordion_6.entry.js +9 -5
  106. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  107. package/dist/esm/salla-advertisement.entry.js +1 -1
  108. package/dist/esm/salla-alert_2.entry.js +1 -1
  109. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  110. package/dist/esm/salla-apps-icons.entry.js +1 -1
  111. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  112. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  113. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  114. package/dist/esm/salla-conditional-offer.entry.js +25 -8
  115. package/dist/esm/salla-contacts.entry.js +1 -1
  116. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  117. package/dist/esm/salla-count-down_2.entry.js +1 -1
  118. package/dist/esm/salla-custom-fields.entry.js +1 -1
  119. package/dist/esm/salla-filters-widget.entry.js +1 -1
  120. package/dist/esm/salla-filters.entry.js +1 -1
  121. package/dist/esm/salla-gifting.entry.js +1 -1
  122. package/dist/esm/salla-hook.entry.js +1 -1
  123. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  124. package/dist/esm/salla-installment.entry.js +1 -1
  125. package/dist/esm/salla-list-tile.entry.js +1 -1
  126. package/dist/esm/salla-localization-modal.entry.js +1 -1
  127. package/dist/esm/salla-login-modal.entry.js +1 -1
  128. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  129. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  130. package/dist/esm/salla-loyalty.entry.js +1 -1
  131. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  132. package/dist/esm/salla-menu.entry.js +1 -1
  133. package/dist/esm/salla-metadata.entry.js +1 -1
  134. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  135. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  136. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  137. package/dist/esm/salla-notification-item.entry.js +1 -1
  138. package/dist/esm/salla-notifications.entry.js +1 -1
  139. package/dist/esm/salla-offer-modal.entry.js +18 -5
  140. package/dist/esm/salla-offer.entry.js +1 -1
  141. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  142. package/dist/esm/salla-order-details-options.entry.js +1 -1
  143. package/dist/esm/salla-order-details.entry.js +1 -1
  144. package/dist/esm/salla-order-summary.entry.js +1 -1
  145. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  146. package/dist/esm/salla-orders.entry.js +1 -1
  147. package/dist/esm/salla-payments.entry.js +1 -1
  148. package/dist/esm/salla-placeholder.entry.js +1 -1
  149. package/dist/esm/salla-price-range.entry.js +1 -1
  150. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  151. package/dist/esm/salla-products-list.entry.js +1 -1
  152. package/dist/esm/salla-products-slider.entry.js +1 -1
  153. package/dist/esm/salla-progress-bar.entry.js +1 -1
  154. package/dist/esm/salla-quick-order.entry.js +1 -1
  155. package/dist/esm/salla-rating-modal.entry.js +1 -1
  156. package/dist/esm/salla-scopes.entry.js +3 -2
  157. package/dist/esm/salla-search.entry.js +1 -1
  158. package/dist/esm/salla-skeleton.entry.js +1 -1
  159. package/dist/esm/salla-slider.entry.js +1 -1
  160. package/dist/esm/salla-social-share.entry.js +1 -1
  161. package/dist/esm/salla-social.entry.js +1 -1
  162. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  163. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  164. package/dist/esm/salla-tooltip.entry.js +8 -3
  165. package/dist/esm/salla-trust-badges.entry.js +1 -1
  166. package/dist/esm/salla-user-menu.entry.js +1 -1
  167. package/dist/esm/salla-user-profile.entry.js +1 -1
  168. package/dist/esm/salla-user-settings.entry.js +2 -2
  169. package/dist/esm/salla-verify.entry.js +1 -1
  170. package/dist/esm/salla-wallet.entry.js +1 -1
  171. package/dist/esm/twilight.js +3 -3
  172. package/dist/esm/{vanilla-picker-CBK9MCtQ.js → vanilla-picker-Btl47fnu.js} +1 -1
  173. package/dist/twilight/{p-fb596ee6.entry.js → p-034a9829.entry.js} +1 -1
  174. package/dist/twilight/{p-ded370ff.entry.js → p-048110b6.entry.js} +1 -1
  175. package/dist/twilight/{p-f6455648.entry.js → p-05233dda.entry.js} +1 -1
  176. package/dist/twilight/{p-11406736.entry.js → p-08b2c445.entry.js} +1 -1
  177. package/dist/twilight/{p-2b3f7604.entry.js → p-0d2d4bf1.entry.js} +1 -1
  178. package/dist/twilight/{p-a3e048eb.entry.js → p-0d88be23.entry.js} +1 -1
  179. package/dist/twilight/{p-6c81c97a.entry.js → p-10551ac8.entry.js} +1 -1
  180. package/dist/twilight/p-12b86d33.entry.js +4 -0
  181. package/dist/twilight/{p-d6071576.entry.js → p-18b2b205.entry.js} +1 -1
  182. package/dist/twilight/{p-d807e0a8.entry.js → p-1a7eb8b5.entry.js} +1 -1
  183. package/dist/twilight/{p-380016a3.entry.js → p-1b90e0b0.entry.js} +1 -1
  184. package/dist/twilight/{p-d6ba8963.entry.js → p-1ec20122.entry.js} +1 -1
  185. package/dist/twilight/{p-cae6a0b9.entry.js → p-20beefaf.entry.js} +1 -1
  186. package/dist/twilight/{p-ddd680ad.entry.js → p-22bafc5e.entry.js} +1 -1
  187. package/dist/twilight/{p-cff993d0.entry.js → p-235eb6bb.entry.js} +1 -1
  188. package/dist/twilight/{p-eb520a53.entry.js → p-257b5507.entry.js} +1 -1
  189. package/dist/twilight/{p-39375221.entry.js → p-2594518e.entry.js} +1 -1
  190. package/dist/twilight/{p-405ff657.entry.js → p-296039d7.entry.js} +1 -1
  191. package/dist/twilight/{p-f988b21f.entry.js → p-2a461d47.entry.js} +1 -1
  192. package/dist/twilight/{p-50ab610f.entry.js → p-31ad6ddc.entry.js} +1 -1
  193. package/dist/twilight/{p-8413ebc6.entry.js → p-31b13945.entry.js} +1 -1
  194. package/dist/twilight/{p-21b15a48.entry.js → p-3a910561.entry.js} +1 -1
  195. package/dist/twilight/p-3aab356e.entry.js +4 -0
  196. package/dist/twilight/{p-1ab963d3.entry.js → p-3aef87fa.entry.js} +1 -1
  197. package/dist/twilight/{p-138656d9.entry.js → p-45f6a85e.entry.js} +1 -1
  198. package/dist/twilight/{p-7381c693.entry.js → p-489556db.entry.js} +1 -1
  199. package/dist/twilight/{p-1b4ba19a.entry.js → p-48ac6a0a.entry.js} +1 -1
  200. package/dist/twilight/{p-4e539dbf.entry.js → p-4afaba5f.entry.js} +1 -1
  201. package/dist/twilight/{p-cbb0b94d.entry.js → p-50090848.entry.js} +1 -1
  202. package/dist/twilight/{p-cbd68df1.entry.js → p-5593e4a3.entry.js} +1 -1
  203. package/dist/twilight/{p-0583f31e.entry.js → p-57bc544c.entry.js} +1 -1
  204. package/dist/twilight/{p-718ffc26.entry.js → p-5d42ca23.entry.js} +1 -1
  205. package/dist/twilight/{p-86234c0c.entry.js → p-72a0eba4.entry.js} +1 -1
  206. package/dist/twilight/{p-601a8e4c.entry.js → p-737bf5ea.entry.js} +1 -1
  207. package/dist/twilight/{p-40ee772a.entry.js → p-7b94d098.entry.js} +1 -1
  208. package/dist/twilight/{p-306852d8.entry.js → p-7cd6ff80.entry.js} +1 -1
  209. package/dist/twilight/{p-487377bf.entry.js → p-7cf68887.entry.js} +1 -1
  210. package/dist/twilight/{p-b8defbe8.entry.js → p-80cbf7bc.entry.js} +1 -1
  211. package/dist/twilight/{p-2ce418ff.entry.js → p-838d98d5.entry.js} +1 -1
  212. package/dist/twilight/{p-87a3036f.entry.js → p-860f725d.entry.js} +1 -1
  213. package/dist/twilight/{p-8285b1df.entry.js → p-89ce22bc.entry.js} +1 -1
  214. package/dist/twilight/{p-9a7a8a06.entry.js → p-924ee352.entry.js} +1 -1
  215. package/dist/twilight/{p-a3fc07e6.entry.js → p-92c2eb1d.entry.js} +1 -1
  216. package/dist/twilight/{p-fe4903bf.entry.js → p-98cacd53.entry.js} +1 -1
  217. package/dist/twilight/{p-3d8a09bc.entry.js → p-9cd55815.entry.js} +1 -1
  218. package/dist/twilight/{p-f01c79af.entry.js → p-9fe2c98c.entry.js} +1 -1
  219. package/dist/twilight/{p-DMtfKbmo.js → p-B3GTMJbg.js} +1 -1
  220. package/dist/twilight/p-BIoGLthd.js +9 -0
  221. package/dist/twilight/{p-BuQ91SGu.js → p-BPzrIneD.js} +1 -1
  222. package/dist/twilight/{p-BUIofLge.js → p-BX85PU_v.js} +1 -1
  223. package/dist/twilight/{p-BN_JlVVa.js → p-CBnUMxpk.js} +1 -1
  224. package/dist/twilight/p-CK0rWcfw.js +9 -0
  225. package/dist/twilight/{p-5jnzECfn.js → p-CgYN55XK.js} +2 -2
  226. package/dist/twilight/{p-DfWJQgx4.js → p-CnDmcHhx.js} +1 -1
  227. package/dist/twilight/{p-BQGFkF4P.js → p-DOwnqQpN.js} +1 -1
  228. package/dist/twilight/{p-BAqE2_0c.js → p-Dk3aAnUR.js} +1 -1
  229. package/dist/twilight/{p-9a57ab41.entry.js → p-a2249582.entry.js} +1 -1
  230. package/dist/twilight/{p-b5df9774.entry.js → p-a8e65234.entry.js} +1 -1
  231. package/dist/twilight/{p-0f4cbe40.entry.js → p-b6611b65.entry.js} +1 -1
  232. package/dist/twilight/{p-f506e6cc.entry.js → p-b701e858.entry.js} +1 -1
  233. package/dist/twilight/{p-d2973225.entry.js → p-b97da3f0.entry.js} +1 -1
  234. package/dist/twilight/{p-7e188a99.entry.js → p-c1ee3573.entry.js} +1 -1
  235. package/dist/twilight/{p-2fb61d7c.entry.js → p-c2f9ea90.entry.js} +1 -1
  236. package/dist/twilight/{p-943489a6.entry.js → p-c6145ba2.entry.js} +1 -1
  237. package/dist/twilight/{p-f68f731d.entry.js → p-c72f3795.entry.js} +1 -1
  238. package/dist/twilight/p-c86e684b.entry.js +4 -0
  239. package/dist/twilight/{p-475287b9.entry.js → p-cb974a04.entry.js} +1 -1
  240. package/dist/twilight/{p-535e3bc6.entry.js → p-ce7ec4bc.entry.js} +1 -1
  241. package/dist/twilight/{p-70348f84.entry.js → p-d018e945.entry.js} +1 -1
  242. package/dist/twilight/{p-26d00e52.entry.js → p-d5e24adc.entry.js} +1 -1
  243. package/dist/twilight/p-d7dafe1d.entry.js +4 -0
  244. package/dist/twilight/{p-e043bb34.entry.js → p-e0d8ec2f.entry.js} +1 -1
  245. package/dist/twilight/{p-8410a6aa.entry.js → p-e129ac60.entry.js} +1 -1
  246. package/dist/twilight/{p-10c9aabc.entry.js → p-f477fb8e.entry.js} +1 -1
  247. package/dist/twilight/{p-17e5c57b.entry.js → p-fbe030f2.entry.js} +1 -1
  248. package/dist/twilight/{p-100eba71.entry.js → p-fcd32f66.entry.js} +1 -1
  249. package/dist/twilight/{p-1e910afa.entry.js → p-fd59d4f2.entry.js} +1 -1
  250. package/dist/twilight/twilight.esm.js +1 -1
  251. package/dist/types/components/salla-conditional-offer/salla-conditional-offer.d.ts +2 -1
  252. package/dist/types/components/salla-scopes/salla-scopes.d.ts +1 -1
  253. package/dist/types/components/salla-tooltip/salla-tooltip.d.ts +4 -0
  254. package/dist/types/components.d.ts +10 -0
  255. package/package.json +5 -5
  256. package/dist/twilight/p-1GJKMmw_.js +0 -9
  257. package/dist/twilight/p-44dbd97b.entry.js +0 -4
  258. package/dist/twilight/p-53b7c8a3.entry.js +0 -4
  259. package/dist/twilight/p-DT5bMBxP.js +0 -9
  260. package/dist/twilight/p-b79400bc.entry.js +0 -4
  261. package/dist/twilight/p-cf2f1bc4.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var cancel = require('./cancel-De6vslRA.js');
8
8
 
9
9
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaMenuCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaMetadataCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaMultipleBundleProductCartCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaMultipleBundleProductCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaNotificationsCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var Helper = require('./Helper-DHRnzcFm.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var specialDiscount = require('./special-discount-DC2oXurL.js');
8
8
 
9
9
  var Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -80,14 +80,27 @@ const SallaOfferModal = class {
80
80
  this.productID = product_id;
81
81
  //TODO:: make sure there is only one offer
82
82
  this.hasError = false;
83
- this.modal.open();
83
+ this.modal.loading(); // Reset loading state for subsequent opens
84
84
  return await salla.api.withoutNotifier(() => salla.product.offers(product_id))
85
- .then(response => this.showOffer(response.data[0]))
85
+ .then(response => {
86
+ // Check if there are offers before opening the modal
87
+ if (!response.data || !response.data.length) {
88
+ return; // Don't open modal if no offers
89
+ }
90
+ this.modal.open();
91
+ this.showOffer(response.data[0]);
92
+ })
86
93
  .catch(e => {
87
94
  this.hasError = true;
88
95
  this.errorMessage = e.response?.data?.error?.message || e.response?.data;
96
+ this.modal.open(); // Open modal to show error
89
97
  })
90
- .finally(() => setTimeout(() => this.modal.stopLoading(), 1000));
98
+ .finally(() => {
99
+ // Only stop loading if modal was opened (either for offers or errors)
100
+ if (this.modal.visible) {
101
+ setTimeout(() => this.modal.stopLoading(), 1000);
102
+ }
103
+ });
91
104
  }
92
105
  /**
93
106
  * Show offer details
@@ -192,7 +205,7 @@ const SallaOfferModal = class {
192
205
  // '</div>';
193
206
  // }
194
207
  render() {
195
- return index.h("salla-modal", { key: '2c88abbe21015431b7e70f2369284e2f93c6fd3c', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: 'f44a915307bdc059c937d60a79a1c22a59957928', slot: 'loading' }, index.h("div", { key: '7b4b6f9572a2893aa5353a5ba2d4d62a2a5d8742', class: "s-offer-modal-skeleton" }, index.h("div", { key: 'a6b2f782cd643dc322e3f3c29a596a44fc9b1ace', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: 'a745dc619995820ac3a3bb9169b8a25cbceed9ea', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: '7d54b0aaa14742f4dfef0e2b26d48eb24f1661c5', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '042349f3c34308d070f36c30ac942935da5afebe', height: '10px', width: '30%' })), index.h("div", { key: '691f32282147054b2dd76d1e324ddd172214cbbd', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: Cart2 }))))), index.h("div", { key: '97cbe8b3ca1c8dde39a2c33995116a7a5d088594', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: 'c2f5d9d2e212e0383f6b4d159f1c9ce52c9064b7', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'c64ed16e51a4c9f302f915c025473a42d69d4490', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
208
+ return index.h("salla-modal", { key: '630ede1c6ac0df4aa55bd36597eb846df901d94e', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: 'd467615c5aaefc38cec4e40e4e5a7282466937d3', slot: 'loading' }, index.h("div", { key: 'ff17d657a94dcfe8d744e1317d8f73cab6063d11', class: "s-offer-modal-skeleton" }, index.h("div", { key: '81bf28f2785c0beb1ef1d4997ce064983e2211ec', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: 'acd8aa8be556821b4039d1b5fb6e46ef4155ac67', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: '0c6855f5423a5e5bf1caf54da4f608b95b7d3f08', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'e313bac8052684ede353852821a51befb73f52b7', height: '10px', width: '30%' })), index.h("div", { key: '4c6a675e9c07e8e2986debd8dbecc346890ce0ca', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: Cart2 }))))), index.h("div", { key: '226951e15be9aede559c4d24ba6f6690fac80e13', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: '86ae2c54c01b3e58fd31729bc6d263dfa078f7ba', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '32f30f4f5bb11405901359267ab6311604f352ed', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
196
209
  ? [index.h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: specialDiscount.SpecialDiscountIcon }), this.getOfferContent(), index.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
197
210
  index.h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
198
211
  : '', index.h("label", { class: "s-offer-modal-remember-label" }, index.h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  var PageType;
9
9
  (function (PageType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaOrderDetailsCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var check = require('./check-x3w3-gpj.js');
8
8
 
9
9
  var iconFileArchive = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var Helper = require('./Helper-DHRnzcFm.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaPaymentsCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
8
8
 
9
9
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
9
9
  var Helper = require('./Helper-DHRnzcFm.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var Helper = require('./Helper-DHRnzcFm.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaProgressBarCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var mail = require('./mail-CO8cFZH7.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.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-DHRnzcFm.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
 
9
9
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -169,7 +169,8 @@ const SallaScopees = class {
169
169
  this.placeholderContent()
170
170
  : this.mode === ModeType.DEFAULT ? this.defaultContent() : this.availabilityContent())])));
171
171
  }
172
- componentDidLoad() {
172
+ async componentDidLoad() {
173
+ await Salla.hooks.registerComponent('salla-scopes', this);
173
174
  if (!this.isOpenedBefore && this.selection == 'mandatory') {
174
175
  this.open();
175
176
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
  var Helper = require('./Helper-DHRnzcFm.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-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaSkeletonCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  /**
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var facebook = require('./facebook-DbXua6B9.js');
9
9
  var mail = require('./mail-CO8cFZH7.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var facebook = require('./facebook-DbXua6B9.js');
8
8
 
9
9
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaTabContentCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {
@@ -3,13 +3,17 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
- const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}";
8
+ const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
9
9
 
10
10
  const SallaTooltip = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
+ /**
14
+ * The theme of the tooltip (default, dark)
15
+ */
16
+ this.theme = 'default';
13
17
  this.show = false;
14
18
  this.targetElement = null;
15
19
  }
@@ -28,7 +32,8 @@ const SallaTooltip = class {
28
32
  this.targetElement = document.getElementById(this.targetId);
29
33
  }
30
34
  render() {
31
- return (index.h("div", { key: 'fed457c496e7926ded53c47e1f6f7783eb9da5a0', class: "s-tooltip-container" }, index.h("slot", { key: 'd061264ee544bb9f4ca7ec3aa03f54b84c8af1fd' }), this.show && index.h("div", { key: '5d4a158dce0b562cb6e3c9bc732f47dcb96c182a', class: "s-tooltip-item" }, this.text)));
35
+ const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
36
+ return (index.h("div", { key: '2c7bc2a1100ae31bb86f278c31b540f077384376', class: "s-tooltip-container" }, index.h("div", { key: '8869153f4eea6404d5ba8666e26b6d0c23cd4e76', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? index.h("span", null, this.text) : index.h("slot", null))));
32
37
  }
33
38
  get el() { return index.getElement(this); }
34
39
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaTrustBadgesCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
8
8
  var bellRing = require('./bell-ring-BfKPinNo.js');
9
9
  var cart = require('./cart-s-x1Fshk.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var interfaces = require('./interfaces-CRqrf5RX.js');
8
8
 
9
9
  const sallaUserProfileCss = ":host{display:block}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  var Bullhorn = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -80,7 +80,7 @@ const SallaUserSettings = class {
80
80
  await salla.profile.delete().finally(() => this.confirmationModal.close());
81
81
  }
82
82
  render() {
83
- return (index.h(index.Host, { key: '1a6622794c68aa483d9a2526d7c9568619145168', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: '4188aabfd44edb57365f5a2d1c0910f5ec3cd447', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '9f9ccbb08d666a13bf19895349a17f84fbdd3fc1' }, index.h("div", { key: '85426ad3140db951064c29c988badc23447a238d', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'd1a386387320cf907e4645240cace32ac27a1e5b', innerHTML: UserCancel })), index.h("div", { key: '1310d3547da0c2dd23e254eaf1b22f1b54956ef2', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '639ef8121549e9c119def1c8012b42647249df2c', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: 'aa8d60ad8c61d682e2114471e6168609bb4e9cb0', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '9d8d52ec4bdfb2032649ae37823070ea0902cb9d', class: "s-toggle" }, index.h("input", { key: 'f263da0f32ee2682bf442253980fe68da933cb06', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '058e908fcb2a61a239ff5ae67adaa290553feb0a', class: "s-toggle-switcher" }))))), index.h("div", { key: '2e314b366093f06ebc8e583c17d3f2f2125cd2e7', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '5e2fb8520042ccbd4301b20046369f65fb292a49' }, index.h("div", { key: '25918c6b5402504a0683f2f6931b58e3663ba4eb', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '0d24d9ecb8f7d48d1dba9eaebaad8093210f0a57', innerHTML: Bullhorn })), index.h("div", { key: 'e212afc7b1ad19e0c4976e5686bc51a847e94d61', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '3f4f72fe869f7cd6f4b4df870e6af8bd1cc32088', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '6929527d156f6da1f9ca61be60b756621b7fb321', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '1f3f3c77b25f602f3a4f461da321df2bcee2a956', class: "s-toggle" }, index.h("input", { key: 'afd4616efa19cdf04e32fd785af72a6c96ef980c', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: 'ef55c0480c58c3a77b4c28980c34b89197e2c84c', class: "s-toggle-switcher" }))))), index.h("div", { key: '7fc42b2d9ee0c58fd210b6704f96de07cf58c703', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '35bc4e485e78f57cce3fa9d324578997bf5b5346' }, index.h("div", { key: 'd2643402a5f414beb388622d96352600a58e7788', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '90a634d2ff464a26f7a09df39cf0cce6f7a1ce87', innerHTML: UserOff })), index.h("div", { key: '3376df9d4baee75e502df2b8265328910f692708', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: '1452beb1f275f905b7a1ecb7e76a4223700f7d03', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: '28bc808fbd51274f587abee141f67242100aea03', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'c54e8db52d35e9ab62e2616a0dfb3a10417fcb80', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: 'a1d52fd66ed991f8411ca17b16e37d21893a2f06', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '9119095941bd2a579b27c18db025238ca652bd6b', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: '3194c2236470a7da32bc065218162da80ea7713c', class: "s-user-settings-confirmation" }, index.h("div", { key: '718f43edf4e6a22ed23e0edaccee07fd3fa46e13', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: 'a87fcd03f6d97afc26f8410faacfcbbbc81cd8bb', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: '366186ea98a351d1f0a1f6b3dc2eeddc18e46a33', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: 'f42dc54f7903f3e48ab8c3ac8af0d57039753cf6', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
83
+ return (index.h(index.Host, { key: '85b2fe2739f6ac3c55939d3cb9c87fc404413e7f', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: 'e46be8b9cb4898c9b676ee67f0750bb654bda953', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '48f81d5a9b511c2a8baabab2aab6ad3dcfb98370' }, index.h("div", { key: '9009c4d612aea7e7a6834b90f38d03d8c95bcc84', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '03f209e6e1e1adbdb130f9b80aed30f0618dd58c', innerHTML: UserCancel })), index.h("div", { key: 'fb02ca2387806135ac3f074f0a9f30ce4bb325ca', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '1ddbd1144a59745bf26f4650eb5d050a34d42e8f', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '0ff6163a407a53ff100c8d3235212c167dbb006a', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '03b817a0bea880c9a2e056d4d8f0fb737dc0e5da', class: "s-toggle" }, index.h("input", { key: 'fcb56427c6d1ae503abdc768358e9ecfa9139dac', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: 'ff312279ede50b86446d1305217053942d05a603', class: "s-toggle-switcher" }))))), index.h("div", { key: '08cf0045a6f96ae7046d9a7c640e53a5b2cec7dc', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '1ccbcd93cf4cef91693603b5b05dbc4f3b85dc65' }, index.h("div", { key: 'bf5270f2d2cae798463ab9516c11321e96c461ff', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '3bc3927296faa253a8b91710049eca3372fb24aa', innerHTML: Bullhorn })), index.h("div", { key: '60ddca373590545a7fd03498e4ff7306a23b05a9', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '874e81d5e4727160a85bb3381fdfadcd65e774c0', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '6d2aacf7a72c4d25163913eccbb0a3e94595ec75', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'cf58459624592b34083afe61a0afc29dea03864e', class: "s-toggle" }, index.h("input", { key: 'b854ce4ca8224c8200623aad0dea4c659d89dee1', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '785a5765e36056629a23ca53e48715f91c14ee1f', class: "s-toggle-switcher" }))))), index.h("div", { key: '9f58724a8d748809b39874efaa861643a78076eb', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '12a69027f2822b6fa1e8fb641278932fc2206335' }, index.h("div", { key: '679eec74598612167c77443e5f6977991b333fd7', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '0263f8f31ad3e4ca60f2bb4bae910c143f2d36a8', innerHTML: UserOff })), index.h("div", { key: '6c0c17dfbcbb48ae3882b07b58fb0d1245a28cdb', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: '07389c3b86b3d8e821b8b9c33cf43de1ee6527db', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: 'e98736162d465c0717550eb8231b120acfafc4f6', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'd29c5023b3a35f95c94a06dc87f0e2504b3a6390', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: '6f23ca61fe62de261e7d2f616a4d5bf13fba1577', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '89073dfc15d4a1349618180c776968012e843556', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: 'f464a56ab783c4ddd51cc40e4d4dbf2f4ae21be2', class: "s-user-settings-confirmation" }, index.h("div", { key: 'e9921faaf8718ba51937006360b11d409bde4e05', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '4a71df323e6fa2b86cb85e77af438a51e9c1c5a9', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: '156249d17bdcc25b7c586af416001ec60e8b0f5b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: 'acbe44c04f77f8ccdcaeb90bfb731de399f88fc7', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
84
84
  }
85
85
  };
86
86
  SallaUserSettings.style = sallaUserSettingsCss;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
  var mail = require('./mail-CO8cFZH7.js');
8
8
 
9
9
  var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-_cJXmKQz.js');
6
+ var index = require('./index-DrduZhCQ.js');
7
7
 
8
8
  const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
9
9