@fluid-app/portal-sdk 0.1.247 → 0.1.249

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 (257) hide show
  1. package/dist/{fluid-pay-api-adapter-CJ7-I8k-.mjs → AddressAutocompleteInput-B0qLrCHN.mjs} +153 -3
  2. package/dist/AddressAutocompleteInput-B0qLrCHN.mjs.map +1 -0
  3. package/dist/{fluid-pay-api-adapter-D63KLi5c.cjs → AddressAutocompleteInput-CbpNjpwB.cjs} +157 -1
  4. package/dist/AddressAutocompleteInput-CbpNjpwB.cjs.map +1 -0
  5. package/dist/{AlertWidget-CbhrQa9Z.mjs → AlertWidget-CcIBGBik.mjs} +3 -3
  6. package/dist/{AlertWidget-CbhrQa9Z.mjs.map → AlertWidget-CcIBGBik.mjs.map} +1 -1
  7. package/dist/{AppDownloadScreen-DPnbWP5G.mjs → AppDownloadScreen-ZxlnSAZ6.mjs} +3 -3
  8. package/dist/{AppDownloadScreen-DPnbWP5G.mjs.map → AppDownloadScreen-ZxlnSAZ6.mjs.map} +1 -1
  9. package/dist/{AppNavigationContext-DNod9mf6.mjs → AppNavigationContext-BcZZMtV6.mjs} +1 -1
  10. package/dist/{AppNavigationContext-DNod9mf6.mjs.map → AppNavigationContext-BcZZMtV6.mjs.map} +1 -1
  11. package/dist/{BulletListWidget-qvZIZ_B-.mjs → BulletListWidget-mRwUgtzN.mjs} +3 -3
  12. package/dist/{BulletListWidget-qvZIZ_B-.mjs.map → BulletListWidget-mRwUgtzN.mjs.map} +1 -1
  13. package/dist/{CalendarWidget-C03VcDLQ.mjs → CalendarWidget-Cn3Ngl8_.mjs} +5 -5
  14. package/dist/{CalendarWidget-C03VcDLQ.mjs.map → CalendarWidget-Cn3Ngl8_.mjs.map} +1 -1
  15. package/dist/{CardWidget-2wcjCf2M.mjs → CardWidget-DHTqvQPa.mjs} +4 -4
  16. package/dist/{CardWidget-2wcjCf2M.mjs.map → CardWidget-DHTqvQPa.mjs.map} +1 -1
  17. package/dist/{CarouselWidget-Cn5P4FVN.mjs → CarouselWidget-C0X-nFyW.mjs} +5 -5
  18. package/dist/{CarouselWidget-Cn5P4FVN.mjs.map → CarouselWidget-C0X-nFyW.mjs.map} +1 -1
  19. package/dist/{CatchUpWidget-B9CI7lq0.mjs → CatchUpWidget-BkeZR91e.mjs} +5 -5
  20. package/dist/{CatchUpWidget-B9CI7lq0.mjs.map → CatchUpWidget-BkeZR91e.mjs.map} +1 -1
  21. package/dist/{ChartWidget-obje-Xj9.mjs → ChartWidget-Ci4Q0Ig-.mjs} +4 -4
  22. package/dist/{ChartWidget-obje-Xj9.mjs.map → ChartWidget-Ci4Q0Ig-.mjs.map} +1 -1
  23. package/dist/{ContactsScreen-DuhDzRtI.mjs → ContactsScreen-Bq8zrA8k.mjs} +11 -11
  24. package/dist/{ContactsScreen-DuhDzRtI.mjs.map → ContactsScreen-Bq8zrA8k.mjs.map} +1 -1
  25. package/dist/{ContainerWidget-DNenbORS.mjs → ContainerWidget-cbX_KEOQ.mjs} +4 -4
  26. package/dist/{ContainerWidget-DNenbORS.mjs.map → ContainerWidget-cbX_KEOQ.mjs.map} +1 -1
  27. package/dist/{CustomersScreen-BJOBG5f5.mjs → CustomersScreen-0uI1R9lm.mjs} +2 -2
  28. package/dist/{CustomersScreen-BJOBG5f5.mjs.map → CustomersScreen-0uI1R9lm.mjs.map} +1 -1
  29. package/dist/{EmbedWidget-LYnd3TZD.mjs → EmbedWidget-BwR9mICd.mjs} +3 -3
  30. package/dist/{EmbedWidget-LYnd3TZD.mjs.map → EmbedWidget-BwR9mICd.mjs.map} +1 -1
  31. package/dist/FluidProvider-DGxCCmVB.cjs +17240 -0
  32. package/dist/FluidProvider-DGxCCmVB.cjs.map +1 -0
  33. package/dist/FluidProvider-DS1QKy5j.mjs +6371 -0
  34. package/dist/FluidProvider-DS1QKy5j.mjs.map +1 -0
  35. package/dist/{ImageWidget-vNWT_O1E.mjs → ImageWidget-DmaAQZBK.mjs} +4 -4
  36. package/dist/{ImageWidget-vNWT_O1E.mjs.map → ImageWidget-DmaAQZBK.mjs.map} +1 -1
  37. package/dist/{InfiniteScrollSentinel-D0XRJi51.mjs → InfiniteScrollSentinel-BHIgNtHI.mjs} +2 -2
  38. package/dist/{InfiniteScrollSentinel-D0XRJi51.mjs.map → InfiniteScrollSentinel-BHIgNtHI.mjs.map} +1 -1
  39. package/dist/{LayoutWidget-UI5fbsx4.mjs → LayoutWidget-CxaMx1nd.mjs} +4 -4
  40. package/dist/{LayoutWidget-UI5fbsx4.mjs.map → LayoutWidget-CxaMx1nd.mjs.map} +1 -1
  41. package/dist/{LinkWidget-CO-Cxf7Z.mjs → LinkWidget-utkZrvAV.mjs} +5 -5
  42. package/dist/{LinkWidget-CO-Cxf7Z.mjs.map → LinkWidget-utkZrvAV.mjs.map} +1 -1
  43. package/dist/{ListWidget-f88QhcGI.mjs → ListWidget-CNAxW_3c.mjs} +6 -6
  44. package/dist/{ListWidget-f88QhcGI.mjs.map → ListWidget-CNAxW_3c.mjs.map} +1 -1
  45. package/dist/{MediaRenderer-DMdb_5xw.mjs → MediaRenderer-13Jlf38P.mjs} +1 -1
  46. package/dist/{MediaRenderer-DMdb_5xw.mjs.map → MediaRenderer-13Jlf38P.mjs.map} +1 -1
  47. package/dist/{MessagingScreen-DF0Xmv8w.mjs → MessagingScreen-CJ_9yIHK.mjs} +9 -12
  48. package/dist/{MessagingScreen-DF0Xmv8w.mjs.map → MessagingScreen-CJ_9yIHK.mjs.map} +1 -1
  49. package/dist/{MessagingScreen-CYUeWbtR.cjs → MessagingScreen-DeYSVcMd.cjs} +2 -2
  50. package/dist/{MessagingScreen-CYUeWbtR.cjs.map → MessagingScreen-DeYSVcMd.cjs.map} +1 -1
  51. package/dist/{MessagingScreen-13jwskAp.cjs → MessagingScreen-FHwytr8B.cjs} +3 -3
  52. package/dist/MessagingScreen-s7CL9vPN.mjs +47 -0
  53. package/dist/{MySiteScreen-CK84vXa9.mjs → MySiteScreen-DX8tBz8Z.mjs} +7 -7
  54. package/dist/{MySiteScreen-CK84vXa9.mjs.map → MySiteScreen-DX8tBz8Z.mjs.map} +1 -1
  55. package/dist/{MySiteWidget-CQNASVaF.mjs → MySiteWidget-C0n9cSw7.mjs} +5 -5
  56. package/dist/{MySiteWidget-CQNASVaF.mjs.map → MySiteWidget-C0n9cSw7.mjs.map} +1 -1
  57. package/dist/{NestedWidget-RuyrOrFn.mjs → NestedWidget-BMKtDP_4.mjs} +6 -6
  58. package/dist/{NestedWidget-RuyrOrFn.mjs.map → NestedWidget-BMKtDP_4.mjs.map} +1 -1
  59. package/dist/{OrdersScreen-b-ZC4_NI.mjs → OrdersScreen-B3vtWt8_.mjs} +7 -7
  60. package/dist/{OrdersScreen-b-ZC4_NI.mjs.map → OrdersScreen-B3vtWt8_.mjs.map} +1 -1
  61. package/dist/{PointsWidget-BwA6aGVZ.mjs → PointsWidget-CaWklfIH.mjs} +5 -5
  62. package/dist/{PointsWidget-BwA6aGVZ.mjs.map → PointsWidget-CaWklfIH.mjs.map} +1 -1
  63. package/dist/{PortalProductsApiProvider-BFdHFvog.mjs → PortalProductsApiProvider-CNAu2pAb.mjs} +2 -2
  64. package/dist/{PortalProductsApiProvider-BFdHFvog.mjs.map → PortalProductsApiProvider-CNAu2pAb.mjs.map} +1 -1
  65. package/dist/{PortalTenantClientProvider-CjJzBCTL.mjs → PortalTenantClientProvider-Bni6J3KS.mjs} +1 -1
  66. package/dist/{PortalTenantClientProvider-CjJzBCTL.mjs.map → PortalTenantClientProvider-Bni6J3KS.mjs.map} +1 -1
  67. package/dist/{ProfileScreen-B-gHp1AD.cjs → ProfileScreen-BJzW-gC_.cjs} +4 -4
  68. package/dist/{ProfileScreen-OmqrjseW.cjs → ProfileScreen-DucZeLWI.cjs} +40 -20
  69. package/dist/ProfileScreen-DucZeLWI.cjs.map +1 -0
  70. package/dist/{ProfileScreen-CbnDuoYA.mjs → ProfileScreen-IPuXlf9V.mjs} +33 -18
  71. package/dist/ProfileScreen-IPuXlf9V.mjs.map +1 -0
  72. package/dist/ProfileScreen-m3fTsHyw.mjs +48 -0
  73. package/dist/{QuickLinksWidget-CJqwiBJ7.mjs → QuickLinksWidget-D0b33oyn.mjs} +3 -3
  74. package/dist/{QuickLinksWidget-CJqwiBJ7.mjs.map → QuickLinksWidget-D0b33oyn.mjs.map} +1 -1
  75. package/dist/{QuickShareWidget-DKE7Tba2.mjs → QuickShareWidget-DJ0Y71om.mjs} +3 -3
  76. package/dist/{QuickShareWidget-DKE7Tba2.mjs.map → QuickShareWidget-DJ0Y71om.mjs.map} +1 -1
  77. package/dist/{RecentActivityWidget-D1AlZgfV.mjs → RecentActivityWidget-Rpj33TiN.mjs} +5 -5
  78. package/dist/{RecentActivityWidget-D1AlZgfV.mjs.map → RecentActivityWidget-Rpj33TiN.mjs.map} +1 -1
  79. package/dist/{ScreenHeaderContext-Cemdo7bM.mjs → ScreenHeaderContext-4WYXIqQ5.mjs} +1 -1
  80. package/dist/{ScreenHeaderContext-Cemdo7bM.mjs.map → ScreenHeaderContext-4WYXIqQ5.mjs.map} +1 -1
  81. package/dist/{ScreenRenderer-Cl2aAJ7D.mjs → ScreenRenderer-BQal-fnZ.mjs} +2 -2
  82. package/dist/{ScreenRenderer-Cl2aAJ7D.mjs.map → ScreenRenderer-BQal-fnZ.mjs.map} +1 -1
  83. package/dist/{SearchSort-CokMCrhy.mjs → SearchSort-B5Jrk5lW.mjs} +2 -2
  84. package/dist/{SearchSort-CokMCrhy.mjs.map → SearchSort-B5Jrk5lW.mjs.map} +1 -1
  85. package/dist/{SeparatorWidget-gVlyr1MV.mjs → SeparatorWidget-Bgzsloji.mjs} +3 -3
  86. package/dist/{SeparatorWidget-gVlyr1MV.mjs.map → SeparatorWidget-Bgzsloji.mjs.map} +1 -1
  87. package/dist/ShareablesScreen-Cd8chxk4.mjs +13 -0
  88. package/dist/{ShareablesScreen-BZZ-RT71.mjs → ShareablesScreen-NMoZH9ed.mjs} +14 -18
  89. package/dist/{ShareablesScreen-BZZ-RT71.mjs.map → ShareablesScreen-NMoZH9ed.mjs.map} +1 -1
  90. package/dist/ShopScreen-BvSiWgsJ.mjs +47 -0
  91. package/dist/{ShopScreen-DxTDjfkY.cjs → ShopScreen-CM3DDvLt.cjs} +223 -62
  92. package/dist/ShopScreen-CM3DDvLt.cjs.map +1 -0
  93. package/dist/{ShopScreen-IhDmoEKQ.cjs → ShopScreen-Cz0dbkhp.cjs} +3 -3
  94. package/dist/{ShopScreen-DBInpm5S.mjs → ShopScreen-DJANOOka.mjs} +231 -75
  95. package/dist/ShopScreen-DJANOOka.mjs.map +1 -0
  96. package/dist/{SpacerWidget-BY7ywGP4.mjs → SpacerWidget-C1byII28.mjs} +2 -2
  97. package/dist/{SpacerWidget-BY7ywGP4.mjs.map → SpacerWidget-C1byII28.mjs.map} +1 -1
  98. package/dist/{SubscriptionsScreen-dhnfYn4L.cjs → SubscriptionsScreen-BgKpfzi0.cjs} +3 -3
  99. package/dist/{SubscriptionsScreen-B88_dLfE.cjs → SubscriptionsScreen-DCUwHrdm.cjs} +22 -32
  100. package/dist/SubscriptionsScreen-DCUwHrdm.cjs.map +1 -0
  101. package/dist/{SubscriptionsScreen-DK9-h3Cz.mjs → SubscriptionsScreen-rZxqb0eR.mjs} +21 -31
  102. package/dist/{SubscriptionsScreen-DK9-h3Cz.mjs.map → SubscriptionsScreen-rZxqb0eR.mjs.map} +1 -1
  103. package/dist/{TableWidget-dfUvhH0S.mjs → TableWidget-CNCHDRrR.mjs} +6 -6
  104. package/dist/{TableWidget-dfUvhH0S.mjs.map → TableWidget-CNCHDRrR.mjs.map} +1 -1
  105. package/dist/{TextWidget-BteaMIsX.mjs → TextWidget-CfLUQr6V.mjs} +3 -3
  106. package/dist/{TextWidget-BteaMIsX.mjs.map → TextWidget-CfLUQr6V.mjs.map} +1 -1
  107. package/dist/{ToDoWidget-BciI_D70.mjs → ToDoWidget-C3lh-3SB.mjs} +7 -7
  108. package/dist/{ToDoWidget-BciI_D70.mjs.map → ToDoWidget-C3lh-3SB.mjs.map} +1 -1
  109. package/dist/{UpgradeScreen-X6j0_625.mjs → UpgradeScreen-D_CM1n1M.mjs} +3 -3
  110. package/dist/{UpgradeScreen-X6j0_625.mjs.map → UpgradeScreen-D_CM1n1M.mjs.map} +1 -1
  111. package/dist/{VideoWidget-Dj9wue7j.mjs → VideoWidget-DKhqN_Rx.mjs} +4 -4
  112. package/dist/{VideoWidget-Dj9wue7j.mjs.map → VideoWidget-DKhqN_Rx.mjs.map} +1 -1
  113. package/dist/{WidgetInteractionContext-B1mELhQ_.mjs → WidgetInteractionContext-pLGNr8_2.mjs} +1 -1
  114. package/dist/{WidgetInteractionContext-B1mELhQ_.mjs.map → WidgetInteractionContext-pLGNr8_2.mjs.map} +1 -1
  115. package/dist/api-context-3GmfqvIB.mjs +22 -0
  116. package/dist/api-context-3GmfqvIB.mjs.map +1 -0
  117. package/dist/api-context-BkBvyFVK.cjs +46 -0
  118. package/dist/api-context-BkBvyFVK.cjs.map +1 -0
  119. package/dist/{components-CjgEvBYG.mjs → components-D2h9u3tH.mjs} +3 -3
  120. package/dist/{components-CjgEvBYG.mjs.map → components-D2h9u3tH.mjs.map} +1 -1
  121. package/dist/de-CH__cDep.mjs +6 -0
  122. package/dist/de-CH__cDep.mjs.map +1 -0
  123. package/dist/de-CqKH8kwp.cjs +12 -0
  124. package/dist/de-CqKH8kwp.cjs.map +1 -0
  125. package/dist/{dist-CTLDCXCc.mjs → dist-Di1hciu4.mjs} +1 -1
  126. package/dist/{dist-CTLDCXCc.mjs.map → dist-Di1hciu4.mjs.map} +1 -1
  127. package/dist/el-CIrAhB-W.cjs +12 -0
  128. package/dist/el-CIrAhB-W.cjs.map +1 -0
  129. package/dist/el-De9QZiqh.mjs +6 -0
  130. package/dist/el-De9QZiqh.mjs.map +1 -0
  131. package/dist/{error-state-DYzHx8tt.mjs → error-state--Z2OlDFr.mjs} +1 -1
  132. package/dist/{error-state-DYzHx8tt.mjs.map → error-state--Z2OlDFr.mjs.map} +1 -1
  133. package/dist/es-4Wsa13tV.cjs +12 -0
  134. package/dist/es-4Wsa13tV.cjs.map +1 -0
  135. package/dist/{es-BXxGlAp6.mjs → es-C5dhBJ9E.mjs} +4 -39
  136. package/dist/{es-BXxGlAp6.mjs.map → es-C5dhBJ9E.mjs.map} +1 -1
  137. package/dist/es-CZLh7tET.mjs +6 -0
  138. package/dist/es-CZLh7tET.mjs.map +1 -0
  139. package/dist/fr-BDKPrKKW.cjs +12 -0
  140. package/dist/fr-BDKPrKKW.cjs.map +1 -0
  141. package/dist/fr-CIfM_0kG.mjs +6 -0
  142. package/dist/fr-CIfM_0kG.mjs.map +1 -0
  143. package/dist/he-5dq6lV2h.cjs +12 -0
  144. package/dist/he-5dq6lV2h.cjs.map +1 -0
  145. package/dist/he-BTK1iEJE.mjs +6 -0
  146. package/dist/he-BTK1iEJE.mjs.map +1 -0
  147. package/dist/hu-CrZGIbz9.mjs +6 -0
  148. package/dist/hu-CrZGIbz9.mjs.map +1 -0
  149. package/dist/hu-Dpgriy5N.cjs +12 -0
  150. package/dist/hu-Dpgriy5N.cjs.map +1 -0
  151. package/dist/id-B-LeCfHj.mjs +6 -0
  152. package/dist/id-B-LeCfHj.mjs.map +1 -0
  153. package/dist/id-Ba-0RT7y.cjs +12 -0
  154. package/dist/id-Ba-0RT7y.cjs.map +1 -0
  155. package/dist/index.cjs +56 -19
  156. package/dist/index.cjs.map +1 -1
  157. package/dist/index.d.cts +8 -8
  158. package/dist/index.d.cts.map +1 -1
  159. package/dist/index.d.mts +8 -8
  160. package/dist/index.d.mts.map +1 -1
  161. package/dist/index.mjs +127 -90
  162. package/dist/index.mjs.map +1 -1
  163. package/dist/it-CaxIV-R4.cjs +12 -0
  164. package/dist/it-CaxIV-R4.cjs.map +1 -0
  165. package/dist/it-rIkFmAF3.mjs +6 -0
  166. package/dist/it-rIkFmAF3.mjs.map +1 -0
  167. package/dist/ja--J_bhk3I.mjs +6 -0
  168. package/dist/ja--J_bhk3I.mjs.map +1 -0
  169. package/dist/ja-Lcg_Qqtj.cjs +12 -0
  170. package/dist/ja-Lcg_Qqtj.cjs.map +1 -0
  171. package/dist/ko-B2fghWQ9.mjs +6 -0
  172. package/dist/ko-B2fghWQ9.mjs.map +1 -0
  173. package/dist/ko-CFu0TjJO.cjs +12 -0
  174. package/dist/ko-CFu0TjJO.cjs.map +1 -0
  175. package/dist/nl-DR9IRXGT.cjs +12 -0
  176. package/dist/nl-DR9IRXGT.cjs.map +1 -0
  177. package/dist/nl-KgHmrRKy.mjs +6 -0
  178. package/dist/nl-KgHmrRKy.mjs.map +1 -0
  179. package/dist/{order-status-badge-xuJ732eH.mjs → order-status-badge-CjX7Qxdk.mjs} +4 -4
  180. package/dist/{order-status-badge-xuJ732eH.mjs.map → order-status-badge-CjX7Qxdk.mjs.map} +1 -1
  181. package/dist/{parse-task-body-DEmYvdNM.mjs → parse-task-body-BK1v2806.mjs} +1 -1
  182. package/dist/{parse-task-body-DEmYvdNM.mjs.map → parse-task-body-BK1v2806.mjs.map} +1 -1
  183. package/dist/pl-BJvDPvs3.mjs +6 -0
  184. package/dist/pl-BJvDPvs3.mjs.map +1 -0
  185. package/dist/pl-DSGSRDM2.cjs +12 -0
  186. package/dist/pl-DSGSRDM2.cjs.map +1 -0
  187. package/dist/{portal_tenant_content-CQQfNOTc.mjs → portal_tenant_content-DPLnrtOG.mjs} +38 -2
  188. package/dist/{portal_tenant_content-CQQfNOTc.mjs.map → portal_tenant_content-DPLnrtOG.mjs.map} +1 -1
  189. package/dist/pt-CmZpxftX.mjs +6 -0
  190. package/dist/pt-CmZpxftX.mjs.map +1 -0
  191. package/dist/pt-Pz_D1HUz.cjs +12 -0
  192. package/dist/pt-Pz_D1HUz.cjs.map +1 -0
  193. package/dist/{purify.es-DzInNL5X.mjs → purify.es-Ba5Ug4-y.mjs} +1 -1
  194. package/dist/{purify.es-DzInNL5X.mjs.map → purify.es-Ba5Ug4-y.mjs.map} +1 -1
  195. package/dist/{query-keys-8SVs82aF.mjs → query-keys-DXle2tm8.mjs} +1 -1
  196. package/dist/{query-keys-8SVs82aF.mjs.map → query-keys-DXle2tm8.mjs.map} +1 -1
  197. package/dist/{registries-Ct8o2YRe.mjs → registries-kvRRUHcO.mjs} +1 -1
  198. package/dist/{registries-Ct8o2YRe.mjs.map → registries-kvRRUHcO.mjs.map} +1 -1
  199. package/dist/{registry-context-CTHUCfEc.mjs → registry-context-Bc-2fQnr.mjs} +1 -1
  200. package/dist/{registry-context-CTHUCfEc.mjs.map → registry-context-Bc-2fQnr.mjs.map} +1 -1
  201. package/dist/ro-BoGeZTac.cjs +12 -0
  202. package/dist/ro-BoGeZTac.cjs.map +1 -0
  203. package/dist/ro-C_4rHVWp.mjs +6 -0
  204. package/dist/ro-C_4rHVWp.mjs.map +1 -0
  205. package/dist/ru-B0lzoBye.mjs +6 -0
  206. package/dist/ru-B0lzoBye.mjs.map +1 -0
  207. package/dist/ru-Cd7LUmcu.cjs +12 -0
  208. package/dist/ru-Cd7LUmcu.cjs.map +1 -0
  209. package/dist/{scroll-arrows-CqDxJ0Pe.mjs → scroll-arrows-D90Miaz_.mjs} +1 -1
  210. package/dist/{scroll-arrows-CqDxJ0Pe.mjs.map → scroll-arrows-D90Miaz_.mjs.map} +1 -1
  211. package/dist/{sortable.esm-C8riJ_zv.mjs → sortable.esm-NmKxJoc7.mjs} +1 -1
  212. package/dist/{sortable.esm-C8riJ_zv.mjs.map → sortable.esm-NmKxJoc7.mjs.map} +1 -1
  213. package/dist/{src-C9vtVoJs.mjs → src-CSFJnkfN.mjs} +1 -1
  214. package/dist/{src-C9vtVoJs.mjs.map → src-CSFJnkfN.mjs.map} +1 -1
  215. package/dist/{src-pgBBOcJa.mjs → src-KINQ78Nj.mjs} +1 -1
  216. package/dist/{src-pgBBOcJa.mjs.map → src-KINQ78Nj.mjs.map} +1 -1
  217. package/dist/th-DwLAQd0u.cjs +12 -0
  218. package/dist/th-DwLAQd0u.cjs.map +1 -0
  219. package/dist/th-QhoPGZ6C.mjs +6 -0
  220. package/dist/th-QhoPGZ6C.mjs.map +1 -0
  221. package/dist/tl-Dsfp243U.mjs +6 -0
  222. package/dist/tl-Dsfp243U.mjs.map +1 -0
  223. package/dist/tl-DwAVpDyB.cjs +12 -0
  224. package/dist/tl-DwAVpDyB.cjs.map +1 -0
  225. package/dist/tr-BFbCmHQZ.cjs +12 -0
  226. package/dist/tr-BFbCmHQZ.cjs.map +1 -0
  227. package/dist/tr-BiolaqkO.mjs +6 -0
  228. package/dist/tr-BiolaqkO.mjs.map +1 -0
  229. package/dist/{use-account-DsTz5BlS.mjs → use-account-CGaDP8xd.mjs} +2 -2
  230. package/dist/{use-account-DsTz5BlS.mjs.map → use-account-CGaDP8xd.mjs.map} +1 -1
  231. package/dist/{use-store-C2KBIS41.mjs → use-store-BVCCB9kx.mjs} +1 -1
  232. package/dist/{use-store-C2KBIS41.mjs.map → use-store-BVCCB9kx.mjs.map} +1 -1
  233. package/dist/zh_CN-Cn-k18Y5.cjs +12 -0
  234. package/dist/zh_CN-Cn-k18Y5.cjs.map +1 -0
  235. package/dist/zh_CN-DcGf3QsR.mjs +6 -0
  236. package/dist/zh_CN-DcGf3QsR.mjs.map +1 -0
  237. package/dist/zh_TW-CIUhIeJP.cjs +12 -0
  238. package/dist/zh_TW-CIUhIeJP.cjs.map +1 -0
  239. package/dist/zh_TW-DFw2O0OX.mjs +6 -0
  240. package/dist/zh_TW-DFw2O0OX.mjs.map +1 -0
  241. package/package.json +17 -14
  242. package/dist/FluidProvider-7J0MNPAs.cjs +0 -2337
  243. package/dist/FluidProvider-7J0MNPAs.cjs.map +0 -1
  244. package/dist/FluidProvider-SBBG4bwO.mjs +0 -2238
  245. package/dist/FluidProvider-SBBG4bwO.mjs.map +0 -1
  246. package/dist/ProfileScreen-CbnDuoYA.mjs.map +0 -1
  247. package/dist/ProfileScreen-OmqrjseW.cjs.map +0 -1
  248. package/dist/ShopScreen-DBInpm5S.mjs.map +0 -1
  249. package/dist/ShopScreen-DxTDjfkY.cjs.map +0 -1
  250. package/dist/SubscriptionsScreen-B88_dLfE.cjs.map +0 -1
  251. package/dist/fluid-pay-api-adapter-CJ7-I8k-.mjs.map +0 -1
  252. package/dist/fluid-pay-api-adapter-D63KLi5c.cjs.map +0 -1
  253. package/dist/pay-api-context-CqKGSXnP.mjs +0 -13
  254. package/dist/pay-api-context-CqKGSXnP.mjs.map +0 -1
  255. package/dist/pay-api-context-_o5ZEXYt.cjs +0 -25
  256. package/dist/pay-api-context-_o5ZEXYt.cjs.map +0 -1
  257. /package/dist/{fields-B_iAnFXl.mjs → fields-FTgjMOdh.mjs} +0 -0
