@flamingo-stack/openframe-frontend-core 0.0.711 → 0.0.712

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 (523) hide show
  1. package/dist/chunk-2NASBO7O.js +1137 -0
  2. package/dist/{chunk-RQRX4YC3.cjs → chunk-2RKFMUNW.cjs} +46 -46
  3. package/dist/chunk-2Y7QZAB2.cjs +158 -0
  4. package/dist/chunk-34I6XI3N.js +136 -0
  5. package/dist/chunk-3K5ZLZE7.js +292 -0
  6. package/dist/chunk-3LU4UFPS.cjs +14 -0
  7. package/dist/{chunk-3UNL26CD.cjs → chunk-3RKBJT6K.cjs} +8 -6
  8. package/dist/{chunk-6GLQLTJI.js → chunk-3SEEGNRE.js} +35 -27
  9. package/dist/{chunk-FEMAJES4.cjs → chunk-3UAJLO5U.cjs} +41 -39
  10. package/dist/chunk-4HJRHEXD.cjs +1612 -0
  11. package/dist/{chunk-JPG7OHEG.js → chunk-4QFWGLZO.js} +1 -1
  12. package/dist/chunk-4R2L3DSA.js +14 -0
  13. package/dist/{chunk-2JTGK64G.js → chunk-4UYKNOZG.js} +12 -10
  14. package/dist/{chunk-TKZXHVBG.js → chunk-5SDELRH3.js} +5 -5
  15. package/dist/{chunk-Q6B35Y7O.js → chunk-5Y72YQEK.js} +22 -113
  16. package/dist/{chunk-KUC673HM.js → chunk-6T3BTD6Q.js} +204 -982
  17. package/dist/{chunk-F57ECE2I.js → chunk-6YPTUHM7.js} +4 -4
  18. package/dist/{chunk-WJUIXU6Y.js → chunk-7HNYYNKE.js} +28 -22
  19. package/dist/{chunk-P6G3JZNC.cjs → chunk-7NSU5EQD.cjs} +57 -148
  20. package/dist/chunk-AAYNCJMW.cjs +48 -0
  21. package/dist/{chunk-FXJ3WWUB.js → chunk-ADBE7QF3.js} +5 -252
  22. package/dist/chunk-AECTRMGQ.cjs +334 -0
  23. package/dist/chunk-AGVXKD4K.js +334 -0
  24. package/dist/chunk-AL2GUHAJ.cjs +18 -0
  25. package/dist/{chunk-WMX26HB5.js → chunk-APJZBDQN.js} +12 -12
  26. package/dist/chunk-AUMKE74M.cjs +16 -0
  27. package/dist/chunk-B4NCVYEQ.cjs +292 -0
  28. package/dist/{chunk-XWEBHS7O.cjs → chunk-BXSRTBLU.cjs} +82 -54
  29. package/dist/chunk-CMGFZHCN.js +233 -0
  30. package/dist/chunk-CMZ3QTFQ.js +1207 -0
  31. package/dist/chunk-CPA2CKRZ.cjs +125 -0
  32. package/dist/{chunk-G47AP6LX.cjs → chunk-CSCJU6YC.cjs} +35 -33
  33. package/dist/chunk-CYUUHFXL.js +41 -0
  34. package/dist/chunk-DC4RTYWK.cjs +1122 -0
  35. package/dist/{chunk-NF7GNGYG.js → chunk-DDWFCWOE.js} +5 -7
  36. package/dist/{chunk-K4PTDK34.js → chunk-EFNKS5W4.js} +322 -428
  37. package/dist/{chunk-QA6TROME.cjs → chunk-EOKSKJSS.cjs} +25 -83
  38. package/dist/{chunk-6NTPY5QA.cjs → chunk-ETYLOZOB.cjs} +978 -2413
  39. package/dist/chunk-F5BPGWGT.cjs +931 -0
  40. package/dist/{chunk-5HB7FLCV.js → chunk-FCAVAEHF.js} +8277 -9990
  41. package/dist/chunk-FFT56TYB.cjs +401 -0
  42. package/dist/chunk-FYEJTF5Y.js +125 -0
  43. package/dist/chunk-G3GRYDMS.js +16 -0
  44. package/dist/{chunk-VWFZRMQR.js → chunk-G3OMVCID.js} +13 -7
  45. package/dist/chunk-G6OHIX5C.cjs +100 -0
  46. package/dist/{chunk-UDFRUKLC.cjs → chunk-GEDY7HQI.cjs} +2 -2
  47. package/dist/chunk-GQ7JJUIT.cjs +1207 -0
  48. package/dist/chunk-H3PKYE4N.js +18 -0
  49. package/dist/{chunk-AGDVEUVL.js → chunk-H5R7U2D2.js} +206 -5
  50. package/dist/{chunk-7AM6C6XH.cjs → chunk-HETQETPV.cjs} +9641 -9678
  51. package/dist/{chunk-Y2GSOUCS.cjs → chunk-HWVUR735.cjs} +2 -2
  52. package/dist/chunk-II4QMH26.cjs +35 -0
  53. package/dist/chunk-ILNN6QRW.js +1612 -0
  54. package/dist/chunk-IYVFSLWJ.js +931 -0
  55. package/dist/{chunk-C4HRRB3V.cjs → chunk-JGCFRTND.cjs} +23 -17
  56. package/dist/chunk-JHQ334WS.js +655 -0
  57. package/dist/{chunk-WCVZCGK5.cjs → chunk-JO5TLJPM.cjs} +129 -907
  58. package/dist/{chunk-PRX7HVLE.cjs → chunk-JVCAK4W3.cjs} +210 -9
  59. package/dist/chunk-KBJJQFYU.js +1122 -0
  60. package/dist/chunk-KEKCQENI.js +48 -0
  61. package/dist/chunk-KHXZFLIN.cjs +41 -0
  62. package/dist/chunk-KT3U3ZRP.cjs +1137 -0
  63. package/dist/chunk-L2VUINHN.js +35 -0
  64. package/dist/{chunk-FYOKS5RI.cjs → chunk-L6ZQGWCX.cjs} +4521 -6234
  65. package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
  66. package/dist/{chunk-VMMHJFHG.js → chunk-N67XG5GY.js} +10 -8
  67. package/dist/chunk-NPAQSMRY.js +2087 -0
  68. package/dist/{chunk-IFWLJ66M.js → chunk-NQWJAOHO.js} +6 -4
  69. package/dist/{chunk-6K7QZDA6.cjs → chunk-OBZJICEA.cjs} +8 -8
  70. package/dist/{chunk-62KNLDXK.js → chunk-OPYODNV2.js} +3 -3
  71. package/dist/chunk-P3JMAMHP.js +401 -0
  72. package/dist/chunk-PPXR22YC.cjs +2087 -0
  73. package/dist/chunk-PSVSEN4J.cjs +655 -0
  74. package/dist/{chunk-EQWD4IJE.js → chunk-RBYVFPER.js} +74 -46
  75. package/dist/{chunk-SMAAV3HL.js → chunk-ROBQ5TR7.js} +10541 -10578
  76. package/dist/{chunk-K6Y5NX6L.cjs → chunk-T3CLXR43.cjs} +114 -220
  77. package/dist/{chunk-FI6GMDO7.js → chunk-TTVOLEUS.js} +3605 -5040
  78. package/dist/{chunk-LM7TXMLU.cjs → chunk-ULWVKHSI.cjs} +8 -255
  79. package/dist/{chunk-EX6GGCAC.cjs → chunk-UT3ODMBU.cjs} +15 -15
  80. package/dist/chunk-WANCBTUE.js +71 -0
  81. package/dist/{chunk-BIZNSF3U.cjs → chunk-WBNAEYTQ.cjs} +2 -51
  82. package/dist/chunk-WFPCCBOM.cjs +71 -0
  83. package/dist/chunk-WI6FHKD7.js +158 -0
  84. package/dist/chunk-WMNCVLES.js +100 -0
  85. package/dist/{chunk-UT4YHQZW.js → chunk-WSDT7LYL.js} +0 -49
  86. package/dist/chunk-WVOTC7HW.cjs +136 -0
  87. package/dist/{chunk-6AMIRXKM.cjs → chunk-WWJG4GVG.cjs} +93 -87
  88. package/dist/chunk-XXBLN4BP.cjs +233 -0
  89. package/dist/{chunk-4IBPRIQH.js → chunk-YBQQNDC7.js} +1 -1
  90. package/dist/{chunk-QGZPZ3RL.js → chunk-YBS5QGON.js} +70 -128
  91. package/dist/{chunk-CDM7OSFB.cjs → chunk-Z5SWJW5Q.cjs} +125 -117
  92. package/dist/{chunk-YD4LJZV4.cjs → chunk-ZX7SCPLO.cjs} +6 -8
  93. package/dist/cloud-tenants-KZUZGD4A.cjs +117 -0
  94. package/dist/cloud-tenants-OGLVVQ7X.js +117 -0
  95. package/dist/components/case-studies/index.cjs +45 -29
  96. package/dist/components/case-studies/index.js +32 -16
  97. package/dist/components/chat/ask-prompts.d.ts +64 -0
  98. package/dist/components/chat/ask-prompts.d.ts.map +1 -0
  99. package/dist/components/chat/entity-cards/case-study-card.d.ts +6 -3
  100. package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
  101. package/dist/components/chat/index.cjs +27 -8
  102. package/dist/components/chat/index.d.ts +1 -0
  103. package/dist/components/chat/index.d.ts.map +1 -1
  104. package/dist/components/chat/index.js +57 -38
  105. package/dist/components/chat/quick-action-chip.d.ts +7 -3
  106. package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
  107. package/dist/components/contact/index.cjs +29 -13
  108. package/dist/components/contact/index.js +28 -12
  109. package/dist/components/docs/index.cjs +33 -16
  110. package/dist/components/docs/index.js +33 -16
  111. package/dist/components/docs/use-scroll-spy.d.ts +23 -1
  112. package/dist/components/docs/use-scroll-spy.d.ts.map +1 -1
  113. package/dist/components/embeds/index.cjs +29 -13
  114. package/dist/components/embeds/index.js +28 -12
  115. package/dist/components/faq/faq-section.d.ts +8 -1
  116. package/dist/components/faq/faq-section.d.ts.map +1 -1
  117. package/dist/components/faq/index.cjs +30 -14
  118. package/dist/components/faq/index.js +29 -13
  119. package/dist/components/features/array-entry-manager.d.ts +5 -1
  120. package/dist/components/features/array-entry-manager.d.ts.map +1 -1
  121. package/dist/components/features/board/board.d.ts +2 -0
  122. package/dist/components/features/board/board.d.ts.map +1 -1
  123. package/dist/components/features/board/ticket-card.d.ts.map +1 -1
  124. package/dist/components/features/board/touch-board.d.ts +1 -1
  125. package/dist/components/features/board/touch-board.d.ts.map +1 -1
  126. package/dist/components/features/board/types.d.ts +3 -0
  127. package/dist/components/features/board/types.d.ts.map +1 -1
  128. package/dist/components/features/board/use-board-collapse.d.ts +6 -1
  129. package/dist/components/features/board/use-board-collapse.d.ts.map +1 -1
  130. package/dist/components/features/capability-explorer.d.ts +94 -0
  131. package/dist/components/features/capability-explorer.d.ts.map +1 -0
  132. package/dist/components/features/cloud-tenants/index.d.ts +14 -0
  133. package/dist/components/features/cloud-tenants/index.d.ts.map +1 -0
  134. package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts +9 -0
  135. package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -0
  136. package/dist/components/features/cloud-tenants/tenant-cell.d.ts +8 -0
  137. package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -0
  138. package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts +9 -0
  139. package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -0
  140. package/dist/components/features/cloud-tenants/tenant-presentation.d.ts +42 -0
  141. package/dist/components/features/cloud-tenants/tenant-presentation.d.ts.map +1 -0
  142. package/dist/components/features/cloud-tenants/tenant-row.d.ts +22 -0
  143. package/dist/components/features/cloud-tenants/tenant-row.d.ts.map +1 -0
  144. package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts +42 -0
  145. package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts.map +1 -0
  146. package/dist/components/features/cloud-tenants/tenants-table-view.d.ts +26 -0
  147. package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -0
  148. package/dist/components/features/devices/device-last-online.d.ts +3 -0
  149. package/dist/components/features/devices/device-last-online.d.ts.map +1 -0
  150. package/dist/components/features/devices/device-name.d.ts +42 -0
  151. package/dist/components/features/devices/device-name.d.ts.map +1 -0
  152. package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts +26 -0
  153. package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts.map +1 -0
  154. package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +25 -0
  155. package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +1 -0
  156. package/dist/components/features/devices/device-selector/device-selector.d.ts +38 -0
  157. package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -0
  158. package/dist/components/features/devices/device-selector/device-selector.types.d.ts +133 -0
  159. package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -0
  160. package/dist/components/features/devices/device-selector/narrowing.d.ts +13 -0
  161. package/dist/components/features/devices/device-selector/narrowing.d.ts.map +1 -0
  162. package/dist/components/features/devices/device-selector/use-device-selector.d.ts +17 -0
  163. package/dist/components/features/devices/device-selector/use-device-selector.d.ts.map +1 -0
  164. package/dist/components/features/devices/device-status.d.ts +23 -0
  165. package/dist/components/features/devices/device-status.d.ts.map +1 -0
  166. package/dist/components/features/devices/device-statuses.d.ts +40 -0
  167. package/dist/components/features/devices/device-statuses.d.ts.map +1 -0
  168. package/dist/components/features/devices/device-tags-filter-button.d.ts +22 -0
  169. package/dist/components/features/devices/device-tags-filter-button.d.ts.map +1 -0
  170. package/dist/components/features/devices/device-type-icon.d.ts +11 -0
  171. package/dist/components/features/devices/device-type-icon.d.ts.map +1 -0
  172. package/dist/components/features/devices/device-type-tile.d.ts +9 -0
  173. package/dist/components/features/devices/device-type-tile.d.ts.map +1 -0
  174. package/dist/components/features/devices/devices-filter-toolbar.d.ts +46 -0
  175. package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -0
  176. package/dist/components/features/devices/devices-grid-filters.d.ts +25 -0
  177. package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -0
  178. package/dist/components/features/devices/devices-grid.d.ts +12 -0
  179. package/dist/components/features/devices/devices-grid.d.ts.map +1 -0
  180. package/dist/components/features/devices/devices-list.d.ts +131 -0
  181. package/dist/components/features/devices/devices-list.d.ts.map +1 -0
  182. package/dist/components/features/devices/devices-panel-header.d.ts +46 -0
  183. package/dist/components/features/devices/devices-panel-header.d.ts.map +1 -0
  184. package/dist/components/features/devices/devices-panel-view.d.ts +79 -0
  185. package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -0
  186. package/dist/components/features/devices/devices-table-columns.d.ts +76 -0
  187. package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -0
  188. package/dist/components/features/devices/devices-view-config.d.ts +25 -0
  189. package/dist/components/features/devices/devices-view-config.d.ts.map +1 -0
  190. package/dist/components/features/devices/index.d.ts +24 -0
  191. package/dist/components/features/devices/index.d.ts.map +1 -0
  192. package/dist/components/features/devices/types.d.ts +68 -0
  193. package/dist/components/features/devices/types.d.ts.map +1 -0
  194. package/dist/components/features/devices/use-tag-filter-modal.d.ts +50 -0
  195. package/dist/components/features/devices/use-tag-filter-modal.d.ts.map +1 -0
  196. package/dist/components/features/index.cjs +227 -12
  197. package/dist/components/features/index.d.ts +7 -0
  198. package/dist/components/features/index.d.ts.map +1 -1
  199. package/dist/components/features/index.js +266 -51
  200. package/dist/components/features/knowledge-base/index.d.ts +7 -0
  201. package/dist/components/features/knowledge-base/index.d.ts.map +1 -0
  202. package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts +44 -0
  203. package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts.map +1 -0
  204. package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts +13 -0
  205. package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts.map +1 -0
  206. package/dist/components/features/knowledge-base/knowledge-base-status.d.ts +8 -0
  207. package/dist/components/features/knowledge-base/knowledge-base-status.d.ts.map +1 -0
  208. package/dist/components/features/knowledge-base/knowledge-base-table.d.ts +52 -0
  209. package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -0
  210. package/dist/components/features/logs/index.d.ts +12 -0
  211. package/dist/components/features/logs/index.d.ts.map +1 -0
  212. package/dist/components/features/logs/log-drawer.d.ts +29 -0
  213. package/dist/components/features/logs/log-drawer.d.ts.map +1 -0
  214. package/dist/components/features/logs/log-source-labels.d.ts +11 -0
  215. package/dist/components/features/logs/log-source-labels.d.ts.map +1 -0
  216. package/dist/components/features/logs/logs-page-view.d.ts +32 -0
  217. package/dist/components/features/logs/logs-page-view.d.ts.map +1 -0
  218. package/dist/components/features/logs/logs-table-columns.d.ts +15 -0
  219. package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -0
  220. package/dist/components/features/logs/logs-table-view.d.ts +64 -0
  221. package/dist/components/features/logs/logs-table-view.d.ts.map +1 -0
  222. package/dist/components/features/logs/types.d.ts +52 -0
  223. package/dist/components/features/logs/types.d.ts.map +1 -0
  224. package/dist/components/features/policies/compute-policy-summary.d.ts +37 -0
  225. package/dist/components/features/policies/compute-policy-summary.d.ts.map +1 -0
  226. package/dist/components/features/policies/index.d.ts +8 -0
  227. package/dist/components/features/policies/index.d.ts.map +1 -0
  228. package/dist/components/features/policies/policies-table.d.ts +34 -0
  229. package/dist/components/features/policies/policies-table.d.ts.map +1 -0
  230. package/dist/components/features/policies/policy-summary-cards.d.ts +17 -0
  231. package/dist/components/features/policies/policy-summary-cards.d.ts.map +1 -0
  232. package/dist/components/features/policies/policy-table-row.d.ts +37 -0
  233. package/dist/components/features/policies/policy-table-row.d.ts.map +1 -0
  234. package/dist/components/features/remote-session/index.d.ts +8 -0
  235. package/dist/components/features/remote-session/index.d.ts.map +1 -1
  236. package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +21 -0
  237. package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -0
  238. package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +31 -0
  239. package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -0
  240. package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts +21 -0
  241. package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -0
  242. package/dist/components/features/remote-session/remote-desktop-view.d.ts +50 -0
  243. package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -0
  244. package/dist/components/features/software/index.d.ts +8 -0
  245. package/dist/components/features/software/index.d.ts.map +1 -0
  246. package/dist/components/features/software/package-managers.d.ts +30 -0
  247. package/dist/components/features/software/package-managers.d.ts.map +1 -0
  248. package/dist/components/features/software/package-search-field-placeholder.d.ts +7 -0
  249. package/dist/components/features/software/package-search-field-placeholder.d.ts.map +1 -0
  250. package/dist/components/features/software/schedule-fields.d.ts +34 -0
  251. package/dist/components/features/software/schedule-fields.d.ts.map +1 -0
  252. package/dist/components/features/software/software-action-copy.d.ts +25 -0
  253. package/dist/components/features/software/software-action-copy.d.ts.map +1 -0
  254. package/dist/components/features/software/software-action-form.d.ts +71 -0
  255. package/dist/components/features/software/software-action-form.d.ts.map +1 -0
  256. package/dist/components/features/software/software-row-fields.d.ts +23 -0
  257. package/dist/components/features/software/software-row-fields.d.ts.map +1 -0
  258. package/dist/components/features/software/software-row.d.ts +18 -0
  259. package/dist/components/features/software/software-row.d.ts.map +1 -0
  260. package/dist/components/features/sortable-list/index.d.ts +1 -0
  261. package/dist/components/features/sortable-list/index.d.ts.map +1 -1
  262. package/dist/components/features/sortable-list/sortable-drag-handle.d.ts +21 -0
  263. package/dist/components/features/sortable-list/sortable-drag-handle.d.ts.map +1 -0
  264. package/dist/components/help-center-pages/index.cjs +133 -114
  265. package/dist/components/help-center-pages/index.js +58 -39
  266. package/dist/components/index.cjs +320 -82
  267. package/dist/components/index.js +451 -213
  268. package/dist/components/layout/page-heading.d.ts +12 -3
  269. package/dist/components/layout/page-heading.d.ts.map +1 -1
  270. package/dist/components/meeting-scheduler/index.cjs +120 -98
  271. package/dist/components/meeting-scheduler/index.js +50 -28
  272. package/dist/components/navigation/index.cjs +36 -17
  273. package/dist/components/navigation/index.d.ts +3 -0
  274. package/dist/components/navigation/index.d.ts.map +1 -1
  275. package/dist/components/navigation/index.js +36 -17
  276. package/dist/components/navigation/mingo-ai-button.d.ts +23 -10
  277. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  278. package/dist/components/navigation/sticky-section-nav.d.ts +14 -1
  279. package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
  280. package/dist/components/onboarding-guides/index.cjs +32 -16
  281. package/dist/components/onboarding-guides/index.js +31 -15
  282. package/dist/components/product-demo/cast.d.ts +58 -0
  283. package/dist/components/product-demo/cast.d.ts.map +1 -0
  284. package/dist/components/product-demo/fixtures/cloud-tenants.d.ts +10 -0
  285. package/dist/components/product-demo/fixtures/cloud-tenants.d.ts.map +1 -0
  286. package/dist/components/product-demo/fixtures/devices.d.ts +14 -0
  287. package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -0
  288. package/dist/components/product-demo/fixtures/knowledge.d.ts +14 -0
  289. package/dist/components/product-demo/fixtures/knowledge.d.ts.map +1 -0
  290. package/dist/components/product-demo/fixtures/logs.d.ts +15 -0
  291. package/dist/components/product-demo/fixtures/logs.d.ts.map +1 -0
  292. package/dist/components/product-demo/fixtures/policies.d.ts +13 -0
  293. package/dist/components/product-demo/fixtures/policies.d.ts.map +1 -0
  294. package/dist/components/product-demo/fixtures/remote-session.d.ts +20 -0
  295. package/dist/components/product-demo/fixtures/remote-session.d.ts.map +1 -0
  296. package/dist/components/product-demo/fixtures/shared.d.ts +156 -0
  297. package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -0
  298. package/dist/components/product-demo/fixtures/software-update.d.ts +19 -0
  299. package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -0
  300. package/dist/components/product-demo/fixtures/tickets-board.d.ts +8 -0
  301. package/dist/components/product-demo/fixtures/tickets-board.d.ts.map +1 -0
  302. package/dist/components/product-demo/index.cjs +112 -0
  303. package/dist/components/product-demo/index.d.ts +6 -0
  304. package/dist/components/product-demo/index.d.ts.map +1 -0
  305. package/dist/components/product-demo/index.js +112 -0
  306. package/dist/components/product-demo/product-screen.d.ts +22 -0
  307. package/dist/components/product-demo/product-screen.d.ts.map +1 -0
  308. package/dist/components/product-demo/registry.d.ts +13 -0
  309. package/dist/components/product-demo/registry.d.ts.map +1 -0
  310. package/dist/components/product-demo/screen-keys.cjs +25 -0
  311. package/dist/components/product-demo/screen-keys.d.ts +27 -0
  312. package/dist/components/product-demo/screen-keys.d.ts.map +1 -0
  313. package/dist/components/product-demo/screen-keys.js +20 -0
  314. package/dist/components/product-demo/screens/cloud-tenants.d.ts +8 -0
  315. package/dist/components/product-demo/screens/cloud-tenants.d.ts.map +1 -0
  316. package/dist/components/product-demo/screens/devices.d.ts +10 -0
  317. package/dist/components/product-demo/screens/devices.d.ts.map +1 -0
  318. package/dist/components/product-demo/screens/knowledge.d.ts +9 -0
  319. package/dist/components/product-demo/screens/knowledge.d.ts.map +1 -0
  320. package/dist/components/product-demo/screens/logs.d.ts +4 -0
  321. package/dist/components/product-demo/screens/logs.d.ts.map +1 -0
  322. package/dist/components/product-demo/screens/policies.d.ts +8 -0
  323. package/dist/components/product-demo/screens/policies.d.ts.map +1 -0
  324. package/dist/components/product-demo/screens/remote-desktop-picture.d.ts +11 -0
  325. package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -0
  326. package/dist/components/product-demo/screens/remote-session.d.ts +8 -0
  327. package/dist/components/product-demo/screens/remote-session.d.ts.map +1 -0
  328. package/dist/components/product-demo/screens/software-update.d.ts +12 -0
  329. package/dist/components/product-demo/screens/software-update.d.ts.map +1 -0
  330. package/dist/components/product-demo/screens/tickets-board.d.ts +4 -0
  331. package/dist/components/product-demo/screens/tickets-board.d.ts.map +1 -0
  332. package/dist/components/product-demo/types.d.ts +9 -0
  333. package/dist/components/product-demo/types.d.ts.map +1 -0
  334. package/dist/components/related-content/index.cjs +14 -8
  335. package/dist/components/related-content/index.js +13 -7
  336. package/dist/components/tickets/index.cjs +36 -20
  337. package/dist/components/tickets/index.js +35 -19
  338. package/dist/components/ui/file-manager/index.cjs +38 -34
  339. package/dist/components/ui/file-manager/index.js +8 -4
  340. package/dist/components/ui/index.cjs +57 -17
  341. package/dist/components/ui/index.d.ts +1 -0
  342. package/dist/components/ui/index.d.ts.map +1 -1
  343. package/dist/components/ui/index.js +141 -101
  344. package/dist/components/ui/product-screen-frame.d.ts +45 -0
  345. package/dist/components/ui/product-screen-frame.d.ts.map +1 -0
  346. package/dist/components/ui/radio-group.d.ts +5 -0
  347. package/dist/components/ui/radio-group.d.ts.map +1 -1
  348. package/dist/components/ui/snap-carousel.d.ts +11 -1
  349. package/dist/components/ui/snap-carousel.d.ts.map +1 -1
  350. package/dist/components/ui/tag.d.ts +1 -1
  351. package/dist/components/ui/tag.d.ts.map +1 -1
  352. package/dist/devices-LBMG42K6.js +81 -0
  353. package/dist/devices-YGYJIXQY.cjs +81 -0
  354. package/dist/hooks/index.cjs +17 -8
  355. package/dist/hooks/index.js +32 -23
  356. package/dist/hooks/ui/index.d.ts +1 -0
  357. package/dist/hooks/ui/index.d.ts.map +1 -1
  358. package/dist/hooks/ui/use-header-height.d.ts +12 -0
  359. package/dist/hooks/ui/use-header-height.d.ts.map +1 -1
  360. package/dist/hooks/ui/use-sticky-toolbar.d.ts +29 -0
  361. package/dist/hooks/ui/use-sticky-toolbar.d.ts.map +1 -0
  362. package/dist/hooks/use-location-hash.d.ts +2 -2
  363. package/dist/hooks/use-location-hash.d.ts.map +1 -1
  364. package/dist/hooks/use-scroll-to-hash.d.ts +7 -0
  365. package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -1
  366. package/dist/index.cjs +276 -25
  367. package/dist/index.js +729 -478
  368. package/dist/knowledge-H5BIWJVI.js +108 -0
  369. package/dist/knowledge-KTCVJIWN.cjs +108 -0
  370. package/dist/logs-DB5Z7M5Q.js +216 -0
  371. package/dist/logs-RVCC2UQW.cjs +216 -0
  372. package/dist/policies-EWUULFBR.js +121 -0
  373. package/dist/policies-HV4IQCBV.cjs +121 -0
  374. package/dist/remote-session-GSGZOFDX.js +196 -0
  375. package/dist/remote-session-R6VAFESR.cjs +196 -0
  376. package/dist/software-update-6PXKRKBT.js +179 -0
  377. package/dist/software-update-D4OVSWSG.cjs +179 -0
  378. package/dist/tickets-board-BHLPAVNJ.cjs +137 -0
  379. package/dist/tickets-board-PYDNELSK.js +137 -0
  380. package/dist/types/case-study.d.ts +15 -1
  381. package/dist/types/case-study.d.ts.map +1 -1
  382. package/dist/utils/date-utils.d.ts +5 -0
  383. package/dist/utils/date-utils.d.ts.map +1 -1
  384. package/dist/utils/index.cjs +45 -2
  385. package/dist/utils/index.d.ts +2 -1
  386. package/dist/utils/index.d.ts.map +1 -1
  387. package/dist/utils/index.js +41 -3
  388. package/dist/utils/open-in-new-tab.d.ts +7 -0
  389. package/dist/utils/open-in-new-tab.d.ts.map +1 -0
  390. package/dist/utils/same-page-hash-nav.d.ts +31 -0
  391. package/dist/utils/same-page-hash-nav.d.ts.map +1 -1
  392. package/dist/utils/scroll-into-view.d.ts +14 -1
  393. package/dist/utils/scroll-into-view.d.ts.map +1 -1
  394. package/package.json +13 -1
  395. package/src/components/chat/ask-prompts.tsx +226 -0
  396. package/src/components/chat/embeddable-chat.tsx +36 -2
  397. package/src/components/chat/entity-cards/case-study-card.tsx +122 -46
  398. package/src/components/chat/index.ts +1 -0
  399. package/src/components/chat/quick-action-chip.tsx +33 -9
  400. package/src/components/docs/use-scroll-spy.ts +93 -18
  401. package/src/components/faq/faq-section.tsx +82 -43
  402. package/src/components/features/array-entry-manager.tsx +10 -1
  403. package/src/components/features/board/board.tsx +4 -1
  404. package/src/components/features/board/ticket-card.tsx +11 -1
  405. package/src/components/features/board/touch-board.tsx +2 -1
  406. package/src/components/features/board/types.ts +3 -0
  407. package/src/components/features/board/use-board-collapse.ts +7 -2
  408. package/src/components/features/capability-explorer.tsx +412 -0
  409. package/src/components/features/cloud-tenants/index.ts +28 -0
  410. package/src/components/features/cloud-tenants/tenant-access-cell.tsx +24 -0
  411. package/src/components/features/cloud-tenants/tenant-cell.tsx +26 -0
  412. package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +27 -0
  413. package/src/components/features/cloud-tenants/tenant-presentation.ts +111 -0
  414. package/src/components/features/cloud-tenants/tenant-row.ts +21 -0
  415. package/src/components/features/cloud-tenants/tenants-table-columns.ts +30 -0
  416. package/src/components/features/cloud-tenants/tenants-table-view.tsx +142 -0
  417. package/src/components/features/devices/device-last-online.ts +6 -0
  418. package/src/components/features/devices/device-name.ts +51 -0
  419. package/src/components/features/devices/device-selector/device-selection-mode-radio.tsx +107 -0
  420. package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +32 -0
  421. package/src/components/features/devices/device-selector/device-selector.tsx +799 -0
  422. package/src/components/features/devices/device-selector/device-selector.types.ts +138 -0
  423. package/src/components/features/devices/device-selector/narrowing.ts +33 -0
  424. package/src/components/features/devices/device-selector/use-device-selector.ts +51 -0
  425. package/src/components/features/devices/device-status.ts +102 -0
  426. package/src/components/features/devices/device-statuses.ts +88 -0
  427. package/src/components/features/devices/device-tags-filter-button.tsx +49 -0
  428. package/src/components/features/devices/device-type-icon.tsx +29 -0
  429. package/src/components/features/devices/device-type-tile.tsx +17 -0
  430. package/src/components/features/devices/devices-filter-toolbar.tsx +114 -0
  431. package/src/components/features/devices/devices-grid-filters.tsx +99 -0
  432. package/src/components/features/devices/devices-grid.tsx +86 -0
  433. package/src/components/features/devices/devices-list.tsx +357 -0
  434. package/src/components/features/devices/devices-panel-header.tsx +97 -0
  435. package/src/components/features/devices/devices-panel-view.tsx +261 -0
  436. package/src/components/features/devices/devices-table-columns.tsx +356 -0
  437. package/src/components/features/devices/devices-view-config.tsx +38 -0
  438. package/src/components/features/devices/index.ts +89 -0
  439. package/src/components/features/devices/types.ts +74 -0
  440. package/src/components/features/devices/use-tag-filter-modal.ts +109 -0
  441. package/src/components/features/index.ts +9 -0
  442. package/src/components/features/knowledge-base/index.ts +19 -0
  443. package/src/components/features/knowledge-base/knowledge-base-article-view.tsx +134 -0
  444. package/src/components/features/knowledge-base/knowledge-base-item-icon.ts +14 -0
  445. package/src/components/features/knowledge-base/knowledge-base-status.ts +12 -0
  446. package/src/components/features/knowledge-base/knowledge-base-table.tsx +180 -0
  447. package/src/components/features/logs/index.ts +20 -0
  448. package/src/components/features/logs/log-drawer.tsx +138 -0
  449. package/src/components/features/logs/log-source-labels.ts +25 -0
  450. package/src/components/features/logs/logs-page-view.tsx +100 -0
  451. package/src/components/features/logs/logs-table-columns.ts +16 -0
  452. package/src/components/features/logs/logs-table-view.tsx +509 -0
  453. package/src/components/features/logs/types.ts +71 -0
  454. package/src/components/features/policies/compute-policy-summary.ts +115 -0
  455. package/src/components/features/policies/index.ts +14 -0
  456. package/src/components/features/policies/policies-table.tsx +235 -0
  457. package/src/components/features/policies/policy-summary-cards.tsx +69 -0
  458. package/src/components/features/policies/policy-table-row.ts +37 -0
  459. package/src/components/features/remote-session/index.ts +8 -0
  460. package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +56 -0
  461. package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +102 -0
  462. package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +119 -0
  463. package/src/components/features/remote-session/remote-desktop-view.tsx +209 -0
  464. package/src/components/features/software/index.ts +39 -0
  465. package/src/components/features/software/package-managers.ts +54 -0
  466. package/src/components/features/software/package-search-field-placeholder.tsx +23 -0
  467. package/src/components/features/software/schedule-fields.tsx +105 -0
  468. package/src/components/features/software/software-action-copy.ts +70 -0
  469. package/src/components/features/software/software-action-form.tsx +199 -0
  470. package/src/components/features/software/software-row-fields.tsx +105 -0
  471. package/src/components/features/software/software-row.ts +22 -0
  472. package/src/components/features/sortable-list/index.ts +1 -0
  473. package/src/components/features/sortable-list/sortable-drag-handle.tsx +41 -0
  474. package/src/components/layout/page-heading.tsx +23 -6
  475. package/src/components/navigation/index.ts +5 -0
  476. package/src/components/navigation/mingo-ai-button.tsx +37 -13
  477. package/src/components/navigation/sticky-section-nav.tsx +99 -1
  478. package/src/components/product-demo/cast.tsx +78 -0
  479. package/src/components/product-demo/fixtures/cloud-tenants.ts +63 -0
  480. package/src/components/product-demo/fixtures/devices.ts +87 -0
  481. package/src/components/product-demo/fixtures/knowledge.ts +48 -0
  482. package/src/components/product-demo/fixtures/logs.ts +103 -0
  483. package/src/components/product-demo/fixtures/policies.ts +77 -0
  484. package/src/components/product-demo/fixtures/remote-session.ts +65 -0
  485. package/src/components/product-demo/fixtures/shared.ts +53 -0
  486. package/src/components/product-demo/fixtures/software-update.ts +63 -0
  487. package/src/components/product-demo/fixtures/tickets-board.ts +100 -0
  488. package/src/components/product-demo/index.ts +7 -0
  489. package/src/components/product-demo/product-screen.tsx +94 -0
  490. package/src/components/product-demo/registry.ts +20 -0
  491. package/src/components/product-demo/screen-keys.ts +31 -0
  492. package/src/components/product-demo/screens/cloud-tenants.tsx +23 -0
  493. package/src/components/product-demo/screens/devices.tsx +41 -0
  494. package/src/components/product-demo/screens/knowledge.tsx +27 -0
  495. package/src/components/product-demo/screens/logs.tsx +113 -0
  496. package/src/components/product-demo/screens/policies.tsx +29 -0
  497. package/src/components/product-demo/screens/remote-desktop-picture.tsx +118 -0
  498. package/src/components/product-demo/screens/remote-session.tsx +46 -0
  499. package/src/components/product-demo/screens/software-update.tsx +97 -0
  500. package/src/components/product-demo/screens/tickets-board.tsx +28 -0
  501. package/src/components/product-demo/types.ts +10 -0
  502. package/src/components/ui/index.ts +1 -0
  503. package/src/components/ui/product-screen-frame.tsx +136 -0
  504. package/src/components/ui/radio-group.tsx +16 -4
  505. package/src/components/ui/snap-carousel.tsx +26 -1
  506. package/src/components/ui/tag.tsx +5 -0
  507. package/src/hooks/ui/index.ts +1 -0
  508. package/src/hooks/ui/use-header-height.ts +51 -2
  509. package/src/hooks/ui/use-sticky-toolbar.ts +60 -0
  510. package/src/hooks/use-location-hash.ts +9 -5
  511. package/src/hooks/use-scroll-to-hash.ts +9 -1
  512. package/src/types/case-study.ts +21 -1
  513. package/src/utils/date-utils.ts +8 -1
  514. package/src/utils/index.ts +5 -0
  515. package/src/utils/open-in-new-tab.ts +12 -0
  516. package/src/utils/same-page-hash-nav.ts +57 -0
  517. package/src/utils/scroll-into-view.ts +21 -5
  518. package/dist/chunk-BM5MVGH3.cjs +0 -499
  519. package/dist/chunk-CUME3VTQ.js +0 -144
  520. package/dist/chunk-CZ7Y7UG4.js +0 -732
  521. package/dist/chunk-FLKJYMVB.js +0 -499
  522. package/dist/chunk-OF6GEI5A.cjs +0 -144
  523. package/dist/chunk-UVTD52MD.cjs +0 -732
