@fluid-app/portal-sdk 0.1.237 → 0.1.239

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 (134) hide show
  1. package/dist/{CalendarWidget-BaGML5Xh.mjs → CalendarWidget-BXxNxHDV.mjs} +2 -2
  2. package/dist/{CalendarWidget-BaGML5Xh.mjs.map → CalendarWidget-BXxNxHDV.mjs.map} +1 -1
  3. package/dist/{CalendarWidget-oGK122s9.cjs → CalendarWidget-VjQXZW8B.cjs} +2 -2
  4. package/dist/{CalendarWidget-oGK122s9.cjs.map → CalendarWidget-VjQXZW8B.cjs.map} +1 -1
  5. package/dist/{CardWidget-CqYjGkq-.mjs → CardWidget-BNkMlxQ3.mjs} +2 -2
  6. package/dist/{CardWidget-CqYjGkq-.mjs.map → CardWidget-BNkMlxQ3.mjs.map} +1 -1
  7. package/dist/{CardWidget-CSLSlKM6.cjs → CardWidget-C3I9OwgS.cjs} +2 -2
  8. package/dist/{CardWidget-CSLSlKM6.cjs.map → CardWidget-C3I9OwgS.cjs.map} +1 -1
  9. package/dist/{CardWidget-DjhK0yr-.cjs → CardWidget-CraWMttj.cjs} +3 -3
  10. package/dist/{CarouselWidget-DlxYQB5j.cjs → CarouselWidget-CiKlooUF.cjs} +2 -2
  11. package/dist/{CarouselWidget-DlxYQB5j.cjs.map → CarouselWidget-CiKlooUF.cjs.map} +1 -1
  12. package/dist/{CarouselWidget-CdQhlRrW.mjs → CarouselWidget-p8Z6L-G5.mjs} +2 -2
  13. package/dist/{CarouselWidget-CdQhlRrW.mjs.map → CarouselWidget-p8Z6L-G5.mjs.map} +1 -1
  14. package/dist/{CatchUpWidget-BQjtjcGR.mjs → CatchUpWidget-B9DQlzd_.mjs} +2 -2
  15. package/dist/{CatchUpWidget-BQjtjcGR.mjs.map → CatchUpWidget-B9DQlzd_.mjs.map} +1 -1
  16. package/dist/{CatchUpWidget-B1Muaurg.cjs → CatchUpWidget-SY7hOHk6.cjs} +2 -2
  17. package/dist/{CatchUpWidget-B1Muaurg.cjs.map → CatchUpWidget-SY7hOHk6.cjs.map} +1 -1
  18. package/dist/{ContainerWidget-Cjwrq2MS.cjs → ContainerWidget-BXpdj06u.cjs} +2 -2
  19. package/dist/{ContainerWidget-Cjwrq2MS.cjs.map → ContainerWidget-BXpdj06u.cjs.map} +1 -1
  20. package/dist/{ContainerWidget-DYThUtiZ.mjs → ContainerWidget-CpwvcxFm.mjs} +2 -2
  21. package/dist/{ContainerWidget-DYThUtiZ.mjs.map → ContainerWidget-CpwvcxFm.mjs.map} +1 -1
  22. package/dist/ContainerWidget-CyfPYEAv.cjs +8 -0
  23. package/dist/{FluidProvider-BazvsIwu.mjs → FluidProvider-DL5rChtj.mjs} +67 -84
  24. package/dist/FluidProvider-DL5rChtj.mjs.map +1 -0
  25. package/dist/{FluidProvider-Dxn7Ehiz.cjs → FluidProvider-D_PHVlUU.cjs} +67 -84
  26. package/dist/FluidProvider-D_PHVlUU.cjs.map +1 -0
  27. package/dist/{ImageWidget-xcE0sFf-.cjs → ImageWidget-CbQVxMe3.cjs} +2 -2
  28. package/dist/{ImageWidget-xcE0sFf-.cjs.map → ImageWidget-CbQVxMe3.cjs.map} +1 -1
  29. package/dist/{ImageWidget-CFTpbu8X.mjs → ImageWidget-vNWT_O1E.mjs} +2 -2
  30. package/dist/{ImageWidget-CFTpbu8X.mjs.map → ImageWidget-vNWT_O1E.mjs.map} +1 -1
  31. package/dist/{LayoutWidget-CK-SvFQL.cjs → LayoutWidget-BIfNHlVE.cjs} +2 -2
  32. package/dist/{LayoutWidget-CK-SvFQL.cjs.map → LayoutWidget-BIfNHlVE.cjs.map} +1 -1
  33. package/dist/{LayoutWidget-Cx5ZyXSU.mjs → LayoutWidget-CC3oK78H.mjs} +2 -2
  34. package/dist/{LayoutWidget-Cx5ZyXSU.mjs.map → LayoutWidget-CC3oK78H.mjs.map} +1 -1
  35. package/dist/{LayoutWidget-DuueFNAS.cjs → LayoutWidget-LdF_cKrB.cjs} +3 -3
  36. package/dist/{LinkWidget-B14FTQP7.cjs → LinkWidget-BoR7nVbH.cjs} +2 -2
  37. package/dist/{LinkWidget-B14FTQP7.cjs.map → LinkWidget-BoR7nVbH.cjs.map} +1 -1
  38. package/dist/{LinkWidget-CQHmKO-O.mjs → LinkWidget-CO-Cxf7Z.mjs} +2 -2
  39. package/dist/{LinkWidget-CQHmKO-O.mjs.map → LinkWidget-CO-Cxf7Z.mjs.map} +1 -1
  40. package/dist/{LinkWidget-CPmE8gpd.cjs → LinkWidget-M9YzMJT8.cjs} +2 -2
  41. package/dist/{ListWidget-YvCp7XDq.cjs → ListWidget-CuSjvwEw.cjs} +3 -3
  42. package/dist/{ListWidget-wBDnXWxa.cjs → ListWidget-CzljZ1LA.cjs} +3 -3
  43. package/dist/{ListWidget-wBDnXWxa.cjs.map → ListWidget-CzljZ1LA.cjs.map} +1 -1
  44. package/dist/{ListWidget-BnyD2Hpc.mjs → ListWidget-f88QhcGI.mjs} +3 -3
  45. package/dist/{ListWidget-BnyD2Hpc.mjs.map → ListWidget-f88QhcGI.mjs.map} +1 -1
  46. package/dist/{MediaRenderer-CfgWd0cC.cjs → MediaRenderer-CvN8Ku0i.cjs} +4 -4
  47. package/dist/MediaRenderer-CvN8Ku0i.cjs.map +1 -0
  48. package/dist/{MediaRenderer-CqUpv3St.mjs → MediaRenderer-DMdb_5xw.mjs} +4 -4
  49. package/dist/MediaRenderer-DMdb_5xw.mjs.map +1 -0
  50. package/dist/{MessagingScreen-40YCQbX9.cjs → MessagingScreen-Dkh3Dsp7.cjs} +2 -2
  51. package/dist/{MessagingScreen-40YCQbX9.cjs.map → MessagingScreen-Dkh3Dsp7.cjs.map} +1 -1
  52. package/dist/{MessagingScreen-CrdiB4M3.cjs → MessagingScreen-Dxy2VQbO.cjs} +22 -22
  53. package/dist/{MessagingScreen-RItZgONw.mjs → MessagingScreen-mt1u3Bs1.mjs} +2 -2
  54. package/dist/{MessagingScreen-RItZgONw.mjs.map → MessagingScreen-mt1u3Bs1.mjs.map} +1 -1
  55. package/dist/{MySiteWidget-B0dc_7Dc.mjs → MySiteWidget-BnjPrQxE.mjs} +23 -30
  56. package/dist/MySiteWidget-BnjPrQxE.mjs.map +1 -0
  57. package/dist/{MySiteWidget-BkqAS0aY.cjs → MySiteWidget-C8eFWHOT.cjs} +23 -30
  58. package/dist/MySiteWidget-C8eFWHOT.cjs.map +1 -0
  59. package/dist/{NestedWidget-C_2XwnW0.cjs → NestedWidget-CEoAO2sp.cjs} +3 -3
  60. package/dist/{NestedWidget-C_2XwnW0.cjs.map → NestedWidget-CEoAO2sp.cjs.map} +1 -1
  61. package/dist/{NestedWidget-CXIvsJdD.cjs → NestedWidget-CMCZjV6t.cjs} +3 -3
  62. package/dist/{NestedWidget-WJoWOFda.mjs → NestedWidget-RuyrOrFn.mjs} +3 -3
  63. package/dist/{NestedWidget-WJoWOFda.mjs.map → NestedWidget-RuyrOrFn.mjs.map} +1 -1
  64. package/dist/{PointsWidget-DoUljaNY.mjs → PointsWidget-C2KB4k48.mjs} +2 -2
  65. package/dist/{PointsWidget-DoUljaNY.mjs.map → PointsWidget-C2KB4k48.mjs.map} +1 -1
  66. package/dist/{PointsWidget-CLUWrFjZ.cjs → PointsWidget-DLp-PYus.cjs} +2 -2
  67. package/dist/{PointsWidget-CLUWrFjZ.cjs.map → PointsWidget-DLp-PYus.cjs.map} +1 -1
  68. package/dist/{ProfileScreen-CEKbhSRz.cjs → ProfileScreen-BMe-dQi7.cjs} +2 -2
  69. package/dist/{ProfileScreen-CEKbhSRz.cjs.map → ProfileScreen-BMe-dQi7.cjs.map} +1 -1
  70. package/dist/{ProfileScreen-Dex8VHSB.cjs → ProfileScreen-ChCZZ91o.cjs} +22 -22
  71. package/dist/{ProfileScreen-CeD1jq89.mjs → ProfileScreen-_1GlBr7z.mjs} +2 -2
  72. package/dist/{ProfileScreen-CeD1jq89.mjs.map → ProfileScreen-_1GlBr7z.mjs.map} +1 -1
  73. package/dist/{RecentActivityWidget-C6RwlUUw.cjs → RecentActivityWidget-BNW9aFT4.cjs} +2 -2
  74. package/dist/{RecentActivityWidget-C6RwlUUw.cjs.map → RecentActivityWidget-BNW9aFT4.cjs.map} +1 -1
  75. package/dist/{RecentActivityWidget-zQxtUECm.mjs → RecentActivityWidget-DelPdiwR.mjs} +2 -2
  76. package/dist/{RecentActivityWidget-zQxtUECm.mjs.map → RecentActivityWidget-DelPdiwR.mjs.map} +1 -1
  77. package/dist/{ScreenRenderer-Bk23YOtN.mjs → ScreenRenderer-ClYgfQf_.mjs} +2 -2
  78. package/dist/{ScreenRenderer-Bk23YOtN.mjs.map → ScreenRenderer-ClYgfQf_.mjs.map} +1 -1
  79. package/dist/{ScreenRenderer-aYfgv6mR.cjs → ScreenRenderer-Ct1w4PNu.cjs} +2 -2
  80. package/dist/{ScreenRenderer-aYfgv6mR.cjs.map → ScreenRenderer-Ct1w4PNu.cjs.map} +1 -1
  81. package/dist/{ShareablesScreen-Bt0E1aya.cjs → ShareablesScreen-A69L0Nok.cjs} +136 -108
  82. package/dist/ShareablesScreen-A69L0Nok.cjs.map +1 -0
  83. package/dist/{ShareablesScreen-LSyiDa6q.cjs → ShareablesScreen-BUYG-mjj.cjs} +1 -1
  84. package/dist/{ShareablesScreen-D3Hfqg9-.mjs → ShareablesScreen-sieWBlAl.mjs} +136 -108
  85. package/dist/ShareablesScreen-sieWBlAl.mjs.map +1 -0
  86. package/dist/{ShopScreen-dAe71cdL.mjs → ShopScreen-BBfOte5o.mjs} +2 -2
  87. package/dist/{ShopScreen-dAe71cdL.mjs.map → ShopScreen-BBfOte5o.mjs.map} +1 -1
  88. package/dist/{ShopScreen-Cgro0M1d.cjs → ShopScreen-CZ_290EP.cjs} +22 -22
  89. package/dist/{ShopScreen-BiqZPyiB.cjs → ShopScreen-DWLGH2gt.cjs} +2 -2
  90. package/dist/{ShopScreen-BiqZPyiB.cjs.map → ShopScreen-DWLGH2gt.cjs.map} +1 -1
  91. package/dist/{TableWidget-D4jQN-to.cjs → TableWidget-BIn1oRiJ.cjs} +4 -4
  92. package/dist/TableWidget-BIn1oRiJ.cjs.map +1 -0
  93. package/dist/{TableWidget-DWAYgQcl.cjs → TableWidget-C--8TSX7.cjs} +3 -3
  94. package/dist/{TableWidget-B0CRdzNf.mjs → TableWidget-dfUvhH0S.mjs} +4 -4
  95. package/dist/TableWidget-dfUvhH0S.mjs.map +1 -0
  96. package/dist/{ToDoWidget-BbeXt99H.cjs → ToDoWidget-Bjoan2Rm.cjs} +2 -2
  97. package/dist/{ToDoWidget-BbeXt99H.cjs.map → ToDoWidget-Bjoan2Rm.cjs.map} +1 -1
  98. package/dist/{ToDoWidget-VSaNmtWH.mjs → ToDoWidget-CYDsZA0Z.mjs} +2 -2
  99. package/dist/{ToDoWidget-VSaNmtWH.mjs.map → ToDoWidget-CYDsZA0Z.mjs.map} +1 -1
  100. package/dist/{ToDoWidget-YHmoDbVU.cjs → ToDoWidget-C_CvWdLi.cjs} +2 -2
  101. package/dist/{VideoWidget-Bc6ZAAaA.cjs → VideoWidget-CDcV0J5W.cjs} +2 -2
  102. package/dist/{VideoWidget-Bc6ZAAaA.cjs.map → VideoWidget-CDcV0J5W.cjs.map} +1 -1
  103. package/dist/{VideoWidget-DcWm239R.mjs → VideoWidget-Dj9wue7j.mjs} +2 -2
  104. package/dist/{VideoWidget-DcWm239R.mjs.map → VideoWidget-Dj9wue7j.mjs.map} +1 -1
  105. package/dist/WidgetInteractionContext-B1mELhQ_.mjs +28 -0
  106. package/dist/{WidgetInteractionContext-D0TJv70C.mjs.map → WidgetInteractionContext-B1mELhQ_.mjs.map} +1 -1
  107. package/dist/WidgetInteractionContext-DvPmzGqB.cjs +41 -0
  108. package/dist/{WidgetInteractionContext-Bs3LkFFH.cjs.map → WidgetInteractionContext-DvPmzGqB.cjs.map} +1 -1
  109. package/dist/index.cjs +84 -55
  110. package/dist/index.cjs.map +1 -1
  111. package/dist/index.d.cts.map +1 -1
  112. package/dist/index.d.mts.map +1 -1
  113. package/dist/index.mjs +84 -55
  114. package/dist/index.mjs.map +1 -1
  115. package/dist/{registry-context-BDH0vNHR.mjs → registry-context-BahYMRqn.mjs} +12 -20
  116. package/dist/registry-context-BahYMRqn.mjs.map +1 -0
  117. package/dist/{registry-context-C7-RLxVt.cjs → registry-context-bf52ZIJX.cjs} +12 -20
  118. package/dist/registry-context-bf52ZIJX.cjs.map +1 -0
  119. package/package.json +12 -12
  120. package/dist/ContainerWidget-NFBqSeRV.cjs +0 -8
  121. package/dist/FluidProvider-BazvsIwu.mjs.map +0 -1
  122. package/dist/FluidProvider-Dxn7Ehiz.cjs.map +0 -1
  123. package/dist/MediaRenderer-CfgWd0cC.cjs.map +0 -1
  124. package/dist/MediaRenderer-CqUpv3St.mjs.map +0 -1
  125. package/dist/MySiteWidget-B0dc_7Dc.mjs.map +0 -1
  126. package/dist/MySiteWidget-BkqAS0aY.cjs.map +0 -1
  127. package/dist/ShareablesScreen-Bt0E1aya.cjs.map +0 -1
  128. package/dist/ShareablesScreen-D3Hfqg9-.mjs.map +0 -1
  129. package/dist/TableWidget-B0CRdzNf.mjs.map +0 -1
  130. package/dist/TableWidget-D4jQN-to.cjs.map +0 -1
  131. package/dist/WidgetInteractionContext-Bs3LkFFH.cjs +0 -18
  132. package/dist/WidgetInteractionContext-D0TJv70C.mjs +0 -11
  133. package/dist/registry-context-BDH0vNHR.mjs.map +0 -1
  134. package/dist/registry-context-C7-RLxVt.cjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./es-BXxGlAp6.mjs";