@@ -0,0 +1,47 @@
1
+ import "./FluidProvider-DS1QKy5j.mjs";
2
+ import "./ScreenRenderer-BQal-fnZ.mjs";
3
+ import "./account-api-context-BIZ_aibJ.mjs";
4
+ import "./store-api-context-C1lXT_3d.mjs";
5
+ import "./api-context-3GmfqvIB.mjs";
6
+ import "./mysite-api-context-5-qpKHWA.mjs";
7
+ import "./countries-api-context-CMh13cfX.mjs";
8
+ import "./src-CSFJnkfN.mjs";
9
+ import "./registry-context-Bc-2fQnr.mjs";
10
+ import "./WidgetInteractionContext-pLGNr8_2.mjs";
11
+ import "./EmbedWidget-BwR9mICd.mjs";
12
+ import "./error-state--Z2OlDFr.mjs";
13
+ import "./LayoutWidget-CxaMx1nd.mjs";
14
+ import "./registries-kvRRUHcO.mjs";
15
+ import "./fields-FTgjMOdh.mjs";
16
+ import "./TextWidget-CfLUQr6V.mjs";
17
+ import "./AlertWidget-CcIBGBik.mjs";
18
+ import "./BulletListWidget-mRwUgtzN.mjs";
19
+ import "./CalendarWidget-Cn3Ngl8_.mjs";
20
+ import "./CardWidget-DHTqvQPa.mjs";
21
+ import "./purify.es-Ba5Ug4-y.mjs";
22
+ import "./MediaRenderer-13Jlf38P.mjs";
23
+ import "./CarouselWidget-C0X-nFyW.mjs";
24
+ import "./CatchUpWidget-BkeZR91e.mjs";
25
+ import "./src-KINQ78Nj.mjs";
26
+ import "./ChartWidget-Ci4Q0Ig-.mjs";
27
+ import "./ContainerWidget-cbX_KEOQ.mjs";
28
+ import "./ImageWidget-DmaAQZBK.mjs";
29
+ import "./LinkWidget-utkZrvAV.mjs";
30
+ import "./ListWidget-CNAxW_3c.mjs";
31
+ import "./MySiteWidget-C0n9cSw7.mjs";
32
+ import "./scroll-arrows-D90Miaz_.mjs";
33
+ import "./NestedWidget-BMKtDP_4.mjs";
34
+ import "./PointsWidget-CaWklfIH.mjs";
35
+ import "./QuickLinksWidget-D0b33oyn.mjs";
36
+ import "./QuickShareWidget-DJ0Y71om.mjs";
37
+ import "./RecentActivityWidget-Rpj33TiN.mjs";
38
+ import "./SeparatorWidget-Bgzsloji.mjs";
39
+ import "./SpacerWidget-C1byII28.mjs";
40
+ import "./TableWidget-CNCHDRrR.mjs";
41
+ import "./ToDoWidget-C3lh-3SB.mjs";
42
+ import "./VideoWidget-DKhqN_Rx.mjs";
43
+ import "./ScreenHeaderContext-4WYXIqQ5.mjs";
44
+ import "./SearchSort-B5Jrk5lW.mjs";
45
+ import "./PortalProductsApiProvider-CNAu2pAb.mjs";
46
+ import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-DJANOOka.mjs";
47
+ export { ShopScreen, shopScreenPropertySchema };
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-9hOWP6kD.cjs");
2
- const require_FluidProvider = require("./FluidProvider-7J0MNPAs.cjs");
2
+ const require_FluidProvider = require("./FluidProvider-DGxCCmVB.cjs");
3
3
  const require_src = require("./src-uhf6Szlw.cjs");