@@ -0,0 +1,179 @@
1
+ "use client";
2
+ "use client";
3
+ import {
4
+ buildDevicesFixture
5
+ } from "./chunk-WANCBTUE.js";
6
+ import {
7
+ useProductDemoCast
8
+ } from "./chunk-L2VUINHN.js";
9
+ import {
10
+ DEMO_DEVICES,
11
+ DEMO_NOW
12
+ } from "./chunk-CYUUHFXL.js";
13
+ import {
14
+ Autocomplete,
15
+ DeviceSelector,
16
+ PACKAGE_SEARCH_LABEL,
17
+ PACKAGE_SEARCH_PLACEHOLDER,
18
+ SoftwareActionForm
19
+ } from "./chunk-FCAVAEHF.js";
20
+ import "./chunk-ILNN6QRW.js";
21
+ import "./chunk-LQYXMEYF.js";
22
+ import "./chunk-4JPLYOS6.js";
23
+ import "./chunk-NPAQSMRY.js";
24
+ import "./chunk-6T3BTD6Q.js";
25
+ import "./chunk-3K5ZLZE7.js";
26
+ import "./chunk-HFL2F4RM.js";
27
+ import "./chunk-WSDT7LYL.js";
28
+ import "./chunk-G3GRYDMS.js";
29
+ import "./chunk-PLWMIU72.js";
30
+ import "./chunk-ROBQ5TR7.js";
31
+ import "./chunk-2NASBO7O.js";
32
+ import "./chunk-KBJJQFYU.js";
33
+ import "./chunk-P3JMAMHP.js";
34
+ import "./chunk-CMZ3QTFQ.js";
35
+ import "./chunk-34I6XI3N.js";
36
+ import "./chunk-GY4IZG22.js";
37
+ import "./chunk-TTVOLEUS.js";
38
+ import "./chunk-H3PKYE4N.js";
39
+ import "./chunk-JHQ334WS.js";
40
+ import "./chunk-IYVFSLWJ.js";
41
+ import "./chunk-FBZMAPWO.js";
42
+ import "./chunk-AGVXKD4K.js";
43
+ import "./chunk-E4ABZWTJ.js";
44
+ import "./chunk-KEKCQENI.js";
45
+ import "./chunk-ADBE7QF3.js";
46
+ import "./chunk-N45D4ZXQ.js";
47
+ import "./chunk-NCPTID44.js";
48
+ import "./chunk-OSIKGEBU.js";
49
+ import "./chunk-CMGFZHCN.js";
50
+ import "./chunk-WI6FHKD7.js";
51
+ import "./chunk-INS7KZJB.js";
52
+ import "./chunk-YDPKUAP4.js";
53
+ import "./chunk-DAAVMYUT.js";
54
+ import "./chunk-V3JFVKHV.js";
55
+ import "./chunk-WMNCVLES.js";
56
+ import "./chunk-4R2L3DSA.js";
57
+ import "./chunk-FYEJTF5Y.js";
58
+ import "./chunk-7RXWKTAP.js";
59
+ import "./chunk-62GWEYJ5.js";
60
+
61
+ // src/components/product-demo/screens/software-update.tsx
62
+ import { useMemo } from "react";
63
+
64
+ // src/components/product-demo/fixtures/software-update.ts
65
+ var chrome = {
66
+ id: "Google.Chrome",
67
+ name: "Google Chrome",
68
+ description: "A fast, secure web browser built for the modern web",
69
+ version: "141.0.7390.66",
70
+ packageType: null
71
+ };
72
+ function demoDay() {
73
+ const [year, month, day] = DEMO_NOW.slice(0, 10).split("-").map(Number);
74
+ return new Date(year, month - 1, day);
75
+ }
76
+ var TONIGHT_11_PM = { value: "23:00", label: "11:00 PM" };
77
+ var timing = {
78
+ timeReferenceOptions: [
79
+ { value: "SERVER", label: "Your account timezone" },
80
+ { value: "DEVICE_LOCAL", label: "Device local timezone" }
81
+ ],
82
+ getTimeOptions: () => [
83
+ { value: "22:00", label: "10:00 PM" },
84
+ { value: "22:30", label: "10:30 PM" },
85
+ TONIGHT_11_PM,
86
+ { value: "23:30", label: "11:30 PM" }
87
+ ],
88
+ getEarliestDay: demoDay,
89
+ getStartError: () => void 0
90
+ };
91
+ var initialValues = {
92
+ rows: [{ key: "row-0", packageManager: "WINGET", pkg: chrome }],
93
+ mode: "schedule",
94
+ date: demoDay(),
95
+ time: TONIGHT_11_PM.value,
96
+ timeReference: "SERVER"
97
+ };
98
+ function buildSoftwareUpdateFixture(cast) {
99
+ const devices = buildDevicesFixture(cast).devices.filter((device) => device.osType === "WINDOWS");
100
+ return {
101
+ action: "UPDATE",
102
+ package: chrome,
103
+ timing,
104
+ initialValues,
105
+ devices,
106
+ selectedIds: /* @__PURE__ */ new Set([DEMO_DEVICES.reception.id, DEMO_DEVICES.samT14.id, DEMO_DEVICES.frontDesk.id])
107
+ };
108
+ }
109
+
110
+ // src/components/product-demo/screens/software-update.tsx
111
+ import { jsx } from "react/jsx-runtime";
112
+ var noop = () => {
113
+ };
114
+ var HIDDEN_WHEN_COMPACT = ["organization"];
115
+ function StaticPackageField({ value }) {
116
+ return /* @__PURE__ */ jsx(
117
+ Autocomplete,
118
+ {
119
+ label: PACKAGE_SEARCH_LABEL,
120
+ labelVariant: "large",
121
+ options: value ? [{ value: value.id, label: value.name, description: value.description ?? void 0 }] : [],
122
+ value: value?.id ?? null,
123
+ onChange: noop,
124
+ placeholder: PACKAGE_SEARCH_PLACEHOLDER
125
+ }
126
+ );
127
+ }
128
+ var renderPackageSearch = (field) => /* @__PURE__ */ jsx(StaticPackageField, { ...field });
129
+ var NO_NARROWING = { columnFilters: [], tags: [] };
130
+ function SoftwareUpdateScreen({ compact = false }) {
131
+ const cast = useProductDemoCast();
132
+ const fixture = useMemo(() => buildSoftwareUpdateFixture(cast), [cast]);
133
+ const selected = useMemo(
134
+ () => fixture.devices.filter((device) => fixture.selectedIds.has(device.id)),
135
+ [fixture.devices, fixture.selectedIds]
136
+ );
137
+ return /* @__PURE__ */ jsx("div", { className: "h-full bg-ods-bg pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ jsx("div", { className: "h-full", children: /* @__PURE__ */ jsx(
138
+ SoftwareActionForm,
139
+ {
140
+ action: fixture.action,
141
+ showHeader: false,
142
+ addRows: false,
143
+ runModeLayout: "inline",
144
+ showDeviceHeading: false,
145
+ onSubmit: noop,
146
+ timing: fixture.timing,
147
+ initialValues: fixture.initialValues,
148
+ renderPackageSearch,
149
+ renderDevicePicker: () => /* @__PURE__ */ jsx(
150
+ DeviceSelector,
151
+ {
152
+ devices: selected,
153
+ loading: false,
154
+ selectedIds: fixture.selectedIds,
155
+ showSelectionModeRadio: false,
156
+ showToolbar: false,
157
+ hideColumns: compact ? HIDDEN_WHEN_COMPACT : void 0,
158
+ server: {
159
+ activeTab: "selected",
160
+ onTabChange: noop,
161
+ search: "",
162
+ onSearchChange: noop,
163
+ narrowing: NO_NARROWING,
164
+ onNarrowingChange: noop,
165
+ selectedCount: selected.length,
166
+ totalCount: selected.length,
167
+ onAdd: noop,
168
+ onRemove: noop,
169
+ onAddAll: noop,
170
+ onRemoveAll: noop
171
+ }
172
+ }
173
+ )
174
+ }
175
+ ) }) });
176
+ }
177
+ export {
178
+ SoftwareUpdateScreen as default
179
+ };
@@ -0,0 +1,179 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
+ "use client";
3
+
4
+
5
+ var _chunkWFPCCBOMcjs = require('./chunk-WFPCCBOM.cjs');
6
+
7
+
8
+ var _chunkII4QMH26cjs = require('./chunk-II4QMH26.cjs');
9
+
10
+
11
+
12
+ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
13
+
14
+
15
+
16
+
17
+
18
+
19
+ var _chunkL6ZQGWCXcjs = require('./chunk-L6ZQGWCX.cjs');
20
+ require('./chunk-4HJRHEXD.cjs');
21
+ require('./chunk-HQQE74RO.cjs');
22
+ require('./chunk-DEY6XXGO.cjs');
23
+ require('./chunk-PPXR22YC.cjs');
24
+ require('./chunk-JO5TLJPM.cjs');
25
+ require('./chunk-B4NCVYEQ.cjs');
26
+ require('./chunk-MZ4KBSH7.cjs');
27
+ require('./chunk-WBNAEYTQ.cjs');
28
+ require('./chunk-AUMKE74M.cjs');
29
+ require('./chunk-LX22Y43B.cjs');
30
+ require('./chunk-HETQETPV.cjs');
31
+ require('./chunk-KT3U3ZRP.cjs');
32
+ require('./chunk-DC4RTYWK.cjs');
33
+ require('./chunk-FFT56TYB.cjs');
34
+ require('./chunk-GQ7JJUIT.cjs');
35
+ require('./chunk-WVOTC7HW.cjs');
36
+ require('./chunk-7DNL734S.cjs');
37
+ require('./chunk-ETYLOZOB.cjs');
38
+ require('./chunk-AL2GUHAJ.cjs');
39
+ require('./chunk-PSVSEN4J.cjs');
40
+ require('./chunk-F5BPGWGT.cjs');
41
+ require('./chunk-MGHIV4L6.cjs');
42
+ require('./chunk-AECTRMGQ.cjs');
43
+ require('./chunk-UJ7AXHRZ.cjs');
44
+ require('./chunk-AAYNCJMW.cjs');
45
+ require('./chunk-ULWVKHSI.cjs');
46
+ require('./chunk-LLSUVPQC.cjs');
47
+ require('./chunk-VX4E6YSB.cjs');
48
+ require('./chunk-RDW5JAME.cjs');
49
+ require('./chunk-XXBLN4BP.cjs');
50
+ require('./chunk-2Y7QZAB2.cjs');
51
+ require('./chunk-4GFNWALL.cjs');
52
+ require('./chunk-DFQYAYBH.cjs');
53
+ require('./chunk-LLRGR4I5.cjs');
54
+ require('./chunk-G7SBHMRR.cjs');
55
+ require('./chunk-G6OHIX5C.cjs');
56
+ require('./chunk-3LU4UFPS.cjs');
57
+ require('./chunk-CPA2CKRZ.cjs');
58
+ require('./chunk-3ATAYP36.cjs');
59
+ require('./chunk-QBJ4SE23.cjs');
60
+
61
+ // src/components/product-demo/screens/software-update.tsx
62
+ var _react = require('react');
63
+
64
+ // src/components/product-demo/fixtures/software-update.ts
65
+ var chrome = {
66
+ id: "Google.Chrome",
67
+ name: "Google Chrome",
68
+ description: "A fast, secure web browser built for the modern web",
69
+ version: "141.0.7390.66",
70
+ packageType: null
71
+ };
72
+ function demoDay() {
73
+ const [year, month, day] = _chunkKHXZFLINcjs.DEMO_NOW.slice(0, 10).split("-").map(Number);
74
+ return new Date(year, month - 1, day);
75
+ }
76
+ var TONIGHT_11_PM = { value: "23:00", label: "11:00 PM" };
77
+ var timing = {
78
+ timeReferenceOptions: [
79
+ { value: "SERVER", label: "Your account timezone" },
80
+ { value: "DEVICE_LOCAL", label: "Device local timezone" }
81
+ ],
82
+ getTimeOptions: () => [
83
+ { value: "22:00", label: "10:00 PM" },
84
+ { value: "22:30", label: "10:30 PM" },
85
+ TONIGHT_11_PM,
86
+ { value: "23:30", label: "11:30 PM" }
87
+ ],
88
+ getEarliestDay: demoDay,
89
+ getStartError: () => void 0
90
+ };
91
+ var initialValues = {
92
+ rows: [{ key: "row-0", packageManager: "WINGET", pkg: chrome }],
93
+ mode: "schedule",
94
+ date: demoDay(),
95
+ time: TONIGHT_11_PM.value,
96
+ timeReference: "SERVER"
97
+ };
98
+ function buildSoftwareUpdateFixture(cast) {
99
+ const devices = _chunkWFPCCBOMcjs.buildDevicesFixture.call(void 0, cast).devices.filter((device) => device.osType === "WINDOWS");
100
+ return {
101
+ action: "UPDATE",
102
+ package: chrome,
103
+ timing,
104
+ initialValues,
105
+ devices,
106
+ selectedIds: /* @__PURE__ */ new Set([_chunkKHXZFLINcjs.DEMO_DEVICES.reception.id, _chunkKHXZFLINcjs.DEMO_DEVICES.samT14.id, _chunkKHXZFLINcjs.DEMO_DEVICES.frontDesk.id])
107
+ };
108
+ }
109
+
110
+ // src/components/product-demo/screens/software-update.tsx
111
+ var _jsxruntime = require('react/jsx-runtime');
112
+ var noop = () => {
113
+ };
114
+ var HIDDEN_WHEN_COMPACT = ["organization"];
115
+ function StaticPackageField({ value }) {
116
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
117
+ _chunkL6ZQGWCXcjs.Autocomplete,
118
+ {
119
+ label: _chunkL6ZQGWCXcjs.PACKAGE_SEARCH_LABEL,
120
+ labelVariant: "large",
121
+ options: value ? [{ value: value.id, label: value.name, description: _nullishCoalesce(value.description, () => ( void 0)) }] : [],
122
+ value: _nullishCoalesce(_optionalChain([value, 'optionalAccess', _ => _.id]), () => ( null)),
123
+ onChange: noop,
124
+ placeholder: _chunkL6ZQGWCXcjs.PACKAGE_SEARCH_PLACEHOLDER
125
+ }
126
+ );
127
+ }
128
+ var renderPackageSearch = (field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StaticPackageField, { ...field });
129
+ var NO_NARROWING = { columnFilters: [], tags: [] };
130
+ function SoftwareUpdateScreen({ compact = false }) {
131
+ const cast = _chunkII4QMH26cjs.useProductDemoCast.call(void 0, );
132
+ const fixture = _react.useMemo.call(void 0, () => buildSoftwareUpdateFixture(cast), [cast]);
133
+ const selected = _react.useMemo.call(void 0,
134
+ () => fixture.devices.filter((device) => fixture.selectedIds.has(device.id)),
135
+ [fixture.devices, fixture.selectedIds]
136
+ );
137
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
138
+ _chunkL6ZQGWCXcjs.SoftwareActionForm,
139
+ {
140
+ action: fixture.action,
141
+ showHeader: false,
142
+ addRows: false,
143
+ runModeLayout: "inline",
144
+ showDeviceHeading: false,
145
+ onSubmit: noop,
146
+ timing: fixture.timing,
147
+ initialValues: fixture.initialValues,
148
+ renderPackageSearch,
149
+ renderDevicePicker: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
+ _chunkL6ZQGWCXcjs.DeviceSelector,
151
+ {
152
+ devices: selected,
153
+ loading: false,
154
+ selectedIds: fixture.selectedIds,
155
+ showSelectionModeRadio: false,
156
+ showToolbar: false,
157
+ hideColumns: compact ? HIDDEN_WHEN_COMPACT : void 0,
158
+ server: {
159
+ activeTab: "selected",
160
+ onTabChange: noop,
161
+ search: "",
162
+ onSearchChange: noop,
163
+ narrowing: NO_NARROWING,
164
+ onNarrowingChange: noop,
165
+ selectedCount: selected.length,
166
+ totalCount: selected.length,
167
+ onAdd: noop,
168
+ onRemove: noop,
169
+ onAddAll: noop,
170
+ onRemoveAll: noop
171
+ }
172
+ }
173
+ )
174
+ }
175
+ ) }) });
176
+ }
177
+
178
+
179
+ exports.default = SoftwareUpdateScreen;
@@ -0,0 +1,137 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
2
+ "use client";
3
+
4
+
5
+ var _chunkII4QMH26cjs = require('./chunk-II4QMH26.cjs');
6
+
7
+
8
+
9
+ var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
10
+
11
+
12
+
13
+ var _chunk4HJRHEXDcjs = require('./chunk-4HJRHEXD.cjs');
14
+ require('./chunk-B4NCVYEQ.cjs');
15
+ require('./chunk-KT3U3ZRP.cjs');
16
+ require('./chunk-FFT56TYB.cjs');
17
+ require('./chunk-WVOTC7HW.cjs');
18
+ require('./chunk-AL2GUHAJ.cjs');
19
+ require('./chunk-F5BPGWGT.cjs');
20
+ require('./chunk-MGHIV4L6.cjs');
21
+ require('./chunk-ULWVKHSI.cjs');
22
+ require('./chunk-LLSUVPQC.cjs');
23
+ require('./chunk-VX4E6YSB.cjs');
24
+ require('./chunk-RDW5JAME.cjs');
25
+ require('./chunk-2Y7QZAB2.cjs');
26
+ require('./chunk-4GFNWALL.cjs');
27
+ require('./chunk-DFQYAYBH.cjs');
28
+ require('./chunk-LLRGR4I5.cjs');
29
+ require('./chunk-3LU4UFPS.cjs');
30
+ require('./chunk-CPA2CKRZ.cjs');
31
+ require('./chunk-3ATAYP36.cjs');
32
+ require('./chunk-QBJ4SE23.cjs');
33
+
34
+ // src/components/product-demo/screens/tickets-board.tsx
35
+ var _react = require('react');
36
+
37
+ // src/components/product-demo/fixtures/tickets-board.ts
38
+ function ticket(id, title, status, rest) {
39
+ return { id, title, status, ticketNumber: _nullishCoalesce(rest.ticketNumber, () => ( "")), ...rest };
40
+ }
41
+ var assignee = ({ id, name, initials, avatarUrl }) => ({ id, name, initials, avatarUrl });
42
+ function buildTicketsBoardFixture(cast) {
43
+ const dana = assignee(cast.person("dana"));
44
+ const alex = assignee(cast.person("alex"));
45
+ return [
46
+ _chunk4HJRHEXDcjs.columnFromTicketStatus.call(void 0, "ACTIVE", [
47
+ ticket("tk-1051", "Printer offline at the front desk", "ACTIVE", {
48
+ ticketNumber: "1051",
49
+ agent: "fae",
50
+ deviceHostnames: [_chunkKHXZFLINcjs.DEMO_DEVICES.frontDesk.hostname],
51
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.harbor.name,
52
+ priority: "medium",
53
+ hasNewMessage: true,
54
+ activity: { kind: "ai-working" }
55
+ }),
56
+ ticket("tk-1052", "New hire starts Monday", "ACTIVE", {
57
+ ticketNumber: "1052",
58
+ agent: "mingo",
59
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.acme.name,
60
+ priority: "low",
61
+ tags: ["onboarding"]
62
+ })
63
+ ]),
64
+ _chunk4HJRHEXDcjs.columnFromTicketStatus.call(void 0, "TECH_REQUIRED", [
65
+ ticket("tk-1049", "Acrobat Pro for Maya", "TECH_REQUIRED", {
66
+ ticketNumber: "1049",
67
+ agent: "fae",
68
+ deviceHostnames: [_chunkKHXZFLINcjs.DEMO_DEVICES.mayaAir.hostname],
69
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.northbridge.name,
70
+ priority: "high",
71
+ assignees: [dana],
72
+ pendingApproval: {
73
+ id: "approval-1049",
74
+ approvalType: "INSTALL",
75
+ explanation: "Install Adobe Acrobat Pro (paid license)"
76
+ }
77
+ }),
78
+ ticket("tk-1050", "VPN keeps dropping on the train", "TECH_REQUIRED", {
79
+ ticketNumber: "1050",
80
+ agent: "fae",
81
+ deviceHostnames: [_chunkKHXZFLINcjs.DEMO_DEVICES.samT14.hostname],
82
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.northbridge.name,
83
+ priority: "medium",
84
+ assignees: [alex],
85
+ escalatedByUser: true
86
+ })
87
+ ]),
88
+ _chunk4HJRHEXDcjs.columnFromTicketStatus.call(void 0, "ON_HOLD", [
89
+ ticket("tk-1046", "Replace the conference room display", "ON_HOLD", {
90
+ ticketNumber: "1046",
91
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.acme.name,
92
+ priority: "low",
93
+ assignees: [alex],
94
+ activity: { kind: "waiting-external" }
95
+ })
96
+ ]),
97
+ _chunk4HJRHEXDcjs.columnFromTicketStatus.call(void 0,
98
+ "RESOLVED",
99
+ [
100
+ ticket("tk-1048", "Slow laptop", "RESOLVED", {
101
+ ticketNumber: "1048",
102
+ agent: "fae",
103
+ deviceHostnames: [_chunkKHXZFLINcjs.DEMO_DEVICES.samT14.hostname],
104
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.northbridge.name
105
+ }),
106
+ ticket("tk-1047", "Teams will not open", "RESOLVED", {
107
+ ticketNumber: "1047",
108
+ agent: "fae",
109
+ deviceHostnames: [_chunkKHXZFLINcjs.DEMO_DEVICES.mayaAir.hostname],
110
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.northbridge.name
111
+ }),
112
+ ticket("tk-1045", "Turned the firewall back on", "RESOLVED", {
113
+ ticketNumber: "1045",
114
+ agent: "mingo",
115
+ deviceHostnames: [_chunkKHXZFLINcjs.DEMO_DEVICES.leoThinkPad.hostname],
116
+ organizationName: _chunkKHXZFLINcjs.DEMO_ORGANIZATIONS.harbor.name
117
+ })
118
+ ],
119
+ { total: 14 }
120
+ )
121
+ ];
122
+ }
123
+
124
+ // src/components/product-demo/screens/tickets-board.tsx
125
+ var _jsxruntime = require('react/jsx-runtime');
126
+ var noop = () => {
127
+ };
128
+ var FOLDED = { ON_HOLD: true, RESOLVED: true };
129
+ function TicketsBoardScreen({ compact = false }) {
130
+ const cast = _chunkII4QMH26cjs.useProductDemoCast.call(void 0, );
131
+ const board = _react.useMemo.call(void 0, () => buildTicketsBoardFixture(cast), [cast]);
132
+ const columns = compact ? board.filter((column) => column.id !== "ON_HOLD") : board;
133
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4HJRHEXDcjs.Board, { columns, onChange: noop, initialCollapsed: compact ? void 0 : FOLDED }) });
134
+ }
135
+
136
+
137
+ exports.default = TicketsBoardScreen;
@@ -0,0 +1,137 @@
1
+ "use client";
2
+ "use client";
3
+ import {
4
+ useProductDemoCast
5
+ } from "./chunk-L2VUINHN.js";
6
+ import {
7
+ DEMO_DEVICES,
8
+ DEMO_ORGANIZATIONS
9
+ } from "./chunk-CYUUHFXL.js";
10
+ import {
11
+ Board,
12
+ columnFromTicketStatus
13
+ } from "./chunk-ILNN6QRW.js";
14
+ import "./chunk-3K5ZLZE7.js";
15
+ import "./chunk-2NASBO7O.js";
16
+ import "./chunk-P3JMAMHP.js";
17
+ import "./chunk-34I6XI3N.js";
18
+ import "./chunk-H3PKYE4N.js";
19
+ import "./chunk-IYVFSLWJ.js";
20
+ import "./chunk-FBZMAPWO.js";
21
+ import "./chunk-ADBE7QF3.js";
22
+ import "./chunk-N45D4ZXQ.js";
23
+ import "./chunk-NCPTID44.js";
24
+ import "./chunk-OSIKGEBU.js";
25
+ import "./chunk-WI6FHKD7.js";
26
+ import "./chunk-INS7KZJB.js";
27
+ import "./chunk-YDPKUAP4.js";
28
+ import "./chunk-DAAVMYUT.js";
29
+ import "./chunk-4R2L3DSA.js";
30
+ import "./chunk-FYEJTF5Y.js";
31
+ import "./chunk-7RXWKTAP.js";
32
+ import "./chunk-62GWEYJ5.js";
33
+
34
+ // src/components/product-demo/screens/tickets-board.tsx
35
+ import { useMemo } from "react";
36
+
37
+ // src/components/product-demo/fixtures/tickets-board.ts
38
+ function ticket(id, title, status, rest) {
39
+ return { id, title, status, ticketNumber: rest.ticketNumber ?? "", ...rest };
40
+ }
41
+ var assignee = ({ id, name, initials, avatarUrl }) => ({ id, name, initials, avatarUrl });
42
+ function buildTicketsBoardFixture(cast) {
43
+ const dana = assignee(cast.person("dana"));
44
+ const alex = assignee(cast.person("alex"));
45
+ return [
46
+ columnFromTicketStatus("ACTIVE", [
47
+ ticket("tk-1051", "Printer offline at the front desk", "ACTIVE", {
48
+ ticketNumber: "1051",
49
+ agent: "fae",
50
+ deviceHostnames: [DEMO_DEVICES.frontDesk.hostname],
51
+ organizationName: DEMO_ORGANIZATIONS.harbor.name,
52
+ priority: "medium",
53
+ hasNewMessage: true,
54
+ activity: { kind: "ai-working" }
55
+ }),
56
+ ticket("tk-1052", "New hire starts Monday", "ACTIVE", {
57
+ ticketNumber: "1052",
58
+ agent: "mingo",
59
+ organizationName: DEMO_ORGANIZATIONS.acme.name,
60
+ priority: "low",
61
+ tags: ["onboarding"]
62
+ })
63
+ ]),
64
+ columnFromTicketStatus("TECH_REQUIRED", [
65
+ ticket("tk-1049", "Acrobat Pro for Maya", "TECH_REQUIRED", {
66
+ ticketNumber: "1049",
67
+ agent: "fae",
68
+ deviceHostnames: [DEMO_DEVICES.mayaAir.hostname],
69
+ organizationName: DEMO_ORGANIZATIONS.northbridge.name,
70
+ priority: "high",
71
+ assignees: [dana],
72
+ pendingApproval: {
73
+ id: "approval-1049",
74
+ approvalType: "INSTALL",
75
+ explanation: "Install Adobe Acrobat Pro (paid license)"
76
+ }
77
+ }),
78
+ ticket("tk-1050", "VPN keeps dropping on the train", "TECH_REQUIRED", {
79
+ ticketNumber: "1050",
80
+ agent: "fae",
81
+ deviceHostnames: [DEMO_DEVICES.samT14.hostname],
82
+ organizationName: DEMO_ORGANIZATIONS.northbridge.name,
83
+ priority: "medium",
84
+ assignees: [alex],
85
+ escalatedByUser: true
86
+ })
87
+ ]),
88
+ columnFromTicketStatus("ON_HOLD", [
89
+ ticket("tk-1046", "Replace the conference room display", "ON_HOLD", {
90
+ ticketNumber: "1046",
91
+ organizationName: DEMO_ORGANIZATIONS.acme.name,
92
+ priority: "low",
93
+ assignees: [alex],
94
+ activity: { kind: "waiting-external" }
95
+ })
96
+ ]),
97
+ columnFromTicketStatus(
98
+ "RESOLVED",
99
+ [
100
+ ticket("tk-1048", "Slow laptop", "RESOLVED", {
101
+ ticketNumber: "1048",
102
+ agent: "fae",
103
+ deviceHostnames: [DEMO_DEVICES.samT14.hostname],
104
+ organizationName: DEMO_ORGANIZATIONS.northbridge.name
105
+ }),
106
+ ticket("tk-1047", "Teams will not open", "RESOLVED", {
107
+ ticketNumber: "1047",
108
+ agent: "fae",
109
+ deviceHostnames: [DEMO_DEVICES.mayaAir.hostname],
110
+ organizationName: DEMO_ORGANIZATIONS.northbridge.name
111
+ }),
112
+ ticket("tk-1045", "Turned the firewall back on", "RESOLVED", {
113
+ ticketNumber: "1045",
114
+ agent: "mingo",
115
+ deviceHostnames: [DEMO_DEVICES.leoThinkPad.hostname],
116
+ organizationName: DEMO_ORGANIZATIONS.harbor.name
117
+ })
118
+ ],
119
+ { total: 14 }
120
+ )
121
+ ];
122
+ }
123
+
124
+ // src/components/product-demo/screens/tickets-board.tsx
125
+ import { jsx } from "react/jsx-runtime";
126
+ var noop = () => {
127
+ };
128
+ var FOLDED = { ON_HOLD: true, RESOLVED: true };
129
+ function TicketsBoardScreen({ compact = false }) {
130
+ const cast = useProductDemoCast();
131
+ const board = useMemo(() => buildTicketsBoardFixture(cast), [cast]);
132
+ const columns = compact ? board.filter((column) => column.id !== "ON_HOLD") : board;
133
+ return /* @__PURE__ */ jsx("div", { className: "h-full bg-ods-bg p-[var(--spacing-system-m)]", children: /* @__PURE__ */ jsx(Board, { columns, onChange: noop, initialCollapsed: compact ? void 0 : FOLDED }) });
134
+ }
135
+ export {
136
+ TicketsBoardScreen as default
137
+ };
@@ -5,6 +5,14 @@ import type { PlatformRecord } from './platform';
5
5
  import type { MSP } from './stack';
