@corensystem/coren-ui 1.0.0-next.20260924.75108.887a9c2

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 (1671) hide show
  1. package/bin/intent.js +20 -0
  2. package/dist/accordion.d.mts +11 -0
  3. package/dist/accordion.d.mts.map +1 -0
  4. package/dist/accordion.mjs +42 -0
  5. package/dist/accordion.mjs.map +1 -0
  6. package/dist/activity-log.d.mts +29 -0
  7. package/dist/activity-log.d.mts.map +1 -0
  8. package/dist/activity-log.mjs +60 -0
  9. package/dist/activity-log.mjs.map +1 -0
  10. package/dist/activity-sheet.d.mts +18 -0
  11. package/dist/activity-sheet.d.mts.map +1 -0
  12. package/dist/activity-sheet.mjs +167 -0
  13. package/dist/activity-sheet.mjs.map +1 -0
  14. package/dist/add-clinic-location-dialog.d.mts +21 -0
  15. package/dist/add-clinic-location-dialog.d.mts.map +1 -0
  16. package/dist/add-clinic-location-dialog.mjs +96 -0
  17. package/dist/add-clinic-location-dialog.mjs.map +1 -0
  18. package/dist/add-clinic-visit-dialog.d.mts +51 -0
  19. package/dist/add-clinic-visit-dialog.d.mts.map +1 -0
  20. package/dist/add-clinic-visit-dialog.mjs +307 -0
  21. package/dist/add-clinic-visit-dialog.mjs.map +1 -0
  22. package/dist/add-observation-dialog.d.mts +36 -0
  23. package/dist/add-observation-dialog.d.mts.map +1 -0
  24. package/dist/add-observation-dialog.mjs +269 -0
  25. package/dist/add-observation-dialog.mjs.map +1 -0
  26. package/dist/alert-dialog.d.mts +24 -0
  27. package/dist/alert-dialog.d.mts.map +1 -0
  28. package/dist/alert-dialog.mjs +62 -0
  29. package/dist/alert-dialog.mjs.map +1 -0
  30. package/dist/alert.d.mts +12 -0
  31. package/dist/alert.d.mts.map +1 -0
  32. package/dist/alert.mjs +36 -0
  33. package/dist/alert.mjs.map +1 -0
  34. package/dist/app-card.d.mts +21 -0
  35. package/dist/app-card.d.mts.map +1 -0
  36. package/dist/app-card.mjs +49 -0
  37. package/dist/app-card.mjs.map +1 -0
  38. package/dist/app-shell.d.mts +39 -0
  39. package/dist/app-shell.d.mts.map +1 -0
  40. package/dist/app-shell.mjs +79 -0
  41. package/dist/app-shell.mjs.map +1 -0
  42. package/dist/aspect-ratio.d.mts +8 -0
  43. package/dist/aspect-ratio.d.mts.map +1 -0
  44. package/dist/aspect-ratio.mjs +14 -0
  45. package/dist/aspect-ratio.mjs.map +1 -0
  46. package/dist/asset-list-item.d.mts +36 -0
  47. package/dist/asset-list-item.d.mts.map +1 -0
  48. package/dist/asset-list-item.mjs +51 -0
  49. package/dist/asset-list-item.mjs.map +1 -0
  50. package/dist/assign-doctor-dialog.d.mts +28 -0
  51. package/dist/assign-doctor-dialog.d.mts.map +1 -0
  52. package/dist/assign-doctor-dialog.mjs +194 -0
  53. package/dist/assign-doctor-dialog.mjs.map +1 -0
  54. package/dist/attention-list.d.mts +29 -0
  55. package/dist/attention-list.d.mts.map +1 -0
  56. package/dist/attention-list.mjs +82 -0
  57. package/dist/attention-list.mjs.map +1 -0
  58. package/dist/avatar-status-dot.d.mts +22 -0
  59. package/dist/avatar-status-dot.d.mts.map +1 -0
  60. package/dist/avatar-status-dot.mjs +72 -0
  61. package/dist/avatar-status-dot.mjs.map +1 -0
  62. package/dist/avatar.d.mts +34 -0
  63. package/dist/avatar.d.mts.map +1 -0
  64. package/dist/avatar.mjs +103 -0
  65. package/dist/avatar.mjs.map +1 -0
  66. package/dist/badge.d.mts +18 -0
  67. package/dist/badge.d.mts.map +1 -0
  68. package/dist/badge.mjs +39 -0
  69. package/dist/badge.mjs.map +1 -0
  70. package/dist/banner.d.mts +18 -0
  71. package/dist/banner.d.mts.map +1 -0
  72. package/dist/banner.mjs +74 -0
  73. package/dist/banner.mjs.map +1 -0
  74. package/dist/blockquote.d.mts +13 -0
  75. package/dist/blockquote.d.mts.map +1 -0
  76. package/dist/blockquote.mjs +22 -0
  77. package/dist/blockquote.mjs.map +1 -0
  78. package/dist/blueprint-segment.d.mts +33 -0
  79. package/dist/blueprint-segment.d.mts.map +1 -0
  80. package/dist/blueprint-segment.mjs +59 -0
  81. package/dist/blueprint-segment.mjs.map +1 -0
  82. package/dist/bottom-sheet-switcher.d.mts +32 -0
  83. package/dist/bottom-sheet-switcher.d.mts.map +1 -0
  84. package/dist/bottom-sheet-switcher.mjs +40 -0
  85. package/dist/bottom-sheet-switcher.mjs.map +1 -0
  86. package/dist/bottom-sheet.d.mts +23 -0
  87. package/dist/bottom-sheet.d.mts.map +1 -0
  88. package/dist/bottom-sheet.mjs +91 -0
  89. package/dist/bottom-sheet.mjs.map +1 -0
  90. package/dist/breadcrumb.d.mts +39 -0
  91. package/dist/breadcrumb.d.mts.map +1 -0
  92. package/dist/breadcrumb.mjs +95 -0
  93. package/dist/breadcrumb.mjs.map +1 -0
  94. package/dist/breadcrumbs.d.mts +2 -0
  95. package/dist/breadcrumbs.mjs +2 -0
  96. package/dist/browser-tabs.d.mts +40 -0
  97. package/dist/browser-tabs.d.mts.map +1 -0
  98. package/dist/browser-tabs.mjs +127 -0
  99. package/dist/browser-tabs.mjs.map +1 -0
  100. package/dist/building-model-placeholder.d.mts +46 -0
  101. package/dist/building-model-placeholder.d.mts.map +1 -0
  102. package/dist/building-model-placeholder.mjs +175 -0
  103. package/dist/building-model-placeholder.mjs.map +1 -0
  104. package/dist/building-progress.d.mts +32 -0
  105. package/dist/building-progress.d.mts.map +1 -0
  106. package/dist/building-progress.mjs +74 -0
  107. package/dist/building-progress.mjs.map +1 -0
  108. package/dist/building-viewer.d.mts +91 -0
  109. package/dist/building-viewer.d.mts.map +1 -0
  110. package/dist/building-viewer.mjs +567 -0
  111. package/dist/building-viewer.mjs.map +1 -0
  112. package/dist/button-group.d.mts +8 -0
  113. package/dist/button-group.d.mts.map +1 -0
  114. package/dist/button-group.mjs +21 -0
  115. package/dist/button-group.mjs.map +1 -0
  116. package/dist/button.d.mts +21 -0
  117. package/dist/button.d.mts.map +1 -0
  118. package/dist/button.mjs +79 -0
  119. package/dist/button.mjs.map +1 -0
  120. package/dist/calendar-view.d.mts +47 -0
  121. package/dist/calendar-view.d.mts.map +1 -0
  122. package/dist/calendar-view.mjs +165 -0
  123. package/dist/calendar-view.mjs.map +1 -0
  124. package/dist/calendar.d.mts +15 -0
  125. package/dist/calendar.d.mts.map +1 -0
  126. package/dist/calendar.mjs +94 -0
  127. package/dist/calendar.mjs.map +1 -0
  128. package/dist/camera-detail-panel.d.mts +44 -0
  129. package/dist/camera-detail-panel.d.mts.map +1 -0
  130. package/dist/camera-detail-panel.mjs +105 -0
  131. package/dist/camera-detail-panel.mjs.map +1 -0
  132. package/dist/canvas-file-picker.d.mts +28 -0
  133. package/dist/canvas-file-picker.d.mts.map +1 -0
  134. package/dist/canvas-file-picker.mjs +90 -0
  135. package/dist/canvas-file-picker.mjs.map +1 -0
  136. package/dist/canvas-header.d.mts +28 -0
  137. package/dist/canvas-header.d.mts.map +1 -0
  138. package/dist/canvas-header.mjs +42 -0
  139. package/dist/canvas-header.mjs.map +1 -0
  140. package/dist/canvas-navigator.d.mts +87 -0
  141. package/dist/canvas-navigator.d.mts.map +1 -0
  142. package/dist/canvas-navigator.mjs +426 -0
  143. package/dist/canvas-navigator.mjs.map +1 -0
  144. package/dist/canvas-toolbar.d.mts +37 -0
  145. package/dist/canvas-toolbar.d.mts.map +1 -0
  146. package/dist/canvas-toolbar.mjs +65 -0
  147. package/dist/canvas-toolbar.mjs.map +1 -0
  148. package/dist/capture-route-minimap.d.mts +40 -0
  149. package/dist/capture-route-minimap.d.mts.map +1 -0
  150. package/dist/capture-route-minimap.mjs +438 -0
  151. package/dist/capture-route-minimap.mjs.map +1 -0
  152. package/dist/card.d.mts +17 -0
  153. package/dist/card.d.mts.map +1 -0
  154. package/dist/card.mjs +63 -0
  155. package/dist/card.mjs.map +1 -0
  156. package/dist/carousel.d.mts +23 -0
  157. package/dist/carousel.d.mts.map +1 -0
  158. package/dist/carousel.mjs +141 -0
  159. package/dist/carousel.mjs.map +1 -0
  160. package/dist/catalogue-view-toggle.d.mts +53 -0
  161. package/dist/catalogue-view-toggle.d.mts.map +1 -0
  162. package/dist/catalogue-view-toggle.mjs +54 -0
  163. package/dist/catalogue-view-toggle.mjs.map +1 -0
  164. package/dist/chart.d.mts +91 -0
  165. package/dist/chart.d.mts.map +1 -0
  166. package/dist/chart.mjs +254 -0
  167. package/dist/chart.mjs.map +1 -0
  168. package/dist/chat/core-ai-chat-header.d.mts +95 -0
  169. package/dist/chat/core-ai-chat-header.d.mts.map +1 -0
  170. package/dist/chat/core-ai-chat-header.mjs +237 -0
  171. package/dist/chat/core-ai-chat-header.mjs.map +1 -0
  172. package/dist/chat/core-ai-chat-message.d.mts +18 -0
  173. package/dist/chat/core-ai-chat-message.d.mts.map +1 -0
  174. package/dist/chat/core-ai-chat-message.mjs +82 -0
  175. package/dist/chat/core-ai-chat-message.mjs.map +1 -0
  176. package/dist/chat/core-ai-chat.d.mts +116 -0
  177. package/dist/chat/core-ai-chat.d.mts.map +1 -0
  178. package/dist/chat/core-ai-chat.mjs +325 -0
  179. package/dist/chat/core-ai-chat.mjs.map +1 -0
  180. package/dist/chat/core-chart-renderer.d.mts +10 -0
  181. package/dist/chat/core-chart-renderer.d.mts.map +1 -0
  182. package/dist/chat/core-chart-renderer.mjs +177 -0
  183. package/dist/chat/core-chart-renderer.mjs.map +1 -0
  184. package/dist/chat/core-chat-input.d.mts +9 -0
  185. package/dist/chat/core-chat-input.d.mts.map +1 -0
  186. package/dist/chat/core-chat-input.mjs +66 -0
  187. package/dist/chat/core-chat-input.mjs.map +1 -0
  188. package/dist/chat/core-chat-message.d.mts +11 -0
  189. package/dist/chat/core-chat-message.d.mts.map +1 -0
  190. package/dist/chat/core-chat-message.mjs +101 -0
  191. package/dist/chat/core-chat-message.mjs.map +1 -0
  192. package/dist/chat/core-chat-panel.d.mts +16 -0
  193. package/dist/chat/core-chat-panel.d.mts.map +1 -0
  194. package/dist/chat/core-chat-panel.mjs +139 -0
  195. package/dist/chat/core-chat-panel.mjs.map +1 -0
  196. package/dist/chat/core-chat-widget.d.mts +12 -0
  197. package/dist/chat/core-chat-widget.d.mts.map +1 -0
  198. package/dist/chat/core-chat-widget.mjs +116 -0
  199. package/dist/chat/core-chat-widget.mjs.map +1 -0
  200. package/dist/chat-layout.d.mts +38 -0
  201. package/dist/chat-layout.d.mts.map +1 -0
  202. package/dist/chat-layout.mjs +94 -0
  203. package/dist/chat-layout.mjs.map +1 -0
  204. package/dist/chat-message.d.mts +40 -0
  205. package/dist/chat-message.d.mts.map +1 -0
  206. package/dist/chat-message.mjs +84 -0
  207. package/dist/chat-message.mjs.map +1 -0
  208. package/dist/checkbox.d.mts +8 -0
  209. package/dist/checkbox.d.mts.map +1 -0
  210. package/dist/checkbox.mjs +22 -0
  211. package/dist/checkbox.mjs.map +1 -0
  212. package/dist/chip.d.mts +54 -0
  213. package/dist/chip.d.mts.map +1 -0
  214. package/dist/chip.mjs +142 -0
  215. package/dist/chip.mjs.map +1 -0
  216. package/dist/citation.d.mts +22 -0
  217. package/dist/citation.d.mts.map +1 -0
  218. package/dist/citation.mjs +70 -0
  219. package/dist/citation.mjs.map +1 -0
  220. package/dist/clickable-card.d.mts +28 -0
  221. package/dist/clickable-card.d.mts.map +1 -0
  222. package/dist/clickable-card.mjs +87 -0
  223. package/dist/clickable-card.mjs.map +1 -0
  224. package/dist/code.d.mts +21 -0
  225. package/dist/code.d.mts.map +1 -0
  226. package/dist/code.mjs +48 -0
  227. package/dist/code.mjs.map +1 -0
  228. package/dist/collapsible.d.mts +10 -0
  229. package/dist/collapsible.d.mts.map +1 -0
  230. package/dist/collapsible.mjs +16 -0
  231. package/dist/collapsible.mjs.map +1 -0
  232. package/dist/combobox.d.mts +116 -0
  233. package/dist/combobox.d.mts.map +1 -0
  234. package/dist/combobox.mjs +149 -0
  235. package/dist/combobox.mjs.map +1 -0
  236. package/dist/command-palette.d.mts +43 -0
  237. package/dist/command-palette.d.mts.map +1 -0
  238. package/dist/command-palette.mjs +70 -0
  239. package/dist/command-palette.mjs.map +1 -0
  240. package/dist/command.d.mts +91 -0
  241. package/dist/command.d.mts.map +1 -0
  242. package/dist/command.mjs +82 -0
  243. package/dist/command.mjs.map +1 -0
  244. package/dist/comment-composer.d.mts +29 -0
  245. package/dist/comment-composer.d.mts.map +1 -0
  246. package/dist/comment-composer.mjs +253 -0
  247. package/dist/comment-composer.mjs.map +1 -0
  248. package/dist/comment-thread.d.mts +66 -0
  249. package/dist/comment-thread.d.mts.map +1 -0
  250. package/dist/comment-thread.mjs +180 -0
  251. package/dist/comment-thread.mjs.map +1 -0
  252. package/dist/compare-bars.d.mts +29 -0
  253. package/dist/compare-bars.d.mts.map +1 -0
  254. package/dist/compare-bars.mjs +118 -0
  255. package/dist/compare-bars.mjs.map +1 -0
  256. package/dist/compare-view.d.mts +75 -0
  257. package/dist/compare-view.d.mts.map +1 -0
  258. package/dist/compare-view.mjs +383 -0
  259. package/dist/compare-view.mjs.map +1 -0
  260. package/dist/confirm-dialog.d.mts +37 -0
  261. package/dist/confirm-dialog.d.mts.map +1 -0
  262. package/dist/confirm-dialog.mjs +40 -0
  263. package/dist/confirm-dialog.mjs.map +1 -0
  264. package/dist/context-menu.d.mts +31 -0
  265. package/dist/context-menu.d.mts.map +1 -0
  266. package/dist/context-menu.mjs +84 -0
  267. package/dist/context-menu.mjs.map +1 -0
  268. package/dist/context-toolbar.d.mts +22 -0
  269. package/dist/context-toolbar.d.mts.map +1 -0
  270. package/dist/context-toolbar.mjs +81 -0
  271. package/dist/context-toolbar.mjs.map +1 -0
  272. package/dist/copy-button.d.mts +15 -0
  273. package/dist/copy-button.d.mts.map +1 -0
  274. package/dist/copy-button.mjs +33 -0
  275. package/dist/copy-button.mjs.map +1 -0
  276. package/dist/core-mark.d.mts +25 -0
  277. package/dist/core-mark.d.mts.map +1 -0
  278. package/dist/core-mark.mjs +74 -0
  279. package/dist/core-mark.mjs.map +1 -0
  280. package/dist/data/mock-data.d.mts +9 -0
  281. package/dist/data/mock-data.d.mts.map +1 -0
  282. package/dist/data/mock-data.mjs +159 -0
  283. package/dist/data/mock-data.mjs.map +1 -0
  284. package/dist/data/rnglf-zones.d.mts +17 -0
  285. package/dist/data/rnglf-zones.d.mts.map +1 -0
  286. package/dist/data/rnglf-zones.mjs +1400 -0
  287. package/dist/data/rnglf-zones.mjs.map +1 -0
  288. package/dist/data-table.d.mts +202 -0
  289. package/dist/data-table.d.mts.map +1 -0
  290. package/dist/data-table.mjs +520 -0
  291. package/dist/data-table.mjs.map +1 -0
  292. package/dist/date-picker.d.mts +111 -0
  293. package/dist/date-picker.d.mts.map +1 -0
  294. package/dist/date-picker.mjs +546 -0
  295. package/dist/date-picker.mjs.map +1 -0
  296. package/dist/date-range-input.d.mts +26 -0
  297. package/dist/date-range-input.d.mts.map +1 -0
  298. package/dist/date-range-input.mjs +60 -0
  299. package/dist/date-range-input.mjs.map +1 -0
  300. package/dist/date-time-input.d.mts +27 -0
  301. package/dist/date-time-input.d.mts.map +1 -0
  302. package/dist/date-time-input.mjs +110 -0
  303. package/dist/date-time-input.mjs.map +1 -0
  304. package/dist/detail-panel-shell.d.mts +37 -0
  305. package/dist/detail-panel-shell.d.mts.map +1 -0
  306. package/dist/detail-panel-shell.mjs +86 -0
  307. package/dist/detail-panel-shell.mjs.map +1 -0
  308. package/dist/dialog.d.mts +105 -0
  309. package/dist/dialog.d.mts.map +1 -0
  310. package/dist/dialog.mjs +137 -0
  311. package/dist/dialog.mjs.map +1 -0
  312. package/dist/divider.d.mts +8 -0
  313. package/dist/divider.d.mts.map +1 -0
  314. package/dist/divider.mjs +18 -0
  315. package/dist/divider.mjs.map +1 -0
  316. package/dist/drawer.d.mts +26 -0
  317. package/dist/drawer.d.mts.map +1 -0
  318. package/dist/drawer.mjs +53 -0
  319. package/dist/drawer.mjs.map +1 -0
  320. package/dist/drawing-actions.d.mts +29 -0
  321. package/dist/drawing-actions.d.mts.map +1 -0
  322. package/dist/drawing-actions.mjs +124 -0
  323. package/dist/drawing-actions.mjs.map +1 -0
  324. package/dist/dropdown-menu.d.mts +31 -0
  325. package/dist/dropdown-menu.d.mts.map +1 -0
  326. package/dist/dropdown-menu.mjs +84 -0
  327. package/dist/dropdown-menu.mjs.map +1 -0
  328. package/dist/empty.d.mts +34 -0
  329. package/dist/empty.d.mts.map +1 -0
  330. package/dist/empty.mjs +119 -0
  331. package/dist/empty.mjs.map +1 -0
  332. package/dist/error-page.d.mts +20 -0
  333. package/dist/error-page.d.mts.map +1 -0
  334. package/dist/error-page.mjs +96 -0
  335. package/dist/error-page.mjs.map +1 -0
  336. package/dist/export-dialog.d.mts +58 -0
  337. package/dist/export-dialog.d.mts.map +1 -0
  338. package/dist/export-dialog.mjs +248 -0
  339. package/dist/export-dialog.mjs.map +1 -0
  340. package/dist/field.d.mts +11 -0
  341. package/dist/field.d.mts.map +1 -0
  342. package/dist/field.mjs +34 -0
  343. package/dist/field.mjs.map +1 -0
  344. package/dist/file-input.d.mts +17 -0
  345. package/dist/file-input.d.mts.map +1 -0
  346. package/dist/file-input.mjs +114 -0
  347. package/dist/file-input.mjs.map +1 -0
  348. package/dist/file-system/context.d.mts +28 -0
  349. package/dist/file-system/context.d.mts.map +1 -0
  350. package/dist/file-system/context.mjs +42 -0
  351. package/dist/file-system/context.mjs.map +1 -0
  352. package/dist/file-system/file-system-details.d.mts +12 -0
  353. package/dist/file-system/file-system-details.d.mts.map +1 -0
  354. package/dist/file-system/file-system-details.mjs +166 -0
  355. package/dist/file-system/file-system-details.mjs.map +1 -0
  356. package/dist/file-system/file-system-filters.d.mts +16 -0
  357. package/dist/file-system/file-system-filters.d.mts.map +1 -0
  358. package/dist/file-system/file-system-filters.mjs +205 -0
  359. package/dist/file-system/file-system-filters.mjs.map +1 -0
  360. package/dist/file-system/file-system-new.d.mts +16 -0
  361. package/dist/file-system/file-system-new.d.mts.map +1 -0
  362. package/dist/file-system/file-system-new.mjs +204 -0
  363. package/dist/file-system/file-system-new.mjs.map +1 -0
  364. package/dist/file-system/file-system-path.d.mts +7 -0
  365. package/dist/file-system/file-system-path.d.mts.map +1 -0
  366. package/dist/file-system/file-system-path.mjs +22 -0
  367. package/dist/file-system/file-system-path.mjs.map +1 -0
  368. package/dist/file-system/file-system-project.d.mts +16 -0
  369. package/dist/file-system/file-system-project.d.mts.map +1 -0
  370. package/dist/file-system/file-system-project.mjs +253 -0
  371. package/dist/file-system/file-system-project.mjs.map +1 -0
  372. package/dist/file-system/file-system-table.d.mts +17 -0
  373. package/dist/file-system/file-system-table.d.mts.map +1 -0
  374. package/dist/file-system/file-system-table.mjs +95 -0
  375. package/dist/file-system/file-system-table.mjs.map +1 -0
  376. package/dist/file-system/file-system.d.mts +35 -0
  377. package/dist/file-system/file-system.d.mts.map +1 -0
  378. package/dist/file-system/file-system.mjs +179 -0
  379. package/dist/file-system/file-system.mjs.map +1 -0
  380. package/dist/file-system/index.d.mts +9 -0
  381. package/dist/file-system/index.mjs +9 -0
  382. package/dist/file-system/model.d.mts +156 -0
  383. package/dist/file-system/model.d.mts.map +1 -0
  384. package/dist/file-system/model.mjs +200 -0
  385. package/dist/file-system/model.mjs.map +1 -0
  386. package/dist/filter.d.mts +92 -0
  387. package/dist/filter.d.mts.map +1 -0
  388. package/dist/filter.mjs +267 -0
  389. package/dist/filter.mjs.map +1 -0
  390. package/dist/float-shadow.d.mts +10 -0
  391. package/dist/float-shadow.d.mts.map +1 -0
  392. package/dist/float-shadow.mjs +11 -0
  393. package/dist/float-shadow.mjs.map +1 -0
  394. package/dist/floating-assistant.d.mts +75 -0
  395. package/dist/floating-assistant.d.mts.map +1 -0
  396. package/dist/floating-assistant.mjs +114 -0
  397. package/dist/floating-assistant.mjs.map +1 -0
  398. package/dist/floor-progress-bar.d.mts +17 -0
  399. package/dist/floor-progress-bar.d.mts.map +1 -0
  400. package/dist/floor-progress-bar.mjs +38 -0
  401. package/dist/floor-progress-bar.mjs.map +1 -0
  402. package/dist/fonts/LICENSE.md +41 -0
  403. package/dist/fonts/figtree-italic-300-900-latin-ext.woff2 +0 -0
  404. package/dist/fonts/figtree-italic-300-900-latin.woff2 +0 -0
  405. package/dist/fonts/figtree-normal-300-900-latin-ext.woff2 +0 -0
  406. package/dist/fonts/figtree-normal-300-900-latin.woff2 +0 -0
  407. package/dist/fonts/ibm-plex-mono-italic-400-latin-ext.woff2 +0 -0
  408. package/dist/fonts/ibm-plex-mono-italic-400-latin.woff2 +0 -0
  409. package/dist/fonts/ibm-plex-mono-normal-400-latin-ext.woff2 +0 -0
  410. package/dist/fonts/ibm-plex-mono-normal-400-latin.woff2 +0 -0
  411. package/dist/fonts/ibm-plex-mono-normal-500-latin-ext.woff2 +0 -0
  412. package/dist/fonts/ibm-plex-mono-normal-500-latin.woff2 +0 -0
  413. package/dist/fonts/ibm-plex-mono-normal-600-latin-ext.woff2 +0 -0
  414. package/dist/fonts/ibm-plex-mono-normal-600-latin.woff2 +0 -0
  415. package/dist/fonts/lora-italic-400-700-latin-ext.woff2 +0 -0
  416. package/dist/fonts/lora-italic-400-700-latin.woff2 +0 -0
  417. package/dist/fonts/lora-normal-400-700-latin-ext.woff2 +0 -0
  418. package/dist/fonts/lora-normal-400-700-latin.woff2 +0 -0
  419. package/dist/footprint-viewer.d.mts +88 -0
  420. package/dist/footprint-viewer.d.mts.map +1 -0
  421. package/dist/footprint-viewer.mjs +657 -0
  422. package/dist/footprint-viewer.mjs.map +1 -0
  423. package/dist/form-action-bar.d.mts +32 -0
  424. package/dist/form-action-bar.d.mts.map +1 -0
  425. package/dist/form-action-bar.mjs +42 -0
  426. package/dist/form-action-bar.mjs.map +1 -0
  427. package/dist/form-dialog.d.mts +116 -0
  428. package/dist/form-dialog.d.mts.map +1 -0
  429. package/dist/form-dialog.mjs +149 -0
  430. package/dist/form-dialog.mjs.map +1 -0
  431. package/dist/form-layout.d.mts +33 -0
  432. package/dist/form-layout.d.mts.map +1 -0
  433. package/dist/form-layout.mjs +90 -0
  434. package/dist/form-layout.mjs.map +1 -0
  435. package/dist/form.d.mts +29 -0
  436. package/dist/form.d.mts.map +1 -0
  437. package/dist/form.mjs +93 -0
  438. package/dist/form.mjs.map +1 -0
  439. package/dist/fragment-viewer/cinematic.d.mts +76 -0
  440. package/dist/fragment-viewer/cinematic.d.mts.map +1 -0
  441. package/dist/fragment-viewer/cinematic.mjs +382 -0
  442. package/dist/fragment-viewer/cinematic.mjs.map +1 -0
  443. package/dist/fragment-viewer/context.d.mts +106 -0
  444. package/dist/fragment-viewer/context.d.mts.map +1 -0
  445. package/dist/fragment-viewer/context.mjs +168 -0
  446. package/dist/fragment-viewer/context.mjs.map +1 -0
  447. package/dist/fragment-viewer/runtime.d.mts +288 -0
  448. package/dist/fragment-viewer/runtime.d.mts.map +1 -0
  449. package/dist/fragment-viewer/runtime.mjs +782 -0
  450. package/dist/fragment-viewer/runtime.mjs.map +1 -0
  451. package/dist/fragment-viewer.d.mts +62 -0
  452. package/dist/fragment-viewer.d.mts.map +1 -0
  453. package/dist/fragment-viewer.mjs +144 -0
  454. package/dist/fragment-viewer.mjs.map +1 -0
  455. package/dist/gantt.d.mts +72 -0
  456. package/dist/gantt.d.mts.map +1 -0
  457. package/dist/gantt.mjs +281 -0
  458. package/dist/gantt.mjs.map +1 -0
  459. package/dist/graph-canvas.d.mts +60 -0
  460. package/dist/graph-canvas.d.mts.map +1 -0
  461. package/dist/graph-canvas.mjs +105 -0
  462. package/dist/graph-canvas.mjs.map +1 -0
  463. package/dist/grid.d.mts +16 -0
  464. package/dist/grid.d.mts.map +1 -0
  465. package/dist/grid.mjs +47 -0
  466. package/dist/grid.mjs.map +1 -0
  467. package/dist/heading.d.mts +16 -0
  468. package/dist/heading.d.mts.map +1 -0
  469. package/dist/heading.mjs +43 -0
  470. package/dist/heading.mjs.map +1 -0
  471. package/dist/house-shape.d.mts +22 -0
  472. package/dist/house-shape.d.mts.map +1 -0
  473. package/dist/house-shape.mjs +103 -0
  474. package/dist/house-shape.mjs.map +1 -0
  475. package/dist/hover-card.d.mts +10 -0
  476. package/dist/hover-card.d.mts.map +1 -0
  477. package/dist/hover-card.mjs +22 -0
  478. package/dist/hover-card.mjs.map +1 -0
  479. package/dist/icon-button.d.mts +20 -0
  480. package/dist/icon-button.d.mts.map +1 -0
  481. package/dist/icon-button.mjs +52 -0
  482. package/dist/icon-button.mjs.map +1 -0
  483. package/dist/icon.d.mts +16 -0
  484. package/dist/icon.d.mts.map +1 -0
  485. package/dist/icon.mjs +32 -0
  486. package/dist/icon.mjs.map +1 -0
  487. package/dist/image-zoom.d.mts +23 -0
  488. package/dist/image-zoom.d.mts.map +1 -0
  489. package/dist/image-zoom.mjs +51 -0
  490. package/dist/image-zoom.mjs.map +1 -0
  491. package/dist/index.d.mts +3 -0
  492. package/dist/index.mjs +2 -0
  493. package/dist/inline-comment-composer.d.mts +40 -0
  494. package/dist/inline-comment-composer.d.mts.map +1 -0
  495. package/dist/inline-comment-composer.mjs +174 -0
  496. package/dist/inline-comment-composer.mjs.map +1 -0
  497. package/dist/input-group.d.mts +8 -0
  498. package/dist/input-group.d.mts.map +1 -0
  499. package/dist/input-group.mjs +21 -0
  500. package/dist/input-group.mjs.map +1 -0
  501. package/dist/input-otp.d.mts +40 -0
  502. package/dist/input-otp.d.mts.map +1 -0
  503. package/dist/input-otp.mjs +44 -0
  504. package/dist/input-otp.mjs.map +1 -0
  505. package/dist/input.d.mts +7 -0
  506. package/dist/input.d.mts.map +1 -0
  507. package/dist/input.mjs +18 -0
  508. package/dist/input.mjs.map +1 -0
  509. package/dist/item.d.mts +10 -0
  510. package/dist/item.d.mts.map +1 -0
  511. package/dist/item.mjs +33 -0
  512. package/dist/item.mjs.map +1 -0
  513. package/dist/kbd.d.mts +8 -0
  514. package/dist/kbd.d.mts.map +1 -0
  515. package/dist/kbd.mjs +15 -0
  516. package/dist/kbd.mjs.map +1 -0
  517. package/dist/kiosk-body.d.mts +13 -0
  518. package/dist/kiosk-body.d.mts.map +1 -0
  519. package/dist/kiosk-body.mjs +352 -0
  520. package/dist/kiosk-body.mjs.map +1 -0
  521. package/dist/kpi-bar.d.mts +29 -0
  522. package/dist/kpi-bar.d.mts.map +1 -0
  523. package/dist/kpi-bar.mjs +46 -0
  524. package/dist/kpi-bar.mjs.map +1 -0
  525. package/dist/kpi-summary.d.mts +24 -0
  526. package/dist/kpi-summary.d.mts.map +1 -0
  527. package/dist/kpi-summary.mjs +22 -0
  528. package/dist/kpi-summary.mjs.map +1 -0
  529. package/dist/label.d.mts +19 -0
  530. package/dist/label.d.mts.map +1 -0
  531. package/dist/label.mjs +27 -0
  532. package/dist/label.mjs.map +1 -0
  533. package/dist/legend.d.mts +87 -0
  534. package/dist/legend.d.mts.map +1 -0
  535. package/dist/legend.mjs +210 -0
  536. package/dist/legend.mjs.map +1 -0
  537. package/dist/lightbox.d.mts +28 -0
  538. package/dist/lightbox.d.mts.map +1 -0
  539. package/dist/lightbox.mjs +142 -0
  540. package/dist/lightbox.mjs.map +1 -0
  541. package/dist/link-type-detail.d.mts +73 -0
  542. package/dist/link-type-detail.d.mts.map +1 -0
  543. package/dist/link-type-detail.mjs +628 -0
  544. package/dist/link-type-detail.mjs.map +1 -0
  545. package/dist/link-type-wizard.d.mts +35 -0
  546. package/dist/link-type-wizard.d.mts.map +1 -0
  547. package/dist/link-type-wizard.mjs +303 -0
  548. package/dist/link-type-wizard.mjs.map +1 -0
  549. package/dist/link.d.mts +14 -0
  550. package/dist/link.d.mts.map +1 -0
  551. package/dist/link.mjs +30 -0
  552. package/dist/link.mjs.map +1 -0
  553. package/dist/list.d.mts +19 -0
  554. package/dist/list.d.mts.map +1 -0
  555. package/dist/list.mjs +27 -0
  556. package/dist/list.mjs.map +1 -0
  557. package/dist/map-compare-layout.d.mts +53 -0
  558. package/dist/map-compare-layout.d.mts.map +1 -0
  559. package/dist/map-compare-layout.mjs +164 -0
  560. package/dist/map-compare-layout.mjs.map +1 -0
  561. package/dist/map-compass.d.mts +22 -0
  562. package/dist/map-compass.d.mts.map +1 -0
  563. package/dist/map-compass.mjs +56 -0
  564. package/dist/map-compass.mjs.map +1 -0
  565. package/dist/map-control-panel.d.mts +92 -0
  566. package/dist/map-control-panel.d.mts.map +1 -0
  567. package/dist/map-control-panel.mjs +153 -0
  568. package/dist/map-control-panel.mjs.map +1 -0
  569. package/dist/map-controls.d.mts +24 -0
  570. package/dist/map-controls.d.mts.map +1 -0
  571. package/dist/map-controls.mjs +322 -0
  572. package/dist/map-controls.mjs.map +1 -0
  573. package/dist/map-hover-card.d.mts +28 -0
  574. package/dist/map-hover-card.d.mts.map +1 -0
  575. package/dist/map-hover-card.mjs +56 -0
  576. package/dist/map-hover-card.mjs.map +1 -0
  577. package/dist/map-legend.d.mts +41 -0
  578. package/dist/map-legend.d.mts.map +1 -0
  579. package/dist/map-legend.mjs +97 -0
  580. package/dist/map-legend.mjs.map +1 -0
  581. package/dist/map-minimap.d.mts +44 -0
  582. package/dist/map-minimap.d.mts.map +1 -0
  583. package/dist/map-minimap.mjs +108 -0
  584. package/dist/map-minimap.mjs.map +1 -0
  585. package/dist/map-toolbar.d.mts +60 -0
  586. package/dist/map-toolbar.d.mts.map +1 -0
  587. package/dist/map-toolbar.mjs +195 -0
  588. package/dist/map-toolbar.mjs.map +1 -0
  589. package/dist/map-transition.d.mts +51 -0
  590. package/dist/map-transition.d.mts.map +1 -0
  591. package/dist/map-transition.mjs +59 -0
  592. package/dist/map-transition.mjs.map +1 -0
  593. package/dist/map.d.mts +14 -0
  594. package/dist/map.d.mts.map +1 -0
  595. package/dist/map.mjs +47 -0
  596. package/dist/map.mjs.map +1 -0
  597. package/dist/mapbox-token.d.mts +12 -0
  598. package/dist/mapbox-token.d.mts.map +1 -0
  599. package/dist/mapbox-token.mjs +15 -0
  600. package/dist/mapbox-token.mjs.map +1 -0
  601. package/dist/markdown.d.mts +18 -0
  602. package/dist/markdown.d.mts.map +1 -0
  603. package/dist/markdown.mjs +41 -0
  604. package/dist/markdown.mjs.map +1 -0
  605. package/dist/mega-menu.d.mts +36 -0
  606. package/dist/mega-menu.d.mts.map +1 -0
  607. package/dist/mega-menu.mjs +89 -0
  608. package/dist/mega-menu.mjs.map +1 -0
  609. package/dist/menubar.d.mts +32 -0
  610. package/dist/menubar.d.mts.map +1 -0
  611. package/dist/menubar.mjs +96 -0
  612. package/dist/menubar.mjs.map +1 -0
  613. package/dist/metadata-list.d.mts +2 -0
  614. package/dist/metadata-list.mjs +2 -0
  615. package/dist/metric-card.d.mts +28 -0
  616. package/dist/metric-card.d.mts.map +1 -0
  617. package/dist/metric-card.mjs +55 -0
  618. package/dist/metric-card.mjs.map +1 -0
  619. package/dist/milestone-table.d.mts +35 -0
  620. package/dist/milestone-table.d.mts.map +1 -0
  621. package/dist/milestone-table.mjs +84 -0
  622. package/dist/milestone-table.mjs.map +1 -0
  623. package/dist/minimap.d.mts +23 -0
  624. package/dist/minimap.d.mts.map +1 -0
  625. package/dist/minimap.mjs +64 -0
  626. package/dist/minimap.mjs.map +1 -0
  627. package/dist/more-menu.d.mts +27 -0
  628. package/dist/more-menu.d.mts.map +1 -0
  629. package/dist/more-menu.mjs +34 -0
  630. package/dist/more-menu.mjs.map +1 -0
  631. package/dist/multi-select.d.mts +38 -0
  632. package/dist/multi-select.d.mts.map +1 -0
  633. package/dist/multi-select.mjs +106 -0
  634. package/dist/multi-select.mjs.map +1 -0
  635. package/dist/navigation/core-app-sidebar.d.mts +461 -0
  636. package/dist/navigation/core-app-sidebar.d.mts.map +1 -0
  637. package/dist/navigation/core-app-sidebar.mjs +1288 -0
  638. package/dist/navigation/core-app-sidebar.mjs.map +1 -0
  639. package/dist/navigation/core-app-top-bar.d.mts +116 -0
  640. package/dist/navigation/core-app-top-bar.d.mts.map +1 -0
  641. package/dist/navigation/core-app-top-bar.mjs +224 -0
  642. package/dist/navigation/core-app-top-bar.mjs.map +1 -0
  643. package/dist/navigation/core-context-tabs.d.mts +12 -0
  644. package/dist/navigation/core-context-tabs.d.mts.map +1 -0
  645. package/dist/navigation/core-context-tabs.mjs +32 -0
  646. package/dist/navigation/core-context-tabs.mjs.map +1 -0
  647. package/dist/navigation/core-dashboard-header.d.mts +20 -0
  648. package/dist/navigation/core-dashboard-header.d.mts.map +1 -0
  649. package/dist/navigation/core-dashboard-header.mjs +227 -0
  650. package/dist/navigation/core-dashboard-header.mjs.map +1 -0
  651. package/dist/navigation/core-filter-strip.d.mts +12 -0
  652. package/dist/navigation/core-filter-strip.d.mts.map +1 -0
  653. package/dist/navigation/core-filter-strip.mjs +289 -0
  654. package/dist/navigation/core-filter-strip.mjs.map +1 -0
  655. package/dist/navigation/core-org-project-switcher.d.mts +12 -0
  656. package/dist/navigation/core-org-project-switcher.d.mts.map +1 -0
  657. package/dist/navigation/core-org-project-switcher.mjs +201 -0
  658. package/dist/navigation/core-org-project-switcher.mjs.map +1 -0
  659. package/dist/navigation/switcher.d.mts +38 -0
  660. package/dist/navigation/switcher.d.mts.map +1 -0
  661. package/dist/navigation/switcher.mjs +144 -0
  662. package/dist/navigation/switcher.mjs.map +1 -0
  663. package/dist/navigation-menu.d.mts +16 -0
  664. package/dist/navigation-menu.d.mts.map +1 -0
  665. package/dist/navigation-menu.mjs +64 -0
  666. package/dist/navigation-menu.mjs.map +1 -0
  667. package/dist/neighborhood-scene.d.mts +21 -0
  668. package/dist/neighborhood-scene.d.mts.map +1 -0
  669. package/dist/neighborhood-scene.mjs +285 -0
  670. package/dist/neighborhood-scene.mjs.map +1 -0
  671. package/dist/node-graph.d.mts +154 -0
  672. package/dist/node-graph.d.mts.map +1 -0
  673. package/dist/node-graph.mjs +349 -0
  674. package/dist/node-graph.mjs.map +1 -0
  675. package/dist/notification-center.d.mts +40 -0
  676. package/dist/notification-center.d.mts.map +1 -0
  677. package/dist/notification-center.mjs +224 -0
  678. package/dist/notification-center.mjs.map +1 -0
  679. package/dist/number-input.d.mts +23 -0
  680. package/dist/number-input.d.mts.map +1 -0
  681. package/dist/number-input.mjs +79 -0
  682. package/dist/number-input.mjs.map +1 -0
  683. package/dist/object-drawing-toolbar.d.mts +38 -0
  684. package/dist/object-drawing-toolbar.d.mts.map +1 -0
  685. package/dist/object-drawing-toolbar.mjs +172 -0
  686. package/dist/object-drawing-toolbar.mjs.map +1 -0
  687. package/dist/object-type-detail.d.mts +27 -0
  688. package/dist/object-type-detail.d.mts.map +1 -0
  689. package/dist/object-type-detail.mjs +1389 -0
  690. package/dist/object-type-detail.mjs.map +1 -0
  691. package/dist/object-type-wizard.d.mts +78 -0
  692. package/dist/object-type-wizard.d.mts.map +1 -0
  693. package/dist/object-type-wizard.mjs +885 -0
  694. package/dist/object-type-wizard.mjs.map +1 -0
  695. package/dist/observation-detail-panel.d.mts +89 -0
  696. package/dist/observation-detail-panel.d.mts.map +1 -0
  697. package/dist/observation-detail-panel.mjs +168 -0
  698. package/dist/observation-detail-panel.mjs.map +1 -0
  699. package/dist/observations-map.d.mts +288 -0
  700. package/dist/observations-map.d.mts.map +1 -0
  701. package/dist/observations-map.mjs +1087 -0
  702. package/dist/observations-map.mjs.map +1 -0
  703. package/dist/operations-drawer.d.mts +51 -0
  704. package/dist/operations-drawer.d.mts.map +1 -0
  705. package/dist/operations-drawer.mjs +193 -0
  706. package/dist/operations-drawer.mjs.map +1 -0
  707. package/dist/outline.d.mts +27 -0
  708. package/dist/outline.d.mts.map +1 -0
  709. package/dist/outline.mjs +47 -0
  710. package/dist/outline.mjs.map +1 -0
  711. package/dist/overflow-list.d.mts +23 -0
  712. package/dist/overflow-list.d.mts.map +1 -0
  713. package/dist/overflow-list.mjs +38 -0
  714. package/dist/overflow-list.mjs.map +1 -0
  715. package/dist/overlay.d.mts +17 -0
  716. package/dist/overlay.d.mts.map +1 -0
  717. package/dist/overlay.mjs +32 -0
  718. package/dist/overlay.mjs.map +1 -0
  719. package/dist/page-content-header.d.mts +43 -0
  720. package/dist/page-content-header.d.mts.map +1 -0
  721. package/dist/page-content-header.mjs +224 -0
  722. package/dist/page-content-header.mjs.map +1 -0
  723. package/dist/pages/almanar-blocks-data.d.mts +4 -0
  724. package/dist/pages/almanar-blocks-data.d.mts.map +1 -0
  725. package/dist/pages/almanar-blocks-data.mjs +691 -0
  726. package/dist/pages/almanar-blocks-data.mjs.map +1 -0
  727. package/dist/pages/almanar-hierarchy-data.d.mts +9 -0
  728. package/dist/pages/almanar-hierarchy-data.d.mts.map +1 -0
  729. package/dist/pages/almanar-hierarchy-data.mjs +816 -0
  730. package/dist/pages/almanar-hierarchy-data.mjs.map +1 -0
  731. package/dist/pages/almanar-villa-taxonomy.d.mts +9 -0
  732. package/dist/pages/almanar-villa-taxonomy.d.mts.map +1 -0
  733. package/dist/pages/almanar-villa-taxonomy.mjs +1569 -0
  734. package/dist/pages/almanar-villa-taxonomy.mjs.map +1 -0
  735. package/dist/pages/app-marketplace-shared.d.mts +146 -0
  736. package/dist/pages/app-marketplace-shared.d.mts.map +1 -0
  737. package/dist/pages/app-marketplace-shared.mjs +739 -0
  738. package/dist/pages/app-marketplace-shared.mjs.map +1 -0
  739. package/dist/pages/capture-ui-enhanced.d.mts +125 -0
  740. package/dist/pages/capture-ui-enhanced.d.mts.map +1 -0
  741. package/dist/pages/capture-ui-enhanced.mjs +915 -0
  742. package/dist/pages/capture-ui-enhanced.mjs.map +1 -0
  743. package/dist/pages/core-admin-panel.d.mts +10 -0
  744. package/dist/pages/core-admin-panel.d.mts.map +1 -0
  745. package/dist/pages/core-admin-panel.mjs +3076 -0
  746. package/dist/pages/core-admin-panel.mjs.map +1 -0
  747. package/dist/pages/core-analytics-overview.d.mts +10 -0
  748. package/dist/pages/core-analytics-overview.d.mts.map +1 -0
  749. package/dist/pages/core-analytics-overview.mjs +904 -0
  750. package/dist/pages/core-analytics-overview.mjs.map +1 -0
  751. package/dist/pages/core-app-installer.d.mts +17 -0
  752. package/dist/pages/core-app-installer.d.mts.map +1 -0
  753. package/dist/pages/core-app-installer.mjs +94 -0
  754. package/dist/pages/core-app-installer.mjs.map +1 -0
  755. package/dist/pages/core-blueprint-viewer-3.d.mts +25 -0
  756. package/dist/pages/core-blueprint-viewer-3.d.mts.map +1 -0
  757. package/dist/pages/core-blueprint-viewer-3.mjs +688 -0
  758. package/dist/pages/core-blueprint-viewer-3.mjs.map +1 -0
  759. package/dist/pages/core-blueprint-viewer.d.mts +14 -0
  760. package/dist/pages/core-blueprint-viewer.d.mts.map +1 -0
  761. package/dist/pages/core-blueprint-viewer.mjs +665 -0
  762. package/dist/pages/core-blueprint-viewer.mjs.map +1 -0
  763. package/dist/pages/core-building-viewer-capture.d.mts +18 -0
  764. package/dist/pages/core-building-viewer-capture.d.mts.map +1 -0
  765. package/dist/pages/core-building-viewer-capture.mjs +268 -0
  766. package/dist/pages/core-building-viewer-capture.mjs.map +1 -0
  767. package/dist/pages/core-building-viewer.d.mts +20 -0
  768. package/dist/pages/core-building-viewer.d.mts.map +1 -0
  769. package/dist/pages/core-building-viewer.mjs +299 -0
  770. package/dist/pages/core-building-viewer.mjs.map +1 -0
  771. package/dist/pages/core-clinic.d.mts +14 -0
  772. package/dist/pages/core-clinic.d.mts.map +1 -0
  773. package/dist/pages/core-clinic.mjs +2175 -0
  774. package/dist/pages/core-clinic.mjs.map +1 -0
  775. package/dist/pages/core-content-area.d.mts +15 -0
  776. package/dist/pages/core-content-area.d.mts.map +1 -0
  777. package/dist/pages/core-content-area.mjs +192 -0
  778. package/dist/pages/core-content-area.mjs.map +1 -0
  779. package/dist/pages/core-core-connect-v3.d.mts +16 -0
  780. package/dist/pages/core-core-connect-v3.d.mts.map +1 -0
  781. package/dist/pages/core-core-connect-v3.mjs +30 -0
  782. package/dist/pages/core-core-connect-v3.mjs.map +1 -0
  783. package/dist/pages/core-core-connect.d.mts +15 -0
  784. package/dist/pages/core-core-connect.d.mts.map +1 -0
  785. package/dist/pages/core-core-connect.mjs +21 -0
  786. package/dist/pages/core-core-connect.mjs.map +1 -0
  787. package/dist/pages/core-design-canvas.d.mts +10 -0
  788. package/dist/pages/core-design-canvas.d.mts.map +1 -0
  789. package/dist/pages/core-design-canvas.mjs +322 -0
  790. package/dist/pages/core-design-canvas.mjs.map +1 -0
  791. package/dist/pages/core-login-page.d.mts +8 -0
  792. package/dist/pages/core-login-page.d.mts.map +1 -0
  793. package/dist/pages/core-login-page.mjs +141 -0
  794. package/dist/pages/core-login-page.mjs.map +1 -0
  795. package/dist/pages/core-map-compare-layout.d.mts +20 -0
  796. package/dist/pages/core-map-compare-layout.d.mts.map +1 -0
  797. package/dist/pages/core-map-compare-layout.mjs +187 -0
  798. package/dist/pages/core-map-compare-layout.mjs.map +1 -0
  799. package/dist/pages/core-observations-map-view.d.mts +19 -0
  800. package/dist/pages/core-observations-map-view.d.mts.map +1 -0
  801. package/dist/pages/core-observations-map-view.mjs +1273 -0
  802. package/dist/pages/core-observations-map-view.mjs.map +1 -0
  803. package/dist/pages/core-org-ai-report.d.mts +9 -0
  804. package/dist/pages/core-org-ai-report.d.mts.map +1 -0
  805. package/dist/pages/core-org-ai-report.mjs +474 -0
  806. package/dist/pages/core-org-ai-report.mjs.map +1 -0
  807. package/dist/pages/core-org-overview.d.mts +11 -0
  808. package/dist/pages/core-org-overview.d.mts.map +1 -0
  809. package/dist/pages/core-org-overview.mjs +718 -0
  810. package/dist/pages/core-org-overview.mjs.map +1 -0
  811. package/dist/pages/core-org-performance.d.mts +11 -0
  812. package/dist/pages/core-org-performance.d.mts.map +1 -0
  813. package/dist/pages/core-org-performance.mjs +1398 -0
  814. package/dist/pages/core-org-performance.mjs.map +1 -0
  815. package/dist/pages/core-org-reality-capture.d.mts +10 -0
  816. package/dist/pages/core-org-reality-capture.d.mts.map +1 -0
  817. package/dist/pages/core-org-reality-capture.mjs +1962 -0
  818. package/dist/pages/core-org-reality-capture.mjs.map +1 -0
  819. package/dist/pages/core-org-workforce-intelligence.d.mts +12 -0
  820. package/dist/pages/core-org-workforce-intelligence.d.mts.map +1 -0
  821. package/dist/pages/core-org-workforce-intelligence.mjs +1215 -0
  822. package/dist/pages/core-org-workforce-intelligence.mjs.map +1 -0
  823. package/dist/pages/core-progress-details.d.mts +10 -0
  824. package/dist/pages/core-progress-details.d.mts.map +1 -0
  825. package/dist/pages/core-progress-details.mjs +758 -0
  826. package/dist/pages/core-progress-details.mjs.map +1 -0
  827. package/dist/pages/core-project-overview.d.mts +9 -0
  828. package/dist/pages/core-project-overview.d.mts.map +1 -0
  829. package/dist/pages/core-project-overview.mjs +246 -0
  830. package/dist/pages/core-project-overview.mjs.map +1 -0
  831. package/dist/pages/core-project-quality-issues.d.mts +9 -0
  832. package/dist/pages/core-project-quality-issues.d.mts.map +1 -0
  833. package/dist/pages/core-project-quality-issues.mjs +508 -0
  834. package/dist/pages/core-project-quality-issues.mjs.map +1 -0
  835. package/dist/pages/core-project-reality-capture.d.mts +9 -0
  836. package/dist/pages/core-project-reality-capture.d.mts.map +1 -0
  837. package/dist/pages/core-project-reality-capture.mjs +496 -0
  838. package/dist/pages/core-project-reality-capture.mjs.map +1 -0
  839. package/dist/pages/core-project-schedule-cost.d.mts +9 -0
  840. package/dist/pages/core-project-schedule-cost.d.mts.map +1 -0
  841. package/dist/pages/core-project-schedule-cost.mjs +548 -0
  842. package/dist/pages/core-project-schedule-cost.mjs.map +1 -0
  843. package/dist/pages/core-project-setup.d.mts +10 -0
  844. package/dist/pages/core-project-setup.d.mts.map +1 -0
  845. package/dist/pages/core-project-setup.mjs +283 -0
  846. package/dist/pages/core-project-setup.mjs.map +1 -0
  847. package/dist/pages/core-project-workforce-safety.d.mts +9 -0
  848. package/dist/pages/core-project-workforce-safety.d.mts.map +1 -0
  849. package/dist/pages/core-project-workforce-safety.mjs +465 -0
  850. package/dist/pages/core-project-workforce-safety.mjs.map +1 -0
  851. package/dist/pages/core-safety-manager.d.mts +14 -0
  852. package/dist/pages/core-safety-manager.d.mts.map +1 -0
  853. package/dist/pages/core-safety-manager.mjs +3081 -0
  854. package/dist/pages/core-safety-manager.mjs.map +1 -0
  855. package/dist/pages/core-site-reality.d.mts +25 -0
  856. package/dist/pages/core-site-reality.d.mts.map +1 -0
  857. package/dist/pages/core-site-reality.mjs +505 -0
  858. package/dist/pages/core-site-reality.mjs.map +1 -0
  859. package/dist/pages/core-task-monitor.d.mts +4 -0
  860. package/dist/pages/core-task-monitor.d.mts.map +1 -0
  861. package/dist/pages/core-task-monitor.mjs +587 -0
  862. package/dist/pages/core-task-monitor.mjs.map +1 -0
  863. package/dist/pages/core-timesheet.d.mts +2 -0
  864. package/dist/pages/core-timesheet.mjs +2 -0
  865. package/dist/pages/core-verifytime-command-center.d.mts +4 -0
  866. package/dist/pages/core-verifytime-command-center.d.mts.map +1 -0
  867. package/dist/pages/core-verifytime-command-center.mjs +1089 -0
  868. package/dist/pages/core-verifytime-command-center.mjs.map +1 -0
  869. package/dist/pages/core-wc3-workspace.d.mts +71 -0
  870. package/dist/pages/core-wc3-workspace.d.mts.map +1 -0
  871. package/dist/pages/core-wc3-workspace.mjs +1015 -0
  872. package/dist/pages/core-wc3-workspace.mjs.map +1 -0
  873. package/dist/pages/core-work-permit.d.mts +14 -0
  874. package/dist/pages/core-work-permit.d.mts.map +1 -0
  875. package/dist/pages/core-work-permit.mjs +281 -0
  876. package/dist/pages/core-work-permit.mjs.map +1 -0
  877. package/dist/pages/core-workforce.d.mts +24 -0
  878. package/dist/pages/core-workforce.d.mts.map +1 -0
  879. package/dist/pages/core-workforce.mjs +1253 -0
  880. package/dist/pages/core-workforce.mjs.map +1 -0
  881. package/dist/pages/org-logos.d.mts +9 -0
  882. package/dist/pages/org-logos.d.mts.map +1 -0
  883. package/dist/pages/org-logos.mjs +11 -0
  884. package/dist/pages/org-logos.mjs.map +1 -0
  885. package/dist/pages/state-machine-fixtures.d.mts +34 -0
  886. package/dist/pages/state-machine-fixtures.d.mts.map +1 -0
  887. package/dist/pages/state-machine-fixtures.mjs +73 -0
  888. package/dist/pages/state-machine-fixtures.mjs.map +1 -0
  889. package/dist/pages/state-machine.d.mts +407 -0
  890. package/dist/pages/state-machine.d.mts.map +1 -0
  891. package/dist/pages/state-machine.mjs +2254 -0
  892. package/dist/pages/state-machine.mjs.map +1 -0
  893. package/dist/pages/typeform/AttachmentInput.d.mts +11 -0
  894. package/dist/pages/typeform/AttachmentInput.d.mts.map +1 -0
  895. package/dist/pages/typeform/AttachmentInput.mjs +59 -0
  896. package/dist/pages/typeform/AttachmentInput.mjs.map +1 -0
  897. package/dist/pages/typeform/BuildMethodScreen.d.mts +10 -0
  898. package/dist/pages/typeform/BuildMethodScreen.d.mts.map +1 -0
  899. package/dist/pages/typeform/BuildMethodScreen.mjs +176 -0
  900. package/dist/pages/typeform/BuildMethodScreen.mjs.map +1 -0
  901. package/dist/pages/typeform/BuilderFlow.d.mts +29 -0
  902. package/dist/pages/typeform/BuilderFlow.d.mts.map +1 -0
  903. package/dist/pages/typeform/BuilderFlow.mjs +111 -0
  904. package/dist/pages/typeform/BuilderFlow.mjs.map +1 -0
  905. package/dist/pages/typeform/BuilderScreen.d.mts +14 -0
  906. package/dist/pages/typeform/BuilderScreen.d.mts.map +1 -0
  907. package/dist/pages/typeform/BuilderScreen.mjs +668 -0
  908. package/dist/pages/typeform/BuilderScreen.mjs.map +1 -0
  909. package/dist/pages/typeform/DataSourceSelect.d.mts +13 -0
  910. package/dist/pages/typeform/DataSourceSelect.d.mts.map +1 -0
  911. package/dist/pages/typeform/DataSourceSelect.mjs +36 -0
  912. package/dist/pages/typeform/DataSourceSelect.mjs.map +1 -0
  913. package/dist/pages/typeform/DerivedCountDisplay.d.mts +10 -0
  914. package/dist/pages/typeform/DerivedCountDisplay.d.mts.map +1 -0
  915. package/dist/pages/typeform/DerivedCountDisplay.mjs +20 -0
  916. package/dist/pages/typeform/DerivedCountDisplay.mjs.map +1 -0
  917. package/dist/pages/typeform/FillerRJSF.d.mts +10 -0
  918. package/dist/pages/typeform/FillerRJSF.d.mts.map +1 -0
  919. package/dist/pages/typeform/FillerRJSF.mjs +314 -0
  920. package/dist/pages/typeform/FillerRJSF.mjs.map +1 -0
  921. package/dist/pages/typeform/FormBuilderWidgetRJSF.d.mts +9 -0
  922. package/dist/pages/typeform/FormBuilderWidgetRJSF.d.mts.map +1 -0
  923. package/dist/pages/typeform/FormBuilderWidgetRJSF.mjs +22 -0
  924. package/dist/pages/typeform/FormBuilderWidgetRJSF.mjs.map +1 -0
  925. package/dist/pages/typeform/PublishScreen.d.mts +18 -0
  926. package/dist/pages/typeform/PublishScreen.d.mts.map +1 -0
  927. package/dist/pages/typeform/PublishScreen.mjs +163 -0
  928. package/dist/pages/typeform/PublishScreen.mjs.map +1 -0
  929. package/dist/pages/typeform/QuestionInspector.d.mts +7 -0
  930. package/dist/pages/typeform/QuestionInspector.d.mts.map +1 -0
  931. package/dist/pages/typeform/QuestionInspector.mjs +749 -0
  932. package/dist/pages/typeform/QuestionInspector.mjs.map +1 -0
  933. package/dist/pages/typeform/QuestionRenderer.d.mts +23 -0
  934. package/dist/pages/typeform/QuestionRenderer.d.mts.map +1 -0
  935. package/dist/pages/typeform/QuestionRenderer.mjs +170 -0
  936. package/dist/pages/typeform/QuestionRenderer.mjs.map +1 -0
  937. package/dist/pages/typeform/RatingInput.d.mts +14 -0
  938. package/dist/pages/typeform/RatingInput.d.mts.map +1 -0
  939. package/dist/pages/typeform/RatingInput.mjs +58 -0
  940. package/dist/pages/typeform/RatingInput.mjs.map +1 -0
  941. package/dist/pages/typeform/RuleGroupEditor.d.mts +9 -0
  942. package/dist/pages/typeform/RuleGroupEditor.d.mts.map +1 -0
  943. package/dist/pages/typeform/RuleGroupEditor.mjs +183 -0
  944. package/dist/pages/typeform/RuleGroupEditor.mjs.map +1 -0
  945. package/dist/pages/typeform/SignaturePad.d.mts +11 -0
  946. package/dist/pages/typeform/SignaturePad.d.mts.map +1 -0
  947. package/dist/pages/typeform/SignaturePad.mjs +111 -0
  948. package/dist/pages/typeform/SignaturePad.mjs.map +1 -0
  949. package/dist/pages/typeform/TableInput.d.mts +15 -0
  950. package/dist/pages/typeform/TableInput.d.mts.map +1 -0
  951. package/dist/pages/typeform/TableInput.mjs +73 -0
  952. package/dist/pages/typeform/TableInput.mjs.map +1 -0
  953. package/dist/pages/typeform/WorkspaceScreen.d.mts +20 -0
  954. package/dist/pages/typeform/WorkspaceScreen.d.mts.map +1 -0
  955. package/dist/pages/typeform/WorkspaceScreen.mjs +158 -0
  956. package/dist/pages/typeform/WorkspaceScreen.mjs.map +1 -0
  957. package/dist/pages/typeform/coreRjsfTheme.d.mts +4 -0
  958. package/dist/pages/typeform/coreRjsfTheme.d.mts.map +1 -0
  959. package/dist/pages/typeform/coreRjsfTheme.mjs +142 -0
  960. package/dist/pages/typeform/coreRjsfTheme.mjs.map +1 -0
  961. package/dist/pages/typeform/dataSources.d.mts +35 -0
  962. package/dist/pages/typeform/dataSources.d.mts.map +1 -0
  963. package/dist/pages/typeform/dataSources.mjs +210 -0
  964. package/dist/pages/typeform/dataSources.mjs.map +1 -0
  965. package/dist/pages/typeform/fillerShared.d.mts +21 -0
  966. package/dist/pages/typeform/fillerShared.d.mts.map +1 -0
  967. package/dist/pages/typeform/fillerShared.mjs +112 -0
  968. package/dist/pages/typeform/fillerShared.mjs.map +1 -0
  969. package/dist/pages/typeform/logic.d.mts +46 -0
  970. package/dist/pages/typeform/logic.d.mts.map +1 -0
  971. package/dist/pages/typeform/logic.mjs +193 -0
  972. package/dist/pages/typeform/logic.mjs.map +1 -0
  973. package/dist/pages/typeform/model.d.mts +144 -0
  974. package/dist/pages/typeform/model.d.mts.map +1 -0
  975. package/dist/pages/typeform/model.mjs +328 -0
  976. package/dist/pages/typeform/model.mjs.map +1 -0
  977. package/dist/pages/typeform/schemaToJsonSchema.d.mts +9 -0
  978. package/dist/pages/typeform/schemaToJsonSchema.d.mts.map +1 -0
  979. package/dist/pages/typeform/schemaToJsonSchema.mjs +119 -0
  980. package/dist/pages/typeform/schemaToJsonSchema.mjs.map +1 -0
  981. package/dist/pages/typeform/useFormBuilder.d.mts +34 -0
  982. package/dist/pages/typeform/useFormBuilder.d.mts.map +1 -0
  983. package/dist/pages/typeform/useFormBuilder.mjs +389 -0
  984. package/dist/pages/typeform/useFormBuilder.mjs.map +1 -0
  985. package/dist/pages/view-mode-thumbs.d.mts +6 -0
  986. package/dist/pages/view-mode-thumbs.d.mts.map +1 -0
  987. package/dist/pages/view-mode-thumbs.mjs +8 -0
  988. package/dist/pages/view-mode-thumbs.mjs.map +1 -0
  989. package/dist/pages/wc3-action-type-detail.d.mts +166 -0
  990. package/dist/pages/wc3-action-type-detail.d.mts.map +1 -0
  991. package/dist/pages/wc3-action-type-detail.mjs +2182 -0
  992. package/dist/pages/wc3-action-type-detail.mjs.map +1 -0
  993. package/dist/pages/wc3-action-type-run-dialog.d.mts +23 -0
  994. package/dist/pages/wc3-action-type-run-dialog.d.mts.map +1 -0
  995. package/dist/pages/wc3-action-type-run-dialog.mjs +383 -0
  996. package/dist/pages/wc3-action-type-run-dialog.mjs.map +1 -0
  997. package/dist/pages/wc3-action-type-wizard.d.mts +75 -0
  998. package/dist/pages/wc3-action-type-wizard.d.mts.map +1 -0
  999. package/dist/pages/wc3-action-type-wizard.mjs +702 -0
  1000. package/dist/pages/wc3-action-type-wizard.mjs.map +1 -0
  1001. package/dist/pages/wc3-analysis-data-view.d.mts +15 -0
  1002. package/dist/pages/wc3-analysis-data-view.d.mts.map +1 -0
  1003. package/dist/pages/wc3-analysis-data-view.mjs +129 -0
  1004. package/dist/pages/wc3-analysis-data-view.mjs.map +1 -0
  1005. package/dist/pages/wc3-analysis-data.d.mts +181 -0
  1006. package/dist/pages/wc3-analysis-data.d.mts.map +1 -0
  1007. package/dist/pages/wc3-analysis-data.mjs +4074 -0
  1008. package/dist/pages/wc3-analysis-data.mjs.map +1 -0
  1009. package/dist/pages/wc3-analysis-object-view.d.mts +12 -0
  1010. package/dist/pages/wc3-analysis-object-view.d.mts.map +1 -0
  1011. package/dist/pages/wc3-analysis-object-view.mjs +196 -0
  1012. package/dist/pages/wc3-analysis-object-view.mjs.map +1 -0
  1013. package/dist/pages/wc3-analysis-saved-view.d.mts +6 -0
  1014. package/dist/pages/wc3-analysis-saved-view.d.mts.map +1 -0
  1015. package/dist/pages/wc3-analysis-saved-view.mjs +540 -0
  1016. package/dist/pages/wc3-analysis-saved-view.mjs.map +1 -0
  1017. package/dist/pages/wc3-analysis-shared.d.mts +346 -0
  1018. package/dist/pages/wc3-analysis-shared.d.mts.map +1 -0
  1019. package/dist/pages/wc3-analysis-shared.mjs +1119 -0
  1020. package/dist/pages/wc3-analysis-shared.mjs.map +1 -0
  1021. package/dist/pages/wc3-analysis-views.d.mts +25 -0
  1022. package/dist/pages/wc3-analysis-views.d.mts.map +1 -0
  1023. package/dist/pages/wc3-analysis-views.mjs +48 -0
  1024. package/dist/pages/wc3-analysis-views.mjs.map +1 -0
  1025. package/dist/pages/wc3-fs-data.d.mts +12 -0
  1026. package/dist/pages/wc3-fs-data.d.mts.map +1 -0
  1027. package/dist/pages/wc3-fs-data.mjs +745 -0
  1028. package/dist/pages/wc3-fs-data.mjs.map +1 -0
  1029. package/dist/pages/wc3-fs-location-field.d.mts +13 -0
  1030. package/dist/pages/wc3-fs-location-field.d.mts.map +1 -0
  1031. package/dist/pages/wc3-fs-location-field.mjs +56 -0
  1032. package/dist/pages/wc3-fs-location-field.mjs.map +1 -0
  1033. package/dist/pages/wc3-fs-path-label.d.mts +12 -0
  1034. package/dist/pages/wc3-fs-path-label.d.mts.map +1 -0
  1035. package/dist/pages/wc3-fs-path-label.mjs +36 -0
  1036. package/dist/pages/wc3-fs-path-label.mjs.map +1 -0
  1037. package/dist/pages/wc3-fs-records.d.mts +17 -0
  1038. package/dist/pages/wc3-fs-records.d.mts.map +1 -0
  1039. package/dist/pages/wc3-fs-records.mjs +107 -0
  1040. package/dist/pages/wc3-fs-records.mjs.map +1 -0
  1041. package/dist/pages/wc3-fs-store.d.mts +43 -0
  1042. package/dist/pages/wc3-fs-store.d.mts.map +1 -0
  1043. package/dist/pages/wc3-fs-store.mjs +81 -0
  1044. package/dist/pages/wc3-fs-store.mjs.map +1 -0
  1045. package/dist/pages/wc3-fs-types.d.mts +19 -0
  1046. package/dist/pages/wc3-fs-types.d.mts.map +1 -0
  1047. package/dist/pages/wc3-fs-types.mjs +66 -0
  1048. package/dist/pages/wc3-fs-types.mjs.map +1 -0
  1049. package/dist/pages/wc3-graph-explorer-flow.d.mts +14 -0
  1050. package/dist/pages/wc3-graph-explorer-flow.d.mts.map +1 -0
  1051. package/dist/pages/wc3-graph-explorer-flow.mjs +275 -0
  1052. package/dist/pages/wc3-graph-explorer-flow.mjs.map +1 -0
  1053. package/dist/pages/wc3-group-detail.d.mts +26 -0
  1054. package/dist/pages/wc3-group-detail.d.mts.map +1 -0
  1055. package/dist/pages/wc3-group-detail.mjs +358 -0
  1056. package/dist/pages/wc3-group-detail.mjs.map +1 -0
  1057. package/dist/pages/wc3-group-wizard.d.mts +28 -0
  1058. package/dist/pages/wc3-group-wizard.d.mts.map +1 -0
  1059. package/dist/pages/wc3-group-wizard.mjs +120 -0
  1060. package/dist/pages/wc3-group-wizard.mjs.map +1 -0
  1061. package/dist/pages/wc3-health-view.d.mts +34 -0
  1062. package/dist/pages/wc3-health-view.d.mts.map +1 -0
  1063. package/dist/pages/wc3-health-view.mjs +413 -0
  1064. package/dist/pages/wc3-health-view.mjs.map +1 -0
  1065. package/dist/pages/wc3-home-view.d.mts +24 -0
  1066. package/dist/pages/wc3-home-view.d.mts.map +1 -0
  1067. package/dist/pages/wc3-home-view.mjs +59 -0
  1068. package/dist/pages/wc3-home-view.mjs.map +1 -0
  1069. package/dist/pages/wc3-interface-detail.d.mts +66 -0
  1070. package/dist/pages/wc3-interface-detail.d.mts.map +1 -0
  1071. package/dist/pages/wc3-interface-detail.mjs +1060 -0
  1072. package/dist/pages/wc3-interface-detail.mjs.map +1 -0
  1073. package/dist/pages/wc3-interface-wizard.d.mts +39 -0
  1074. package/dist/pages/wc3-interface-wizard.d.mts.map +1 -0
  1075. package/dist/pages/wc3-interface-wizard.mjs +226 -0
  1076. package/dist/pages/wc3-interface-wizard.mjs.map +1 -0
  1077. package/dist/pages/wc3-lineage-data-view.d.mts +6 -0
  1078. package/dist/pages/wc3-lineage-data-view.d.mts.map +1 -0
  1079. package/dist/pages/wc3-lineage-data-view.mjs +481 -0
  1080. package/dist/pages/wc3-lineage-data-view.mjs.map +1 -0
  1081. package/dist/pages/wc3-lineage-data.d.mts +191 -0
  1082. package/dist/pages/wc3-lineage-data.d.mts.map +1 -0
  1083. package/dist/pages/wc3-lineage-data.mjs +1061 -0
  1084. package/dist/pages/wc3-lineage-data.mjs.map +1 -0
  1085. package/dist/pages/wc3-lineage-impact-view.d.mts +13 -0
  1086. package/dist/pages/wc3-lineage-impact-view.d.mts.map +1 -0
  1087. package/dist/pages/wc3-lineage-impact-view.mjs +247 -0
  1088. package/dist/pages/wc3-lineage-impact-view.mjs.map +1 -0
  1089. package/dist/pages/wc3-lineage-shared.d.mts +137 -0
  1090. package/dist/pages/wc3-lineage-shared.d.mts.map +1 -0
  1091. package/dist/pages/wc3-lineage-shared.mjs +150 -0
  1092. package/dist/pages/wc3-lineage-shared.mjs.map +1 -0
  1093. package/dist/pages/wc3-lineage-views.d.mts +7 -0
  1094. package/dist/pages/wc3-lineage-views.d.mts.map +1 -0
  1095. package/dist/pages/wc3-lineage-views.mjs +13 -0
  1096. package/dist/pages/wc3-lineage-views.mjs.map +1 -0
  1097. package/dist/pages/wc3-lineage-workflow-view.d.mts +12 -0
  1098. package/dist/pages/wc3-lineage-workflow-view.d.mts.map +1 -0
  1099. package/dist/pages/wc3-lineage-workflow-view.mjs +326 -0
  1100. package/dist/pages/wc3-lineage-workflow-view.mjs.map +1 -0
  1101. package/dist/pages/wc3-object-type-detail.d.mts +18 -0
  1102. package/dist/pages/wc3-object-type-detail.d.mts.map +1 -0
  1103. package/dist/pages/wc3-object-type-detail.mjs +977 -0
  1104. package/dist/pages/wc3-object-type-detail.mjs.map +1 -0
  1105. package/dist/pages/wc3-ontology-data.d.mts +246 -0
  1106. package/dist/pages/wc3-ontology-data.d.mts.map +1 -0
  1107. package/dist/pages/wc3-ontology-data.mjs +8542 -0
  1108. package/dist/pages/wc3-ontology-data.mjs.map +1 -0
  1109. package/dist/pages/wc3-ontology-glyphs.d.mts +14 -0
  1110. package/dist/pages/wc3-ontology-glyphs.d.mts.map +1 -0
  1111. package/dist/pages/wc3-ontology-glyphs.mjs +53 -0
  1112. package/dist/pages/wc3-ontology-glyphs.mjs.map +1 -0
  1113. package/dist/pages/wc3-ontology-scope.d.mts +62 -0
  1114. package/dist/pages/wc3-ontology-scope.d.mts.map +1 -0
  1115. package/dist/pages/wc3-ontology-scope.mjs +109 -0
  1116. package/dist/pages/wc3-ontology-scope.mjs.map +1 -0
  1117. package/dist/pages/wc3-ontology-views.d.mts +34 -0
  1118. package/dist/pages/wc3-ontology-views.d.mts.map +1 -0
  1119. package/dist/pages/wc3-ontology-views.mjs +1253 -0
  1120. package/dist/pages/wc3-ontology-views.mjs.map +1 -0
  1121. package/dist/pages/wc3-permit-policy.d.mts +56 -0
  1122. package/dist/pages/wc3-permit-policy.d.mts.map +1 -0
  1123. package/dist/pages/wc3-permit-policy.mjs +478 -0
  1124. package/dist/pages/wc3-permit-policy.mjs.map +1 -0
  1125. package/dist/pages/wc3-pipeline-detail.d.mts +13 -0
  1126. package/dist/pages/wc3-pipeline-detail.d.mts.map +1 -0
  1127. package/dist/pages/wc3-pipeline-detail.mjs +818 -0
  1128. package/dist/pages/wc3-pipeline-detail.mjs.map +1 -0
  1129. package/dist/pages/wc3-pipeline-list-view.d.mts +5 -0
  1130. package/dist/pages/wc3-pipeline-list-view.d.mts.map +1 -0
  1131. package/dist/pages/wc3-pipeline-list-view.mjs +692 -0
  1132. package/dist/pages/wc3-pipeline-list-view.mjs.map +1 -0
  1133. package/dist/pages/wc3-pipeline-shared.d.mts +301 -0
  1134. package/dist/pages/wc3-pipeline-shared.d.mts.map +1 -0
  1135. package/dist/pages/wc3-pipeline-shared.mjs +703 -0
  1136. package/dist/pages/wc3-pipeline-shared.mjs.map +1 -0
  1137. package/dist/pages/wc3-pipeline-side-views.d.mts +7 -0
  1138. package/dist/pages/wc3-pipeline-side-views.d.mts.map +1 -0
  1139. package/dist/pages/wc3-pipeline-side-views.mjs +998 -0
  1140. package/dist/pages/wc3-pipeline-side-views.mjs.map +1 -0
  1141. package/dist/pages/wc3-pipeline-views.d.mts +15 -0
  1142. package/dist/pages/wc3-pipeline-views.d.mts.map +1 -0
  1143. package/dist/pages/wc3-pipeline-views.mjs +23 -0
  1144. package/dist/pages/wc3-pipeline-views.mjs.map +1 -0
  1145. package/dist/pages/wc3-process-bottlenecks.d.mts +22 -0
  1146. package/dist/pages/wc3-process-bottlenecks.d.mts.map +1 -0
  1147. package/dist/pages/wc3-process-bottlenecks.mjs +352 -0
  1148. package/dist/pages/wc3-process-bottlenecks.mjs.map +1 -0
  1149. package/dist/pages/wc3-process-create.d.mts +24 -0
  1150. package/dist/pages/wc3-process-create.d.mts.map +1 -0
  1151. package/dist/pages/wc3-process-create.mjs +230 -0
  1152. package/dist/pages/wc3-process-create.mjs.map +1 -0
  1153. package/dist/pages/wc3-process-data.d.mts +238 -0
  1154. package/dist/pages/wc3-process-data.d.mts.map +1 -0
  1155. package/dist/pages/wc3-process-data.mjs +2251 -0
  1156. package/dist/pages/wc3-process-data.mjs.map +1 -0
  1157. package/dist/pages/wc3-process-detail.d.mts +21 -0
  1158. package/dist/pages/wc3-process-detail.d.mts.map +1 -0
  1159. package/dist/pages/wc3-process-detail.mjs +21 -0
  1160. package/dist/pages/wc3-process-detail.mjs.map +1 -0
  1161. package/dist/pages/wc3-process-list-view.d.mts +5 -0
  1162. package/dist/pages/wc3-process-list-view.d.mts.map +1 -0
  1163. package/dist/pages/wc3-process-list-view.mjs +602 -0
  1164. package/dist/pages/wc3-process-list-view.mjs.map +1 -0
  1165. package/dist/pages/wc3-process-shared.d.mts +443 -0
  1166. package/dist/pages/wc3-process-shared.d.mts.map +1 -0
  1167. package/dist/pages/wc3-process-shared.mjs +980 -0
  1168. package/dist/pages/wc3-process-shared.mjs.map +1 -0
  1169. package/dist/pages/wc3-process-views.d.mts +19 -0
  1170. package/dist/pages/wc3-process-views.d.mts.map +1 -0
  1171. package/dist/pages/wc3-process-views.mjs +23 -0
  1172. package/dist/pages/wc3-process-views.mjs.map +1 -0
  1173. package/dist/pages/wc3-product-catalogue-view.d.mts +5 -0
  1174. package/dist/pages/wc3-product-catalogue-view.d.mts.map +1 -0
  1175. package/dist/pages/wc3-product-catalogue-view.mjs +587 -0
  1176. package/dist/pages/wc3-product-catalogue-view.mjs.map +1 -0
  1177. package/dist/pages/wc3-product-data.d.mts +206 -0
  1178. package/dist/pages/wc3-product-data.d.mts.map +1 -0
  1179. package/dist/pages/wc3-product-data.mjs +2669 -0
  1180. package/dist/pages/wc3-product-data.mjs.map +1 -0
  1181. package/dist/pages/wc3-product-detail.d.mts +31 -0
  1182. package/dist/pages/wc3-product-detail.d.mts.map +1 -0
  1183. package/dist/pages/wc3-product-detail.mjs +1137 -0
  1184. package/dist/pages/wc3-product-detail.mjs.map +1 -0
  1185. package/dist/pages/wc3-product-install-dialog.d.mts +99 -0
  1186. package/dist/pages/wc3-product-install-dialog.d.mts.map +1 -0
  1187. package/dist/pages/wc3-product-install-dialog.mjs +808 -0
  1188. package/dist/pages/wc3-product-install-dialog.mjs.map +1 -0
  1189. package/dist/pages/wc3-product-shared.d.mts +152 -0
  1190. package/dist/pages/wc3-product-shared.d.mts.map +1 -0
  1191. package/dist/pages/wc3-product-shared.mjs +268 -0
  1192. package/dist/pages/wc3-product-shared.mjs.map +1 -0
  1193. package/dist/pages/wc3-product-views.d.mts +7 -0
  1194. package/dist/pages/wc3-product-views.d.mts.map +1 -0
  1195. package/dist/pages/wc3-product-views.mjs +7 -0
  1196. package/dist/pages/wc3-product-views.mjs.map +1 -0
  1197. package/dist/pages/wc3-shared-property-detail.d.mts +95 -0
  1198. package/dist/pages/wc3-shared-property-detail.d.mts.map +1 -0
  1199. package/dist/pages/wc3-shared-property-detail.mjs +546 -0
  1200. package/dist/pages/wc3-shared-property-detail.mjs.map +1 -0
  1201. package/dist/pages/wc3-shared-property-view.d.mts +10 -0
  1202. package/dist/pages/wc3-shared-property-view.d.mts.map +1 -0
  1203. package/dist/pages/wc3-shared-property-view.mjs +455 -0
  1204. package/dist/pages/wc3-shared-property-view.mjs.map +1 -0
  1205. package/dist/pages/wc3-shared-property-wizard.d.mts +31 -0
  1206. package/dist/pages/wc3-shared-property-wizard.d.mts.map +1 -0
  1207. package/dist/pages/wc3-shared-property-wizard.mjs +181 -0
  1208. package/dist/pages/wc3-shared-property-wizard.mjs.map +1 -0
  1209. package/dist/pages/work-permit-templates.d.mts +30 -0
  1210. package/dist/pages/work-permit-templates.d.mts.map +1 -0
  1211. package/dist/pages/work-permit-templates.mjs +793 -0
  1212. package/dist/pages/work-permit-templates.mjs.map +1 -0
  1213. package/dist/pages/workforce-analytics.d.mts +11 -0
  1214. package/dist/pages/workforce-analytics.d.mts.map +1 -0
  1215. package/dist/pages/workforce-analytics.mjs +561 -0
  1216. package/dist/pages/workforce-analytics.mjs.map +1 -0
  1217. package/dist/pages/workforce-compliance-settings.d.mts +9 -0
  1218. package/dist/pages/workforce-compliance-settings.d.mts.map +1 -0
  1219. package/dist/pages/workforce-compliance-settings.mjs +375 -0
  1220. package/dist/pages/workforce-compliance-settings.mjs.map +1 -0
  1221. package/dist/pages/workforce-compliance.d.mts +81 -0
  1222. package/dist/pages/workforce-compliance.d.mts.map +1 -0
  1223. package/dist/pages/workforce-compliance.mjs +805 -0
  1224. package/dist/pages/workforce-compliance.mjs.map +1 -0
  1225. package/dist/pages/workforce-crews.d.mts +5 -0
  1226. package/dist/pages/workforce-crews.d.mts.map +1 -0
  1227. package/dist/pages/workforce-crews.mjs +1091 -0
  1228. package/dist/pages/workforce-crews.mjs.map +1 -0
  1229. package/dist/pages/workforce-map-view.d.mts +8 -0
  1230. package/dist/pages/workforce-map-view.d.mts.map +1 -0
  1231. package/dist/pages/workforce-map-view.mjs +953 -0
  1232. package/dist/pages/workforce-map-view.mjs.map +1 -0
  1233. package/dist/pages/workforce-obs.d.mts +5 -0
  1234. package/dist/pages/workforce-obs.d.mts.map +1 -0
  1235. package/dist/pages/workforce-obs.mjs +649 -0
  1236. package/dist/pages/workforce-obs.mjs.map +1 -0
  1237. package/dist/pagination.d.mts +32 -0
  1238. package/dist/pagination.d.mts.map +1 -0
  1239. package/dist/pagination.mjs +67 -0
  1240. package/dist/pagination.mjs.map +1 -0
  1241. package/dist/permission-matrix.d.mts +43 -0
  1242. package/dist/permission-matrix.d.mts.map +1 -0
  1243. package/dist/permission-matrix.mjs +146 -0
  1244. package/dist/permission-matrix.mjs.map +1 -0
  1245. package/dist/popover.d.mts +19 -0
  1246. package/dist/popover.d.mts.map +1 -0
  1247. package/dist/popover.mjs +31 -0
  1248. package/dist/popover.mjs.map +1 -0
  1249. package/dist/product-package-detail.d.mts +173 -0
  1250. package/dist/product-package-detail.d.mts.map +1 -0
  1251. package/dist/product-package-detail.mjs +521 -0
  1252. package/dist/product-package-detail.mjs.map +1 -0
  1253. package/dist/progress-comparison.d.mts +93 -0
  1254. package/dist/progress-comparison.d.mts.map +1 -0
  1255. package/dist/progress-comparison.mjs +253 -0
  1256. package/dist/progress-comparison.mjs.map +1 -0
  1257. package/dist/progress-list-item.d.mts +46 -0
  1258. package/dist/progress-list-item.d.mts.map +1 -0
  1259. package/dist/progress-list-item.mjs +79 -0
  1260. package/dist/progress-list-item.mjs.map +1 -0
  1261. package/dist/progress-sheet.d.mts +39 -0
  1262. package/dist/progress-sheet.d.mts.map +1 -0
  1263. package/dist/progress-sheet.mjs +760 -0
  1264. package/dist/progress-sheet.mjs.map +1 -0
  1265. package/dist/progress-stat.d.mts +26 -0
  1266. package/dist/progress-stat.d.mts.map +1 -0
  1267. package/dist/progress-stat.mjs +54 -0
  1268. package/dist/progress-stat.mjs.map +1 -0
  1269. package/dist/progress.d.mts +13 -0
  1270. package/dist/progress.d.mts.map +1 -0
  1271. package/dist/progress.mjs +32 -0
  1272. package/dist/progress.mjs.map +1 -0
  1273. package/dist/prompt-input.d.mts +108 -0
  1274. package/dist/prompt-input.d.mts.map +1 -0
  1275. package/dist/prompt-input.mjs +400 -0
  1276. package/dist/prompt-input.mjs.map +1 -0
  1277. package/dist/property-list.d.mts +37 -0
  1278. package/dist/property-list.d.mts.map +1 -0
  1279. package/dist/property-list.mjs +60 -0
  1280. package/dist/property-list.mjs.map +1 -0
  1281. package/dist/push-panel.d.mts +75 -0
  1282. package/dist/push-panel.d.mts.map +1 -0
  1283. package/dist/push-panel.mjs +182 -0
  1284. package/dist/push-panel.mjs.map +1 -0
  1285. package/dist/radio-group.d.mts +9 -0
  1286. package/dist/radio-group.d.mts.map +1 -0
  1287. package/dist/radio-group.mjs +27 -0
  1288. package/dist/radio-group.mjs.map +1 -0
  1289. package/dist/record-detail-shell.d.mts +46 -0
  1290. package/dist/record-detail-shell.d.mts.map +1 -0
  1291. package/dist/record-detail-shell.mjs +29 -0
  1292. package/dist/record-detail-shell.mjs.map +1 -0
  1293. package/dist/resizable.d.mts +11 -0
  1294. package/dist/resizable.d.mts.map +1 -0
  1295. package/dist/resizable.mjs +23 -0
  1296. package/dist/resizable.mjs.map +1 -0
  1297. package/dist/resize-handle.d.mts +19 -0
  1298. package/dist/resize-handle.d.mts.map +1 -0
  1299. package/dist/resize-handle.mjs +45 -0
  1300. package/dist/resize-handle.mjs.map +1 -0
  1301. package/dist/responder-detail-panel.d.mts +72 -0
  1302. package/dist/responder-detail-panel.d.mts.map +1 -0
  1303. package/dist/responder-detail-panel.mjs +232 -0
  1304. package/dist/responder-detail-panel.mjs.map +1 -0
  1305. package/dist/rule-row.d.mts +63 -0
  1306. package/dist/rule-row.d.mts.map +1 -0
  1307. package/dist/rule-row.mjs +97 -0
  1308. package/dist/rule-row.mjs.map +1 -0
  1309. package/dist/schedule-week-bar.d.mts +24 -0
  1310. package/dist/schedule-week-bar.d.mts.map +1 -0
  1311. package/dist/schedule-week-bar.mjs +99 -0
  1312. package/dist/schedule-week-bar.mjs.map +1 -0
  1313. package/dist/score-gauge.d.mts +24 -0
  1314. package/dist/score-gauge.d.mts.map +1 -0
  1315. package/dist/score-gauge.mjs +73 -0
  1316. package/dist/score-gauge.mjs.map +1 -0
  1317. package/dist/scroll-area.d.mts +27 -0
  1318. package/dist/scroll-area.d.mts.map +1 -0
  1319. package/dist/scroll-area.mjs +35 -0
  1320. package/dist/scroll-area.mjs.map +1 -0
  1321. package/dist/search-filter-bar.d.mts +22 -0
  1322. package/dist/search-filter-bar.d.mts.map +1 -0
  1323. package/dist/search-filter-bar.mjs +56 -0
  1324. package/dist/search-filter-bar.mjs.map +1 -0
  1325. package/dist/section-header.d.mts +22 -0
  1326. package/dist/section-header.d.mts.map +1 -0
  1327. package/dist/section-header.mjs +32 -0
  1328. package/dist/section-header.mjs.map +1 -0
  1329. package/dist/section-panel.d.mts +47 -0
  1330. package/dist/section-panel.d.mts.map +1 -0
  1331. package/dist/section-panel.mjs +78 -0
  1332. package/dist/section-panel.mjs.map +1 -0
  1333. package/dist/section.d.mts +15 -0
  1334. package/dist/section.d.mts.map +1 -0
  1335. package/dist/section.mjs +34 -0
  1336. package/dist/section.mjs.map +1 -0
  1337. package/dist/segmented-control.d.mts +26 -0
  1338. package/dist/segmented-control.d.mts.map +1 -0
  1339. package/dist/segmented-control.mjs +70 -0
  1340. package/dist/segmented-control.mjs.map +1 -0
  1341. package/dist/select.d.mts +87 -0
  1342. package/dist/select.d.mts.map +1 -0
  1343. package/dist/select.mjs +280 -0
  1344. package/dist/select.mjs.map +1 -0
  1345. package/dist/selectable-card.d.mts +39 -0
  1346. package/dist/selectable-card.d.mts.map +1 -0
  1347. package/dist/selectable-card.mjs +102 -0
  1348. package/dist/selectable-card.mjs.map +1 -0
  1349. package/dist/separator.d.mts +8 -0
  1350. package/dist/separator.d.mts.map +1 -0
  1351. package/dist/separator.mjs +18 -0
  1352. package/dist/separator.mjs.map +1 -0
  1353. package/dist/services/chatService.d.mts +11 -0
  1354. package/dist/services/chatService.d.mts.map +1 -0
  1355. package/dist/services/chatService.mjs +44 -0
  1356. package/dist/services/chatService.mjs.map +1 -0
  1357. package/dist/setup-steps-checklist.d.mts +50 -0
  1358. package/dist/setup-steps-checklist.d.mts.map +1 -0
  1359. package/dist/setup-steps-checklist.mjs +183 -0
  1360. package/dist/setup-steps-checklist.mjs.map +1 -0
  1361. package/dist/sheet.d.mts +41 -0
  1362. package/dist/sheet.d.mts.map +1 -0
  1363. package/dist/sheet.mjs +71 -0
  1364. package/dist/sheet.mjs.map +1 -0
  1365. package/dist/side-menu.d.mts +61 -0
  1366. package/dist/side-menu.d.mts.map +1 -0
  1367. package/dist/side-menu.mjs +160 -0
  1368. package/dist/side-menu.mjs.map +1 -0
  1369. package/dist/sidebar.d.mts +36 -0
  1370. package/dist/sidebar.d.mts.map +1 -0
  1371. package/dist/sidebar.mjs +159 -0
  1372. package/dist/sidebar.mjs.map +1 -0
  1373. package/dist/single-house-view.d.mts +13 -0
  1374. package/dist/single-house-view.d.mts.map +1 -0
  1375. package/dist/single-house-view.mjs +506 -0
  1376. package/dist/single-house-view.mjs.map +1 -0
  1377. package/dist/site-image-viewer/batches.mjs +362 -0
  1378. package/dist/site-image-viewer/batches.mjs.map +1 -0
  1379. package/dist/site-image-viewer/blocks-zone-1a.mjs +1815 -0
  1380. package/dist/site-image-viewer/blocks-zone-1a.mjs.map +1 -0
  1381. package/dist/site-image-viewer/blocks-zone-1b.mjs +2623 -0
  1382. package/dist/site-image-viewer/blocks-zone-1b.mjs.map +1 -0
  1383. package/dist/site-image-viewer/legend-items.d.mts +6 -0
  1384. package/dist/site-image-viewer/legend-items.d.mts.map +1 -0
  1385. package/dist/site-image-viewer/legend-items.mjs +104 -0
  1386. package/dist/site-image-viewer/legend-items.mjs.map +1 -0
  1387. package/dist/site-image-viewer/milestone-ramp.d.mts +81 -0
  1388. package/dist/site-image-viewer/milestone-ramp.d.mts.map +1 -0
  1389. package/dist/site-image-viewer/milestone-ramp.mjs +112 -0
  1390. package/dist/site-image-viewer/milestone-ramp.mjs.map +1 -0
  1391. package/dist/site-image-viewer/phases.mjs +60 -0
  1392. package/dist/site-image-viewer/phases.mjs.map +1 -0
  1393. package/dist/site-image-viewer/site-legend.d.mts +20 -0
  1394. package/dist/site-image-viewer/site-legend.d.mts.map +1 -0
  1395. package/dist/site-image-viewer/site-legend.mjs +113 -0
  1396. package/dist/site-image-viewer/site-legend.mjs.map +1 -0
  1397. package/dist/site-image-viewer/types.d.mts +32 -0
  1398. package/dist/site-image-viewer/types.d.mts.map +1 -0
  1399. package/dist/site-image-viewer/types.mjs +1 -0
  1400. package/dist/site-image-viewer/villa-hover-card.d.mts +15 -0
  1401. package/dist/site-image-viewer/villa-hover-card.d.mts.map +1 -0
  1402. package/dist/site-image-viewer/villa-hover-card.mjs +48 -0
  1403. package/dist/site-image-viewer/villa-hover-card.mjs.map +1 -0
  1404. package/dist/site-image-viewer/villas.mjs +34494 -0
  1405. package/dist/site-image-viewer/villas.mjs.map +1 -0
  1406. package/dist/site-image-viewer/zone1b-villas.mjs +36211 -0
  1407. package/dist/site-image-viewer/zone1b-villas.mjs.map +1 -0
  1408. package/dist/site-image-viewer/zones-marketing.mjs +114 -0
  1409. package/dist/site-image-viewer/zones-marketing.mjs.map +1 -0
  1410. package/dist/site-image-viewer/zones.mjs +114 -0
  1411. package/dist/site-image-viewer/zones.mjs.map +1 -0
  1412. package/dist/site-image-viewer-fixtures.d.mts +44 -0
  1413. package/dist/site-image-viewer-fixtures.d.mts.map +1 -0
  1414. package/dist/site-image-viewer-fixtures.mjs +112 -0
  1415. package/dist/site-image-viewer-fixtures.mjs.map +1 -0
  1416. package/dist/site-image-viewer.d.mts +98 -0
  1417. package/dist/site-image-viewer.d.mts.map +1 -0
  1418. package/dist/site-image-viewer.mjs +501 -0
  1419. package/dist/site-image-viewer.mjs.map +1 -0
  1420. package/dist/site-panel.d.mts +123 -0
  1421. package/dist/site-panel.d.mts.map +1 -0
  1422. package/dist/site-panel.mjs +1413 -0
  1423. package/dist/site-panel.mjs.map +1 -0
  1424. package/dist/site-reality-viewer.d.mts +46 -0
  1425. package/dist/site-reality-viewer.d.mts.map +1 -0
  1426. package/dist/site-reality-viewer.mjs +436 -0
  1427. package/dist/site-reality-viewer.mjs.map +1 -0
  1428. package/dist/site-toolbar.d.mts +54 -0
  1429. package/dist/site-toolbar.d.mts.map +1 -0
  1430. package/dist/site-toolbar.mjs +110 -0
  1431. package/dist/site-toolbar.mjs.map +1 -0
  1432. package/dist/skeleton.d.mts +6 -0
  1433. package/dist/skeleton.d.mts.map +1 -0
  1434. package/dist/skeleton.mjs +14 -0
  1435. package/dist/skeleton.mjs.map +1 -0
  1436. package/dist/slider.d.mts +8 -0
  1437. package/dist/slider.d.mts.map +1 -0
  1438. package/dist/slider.mjs +20 -0
  1439. package/dist/slider.mjs.map +1 -0
  1440. package/dist/sonner.d.mts +8 -0
  1441. package/dist/sonner.d.mts.map +1 -0
  1442. package/dist/sonner.mjs +20 -0
  1443. package/dist/sonner.mjs.map +1 -0
  1444. package/dist/spinner.d.mts +12 -0
  1445. package/dist/spinner.d.mts.map +1 -0
  1446. package/dist/spinner.mjs +38 -0
  1447. package/dist/spinner.mjs.map +1 -0
  1448. package/dist/stack.d.mts +18 -0
  1449. package/dist/stack.d.mts.map +1 -0
  1450. package/dist/stack.mjs +61 -0
  1451. package/dist/stack.mjs.map +1 -0
  1452. package/dist/stage-content.d.mts +13 -0
  1453. package/dist/stage-content.d.mts.map +1 -0
  1454. package/dist/stage-content.mjs +664 -0
  1455. package/dist/stage-content.mjs.map +1 -0
  1456. package/dist/status-dot.d.mts +18 -0
  1457. package/dist/status-dot.d.mts.map +1 -0
  1458. package/dist/status-dot.mjs +89 -0
  1459. package/dist/status-dot.mjs.map +1 -0
  1460. package/dist/stepper.d.mts +19 -0
  1461. package/dist/stepper.d.mts.map +1 -0
  1462. package/dist/stepper.mjs +113 -0
  1463. package/dist/stepper.mjs.map +1 -0
  1464. package/dist/styles.css +1 -0
  1465. package/dist/styles.tw4.css +1 -0
  1466. package/dist/switch.d.mts +12 -0
  1467. package/dist/switch.d.mts.map +1 -0
  1468. package/dist/switch.mjs +17 -0
  1469. package/dist/switch.mjs.map +1 -0
  1470. package/dist/tab-list.d.mts +33 -0
  1471. package/dist/tab-list.d.mts.map +1 -0
  1472. package/dist/tab-list.mjs +90 -0
  1473. package/dist/tab-list.mjs.map +1 -0
  1474. package/dist/table.d.mts +14 -0
  1475. package/dist/table.d.mts.map +1 -0
  1476. package/dist/table.mjs +60 -0
  1477. package/dist/table.mjs.map +1 -0
  1478. package/dist/tabs.d.mts +42 -0
  1479. package/dist/tabs.d.mts.map +1 -0
  1480. package/dist/tabs.mjs +258 -0
  1481. package/dist/tabs.mjs.map +1 -0
  1482. package/dist/task-monitor.d.mts +70 -0
  1483. package/dist/task-monitor.d.mts.map +1 -0
  1484. package/dist/task-monitor.mjs +319 -0
  1485. package/dist/task-monitor.mjs.map +1 -0
  1486. package/dist/text.d.mts +18 -0
  1487. package/dist/text.d.mts.map +1 -0
  1488. package/dist/text.mjs +60 -0
  1489. package/dist/text.mjs.map +1 -0
  1490. package/dist/textarea.d.mts +7 -0
  1491. package/dist/textarea.d.mts.map +1 -0
  1492. package/dist/textarea.mjs +15 -0
  1493. package/dist/textarea.mjs.map +1 -0
  1494. package/dist/thinking-pill.d.mts +15 -0
  1495. package/dist/thinking-pill.d.mts.map +1 -0
  1496. package/dist/thinking-pill.mjs +28 -0
  1497. package/dist/thinking-pill.mjs.map +1 -0
  1498. package/dist/thumbnail.d.mts +20 -0
  1499. package/dist/thumbnail.d.mts.map +1 -0
  1500. package/dist/thumbnail.mjs +81 -0
  1501. package/dist/thumbnail.mjs.map +1 -0
  1502. package/dist/time-input.d.mts +15 -0
  1503. package/dist/time-input.d.mts.map +1 -0
  1504. package/dist/time-input.mjs +21 -0
  1505. package/dist/time-input.mjs.map +1 -0
  1506. package/dist/time-scrubber.d.mts +93 -0
  1507. package/dist/time-scrubber.d.mts.map +1 -0
  1508. package/dist/time-scrubber.mjs +420 -0
  1509. package/dist/time-scrubber.mjs.map +1 -0
  1510. package/dist/timeline-range-selector.d.mts +30 -0
  1511. package/dist/timeline-range-selector.d.mts.map +1 -0
  1512. package/dist/timeline-range-selector.mjs +232 -0
  1513. package/dist/timeline-range-selector.mjs.map +1 -0
  1514. package/dist/timestamp-picker.d.mts +32 -0
  1515. package/dist/timestamp-picker.d.mts.map +1 -0
  1516. package/dist/timestamp-picker.mjs +143 -0
  1517. package/dist/timestamp-picker.mjs.map +1 -0
  1518. package/dist/timestamp.d.mts +15 -0
  1519. package/dist/timestamp.d.mts.map +1 -0
  1520. package/dist/timestamp.mjs +61 -0
  1521. package/dist/timestamp.mjs.map +1 -0
  1522. package/dist/toast.d.mts +18 -0
  1523. package/dist/toast.d.mts.map +1 -0
  1524. package/dist/toast.mjs +59 -0
  1525. package/dist/toast.mjs.map +1 -0
  1526. package/dist/toaster.d.mts +5 -0
  1527. package/dist/toaster.d.mts.map +1 -0
  1528. package/dist/toaster.mjs +23 -0
  1529. package/dist/toaster.mjs.map +1 -0
  1530. package/dist/toggle-group.d.mts +16 -0
  1531. package/dist/toggle-group.d.mts.map +1 -0
  1532. package/dist/toggle-group.mjs +41 -0
  1533. package/dist/toggle-group.mjs.map +1 -0
  1534. package/dist/toggle.d.mts +16 -0
  1535. package/dist/toggle.d.mts.map +1 -0
  1536. package/dist/toggle.mjs +38 -0
  1537. package/dist/toggle.mjs.map +1 -0
  1538. package/dist/tokenizer.d.mts +23 -0
  1539. package/dist/tokenizer.d.mts.map +1 -0
  1540. package/dist/tokenizer.mjs +87 -0
  1541. package/dist/tokenizer.mjs.map +1 -0
  1542. package/dist/tones.d.mts +59 -0
  1543. package/dist/tones.d.mts.map +1 -0
  1544. package/dist/tones.mjs +177 -0
  1545. package/dist/tones.mjs.map +1 -0
  1546. package/dist/tool-call.d.mts +29 -0
  1547. package/dist/tool-call.d.mts.map +1 -0
  1548. package/dist/tool-call.mjs +89 -0
  1549. package/dist/tool-call.mjs.map +1 -0
  1550. package/dist/toolbar-color-picker.d.mts +50 -0
  1551. package/dist/toolbar-color-picker.d.mts.map +1 -0
  1552. package/dist/toolbar-color-picker.mjs +238 -0
  1553. package/dist/toolbar-color-picker.mjs.map +1 -0
  1554. package/dist/toolbar-pager.d.mts +17 -0
  1555. package/dist/toolbar-pager.d.mts.map +1 -0
  1556. package/dist/toolbar-pager.mjs +40 -0
  1557. package/dist/toolbar-pager.mjs.map +1 -0
  1558. package/dist/toolbar-stats.d.mts +34 -0
  1559. package/dist/toolbar-stats.d.mts.map +1 -0
  1560. package/dist/toolbar-stats.mjs +53 -0
  1561. package/dist/toolbar-stats.mjs.map +1 -0
  1562. package/dist/toolbar.d.mts +98 -0
  1563. package/dist/toolbar.d.mts.map +1 -0
  1564. package/dist/toolbar.mjs +86 -0
  1565. package/dist/toolbar.mjs.map +1 -0
  1566. package/dist/tooltip.d.mts +30 -0
  1567. package/dist/tooltip.d.mts.map +1 -0
  1568. package/dist/tooltip.mjs +83 -0
  1569. package/dist/tooltip.mjs.map +1 -0
  1570. package/dist/tree-list.d.mts +38 -0
  1571. package/dist/tree-list.d.mts.map +1 -0
  1572. package/dist/tree-list.mjs +95 -0
  1573. package/dist/tree-list.mjs.map +1 -0
  1574. package/dist/tree-row.d.mts +84 -0
  1575. package/dist/tree-row.d.mts.map +1 -0
  1576. package/dist/tree-row.mjs +150 -0
  1577. package/dist/tree-row.mjs.map +1 -0
  1578. package/dist/trend-chart.d.mts +28 -0
  1579. package/dist/trend-chart.d.mts.map +1 -0
  1580. package/dist/trend-chart.mjs +33 -0
  1581. package/dist/trend-chart.mjs.map +1 -0
  1582. package/dist/turn-timer.d.mts +23 -0
  1583. package/dist/turn-timer.d.mts.map +1 -0
  1584. package/dist/turn-timer.mjs +51 -0
  1585. package/dist/turn-timer.mjs.map +1 -0
  1586. package/dist/typeahead-item.d.mts +34 -0
  1587. package/dist/typeahead-item.d.mts.map +1 -0
  1588. package/dist/typeahead-item.mjs +74 -0
  1589. package/dist/typeahead-item.mjs.map +1 -0
  1590. package/dist/types/chat.d.mts +66 -0
  1591. package/dist/types/chat.d.mts.map +1 -0
  1592. package/dist/types/chat.mjs +1 -0
  1593. package/dist/types.d.mts +44 -0
  1594. package/dist/types.d.mts.map +1 -0
  1595. package/dist/types.mjs +49 -0
  1596. package/dist/types.mjs.map +1 -0
  1597. package/dist/typography.d.mts +17 -0
  1598. package/dist/typography.d.mts.map +1 -0
  1599. package/dist/typography.mjs +75 -0
  1600. package/dist/typography.mjs.map +1 -0
  1601. package/dist/use-debounced-value.d.mts +11 -0
  1602. package/dist/use-debounced-value.d.mts.map +1 -0
  1603. package/dist/use-debounced-value.mjs +25 -0
  1604. package/dist/use-debounced-value.mjs.map +1 -0
  1605. package/dist/use-document-dir.d.mts +15 -0
  1606. package/dist/use-document-dir.d.mts.map +1 -0
  1607. package/dist/use-document-dir.mjs +33 -0
  1608. package/dist/use-document-dir.mjs.map +1 -0
  1609. package/dist/use-persistent-state.d.mts +9 -0
  1610. package/dist/use-persistent-state.d.mts.map +1 -0
  1611. package/dist/use-persistent-state.mjs +29 -0
  1612. package/dist/use-persistent-state.mjs.map +1 -0
  1613. package/dist/use-toast.d.mts +47 -0
  1614. package/dist/use-toast.d.mts.map +1 -0
  1615. package/dist/use-toast.mjs +119 -0
  1616. package/dist/use-toast.mjs.map +1 -0
  1617. package/dist/vertical-zoom-tools.d.mts +27 -0
  1618. package/dist/vertical-zoom-tools.d.mts.map +1 -0
  1619. package/dist/vertical-zoom-tools.mjs +66 -0
  1620. package/dist/vertical-zoom-tools.mjs.map +1 -0
  1621. package/dist/view-tab-bar.d.mts +75 -0
  1622. package/dist/view-tab-bar.d.mts.map +1 -0
  1623. package/dist/view-tab-bar.mjs +80 -0
  1624. package/dist/view-tab-bar.mjs.map +1 -0
  1625. package/dist/viewer-toolbar.d.mts +41 -0
  1626. package/dist/viewer-toolbar.d.mts.map +1 -0
  1627. package/dist/viewer-toolbar.mjs +271 -0
  1628. package/dist/viewer-toolbar.mjs.map +1 -0
  1629. package/dist/violation-list.d.mts +26 -0
  1630. package/dist/violation-list.d.mts.map +1 -0
  1631. package/dist/violation-list.mjs +53 -0
  1632. package/dist/violation-list.mjs.map +1 -0
  1633. package/dist/walkthrough-modal.d.mts +12 -0
  1634. package/dist/walkthrough-modal.d.mts.map +1 -0
  1635. package/dist/walkthrough-modal.mjs +28 -0
  1636. package/dist/walkthrough-modal.mjs.map +1 -0
  1637. package/dist/walkthrough-tile.d.mts +17 -0
  1638. package/dist/walkthrough-tile.d.mts.map +1 -0
  1639. package/dist/walkthrough-tile.mjs +75 -0
  1640. package/dist/walkthrough-tile.mjs.map +1 -0
  1641. package/dist/week-selector.d.mts +45 -0
  1642. package/dist/week-selector.d.mts.map +1 -0
  1643. package/dist/week-selector.mjs +101 -0
  1644. package/dist/week-selector.mjs.map +1 -0
  1645. package/dist/widget-card.d.mts +18 -0
  1646. package/dist/widget-card.d.mts.map +1 -0
  1647. package/dist/widget-card.mjs +46 -0
  1648. package/dist/widget-card.mjs.map +1 -0
  1649. package/dist/wizard-dialog.d.mts +68 -0
  1650. package/dist/wizard-dialog.d.mts.map +1 -0
  1651. package/dist/wizard-dialog.mjs +108 -0
  1652. package/dist/wizard-dialog.mjs.map +1 -0
  1653. package/dist/work-item-card.d.mts +38 -0
  1654. package/dist/work-item-card.d.mts.map +1 -0
  1655. package/dist/work-item-card.mjs +231 -0
  1656. package/dist/work-item-card.mjs.map +1 -0
  1657. package/dist/worker-profile.d.mts +244 -0
  1658. package/dist/worker-profile.d.mts.map +1 -0
  1659. package/dist/worker-profile.mjs +621 -0
  1660. package/dist/worker-profile.mjs.map +1 -0
  1661. package/dist/zoom-tools.d.mts +29 -0
  1662. package/dist/zoom-tools.d.mts.map +1 -0
  1663. package/dist/zoom-tools.mjs +94 -0
  1664. package/dist/zoom-tools.mjs.map +1 -0
  1665. package/package.json +1792 -0
  1666. package/skills/core-ui-charts/SKILL.md +243 -0
  1667. package/skills/core-ui-chat/SKILL.md +260 -0
  1668. package/skills/core-ui-components/SKILL.md +299 -0
  1669. package/skills/core-ui-composition/SKILL.md +186 -0
  1670. package/skills/core-ui-data-table/SKILL.md +243 -0
  1671. package/skills/core-ui-forms/SKILL.md +289 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-wc3-workspace.mjs","names":[],"sources":["../../src/pages/core-wc3-workspace.tsx"],"sourcesContent":["import {\n\tBlocks,\n\tBookmark,\n\tBox,\n\tBoxes,\n\tBell,\n\tClipboardList,\n\tCompass,\n\tDatabase,\n\tDna,\n\tFolder,\n\tFolderTree,\n\tHeartPulse,\n\tHouse,\n\tLayers,\n\tLayoutGrid,\n\tLink2,\n\tNetwork,\n\tPackage,\n\tPlay,\n\tPuzzle,\n\tRadar,\n\tRadio,\n\tSettings,\n\tShare2,\n\tStore,\n\tShieldCheck,\n\tSlidersHorizontal,\n\tTable2,\n\tTrendingUp,\n\tWorkflow,\n\tZap,\n} from \"lucide-react\";\nimport {useCallback, useState} from \"react\";\n\nimport {ActivitySheet} from \"../activity-sheet\";\nimport {Button} from \"../button\";\nimport {CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList} from \"../command\";\nimport {Empty} from \"../empty\";\nimport {FileSystem, type FileSystemNode} from \"../file-system\";\nimport {CoreAppSidebar, type SidebarNavGroup} from \"../navigation/core-app-sidebar\";\nimport {CoreAppTopBar} from \"../navigation/core-app-top-bar\";\nimport {NotificationCenter, type ChangeEntry, type NotificationItem} from \"../notification-center\";\nimport {PageContentHeader} from \"../page-content-header\";\nimport {SideMenu, type SideMenuGroup} from \"../side-menu\";\nimport {Toaster} from \"../sonner\";\nimport {NEUTRAL_TONE, TONE_BY_ID} from \"../tones\";\nimport {usePersistentState} from \"../use-persistent-state\";\nimport type {ViewTabItem} from \"../view-tab-bar\";\nimport {\n\tAppDetailsDialog,\n\tAPPS,\n\tAppWorkspace,\n\tHomeSurface,\n\tinstalledAppsGroup,\n\tAPP_LIFECYCLE,\n\tlifecycleAppGroups,\n\tMarketplaceSurface,\n\tstageFromGroupId,\n\tStageSurface,\n\tuseAppInstallation,\n\ttype AppLifecycleStage,\n\ttype MarketApp,\n} from \"./app-marketplace-shared\";\nimport {ANALYSIS_VIEWS, seedAnalysisSession} from \"./wc3-analysis-views\";\nimport {WC3_ORGANIZATIONS} from \"./wc3-fs-data\";\nimport {Wc3FsLocationField, wc3FsDefaultLocation} from \"./wc3-fs-location-field\";\nimport {createActionTypeNamed, createObjectTypeNamed, fsRefFor} from \"./wc3-fs-records\";\nimport {useWc3FsNodes, wc3Fs, wc3FsCreate, wc3FsRootByName} from \"./wc3-fs-store\";\nimport {WC3_ALL_FILE_TYPES, isWc3Ref, type Wc3FsRef} from \"./wc3-fs-types\";\nimport {HomeView, type Wc3HomeCard} from \"./wc3-home-view\";\nimport {WC3_NODE_KINDS, WC3_PIPELINES} from \"./wc3-lineage-data\";\nimport {LINEAGE_VIEWS, type Wc3LineageNavTarget} from \"./wc3-lineage-views\";\nimport {\n\tWC3_ACTION_TYPES,\n\tWC3_INTERFACES,\n\tWC3_LINK_TYPES,\n\tWC3_OBJECT_TYPES,\n\tWC3_SHARED_PROPERTIES,\n\tWC3_TYPE_GROUPS,\n} from \"./wc3-ontology-data\";\nimport {ONTOLOGY_VIEWS, runOntologyLint} from \"./wc3-ontology-views\";\nimport {createPipeline, WC3_PIPELINE_ICONS} from \"./wc3-pipeline-shared\";\nimport {PIPELINE_VIEWS, seedPipelines} from \"./wc3-pipeline-views\";\nimport {WC3_PROCESSES} from \"./wc3-process-data\";\nimport {createProcess} from \"./wc3-process-shared\";\nimport {PROCESS_VIEWS, seedProcesses} from \"./wc3-process-views\";\nimport {WC3_PRODUCTS} from \"./wc3-product-data\";\nimport {PRODUCT_VIEWS} from \"./wc3-product-views\";\n\n// WC3 Workspace — the app-shell skeleton for the \"unified workspace\" ontology-manager prototype.\n// Every perspective in the prototype's rail is a sidebar item. Each perspective is a Default view\n// (PageContentHeader tabs + a Settings action) and a Settings sub-surface (SideMenu + content), the\n// same two-mode shape as Workforce / Safety Manager / Clinic. Every tab body is a placeholder.\n\n// ─── Perspectives ────────────────────────────────────────────────────────────\n\ntype Perspective = {\n\tid: string;\n\tlabel: string;\n\ticon: React.ComponentType<{className?: string}>;\n\ttabs: ViewTabItem<string>[];\n\t/** Placeholder copy per tab id — what will eventually live on that surface. */\n\tplaceholders: Record<string, string>;\n};\n\nconst PERSPECTIVES: Perspective[] = [\n\t{\n\t\tid: \"home\",\n\t\tlabel: \"Home\",\n\t\ticon: House,\n\t\t// One tab, and no placeholder: the landing cards ARE the content, and they are derived from\n\t\t// the perspectives below rather than listed again here.\n\t\ttabs: [{id: \"overview\", label: \"Overview\", icon: LayoutGrid}],\n\t\tplaceholders: {},\n\t},\n\t{\n\t\tid: \"analysis\",\n\t\tlabel: \"Analysis\",\n\t\ticon: TrendingUp,\n\t\ttabs: [\n\t\t\t{id: \"object\", label: \"Object analysis\", icon: Boxes},\n\t\t\t{id: \"data\", label: \"Data analysis\", icon: Table2},\n\t\t\t{id: \"saved\", label: \"Saved analyses\", icon: Bookmark},\n\t\t],\n\t\tplaceholders: {\n\t\t\tobject: \"The stage path over an ontology object set — source, filter, traverse, derive — will appear here.\",\n\t\t\tdata: \"The stage path over a governed dataset, joined and aggregated, will appear here.\",\n\t\t\tsaved: \"Saved analyses with their spec, route, and lineage will appear here.\",\n\t\t},\n\t},\n\t{\n\t\tid: \"processes\",\n\t\tlabel: \"Processes\",\n\t\ticon: Workflow,\n\t\t// The perspective's top level is the LIST of processes. `canvas`, `instances`, `bottlenecks` and\n\t\t// `editor` used to sit here as four placeholder tabs; in the prototype (PageProcesses, line 7195)\n\t\t// they are all facets of ONE process — its graph, its token panel, its SLA/aging panel and its\n\t\t// editor panel — so they moved into wc3-process-detail.tsx behind a SideMenu. Same correction the\n\t\t// Products perspective already took when six tabs became PRODUCT_TABS.\n\t\t//\n\t\t// lineageNav.process() in wc3-lineage-shared.tsx:39 is retargeted to \"processes\" in the SAME\n\t\t// change: the guard below silently DECLINES an unknown tab id, so a stale \"canvas\" would be an\n\t\t// invisible dead link rather than an error.\n\t\t//\n\t\t// The badge reads the frozen fixture, so a process created in-session does not bump the 2 — the\n\t\t// same staleness the Ontology and Pipelines tabs already ship.\n\t\ttabs: [{id: \"processes\", label: \"Processes\", icon: Workflow, badge: WC3_PROCESSES.length}],\n\t\tplaceholders: {\n\t\t\tprocesses: \"The process catalogue — state machines bound to ontology object types — will appear here.\",\n\t\t},\n\t},\n\t{\n\t\tid: \"pipelines\",\n\t\tlabel: \"Pipelines\",\n\t\ticon: Share2,\n\t\t// Tab ids ARE the PIPELINE_VIEWS keys. `builder` is gone on purpose: the user-facing entry\n\t\t// point is the pipeline list, and the typed-port canvas is that list's drill-in, not a tab.\n\t\t// lineageNav.pipeline() in wc3-lineage-shared.tsx:34 was retargeted to \"pipelines\" in the\n\t\t// same change — the shell's guard below would otherwise silently decline the tab switch.\n\t\t// The badges read the frozen fixture, so a pipeline created in-session does not bump the 3.\n\t\t// That staleness is the existing house behaviour (the ontology tabs badge WC3_OBJECT_TYPES\n\t\t// while its wizard creates types in-session); Runs carries no badge at all, because a\n\t\t// hardcoded 0 would still read 0 after a run.\n\t\ttabs: [\n\t\t\t{id: \"pipelines\", label: \"Pipelines\", icon: Share2, badge: WC3_PIPELINES.length},\n\t\t\t{id: \"palette\", label: \"Palette\", icon: Blocks, badge: Object.keys(WC3_NODE_KINDS).length},\n\t\t\t{id: \"runs\", label: \"Runs\", icon: Play},\n\t\t],\n\t\tplaceholders: {\n\t\t\tpipelines: \"The pipeline catalogue will appear here.\",\n\t\t\tpalette: \"Sources, transforms, and sinks grouped by discipline will appear here.\",\n\t\t\truns: \"Pipeline runs with per-node row counts will appear here.\",\n\t\t},\n\t},\n\t{\n\t\tid: \"products\",\n\t\tlabel: \"Products\",\n\t\ticon: Package,\n\t\t// The perspective's top level is the CATALOGUE of first-party products. `outputs`,\n\t\t// `permissions`, `evidence`, `dependencies`, `readiness` and `installs` used to sit here as\n\t\t// tabs; in the prototype (PageProducts, line 11159) they are PRODUCT_TABS — the sections of a\n\t\t// SINGLE product's detail page — so they moved into wc3-product-detail.tsx behind a SideMenu.\n\t\ttabs: [{id: \"catalogue\", label: \"Catalogue\", icon: Package, badge: WC3_PRODUCTS.length}],\n\t\tplaceholders: {\n\t\t\tcatalogue: \"The 17-product first-party Core catalogue will appear here.\",\n\t\t},\n\t},\n\t{\n\t\tid: \"lineage\",\n\t\tlabel: \"Lineage\",\n\t\ticon: Network,\n\t\ttabs: [\n\t\t\t{id: \"data\", label: \"Data lineage\", icon: Compass},\n\t\t\t{id: \"workflow\", label: \"Workflow lineage\", icon: Zap},\n\t\t\t{id: \"impact\", label: \"Impact (what-if)\", icon: Radar},\n\t\t],\n\t\tplaceholders: {\n\t\t\tdata: \"The datasource → pipeline → object type → projection DAG will appear here.\",\n\t\t\tworkflow: \"An action run, the rules it fired, and its side effects will appear here.\",\n\t\t\timpact: \"The blast radius of a change across pipelines, processes, and actions will appear here.\",\n\t\t},\n\t},\n\t{\n\t\tid: \"ontology\",\n\t\tlabel: \"Ontology\",\n\t\ticon: Layers,\n\t\t// Counts derive from the fixture, the way the prototype's rail derives them from its store.\n\t\ttabs: [\n\t\t\t{id: \"object-types\", label: \"Object types\", icon: Box, badge: WC3_OBJECT_TYPES.length},\n\t\t\t{id: \"link-types\", label: \"Link types\", icon: Link2, badge: WC3_LINK_TYPES.length},\n\t\t\t{id: \"action-types\", label: \"Action types\", icon: Zap, badge: WC3_ACTION_TYPES.length},\n\t\t\t{id: \"interfaces\", label: \"Interfaces\", icon: Dna, badge: WC3_INTERFACES.length},\n\t\t\t{id: \"shared-properties\", label: \"Shared properties\", icon: Puzzle, badge: WC3_SHARED_PROPERTIES.length},\n\t\t\t{id: \"groups\", label: \"Groups\", icon: Folder, badge: WC3_TYPE_GROUPS.length},\n\t\t\t{id: \"graph\", label: \"Graph explorer\", icon: Network, badge: WC3_LINK_TYPES.length},\n\t\t\t{id: \"health\", label: \"Health\", icon: HeartPulse, badge: runOntologyLint().length},\n\t\t],\n\t\tplaceholders: {\n\t\t\t\"object-types\": \"The object types in the shared ontology will appear here.\",\n\t\t\t\"link-types\": \"How object types relate to one another will appear here.\",\n\t\t\t\"action-types\": \"The actions that can be run against objects will appear here.\",\n\t\t\tinterfaces: \"Shared interfaces and their implementors will appear here.\",\n\t\t\t\"shared-properties\": \"Properties reused across object types will appear here.\",\n\t\t\tgroups: \"Type groups will appear here.\",\n\t\t\tgraph: \"The graph explorer over the ontology will appear here.\",\n\t\t\thealth: \"Ontology lint findings will appear here.\",\n\t\t},\n\t},\n];\n\nconst WORKSPACE_GROUPS: SidebarNavGroup[] = [\n\t// The prototype's rail is flat — one ungrouped list, in rail order.\n\t{items: PERSPECTIVES.map((p) => ({id: p.id, label: p.label, icon: p.icon}))},\n];\n\n// Fixtures for the notification centre. The changeset mirrors the prototype's change log: every\n// ontology mutation lands there uncommitted until applied or discarded as one set.\nconst SEED_NOTIFICATIONS: NotificationItem[] = [\n\t{\n\t\tid: \"n1\",\n\t\ttitle: \"Pipeline run finished\",\n\t\tbody: \"BIM ingest upserted 2 new elements\",\n\t\ttime: \"2m ago\",\n\t\tunread: true,\n\t\tkind: \"Pipelines\",\n\t\ttone: \"success\",\n\t},\n\t{\n\t\tid: \"n2\",\n\t\ttitle: \"Permit PT-706 suspended\",\n\t\tbody: \"Zone still shows 10 workers on site\",\n\t\ttime: \"18m ago\",\n\t\tunread: true,\n\t\tkind: \"Safety\",\n\t\ttone: \"danger\",\n\t},\n\t{\n\t\tid: \"n3\",\n\t\ttitle: \"Ontology lint: 1 error\",\n\t\tbody: \"Direct Schema Translation on Lint Demo: Badge Events Raw Table\",\n\t\ttime: \"1h ago\",\n\t\tunread: true,\n\t\tkind: \"Health\",\n\t\ttone: \"warning\",\n\t},\n\t{\n\t\tid: \"n4\",\n\t\ttitle: \"Product installed\",\n\t\tbody: \"labour v2026-06-02.v1 added 3 object types\",\n\t\ttime: \"3h ago\",\n\t\tkind: \"Products\",\n\t},\n];\n\nconst SEED_CHANGES: ChangeEntry[] = [\n\t{\n\t\tid: \"c1\",\n\t\tkind: \"update-object-type\",\n\t\tsummary: \"Renamed “Worker” visibility to Prominent\",\n\t\ttime: \"just now\",\n\t\tundoable: true,\n\t},\n\t{id: \"c2\", kind: \"create-link-type\", summary: \"Created link type “Sites / Project”\", time: \"2m ago\", undoable: true},\n\t{id: \"c3\", kind: \"add-property\", summary: \"Added property “contractor” to Worker\", time: \"6m ago\", undoable: false},\n\t{\n\t\tid: \"c4\",\n\t\tkind: \"create-object-type\",\n\t\tsummary: \"Created object type “Site Inspection”\",\n\t\ttime: \"20m ago\",\n\t\tcommitted: true,\n\t},\n];\n\n// Projects for the top-bar switcher (sample fixtures). The selection persists across reloads.\nconst PROJECTS = [\"Falcon Heights Medical Tower\", \"Uptown Tower\", \"Marina Heights\", \"NEOM Site 4\"];\n\n// The same switcher, one rung up: which company you are working inside rather than which of its\n// sites. Defined beside the file system it roots (wc3-fs-data.ts), because picking an org in the bar\n// picks the tree under it — two separate lists would mean a selectable org with no files.\nconst ORGANIZATIONS = WC3_ORGANIZATIONS;\n\n// Files is pinned directly under the nav search, ABOVE Home, with a rule beneath it — the file system\n// spans every app in the rail below, so it reads as its own section rather than the first item of the\n// app list. That is CoreAppSidebar's `pinnedTop`; a group could not express it, since a group cannot\n// sit above Home and cannot draw a rule under itself while V3 has group dividers switched off.\nconst FILES_ITEM_ID = \"files\";\n\n// ─── Settings sub-surface ────────────────────────────────────────────────────\n\nconst SETTINGS_GROUPS: SideMenuGroup[] = [\n\t{\n\t\tlabel: \"System\",\n\t\titems: [\n\t\t\t{id: \"general\", label: \"General\", icon: SlidersHorizontal},\n\t\t\t{id: \"permissions\", label: \"Permissions & lens\", icon: ShieldCheck},\n\t\t\t{id: \"telemetry\", label: \"Telemetry\", icon: Radio},\n\t\t\t{id: \"datasources\", label: \"Datasources\", icon: Database},\n\t\t],\n\t},\n\t{\n\t\tlabel: \"Ontology\",\n\t\titems: [\n\t\t\t{id: \"object-types\", label: \"Object types\", icon: Box},\n\t\t\t{id: \"link-types\", label: \"Link types\", icon: Link2},\n\t\t\t{id: \"action-types\", label: \"Action types\", icon: Zap},\n\t\t\t{id: \"interfaces\", label: \"Interfaces\", icon: Dna},\n\t\t\t{id: \"shared-properties\", label: \"Shared properties\", icon: Puzzle},\n\t\t\t{id: \"type-groups\", label: \"Type groups\", icon: Folder},\n\t\t],\n\t},\n];\n\nconst SETTINGS_ITEMS = SETTINGS_GROUPS.flatMap((group) => group.items);\n\nconst SETTING_PLACEHOLDER: Record<string, string> = {\n\tgeneral: \"General settings for this perspective — what it shows and how it derives from the store.\",\n\tpermissions: \"Which groups see this perspective, and which actions each persona lens may run.\",\n\ttelemetry: \"Configure the live telemetry feed and how often derived counts refresh.\",\n\tdatasources: \"The datasources feeding the object types this perspective reads.\",\n\t\"object-types\": \"Define the object types in the shared ontology.\",\n\t\"link-types\": \"Define how object types relate to one another.\",\n\t\"action-types\": \"Configure the actions that can be run against objects.\",\n\tinterfaces: \"Manage shared interfaces object types can implement.\",\n\t\"shared-properties\": \"Manage properties reused across object types.\",\n\t\"type-groups\": \"Group related types for navigation and permissions.\",\n};\n\nconst settingLabel = (id: string) => SETTINGS_ITEMS.find((item) => item.id === id)?.label ?? \"Settings\";\n\n// ─── Merged (marketplace) nav ────────────────────────────────────────────────\n\n// In merged mode CoreAppSidebar pins its own Home above every group, so the workspace's own \"home\"\n// perspective would put a second \"Home\" in the same rail. Drop it there and keep the rest in order.\n//\n// The remaining perspectives ARE the Studio section of Connect — Analysis, Processes, Pipelines,\n// Products, Lineage, Ontology are what an admin builds and configures — so the group carries the\n// \"Studio\" label rather than a second, separate settings list sitting beside them.\n// The Marketplace as a Studio item rather than CoreAppSidebar's pinned entry (V3). Its own id so the\n// rail can highlight it, and so it cannot be mistaken for a perspective or an installed app.\nconst MARKETPLACE_ITEM_ID = \"studio-marketplace\";\n\n// Studio is a group on exactly the same footing as the lifecycle stages: an icon that stands for the\n// whole section in the collapsed rail (its perspectives moving into the flyout behind it), a name that\n// opens its own page, and a chevron that folds it. `dividerBefore` keeps the break between the app\n// stages and Studio in the rail — without it the two runs of icons would read as one list.\nconst STUDIO_GROUP_ID = \"studio\";\n\n/**\n * Studio's tints come from the shared palette by id, not by position: these perspectives ARE the apps\n * that own the file system's record kinds, so each takes the hue its records already wear. Pipelines\n * is blue because a pipeline file is blue; Processes violet, Ontology emerald, Analysis cyan, Products\n * rose, Lineage teal (it traces datasets, which the file system tints teal). The colour a reader\n * learns in Files therefore means the same thing in the rail.\n *\n * These are far enough apart on the wheel that no two adjacent rows read as the same colour, which is\n * the same guarantee `toneFor` gives positionally — here it falls out of the meanings instead.\n */\nconst STUDIO_TONES: Record<string, string> = {\n\tpipelines: TONE_BY_ID.blue.chip,\n\tprocesses: TONE_BY_ID.violet.chip,\n\tontology: TONE_BY_ID.emerald.chip,\n\tanalysis: TONE_BY_ID.cyan.chip,\n\tproducts: TONE_BY_ID.rose.chip,\n\tlineage: TONE_BY_ID.teal.chip,\n};\n\n/** Studio's items. Tinted only in the V3 shape, to match its tinted app stages; V2 stays plain. */\nconst studioItems = (lifecycle: boolean) =>\n\tPERSPECTIVES.filter((p) => p.id !== \"home\").map((p) => ({\n\t\tid: p.id,\n\t\tlabel: p.label,\n\t\ticon: p.icon,\n\t\t...(lifecycle ? {tone: STUDIO_TONES[p.id] ?? NEUTRAL_TONE} : {}),\n\t}));\n\n/**\n * Studio's chrome depends on the release. V2 keeps it a plain heading over a list — the shape that\n * release shipped with. V3 puts it on the same footing as its lifecycle stages: an icon, a clickable\n * name, and a chevron. Gated rather than shared, so refining V3 cannot quietly restyle V2.\n */\nconst mergedWorkspaceGroups = (lifecycle: boolean): SidebarNavGroup[] => [\n\t{\n\t\tlabel: \"Studio\",\n\t\titems: studioItems(lifecycle),\n\t\t...(lifecycle ? {id: STUDIO_GROUP_ID, icon: Blocks, collapsible: true, dividerBefore: true} : {}),\n\t},\n];\n\n// ─── Template ────────────────────────────────────────────────────────────────\n\nexport interface WC3WorkspaceProps {\n\t/**\n\t * Merge the marketplace into this workspace — the Core Connect V2 shape. The sidebar becomes one\n\t * rail for the whole product: installed apps on top, a divider, the admin perspectives, a divider,\n\t * then Marketplace pinned at the bottom. Installing an app from the store adds it straight to the top\n\t * section, so there is no second portal to switch to. Defaults to `false`, which is the V1 shape:\n\t * perspectives only, no apps and no store (AppInstaller is the separate end-user portal).\n\t */\n\twithMarketplace?: boolean;\n\t/** Greeting shown on the merged Home surface. Only read when `withMarketplace` is set. */\n\tuserName?: string;\n\t/**\n\t * How installed apps are grouped in the sidebar. `\"flat\"` (default) puts them all under one\n\t * \"Your apps\" heading — the V2 shape. `\"lifecycle\"` drops that heading for one labelled group per\n\t * project stage (Design / Plan / Capture / Pay), each appearing only once it has an installed app —\n\t * the V3 shape. Only read when `withMarketplace` is set.\n\t */\n\tappGrouping?: \"flat\" | \"lifecycle\";\n\t/**\n\t * Where the Marketplace entry sits. `\"pinned\"` (default) uses CoreAppSidebar's pinned entry below\n\t * every group — the V2 shape. `\"studio\"` makes it the last item of the Studio group instead, so\n\t * browsing apps reads as part of the studio rather than a fixture of the shell — the V3 shape.\n\t * Only read when `withMarketplace` is set.\n\t */\n\tmarketplacePlacement?: \"pinned\" | \"studio\";\n\t/**\n\t * App ids already installed when the workspace opens, so it starts as a kitted-out project rather\n\t * than an empty shell. They behave like any other installed app — uninstall and reinstall them from\n\t * the Marketplace — but carry no green \"new\" dot, which marks something the user just added. Defaults\n\t * to none. Only read when `withMarketplace` is set.\n\t */\n\tpreinstalledApps?: readonly string[];\n\t/**\n\t * What the top-bar switcher picks. `\"project\"` (default) lists the projects a user moves between —\n\t * the V1/V2 shape. `\"organization\"` points the same control at the tenants above them, for a\n\t * release where the workspace is scoped by company and projects are chosen further in — the V3\n\t * shape. Only the switcher changes: the surfaces below it are identical either way.\n\t */\n\tswitcherScope?: \"project\" | \"organization\";\n\t/**\n\t * Add the file system: a Files entry at the head of the rail, and a surface that browses every\n\t * record in the organization by folder — a pipeline, a process, an object type — and opens each one\n\t * in the app that owns it. Off by default; the V3 shape turns it on. The tree is a reference layer\n\t * over the records the other perspectives already render, so nothing is duplicated by switching it\n\t * on. Only read when `withMarketplace` is set.\n\t */\n\tshowFiles?: boolean;\n}\n\n/**\n * @deprecated Preview/demo prototype — renders built-in sample data and mock handlers. Not a\n * supported production import: compose your page from the widgets this template uses, wired to your\n * own data (see the CoreWC3Workspace template docs in Storybook). Slated for removal from the public API in a\n * future major.\n */\nexport function WC3Workspace({\n\twithMarketplace = false,\n\tuserName = \"Abdullah\",\n\tappGrouping = \"flat\",\n\tmarketplacePlacement = \"pinned\",\n\tpreinstalledApps,\n\tswitcherScope = \"project\",\n\tshowFiles = false,\n}: WC3WorkspaceProps = {}) {\n\tconst [mode, setMode] = useState<\"default\" | \"settings\">(\"default\");\n\t// Merged mode only. \"workspace\" is the admin surface this template has always rendered; the rest are\n\t// the marketplace halves folded in beside it. In V1 mode `surface` never leaves \"workspace\".\n\t// Merged mode lands on Home, the way the standalone installer does.\n\tconst [surface, setSurface] = useState<\n\t\t\"workspace\" | \"home\" | \"marketplace\" | \"app\" | \"stage\" | \"studio\" | \"files\" | \"notifications\"\n\t>(withMarketplace ? \"home\" : \"workspace\");\n\tconst [activeAppId, setActiveAppId] = useState<string | null>(null);\n\t// The lifecycle stage whose page is open, set by clicking a group NAME in the sidebar.\n\tconst [activeStage, setActiveStage] = useState<AppLifecycleStage | null>(null);\n\t// The Search row opens a palette rather than filtering the nav in place. A SAMPLE: it searches what\n\t// the prototype already holds — the installed apps and the Studio perspectives — so the gesture and\n\t// the shape are real while the search itself is built properly in its own task.\n\tconst [searchOpen, setSearchOpen] = useState(false);\n\t// The Marketplace's own tab, mirrored up so the breadcrumb reaches it like every other surface's.\n\tconst [marketplaceTab, setMarketplaceTab] = useState(\"App Store\");\n\t// Persisted so a reload keeps the same perspective, tab, and selected project.\n\tconst [perspectiveId, setPerspectiveId] = usePersistentState<string>(\"wc3.workspace.perspective\", PERSPECTIVES[0].id);\n\tconst [tabByPerspective, setTabByPerspective] = usePersistentState<Record<string, string>>(\"wc3.workspace.tabs\", {});\n\tconst [project, setProject] = usePersistentState<string>(\"wc3.project\", PROJECTS[0]);\n\tconst [organization, setOrganization] = usePersistentState<string>(\"wc3.organization\", ORGANIZATIONS[0]);\n\tconst byOrg = switcherScope === \"organization\";\n\t// The file system is rooted at the SELECTED organization, so switching org in the top bar swaps the\n\t// whole tree. An org with no tree simply has no Files entry rather than an empty surface.\n\t// The LIVE nodes. The widget owns no data, so the store holds them and this subscribes.\n\tconst fsNodes = useWc3FsNodes();\n\tconst fsRoot = wc3FsRootByName(byOrg ? organization : ORGANIZATIONS[0]);\n\tconst filesEnabled = withMarketplace && showFiles && fsRoot !== undefined;\n\tconst [fsFolderId, setFsFolderId] = useState<string | null>(null);\n\tconst [fsProjectId, setFsProjectId] = useState<string | null>(null);\n\tconst selectOrganization = useCallback(\n\t\t(next: string) => {\n\t\t\tsetOrganization(next);\n\t\t\t// Both point into the previous organization's tree, so neither can survive the switch.\n\t\t\tsetFsFolderId(null);\n\t\t\tsetFsProjectId(null);\n\t\t},\n\t\t[setOrganization],\n\t);\n\tconst fsFilterFolder = fsFolderId ? wc3Fs.node(fsFolderId) : undefined;\n\tconst fsOpenProject = fsProjectId ? wc3Fs.node(fsProjectId) : undefined;\n\tconst [activeSetting, setActiveSetting] = useState<string>(\"general\");\n\t// A tab that drills into a record reports its title here so the top-bar breadcrumb can show it.\n\tconst [detailLabel, setDetailLabel] = useState<string | null>(null);\n\t// One panel, two entry points: the bell and the changeset button each open it on their own stream.\n\tconst [centre, setCentre] = useState<\"notifications\" | \"changes\" | null>(null);\n\tconst [notifications, setNotifications] = useState<NotificationItem[]>(SEED_NOTIFICATIONS);\n\tconst [changes, setChanges] = useState<ChangeEntry[]>(SEED_CHANGES);\n\t// The LIVE pipeline array. WC3_PIPELINES seeds it once and is never read again by the Pipelines\n\t// surfaces. It lives HERE, not inside a view, because the perspective's three tabs are three\n\t// separate registry components: switching tabs unmounts the one you were on, so a run started on\n\t// the canvas would never reach the Runs tab and a pipeline created in the list would never reach\n\t// the Palette's \"used in\". Same shape as `notifications`/`changes` above — seeded from a module\n\t// const, mutated in-session, gone on reload.\n\tconst [pipelines, setPipelines] = useState(seedPipelines);\n\t// The LIVE process array. WC3_PROCESSES seeds it once and is never read again by the Processes\n\t// surfaces. It lives HERE for the same reason `pipelines` does — and because a process edited on\n\t// its detail page must survive Back to the list, which is a sibling render of the same view. Same\n\t// shape as `notifications`/`changes`: seeded from a module const, mutated in-session, gone on reload.\n\tconst [processes, setProcesses] = useState(seedProcesses);\n\t// The LIVE analysis session: one spec + its result per builder mode, plus the saved analyses and\n\t// materialisations. It lives HERE for the same reason `pipelines` and `processes` do — the\n\t// perspective's three tabs are three separate registry components, so a spec built on Object\n\t// analysis would be destroyed by a trip to Saved analyses, and an analysis saved from the builder\n\t// would never reach the Saved tab. Every mutation is a pure helper in wc3-analysis-shared.tsx that\n\t// returns a NEW session. Seeded from a module const, mutated in-session, gone on reload.\n\tconst [analysis, setAnalysis] = useState(seedAnalysisSession);\n\t// The LIVE ontology arrays. Seeded from the fixtures once; the Ontology tabs read and write these\n\t// rather than their own copies, so a type created from the file system lands where the app lists it.\n\tconst [objectTypes, setObjectTypes] = useState(() => [...WC3_OBJECT_TYPES]);\n\tconst [actionTypes, setActionTypes] = useState(() => [...WC3_ACTION_TYPES]);\n\t// Mobile navigation drawer — the top-bar hamburger opens the sidebar as a left sheet.\n\tconst [navOpen, setNavOpen] = useState(false);\n\n\t// The marketplace half. The hook is always called (hooks cannot be conditional) but nothing it owns\n\t// is rendered unless `withMarketplace` is set, so V1 behaviour is untouched.\n\tconst install = useAppInstallation({\n\t\tinitialInstalled: withMarketplace ? preinstalledApps : undefined,\n\t\t// Uninstalling the app you are currently looking at drops you back on Home, the way the standalone\n\t\t// installer does — Home is always there to land on.\n\t\tonUninstalled: (app) => {\n\t\t\tif (activeAppId !== app.id) return;\n\t\t\tsetActiveAppId(null);\n\t\t\tsetSurface(\"home\");\n\t\t},\n\t});\n\tconst activeApp = APPS.find((a) => a.id === activeAppId) ?? null;\n\tconst openApp = (app: MarketApp) => {\n\t\tinstall.markOpened(app);\n\t\tsetActiveAppId(app.id);\n\t\tsetSurface(\"app\");\n\t};\n\n\tconst perspective = PERSPECTIVES.find((p) => p.id === perspectiveId) ?? PERSPECTIVES[0];\n\t// Resolve the item first and read the id back off it: the selection is persisted in localStorage,\n\t// so a tab id that no longer exists (Products used to carry six) must fall back to the first tab\n\t// for the tab BAR too, not just for the body.\n\tconst activeTabItem = perspective.tabs.find((t) => t.id === tabByPerspective[perspective.id]) ?? perspective.tabs[0];\n\tconst activeTab = activeTabItem.id;\n\tconst TabIcon = activeTabItem.icon;\n\tconst activeSettingLabel = settingLabel(activeSetting);\n\t// Ontology, Lineage, Pipelines, Processes, Products and Analysis each own a registry keyed by tab id. A tab\n\t// missing from its registry still falls through to the perspective's `placeholders` entry below, so wiring\n\t// one tab at a time is safe.\n\tconst OntologyView = perspective.id === \"ontology\" ? ONTOLOGY_VIEWS[activeTabItem.id] : undefined;\n\tconst LineageView = perspective.id === \"lineage\" ? LINEAGE_VIEWS[activeTabItem.id] : undefined;\n\tconst PipelineView = perspective.id === \"pipelines\" ? PIPELINE_VIEWS[activeTabItem.id] : undefined;\n\tconst ProcessView = perspective.id === \"processes\" ? PROCESS_VIEWS[activeTabItem.id] : undefined;\n\tconst ProductView = perspective.id === \"products\" ? PRODUCT_VIEWS[activeTabItem.id] : undefined;\n\tconst AnalysisView = perspective.id === \"analysis\" ? ANALYSIS_VIEWS[activeTabItem.id] : undefined;\n\tconst showHome = perspective.id === \"home\";\n\n\t// Every perspective except Home itself, in sidebar order. Derived, so adding a perspective adds\n\t// its card and removing one removes it — the landing page cannot advertise a dead surface.\n\tconst homeCards: Wc3HomeCard[] = PERSPECTIVES.filter((p) => p.id !== \"home\").map((p) => ({\n\t\tid: p.id,\n\t\tlabel: p.label,\n\t\ticon: p.icon,\n\t\ttabs: p.tabs.map((t) => ({id: t.id, label: t.label, badge: t.badge})),\n\t}));\n\n\t// A perspective's \"open →\" affordances jump to the perspective that owns the record — and, when the\n\t// target names one, to the RECORD. The id is handed to the arriving view as `openRecordId`, which it\n\t// consumes once and reports back as consumed: left set, it would re-open that record every time the\n\t// user navigated elsewhere within the same perspective.\n\tconst [openRecordId, setOpenRecordId] = useState<string | null>(null);\n\tconst [openedFromFs, setOpenedFromFs] = useState<FileSystemNode | null>(null);\n\tconst openWorkspaceTarget = useCallback(\n\t\t(target: Wc3LineageNavTarget) => {\n\t\t\tconst next = PERSPECTIVES.find((p) => p.id === target.perspectiveId);\n\t\t\tif (!next) return;\n\t\t\tsetPerspectiveId(next.id);\n\t\t\tif (target.tabId && next.tabs.some((t) => t.id === target.tabId))\n\t\t\t\tsetTabByPerspective({...tabByPerspective, [next.id]: target.tabId});\n\t\t\tsetOpenRecordId(target.recordId ?? null);\n\t\t\t// Cleared on every navigation; openFsFile re-sets it immediately after, so only an arrival that\n\t\t\t// really came from the tree carries a file location into the breadcrumb.\n\t\t\tsetOpenedFromFs(null);\n\t\t\t// Opening a perspective always lands on the workspace — in merged mode the jump can start from\n\t\t\t// the Studio overview or a stage page, and without this the perspective would change underneath\n\t\t\t// a surface that never gives way to it.\n\t\t\tsetSurface(\"workspace\");\n\t\t\tsetMode(\"default\");\n\t\t\tsetDetailLabel(null);\n\t\t},\n\t\t[tabByPerspective, setPerspectiveId, setTabByPerspective],\n\t);\n\tconst consumeOpenRecord = useCallback(() => setOpenRecordId(null), []);\n\n\t/**\n\t * Opening a file from the tree. A file with no `ref` — a spreadsheet, a write-up — has no app behind\n\t * it and stays put rather than navigating somewhere arbitrary.\n\t */\n\tconst openFsFile = useCallback(\n\t\t(node: FileSystemNode) => {\n\t\t\tif (!isWc3Ref(node.ref)) return;\n\t\t\topenWorkspaceTarget(node.ref);\n\t\t\tsetOpenedFromFs(node);\n\t\t},\n\t\t[openWorkspaceTarget],\n\t);\n\n\t/**\n\t * Create the record a new file names, and return the address to file it at.\n\t *\n\t * A \"Pipeline\" in the file system has to be a pipeline in the Pipelines perspective — a file naming\n\t * something that does not exist can only apologise when you click it. Types with no app behind them\n\t * (a dataset, a document) return nothing, and the file is filed without a ref.\n\t */\n\tconst createFsRecord = useCallback((fileType: string, name: string): Wc3FsRef | undefined => {\n\t\tswitch (fileType) {\n\t\t\tcase \"pipeline\": {\n\t\t\t\tconst created = createPipeline({name, icon: WC3_PIPELINE_ICONS[0] ?? \"pipeline\", desc: \"\"});\n\t\t\t\tsetPipelines((prev) => [...prev, created]);\n\t\t\t\treturn fsRefFor(fileType, created.id);\n\t\t\t}\n\t\t\tcase \"process\": {\n\t\t\t\tconst created = createProcess({name, icon: \"workflow\", objectTypeId: \"\", statusProp: \"\"});\n\t\t\t\tsetProcesses((prev) => [...prev, created]);\n\t\t\t\treturn fsRefFor(fileType, created.id);\n\t\t\t}\n\t\t\tcase \"object-type\": {\n\t\t\t\tconst created = createObjectTypeNamed(name);\n\t\t\t\tsetObjectTypes((prev) => [...prev, created]);\n\t\t\t\treturn fsRefFor(fileType, created.id);\n\t\t\t}\n\t\t\tcase \"action-type\": {\n\t\t\t\tconst created = createActionTypeNamed(name);\n\t\t\t\tsetActionTypes((prev) => [created, ...prev]);\n\t\t\t\treturn fsRefFor(fileType, created.id);\n\t\t\t}\n\t\t\tdefault:\n\t\t\t\treturn undefined;\n\t\t}\n\t}, []);\n\n\t// Where the NEXT record created in a Studio app gets filed. The shell holds it because the shell\n\t// renders the field and does the filing; the perspective in between only gives the control a place\n\t// to appear and says when something was made.\n\tconst [fsNewLocation, setFsNewLocation] = useState<string | undefined>(undefined);\n\tconst fsNewLocationId = fsNewLocation ?? (fsRoot ? wc3FsDefaultLocation(fsRoot.id) : undefined);\n\n\t/**\n\t * The \"where does this go?\" field every Studio create dialog leads with, and the filing that\n\t * follows. Without it a record made in an app had no address at all — it appeared in that app's\n\t * list and nowhere else, with an empty Location column beside it, which reads as a bug.\n\t */\n\tconst fsCreateLocationField =\n\t\tfilesEnabled && fsRoot && fsNewLocationId ? (\n\t\t\t<Wc3FsLocationField rootId={fsRoot.id} value={fsNewLocationId} onChange={setFsNewLocation} />\n\t\t) : undefined;\n\n\tconst fileNewRecord = useCallback(\n\t\t(fileType: string, perspectiveId: string, tabId: string) => (recordId: string, name: string) => {\n\t\t\tif (!fsNewLocationId) return;\n\t\t\twc3FsCreate({\n\t\t\t\tname,\n\t\t\t\tkind: \"file\",\n\t\t\t\tparentId: fsNewLocationId,\n\t\t\t\tfileType,\n\t\t\t\tref: {perspectiveId, tabId, recordId},\n\t\t\t});\n\t\t},\n\t\t[fsNewLocationId],\n\t);\n\n\t/** Show a record's folder in the file system — the return leg of the loop openFsFile starts. */\n\tconst showInFiles = useCallback((folderId: string | null) => {\n\t\tsetFsFolderId(folderId);\n\t\tsetFsProjectId(null);\n\t\tsetSurface(\"files\");\n\t\tsetMode(\"default\");\n\t}, []);\n\n\t/** \"Open in Pipelines\" — the perspective a file's ref points at, named for the panel's action. */\n\tconst fsOpenLabel = useCallback((node: FileSystemNode) => {\n\t\tif (!isWc3Ref(node.ref)) return undefined;\n\t\tconst ref = node.ref;\n\t\tconst perspective = PERSPECTIVES.find((p) => p.id === ref.perspectiveId);\n\t\treturn perspective ? `Open in ${perspective.label}` : undefined;\n\t}, []);\n\n\tconst workspaceBreadcrumb =\n\t\tmode === \"settings\"\n\t\t\t? `${perspective.label} / Settings / ${activeSettingLabel}`\n\t\t\t: `${perspective.label} / ${activeTabItem.label}${detailLabel ? ` / ${detailLabel}` : \"\"}`;\n\tconst breadcrumb = !withMarketplace\n\t\t? workspaceBreadcrumb\n\t\t: surface === \"files\"\n\t\t\t? [\n\t\t\t\t\t\"Connect\",\n\t\t\t\t\t\"Files\",\n\t\t\t\t\t...(fsOpenProject ? [fsOpenProject.name] : fsFilterFolder ? [fsFilterFolder.name] : []),\n\t\t\t\t].join(\" / \")\n\t\t\t: surface === \"notifications\"\n\t\t\t\t? \"Connect / Notifications\"\n\t\t\t\t: surface === \"studio\"\n\t\t\t\t\t? \"Connect / Studio\"\n\t\t\t\t\t: surface === \"stage\" && activeStage\n\t\t\t\t\t\t? `Connect / ${activeStage}`\n\t\t\t\t\t\t: surface === \"home\"\n\t\t\t\t\t\t\t? \"Connect / Home\"\n\t\t\t\t\t\t\t: surface === \"marketplace\"\n\t\t\t\t\t\t\t\t? `Connect / Marketplace / ${marketplaceTab}`\n\t\t\t\t\t\t\t\t: surface === \"app\" && activeApp\n\t\t\t\t\t\t\t\t\t? `Connect / ${activeApp.name}`\n\t\t\t\t\t\t\t\t\t: `Connect / ${workspaceBreadcrumb}`;\n\n\t// The merged rail, top to bottom: Home (pinned by CoreAppSidebar, no divider under it), the installed\n\t// apps, a divider, then Studio. CoreAppSidebar draws the separator between consecutive groups and\n\t// above the pinned marketplace entry, so every divider falls out of the group structure rather than\n\t// being placed by hand — expanded AND collapsed. Any group with nothing in it is dropped rather than\n\t// left as a divider with nothing under it, so the apps sections appear as they are installed into.\n\t//\n\t// V2 lists installed apps under one \"Your apps\" heading and pins Marketplace below every group.\n\t// V3 drops that heading for one group per lifecycle stage, and moves Marketplace into Studio.\n\tconst appGroups =\n\t\tappGrouping === \"lifecycle\"\n\t\t\t? lifecycleAppGroups(install.installedApps, install.newIds)\n\t\t\t: installedAppsGroup(install.installedApps, install.newIds);\n\n\t// The V3 cut of the merged shell: lifecycle app groups, Studio as a peer group with its own icon,\n\t// Home divided from the groups below it, and the nav search restored. Named once so every piece of\n\t// V3-only chrome reads as one decision rather than a scatter of `appGrouping === …` checks — and so\n\t// refining V3 cannot quietly restyle V2, which shares this component.\n\tconst lifecycleShape = withMarketplace && appGrouping === \"lifecycle\";\n\t// V3's breadcrumb: the GROUP the surface belongs to, then the surface, then its tab. The group is a\n\t// link to its own page. No product name in front — \"Connect\" named the app you are already\n\t// inside, so it carried nothing.\n\tconst openStudio = () => setSurface(\"studio\");\n\tconst openStage = (stage: AppLifecycleStage) => {\n\t\tsetActiveStage(stage);\n\t\tsetSurface(\"stage\");\n\t};\n\t// A record opened FROM the tree carries its file location in the top bar, not the perspective that\n\t// happens to render it — \"Files ▸ Data pipelines ▸ BIM intake\", the way an open file names its\n\t// folder in the reference. It holds only while the shell's drill-in segment is still that file:\n\t// back out of the detail page and the crumb reverts to the perspective's own trail.\n\tconst fsRecordCrumb: {label: string; onSelect?: () => void}[] | undefined =\n\t\tfilesEnabled && surface === \"workspace\" && openedFromFs && detailLabel === openedFromFs.name\n\t\t\t? [\n\t\t\t\t\t{label: \"Files\", onSelect: () => showInFiles(null)},\n\t\t\t\t\t...wc3Fs\n\t\t\t\t\t\t.ancestors(openedFromFs.id)\n\t\t\t\t\t\t.filter((n) => n.kind !== \"root\")\n\t\t\t\t\t\t.map((n) => ({label: n.name, onSelect: () => showInFiles(n.id)})),\n\t\t\t\t\t{label: openedFromFs.name},\n\t\t\t\t]\n\t\t\t: undefined;\n\n\tconst lifecycleBreadcrumb: {label: string; onSelect?: () => void}[] | undefined = !lifecycleShape\n\t\t? undefined\n\t\t: fsRecordCrumb\n\t\t\t? fsRecordCrumb\n\t\t\t: surface === \"notifications\"\n\t\t\t\t? [{label: \"Notifications\"}]\n\t\t\t\t: surface === \"home\"\n\t\t\t\t\t? [{label: \"Home\"}]\n\t\t\t\t\t: surface === \"studio\"\n\t\t\t\t\t\t? [{label: \"Studio\"}]\n\t\t\t\t\t\t: surface === \"stage\" && activeStage\n\t\t\t\t\t\t\t? [{label: activeStage}]\n\t\t\t\t\t\t\t: surface === \"files\"\n\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t// A second crumb, when there is one, is the open project or the folder narrowing\n\t\t\t\t\t\t\t\t\t\t// the list — clicking \"Files\" returns to the organization's whole listing.\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tlabel: \"Files\",\n\t\t\t\t\t\t\t\t\t\t\tonSelect:\n\t\t\t\t\t\t\t\t\t\t\t\tfsProjectId || fsFolderId\n\t\t\t\t\t\t\t\t\t\t\t\t\t? () => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetFsProjectId(null);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetFsFolderId(null);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t...(fsOpenProject\n\t\t\t\t\t\t\t\t\t\t\t? [{label: fsOpenProject.name}]\n\t\t\t\t\t\t\t\t\t\t\t: fsFilterFolder\n\t\t\t\t\t\t\t\t\t\t\t\t? [{label: fsFilterFolder.name}]\n\t\t\t\t\t\t\t\t\t\t\t\t: []),\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t: surface === \"marketplace\"\n\t\t\t\t\t\t\t\t\t? [{label: \"Studio\", onSelect: openStudio}, {label: \"Marketplace\"}, {label: marketplaceTab}]\n\t\t\t\t\t\t\t\t\t: surface === \"app\" && activeApp\n\t\t\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t\t\t...(APP_LIFECYCLE[activeApp.id]\n\t\t\t\t\t\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: APP_LIFECYCLE[activeApp.id],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonSelect: () => openStage(APP_LIFECYCLE[activeApp.id]),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t\t\t\t: []),\n\t\t\t\t\t\t\t\t\t\t\t\t{label: activeApp.name},\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t: mode === \"settings\"\n\t\t\t\t\t\t\t\t\t\t\t? [\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: \"Studio\", onSelect: openStudio},\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: perspective.label},\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: \"Settings\"},\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: activeSettingLabel},\n\t\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t\t: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: \"Studio\", onSelect: openStudio},\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: perspective.label},\n\t\t\t\t\t\t\t\t\t\t\t\t\t{label: activeTabItem.label},\n\t\t\t\t\t\t\t\t\t\t\t\t\t...(detailLabel ? [{label: detailLabel}] : []),\n\t\t\t\t\t\t\t\t\t\t\t\t];\n\n\tconst baseStudioGroups = mergedWorkspaceGroups(lifecycleShape);\n\tconst studioGroups: SidebarNavGroup[] =\n\t\tmarketplacePlacement === \"studio\"\n\t\t\t? baseStudioGroups.map((g, i) =>\n\t\t\t\t\ti === baseStudioGroups.length - 1\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t...g,\n\t\t\t\t\t\t\t\titems: [\n\t\t\t\t\t\t\t\t\t...g.items,\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: MARKETPLACE_ITEM_ID,\n\t\t\t\t\t\t\t\t\t\tlabel: \"Marketplace\",\n\t\t\t\t\t\t\t\t\t\ticon: Store,\n\t\t\t\t\t\t\t\t\t\t...(lifecycleShape ? {tone: NEUTRAL_TONE} : {}),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t: g,\n\t\t\t\t)\n\t\t\t: baseStudioGroups;\n\n\tconst sidebarGroups = withMarketplace ? [...appGroups, ...studioGroups] : WORKSPACE_GROUPS;\n\n\t// In merged mode an installed app, a perspective and (in V3) the Marketplace share one rail, so the\n\t// highlight follows whichever the user is actually on.\n\tconst activeItemId = !withMarketplace\n\t\t? perspective.id\n\t\t: surface === \"files\"\n\t\t\t? // Files is the pinned entry, which carries its own mark and suppresses every nav-row\n\t\t\t\t// highlight; falling through to the perspective id would ALSO light a Studio row.\n\t\t\t\tundefined\n\t\t\t: surface === \"app\" && activeAppId\n\t\t\t\t? `app-${activeAppId}`\n\t\t\t\t: surface === \"marketplace\" && marketplacePlacement === \"studio\"\n\t\t\t\t\t? MARKETPLACE_ITEM_ID\n\t\t\t\t\t: perspective.id;\n\n\treturn (\n\t\t<div className=\"wwc:flex wwc:h-full wwc:min-h-0 wwc:bg-background wwc:text-foreground\">\n\t\t\t<CoreAppSidebar\n\t\t\t\tviewLevel=\"org\"\n\t\t\t\torgGroups={sidebarGroups}\n\t\t\t\tactiveItemId={activeItemId}\n\t\t\t\t// V3's pinned block is Search / Files / Home / Notifications — four peer rows above the rule.\n\t\t\t\t// Search is a row that hands off to a search surface, not an inline filter. V2 keeps neither.\n\t\t\t\tshowSearch={lifecycleShape}\n\t\t\t\tonSearch={() => setSearchOpen(true)}\n\t\t\t\t// One prop binds ⌘J / Ctrl+J and puts the hint on the row, so the shortcut is discoverable\n\t\t\t\t// instead of folklore.\n\t\t\t\tsearchShortcut={lifecycleShape ? \"j\" : undefined}\n\t\t\t\tshowNotifications={lifecycleShape}\n\t\t\t\t// The workspace's own notification state drives the panel — no widget-side fixture involved.\n\t\t\t\t// The count is the real unread tally, choosing one opens the full ActivitySheet, and\n\t\t\t\t// \"View all\" opens the same sheet the top bar's bell used to, so removing that bell cost\n\t\t\t\t// no surface.\n\t\t\t\tnotificationsActive={lifecycleShape && surface === \"notifications\"}\n\t\t\t\tnotifications={lifecycleShape ? notifications : undefined}\n\t\t\t\tunreadNotifications={lifecycleShape ? notifications.filter((n) => n.unread).length : 0}\n\t\t\t\tonNotificationSelect={lifecycleShape ? () => setCentre(\"notifications\") : undefined}\n\t\t\t\t// \"View all\" is a destination, not another overlay: it opens the Notifications PAGE. The\n\t\t\t\t// panel already showed the recent few, so sending the reader to a second transient surface\n\t\t\t\t// would leave them nowhere they could stay, link to or come back to.\n\t\t\t\tonViewAllNotifications={lifecycleShape ? () => setSurface(\"notifications\") : undefined}\n\t\t\t\t// V1: the prototype's rail is the perspectives alone — no Home entry, no Marketplace action.\n\t\t\t\t// V2: the same rail gains a pinned Home above it, an apps section, a Settings group, and the\n\t\t\t\t// Marketplace entry below it.\n\t\t\t\tbrandName={withMarketplace ? \"Connect\" : undefined}\n\t\t\t\tactiveGroupId={\n\t\t\t\t\tsurface === \"stage\" && activeStage\n\t\t\t\t\t\t? `stage-${activeStage}`\n\t\t\t\t\t\t: surface === \"studio\"\n\t\t\t\t\t\t\t? STUDIO_GROUP_ID\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t}\n\t\t\t\tonGroupSelect={(groupId) => {\n\t\t\t\t\tif (groupId === STUDIO_GROUP_ID) {\n\t\t\t\t\t\tsetSurface(\"studio\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tconst stage = stageFromGroupId(groupId);\n\t\t\t\t\tif (!stage) return;\n\t\t\t\t\tsetActiveStage(stage);\n\t\t\t\t\tsetSurface(\"stage\");\n\t\t\t\t}}\n\t\t\t\tpinnedTop={\n\t\t\t\t\tfilesEnabled\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tid: FILES_ITEM_ID,\n\t\t\t\t\t\t\t\tlabel: \"Files\",\n\t\t\t\t\t\t\t\ticon: FolderTree,\n\t\t\t\t\t\t\t\tactive: surface === \"files\",\n\t\t\t\t\t\t\t\tonSelect: () => {\n\t\t\t\t\t\t\t\t\tsetSurface(\"files\");\n\t\t\t\t\t\t\t\t\tsetMode(\"default\");\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t: undefined\n\t\t\t\t}\n\t\t\t\tshowHome={withMarketplace}\n\t\t\t\thomeActive={withMarketplace && surface === \"home\"}\n\t\t\t\tonHome={() => setSurface(\"home\")}\n\t\t\t\t// V3's nav is the widget's tree shape: groups are labelled headers over a spine, so the rules\n\t\t\t\t// between them drop away, and the rail opens as a short list of section headers that the\n\t\t\t\t// toggle beside the find bar expands. V2 keeps the flat, ruled, all-open list. Both come\n\t\t\t\t// from CoreAppSidebar's `variant` rather than being re-derived here.\n\t\t\t\tvariant={lifecycleShape ? \"tree\" : \"list\"}\n\t\t\t\t// V2 (no Files): Home stands alone over the app groups and takes no rule — the group headers\n\t\t\t\t// already mark every boundary. V3 ignores this: Home joins Files in the pinned block, and\n\t\t\t\t// that block keeps its own rule beneath the pair. Not part of the variant either way.\n\t\t\t\tshowHomeDivider={false}\n\t\t\t\t// V3 carries Marketplace inside Studio instead, so the pinned entry is switched off there.\n\t\t\t\tshowMarketplace={withMarketplace && marketplacePlacement === \"pinned\"}\n\t\t\t\tmarketplaceLabel=\"Marketplace\"\n\t\t\t\t// Only claim this for the PINNED entry: it also suppresses every nav-row highlight, which\n\t\t\t\t// would leave V3's Marketplace item unmarked while standing on its own surface.\n\t\t\t\tmarketplaceActive={surface === \"marketplace\" && marketplacePlacement === \"pinned\"}\n\t\t\t\tonMarketplace={() => setSurface(\"marketplace\")}\n\t\t\t\tmobileOpen={navOpen}\n\t\t\t\tonMobileOpenChange={setNavOpen}\n\t\t\t\tonNavigate={(label) => {\n\t\t\t\t\t// One rail, up to three kinds of destination: an installed app, the Studio Marketplace item\n\t\t\t\t\t// (V3 only), or a perspective. Files is pinned above them all and carries its own handler.\n\t\t\t\t\tif (withMarketplace) {\n\t\t\t\t\t\tconst app = install.installedApps.find((a) => a.name === label);\n\t\t\t\t\t\tif (app) {\n\t\t\t\t\t\t\topenApp(app);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (marketplacePlacement === \"studio\" && label === \"Marketplace\") {\n\t\t\t\t\t\t\tsetMarketplaceTab(\"App Store\");\n\t\t\t\t\t\t\tsetSurface(\"marketplace\");\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst next = PERSPECTIVES.find((p) => p.label === label);\n\t\t\t\t\tif (!next) return;\n\t\t\t\t\tsetPerspectiveId(next.id);\n\t\t\t\t\tsetSurface(\"workspace\");\n\t\t\t\t\t// Switching perspectives leaves the settings sub-surface.\n\t\t\t\t\tsetMode(\"default\");\n\t\t\t\t}}\n\t\t\t/>\n\n\t\t\t<div className=\"wwc:relative wwc:flex wwc:min-w-0 wwc:flex-1 wwc:flex-col\">\n\t\t\t\t<CoreAppTopBar\n\t\t\t\t\tactiveLabel={breadcrumb}\n\t\t\t\t\tbreadcrumb={lifecycleBreadcrumb}\n\t\t\t\t\tshowProjectSwitcher\n\t\t\t\t\tprojects={byOrg ? ORGANIZATIONS : PROJECTS}\n\t\t\t\t\tselectedProject={byOrg ? organization : project}\n\t\t\t\t\tonSelectProject={byOrg ? selectOrganization : setProject}\n\t\t\t\t\tlabels={byOrg ? {findProject: \"Find organization...\", noProjectsFound: \"No organizations found\"} : undefined}\n\t\t\t\t\t// V3's top bar carries neither the notifications bell nor the changeset button: the\n\t\t\t\t\t// sidebar's own Notifications entry is the one way in, and a second bell on the same\n\t\t\t\t\t// screen would leave the reader choosing between two doors to one room. V1 and V2 keep\n\t\t\t\t\t// both — their sidebars have no notifications entry to replace them.\n\t\t\t\t\tactions={\n\t\t\t\t\t\tlifecycleShape ? undefined : (\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\ticon\n\t\t\t\t\t\t\t\taria-label=\"Changeset\"\n\t\t\t\t\t\t\t\tclassName=\"wwc:relative wwc:h-8 wwc:w-8 wwc:text-muted-foreground\"\n\t\t\t\t\t\t\t\tonClick={() => setCentre((c) => (c === \"changes\" ? null : \"changes\"))}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<ClipboardList className=\"wwc:h-4 wwc:w-4\" />\n\t\t\t\t\t\t\t\t{changes.filter((c) => !c.committed).length > 0 && (\n\t\t\t\t\t\t\t\t\t<span className=\"wwc:absolute wwc:-right-0.5 wwc:-top-0.5 wwc:flex wwc:h-4 wwc:min-w-4 wwc:items-center wwc:justify-center wwc:rounded-full wwc:bg-primary wwc:px-1 wwc:text-[9px] wwc:font-semibold wwc:text-primary-foreground wwc:tabular-nums\">\n\t\t\t\t\t\t\t\t\t\t{changes.filter((c) => !c.committed).length}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t\tshowNotifications={!lifecycleShape}\n\t\t\t\t\tnotificationCount={notifications.filter((n) => n.unread).length}\n\t\t\t\t\tonNotificationsClick={() => setCentre((c) => (c === \"notifications\" ? null : \"notifications\"))}\n\t\t\t\t\tonMenuClick={() => setNavOpen(true)}\n\t\t\t\t/>\n\n\t\t\t\t{/* The Search row's surface: the library's own command palette rather than a bespoke modal,\n\t\t\t\t so the search field, the keyboard handling and the empty state are the ones every other\n\t\t\t\t palette in the product uses. A SAMPLE — it searches what the prototype already holds, the\n\t\t\t\t installed apps and the Studio perspectives, and opening a result lands on it exactly as\n\t\t\t\t the rail would. The real search gets built in its own task. */}\n\t\t\t\t{lifecycleShape && (\n\t\t\t\t\t<CommandDialog\n\t\t\t\t\t\topen={searchOpen}\n\t\t\t\t\t\tonOpenChange={setSearchOpen}\n\t\t\t\t\t\t// Wider than the dialog default: the rows carry an app or perspective name with room\n\t\t\t\t\t\t// for a path beside it once real search lands, and a 512px palette would make those\n\t\t\t\t\t\t// truncate on arrival.\n\t\t\t\t\t\tcontentClassName=\"wwc:max-w-2xl\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<CommandInput placeholder=\"Search apps and perspectives…\" />\n\t\t\t\t\t\t{/* Says what it is, in the surface itself. A placeholder that looks finished is worse\n\t\t\t\t\t\t than one that admits it: anyone opening this should know the real search is still\n\t\t\t\t\t\t to come rather than reporting its gaps as bugs. */}\n\t\t\t\t\t\t<div className=\"wwc:border-b wwc:border-border wwc:bg-muted/40 wwc:px-3 wwc:py-2 wwc:text-[11px] wwc:text-muted-foreground\">\n\t\t\t\t\t\t\tPlaceholder — search is not built yet. This lists the installed apps and Studio perspectives so the\n\t\t\t\t\t\t\tgesture and the shape are real.\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t{/* Fixed height so the dialog does not resize as results are filtered — the list\n\t\t\t\t\t\t scrolls inside it instead. */}\n\t\t\t\t\t\t<CommandList className=\"wwc:h-[320px] wwc:max-h-none\">\n\t\t\t\t\t\t\t<CommandEmpty>No matches.</CommandEmpty>\n\t\t\t\t\t\t\t<CommandGroup heading=\"Apps\">\n\t\t\t\t\t\t\t\t{install.installedApps.map((app) => (\n\t\t\t\t\t\t\t\t\t<CommandItem\n\t\t\t\t\t\t\t\t\t\tkey={app.id}\n\t\t\t\t\t\t\t\t\t\tvalue={app.name}\n\t\t\t\t\t\t\t\t\t\tonSelect={() => {\n\t\t\t\t\t\t\t\t\t\t\tsetSearchOpen(false);\n\t\t\t\t\t\t\t\t\t\t\topenApp(app);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<app.icon className=\"wwc:mr-2 wwc:h-4 wwc:w-4 wwc:text-muted-foreground\" />\n\t\t\t\t\t\t\t\t\t\t{app.name}\n\t\t\t\t\t\t\t\t\t</CommandItem>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</CommandGroup>\n\t\t\t\t\t\t\t<CommandGroup heading=\"Studio\">\n\t\t\t\t\t\t\t\t{PERSPECTIVES.filter((p) => p.id !== \"home\").map((p) => (\n\t\t\t\t\t\t\t\t\t<CommandItem\n\t\t\t\t\t\t\t\t\t\tkey={p.id}\n\t\t\t\t\t\t\t\t\t\tvalue={p.label}\n\t\t\t\t\t\t\t\t\t\tonSelect={() => {\n\t\t\t\t\t\t\t\t\t\t\tsetSearchOpen(false);\n\t\t\t\t\t\t\t\t\t\t\tsetPerspectiveId(p.id);\n\t\t\t\t\t\t\t\t\t\t\tsetSurface(\"workspace\");\n\t\t\t\t\t\t\t\t\t\t\tsetMode(\"default\");\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<p.icon className=\"wwc:mr-2 wwc:h-4 wwc:w-4 wwc:text-muted-foreground\" />\n\t\t\t\t\t\t\t\t\t\t{p.label}\n\t\t\t\t\t\t\t\t\t</CommandItem>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</CommandGroup>\n\t\t\t\t\t\t</CommandList>\n\t\t\t\t\t</CommandDialog>\n\t\t\t\t)}\n\n\t\t\t\t{/* V3 opens notifications and the changeset as an ordinary right-hand Sheet — standard\n\t\t\t\t overlay, standard cards, standard buttons. The earlier translucent NotificationCenter\n\t\t\t\t never sat right against the rest of the shell; V1 and V2 keep it for now. */}\n\t\t\t\t{lifecycleShape ? (\n\t\t\t\t\t<ActivitySheet\n\t\t\t\t\t\topen={centre !== null}\n\t\t\t\t\t\tview={centre ?? \"notifications\"}\n\t\t\t\t\t\tonOpenChange={(o) => !o && setCentre(null)}\n\t\t\t\t\t\tonViewChange={setCentre}\n\t\t\t\t\t\tnotifications={notifications}\n\t\t\t\t\t\tchanges={changes}\n\t\t\t\t\t\tonDismiss={(id) => setNotifications((prev) => prev.filter((n) => n.id !== id))}\n\t\t\t\t\t\tonClearAll={() => setNotifications([])}\n\t\t\t\t\t\tonUndo={(id) => setChanges((prev) => prev.filter((c) => c.id !== id))}\n\t\t\t\t\t\tonApplyAll={() => setChanges((prev) => prev.map((c) => ({...c, committed: true})))}\n\t\t\t\t\t\tonDiscardAll={() => setChanges((prev) => prev.filter((c) => c.committed))}\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t<NotificationCenter\n\t\t\t\t\t\topen={centre !== null}\n\t\t\t\t\t\tview={centre ?? \"notifications\"}\n\t\t\t\t\t\tonOpenChange={(o) => !o && setCentre(null)}\n\t\t\t\t\t\tnotifications={notifications}\n\t\t\t\t\t\tchanges={changes}\n\t\t\t\t\t\tonDismiss={(id) => setNotifications((prev) => prev.filter((n) => n.id !== id))}\n\t\t\t\t\t\tonClearAll={() => setNotifications([])}\n\t\t\t\t\t\tonUndo={(id) => setChanges((prev) => prev.filter((c) => c.id !== id))}\n\t\t\t\t\t\tonApplyAll={() => setChanges((prev) => prev.map((c) => ({...c, committed: true})))}\n\t\t\t\t\t\tonDiscardAll={() => setChanges((prev) => prev.filter((c) => c.committed))}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t<main className=\"wwc:relative wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col wwc:overflow-hidden\">\n\t\t\t\t\t{/* Merged mode folds two more surfaces in beside the admin workspace. Neither can be\n\t\t\t\t\t reached in V1 mode, where `surface` is pinned to \"workspace\". */}\n\t\t\t\t\t{withMarketplace && surface === \"studio\" ? (\n\t\t\t\t\t\t// The Studio overview IS the perspective-card page — the same HomeView the standalone\n\t\t\t\t\t\t// workspace lands on, which merged mode otherwise has no use for since its Home is the app\n\t\t\t\t\t\t// launcher. One card per perspective, opening it.\n\t\t\t\t\t\t<HomeView cards={homeCards} onOpen={(id) => openWorkspaceTarget({perspectiveId: id})} />\n\t\t\t\t\t) : withMarketplace && surface === \"stage\" && activeStage ? (\n\t\t\t\t\t\t<StageSurface\n\t\t\t\t\t\t\tfullWidth={lifecycleShape}\n\t\t\t\t\t\t\tstage={activeStage}\n\t\t\t\t\t\t\tinstalled={install.installedApps}\n\t\t\t\t\t\t\tnewIds={install.newIds}\n\t\t\t\t\t\t\tonOpenApp={openApp}\n\t\t\t\t\t\t\tonBrowse={() => setSurface(\"marketplace\")}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) : surface === \"notifications\" ? (\n\t\t\t\t\t\t// Deliberately empty. The surface, its route and its breadcrumb exist so the rest of the\n\t\t\t\t\t\t// shell can be wired and reviewed; what fills it is its own task.\n\t\t\t\t\t\t<div className=\"wwc:flex wwc:h-full wwc:w-full wwc:flex-col wwc:items-center wwc:justify-center wwc:gap-2 wwc:p-6 wwc:text-center\">\n\t\t\t\t\t\t\t<Bell className=\"wwc:h-6 wwc:w-6 wwc:text-muted-foreground/40\" />\n\t\t\t\t\t\t\t<p className=\"wwc:text-[13px] wwc:font-medium wwc:text-foreground\">Notifications</p>\n\t\t\t\t\t\t\t<p className=\"wwc:max-w-[420px] wwc:text-[12px] wwc:text-muted-foreground\">\n\t\t\t\t\t\t\t\tThis page is not built yet. The full notifications surface comes in its own task.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t) : filesEnabled && surface === \"files\" && fsRoot ? (\n\t\t\t\t\t\t<FileSystem\n\t\t\t\t\t\t\tkey={fsRoot.id}\n\t\t\t\t\t\t\tnodes={fsNodes}\n\t\t\t\t\t\t\trootId={fsRoot.id}\n\t\t\t\t\t\t\tfileTypes={WC3_ALL_FILE_TYPES}\n\t\t\t\t\t\t\tprojectId={fsProjectId}\n\t\t\t\t\t\t\tonProjectChange={setFsProjectId}\n\t\t\t\t\t\t\tfolderId={fsFolderId}\n\t\t\t\t\t\t\tonFolderChange={setFsFolderId}\n\t\t\t\t\t\t\topenLabel={fsOpenLabel}\n\t\t\t\t\t\t\tonOpenFile={openFsFile}\n\t\t\t\t\t\t\tonCreate={(draft) =>\n\t\t\t\t\t\t\t\twc3FsCreate({\n\t\t\t\t\t\t\t\t\t...draft,\n\t\t\t\t\t\t\t\t\t// A file whose type has an app behind it gets a RECORD too, and the address that\n\t\t\t\t\t\t\t\t\t// files the two together. The widget knows nothing of records; the shell owns\n\t\t\t\t\t\t\t\t\t// every array one could land in, so the shell builds it.\n\t\t\t\t\t\t\t\t\tref: draft.kind === \"file\" && draft.fileType ? createFsRecord(draft.fileType, draft.name) : undefined,\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) : withMarketplace && surface === \"home\" ? (\n\t\t\t\t\t\t// Home is always reachable in merged mode, and behaves the way the standalone installer's\n\t\t\t\t\t\t// does: a welcome hero with a Browse CTA while nothing is installed, an app launcher once\n\t\t\t\t\t\t// apps exist.\n\t\t\t\t\t\t<HomeSurface\n\t\t\t\t\t\t\tfullWidth={lifecycleShape}\n\t\t\t\t\t\t\t// A launcher grid has no single primary action — every card is an equal choice — so V3\n\t\t\t\t\t\t\t// drops the wall of primaries. V2 keeps the shape it shipped with.\n\t\t\t\t\t\t\tcardActionVariant={lifecycleShape ? \"secondary\" : \"default\"}\n\t\t\t\t\t\t\tuserName={userName}\n\t\t\t\t\t\t\tinstalled={install.installedApps}\n\t\t\t\t\t\t\tnewIds={install.newIds}\n\t\t\t\t\t\t\tonBrowse={() => setSurface(\"marketplace\")}\n\t\t\t\t\t\t\tonOpenApp={openApp}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) : withMarketplace && surface === \"marketplace\" ? (\n\t\t\t\t\t\t<MarketplaceSurface\n\t\t\t\t\t\t\tfullWidth={lifecycleShape}\n\t\t\t\t\t\t\ttitle=\"Marketplace\"\n\t\t\t\t\t\t\tonTabChange={setMarketplaceTab}\n\t\t\t\t\t\t\tisInstalled={install.isInstalled}\n\t\t\t\t\t\t\tinstallingIds={install.installingIds}\n\t\t\t\t\t\t\tinstalledCount={install.installedIds.size}\n\t\t\t\t\t\t\tonDetails={install.setDetailsApp}\n\t\t\t\t\t\t\tonToggle={install.toggleInstall}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) : withMarketplace && surface === \"app\" ? (\n\t\t\t\t\t\t<AppWorkspace app={activeApp} />\n\t\t\t\t\t) : mode === \"default\" ? (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<PageContentHeader\n\t\t\t\t\t\t\t\tvariant=\"navigation\"\n\t\t\t\t\t\t\t\ttitle={perspective.label}\n\t\t\t\t\t\t\t\ttabs={perspective.tabs}\n\t\t\t\t\t\t\t\tactiveTab={activeTab}\n\t\t\t\t\t\t\t\tonTabChange={(tab) => setTabByPerspective({...tabByPerspective, [perspective.id]: tab})}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t{/* Ontology, Lineage, Pipelines, Processes, Products and Analysis are the real surfaces — the other four are still skeletons. */}\n\t\t\t\t\t\t\t{showHome ? (\n\t\t\t\t\t\t\t\t<HomeView cards={homeCards} onOpen={(id) => openWorkspaceTarget({perspectiveId: id})} />\n\t\t\t\t\t\t\t) : OntologyView ? (\n\t\t\t\t\t\t\t\t<OntologyView\n\t\t\t\t\t\t\t\t\tonDetailChange={setDetailLabel}\n\t\t\t\t\t\t\t\t\topenRecordId={openRecordId}\n\t\t\t\t\t\t\t\t\tonOpenRecordConsumed={consumeOpenRecord}\n\t\t\t\t\t\t\t\t\tonShowInFiles={filesEnabled ? showInFiles : undefined}\n\t\t\t\t\t\t\t\t\tobjectTypes={objectTypes}\n\t\t\t\t\t\t\t\t\tonObjectTypesChange={setObjectTypes}\n\t\t\t\t\t\t\t\t\tactionTypes={actionTypes}\n\t\t\t\t\t\t\t\t\tonActionTypesChange={setActionTypes}\n\t\t\t\t\t\t\t\t\tcreateLocationField={fsCreateLocationField}\n\t\t\t\t\t\t\t\t\t// One tab is showing, so only its own creation can fire — the tab id decides which.\n\t\t\t\t\t\t\t\t\tonRecordCreated={fileNewRecord(\n\t\t\t\t\t\t\t\t\t\tactiveTab === \"action-types\" ? \"action-type\" : \"object-type\",\n\t\t\t\t\t\t\t\t\t\t\"ontology\",\n\t\t\t\t\t\t\t\t\t\tactiveTab,\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : LineageView ? (\n\t\t\t\t\t\t\t\t<LineageView\n\t\t\t\t\t\t\t\t\tonDetailChange={setDetailLabel}\n\t\t\t\t\t\t\t\t\tonNavigate={openWorkspaceTarget}\n\t\t\t\t\t\t\t\t\tonOpenChangeset={() => setCentre(\"changes\")}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : PipelineView ? (\n\t\t\t\t\t\t\t\t<PipelineView\n\t\t\t\t\t\t\t\t\tpipelines={pipelines}\n\t\t\t\t\t\t\t\t\tonPipelinesChange={setPipelines}\n\t\t\t\t\t\t\t\t\tonDetailChange={setDetailLabel}\n\t\t\t\t\t\t\t\t\tonNavigate={openWorkspaceTarget}\n\t\t\t\t\t\t\t\t\topenRecordId={openRecordId}\n\t\t\t\t\t\t\t\t\tonOpenRecordConsumed={consumeOpenRecord}\n\t\t\t\t\t\t\t\t\tonShowInFiles={filesEnabled ? showInFiles : undefined}\n\t\t\t\t\t\t\t\t\tcreateLocationField={fsCreateLocationField}\n\t\t\t\t\t\t\t\t\tonRecordCreated={fileNewRecord(\"pipeline\", \"pipelines\", \"pipelines\")}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : ProcessView ? (\n\t\t\t\t\t\t\t\t<ProcessView\n\t\t\t\t\t\t\t\t\tprocesses={processes}\n\t\t\t\t\t\t\t\t\tonProcessesChange={setProcesses}\n\t\t\t\t\t\t\t\t\tonDetailChange={setDetailLabel}\n\t\t\t\t\t\t\t\t\tonNavigate={openWorkspaceTarget}\n\t\t\t\t\t\t\t\t\topenRecordId={openRecordId}\n\t\t\t\t\t\t\t\t\tonOpenRecordConsumed={consumeOpenRecord}\n\t\t\t\t\t\t\t\t\tonShowInFiles={filesEnabled ? showInFiles : undefined}\n\t\t\t\t\t\t\t\t\tcreateLocationField={fsCreateLocationField}\n\t\t\t\t\t\t\t\t\tonRecordCreated={fileNewRecord(\"process\", \"processes\", \"processes\")}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : ProductView ? (\n\t\t\t\t\t\t\t\t<ProductView\n\t\t\t\t\t\t\t\t\tonDetailChange={setDetailLabel}\n\t\t\t\t\t\t\t\t\tonNavigate={openWorkspaceTarget}\n\t\t\t\t\t\t\t\t\topenRecordId={openRecordId}\n\t\t\t\t\t\t\t\t\tonOpenRecordConsumed={consumeOpenRecord}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : AnalysisView ? (\n\t\t\t\t\t\t\t\t<AnalysisView\n\t\t\t\t\t\t\t\t\tsession={analysis}\n\t\t\t\t\t\t\t\t\tonSessionChange={setAnalysis}\n\t\t\t\t\t\t\t\t\tonDetailChange={setDetailLabel}\n\t\t\t\t\t\t\t\t\tonNavigate={openWorkspaceTarget}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<div className=\"wwc:min-h-0 wwc:flex-1 wwc:overflow-auto\">\n\t\t\t\t\t\t\t\t\t<div className={`wwc:w-full wwc:p-6 ${lifecycleShape ? \"\" : \"wwc:mx-auto wwc:max-w-[1200px]\"}`}>\n\t\t\t\t\t\t\t\t\t\t<div className=\"wwc:flex wwc:min-h-[320px] wwc:items-center wwc:justify-center\">\n\t\t\t\t\t\t\t\t\t\t\t<Empty\n\t\t\t\t\t\t\t\t\t\t\t\ticon={TabIcon ? <TabIcon className=\"wwc:h-6 wwc:w-6\" /> : undefined}\n\t\t\t\t\t\t\t\t\t\t\t\ttitle={activeTabItem.label}\n\t\t\t\t\t\t\t\t\t\t\t\tdescription={perspective.placeholders[activeTabItem.id]}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<div className=\"wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col wwc:md:flex-row\">\n\t\t\t\t\t\t\t<SideMenu\n\t\t\t\t\t\t\t\ttitle=\"Settings\"\n\t\t\t\t\t\t\t\tonBack={() => setMode(\"default\")}\n\t\t\t\t\t\t\t\tbackLabel={`Back to ${perspective.label}`}\n\t\t\t\t\t\t\t\tshowSearch={false}\n\t\t\t\t\t\t\t\tgroups={SETTINGS_GROUPS}\n\t\t\t\t\t\t\t\tactiveItemId={activeSetting}\n\t\t\t\t\t\t\t\tonItemSelect={setActiveSetting}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t<div className=\"wwc:min-h-0 wwc:flex-1 wwc:overflow-auto\">\n\t\t\t\t\t\t\t\t<div className={`wwc:w-full wwc:p-6 ${lifecycleShape ? \"\" : \"wwc:mx-auto wwc:max-w-[1000px]\"}`}>\n\t\t\t\t\t\t\t\t\t<h1 className=\"wwc:text-xl wwc:font-semibold wwc:tracking-tight\">{activeSettingLabel}</h1>\n\t\t\t\t\t\t\t\t\t<div className=\"wwc:mt-4 wwc:flex wwc:min-h-[320px] wwc:items-center wwc:justify-center\">\n\t\t\t\t\t\t\t\t\t\t<Empty\n\t\t\t\t\t\t\t\t\t\t\ticon={<Settings className=\"wwc:h-6 wwc:w-6\" />}\n\t\t\t\t\t\t\t\t\t\t\ttitle={activeSettingLabel}\n\t\t\t\t\t\t\t\t\t\t\tdescription={SETTING_PLACEHOLDER[activeSetting]}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</main>\n\t\t\t</div>\n\n\t\t\t{withMarketplace && (\n\t\t\t\t<>\n\t\t\t\t\t<AppDetailsDialog\n\t\t\t\t\t\tapp={install.detailsApp}\n\t\t\t\t\t\tinstalled={install.detailsApp ? install.isInstalled(install.detailsApp.id) : false}\n\t\t\t\t\t\tinstalling={install.detailsApp ? install.installingIds.has(install.detailsApp.id) : false}\n\t\t\t\t\t\tonOpenChange={(open) => !open && install.setDetailsApp(null)}\n\t\t\t\t\t\tonToggle={() => install.detailsApp && install.toggleInstall(install.detailsApp)}\n\t\t\t\t\t/>\n\t\t\t\t\t<Toaster position=\"top-right\" />\n\t\t\t\t</>\n\t\t\t)}\n\t\t</div>\n\t);\n}\n\nexport {PERSPECTIVES as WC3_WORKSPACE_PERSPECTIVES};\nexport type {Perspective as WC3WorkspacePerspective};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GA,MAAM,eAA8B;CACnC;EACC,IAAI;EACJ,OAAO;EACP,MAAM;EAGN,MAAM,CAAC;GAAC,IAAI;GAAY,OAAO;GAAY,MAAM;EAAU,CAAC;EAC5D,cAAc,CAAC;CAChB;CACA;EACC,IAAI;EACJ,OAAO;EACP,MAAM;EACN,MAAM;GACL;IAAC,IAAI;IAAU,OAAO;IAAmB,MAAM;GAAK;GACpD;IAAC,IAAI;IAAQ,OAAO;IAAiB,MAAM;GAAM;GACjD;IAAC,IAAI;IAAS,OAAO;IAAkB,MAAM;GAAQ;EACtD;EACA,cAAc;GACb,QAAQ;GACR,MAAM;GACN,OAAO;EACR;CACD;CACA;EACC,IAAI;EACJ,OAAO;EACP,MAAM;EAaN,MAAM,CAAC;GAAC,IAAI;GAAa,OAAO;GAAa,MAAM;GAAU,OAAO,cAAc;EAAM,CAAC;EACzF,cAAc,EACb,WAAW,4FACZ;CACD;CACA;EACC,IAAI;EACJ,OAAO;EACP,MAAM;EASN,MAAM;GACL;IAAC,IAAI;IAAa,OAAO;IAAa,MAAM;IAAQ,OAAO,cAAc;GAAM;GAC/E;IAAC,IAAI;IAAW,OAAO;IAAW,MAAM;IAAQ,OAAO,OAAO,KAAK,cAAc,CAAC,CAAC;GAAM;GACzF;IAAC,IAAI;IAAQ,OAAO;IAAQ,MAAM;GAAI;EACvC;EACA,cAAc;GACb,WAAW;GACX,SAAS;GACT,MAAM;EACP;CACD;CACA;EACC,IAAI;EACJ,OAAO;EACP,MAAM;EAKN,MAAM,CAAC;GAAC,IAAI;GAAa,OAAO;GAAa,MAAM;GAAS,OAAO,aAAa;EAAM,CAAC;EACvF,cAAc,EACb,WAAW,8DACZ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C,MAAM,oBAAC,UAAD,EAAU,WAAU,kBAAmB,CAAA;WAC7C,OAAO;WACP,aAAa,oBAAoB;UACjC,CAAA;SACG,CAAA,CACD;;OACD,CAAA,CACD;;KAED,CAAA;IACF;;GAEJ,mBACA,qBAAA,YAAA,EAAA,UAAA,CACC,oBAAC,kBAAD;IACC,KAAK,QAAQ;IACb,WAAW,QAAQ,aAAa,QAAQ,YAAY,QAAQ,WAAW,EAAE,IAAI;IAC7E,YAAY,QAAQ,aAAa,QAAQ,cAAc,IAAI,QAAQ,WAAW,EAAE,IAAI;IACpF,eAAe,SAAS,CAAC,QAAQ,QAAQ,cAAc,IAAI;IAC3D,gBAAgB,QAAQ,cAAc,QAAQ,cAAc,QAAQ,UAAU;GAC9E,CAAA,GACD,oBAAC,SAAD,EAAS,UAAS,YAAa,CAAA,CAC9B,EAAA,CAAA;EAEC;;AAEP"}