4
4
  const require_ScreenHeaderContext = require("./ScreenHeaderContext-oIu5Bvhs.cjs");
5
5
  const require_use_store = require("./use-store-D2S1FywW.cjs");
@@ -12,6 +12,26 @@ let _tanstack_react_query = require("@tanstack/react-query");
12
12
  let react_jsx_runtime = require("react/jsx-runtime");
13
13
  let lucide_react = require("lucide-react");
14
14
  let react_dom = require("react-dom");
15
+ //#region ../../platform/i18n/src/translation-api-context-factory.ts
16
+ function createTranslationContext(domainName) {
17
+ const Ctx = (0, react.createContext)(null);
18
+ function useTranslation() {
19
+ const api = (0, react.useContext)(Ctx);
20
+ if (!api) throw new Error(`use${domainName}Translation must be used within a ${domainName}TranslationProvider`);
21
+ return api;
22
+ }
23
+ return {
24
+ Context: Ctx,
25
+ Provider: Ctx.Provider,
26
+ useTranslation
27
+ };
28
+ }
29
+ //#endregion
30
+ //#region ../../shop/core/src/translation-api-context.ts
31
+ const { Provider, useTranslation } = createTranslationContext("Shop");
32
+ const ShopTranslationProvider = Provider;
33
+ const useShopTranslation = useTranslation;
34
+ //#endregion
15
35
  //#region ../../shop/ui/src/utils/media-helpers.ts