6
6
  import type { UserProfile } from './user';
7
7
  import type { EntityQuote } from './video-processing';
8
+ /**
9
+ * One headline number of a story ("50%" / "of routine tasks automated"). A
10
+ * story carries at most three; a card shows the first, the story's page all.
11
+ */
12
+ export interface CaseStudyMetric {
13
+ value: string;
14
+ label: string;
15
+ }
8
16
  export interface CaseStudy {
9
17
  id: number;
10
18
  title: string;
@@ -15,6 +23,8 @@ export interface CaseStudy {
15
23
  challenge: string | null;
16
24
  solution: string | null;
17
25
  results: string | null;
26
+ /** Headline metrics (jsonb, at most three). Null or empty: the story has none. */
27
+ metrics?: CaseStudyMetric[] | null;
18
28
  testimonial_video_url: string | null;
19
29
  main_video_url: string | null;
20
30
  main_video_thumbnail?: string | null;
@@ -58,7 +68,7 @@ export interface CaseStudy {
58
68
  * is and who tells it. A full `CaseStudy` row satisfies it; a surface that ships
59
69
  * the card's data to the browser (the site menu) sends only this.
60
70
  */
61
- export type CaseStudyCardData = Pick<CaseStudy, 'id' | 'title' | 'summary' | 'featured_image'> & Partial<Pick<CaseStudy, 'main_video_url' | 'main_video_thumbnail' | 'highlight_video_url' | 'highlight_video_thumbnail' | 'video_bites'>> & {
71
+ export type CaseStudyCardData = Pick<CaseStudy, 'id' | 'title' | 'summary' | 'featured_image'> & Partial<Pick<CaseStudy, 'main_video_url' | 'main_video_thumbnail' | 'highlight_video_url' | 'highlight_video_thumbnail' | 'video_bites' | 'metrics'>> & {
62
72
  user?: Pick<UserProfile, 'full_name' | 'job_title'> & Partial<Pick<UserProfile, 'avatar_url'>>;
63
73
  msp?: Pick<MSP, 'name' | 'icon_url'>;
64
74
  };
@@ -71,6 +81,8 @@ export interface CreateCaseStudyData {
71
81
  challenge?: string;
72
82
  solution?: string;
73
83
  results?: string;
84
+ /** Headline metrics, at most three. Null or an empty list clears them. */
85
+ metrics?: CaseStudyMetric[] | null;
74
86
  testimonial_video_url?: string;
75
87
  main_video_url?: string;
76
88
  main_video_thumbnail?: string | null;
@@ -108,6 +120,8 @@ export interface CaseStudyFilters {
108
120
  company_size?: string;
109
121
  search?: string;
110
122
  featured?: boolean;
123
+ /** Only stories that carry at least one headline metric. */
124
+ withMetrics?: boolean;
111
125
  status?: string;
112
126
  limit?: number;
113
127
  offset?: number;