2
- import { a as createScreen, c as FluidThemeProvider, f as useAppDefinitionApi, i as widgetPropertySchemas, l as useThemeContext, m as deleteDatabase, n as useFluidContext, o as createWidgetFromShareable, p as createPersister, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider } from "./FluidProvider-BazvsIwu.mjs";
3
- import { a as assertNever, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName, u as useRegistry } from "./ScreenRenderer-Bk23YOtN.mjs";
2
+ import { a as createScreen, c as FluidThemeProvider, f as useAppDefinitionApi, i as widgetPropertySchemas, l as useThemeContext, m as deleteDatabase, n as useFluidContext, o as createWidgetFromShareable, p as createPersister, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider } from "./FluidProvider-DL5rChtj.mjs";
3
+ import { a as assertNever, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName, u as useRegistry } from "./ScreenRenderer-ClYgfQf_.mjs";
4
4
  import "./account-api-context-BIZ_aibJ.mjs";
5
5
  import "./store-api-context-C1lXT_3d.mjs";
6
6
  import "./pay-api-context-CqKGSXnP.mjs";
@@ -8,49 +8,49 @@ import "./mysite-api-context-5-qpKHWA.mjs";
8
8
  import "./countries-api-context-CMh13cfX.mjs";
9
9
  import { C as resolveTheme, D as SEMANTIC_COLOR_NAMES, E as RADIUS_KEYS, S as parseColor, T as FONT_SIZE_KEYS, _ as generateThemeCSS, a as getActiveThemeId, b as getForegroundColor, c as serialiseTheme, d as DEFAULT_FONT_SIZES, f as DEFAULT_RADII, g as getDefaultThemeDefinition, h as DEFAULT_THEME_NAME, i as buildThemeDefinition, l as DEFAULT_COLORS, m as DEFAULT_THEME_ID, n as removeAllThemes, o as transformThemes, p as DEFAULT_SPACING, r as removeTheme, s as deserialiseTheme, t as applyTheme, u as DEFAULT_FONT_FAMILIES, v as deriveDarkVariant, w as FONT_FAMILY_KEYS, x as mergeDarkOverrides } from "./src-C9vtVoJs.mjs";