16
36
  const VIDEO_EXTENSIONS = [
17
37
  ".mp4",
@@ -73,10 +93,11 @@ function formatPortalPrice(price, currency) {
73
93
  }
74
94
  function ProductCardContent({ product, countryIso, companyLogoUrl, renderImage = defaultRenderImage$1 }) {
75
95
  const [isHovered, setIsHovered] = (0, react.useState)(false);
96
+ const { t } = useShopTranslation();
76
97
  const isPortal = isPortalProduct(product);
77
98
  const coverImage = isPortal ? getPortalProductCoverImage(product) : require_PortalProductsApiProvider.getProductImageUrl(product);
78
99
  const isVideo = isVideoUrl(coverImage);
79
- const productName = isPortal ? product.name || "No title available" : product.title || "No title available";
100
+ const productName = isPortal ? product.name || t("no_title") : product.title || t("no_title");
80
101
  let repPrice = null;
81
102
  let price = null;
82
103
  if (isPortal) if (product.wholesale_price) {
@@ -329,18 +350,18 @@ function QuantitySelector({ quantity, setQuantity }) {
329
350
  //#endregion
330
351
  //#region ../../shop/ui/src/components/purchase-options.tsx
331
352
  function PurchaseOptions({ showBuyOnce, showSubscribe, isSubscribe, onSubscribeChange, product_subscription_plans, selectedSubscriptionPlan, onSubscriptionPlanChange, userSelectedSubscribe, wholesalePrice, wholesaleSubscriptionPrice }) {
353
+ const { t } = useShopTranslation();
332
354
  const defaultSubscriptionPlan = (0, react.useMemo)(() => {
333
355
  if (!product_subscription_plans?.length) return null;
334
356
  return product_subscription_plans.find((plan) => plan.default) || product_subscription_plans[0];
335
357
  }, [product_subscription_plans]);
336
358
  const currentSubscriptionPlan = selectedSubscriptionPlan || defaultSubscriptionPlan;
337
- const savingsText = (0, react.useMemo)(() => {
359
+ const savingsPercentage = (0, react.useMemo)(() => {
338
360
  if (wholesalePrice === void 0 || wholesaleSubscriptionPrice === void 0 || wholesalePrice <= 0) return null;
339
361
  const savings = wholesalePrice - wholesaleSubscriptionPrice;
340
362
  if (savings <= 0) return null;
341
- const savingsPercentage = Math.round(savings / wholesalePrice * 100);
342
- if (savingsPercentage <= 0) return null;
343
- return `Save ${savingsPercentage}%`;
363
+ const pct = Math.round(savings / wholesalePrice * 100);
364
+ return pct > 0 ? pct : null;
344
365
  }, [wholesalePrice, wholesaleSubscriptionPrice]);
345
366
  const formatSubscriptionPlan = (plan) => {
346
367
  return `${plan.subscription_plan.billing_interval} ${plan.subscription_plan.billing_interval_unit} (${plan.subscription_plan.name})`;
@@ -374,22 +395,22 @@ function PurchaseOptions({ showBuyOnce, showSubscribe, isSubscribe, onSubscribeC
374
395
  className: `flex items-center justify-center [&_svg]:h-1.5 [&_svg]:w-1.5 [&_svg]:fill-white ${isSubscribe ? "border-contrast bg-contrast text-foreground" : "border-border bg-background text-muted-foreground"}`
375
396
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
376
397
  className: "flex-1",
377
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
398
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
378
399
  className: "text-foreground mb-1 text-sm leading-tight font-medium",
379
- children: ["Subscribe", savingsText ? ` & ${savingsText}` : ""]
400
+ children: savingsPercentage ? t("subscribe_and_save", { percentage: savingsPercentage }) : t("subscribe")
380
401
  }), product_subscription_plans?.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
381
402
  className: "bg-muted mt-3 rounded-lg p-2",
382
403
  onClick: (e) => e.stopPropagation(),
383
404
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
384
405
  className: "text-foreground mb-1 text-xs font-medium",
385
- children: "Delivery Frequency:"
406
+ children: t("delivery_frequency")
386
407
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src.Select, {
387
408
  value: currentSubscriptionPlan?.subscription_plan.id.toString() || "",
388
409
  onValueChange: handleSubscriptionPlanChange,
389
410
  disabled: product_subscription_plans?.length === 1,
390
411
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectTrigger, {
391
412
  className: "bg-background text-foreground! w-full text-xs",
392
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectValue, { placeholder: "Select delivery schedule" })
413
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectValue, { placeholder: t("select_delivery_schedule") })
393
414
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectContent, { children: subscriptionPlanOptions.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectItem, {
394
415
  value: option.value,
395
416
  children: option.label
@@ -409,7 +430,7 @@ function PurchaseOptions({ showBuyOnce, showSubscribe, isSubscribe, onSubscribeC
409
430
  className: `flex items-center justify-center [&_svg]:h-1.5 [&_svg]:w-1.5 [&_svg]:fill-white ${!isSubscribe ? "border-contrast bg-contrast text-foreground" : "border-border bg-background text-muted-foreground"}`
410
431
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
411
432
  className: "text-foreground mb-1 text-sm leading-tight font-medium",
412
- children: "One-Time Purchase"
433
+ children: t("one_time_purchase")
413
434
  })]
414
435
  })
415
436
  })]
@@ -425,32 +446,6 @@ function sanitizeHtml(html) {
425
446
  for (const el of doc.querySelectorAll("*")) for (const attr of [...el.attributes]) if (attr.name.toLowerCase().startsWith("on") || attr.value.toLowerCase().trim().startsWith("javascript:")) el.removeAttribute(attr.name);
426
447
  return doc.body.innerHTML;
427
448
  }
428
- const SORT_OPTIONS = [
429
- {
430
- id: "title_asc",
431
- label: "Title (A-Z)"
432
- },
433
- {
434
- id: "title_desc",
435
- label: "Title (Z-A)"
436
- },
437
- {
438
- id: "price_asc",
439
- label: "Price (Low to High)"
440
- },
441
- {
442
- id: "price_desc",
443
- label: "Price (High to Low)"
444
- },
445
- {
446
- id: "created_at_desc",
447
- label: "Recently Updated"
448
- },
449
- {
450
- id: "created_at_asc",
451
- label: "Oldest Updated"
452
- }
453
- ];
454
449
  const GRID_CLASS = "grid grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-4";
455
450
  function SkeletonGrid({ count = 8 }) {
456
451
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -468,6 +463,7 @@ function SkeletonGrid({ count = 8 }) {
468
463
  }
469
464
  function ProductListing({ companyLogoUrl, renderImage, onSelectProduct, cartButton }) {
470
465
  const observerTarget = (0, react.useRef)(null);
466
+ const { t } = useShopTranslation();
471
467
  const catalog = require_PortalProductsApiProvider.usePortalProductCatalog({ perPage: PAGE_SIZE });
472
468
  const { data, isLoading, isFetchingNextPage, hasNextPage, fetchNextPage, error, isFetched } = (0, _tanstack_react_query.useInfiniteQuery)({
473
469
  queryKey: catalog.queryKey,
@@ -493,6 +489,32 @@ function ProductListing({ companyLogoUrl, renderImage, onSelectProduct, cartButt
493
489
  return () => observer.disconnect();
494
490
  }, [handleIntersect]);
495
491
  const allProducts = data?.pages.flatMap((page) => page.products) ?? [];
492
+ const sortOptions = (0, react.useMemo)(() => [
493
+ {
494
+ id: "title_asc",
495
+ label: t("sort_title_asc")
496
+ },
497
+ {
498
+ id: "title_desc",
499
+ label: t("sort_title_desc")
500
+ },
501
+ {
502
+ id: "price_asc",
503
+ label: t("sort_price_asc")
504
+ },
505
+ {
506
+ id: "price_desc",
507
+ label: t("sort_price_desc")
508
+ },
509
+ {
510
+ id: "created_at_desc",
511
+ label: t("sort_recent")
512
+ },
513
+ {
514
+ id: "created_at_asc",
515
+ label: t("sort_oldest")
516
+ }
517
+ ], [t]);
496
518
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
497
519
  className: "mx-auto px-2 md:px-10",
498
520
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -503,7 +525,7 @@ function ProductListing({ companyLogoUrl, renderImage, onSelectProduct, cartButt
503
525
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SearchSort.SearchSort, {
504
526
  searchValue: catalog.searchTerm,
505
527
  onSearchChange: catalog.setSearchTerm,
506
- placeholder: "Search products..."
528
+ placeholder: t("search_placeholder")
507
529
  })
508
530
  }),
509
531
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src.DropdownMenu, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuTrigger, {
@@ -518,12 +540,12 @@ function ProductListing({ companyLogoUrl, renderImage, onSelectProduct, cartButt
518
540
  align: "end",
519
541
  className: "w-60",
520
542
  children: [
521
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuLabel, { children: "Sort By" }),
543
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuLabel, { children: t("sort_by") }),
522
544
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuSeparator, {}),
523
545
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuRadioGroup, {
524
546
  value: catalog.currentSort,
525
547
  onValueChange: catalog.setCurrentSort,
526
- children: SORT_OPTIONS.map((opt) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuRadioItem, {
548
+ children: sortOptions.map((opt) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuRadioItem, {
527
549
  value: opt.id,
528
550
  children: opt.label
529
551
  }, opt.id))
@@ -538,14 +560,14 @@ function ProductListing({ companyLogoUrl, renderImage, onSelectProduct, cartButt
538
560
  })
539
561
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
540
562
  className: "mx-auto space-y-8 px-2 md:px-10 md:py-8",
541
- children: isLoading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SkeletonGrid, {}) : error ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
563
+ children: isLoading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SkeletonGrid, {}) : error ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
542
564
  className: "mx-auto my-6 rounded-lg bg-red-100 px-3 py-2 text-red-500",
543
- children: ["Error: ", error.message]
565
+ children: t("error_generic")
544
566
  }) : isFetched && allProducts.length === 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
545
567
  className: "flex flex-col items-center justify-center py-8 text-center",
546
568
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
547
569
  className: "text-muted-foreground text-sm",
548
- children: catalog.searchTerm ? `No products match "${catalog.searchTerm}". Try a different search term.` : "There are no products available at the moment."
570
+ children: catalog.searchTerm ? t("no_search_results", { term: catalog.searchTerm }) : t("no_products")
549
571
  })
550
572
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
551
573
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -638,6 +660,7 @@ function ProductDetail({ productId, renderImage }) {
638
660
  const [selections, setSelections] = (0, react.useState)({});
639
661
  const [userSelectedSubscribe, setUserSelectedSubscribe] = (0, react.useState)(false);
640
662
  const [selectedSubscriptionPlan, setSelectedSubscriptionPlan] = (0, react.useState)(void 0);
663
+ const { t } = useShopTranslation();
641
664
  const { product, isLoading, error, images } = require_PortalProductsApiProvider.usePortalProductDetail({ productId });
642
665
  const variants = (0, react.useMemo)(() => product?.variants ?? [], [product?.variants]);
643
666
  const subscriptionPlans = (0, react.useMemo)(() => product?.subscription_plans ?? [], [product?.subscription_plans]);
@@ -733,10 +756,10 @@ function ProductDetail({ productId, renderImage }) {
733
756
  className: "text-center",
734
757
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
735
758
  className: "text-foreground mb-2 text-lg font-medium",
736
- children: "Unable to load product"
759
+ children: t("error_loading")
737
760
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
738
761
  className: "text-muted-foreground",
739
- children: "Something went wrong. Please try again later."
762
+ children: t("error_generic")
740
763
  })]
741
764
  })
742
765
  });