@@ -0,0 +1,14 @@
1
+ //#region src/pages/core-work-permit.d.ts
2
+ /**
3
+ * Work Permit template scaffold. Renders its own app shell and a route header whose five tabs —
4
+ * Dashboard, Work Permits, Templates, Map, AI Agent — plus a far-right Settings gear all open
5
+ * placeholders for now.
6
+ *
7
+ * @deprecated Preview/demo prototype — renders built-in sample data and mock handlers. Not a
8
+ * supported production import: compose your page from the widgets this template uses, wired to your
9
+ * own data (see the CoreWorkPermit template docs in Storybook). Slated for removal from the public
10
+ * API in a future major.
11
+ */
12
+ export declare function WorkPermit(): import("react/jsx-runtime").JSX.Element;
13
+ //#endregion
14
+ //# sourceMappingURL=core-work-permit.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-work-permit.d.mts","names":[],"sources":["../../src/pages/core-work-permit.tsx"],"mappings":";;;;;;;;;;;wBAmJgB,0CAAU,IAAA"}
@@ -0,0 +1,281 @@
1
+ import { Empty } from "../empty.mjs";
2
+ import { usePersistentState } from "../use-persistent-state.mjs";
3
+ import { FloatingAssistant } from "../floating-assistant.mjs";
4
+ import { PageContentHeader } from "../page-content-header.mjs";
5
+ import { CoreAppSidebar } from "../navigation/core-app-sidebar.mjs";
6
+ import { CoreAppTopBar } from "../navigation/core-app-top-bar.mjs";
7
+ import { PermitTemplatesView } from "./work-permit-templates.mjs";
8
+ import { ClipboardList, FileText, HardHat, LayoutGrid, Map, Plus, Settings, ShieldAlert, Sparkles, Users } from "lucide-react";
9
+ import { useRef, useState } from "react";
10
+ import { jsx, jsxs } from "react/jsx-runtime";
11
+ //#region src/pages/core-work-permit.tsx
12
+ const PERMIT_CONTEXT = [
13
+ {
14
+ id: "ctx-open-permits",
15
+ label: "Open permits — Uptown Tower",
16
+ description: "42 active, 6 expiring",
17
+ icon: /* @__PURE__ */ jsx(ClipboardList, { className: "wwc:h-3.5 wwc:w-3.5" })
18
+ },
19
+ {
20
+ id: "ctx-hot-work-template",
21
+ label: "Hot Work Permit v4",
22
+ description: "Published template",
23
+ icon: /* @__PURE__ */ jsx(FileText, { className: "wwc:h-3.5 wwc:w-3.5" })
24
+ },
25
+ {
26
+ id: "ctx-isolation-register",
27
+ label: "Isolation register",
28
+ description: "Electrical + mechanical locks",
29
+ icon: /* @__PURE__ */ jsx(ShieldAlert, { className: "wwc:h-3.5 wwc:w-3.5" })
30
+ },
31
+ {
32
+ id: "ctx-signed-on",
33
+ label: "Workers signed on today",
34
+ description: "318 across 27 permits",
35
+ icon: /* @__PURE__ */ jsx(Users, { className: "wwc:h-3.5 wwc:w-3.5" })
36
+ },
37
+ {
38
+ id: "ctx-competency",
39
+ label: "Competency matrix",
40
+ description: "Confined-space entrants",
41
+ icon: /* @__PURE__ */ jsx(HardHat, { className: "wwc:h-3.5 wwc:w-3.5" })
42
+ }
43
+ ];
44
+ const PERMIT_SESSIONS = [
45
+ {
46
+ id: "wp-s1",
47
+ name: "Hot work near Tank 3",
48
+ preview: "Two permits awaiting approval",
49
+ updatedAt: "1h ago"
50
+ },
51
+ {
52
+ id: "wp-s2",
53
+ name: "Confined-space template v3",
54
+ preview: "Gas-test step added",
55
+ updatedAt: "Yesterday"
56
+ },
57
+ {
58
+ id: "wp-s3",
59
+ name: "Expiring permits — Uptown",
60
+ preview: "6 expire before Friday",
61
+ updatedAt: "Tue"
62
+ }
63
+ ];
64
+ const NAV_GROUPS = [{ items: [{
65
+ id: "work-permits",
66
+ label: "Work Permits",
67
+ icon: ClipboardList
68
+ }] }];
69
+ const PROJECTS = [
70
+ "Uptown Tower",
71
+ "Marina Heights",
72
+ "Riyadh Metro — Line 3",
73
+ "NEOM Site 4",
74
+ "Jeddah Waterfront"
75
+ ];
76
+ const TABS = [
77
+ {
78
+ id: "dashboard",
79
+ label: "Dashboard",
80
+ icon: LayoutGrid
81
+ },
82
+ {
83
+ id: "work-permits",
84
+ label: "Work Permits",
85
+ icon: ClipboardList
86
+ },
87
+ {
88
+ id: "templates",
89
+ label: "Templates",
90
+ icon: FileText
91
+ },
92
+ {
93
+ id: "map",
94
+ label: "Map",
95
+ icon: Map
96
+ },
97
+ {
98
+ id: "ai-agent",
99
+ label: "AI Agent",
100
+ icon: Sparkles,
101
+ badge: "SOON"
102
+ }
103
+ ];
104
+ const TAB_PLACEHOLDER = {
105
+ dashboard: {
106
+ title: "Dashboard",
107
+ description: "Permit volumes, approval turnaround and what is currently blocking work will appear here.",
108
+ icon: /* @__PURE__ */ jsx(LayoutGrid, { className: "wwc:h-6 wwc:w-6" })
109
+ },
110
+ "work-permits": {
111
+ title: "Work Permits",
112
+ description: "The permit register — every permit, its state and who holds it — will appear here.",
113
+ icon: /* @__PURE__ */ jsx(ClipboardList, { className: "wwc:h-6 wwc:w-6" })
114
+ },
115
+ templates: {
116
+ title: "Templates",
117
+ description: "Reusable permit definitions — the form, the workflow and the rules each permit type carries.",
118
+ icon: /* @__PURE__ */ jsx(FileText, { className: "wwc:h-6 wwc:w-6" })
119
+ },
120
+ map: {
121
+ title: "Map",
122
+ description: "Permits placed on the site map, so a zone shows what is authorised inside it.",
123
+ icon: /* @__PURE__ */ jsx(Map, { className: "wwc:h-6 wwc:w-6" })
124
+ },
125
+ "ai-agent": {
126
+ title: "AI Agent",
127
+ description: "Coming soon — an assistant that drafts permits, checks them against the rules and chases approvals.",
128
+ icon: /* @__PURE__ */ jsx(Sparkles, { className: "wwc:h-6 wwc:w-6" })
129
+ },
130
+ settings: {
131
+ title: "Settings",
132
+ description: "Permit types, approval chains, validity windows and notification rules will appear here.",
133
+ icon: /* @__PURE__ */ jsx(Settings, { className: "wwc:h-6 wwc:w-6" })
134
+ }
135
+ };
136
+ const tabLabel = (id) => TABS.find((tab) => tab.id === id)?.label ?? TAB_PLACEHOLDER[id].title;
137
+ /**
138
+ * Work Permit template scaffold. Renders its own app shell and a route header whose five tabs —
139
+ * Dashboard, Work Permits, Templates, Map, AI Agent — plus a far-right Settings gear all open
140
+ * placeholders for now.
141
+ *
142
+ * @deprecated Preview/demo prototype — renders built-in sample data and mock handlers. Not a
143
+ * supported production import: compose your page from the widgets this template uses, wired to your
144
+ * own data (see the CoreWorkPermit template docs in Storybook). Slated for removal from the public
145
+ * API in a future major.
146
+ */
147
+ function WorkPermit() {
148
+ const [activeTab, setActiveTab] = usePersistentState("wc3.work-permit.tab", "dashboard");
149
+ const [project, setProject] = usePersistentState("wc3.project", PROJECTS[0]);
150
+ const [navOpen, setNavOpen] = useState(false);
151
+ const placeholder = TAB_PLACEHOLDER[activeTab];
152
+ const [chatOpen, setChatOpen] = useState(false);
153
+ const [messages, setMessages] = useState([]);
154
+ const [chatLoading, setChatLoading] = useState(false);
155
+ const [sessionName, setSessionName] = useState("");
156
+ const [activeSessionId, setActiveSessionId] = useState(void 0);
157
+ const msgId = useRef(0);
158
+ const nextId = () => `m${msgId.current += 1}`;
159
+ const handleAssistantSend = async (content, attachments) => {
160
+ setMessages((prev) => [...prev, {
161
+ id: nextId(),
162
+ role: "user",
163
+ type: "text",
164
+ content,
165
+ timestamp: /* @__PURE__ */ new Date(),
166
+ attachments: attachments && attachments.length > 0 ? attachments : void 0
167
+ }]);
168
+ setChatLoading(true);
169
+ await new Promise((r) => setTimeout(r, 550));
170
+ setMessages((prev) => [...prev, {
171
+ id: nextId(),
172
+ role: "assistant",
173
+ type: "text",
174
+ content: `You asked: “${content}”. This template ships canned replies — wire onSendMessage to your permit backend for real answers.`,
175
+ timestamp: /* @__PURE__ */ new Date()
176
+ }]);
177
+ setChatLoading(false);
178
+ };
179
+ return /* @__PURE__ */ jsxs("div", {
180
+ className: "wwc:flex wwc:h-full wwc:min-h-0 wwc:bg-background wwc:text-foreground",
181
+ children: [/* @__PURE__ */ jsx(CoreAppSidebar, {
182
+ viewLevel: "org",
183
+ orgGroups: NAV_GROUPS,
184
+ activeItemId: "work-permits",
185
+ showSearch: false,
186
+ showNotifications: false,
187
+ mobileOpen: navOpen,
188
+ onMobileOpenChange: setNavOpen
189
+ }), /* @__PURE__ */ jsxs("div", {
190
+ className: "wwc:relative wwc:flex wwc:min-w-0 wwc:flex-1 wwc:flex-col",
191
+ children: [/* @__PURE__ */ jsx(CoreAppTopBar, {
192
+ activeLabel: `Work Permits / ${tabLabel(activeTab)}`,
193
+ showProjectSwitcher: true,
194
+ projects: PROJECTS,
195
+ selectedProject: project,
196
+ onSelectProject: setProject,
197
+ showNotifications: true,
198
+ notificationCount: 3,
199
+ onMenuClick: () => setNavOpen(true)
200
+ }), /* @__PURE__ */ jsx("main", {
201
+ className: "wwc:relative wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col wwc:overflow-hidden",
202
+ children: /* @__PURE__ */ jsx(FloatingAssistant, {
203
+ open: chatOpen,
204
+ onOpenChange: setChatOpen,
205
+ messages,
206
+ onMessagesChange: setMessages,
207
+ onSendMessage: handleAssistantSend,
208
+ isLoading: chatLoading,
209
+ triggerLabel: "Open permit assistant",
210
+ availableContext: PERMIT_CONTEXT,
211
+ onUploadFile: (files) => console.log("permit assistant upload", files),
212
+ contextNote: `Using this page as context — Work Permits / ${tabLabel(activeTab)}`,
213
+ sessionName,
214
+ onSessionNameChange: setSessionName,
215
+ sessionNamePlaceholder: "New chat",
216
+ headerActions: [{
217
+ id: "new-chat",
218
+ label: "New chat",
219
+ icon: /* @__PURE__ */ jsx(Plus, {}),
220
+ onSelect: () => {
221
+ setMessages([]);
222
+ setChatLoading(false);
223
+ setSessionName("");
224
+ setActiveSessionId(void 0);
225
+ }
226
+ }],
227
+ sessions: PERMIT_SESSIONS,
228
+ activeSessionId,
229
+ onSelectSession: (id) => {
230
+ setActiveSessionId(id);
231
+ setSessionName(PERMIT_SESSIONS.find((x) => x.id === id)?.name ?? "");
232
+ },
233
+ title: "Permit assistant",
234
+ subtitle: "Ask about permit status, templates, approvals, or who is on site under a permit.",
235
+ placeholder: "Ask about permits…",
236
+ suggestedPrompts: [
237
+ "Which permits expire today?",
238
+ "Show hot-work permits awaiting approval",
239
+ "What changed in the confined-space template?",
240
+ "Who is signed on under permit WP-1042?"
241
+ ],
242
+ children: /* @__PURE__ */ jsxs("div", {
243
+ className: "wwc:flex wwc:h-full wwc:min-h-0 wwc:flex-col",
244
+ children: [/* @__PURE__ */ jsx(PageContentHeader, {
245
+ variant: "navigation",
246
+ title: "Work Permits",
247
+ tabs: TABS,
248
+ activeTab,
249
+ onTabChange: (tab) => setActiveTab(tab),
250
+ actions: [{
251
+ id: "settings",
252
+ label: "Settings",
253
+ icon: /* @__PURE__ */ jsx(Settings, { className: "wwc:h-4 wwc:w-4" }),
254
+ presentation: "icon",
255
+ priority: "persistent",
256
+ onSelect: () => setActiveTab("settings")
257
+ }]
258
+ }), activeTab === "templates" ? /* @__PURE__ */ jsx(PermitTemplatesView, {}) : /* @__PURE__ */ jsx("div", {
259
+ className: "wwc:min-h-0 wwc:flex-1 wwc:overflow-auto",
260
+ children: /* @__PURE__ */ jsx("div", {
261
+ className: "wwc:mx-auto wwc:w-full wwc:max-w-[1200px] wwc:p-6",
262
+ children: /* @__PURE__ */ jsx("div", {
263
+ className: "wwc:flex wwc:min-h-[320px] wwc:items-center wwc:justify-center",
264
+ children: /* @__PURE__ */ jsx(Empty, {
265
+ icon: placeholder.icon,
266
+ title: placeholder.title,
267
+ description: placeholder.description
268
+ })
269
+ })
270
+ })
271
+ })]
272
+ })
273
+ })
274
+ })]
275
+ })]
276
+ });
277
+ }
278
+ //#endregion
279
+ export { WorkPermit };
280
+
281
+ //# sourceMappingURL=core-work-permit.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-work-permit.mjs","names":[],"sources":["../../src/pages/core-work-permit.tsx"],"sourcesContent":["import {\n\tClipboardList,\n\tFileText,\n\tHardHat,\n\tLayoutGrid,\n\tMap,\n\tPlus,\n\tSettings,\n\tShieldAlert,\n\tSparkles,\n\tUsers,\n} from \"lucide-react\";\nimport {useRef, useState} from \"react\";\n\nimport {Empty} from \"../empty\";\nimport {FloatingAssistant} from \"../floating-assistant\";\nimport {CoreAppSidebar, type SidebarNavGroup} from \"../navigation/core-app-sidebar\";\nimport {CoreAppTopBar} from \"../navigation/core-app-top-bar\";\nimport {PageContentHeader} from \"../page-content-header\";\nimport type {PromptAttachment} from \"../prompt-input\";\nimport type {Message} from \"../types/chat\";\nimport {usePersistentState} from \"../use-persistent-state\";\nimport type {ViewTabItem} from \"../view-tab-bar\";\nimport {PermitTemplatesView} from \"./work-permit-templates\";\n\n// Work Permit — the permit-management template scaffold. Same shell as Workforce\n// (CoreAppSidebar + CoreAppTopBar + PageContentHeader) with a single \"Work Permits\" sidebar entry\n// and a route header carrying five tabs — Dashboard, Work Permits, Templates, Map, AI Agent — plus a\n// Settings gear on the far right.\n//\n// Templates is the one tab with a real surface: PermitTemplatesView (work-permit-templates.tsx), the\n// versioned template register, built to the same shape as the Workforce Crews list. Every OTHER tab\n// body is still a placeholder naming what belongs in it, so the scaffold reads as a plan rather than\n// as something broken.\n//\n// Settings is the far-right icon ACTION, not a sixth tab, which is where Safety Manager and Workforce\n// both put it. The tabs are the permit WORK — where a permit is, what it looks like on the map, what\n// the register holds — and configuration is not one of those; sitting in the row it made the strip\n// read as six peers when it is five and a lever. It still opens as a full body, exactly as the tabs\n// do, so nothing about the surface itself changed.\n\n// Items the assistant's \"Add context\" picker offers — demo data, like the sessions below.\nconst PERMIT_CONTEXT = [\n\t{\n\t\tid: \"ctx-open-permits\",\n\t\tlabel: \"Open permits — Uptown Tower\",\n\t\tdescription: \"42 active, 6 expiring\",\n\t\ticon: <ClipboardList className=\"wwc:h-3.5 wwc:w-3.5\" />,\n\t},\n\t{\n\t\tid: \"ctx-hot-work-template\",\n\t\tlabel: \"Hot Work Permit v4\",\n\t\tdescription: \"Published template\",\n\t\ticon: <FileText className=\"wwc:h-3.5 wwc:w-3.5\" />,\n\t},\n\t{\n\t\tid: \"ctx-isolation-register\",\n\t\tlabel: \"Isolation register\",\n\t\tdescription: \"Electrical + mechanical locks\",\n\t\ticon: <ShieldAlert className=\"wwc:h-3.5 wwc:w-3.5\" />,\n\t},\n\t{\n\t\tid: \"ctx-signed-on\",\n\t\tlabel: \"Workers signed on today\",\n\t\tdescription: \"318 across 27 permits\",\n\t\ticon: <Users className=\"wwc:h-3.5 wwc:w-3.5\" />,\n\t},\n\t{\n\t\tid: \"ctx-competency\",\n\t\tlabel: \"Competency matrix\",\n\t\tdescription: \"Confined-space entrants\",\n\t\ticon: <HardHat className=\"wwc:h-3.5 wwc:w-3.5\" />,\n\t},\n];\n\n// Past assistant conversations — demo data, like everything else this template renders.\nconst PERMIT_SESSIONS = [\n\t{id: \"wp-s1\", name: \"Hot work near Tank 3\", preview: \"Two permits awaiting approval\", updatedAt: \"1h ago\"},\n\t{id: \"wp-s2\", name: \"Confined-space template v3\", preview: \"Gas-test step added\", updatedAt: \"Yesterday\"},\n\t{id: \"wp-s3\", name: \"Expiring permits — Uptown\", preview: \"6 expire before Friday\", updatedAt: \"Tue\"},\n];\n\ntype WorkPermitTabId = \"dashboard\" | \"work-permits\" | \"templates\" | \"map\" | \"ai-agent\" | \"settings\";\n\nconst NAV_GROUPS: SidebarNavGroup[] = [{items: [{id: \"work-permits\", label: \"Work Permits\", icon: ClipboardList}]}];\n\n// Projects for the top-bar switcher (sample fixtures). Shares the `wc3.project` key with the other\n// templates, so switching project in one and opening another keeps the same selection.\nconst PROJECTS = [\"Uptown Tower\", \"Marina Heights\", \"Riyadh Metro — Line 3\", \"NEOM Site 4\", \"Jeddah Waterfront\"];\n\nconst TABS: ViewTabItem<WorkPermitTabId>[] = [\n\t{id: \"dashboard\", label: \"Dashboard\", icon: LayoutGrid},\n\t{id: \"work-permits\", label: \"Work Permits\", icon: ClipboardList},\n\t{id: \"templates\", label: \"Templates\", icon: FileText},\n\t{id: \"map\", label: \"Map\", icon: Map},\n\t// The badge is the tab's own affordance rather than a disabled state: the tab still opens and\n\t// says what is coming, which is more use than a control that refuses to respond.\n\t{id: \"ai-agent\", label: \"AI Agent\", icon: Sparkles, badge: \"SOON\"},\n];\n\nconst TAB_PLACEHOLDER: Record<WorkPermitTabId, {title: string; description: string; icon: React.ReactNode}> = {\n\tdashboard: {\n\t\ttitle: \"Dashboard\",\n\t\tdescription: \"Permit volumes, approval turnaround and what is currently blocking work will appear here.\",\n\t\ticon: <LayoutGrid className=\"wwc:h-6 wwc:w-6\" />,\n\t},\n\t\"work-permits\": {\n\t\ttitle: \"Work Permits\",\n\t\tdescription: \"The permit register — every permit, its state and who holds it — will appear here.\",\n\t\ticon: <ClipboardList className=\"wwc:h-6 wwc:w-6\" />,\n\t},\n\ttemplates: {\n\t\ttitle: \"Templates\",\n\t\tdescription: \"Reusable permit definitions — the form, the workflow and the rules each permit type carries.\",\n\t\ticon: <FileText className=\"wwc:h-6 wwc:w-6\" />,\n\t},\n\tmap: {\n\t\ttitle: \"Map\",\n\t\tdescription: \"Permits placed on the site map, so a zone shows what is authorised inside it.\",\n\t\ticon: <Map className=\"wwc:h-6 wwc:w-6\" />,\n\t},\n\t\"ai-agent\": {\n\t\ttitle: \"AI Agent\",\n\t\tdescription: \"Coming soon — an assistant that drafts permits, checks them against the rules and chases approvals.\",\n\t\ticon: <Sparkles className=\"wwc:h-6 wwc:w-6\" />,\n\t},\n\tsettings: {\n\t\ttitle: \"Settings\",\n\t\tdescription: \"Permit types, approval chains, validity windows and notification rules will appear here.\",\n\t\ticon: <Settings className=\"wwc:h-6 wwc:w-6\" />,\n\t},\n};\n\n// Settings is not in TABS, so the breadcrumb has to name it from the placeholder rather than the tab\n// row. Everything else resolves out of TABS as before.\nconst tabLabel = (id: WorkPermitTabId) => TABS.find((tab) => tab.id === id)?.label ?? TAB_PLACEHOLDER[id].title;\n\n/**\n * Work Permit template scaffold. Renders its own app shell and a route header whose five tabs —\n * Dashboard, Work Permits, Templates, Map, AI Agent — plus a far-right Settings gear all open\n * placeholders for now.\n *\n * @deprecated Preview/demo prototype — renders built-in sample data and mock handlers. Not a\n * supported production import: compose your page from the widgets this template uses, wired to your\n * own data (see the CoreWorkPermit template docs in Storybook). Slated for removal from the public\n * API in a future major.\n */\nexport function WorkPermit() {\n\t// Persisted so a reload keeps the same tab and selected project — same wiring as Workforce.\n\tconst [activeTab, setActiveTab] = usePersistentState<WorkPermitTabId>(\"wc3.work-permit.tab\", \"dashboard\");\n\tconst [project, setProject] = usePersistentState<string>(\"wc3.project\", PROJECTS[0]);\n\t// Mobile navigation drawer — the top-bar hamburger opens the sidebar as a left sheet.\n\tconst [navOpen, setNavOpen] = useState(false);\n\n\tconst placeholder = TAB_PLACEHOLDER[activeTab];\n\n\t// Floating permit assistant. Canned replies, like the rest of this preview template.\n\tconst [chatOpen, setChatOpen] = useState(false);\n\tconst [messages, setMessages] = useState<Message[]>([]);\n\tconst [chatLoading, setChatLoading] = useState(false);\n\t// Untitled until the conversation names it; editable by hand in the meantime.\n\tconst [sessionName, setSessionName] = useState(\"\");\n\tconst [activeSessionId, setActiveSessionId] = useState<string | undefined>(undefined);\n\tconst msgId = useRef(0);\n\tconst nextId = () => `m${(msgId.current += 1)}`;\n\n\t// `attachments` is the second argument of onSendMessage — carry it onto the user message, or the\n\t// composer clears and what was attached is lost.\n\tconst handleAssistantSend = async (content: string, attachments?: PromptAttachment[]) => {\n\t\tsetMessages((prev) => [\n\t\t\t...prev,\n\t\t\t{\n\t\t\t\tid: nextId(),\n\t\t\t\trole: \"user\",\n\t\t\t\ttype: \"text\",\n\t\t\t\tcontent,\n\t\t\t\ttimestamp: new Date(),\n\t\t\t\tattachments: attachments && attachments.length > 0 ? attachments : undefined,\n\t\t\t},\n\t\t]);\n\t\tsetChatLoading(true);\n\t\tawait new Promise((r) => setTimeout(r, 550));\n\t\tsetMessages((prev) => [\n\t\t\t...prev,\n\t\t\t{\n\t\t\t\tid: nextId(),\n\t\t\t\trole: \"assistant\",\n\t\t\t\ttype: \"text\",\n\t\t\t\tcontent: `You asked: “${content}”. This template ships canned replies — wire onSendMessage to your permit backend for real answers.`,\n\t\t\t\ttimestamp: new Date(),\n\t\t\t},\n\t\t]);\n\t\tsetChatLoading(false);\n\t};\n\n\treturn (\n\t\t<div className=\"wwc:flex wwc:h-full wwc:min-h-0 wwc:bg-background wwc:text-foreground\">\n\t\t\t<CoreAppSidebar\n\t\t\t\tviewLevel=\"org\"\n\t\t\t\torgGroups={NAV_GROUPS}\n\t\t\t\tactiveItemId=\"work-permits\"\n\t\t\t\tshowSearch={false}\n\t\t\t\tshowNotifications={false}\n\t\t\t\tmobileOpen={navOpen}\n\t\t\t\tonMobileOpenChange={setNavOpen}\n\t\t\t/>\n\n\t\t\t<div className=\"wwc:relative wwc:flex wwc:min-w-0 wwc:flex-1 wwc:flex-col\">\n\t\t\t\t<CoreAppTopBar\n\t\t\t\t\tactiveLabel={`Work Permits / ${tabLabel(activeTab)}`}\n\t\t\t\t\tshowProjectSwitcher\n\t\t\t\t\tprojects={PROJECTS}\n\t\t\t\t\tselectedProject={project}\n\t\t\t\t\tonSelectProject={setProject}\n\t\t\t\t\tshowNotifications\n\t\t\t\t\tnotificationCount={3}\n\t\t\t\t\tonMenuClick={() => setNavOpen(true)}\n\t\t\t\t/>\n\n\t\t\t\t{/*\n\t\t\t\t * The assistant docks inside the content area, so the shell chrome (sidebar, top bar) stays put\n\t\t\t\t * and only the permit surface narrows when the panel opens.\n\t\t\t\t */}\n\t\t\t\t<main className=\"wwc:relative wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col wwc:overflow-hidden\">\n\t\t\t\t\t<FloatingAssistant\n\t\t\t\t\t\topen={chatOpen}\n\t\t\t\t\t\tonOpenChange={setChatOpen}\n\t\t\t\t\t\tmessages={messages}\n\t\t\t\t\t\tonMessagesChange={setMessages}\n\t\t\t\t\t\tonSendMessage={handleAssistantSend}\n\t\t\t\t\t\tisLoading={chatLoading}\n\t\t\t\t\t\ttriggerLabel=\"Open permit assistant\"\n\t\t\t\t\t\tavailableContext={PERMIT_CONTEXT}\n\t\t\t\t\t\tonUploadFile={(files) => console.log(\"permit assistant upload\", files)}\n\t\t\t\t\t\tcontextNote={`Using this page as context — Work Permits / ${tabLabel(activeTab)}`}\n\t\t\t\t\t\tsessionName={sessionName}\n\t\t\t\t\t\tonSessionNameChange={setSessionName}\n\t\t\t\t\t\tsessionNamePlaceholder=\"New chat\"\n\t\t\t\t\t\theaderActions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tid: \"new-chat\",\n\t\t\t\t\t\t\t\tlabel: \"New chat\",\n\t\t\t\t\t\t\t\ticon: <Plus />,\n\t\t\t\t\t\t\t\tonSelect: () => {\n\t\t\t\t\t\t\t\t\tsetMessages([]);\n\t\t\t\t\t\t\t\t\tsetChatLoading(false);\n\t\t\t\t\t\t\t\t\tsetSessionName(\"\");\n\t\t\t\t\t\t\t\t\tsetActiveSessionId(undefined);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tsessions={PERMIT_SESSIONS}\n\t\t\t\t\t\tactiveSessionId={activeSessionId}\n\t\t\t\t\t\tonSelectSession={(id) => {\n\t\t\t\t\t\t\tsetActiveSessionId(id);\n\t\t\t\t\t\t\tsetSessionName(PERMIT_SESSIONS.find((x) => x.id === id)?.name ?? \"\");\n\t\t\t\t\t\t}}\n\t\t\t\t\t\ttitle=\"Permit assistant\"\n\t\t\t\t\t\tsubtitle=\"Ask about permit status, templates, approvals, or who is on site under a permit.\"\n\t\t\t\t\t\tplaceholder=\"Ask about permits…\"\n\t\t\t\t\t\tsuggestedPrompts={[\n\t\t\t\t\t\t\t\"Which permits expire today?\",\n\t\t\t\t\t\t\t\"Show hot-work permits awaiting approval\",\n\t\t\t\t\t\t\t\"What changed in the confined-space template?\",\n\t\t\t\t\t\t\t\"Who is signed on under permit WP-1042?\",\n\t\t\t\t\t\t]}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"wwc:flex wwc:h-full wwc:min-h-0 wwc:flex-col\">\n\t\t\t\t\t\t\t<PageContentHeader\n\t\t\t\t\t\t\t\tvariant=\"navigation\"\n\t\t\t\t\t\t\t\ttitle=\"Work Permits\"\n\t\t\t\t\t\t\t\ttabs={TABS}\n\t\t\t\t\t\t\t\tactiveTab={activeTab}\n\t\t\t\t\t\t\t\tonTabChange={(tab) => setActiveTab(tab as WorkPermitTabId)}\n\t\t\t\t\t\t\t\t// Far right, as an icon, the way Safety Manager and Workforce both carry theirs. While it\n\t\t\t\t\t\t\t\t// is open no tab is active — \"settings\" is not one of them — which is the honest state:\n\t\t\t\t\t\t\t\t// the gear took you off the tab row rather than to another stop on it.\n\t\t\t\t\t\t\t\tactions={[\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tid: \"settings\",\n\t\t\t\t\t\t\t\t\t\tlabel: \"Settings\",\n\t\t\t\t\t\t\t\t\t\ticon: <Settings className=\"wwc:h-4 wwc:w-4\" />,\n\t\t\t\t\t\t\t\t\t\tpresentation: \"icon\",\n\t\t\t\t\t\t\t\t\t\tpriority: \"persistent\",\n\t\t\t\t\t\t\t\t\t\tonSelect: () => setActiveTab(\"settings\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t{activeTab === \"templates\" ? (\n\t\t\t\t\t\t\t\t<PermitTemplatesView />\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<div className=\"wwc:min-h-0 wwc:flex-1 wwc:overflow-auto\">\n\t\t\t\t\t\t\t\t\t<div className=\"wwc:mx-auto wwc:w-full wwc:max-w-[1200px] wwc:p-6\">\n\t\t\t\t\t\t\t\t\t\t<div className=\"wwc:flex wwc:min-h-[320px] wwc:items-center wwc:justify-center\">\n\t\t\t\t\t\t\t\t\t\t\t<Empty icon={placeholder.icon} title={placeholder.title} description={placeholder.description} />\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</FloatingAssistant>\n\t\t\t\t</main>\n\t\t\t</div>\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;;AA0CA,MAAM,iBAAiB;CACtB;EACC,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM,oBAAC,eAAD,EAAe,WAAU,sBAAuB,CAAA;CACvD;CACA;EACC,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM,oBAAC,UAAD,EAAU,WAAU,sBAAuB,CAAA;CAClD;CACA;EACC,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM,oBAAC,aAAD,EAAa,WAAU,sBAAuB,CAAA;CACrD;CACA;EACC,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM,oBAAC,OAAD,EAAO,WAAU,sBAAuB,CAAA;CAC/C;CACA;EACC,IAAI;EACJ,OAAO;EACP,aAAa;EACb,MAAM,oBAAC,SAAD,EAAS,WAAU,sBAAuB,CAAA;CACjD;AACD;AAGA,MAAM,kBAAkB;CACvB;EAAC,IAAI;EAAS,MAAM;EAAwB,SAAS;EAAiC,WAAW;CAAQ;CACzG;EAAC,IAAI;EAAS,MAAM;EAA8B,SAAS;EAAuB,WAAW;CAAW;CACxG;EAAC,IAAI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Y;SAAc,CAAA;QAC5F,CAAA;OACD,CAAA;MACD,CAAA,CAEF;;IACa,CAAA;GACd,CAAA,CACF;EACD,CAAA,CAAA;;AAEP"}
@@ -0,0 +1,24 @@
1
+ //#region src/pages/core-workforce.d.ts
2
+ export interface WorkforceProps {
3
+ /**
4
+ * What fills the Map View tab — a 3D/map engine mounted by the consuming app (e.g. a
5
+ * FragmentViewer, the same way Site Reality takes a `stage`). The template can't resolve the
6
+ * engine's worker URL itself, so the app supplies the ready-made stage. Falls back to a
7
+ * placeholder when omitted.
8
+ */
9
+ mapStage?: React.ReactNode;
10
+ }
11
+ /**
12
+ * Workforce template scaffold. Renders its own app shell and a content area that toggles
13
+ * between the route header (tabs + a Settings action) and a Settings sub-surface (SideMenu +
14
+ * content). Live surfaces fill Workers List, Crews, OBS, Compliance, and — when `mapStage` is
15
+ * provided — Map View; the rest stay placeholders.
16
+ *
17
+ * @deprecated Preview/demo prototype — renders built-in sample data and mock handlers. Not a
18
+ * supported production import: compose your page from the widgets this template uses, wired to your
19
+ * own data (see the CoreWorkforce template docs in Storybook). Slated for removal from the public API in a
20
+ * future major.
21
+ */
22
+ export declare function Workforce({ mapStage }?: WorkforceProps): import("react/jsx-runtime").JSX.Element;
23
+ //#endregion
24
+ //# sourceMappingURL=core-workforce.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-workforce.d.mts","names":[],"sources":["../../src/pages/core-workforce.tsx"],"mappings":";iBAymCiB;;;;;;;EAOhB,WAAW,MAAM;;;;;;;;;;;;;wBAcF,YAAW,aAAW,6CAAmB,IAAA"}