10
10
  import { n as usePortalTenantClient } from "./PortalTenantClientProvider-CjJzBCTL.mjs";
11
- import "./registry-context-BDH0vNHR.mjs";
12
- import "./WidgetInteractionContext-D0TJv70C.mjs";
11
+ import "./registry-context-BahYMRqn.mjs";
12
+ import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-B1mELhQ_.mjs";
13
13
  import { a as useRepUser, i as RepUserProvider, r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-Cj6VgQJC.mjs";
14
14
  import "./error-state-DYzHx8tt.mjs";
15
- import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-Cx5ZyXSU.mjs";
15
+ import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-CC3oK78H.mjs";
16
16
  import { g as isPropertyFieldType, h as PROPERTY_FIELD_TYPES, r as gapValues } from "./registries-Ct8o2YRe.mjs";
17
17
  import "./fields-B_iAnFXl.mjs";
18
18
  import { r as textWidgetPropertySchema, t as TextWidget } from "./TextWidget-BteaMIsX.mjs";
19
19
  import { r as alertWidgetPropertySchema, t as AlertWidget } from "./AlertWidget-CbhrQa9Z.mjs";
20
20
  import { r as bulletListWidgetPropertySchema, t as BulletListWidget } from "./BulletListWidget-qvZIZ_B-.mjs";
21
- import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./CalendarWidget-BaGML5Xh.mjs";
22
- import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-CqYjGkq-.mjs";
21
+ import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./CalendarWidget-BXxNxHDV.mjs";
22
+ import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-BNkMlxQ3.mjs";
23
23
  import "./purify.es-DzInNL5X.mjs";
24
- import "./MediaRenderer-CqUpv3St.mjs";
25
- import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-CdQhlRrW.mjs";
26
- import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-BQjtjcGR.mjs";
24
+ import "./MediaRenderer-DMdb_5xw.mjs";
25
+ import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-p8Z6L-G5.mjs";
26
+ import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-B9DQlzd_.mjs";
27
27
  import { At as CardTitle, C as Skeleton$1, Dn as Button, Dt as CardDescription, Fn as cn$1, Ot as CardFooter, _t as CollapsibleContent, gt as Collapsible, ht as PopoverTrigger, kt as CardHeader, mt as PopoverContent, pt as Popover, vt as CollapsibleTrigger, wt as Card, x as Toaster } from "./src-pgBBOcJa.mjs";
28
- import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-RItZgONw.mjs";
28
+ import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-mt1u3Bs1.mjs";
29
29
  import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-CXM2zmF7.mjs";
30
30
  import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-obje-Xj9.mjs";
31
- import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-DYThUtiZ.mjs";
32
- import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-CFTpbu8X.mjs";
33
- import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-CQHmKO-O.mjs";
34
- import { r as listWidgetPropertySchema, t as ListWidget } from "./ListWidget-BnyD2Hpc.mjs";
35
- import { r as mySiteWidgetPropertySchema, t as MySiteWidget } from "./MySiteWidget-B0dc_7Dc.mjs";
31
+ import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-CpwvcxFm.mjs";
32
+ import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-vNWT_O1E.mjs";
33
+ import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-CO-Cxf7Z.mjs";
34
+ import { r as listWidgetPropertySchema, t as ListWidget } from "./ListWidget-f88QhcGI.mjs";
35
+ import { r as mySiteWidgetPropertySchema, t as MySiteWidget } from "./MySiteWidget-BnjPrQxE.mjs";
36
36
  import "./scroll-arrows-CqDxJ0Pe.mjs";
37
- import { r as nestedWidgetPropertySchema, t as NestedWidget } from "./NestedWidget-WJoWOFda.mjs";
38
- import { r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-DoUljaNY.mjs";
37
+ import { r as nestedWidgetPropertySchema, t as NestedWidget } from "./NestedWidget-RuyrOrFn.mjs";
38
+ import { r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-C2KB4k48.mjs";
39
39
  import { r as quickLinksWidgetPropertySchema, t as QuickLinksWidget } from "./QuickLinksWidget-CJqwiBJ7.mjs";
40
40
  import { r as quickShareWidgetPropertySchema, t as QuickShareWidget } from "./QuickShareWidget-DKE7Tba2.mjs";
41
- import { r as recentActivityWidgetPropertySchema, t as RecentActivityWidget } from "./RecentActivityWidget-zQxtUECm.mjs";
41
+ import { r as recentActivityWidgetPropertySchema, t as RecentActivityWidget } from "./RecentActivityWidget-DelPdiwR.mjs";
42
42
  import { r as separatorWidgetPropertySchema, t as SeparatorWidget } from "./SeparatorWidget-gVlyr1MV.mjs";
43
43
  import { r as spacerWidgetPropertySchema, t as SpacerWidget } from "./SpacerWidget-BY7ywGP4.mjs";
44
- import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-B0CRdzNf.mjs";
45
- import { r as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-VSaNmtWH.mjs";
46
- import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-DcWm239R.mjs";
44
+ import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-dfUvhH0S.mjs";
45
+ import { r as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-CYDsZA0Z.mjs";
46
+ import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-Dj9wue7j.mjs";
47
47
  import { i as useScreenHeaderContext, t as ScreenHeaderProvider } from "./ScreenHeaderContext-Cemdo7bM.mjs";
48
48
  import { t as useStore } from "./use-store-C2KBIS41.mjs";
49
49
  import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-BJOBG5f5.mjs";
50
50
  import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-Dvc0yoZF.mjs";
51
51
  import { t as useAccount } from "./use-account-C76sphlu.mjs";
52
52
  import "./fluid-pay-api-adapter-eNT8m0xB.mjs";
53
- import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-CeD1jq89.mjs";
53
+ import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-_1GlBr7z.mjs";
54
54
  import "./dist-PbA1vxAz.mjs";
55
55
  import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-CMBERzKU.mjs";
56
56
  import "./SearchSort-CFHU38Er.mjs";
@@ -60,9 +60,9 @@ import "./order-status-badge-Dmo8lLnt.mjs";
60
60
  import { r as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-BV3vJ7xy.mjs";
61
61
  import "./sortable.esm-C8G00cCP.mjs";
62
62
  import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-CN0ZDBgy.mjs";
63
- import { r as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-D3Hfqg9-.mjs";
63
+ import { r as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-sieWBlAl.mjs";
64
64
  import "./PortalProductsApiProvider-BIZg_c4Y.mjs";
65
- import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-dAe71cdL.mjs";
65
+ import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-BBfOte5o.mjs";
66
66
  import "./UpgradeScreen-DnGnWVTf.mjs";
67
67
  import "./AppDownloadScreen-DQR40F0y.mjs";
68
68
  import * as React$1 from "react";
@@ -2072,14 +2072,14 @@ function AccountManageLayout({ children }) {
2072
2072
  }
2073
2073
  //#endregion
2074
2074
  //#region src/shell/system-screen-map.ts
2075
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-CeD1jq89.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
2075
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-_1GlBr7z.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
2076
2076
  const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BV3vJ7xy.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
2077
2077
  const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-CXM2zmF7.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
2078
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-RItZgONw.mjs").then((n) => n.n).then((m) => ({ default: m.MessagingScreen })));
2078
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-mt1u3Bs1.mjs").then((n) => n.n).then((m) => ({ default: m.MessagingScreen })));
2079
2079
  const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CMBERzKU.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
2080
- const ShopScreen$1 = lazy(() => import("./ShopScreen-dAe71cdL.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
2080
+ const ShopScreen$1 = lazy(() => import("./ShopScreen-BBfOte5o.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
2081
2081
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-BJOBG5f5.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
2082
- const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-D3Hfqg9-.mjs").then((n) => n.n).then((m) => ({ default: m.ShareablesScreen })));
2082
+ const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-sieWBlAl.mjs").then((n) => n.n).then((m) => ({ default: m.ShareablesScreen })));
2083
2083
  const MySiteScreen$1 = lazy(() => import("./MySiteScreen-CN0ZDBgy.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
2084
2084
  const UpgradeScreen = lazy(() => import("./UpgradeScreen-DnGnWVTf.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
2085
2085
  const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-DQR40F0y.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
@@ -2394,6 +2394,14 @@ function filterRepOnlySections(sections) {
2394
2394
  //#endregion
2395
2395
  //#region src/shell/AppShell.tsx
2396
2396
  const THEME_STORAGE_KEY = "portal-theme-mode";
2397
+ const SHAREABLE_TYPE_TO_SLUG = {
2398
+ Product: "products",
2399
+ Medium: "media",
2400
+ Page: "pages",
2401
+ Playlist: "playlists",
2402
+ Library: "playlists",
2403
+ EnrollmentPack: "enrollment_packs"
2404
+ };
2397
2405
  function getInitialThemeMode() {
2398
2406
  if (typeof window === "undefined") return "light";
2399
2407
  const stored = localStorage.getItem(THEME_STORAGE_KEY);
@@ -2572,6 +2580,23 @@ function AppShell({ appData: appDataProp, navigation: navigationProp, customPage
2572
2580
  history.pushState(null, "", targetPath);
2573
2581
  setPathSlug(slug);
2574
2582
  }, [onNavigateProp, normalizedBasePath]);
2583
+ const handleWidgetItemClick = useCallback((item) => {
2584
+ const subscriptionToken = item.subscription_token;
2585
+ if (typeof subscriptionToken === "string" && subscriptionToken) {
2586
+ handleNavigate(`subscriptions/${subscriptionToken}`);
2587
+ return;
2588
+ }
2589
+ const shareableType = item.shareable_type;
2590
+ if (typeof shareableType === "string" && item.id != null) {
2591
+ const slug = SHAREABLE_TYPE_TO_SLUG[shareableType];
2592
+ if (slug) {
2593
+ handleNavigate(`share/${slug}/${String(item.id)}`);
2594
+ return;
2595
+ }
2596
+ }
2597
+ const orderToken = item.token;
2598
+ if (typeof orderToken === "string" && orderToken) handleNavigate(`orders/${orderToken}`);
2599
+ }, [handleNavigate]);
2575
2600
  const resolvedSidebarFooter = useMemo(() => sidebarFooter !== void 0 ? sidebarFooter : /* @__PURE__ */ jsx(SdkLogoutButton, { onLogout: logout }), [sidebarFooter, logout]);
2576
2601
  const slugMatch = useMemo(() => matchSlugPrefix(activeSlug, navSlugs), [activeSlug, navSlugs]);
2577
2602
  const baseSlug = slugMatch?.matchedSlug ?? normalizeSlug(activeSlug);
@@ -2612,28 +2637,32 @@ function AppShell({ appData: appDataProp, navigation: navigationProp, customPage
2612
2637
  currentSlug: activeSlug,
2613
2638
  basePath: normalizedBasePath,
2614
2639
  navigate: handleNavigate,
2615
- children: /* @__PURE__ */ jsx(AppShellLayout, {
2616
- sidebarContent: /* @__PURE__ */ jsx(SdkNavigation, {
2617
- navItems: filteredNavItems,
2618
- currentSlug: activeSlug,
2619
- onNavigate: handleNavigate
2620
- }),
2621
- headerContent: /* @__PURE__ */ jsx(SdkHeader, {
2622
- mobileTabs: mobileSecondLevelTabs,
2623
- currentSlug: activeSlug,
2624
- onNavigate: handleNavigate,
2625
- onLogout: logout
2626
- }),
2627
- sidebarHeader: sidebarHeader !== void 0 ? sidebarHeader : /* @__PURE__ */ jsx(SdkCompanySwitcher, {}),
2628
- sidebarFooter: resolvedSidebarFooter,
2629
- useBottomNav: true,
2630
- afterContent: /* @__PURE__ */ jsx(SdkBottomNav, {
2631
- navItems: filteredMobileNavItems,
2632
- currentSlug: activeSlug,
2633
- onNavigate: handleNavigate,
2634
- appDefinitionId: appData?.definition_id ?? 0
2635
- }),
2636
- children: content
2640
+ children: /* @__PURE__ */ jsx(WidgetInteractionProvider, {
2641
+ onItemClick: handleWidgetItemClick,
2642
+ onNavigate: handleNavigate,
2643
+ children: /* @__PURE__ */ jsx(AppShellLayout, {
2644
+ sidebarContent: /* @__PURE__ */ jsx(SdkNavigation, {
2645
+ navItems: filteredNavItems,
2646
+ currentSlug: activeSlug,
2647
+ onNavigate: handleNavigate
2648
+ }),
2649
+ headerContent: /* @__PURE__ */ jsx(SdkHeader, {
2650
+ mobileTabs: mobileSecondLevelTabs,
2651
+ currentSlug: activeSlug,
2652
+ onNavigate: handleNavigate,
2653
+ onLogout: logout
2654
+ }),
2655
+ sidebarHeader: sidebarHeader !== void 0 ? sidebarHeader : /* @__PURE__ */ jsx(SdkCompanySwitcher, {}),
2656
+ sidebarFooter: resolvedSidebarFooter,
2657
+ useBottomNav: true,
2658
+ afterContent: /* @__PURE__ */ jsx(SdkBottomNav, {
2659
+ navItems: filteredMobileNavItems,
2660
+ currentSlug: activeSlug,
2661
+ onNavigate: handleNavigate,
2662
+ appDefinitionId: appData?.definition_id ?? 0
2663
+ }),
2664
+ children: content
2665
+ })
2637
2666
  })
2638
2667
  }), /* @__PURE__ */ jsx(Toaster, {})]
2639
2668
  })
@@ -3745,15 +3774,15 @@ z.object({
3745
3774
  //#endregion
3746
3775
  //#region src/screens/index.ts
3747
3776
  const screenPropertySchemas = {
3748
- ProfileScreen: () => import("./ProfileScreen-CeD1jq89.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
3749
- MessagingScreen: () => import("./MessagingScreen-RItZgONw.mjs").then((n) => n.n).then((m) => m.messagingScreenPropertySchema),
3777
+ ProfileScreen: () => import("./ProfileScreen-_1GlBr7z.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
3778
+ MessagingScreen: () => import("./MessagingScreen-mt1u3Bs1.mjs").then((n) => n.n).then((m) => m.messagingScreenPropertySchema),
3750
3779
  ContactsScreen: () => import("./ContactsScreen-CMBERzKU.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
3751
3780
  OrdersScreen: () => import("./OrdersScreen-BV3vJ7xy.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
3752
3781
  SubscriptionsScreen: () => import("./SubscriptionsScreen-CXM2zmF7.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
3753
3782
  CustomersScreen: () => import("./CustomersScreen-BJOBG5f5.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
3754
3783
  MySiteScreen: () => import("./MySiteScreen-CN0ZDBgy.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
3755
- ShareablesScreen: () => import("./ShareablesScreen-D3Hfqg9-.mjs").then((n) => n.n).then((m) => m.shareablesScreenPropertySchema),
3756
- ShopScreen: () => import("./ShopScreen-dAe71cdL.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
3784
+ ShareablesScreen: () => import("./ShareablesScreen-sieWBlAl.mjs").then((n) => n.n).then((m) => m.shareablesScreenPropertySchema),
3785
+ ShopScreen: () => import("./ShopScreen-BBfOte5o.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
3757
3786
  UpgradeScreen: () => import("./UpgradeScreen-DnGnWVTf.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
3758
3787
  AppDownloadScreen: () => import("./AppDownloadScreen-DQR40F0y.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
3759
3788
  };