@@ -746,14 +769,14 @@ function ProductDetail({ productId, renderImage }) {
746
769
  className: "text-center",
747
770
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
748
771
  className: "text-foreground mb-2 text-lg font-medium",
749
- children: "Product not found"
772
+ children: t("product_not_found")
750
773
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
751
774
  className: "text-muted-foreground",
752
- children: "The product you're looking for doesn't exist."
775
+ children: t("product_not_found_description")
753
776
  })]
754
777
  })
755
778
  });
756
- const title = product.name || "Product";
779
+ const title = product.name || t("product_fallback_name");
757
780
  const isBundle = product.bundle === true;
758
781
  const bundleUrl = isBundle && product.canonical_url ? product.canonical_url : null;
759
782
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -788,7 +811,7 @@ function ProductDetail({ productId, renderImage }) {
788
811
  className: "pt-2",
789
812
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h3", {
790
813
  className: "text-foreground mb-1 text-sm font-medium",
791
- children: "Product Description"
814
+ children: t("product_description")
792
815
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
793
816
  className: "text-foreground mb-3 text-[12px]",
794
817
  dangerouslySetInnerHTML: { __html: sanitizeHtml(product.description ?? "") }
@@ -813,10 +836,10 @@ function ProductDetail({ productId, renderImage }) {
813
836
  onClick: () => {
814
837
  if (bundleUrl) window.open(bundleUrl, "_blank", "noopener,noreferrer");
815
838
  },
816
- children: "Purchase Bundle"
839
+ children: t("purchase_bundle")
817
840
  }), !bundleUrl && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
818
841
  className: "text-muted-foreground mt-2 text-center text-xs",
819
- children: "Bundle configuration is unavailable. Please contact support."
842
+ children: t("bundle_unavailable")
820
843
  })]
821
844
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
822
845
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PurchaseOptions, {
@@ -846,7 +869,7 @@ function ProductDetail({ productId, renderImage }) {
846
869
  })),
847
870
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectTrigger, {
848
871
  className: "w-48 max-w-full",
849
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectValue, { placeholder: `Select ${group.name}` })
872
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectValue, { placeholder: t("select_option", { name: group.name }) })
850
873
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.SelectContent, {
851
874
  position: "popper",
852
875
  className: "max-h-60",
@@ -884,7 +907,7 @@ function ProductDetail({ productId, renderImage }) {
884
907
  }),
885
908
  selectedVariant?.subscription_only && !selectedVariant?.allow_subscription && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
886
909
  className: "text-muted-foreground text-sm",
887
- children: "This product is unavailable for purchase."
910
+ children: t("product_unavailable")
888
911
  }),
889
912
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "mt-4 mb-3" }),
890
913
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -901,7 +924,7 @@ function ProductDetail({ productId, renderImage }) {
901
924
  "data-fluid-subscribe": isSubscribe,
902
925
  "data-fluid-subscription-plan-id": isSubscribe ? String(resolvedPlanId ?? "") : "",
903
926
  "data-fluid-open-cart-after-add": "false",
904
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ShoppingCart, { className: "h-4 w-4" }), isSubscribe ? "Subscribe" : "Add to Cart"]
927
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ShoppingCart, { className: "h-4 w-4" }), isSubscribe ? t("subscribe") : t("add_to_cart")]
905
928
  })]
906
929
  })
907
930
  ] })
@@ -1086,9 +1109,138 @@ function ShopContainer({ children, className = "", cartScript, cartWidget }) {
1086
1109
  }) });
1087
1110
  }
1088
1111
  //#endregion
1112
+ //#region ../../platform/i18n/src/use-domain-dict.ts
1113
+ function useDomainDict(domain, locale) {
1114
+ const [dict, setDict] = (0, react.useState)(domain.fallback);
1115
+ (0, react.useEffect)(() => {
1116
+ let cancelled = false;
1117
+ if (locale === domain.fallbackLocale) {
1118
+ setDict(domain.fallback);
1119
+ return;
1120
+ }
1121
+ setDict(domain.fallback);
1122
+ domain.load(locale).then((next) => {
1123
+ if (!cancelled) setDict(next);
1124
+ }).catch(() => {
1125
+ if (!cancelled) setDict(domain.fallback);
1126
+ });
1127
+ return () => {
1128
+ cancelled = true;
1129
+ };
1130
+ }, [domain, locale]);
1131
+ return dict;
1132
+ }
1133
+ //#endregion
1134
+ //#region ../../platform/i18n/src/translations.ts
1135
+ function createDomainTranslations(config) {
1136
+ const fallbackLocale = config.fallbackLocale ?? "en";
1137
+ return {
1138
+ fallback: config.fallback,
1139
+ fallbackLocale,
1140
+ async load(locale) {
1141
+ if (locale === fallbackLocale) return config.fallback;
1142
+ const loader = config.loaders?.[locale];
1143
+ if (!loader) return config.fallback;
1144
+ const target = await loader();
1145
+ return {
1146
+ ...config.fallback,
1147
+ ...target
1148
+ };
1149
+ }
1150
+ };
1151
+ }
1152
+ //#endregion
1153
+ //#region ../../platform/i18n/src/static-dict-adapter.ts
1154
+ function createStaticDictAdapter(locale, dict) {
1155
+ return {
1156
+ locale,
1157
+ t(key, ...args) {
1158
+ const template = dict[key] ?? key;
1159
+ const params = args[0];
1160
+ if (!params) return template;
1161
+ return template.replace(/\{\{(\w+)\}\}/g, (match, name) => name in params ? String(params[name]) : match);
1162
+ }
1163
+ };
1164
+ }
1165
+ //#endregion
1166
+ //#region ../../shop/core/src/translation-adapter.ts
1167
+ const shopDomain = createDomainTranslations({
1168
+ fallback: {
1169
+ breadcrumb: "Shop",
1170
+ product_fallback_name: "Product",
1171
+ search_placeholder: "Search products...",
1172
+ sort_by: "Sort By",
1173
+ sort_title_asc: "Title (A-Z)",
1174
+ sort_title_desc: "Title (Z-A)",
1175
+ sort_price_asc: "Price (Low to High)",
1176
+ sort_price_desc: "Price (High to Low)",
1177
+ sort_recent: "Recently Updated",
1178
+ sort_oldest: "Oldest Updated",
1179
+ no_products: "There are no products available at the moment.",
1180
+ no_search_results: "No products match \"{{term}}\". Try a different search term.",
1181
+ error_loading: "Unable to load product",
1182
+ error_generic: "Something went wrong. Please try again later.",
1183
+ product_not_found: "Product not found",
1184
+ product_not_found_description: "The product you're looking for doesn't exist.",
1185
+ product_description: "Product Description",
1186
+ no_title: "No title available",
1187
+ add_to_cart: "Add to Cart",
1188
+ subscribe: "Subscribe",
1189
+ subscribe_and_save: "Subscribe & Save {{percentage}}%",
1190
+ one_time_purchase: "One-Time Purchase",
1191
+ delivery_frequency: "Delivery Frequency:",
1192
+ select_delivery_schedule: "Select delivery schedule",
1193
+ purchase_bundle: "Purchase Bundle",
1194
+ bundle_unavailable: "Bundle configuration is unavailable. Please contact support.",
1195
+ product_unavailable: "This product is unavailable for purchase.",
1196
+ ratings_and_reviews: "Ratings and reviews",
1197
+ ratings_count: "{{count}} ratings",
1198
+ select_option: "Select {{name}}"
1199
+ },
1200
+ loaders: {
1201
+ de: () => Promise.resolve().then(() => require("./de-CqKH8kwp.cjs")).then((m) => m.default),
1202
+ el: () => Promise.resolve().then(() => require("./el-CIrAhB-W.cjs")).then((m) => m.default),
1203
+ es: () => Promise.resolve().then(() => require("./es-4Wsa13tV.cjs")).then((m) => m.default),
1204
+ fr: () => Promise.resolve().then(() => require("./fr-BDKPrKKW.cjs")).then((m) => m.default),
1205
+ he: () => Promise.resolve().then(() => require("./he-5dq6lV2h.cjs")).then((m) => m.default),
1206
+ hu: () => Promise.resolve().then(() => require("./hu-Dpgriy5N.cjs")).then((m) => m.default),
1207
+ id: () => Promise.resolve().then(() => require("./id-Ba-0RT7y.cjs")).then((m) => m.default),
1208
+ it: () => Promise.resolve().then(() => require("./it-CaxIV-R4.cjs")).then((m) => m.default),
1209
+ ja: () => Promise.resolve().then(() => require("./ja-Lcg_Qqtj.cjs")).then((m) => m.default),
1210
+ ko: () => Promise.resolve().then(() => require("./ko-CFu0TjJO.cjs")).then((m) => m.default),
1211
+ nl: () => Promise.resolve().then(() => require("./nl-DR9IRXGT.cjs")).then((m) => m.default),
1212
+ pl: () => Promise.resolve().then(() => require("./pl-DSGSRDM2.cjs")).then((m) => m.default),
1213
+ pt: () => Promise.resolve().then(() => require("./pt-Pz_D1HUz.cjs")).then((m) => m.default),
1214
+ ro: () => Promise.resolve().then(() => require("./ro-BoGeZTac.cjs")).then((m) => m.default),
1215
+ ru: () => Promise.resolve().then(() => require("./ru-Cd7LUmcu.cjs")).then((m) => m.default),
1216
+ th: () => Promise.resolve().then(() => require("./th-DwLAQd0u.cjs")).then((m) => m.default),
1217
+ tl: () => Promise.resolve().then(() => require("./tl-DwAVpDyB.cjs")).then((m) => m.default),
1218
+ tr: () => Promise.resolve().then(() => require("./tr-BFbCmHQZ.cjs")).then((m) => m.default),
1219
+ zh_CN: () => Promise.resolve().then(() => require("./zh_CN-Cn-k18Y5.cjs")).then((m) => m.default),
1220
+ zh_TW: () => Promise.resolve().then(() => require("./zh_TW-CIUhIeJP.cjs")).then((m) => m.default)
1221
+ }
1222
+ });
1223
+ function createShopTranslationAdapter(locale, dict) {
1224
+ return createStaticDictAdapter(locale, dict);
1225
+ }
1226
+ //#endregion
1227
+ //#region src/providers/ShopTranslationBridge.tsx
1228
+ function ShopTranslationBridge({ children }) {
1229
+ const { locale } = require_FluidProvider.useActiveLocale();
1230
+ const dict = useDomainDict(shopDomain, locale);
1231
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ShopTranslationProvider, {
1232
+ value: (0, react.useMemo)(() => createShopTranslationAdapter(locale, dict), [locale, dict]),
1233
+ children
1234
+ });
1235
+ }
1236
+ //#endregion
1089
1237
  //#region src/screens/ShopScreen.tsx
1090
- function ShopScreen({ background, textColor, accentColor, padding, borderRadius, ...divProps }) {
1238
+ function ShopScreen(props) {
1239
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ShopTranslationBridge, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ShopScreenContent, { ...props }) });
1240
+ }
1241
+ function ShopScreenContent({ background, textColor, accentColor, padding, borderRadius, ...divProps }) {
1091
1242
  const { config } = require_FluidProvider.useFluidContext();
1243
+ const { t } = useShopTranslation();
1092
1244
  const { data: store } = require_use_store.useStore();
1093
1245
  const { currentSlug, navigate } = require_AppNavigationContext.useAppNavigation();
1094
1246
  const countryCode = config.countryIso ?? "US";
@@ -1099,12 +1251,16 @@ function ShopScreen({ background, textColor, accentColor, padding, borderRadius,
1099
1251
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbItem, { children: productId ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbLink, {
1100
1252
  onClick: () => navigate("shop"),
1101
1253
  className: "cursor-pointer font-semibold",
1102
- children: "Shop"
1254
+ children: t("breadcrumb")
1103
1255
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbPage, {
1104
1256
  className: "font-semibold",
1105
- children: "Shop"
1257
+ children: t("breadcrumb")
1106
1258
  }) })
1107
- }) }), [productId, navigate]));
1259
+ }) }), [
1260
+ productId,
1261
+ navigate,
1262
+ t
1263
+ ]));
1108
1264
  require_ScreenHeaderContext.useScreenHeaderActions((0, react.useMemo)(() => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1109
1265
  className: "flex items-center gap-4",
1110
1266
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CartButton, {})
@@ -1178,15 +1334,16 @@ const shopScreenPropertySchema = {
1178
1334
  */
1179
1335
  function ProductBreadcrumb({ productId }) {
1180
1336
  const { navigate } = require_AppNavigationContext.useAppNavigation();
1337
+ const { t } = useShopTranslation();
1181
1338
  const { product } = require_PortalProductsApiProvider.usePortalProductDetail({ productId });
1182
- const productName = product?.name ?? "Product";
1339
+ const productName = product?.name ?? t("product_fallback_name");
1183
1340
  require_ScreenHeaderContext.useScreenHeaderBreadcrumbs((0, react.useMemo)(() => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.Breadcrumb, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_src.BreadcrumbList, {
1184
1341
  className: "text-lg",
1185
1342
  children: [
1186
1343
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbItem, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbLink, {
1187
1344
  onClick: () => navigate("shop"),
1188
1345
  className: "cursor-pointer font-semibold",
1189
- children: "Shop"
1346
+ children: t("breadcrumb")
1190
1347
  }) }),
1191
1348
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbSeparator, {}),
1192
1349
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbItem, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.BreadcrumbPage, {
@@ -1194,7 +1351,11 @@ function ProductBreadcrumb({ productId }) {
1194
1351
  children: productName
1195
1352
  }) })
1196
1353
  ]
1197
- }) }), [productName, navigate]));
1354
+ }) }), [
1355
+ productName,
1356
+ navigate,
1357
+ t
1358
+ ]));
1198
1359
  return null;
1199
1360
  }
1200
1361
  //#endregion
@@ -1211,4 +1372,4 @@ Object.defineProperty(exports, "shopScreenPropertySchema", {
1211
1372
  }
1212
1373
  });
1213
1374
 
1214
- //# sourceMappingURL=ShopScreen-DxTDjfkY.cjs.map
1375
+ //# sourceMappingURL=ShopScreen-CM3DDvLt.cjs.map