@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,2175 @@
1
+ import { Badge } from "../badge.mjs";
2
+ import { HoverTooltip } from "../tooltip.mjs";
3
+ import { Button } from "../button.mjs";
4
+ import { Card } from "../card.mjs";
5
+ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../select.mjs";
6
+ import { Tabs, TabsList, TabsTrigger } from "../tabs.mjs";
7
+ import { Field, FieldLabel } from "../field.mjs";
8
+ import { Input } from "../input.mjs";
9
+ import { AddClinicLocationDialog } from "../add-clinic-location-dialog.mjs";
10
+ import { AddClinicVisitDialog } from "../add-clinic-visit-dialog.mjs";
11
+ import { Checkbox } from "../checkbox.mjs";
12
+ import { AssignDoctorDialog } from "../assign-doctor-dialog.mjs";
13
+ import { AttentionList, AttentionListItem } from "../attention-list.mjs";
14
+ import { Avatar, AvatarFallback } from "../avatar.mjs";
15
+ import { Filter as Filter$1, FilterCategory, FilterContent, FilterOption, FilterTrigger } from "../filter.mjs";
16
+ import { DataTable, DataTableColumnHeader, DataTableRowActions } from "../data-table.mjs";
17
+ import { FormActionBar } from "../form-action-bar.mjs";
18
+ import { MetricCard } from "../metric-card.mjs";
19
+ import { Toaster } from "../sonner.mjs";
20
+ import { PageContentHeader } from "../page-content-header.mjs";
21
+ import { ProgressStat } from "../progress-stat.mjs";
22
+ import { SideMenu } from "../side-menu.mjs";
23
+ import { RuleList, RuleRow } from "../rule-row.mjs";
24
+ import { ScoreGauge } from "../score-gauge.mjs";
25
+ import { SectionHeader } from "../section-header.mjs";
26
+ import { TrendChart } from "../trend-chart.mjs";
27
+ import { CoreAppSidebar } from "../navigation/core-app-sidebar.mjs";
28
+ import { CoreAppTopBar } from "../navigation/core-app-top-bar.mjs";
29
+ import { ontologyScopeCounts } from "./wc3-ontology-scope.mjs";
30
+ import { ONTOLOGY_VIEWS } from "./wc3-ontology-views.mjs";
31
+ import { cn } from "@corensystem/coren-utils";
32
+ import { Activity, Archive, ArrowRight, Box, Building2, CalendarClock, CalendarPlus, CircleCheck, CircleX, Clock, Dna, Download, Eye, Folder, HeartPulse, Link2, ListOrdered, Network, Pencil, Plus, Puzzle, Save, Settings, ShieldCheck, Stethoscope, Trash2, TriangleAlert, Upload, UserCog, Users, Zap } from "lucide-react";
33
+ import { useMemo, useState } from "react";
34
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
35
+ //#region src/pages/core-clinic.tsx
36
+ const CLINIC_GROUPS = [{ items: [{
37
+ id: "clinic",
38
+ label: "Clinic",
39
+ icon: Stethoscope
40
+ }] }];
41
+ const TABS = [{
42
+ id: "overview",
43
+ label: "Overview",
44
+ icon: Activity
45
+ }, {
46
+ id: "worker-fitness",
47
+ label: "Worker Fitness",
48
+ icon: HeartPulse
49
+ }];
50
+ const CLINIC_ONTOLOGY_SCOPE = { objectTypeIds: [
51
+ "ot_worker",
52
+ "ot_cert",
53
+ "ot_zone",
54
+ "ot_site",
55
+ "ot_project"
56
+ ] };
57
+ const ONTOLOGY_COUNTS = ontologyScopeCounts(CLINIC_ONTOLOGY_SCOPE);
58
+ const SETTINGS_GROUPS = [{
59
+ label: "System",
60
+ items: [
61
+ {
62
+ id: "visit-frequency",
63
+ label: "Visit Frequency",
64
+ icon: CalendarClock
65
+ },
66
+ {
67
+ id: "age-rules",
68
+ label: "Age-Based Rules",
69
+ icon: ListOrdered
70
+ },
71
+ {
72
+ id: "clinics",
73
+ label: "Clinics",
74
+ icon: Building2
75
+ },
76
+ {
77
+ id: "doctors",
78
+ label: "Doctors",
79
+ icon: UserCog
80
+ }
81
+ ]
82
+ }, {
83
+ label: "Ontology",
84
+ items: [
85
+ {
86
+ id: "object-types",
87
+ label: "Object types",
88
+ icon: Box,
89
+ count: ONTOLOGY_COUNTS["object-types"]
90
+ },
91
+ {
92
+ id: "link-types",
93
+ label: "Link types",
94
+ icon: Link2,
95
+ count: ONTOLOGY_COUNTS["link-types"]
96
+ },
97
+ {
98
+ id: "action-types",
99
+ label: "Action types",
100
+ icon: Zap,
101
+ count: ONTOLOGY_COUNTS["action-types"]
102
+ },
103
+ {
104
+ id: "interfaces",
105
+ label: "Interfaces",
106
+ icon: Dna,
107
+ count: ONTOLOGY_COUNTS.interfaces
108
+ },
109
+ {
110
+ id: "shared-properties",
111
+ label: "Shared properties",
112
+ icon: Puzzle,
113
+ count: ONTOLOGY_COUNTS["shared-properties"]
114
+ },
115
+ {
116
+ id: "type-groups",
117
+ label: "Type groups",
118
+ icon: Folder,
119
+ count: ONTOLOGY_COUNTS["type-groups"]
120
+ },
121
+ {
122
+ id: "graph",
123
+ label: "Graph explorer",
124
+ icon: Network,
125
+ count: ONTOLOGY_COUNTS["link-types"]
126
+ }
127
+ ]
128
+ }];
129
+ const ONTOLOGY_SETTING_VIEW_IDS = {
130
+ "object-types": "object-types",
131
+ "link-types": "link-types",
132
+ "action-types": "action-types",
133
+ interfaces: "interfaces",
134
+ "shared-properties": "shared-properties",
135
+ "type-groups": "groups",
136
+ graph: "graph"
137
+ };
138
+ const ONTOLOGY_DESCRIPTION = {
139
+ "object-types": "Define the object types this product works with.",
140
+ "link-types": "Define how those object types relate to one another.",
141
+ "action-types": "Configure the actions that can be run against them.",
142
+ interfaces: "Manage shared interfaces object types can implement.",
143
+ "shared-properties": "Manage properties reused across object types.",
144
+ "type-groups": "Group related types for navigation and permissions.",
145
+ graph: "Explore how this product's object types relate to one another."
146
+ };
147
+ const SETTINGS_ITEMS = SETTINGS_GROUPS.flatMap((group) => group.items);
148
+ const settingLabel = (id) => SETTINGS_ITEMS.find((item) => item.id === id)?.label ?? "Settings";
149
+ const tabLabel = (id) => TABS.find((tab) => tab.id === id)?.label ?? "";
150
+ const FITNESS_LABEL = {
151
+ fit: "Fit",
152
+ unfit: "Unfit",
153
+ pending: "Pending re-eval",
154
+ overdue: "Overdue"
155
+ };
156
+ const FITNESS_DOT = {
157
+ fit: "wwc:bg-green-500",
158
+ unfit: "wwc:bg-red-500",
159
+ pending: "wwc:bg-amber-500",
160
+ overdue: "wwc:bg-red-500"
161
+ };
162
+ const FITNESS_WORKERS = [
163
+ {
164
+ id: "w-1",
165
+ name: "Chandra Bahadur Gurung",
166
+ code: "2500796962",
167
+ company: "TR-KAEFER",
168
+ trade: "DIRECT-SCAFFOLDER",
169
+ status: "fit",
170
+ lastSeen: "20 Jul 2026",
171
+ totalVisits: 1,
172
+ lastVisit: "20 Jul 2026",
173
+ nextDue: "20 Jan 2027"
174
+ },
175
+ {
176
+ id: "w-2",
177
+ name: "Mohammad Gulshad",
178
+ code: "2563104617",
179
+ company: "TR-KAEFER",
180
+ trade: "DIRECT-SCAFFOLDING HELPER",
181
+ status: "fit",
182
+ lastSeen: "20 Jul 2026",
183
+ totalVisits: 1,
184
+ lastVisit: "20 Jul 2026",
185
+ nextDue: "20 Jan 2027"
186
+ },
187
+ {
188
+ id: "w-3",
189
+ name: "SIKANDAR KHAN",
190
+ code: "2554629937",
191
+ company: "TR",
192
+ trade: "Indirect-HVAC SUPERVISOR",
193
+ status: "fit",
194
+ lastSeen: "20 Jul 2026",
195
+ totalVisits: 1,
196
+ lastVisit: "20 Jul 2026",
197
+ nextDue: "20 Jan 2027"
198
+ },
199
+ {
200
+ id: "w-4",
201
+ name: "DILIP BISWAS MATILAL BISWAS",
202
+ code: "2272360658",
203
+ company: "TR-SFEC",
204
+ trade: "Direct-Carpenter",
205
+ status: "fit",
206
+ lastSeen: "20 Jul 2026",
207
+ totalVisits: 1,
208
+ lastVisit: "20 Jul 2026",
209
+ nextDue: "20 Jan 2027"
210
+ },
211
+ {
212
+ id: "w-5",
213
+ name: "MD ASHRAF",
214
+ code: "W3309449",
215
+ company: "TR-AIC",
216
+ trade: "DIRECT-Pipe Fitter",
217
+ status: "fit",
218
+ lastSeen: "19 Jul 2026",
219
+ totalVisits: 1,
220
+ lastVisit: "19 Jul 2026",
221
+ nextDue: "19 Jan 2027"
222
+ },
223
+ {
224
+ id: "w-6",
225
+ name: "MOHAMMED JAMIL",
226
+ code: "2533496325",
227
+ company: "TR-ELECO",
228
+ trade: "DIRECT-SCAFFOLDER",
229
+ status: "fit",
230
+ lastSeen: "18 Jul 2026",
231
+ totalVisits: 1,
232
+ lastVisit: "18 Jul 2026",
233
+ nextDue: "18 Jan 2027"
234
+ },
235
+ {
236
+ id: "w-7",
237
+ name: "MD SAIFUL ISLAM MD",
238
+ code: "2469410498",
239
+ company: "TR-SFEC",
240
+ trade: "Direct-Steel Fixer",
241
+ status: "fit",
242
+ lastSeen: "18 Jul 2026",
243
+ totalVisits: 1,
244
+ lastVisit: "18 Jul 2026",
245
+ nextDue: "18 Jan 2027"
246
+ },
247
+ {
248
+ id: "w-8",
249
+ name: "NARAYAN DEEP CHAND",
250
+ code: "2327348492",
251
+ company: "TR-SFEC",
252
+ trade: "Direct-Carpenter",
253
+ status: "fit",
254
+ lastSeen: "20 Jul 2026",
255
+ totalVisits: 2,
256
+ lastVisit: "20 Jul 2026",
257
+ nextDue: "20 Jan 2027"
258
+ },
259
+ {
260
+ id: "w-9",
261
+ name: "SHAMSHAD ALI MOHAMMAD KHALIL",
262
+ code: "2326588767",
263
+ company: "TR-SFEC",
264
+ trade: "Direct-Carpenter",
265
+ status: "fit",
266
+ lastSeen: "20 Jul 2026",
267
+ totalVisits: 2,
268
+ lastVisit: "20 Jul 2026",
269
+ nextDue: "20 Jan 2027"
270
+ },
271
+ {
272
+ id: "w-10",
273
+ name: "RAJESH KUMAR YADAV",
274
+ code: "2318874401",
275
+ company: "TR-KAEFER",
276
+ trade: "Direct-Welder",
277
+ status: "pending",
278
+ lastSeen: "02 Feb 2026",
279
+ totalVisits: 3,
280
+ lastVisit: "02 Feb 2026",
281
+ nextDue: "02 Aug 2026"
282
+ },
283
+ {
284
+ id: "w-11",
285
+ name: "ABDUL RAHMAN SIDDIQUI",
286
+ code: "2401553120",
287
+ company: "TR-AIC",
288
+ trade: "Indirect-Store Keeper",
289
+ status: "overdue",
290
+ lastSeen: "11 Sep 2025",
291
+ totalVisits: 2,
292
+ lastVisit: "11 Sep 2025",
293
+ nextDue: "11 Mar 2026"
294
+ },
295
+ {
296
+ id: "w-12",
297
+ name: "SURESH CHANDRA PATEL",
298
+ code: "2287410093",
299
+ company: "TR-ELECO",
300
+ trade: "Direct-Electrician",
301
+ status: "overdue",
302
+ lastSeen: "24 Jun 2025",
303
+ totalVisits: 1,
304
+ lastVisit: "24 Jun 2025",
305
+ nextDue: "24 Dec 2025"
306
+ }
307
+ ];
308
+ const VISIT_LOGS = [
309
+ {
310
+ id: "v-1",
311
+ workerName: "NARAYAN DEEP CHAND",
312
+ workerRef: "2327348492",
313
+ dateTime: "20 Jul 2026, 16:25",
314
+ duration: "10m",
315
+ outcome: "fit",
316
+ reason: "Illness / Symptoms",
317
+ clinic: "TR-TCF CLINIC",
318
+ loggedBy: "RIYASCLINIC"
319
+ },
320
+ {
321
+ id: "v-2",
322
+ workerName: "HASSAN SHEIKH",
323
+ workerRef: "2444509018",
324
+ dateTime: "20 Jul 2026, 16:20",
325
+ duration: "5m",
326
+ outcome: "fit",
327
+ reason: "Illness / Symptoms",
328
+ clinic: "TR-TCF CLINIC",
329
+ loggedBy: "RIYASCLINIC"
330
+ },
331
+ {
332
+ id: "v-3",
333
+ workerName: "SHAMSHAD ALI MOHAMMAD KHALIL",
334
+ workerRef: "2326588767",
335
+ dateTime: "20 Jul 2026, 16:15",
336
+ duration: "5m",
337
+ outcome: "fit",
338
+ reason: "Illness / Symptoms",
339
+ clinic: "TR-TCF CLINIC",
340
+ loggedBy: "RIYASCLINIC"
341
+ },
342
+ {
343
+ id: "v-4",
344
+ workerName: "IBRAHIM BAHAA",
345
+ workerRef: "AERAMCO",
346
+ isVisitor: true,
347
+ dateTime: "20 Jul 2026, 15:30",
348
+ duration: "10m",
349
+ outcome: "fit",
350
+ reason: "Illness / Symptoms",
351
+ clinic: "TR-TCF CLINIC",
352
+ loggedBy: "RIYASCLINIC"
353
+ },
354
+ {
355
+ id: "v-5",
356
+ workerName: "THOMAS THOMAS",
357
+ workerRef: "W0892276",
358
+ dateTime: "20 Jul 2026, 15:05",
359
+ duration: "10m",
360
+ outcome: "fit",
361
+ reason: "Illness / Symptoms",
362
+ clinic: "TR-TCF CLINIC",
363
+ loggedBy: "RIYASCLINIC"
364
+ },
365
+ {
366
+ id: "v-6",
367
+ workerName: "VIJAYANATHAN",
368
+ workerRef: "TR",
369
+ isVisitor: true,
370
+ dateTime: "20 Jul 2026, 12:30",
371
+ duration: "15m",
372
+ outcome: "fit",
373
+ reason: "Illness / Symptoms",
374
+ clinic: "TR-TCF CLINIC",
375
+ loggedBy: "RIYASCLINIC"
376
+ },
377
+ {
378
+ id: "v-7",
379
+ workerName: "Chandra Bahadur Gurung",
380
+ workerRef: "2500796962",
381
+ dateTime: "20 Jul 2026, 09:40",
382
+ duration: "20m",
383
+ outcome: "fit",
384
+ reason: "Illness / Symptoms",
385
+ clinic: "TR-TCF CLINIC",
386
+ loggedBy: "RIYASCLINIC"
387
+ },
388
+ {
389
+ id: "v-8",
390
+ workerName: "Mohammad Gulshad",
391
+ workerRef: "2563104617",
392
+ dateTime: "20 Jul 2026, 09:30",
393
+ duration: "10m",
394
+ outcome: "fit",
395
+ reason: "Follow-up",
396
+ clinic: "TR-TCF CLINIC",
397
+ loggedBy: "RIYASCLINIC"
398
+ },
399
+ {
400
+ id: "v-9",
401
+ workerName: "MAHENDRA PUN MAGAR",
402
+ workerRef: "2477320739",
403
+ dateTime: "20 Jul 2026, 09:15",
404
+ duration: "10m",
405
+ outcome: "fit",
406
+ reason: "Follow-up",
407
+ clinic: "TR-TCF CLINIC",
408
+ loggedBy: "RIYASCLINIC"
409
+ },
410
+ {
411
+ id: "v-10",
412
+ workerName: "RAJESH KUMAR YADAV",
413
+ workerRef: "2318874401",
414
+ dateTime: "19 Jul 2026, 14:50",
415
+ duration: "25m",
416
+ outcome: "pending",
417
+ reason: "Periodic Medical",
418
+ clinic: "TR-PKG2 CLINIC",
419
+ loggedBy: "RIYASCLINIC"
420
+ },
421
+ {
422
+ id: "v-11",
423
+ workerName: "SURESH CHANDRA PATEL",
424
+ workerRef: "2287410093",
425
+ dateTime: "19 Jul 2026, 11:05",
426
+ duration: "30m",
427
+ outcome: "unfit",
428
+ reason: "Injury / Incident",
429
+ clinic: "TR-PKG2 CLINIC",
430
+ loggedBy: "AHMEDCLINIC"
431
+ }
432
+ ];
433
+ const VISIT_REASONS = Array.from(new Set(VISIT_LOGS.map((visit) => visit.reason))).sort();
434
+ const VISIT_CLINICS = Array.from(new Set(VISIT_LOGS.map((visit) => visit.clinic))).sort();
435
+ const VISIT_WORKER_OPTIONS = FITNESS_WORKERS.map((worker) => ({
436
+ value: worker.id,
437
+ label: `${worker.name} — ${worker.code}`
438
+ }));
439
+ const VISIT_CLINIC_OPTIONS = VISIT_CLINICS.map((clinic) => ({
440
+ value: clinic,
441
+ label: clinic
442
+ }));
443
+ const VISIT_REASON_OPTIONS = VISIT_REASONS.map((reason) => ({
444
+ value: reason,
445
+ label: reason
446
+ }));
447
+ const VISIT_OUTCOME_OPTIONS = Object.keys(FITNESS_LABEL).filter((status) => status !== "overdue").map((status) => ({
448
+ value: status,
449
+ label: FITNESS_LABEL[status]
450
+ }));
451
+ /** The New Visit dialog, shared by the Workers and Visit Logs toolbars. */
452
+ function NewVisitDialog() {
453
+ return /* @__PURE__ */ jsx(AddClinicVisitDialog, {
454
+ workers: VISIT_WORKER_OPTIONS,
455
+ clinics: VISIT_CLINIC_OPTIONS,
456
+ reasons: VISIT_REASON_OPTIONS,
457
+ fitnessOutcomes: VISIT_OUTCOME_OPTIONS,
458
+ trigger: /* @__PURE__ */ jsxs(Button, { children: [/* @__PURE__ */ jsx(Plus, { className: "wwc:h-4 wwc:w-4" }), "New Visit"] })
459
+ });
460
+ }
461
+ function makeVisitColumns() {
462
+ return [
463
+ {
464
+ id: "select",
465
+ enableSorting: false,
466
+ enableHiding: false,
467
+ meta: { cellClassName: "wwc:w-px wwc:pr-0" },
468
+ header: ({ table }) => /* @__PURE__ */ jsx(Checkbox, {
469
+ checked: table.getIsAllPageRowsSelected() ? true : table.getIsSomePageRowsSelected() ? "indeterminate" : false,
470
+ onCheckedChange: (v) => table.toggleAllPageRowsSelected(!!v),
471
+ "aria-label": "Select all"
472
+ }),
473
+ cell: ({ row }) => /* @__PURE__ */ jsx(Checkbox, {
474
+ checked: row.getIsSelected(),
475
+ onCheckedChange: (v) => row.toggleSelected(!!v),
476
+ "aria-label": "Select row"
477
+ })
478
+ },
479
+ {
480
+ accessorKey: "workerName",
481
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
482
+ column,
483
+ title: "Worker"
484
+ }),
485
+ cell: ({ row }) => /* @__PURE__ */ jsxs("div", {
486
+ className: "wwc:flex wwc:items-center wwc:gap-3",
487
+ children: [/* @__PURE__ */ jsx(Avatar, {
488
+ className: "wwc:h-7 wwc:w-7",
489
+ children: /* @__PURE__ */ jsx(AvatarFallback, {
490
+ className: "wwc:text-[10px]",
491
+ children: initials(row.original.workerName)
492
+ })
493
+ }), /* @__PURE__ */ jsxs("div", {
494
+ className: "wwc:min-w-0",
495
+ children: [/* @__PURE__ */ jsxs("span", {
496
+ className: "wwc:flex wwc:items-center wwc:gap-2 wwc:font-medium",
497
+ children: [row.original.workerName, row.original.isVisitor && /* @__PURE__ */ jsx(Badge, {
498
+ variant: "infoSoft",
499
+ className: "wwc:h-5 wwc:px-1.5 wwc:text-[10px]",
500
+ children: "Visitor"
501
+ })]
502
+ }), /* @__PURE__ */ jsx("span", {
503
+ className: "wwc:text-xs wwc:text-muted-foreground",
504
+ children: row.original.workerRef
505
+ })]
506
+ })]
507
+ })
508
+ },
509
+ {
510
+ accessorKey: "dateTime",
511
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
512
+ column,
513
+ title: "Date/Time"
514
+ })
515
+ },
516
+ {
517
+ accessorKey: "duration",
518
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
519
+ column,
520
+ title: "Duration"
521
+ })
522
+ },
523
+ {
524
+ accessorKey: "outcome",
525
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
526
+ column,
527
+ title: "Outcome"
528
+ }),
529
+ cell: ({ row }) => /* @__PURE__ */ jsxs("span", {
530
+ className: "wwc:flex wwc:items-center wwc:gap-2 wwc:font-medium",
531
+ children: [/* @__PURE__ */ jsx("span", { className: cn("wwc:h-2 wwc:w-2 wwc:shrink-0 wwc:rounded-full", FITNESS_DOT[row.original.outcome]) }), FITNESS_LABEL[row.original.outcome]]
532
+ })
533
+ },
534
+ {
535
+ accessorKey: "reason",
536
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
537
+ column,
538
+ title: "Reason"
539
+ })
540
+ },
541
+ {
542
+ accessorKey: "clinic",
543
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
544
+ column,
545
+ title: "Clinic"
546
+ })
547
+ },
548
+ {
549
+ accessorKey: "loggedBy",
550
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
551
+ column,
552
+ title: "Logged by"
553
+ })
554
+ },
555
+ {
556
+ id: "actions",
557
+ enableSorting: false,
558
+ enableHiding: false,
559
+ meta: { cellClassName: "wwc:w-px wwc:max-w-none wwc:overflow-visible wwc:whitespace-nowrap wwc:text-right" },
560
+ cell: () => /* @__PURE__ */ jsx(DataTableRowActions, { actions: [{
561
+ label: "View visit",
562
+ icon: /* @__PURE__ */ jsx(Eye, { className: "wwc:h-4 wwc:w-4" })
563
+ }, {
564
+ label: "Schedule follow-up",
565
+ icon: /* @__PURE__ */ jsx(CalendarPlus, { className: "wwc:h-4 wwc:w-4" })
566
+ }] })
567
+ }
568
+ ];
569
+ }
570
+ const FITNESS_KPIS = [
571
+ {
572
+ title: "Active Workers",
573
+ value: "973",
574
+ icon: Users
575
+ },
576
+ {
577
+ title: "Fit",
578
+ value: "955",
579
+ status: "success",
580
+ icon: ShieldCheck
581
+ },
582
+ {
583
+ title: "Unfit",
584
+ value: "0",
585
+ status: "warning",
586
+ icon: CircleX
587
+ },
588
+ {
589
+ title: "Pending re-eval",
590
+ value: "18",
591
+ status: "warning",
592
+ icon: Clock
593
+ },
594
+ {
595
+ title: "Overdue Workers",
596
+ value: "565",
597
+ status: "danger",
598
+ icon: TriangleAlert,
599
+ trend: "up",
600
+ trendLabel: "+10 vs last week"
601
+ }
602
+ ];
603
+ const FITNESS_COMPANIES = Array.from(new Set(FITNESS_WORKERS.map((worker) => worker.company))).sort();
604
+ const FITNESS_TRADES = Array.from(new Set(FITNESS_WORKERS.map((worker) => worker.trade))).sort();
605
+ /** Initials for the avatar fallback, mirroring the workforce worker table. */
606
+ function initials(name) {
607
+ return name.split(/\s+/).slice(0, 2).map((part) => part.charAt(0).toUpperCase()).join("");
608
+ }
609
+ /** Toolbar icon button with a tooltip standing in for the label. */
610
+ function IconAction({ label, icon }) {
611
+ return /* @__PURE__ */ jsx(HoverTooltip, {
612
+ content: label,
613
+ children: /* @__PURE__ */ jsx(Button, {
614
+ variant: "outline",
615
+ icon: true,
616
+ "aria-label": label,
617
+ children: icon
618
+ })
619
+ });
620
+ }
621
+ function makeFitnessColumns(onView) {
622
+ return [
623
+ {
624
+ id: "select",
625
+ enableSorting: false,
626
+ enableHiding: false,
627
+ meta: { cellClassName: "wwc:w-px wwc:pr-0" },
628
+ header: ({ table }) => /* @__PURE__ */ jsx(Checkbox, {
629
+ checked: table.getIsAllPageRowsSelected() ? true : table.getIsSomePageRowsSelected() ? "indeterminate" : false,
630
+ onCheckedChange: (v) => table.toggleAllPageRowsSelected(!!v),
631
+ "aria-label": "Select all"
632
+ }),
633
+ cell: ({ row }) => /* @__PURE__ */ jsx(Checkbox, {
634
+ checked: row.getIsSelected(),
635
+ onCheckedChange: (v) => row.toggleSelected(!!v),
636
+ "aria-label": "Select row"
637
+ })
638
+ },
639
+ {
640
+ accessorKey: "name",
641
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
642
+ column,
643
+ title: "Worker"
644
+ }),
645
+ cell: ({ row }) => /* @__PURE__ */ jsxs("div", {
646
+ className: "wwc:flex wwc:items-center wwc:gap-3",
647
+ children: [/* @__PURE__ */ jsx(Avatar, {
648
+ className: "wwc:h-7 wwc:w-7",
649
+ children: /* @__PURE__ */ jsx(AvatarFallback, {
650
+ className: "wwc:text-[10px]",
651
+ children: initials(row.original.name)
652
+ })
653
+ }), /* @__PURE__ */ jsxs("div", {
654
+ className: "wwc:min-w-0",
655
+ children: [/* @__PURE__ */ jsx("button", {
656
+ type: "button",
657
+ onClick: () => onView(row.original),
658
+ className: "wwc:block wwc:text-left wwc:font-medium wwc:transition-colors wwc:hover:text-primary",
659
+ children: row.original.name
660
+ }), /* @__PURE__ */ jsx("span", {
661
+ className: "wwc:text-xs wwc:text-muted-foreground",
662
+ children: row.original.code
663
+ })]
664
+ })]
665
+ })
666
+ },
667
+ {
668
+ accessorKey: "company",
669
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
670
+ column,
671
+ title: "Company"
672
+ })
673
+ },
674
+ {
675
+ accessorKey: "trade",
676
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
677
+ column,
678
+ title: "Trade"
679
+ })
680
+ },
681
+ {
682
+ accessorKey: "status",
683
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
684
+ column,
685
+ title: "Current Status"
686
+ }),
687
+ cell: ({ row }) => /* @__PURE__ */ jsxs("div", {
688
+ className: "wwc:min-w-0",
689
+ children: [/* @__PURE__ */ jsxs("span", {
690
+ className: "wwc:flex wwc:items-center wwc:gap-2 wwc:font-medium",
691
+ children: [/* @__PURE__ */ jsx("span", { className: cn("wwc:h-2 wwc:w-2 wwc:shrink-0 wwc:rounded-full", FITNESS_DOT[row.original.status]) }), FITNESS_LABEL[row.original.status]]
692
+ }), /* @__PURE__ */ jsxs("span", {
693
+ className: "wwc:text-xs wwc:text-muted-foreground",
694
+ children: ["last seen ", row.original.lastSeen]
695
+ })]
696
+ })
697
+ },
698
+ {
699
+ accessorKey: "totalVisits",
700
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
701
+ column,
702
+ title: "Total Visits"
703
+ })
704
+ },
705
+ {
706
+ accessorKey: "lastVisit",
707
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
708
+ column,
709
+ title: "Last Visit"
710
+ })
711
+ },
712
+ {
713
+ accessorKey: "nextDue",
714
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
715
+ column,
716
+ title: "Next Due"
717
+ })
718
+ },
719
+ {
720
+ id: "actions",
721
+ enableSorting: false,
722
+ enableHiding: false,
723
+ meta: { cellClassName: "wwc:w-px wwc:max-w-none wwc:overflow-visible wwc:whitespace-nowrap wwc:text-right" },
724
+ cell: ({ row }) => /* @__PURE__ */ jsx(DataTableRowActions, { actions: [{
725
+ label: "View worker",
726
+ icon: /* @__PURE__ */ jsx(Eye, { className: "wwc:h-4 wwc:w-4" }),
727
+ onSelect: () => onView(row.original)
728
+ }, {
729
+ label: "Log a visit",
730
+ icon: /* @__PURE__ */ jsx(CalendarPlus, { className: "wwc:h-4 wwc:w-4" })
731
+ }] })
732
+ }
733
+ ];
734
+ }
735
+ /** Worker Fitness — KPI row, Workers/Visit Logs tabs, and the reusable DataTable. */
736
+ function WorkerFitnessView() {
737
+ const [listTab, setListTab] = useState("workers");
738
+ const [filters, setFilters] = useState({});
739
+ const [visitFilters, setVisitFilters] = useState({});
740
+ const columns = useMemo(() => makeFitnessColumns(() => {}), []);
741
+ const visitColumns = useMemo(() => makeVisitColumns(), []);
742
+ const data = useMemo(() => FITNESS_WORKERS.filter((worker) => Object.entries(filters).every(([key, selected]) => {
743
+ if (!selected || selected.length === 0) return true;
744
+ return selected.includes(String(worker[key]));
745
+ })), [filters]);
746
+ const visits = useMemo(() => VISIT_LOGS.filter((visit) => Object.entries(visitFilters).every(([key, selected]) => {
747
+ if (!selected || selected.length === 0) return true;
748
+ return selected.includes(String(visit[key]));
749
+ })), [visitFilters]);
750
+ return /* @__PURE__ */ jsx("div", {
751
+ className: "wwc:min-h-0 wwc:flex-1 wwc:overflow-auto",
752
+ children: /* @__PURE__ */ jsxs("div", {
753
+ className: "wwc:w-full wwc:p-6",
754
+ children: [
755
+ /* @__PURE__ */ jsx("div", {
756
+ className: "wwc:mb-4 wwc:grid wwc:grid-cols-5 wwc:gap-4",
757
+ children: FITNESS_KPIS.map((kpi) => /* @__PURE__ */ jsx(MetricCard, {
758
+ title: kpi.title,
759
+ value: kpi.value,
760
+ status: kpi.status,
761
+ icon: kpi.icon,
762
+ trend: kpi.trend,
763
+ trendLabel: kpi.trendLabel
764
+ }, kpi.title))
765
+ }),
766
+ /* @__PURE__ */ jsx(Tabs, {
767
+ value: listTab,
768
+ onValueChange: (value) => setListTab(value),
769
+ children: /* @__PURE__ */ jsxs(TabsList, { children: [/* @__PURE__ */ jsxs(TabsTrigger, {
770
+ value: "workers",
771
+ children: ["Workers", /* @__PURE__ */ jsx(Badge, {
772
+ variant: "secondary",
773
+ className: "wwc:ml-2 wwc:h-5 wwc:px-1.5 wwc:text-[10px]",
774
+ children: "973"
775
+ })]
776
+ }), /* @__PURE__ */ jsxs(TabsTrigger, {
777
+ value: "visit-logs",
778
+ children: ["Visit Logs", /* @__PURE__ */ jsx(Badge, {
779
+ variant: "secondary",
780
+ className: "wwc:ml-2 wwc:h-5 wwc:px-1.5 wwc:text-[10px]",
781
+ children: "5478"
782
+ })]
783
+ })] })
784
+ }),
785
+ listTab === "workers" ? /* @__PURE__ */ jsx(Filter$1, {
786
+ value: filters,
787
+ onChange: setFilters,
788
+ children: /* @__PURE__ */ jsx(DataTable, {
789
+ columns,
790
+ data,
791
+ searchKey: "name",
792
+ searchPlaceholder: "Search by name, code, company…",
793
+ showColumnToggle: true,
794
+ recordLabel: "worker",
795
+ pageSize: 10,
796
+ getRowId: (row) => row.id,
797
+ bulkActions: [{
798
+ label: "Log visits",
799
+ icon: /* @__PURE__ */ jsx(CalendarPlus, { className: "wwc:h-4 wwc:w-4" }),
800
+ onClick: () => {}
801
+ }, {
802
+ label: "Export",
803
+ icon: /* @__PURE__ */ jsx(Download, { className: "wwc:h-4 wwc:w-4" }),
804
+ variant: "outline",
805
+ onClick: () => {}
806
+ }],
807
+ toolbarExtra: /* @__PURE__ */ jsxs(Fragment$1, { children: [
808
+ /* @__PURE__ */ jsx(FilterTrigger, {}),
809
+ /* @__PURE__ */ jsxs(FilterContent, { children: [
810
+ /* @__PURE__ */ jsx(FilterCategory, {
811
+ value: "company",
812
+ label: "Company",
813
+ children: FITNESS_COMPANIES.map((company) => /* @__PURE__ */ jsx(FilterOption, {
814
+ value: company,
815
+ children: company
816
+ }, company))
817
+ }),
818
+ /* @__PURE__ */ jsx(FilterCategory, {
819
+ value: "trade",
820
+ label: "Trade",
821
+ children: FITNESS_TRADES.map((trade) => /* @__PURE__ */ jsx(FilterOption, {
822
+ value: trade,
823
+ children: trade
824
+ }, trade))
825
+ }),
826
+ /* @__PURE__ */ jsx(FilterCategory, {
827
+ value: "status",
828
+ label: "Current Status",
829
+ children: Object.keys(FITNESS_LABEL).map((status) => /* @__PURE__ */ jsx(FilterOption, {
830
+ value: status,
831
+ children: FITNESS_LABEL[status]
832
+ }, status))
833
+ })
834
+ ] }),
835
+ /* @__PURE__ */ jsx(IconAction, {
836
+ label: "Bulk Upload",
837
+ icon: /* @__PURE__ */ jsx(Upload, { className: "wwc:h-4 wwc:w-4" })
838
+ }),
839
+ /* @__PURE__ */ jsx(IconAction, {
840
+ label: "Export (.xlsx)",
841
+ icon: /* @__PURE__ */ jsx(Download, { className: "wwc:h-4 wwc:w-4" })
842
+ }),
843
+ /* @__PURE__ */ jsx(NewVisitDialog, {})
844
+ ] })
845
+ })
846
+ }) : /* @__PURE__ */ jsx(Filter$1, {
847
+ value: visitFilters,
848
+ onChange: setVisitFilters,
849
+ children: /* @__PURE__ */ jsx(DataTable, {
850
+ columns: visitColumns,
851
+ data: visits,
852
+ searchKey: "workerName",
853
+ searchPlaceholder: "Search by name, ID, company…",
854
+ showColumnToggle: true,
855
+ recordLabel: "visit",
856
+ pageSize: 10,
857
+ getRowId: (row) => row.id,
858
+ bulkActions: [{
859
+ label: "Export",
860
+ icon: /* @__PURE__ */ jsx(Download, { className: "wwc:h-4 wwc:w-4" }),
861
+ variant: "outline",
862
+ onClick: () => {}
863
+ }],
864
+ toolbarExtra: /* @__PURE__ */ jsxs(Fragment$1, { children: [
865
+ /* @__PURE__ */ jsx(FilterTrigger, {}),
866
+ /* @__PURE__ */ jsxs(FilterContent, { children: [
867
+ /* @__PURE__ */ jsx(FilterCategory, {
868
+ value: "outcome",
869
+ label: "Outcome",
870
+ children: Object.keys(FITNESS_LABEL).map((status) => /* @__PURE__ */ jsx(FilterOption, {
871
+ value: status,
872
+ children: FITNESS_LABEL[status]
873
+ }, status))
874
+ }),
875
+ /* @__PURE__ */ jsx(FilterCategory, {
876
+ value: "reason",
877
+ label: "Reason",
878
+ children: VISIT_REASONS.map((reason) => /* @__PURE__ */ jsx(FilterOption, {
879
+ value: reason,
880
+ children: reason
881
+ }, reason))
882
+ }),
883
+ /* @__PURE__ */ jsx(FilterCategory, {
884
+ value: "clinic",
885
+ label: "Clinic",
886
+ children: VISIT_CLINICS.map((clinic) => /* @__PURE__ */ jsx(FilterOption, {
887
+ value: clinic,
888
+ children: clinic
889
+ }, clinic))
890
+ })
891
+ ] }),
892
+ /* @__PURE__ */ jsx(IconAction, {
893
+ label: "Bulk Upload",
894
+ icon: /* @__PURE__ */ jsx(Upload, { className: "wwc:h-4 wwc:w-4" })
895
+ }),
896
+ /* @__PURE__ */ jsx(IconAction, {
897
+ label: "Export (.xlsx)",
898
+ icon: /* @__PURE__ */ jsx(Download, { className: "wwc:h-4 wwc:w-4" })
899
+ }),
900
+ /* @__PURE__ */ jsx(NewVisitDialog, {})
901
+ ] })
902
+ })
903
+ })
904
+ ]
905
+ })
906
+ });
907
+ }
908
+ const PEOPLE_KPIS = [
909
+ {
910
+ title: "Active Workers",
911
+ value: "973",
912
+ icon: Users
913
+ },
914
+ {
915
+ title: "Currently Unfit",
916
+ value: "0",
917
+ icon: CircleX,
918
+ status: "warning"
919
+ },
920
+ {
921
+ title: "Pending Workers",
922
+ value: "18",
923
+ icon: Clock,
924
+ status: "warning"
925
+ },
926
+ {
927
+ title: "Overdue Workers",
928
+ value: "567",
929
+ icon: TriangleAlert,
930
+ status: "danger",
931
+ trend: "up",
932
+ trendLabel: "+10 vs last week"
933
+ }
934
+ ];
935
+ const ACTIVITY_KPIS = [
936
+ {
937
+ title: "Visits Today",
938
+ value: "0",
939
+ icon: CalendarPlus,
940
+ trend: "down",
941
+ trendLabel: "-14 vs yesterday"
942
+ },
943
+ {
944
+ title: "Visits This Month",
945
+ value: "96",
946
+ icon: Stethoscope,
947
+ trend: "down",
948
+ trendLabel: "-85 vs last month"
949
+ },
950
+ {
951
+ title: "Fit Today",
952
+ value: "0",
953
+ icon: CircleCheck,
954
+ status: "success",
955
+ trend: "down",
956
+ trendLabel: "-14 vs yesterday"
957
+ }
958
+ ];
959
+ const HEALTH_SCORE = 79;
960
+ const HEALTH_METRICS = [
961
+ {
962
+ label: "Up to date",
963
+ percent: 42,
964
+ caption: "567 overdue",
965
+ tone: "danger"
966
+ },
967
+ {
968
+ label: "Due soon (30d)",
969
+ percent: 96,
970
+ caption: "36 due in 30d",
971
+ tone: "success"
972
+ },
973
+ {
974
+ label: "Fit for work",
975
+ percent: 98,
976
+ caption: "18 unfit/pending",
977
+ tone: "success"
978
+ },
979
+ {
980
+ label: "Screening coverage",
981
+ percent: 100,
982
+ caption: "all screened",
983
+ tone: "success"
984
+ }
985
+ ];
986
+ function SiteHealthScore() {
987
+ return /* @__PURE__ */ jsxs(Card, {
988
+ className: "wwc:p-6",
989
+ children: [/* @__PURE__ */ jsxs("div", {
990
+ className: "wwc:flex wwc:flex-wrap wwc:items-start wwc:gap-5",
991
+ children: [/* @__PURE__ */ jsx(ScoreGauge, {
992
+ value: HEALTH_SCORE,
993
+ tone: "warning",
994
+ size: 120
995
+ }), /* @__PURE__ */ jsxs("div", {
996
+ className: "wwc:min-w-0 wwc:flex-1",
997
+ children: [/* @__PURE__ */ jsx(SectionHeader, {
998
+ size: "sm",
999
+ className: "wwc:mb-0",
1000
+ title: /* @__PURE__ */ jsxs("span", {
1001
+ className: "wwc:flex wwc:flex-wrap wwc:items-center wwc:gap-2",
1002
+ children: ["Site Health Score", /* @__PURE__ */ jsxs(Badge, {
1003
+ variant: "warningSoft",
1004
+ children: [/* @__PURE__ */ jsx(TriangleAlert, { className: "wwc:h-3 wwc:w-3" }), "At risk"]
1005
+ })]
1006
+ }),
1007
+ description: "Weighted medical readiness across 973 active workers."
1008
+ }), /* @__PURE__ */ jsxs("p", {
1009
+ className: "wwc:mt-2 wwc:flex wwc:items-center wwc:gap-1.5 wwc:text-sm wwc:text-amber-600",
1010
+ children: [/* @__PURE__ */ jsx(TriangleAlert, { className: "wwc:h-4 wwc:w-4 wwc:shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("span", {
1011
+ className: "wwc:font-medium",
1012
+ children: "Biggest gap:"
1013
+ }), " Up to date — 567 overdue"] })]
1014
+ })]
1015
+ })]
1016
+ }), /* @__PURE__ */ jsx("div", {
1017
+ className: "wwc:mt-5 wwc:grid wwc:grid-cols-2 wwc:gap-4 wwc:lg:grid-cols-4",
1018
+ children: HEALTH_METRICS.map((metric) => /* @__PURE__ */ jsx(ProgressStat, {
1019
+ title: metric.label,
1020
+ value: metric.percent,
1021
+ unit: "%",
1022
+ caption: metric.caption,
1023
+ percent: metric.percent,
1024
+ tone: metric.tone
1025
+ }, metric.label))
1026
+ })]
1027
+ });
1028
+ }
1029
+ const VISIT_VOLUME_DATES = [
1030
+ "06-23",
1031
+ "06-24",
1032
+ "06-25",
1033
+ "06-26",
1034
+ "06-27",
1035
+ "06-28",
1036
+ "06-29",
1037
+ "06-30",
1038
+ "07-01",
1039
+ "07-02",
1040
+ "07-03",
1041
+ "07-04",
1042
+ "07-05",
1043
+ "07-06",
1044
+ "07-07",
1045
+ "07-08",
1046
+ "07-09",
1047
+ "07-10",
1048
+ "07-11",
1049
+ "07-12",
1050
+ "07-13",
1051
+ "07-14",
1052
+ "07-15",
1053
+ "07-16",
1054
+ "07-17",
1055
+ "07-18",
1056
+ "07-19",
1057
+ "07-20",
1058
+ "07-21"
1059
+ ];
1060
+ const VISIT_VOLUME = [
1061
+ 15,
1062
+ 8,
1063
+ 19,
1064
+ 0,
1065
+ 33,
1066
+ 10,
1067
+ 15,
1068
+ 6,
1069
+ 1,
1070
+ 0,
1071
+ 0,
1072
+ 0,
1073
+ 3,
1074
+ 0,
1075
+ 0,
1076
+ 2,
1077
+ 0,
1078
+ 0,
1079
+ 2,
1080
+ 8,
1081
+ 12,
1082
+ 19,
1083
+ 6,
1084
+ 10,
1085
+ 15,
1086
+ 0,
1087
+ 16,
1088
+ 9,
1089
+ 14
1090
+ ];
1091
+ const OVERDUE_TREND = [
1092
+ 540,
1093
+ 542,
1094
+ 543,
1095
+ 545,
1096
+ 546,
1097
+ 547,
1098
+ 549,
1099
+ 550,
1100
+ 551,
1101
+ 553,
1102
+ 554,
1103
+ 555,
1104
+ 556,
1105
+ 558,
1106
+ 559,
1107
+ 560,
1108
+ 561,
1109
+ 562,
1110
+ 563,
1111
+ 564,
1112
+ 565,
1113
+ 566,
1114
+ 567,
1115
+ 568,
1116
+ 569,
1117
+ 570,
1118
+ 571,
1119
+ 572,
1120
+ 573
1121
+ ];
1122
+ const COMPLIANCE_TREND = [
1123
+ 45,
1124
+ 45,
1125
+ 45,
1126
+ 45,
1127
+ 44,
1128
+ 44,
1129
+ 44,
1130
+ 44,
1131
+ 44,
1132
+ 44,
1133
+ 44,
1134
+ 44,
1135
+ 44,
1136
+ 44,
1137
+ 44,
1138
+ 43,
1139
+ 43,
1140
+ 43,
1141
+ 43,
1142
+ 43,
1143
+ 43,
1144
+ 42,
1145
+ 42,
1146
+ 42,
1147
+ 42,
1148
+ 42,
1149
+ 42,
1150
+ 42,
1151
+ 42
1152
+ ];
1153
+ const areaChartOption = (dates, values, color, area) => ({
1154
+ grid: {
1155
+ left: 44,
1156
+ right: 12,
1157
+ top: 16,
1158
+ bottom: 28
1159
+ },
1160
+ tooltip: { trigger: "axis" },
1161
+ xAxis: {
1162
+ type: "category",
1163
+ data: dates,
1164
+ boundaryGap: false,
1165
+ axisTick: { show: false }
1166
+ },
1167
+ yAxis: {
1168
+ type: "value",
1169
+ splitLine: { lineStyle: { type: "dashed" } }
1170
+ },
1171
+ series: [{
1172
+ type: "line",
1173
+ data: values,
1174
+ smooth: true,
1175
+ showSymbol: false,
1176
+ lineStyle: {
1177
+ color,
1178
+ width: 2
1179
+ },
1180
+ areaStyle: { color: area }
1181
+ }]
1182
+ });
1183
+ const visitVolumeOption = areaChartOption(VISIT_VOLUME_DATES, VISIT_VOLUME, "#3b82f6", "rgba(59,130,246,0.25)");
1184
+ const fitnessDistributionOption = {
1185
+ tooltip: { trigger: "item" },
1186
+ legend: {
1187
+ bottom: 0,
1188
+ icon: "circle"
1189
+ },
1190
+ series: [{
1191
+ type: "pie",
1192
+ radius: ["55%", "78%"],
1193
+ center: ["50%", "45%"],
1194
+ label: { show: false },
1195
+ labelLine: { show: false },
1196
+ data: [
1197
+ {
1198
+ name: "Fit",
1199
+ value: 955,
1200
+ itemStyle: { color: "#16a34a" }
1201
+ },
1202
+ {
1203
+ name: "Pending",
1204
+ value: 18,
1205
+ itemStyle: { color: "#f59e0b" }
1206
+ },
1207
+ {
1208
+ name: "Unfit",
1209
+ value: 0,
1210
+ itemStyle: { color: "#dc2626" }
1211
+ }
1212
+ ]
1213
+ }]
1214
+ };
1215
+ const overdueTrendOption = {
1216
+ grid: {
1217
+ left: 44,
1218
+ right: 12,
1219
+ top: 16,
1220
+ bottom: 28
1221
+ },
1222
+ tooltip: { trigger: "axis" },
1223
+ xAxis: {
1224
+ type: "category",
1225
+ data: VISIT_VOLUME_DATES,
1226
+ axisTick: { show: false }
1227
+ },
1228
+ yAxis: {
1229
+ type: "value",
1230
+ min: 0,
1231
+ max: 600,
1232
+ splitLine: { lineStyle: { type: "dashed" } }
1233
+ },
1234
+ series: [{
1235
+ type: "line",
1236
+ data: OVERDUE_TREND,
1237
+ symbolSize: 6,
1238
+ lineStyle: { color: "#dc2626" },
1239
+ itemStyle: { color: "#dc2626" }
1240
+ }]
1241
+ };
1242
+ const complianceRateOption = {
1243
+ grid: {
1244
+ left: 48,
1245
+ right: 12,
1246
+ top: 16,
1247
+ bottom: 28
1248
+ },
1249
+ tooltip: {
1250
+ trigger: "axis",
1251
+ valueFormatter: (value) => `${value}%`
1252
+ },
1253
+ xAxis: {
1254
+ type: "category",
1255
+ data: VISIT_VOLUME_DATES,
1256
+ boundaryGap: false,
1257
+ axisTick: { show: false }
1258
+ },
1259
+ yAxis: {
1260
+ type: "value",
1261
+ min: 0,
1262
+ max: 100,
1263
+ axisLabel: { formatter: "{value}%" },
1264
+ splitLine: { lineStyle: { type: "dashed" } }
1265
+ },
1266
+ series: [{
1267
+ type: "line",
1268
+ data: COMPLIANCE_TREND,
1269
+ showSymbol: false,
1270
+ lineStyle: {
1271
+ color: "#16a34a",
1272
+ width: 2
1273
+ },
1274
+ areaStyle: { color: "rgba(22,163,74,0.12)" }
1275
+ }]
1276
+ };
1277
+ const visitsByClinicOption = {
1278
+ grid: {
1279
+ left: 120,
1280
+ right: 24,
1281
+ top: 16,
1282
+ bottom: 28
1283
+ },
1284
+ tooltip: {
1285
+ trigger: "axis",
1286
+ axisPointer: { type: "shadow" }
1287
+ },
1288
+ xAxis: {
1289
+ type: "value",
1290
+ splitLine: { lineStyle: { type: "dashed" } }
1291
+ },
1292
+ yAxis: {
1293
+ type: "category",
1294
+ data: [
1295
+ "NGMSA-TCF CLINIC",
1296
+ "Default Clinic",
1297
+ "ZOMCO-SAPMT Camp Clinic",
1298
+ "SH-TCF Clinic",
1299
+ "TR-TCF CLINIC"
1300
+ ],
1301
+ axisTick: { show: false }
1302
+ },
1303
+ series: [{
1304
+ type: "bar",
1305
+ data: [
1306
+ 1,
1307
+ 2,
1308
+ 3,
1309
+ 9,
1310
+ 198
1311
+ ],
1312
+ barWidth: 12,
1313
+ itemStyle: {
1314
+ color: "#3b82f6",
1315
+ borderRadius: 3
1316
+ }
1317
+ }]
1318
+ };
1319
+ const peakVisitHoursOption = {
1320
+ grid: {
1321
+ left: 40,
1322
+ right: 12,
1323
+ top: 16,
1324
+ bottom: 28
1325
+ },
1326
+ tooltip: {
1327
+ trigger: "axis",
1328
+ axisPointer: { type: "shadow" }
1329
+ },
1330
+ xAxis: {
1331
+ type: "category",
1332
+ data: [
1333
+ "00:00",
1334
+ "01:00",
1335
+ "02:00",
1336
+ "03:00",
1337
+ "04:00",
1338
+ "05:00",
1339
+ "06:00",
1340
+ "07:00",
1341
+ "08:00",
1342
+ "09:00",
1343
+ "10:00",
1344
+ "11:00",
1345
+ "12:00",
1346
+ "13:00",
1347
+ "14:00",
1348
+ "15:00",
1349
+ "16:00",
1350
+ "17:00",
1351
+ "18:00",
1352
+ "19:00",
1353
+ "20:00"
1354
+ ],
1355
+ axisTick: { show: false }
1356
+ },
1357
+ yAxis: {
1358
+ type: "value",
1359
+ splitLine: { lineStyle: { type: "dashed" } }
1360
+ },
1361
+ series: [{
1362
+ type: "bar",
1363
+ data: [
1364
+ 1,
1365
+ 4,
1366
+ 12,
1367
+ 18,
1368
+ 19,
1369
+ 19,
1370
+ 24,
1371
+ 17,
1372
+ 14,
1373
+ 14,
1374
+ 7,
1375
+ 13,
1376
+ 20,
1377
+ 12,
1378
+ 10,
1379
+ 7,
1380
+ 2,
1381
+ 1,
1382
+ 3,
1383
+ 0,
1384
+ 0
1385
+ ],
1386
+ barWidth: "60%",
1387
+ itemStyle: {
1388
+ color: "#8b5cf6",
1389
+ borderRadius: [
1390
+ 3,
1391
+ 3,
1392
+ 0,
1393
+ 0
1394
+ ]
1395
+ }
1396
+ }]
1397
+ };
1398
+ const visitReasonsOption = {
1399
+ grid: {
1400
+ left: 110,
1401
+ right: 24,
1402
+ top: 16,
1403
+ bottom: 28
1404
+ },
1405
+ tooltip: {
1406
+ trigger: "axis",
1407
+ axisPointer: { type: "shadow" },
1408
+ valueFormatter: (value) => `${value}%`
1409
+ },
1410
+ xAxis: {
1411
+ type: "value",
1412
+ max: 100,
1413
+ splitLine: { lineStyle: { type: "dashed" } }
1414
+ },
1415
+ yAxis: {
1416
+ type: "category",
1417
+ data: [
1418
+ "Other",
1419
+ "FollowUp",
1420
+ "Routine",
1421
+ "IllnessSymptoms"
1422
+ ],
1423
+ axisTick: { show: false }
1424
+ },
1425
+ series: [{
1426
+ type: "bar",
1427
+ data: [
1428
+ 2,
1429
+ 4,
1430
+ 10,
1431
+ 84
1432
+ ],
1433
+ barWidth: 12,
1434
+ itemStyle: {
1435
+ color: "#0e7490",
1436
+ borderRadius: 3
1437
+ }
1438
+ }]
1439
+ };
1440
+ const NEEDS_ATTENTION = [
1441
+ {
1442
+ id: "n-1",
1443
+ name: "NURUZZAMAN LATE TAMIZUDDIN",
1444
+ code: "2243476054",
1445
+ company: "TR-SFEC",
1446
+ daysOverdue: 548,
1447
+ due: "19 Jan 2025"
1448
+ },
1449
+ {
1450
+ id: "n-2",
1451
+ name: "SHAHZAD AHMED MUHAMMAD ISHAQ",
1452
+ code: "2464460803",
1453
+ company: "TR-SFEC",
1454
+ daysOverdue: 533,
1455
+ due: "03 Feb 2025"
1456
+ },
1457
+ {
1458
+ id: "n-3",
1459
+ name: "NAVEED AHMAD MUHAMMAD BASHIR",
1460
+ code: "2205134980",
1461
+ company: "TR",
1462
+ daysOverdue: 508,
1463
+ due: "28 Feb 2025"
1464
+ },
1465
+ {
1466
+ id: "n-4",
1467
+ name: "SUJON MIA",
1468
+ code: "2545882736",
1469
+ company: "TR-ELECO",
1470
+ daysOverdue: 496,
1471
+ due: "12 Mar 2025"
1472
+ },
1473
+ {
1474
+ id: "n-5",
1475
+ name: "MARK FERNANDO AROMIN BAUTISTA",
1476
+ code: "2472673504",
1477
+ company: "TR",
1478
+ daysOverdue: 493,
1479
+ due: "15 Mar 2025"
1480
+ }
1481
+ ];
1482
+ function NeedsAttention() {
1483
+ return /* @__PURE__ */ jsxs(Card, {
1484
+ className: "wwc:p-6",
1485
+ children: [/* @__PURE__ */ jsx(SectionHeader, {
1486
+ title: "Needs attention today",
1487
+ description: "567 overdue · sorted by urgency",
1488
+ size: "sm",
1489
+ actions: /* @__PURE__ */ jsxs(Button, {
1490
+ variant: "link",
1491
+ children: ["View all", /* @__PURE__ */ jsx(ArrowRight, { className: "wwc:h-4 wwc:w-4" })]
1492
+ })
1493
+ }), /* @__PURE__ */ jsx(AttentionList, { children: NEEDS_ATTENTION.map((worker) => /* @__PURE__ */ jsx(AttentionListItem, {
1494
+ icon: /* @__PURE__ */ jsx(TriangleAlert, { className: "wwc:h-4 wwc:w-4" }),
1495
+ title: worker.name,
1496
+ subtitle: `${worker.code} · ${worker.company}`,
1497
+ value: `${worker.daysOverdue} days overdue`,
1498
+ valueCaption: `Due: ${worker.due}`,
1499
+ action: /* @__PURE__ */ jsx(Button, {
1500
+ variant: "link",
1501
+ children: "History"
1502
+ })
1503
+ }, worker.id)) })]
1504
+ });
1505
+ }
1506
+ /** Section heading above a band of tiles. */
1507
+ function OverviewSection({ title, children }) {
1508
+ return /* @__PURE__ */ jsxs("section", { children: [/* @__PURE__ */ jsx(SectionHeader, {
1509
+ title,
1510
+ size: "sm",
1511
+ className: "wwc:mb-3"
1512
+ }), children] });
1513
+ }
1514
+ /** Overview — KPI bands, the site health score, visit analytics, and the overdue worklist. */
1515
+ function ClinicOverview() {
1516
+ return /* @__PURE__ */ jsx("div", {
1517
+ className: "wwc:min-h-0 wwc:flex-1 wwc:overflow-auto",
1518
+ children: /* @__PURE__ */ jsxs("div", {
1519
+ className: "wwc:flex wwc:w-full wwc:flex-col wwc:gap-6 wwc:p-6",
1520
+ children: [
1521
+ /* @__PURE__ */ jsx(OverviewSection, {
1522
+ title: "People right now",
1523
+ children: /* @__PURE__ */ jsx("div", {
1524
+ className: "wwc:grid wwc:grid-cols-4 wwc:gap-4",
1525
+ children: PEOPLE_KPIS.map((kpi) => /* @__PURE__ */ jsx(MetricCard, {
1526
+ title: kpi.title,
1527
+ value: kpi.value,
1528
+ status: kpi.status,
1529
+ icon: kpi.icon,
1530
+ trend: kpi.trend,
1531
+ trendLabel: kpi.trendLabel
1532
+ }, kpi.title))
1533
+ })
1534
+ }),
1535
+ /* @__PURE__ */ jsx(OverviewSection, {
1536
+ title: "Activity",
1537
+ children: /* @__PURE__ */ jsx("div", {
1538
+ className: "wwc:grid wwc:grid-cols-3 wwc:gap-4",
1539
+ children: ACTIVITY_KPIS.map((kpi) => /* @__PURE__ */ jsx(MetricCard, {
1540
+ title: kpi.title,
1541
+ value: kpi.value,
1542
+ status: kpi.status,
1543
+ icon: kpi.icon,
1544
+ trend: kpi.trend,
1545
+ trendLabel: kpi.trendLabel
1546
+ }, kpi.title))
1547
+ })
1548
+ }),
1549
+ /* @__PURE__ */ jsx(SiteHealthScore, {}),
1550
+ /* @__PURE__ */ jsx(OverviewSection, {
1551
+ title: "Visit Analytics",
1552
+ children: /* @__PURE__ */ jsxs("div", {
1553
+ className: "wwc:flex wwc:flex-col wwc:gap-4",
1554
+ children: [
1555
+ /* @__PURE__ */ jsxs("div", {
1556
+ className: "wwc:grid wwc:grid-cols-1 wwc:gap-4 wwc:lg:grid-cols-3",
1557
+ children: [/* @__PURE__ */ jsx(TrendChart, {
1558
+ className: "wwc:lg:col-span-2",
1559
+ title: "Visit Volume",
1560
+ header: /* @__PURE__ */ jsx("p", {
1561
+ className: "wwc:text-xs wwc:text-muted-foreground",
1562
+ children: "Last 30 days"
1563
+ }),
1564
+ option: visitVolumeOption,
1565
+ height: 260
1566
+ }), /* @__PURE__ */ jsx(TrendChart, {
1567
+ title: "Fitness Distribution",
1568
+ header: /* @__PURE__ */ jsx("p", {
1569
+ className: "wwc:text-xs wwc:text-muted-foreground",
1570
+ children: "Active workers by current status"
1571
+ }),
1572
+ option: fitnessDistributionOption,
1573
+ height: 260
1574
+ })]
1575
+ }),
1576
+ /* @__PURE__ */ jsxs("div", {
1577
+ className: "wwc:grid wwc:grid-cols-1 wwc:gap-4 wwc:lg:grid-cols-3",
1578
+ children: [
1579
+ /* @__PURE__ */ jsx(TrendChart, {
1580
+ title: "Overdue Workers",
1581
+ header: /* @__PURE__ */ jsx("p", {
1582
+ className: "wwc:text-xs wwc:text-muted-foreground",
1583
+ children: "30-day trend"
1584
+ }),
1585
+ option: overdueTrendOption
1586
+ }),
1587
+ /* @__PURE__ */ jsx(TrendChart, {
1588
+ title: "Compliance Rate",
1589
+ header: /* @__PURE__ */ jsx("p", {
1590
+ className: "wwc:text-xs wwc:text-muted-foreground",
1591
+ children: "30-day trend"
1592
+ }),
1593
+ option: complianceRateOption
1594
+ }),
1595
+ /* @__PURE__ */ jsx(TrendChart, {
1596
+ title: "Visits by Clinic",
1597
+ header: /* @__PURE__ */ jsx("p", {
1598
+ className: "wwc:text-xs wwc:text-muted-foreground",
1599
+ children: "Active clinics"
1600
+ }),
1601
+ option: visitsByClinicOption
1602
+ })
1603
+ ]
1604
+ }),
1605
+ /* @__PURE__ */ jsxs("div", {
1606
+ className: "wwc:grid wwc:grid-cols-1 wwc:gap-4 wwc:lg:grid-cols-2",
1607
+ children: [/* @__PURE__ */ jsx(TrendChart, {
1608
+ title: "Peak Visit Hours",
1609
+ header: /* @__PURE__ */ jsx("p", {
1610
+ className: "wwc:text-xs wwc:text-muted-foreground",
1611
+ children: "Distribution across working hours"
1612
+ }),
1613
+ option: peakVisitHoursOption
1614
+ }), /* @__PURE__ */ jsx(TrendChart, {
1615
+ title: "Visit Reasons",
1616
+ header: /* @__PURE__ */ jsx("p", {
1617
+ className: "wwc:text-xs wwc:text-muted-foreground",
1618
+ children: "Share of visits (%)"
1619
+ }),
1620
+ option: visitReasonsOption
1621
+ })]
1622
+ })
1623
+ ]
1624
+ })
1625
+ }),
1626
+ /* @__PURE__ */ jsx(NeedsAttention, {})
1627
+ ]
1628
+ })
1629
+ });
1630
+ }
1631
+ /**
1632
+ * The shared save/discard footer, shown only while a pane is dirty. Rendered as a sibling of the
1633
+ * padded content container — FormActionBar owns its own full-bleed background, so it must not sit
1634
+ * inside the padded div.
1635
+ */
1636
+ function SettingsActionBar({ changeCount, onDiscard, onSave }) {
1637
+ if (changeCount === 0) return null;
1638
+ return /* @__PURE__ */ jsxs(FormActionBar, {
1639
+ maxWidth: "1000px",
1640
+ className: "wwc:mt-auto",
1641
+ status: /* @__PURE__ */ jsxs(Fragment$1, { children: [
1642
+ /* @__PURE__ */ jsx("span", {
1643
+ className: "wwc:font-medium wwc:text-foreground",
1644
+ children: changeCount
1645
+ }),
1646
+ " unsaved change",
1647
+ changeCount === 1 ? "" : "s"
1648
+ ] }),
1649
+ children: [/* @__PURE__ */ jsx(Button, {
1650
+ variant: "ghost",
1651
+ size: "sm",
1652
+ onClick: onDiscard,
1653
+ children: "Discard"
1654
+ }), /* @__PURE__ */ jsxs(Button, {
1655
+ size: "sm",
1656
+ onClick: onSave,
1657
+ children: [/* @__PURE__ */ jsx(Save, { className: "wwc:h-4 wwc:w-4" }), "Save changes"]
1658
+ })]
1659
+ });
1660
+ }
1661
+ const INTERVAL_OPTIONS = [
1662
+ 1,
1663
+ 2,
1664
+ 3,
1665
+ 6,
1666
+ 12
1667
+ ];
1668
+ const intervalLabel = (months) => months === 1 ? "Every month" : `Every ${months} months`;
1669
+ /** Project default routine-check interval. Rules and per-worker overrides take priority over it. */
1670
+ function VisitFrequencySettings() {
1671
+ const [saved, setSaved] = useState(6);
1672
+ const [draft, setDraft] = useState(6);
1673
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
1674
+ className: "wwc:mx-auto wwc:w-full wwc:max-w-[1000px] wwc:p-6",
1675
+ children: [/* @__PURE__ */ jsx(SectionHeader, {
1676
+ title: "Project Default Frequency",
1677
+ description: "Workers without a matching rule or manual override follow this schedule. Rules and per-worker overrides take priority."
1678
+ }), /* @__PURE__ */ jsx(Card, {
1679
+ className: "wwc:p-6",
1680
+ children: /* @__PURE__ */ jsxs(Field, {
1681
+ className: "wwc:max-w-sm",
1682
+ children: [/* @__PURE__ */ jsx(FieldLabel, {
1683
+ htmlFor: "routine-check-interval",
1684
+ children: "Routine Check Interval"
1685
+ }), /* @__PURE__ */ jsxs(Select, {
1686
+ value: String(draft),
1687
+ onValueChange: (value) => setDraft(Number(value)),
1688
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
1689
+ id: "routine-check-interval",
1690
+ children: /* @__PURE__ */ jsx(SelectValue, {})
1691
+ }), /* @__PURE__ */ jsx(SelectContent, { children: INTERVAL_OPTIONS.map((months) => /* @__PURE__ */ jsx(SelectItem, {
1692
+ value: String(months),
1693
+ children: intervalLabel(months)
1694
+ }, months)) })]
1695
+ })]
1696
+ })
1697
+ })]
1698
+ }), /* @__PURE__ */ jsx(SettingsActionBar, {
1699
+ changeCount: draft === saved ? 0 : 1,
1700
+ onDiscard: () => setDraft(saved),
1701
+ onSave: () => setSaved(draft)
1702
+ })] });
1703
+ }
1704
+ const AGE_OPERATORS = [{
1705
+ value: "gte",
1706
+ label: "Age ≥"
1707
+ }, {
1708
+ value: "lte",
1709
+ label: "Age ≤"
1710
+ }];
1711
+ const INITIAL_AGE_RULES = [{
1712
+ id: "rule-1",
1713
+ operator: "gte",
1714
+ age: 40,
1715
+ months: 3,
1716
+ affected: 0
1717
+ }];
1718
+ const ruleKey = (rule) => `${rule.operator}:${rule.age}:${rule.months}`;
1719
+ /** Ordered age rules — priority is row order, so the first match wins. Manual overrides beat all. */
1720
+ function AgeRulesSettings() {
1721
+ const [saved, setSaved] = useState(INITIAL_AGE_RULES);
1722
+ const [draft, setDraft] = useState(INITIAL_AGE_RULES);
1723
+ const [nextId, setNextId] = useState(INITIAL_AGE_RULES.length + 1);
1724
+ const changeCount = useMemo(() => {
1725
+ const savedKeys = saved.map(ruleKey);
1726
+ const draftKeys = draft.map(ruleKey);
1727
+ return draftKeys.filter((key, index) => savedKeys[index] !== key).length + Math.abs(savedKeys.length - draftKeys.length) - Math.max(0, draftKeys.length - savedKeys.length);
1728
+ }, [saved, draft]);
1729
+ const update = (id, patch) => setDraft((prev) => prev.map((rule) => rule.id === id ? {
1730
+ ...rule,
1731
+ ...patch
1732
+ } : rule));
1733
+ const move = (index, direction) => setDraft((prev) => {
1734
+ const next = [...prev];
1735
+ const target = index + direction;
1736
+ if (target < 0 || target >= next.length) return prev;
1737
+ [next[index], next[target]] = [next[target], next[index]];
1738
+ return next;
1739
+ });
1740
+ const addRule = () => {
1741
+ setDraft((prev) => [...prev, {
1742
+ id: `rule-${nextId}`,
1743
+ operator: "gte",
1744
+ age: 50,
1745
+ months: 6,
1746
+ affected: 0
1747
+ }]);
1748
+ setNextId((n) => n + 1);
1749
+ };
1750
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
1751
+ className: "wwc:mx-auto wwc:w-full wwc:max-w-[1000px] wwc:p-6",
1752
+ children: [/* @__PURE__ */ jsx(SectionHeader, {
1753
+ title: "Age-Based Rules",
1754
+ description: "Rule priority determines which rule wins when a worker matches multiple. Manual overrides always win."
1755
+ }), /* @__PURE__ */ jsx(Card, {
1756
+ className: "wwc:p-6",
1757
+ children: /* @__PURE__ */ jsx(RuleList, {
1758
+ onAdd: addRule,
1759
+ addLabel: "Add Rule",
1760
+ children: draft.map((rule, index) => /* @__PURE__ */ jsxs(RuleRow, {
1761
+ meta: /* @__PURE__ */ jsxs(Badge, {
1762
+ variant: "infoSoft",
1763
+ children: [rule.affected, " affected"]
1764
+ }),
1765
+ disableMoveUp: index === 0,
1766
+ disableMoveDown: index === draft.length - 1,
1767
+ onMoveUp: () => move(index, -1),
1768
+ onMoveDown: () => move(index, 1),
1769
+ onDelete: () => setDraft((prev) => prev.filter((r) => r.id !== rule.id)),
1770
+ children: [
1771
+ /* @__PURE__ */ jsxs(Select, {
1772
+ value: rule.operator,
1773
+ onValueChange: (value) => update(rule.id, { operator: value }),
1774
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
1775
+ className: "wwc:w-32",
1776
+ "aria-label": "Age comparison",
1777
+ children: /* @__PURE__ */ jsx(SelectValue, {})
1778
+ }), /* @__PURE__ */ jsx(SelectContent, { children: AGE_OPERATORS.map((option) => /* @__PURE__ */ jsx(SelectItem, {
1779
+ value: option.value,
1780
+ children: option.label
1781
+ }, option.value)) })]
1782
+ }),
1783
+ /* @__PURE__ */ jsx(Input, {
1784
+ type: "number",
1785
+ "aria-label": "Age threshold",
1786
+ value: rule.age,
1787
+ onChange: (e) => update(rule.id, { age: Number(e.target.value) }),
1788
+ className: "wwc:w-24"
1789
+ }),
1790
+ /* @__PURE__ */ jsx("span", {
1791
+ className: "wwc:shrink-0 wwc:text-sm wwc:text-muted-foreground",
1792
+ children: "→ every"
1793
+ }),
1794
+ /* @__PURE__ */ jsxs(Select, {
1795
+ value: String(rule.months),
1796
+ onValueChange: (value) => update(rule.id, { months: Number(value) }),
1797
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
1798
+ className: "wwc:w-24",
1799
+ "aria-label": "Interval in months",
1800
+ children: /* @__PURE__ */ jsx(SelectValue, {})
1801
+ }), /* @__PURE__ */ jsx(SelectContent, { children: INTERVAL_OPTIONS.map((months) => /* @__PURE__ */ jsx(SelectItem, {
1802
+ value: String(months),
1803
+ children: months
1804
+ }, months)) })]
1805
+ }),
1806
+ /* @__PURE__ */ jsx("span", {
1807
+ className: "wwc:shrink-0 wwc:text-sm",
1808
+ children: "months"
1809
+ })
1810
+ ]
1811
+ }, rule.id))
1812
+ })
1813
+ })]
1814
+ }), /* @__PURE__ */ jsx(SettingsActionBar, {
1815
+ changeCount,
1816
+ onDiscard: () => setDraft(saved),
1817
+ onSave: () => setSaved(draft)
1818
+ })] });
1819
+ }
1820
+ const SITE_CLINICS = [
1821
+ {
1822
+ id: "c-1",
1823
+ name: "Default Clinic",
1824
+ isDefault: true,
1825
+ status: "active"
1826
+ },
1827
+ {
1828
+ id: "c-2",
1829
+ name: "DSCO-TCF CLINIC",
1830
+ status: "active"
1831
+ },
1832
+ {
1833
+ id: "c-3",
1834
+ name: "MAH-Pioneer Camp",
1835
+ status: "active"
1836
+ },
1837
+ {
1838
+ id: "c-4",
1839
+ name: "MAH-SP Clinic",
1840
+ status: "active"
1841
+ },
1842
+ {
1843
+ id: "c-5",
1844
+ name: "NGMSA-TCF CLINIC",
1845
+ status: "active"
1846
+ },
1847
+ {
1848
+ id: "c-6",
1849
+ name: "SH-TCF Clinic",
1850
+ status: "active"
1851
+ },
1852
+ {
1853
+ id: "c-7",
1854
+ name: "TR-TCF CLINIC",
1855
+ status: "active"
1856
+ },
1857
+ {
1858
+ id: "c-8",
1859
+ name: "ZOMCO-SAPMT Camp Clinic",
1860
+ status: "active"
1861
+ }
1862
+ ];
1863
+ const CLINIC_COLUMNS = [
1864
+ {
1865
+ accessorKey: "name",
1866
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
1867
+ column,
1868
+ title: "Name"
1869
+ }),
1870
+ cell: ({ row }) => /* @__PURE__ */ jsxs("span", {
1871
+ className: "wwc:flex wwc:items-center wwc:gap-2",
1872
+ children: [/* @__PURE__ */ jsx("span", {
1873
+ className: "wwc:font-medium",
1874
+ children: row.original.name
1875
+ }), row.original.isDefault && /* @__PURE__ */ jsx(Badge, {
1876
+ variant: "outline",
1877
+ className: "wwc:h-5 wwc:px-1.5 wwc:text-[10px]",
1878
+ children: "Default"
1879
+ })]
1880
+ })
1881
+ },
1882
+ {
1883
+ accessorKey: "status",
1884
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
1885
+ column,
1886
+ title: "Status"
1887
+ }),
1888
+ cell: ({ row }) => /* @__PURE__ */ jsx(Badge, {
1889
+ variant: row.original.status === "active" ? "successSoft" : "neutralSoft",
1890
+ children: row.original.status === "active" ? "Active" : "Archived"
1891
+ })
1892
+ },
1893
+ {
1894
+ id: "actions",
1895
+ enableSorting: false,
1896
+ enableHiding: false,
1897
+ meta: { cellClassName: "wwc:w-px wwc:whitespace-nowrap wwc:text-right" },
1898
+ cell: () => /* @__PURE__ */ jsx(DataTableRowActions, { actions: [{
1899
+ label: "Edit clinic",
1900
+ icon: /* @__PURE__ */ jsx(Pencil, { className: "wwc:h-4 wwc:w-4" })
1901
+ }, {
1902
+ label: "Archive clinic",
1903
+ icon: /* @__PURE__ */ jsx(Archive, { className: "wwc:h-4 wwc:w-4" })
1904
+ }] })
1905
+ }
1906
+ ];
1907
+ /** Site clinic list. Rows act immediately — there is no draft state, so no save bar. */
1908
+ function ClinicsSettings() {
1909
+ return /* @__PURE__ */ jsxs("div", {
1910
+ className: "wwc:mx-auto wwc:w-full wwc:max-w-[1200px] wwc:p-6",
1911
+ children: [/* @__PURE__ */ jsx(SectionHeader, {
1912
+ title: "Site Clinics",
1913
+ description: "Manage clinic locations available for this site."
1914
+ }), /* @__PURE__ */ jsx(DataTable, {
1915
+ columns: CLINIC_COLUMNS,
1916
+ data: SITE_CLINICS,
1917
+ searchKey: "name",
1918
+ searchPlaceholder: "Search clinics…",
1919
+ recordLabel: "clinic",
1920
+ pageSize: 10,
1921
+ toolbarExtra: /* @__PURE__ */ jsx(AddClinicLocationDialog, { trigger: /* @__PURE__ */ jsxs(Button, { children: [/* @__PURE__ */ jsx(Plus, { className: "wwc:h-4 wwc:w-4" }), "Add Clinic"] }) })
1922
+ })]
1923
+ });
1924
+ }
1925
+ const DOCTOR_PERMISSIONS = [
1926
+ {
1927
+ id: "d-1",
1928
+ name: "MALATESHA HARIJANA",
1929
+ email: "Malatesha.Hari@sinohydro.sa",
1930
+ companies: [
1931
+ "SH-FAC",
1932
+ "Sinohydr-Al Quadri",
1933
+ "Sinohydro"
1934
+ ],
1935
+ clinics: ["SH-TCF Clinic"],
1936
+ updated: "12 Jul 2026"
1937
+ },
1938
+ {
1939
+ id: "d-2",
1940
+ name: "NGMSA CLINIC",
1941
+ email: "Clinic.RNGL@ngmsa.com",
1942
+ companies: ["NGMSA"],
1943
+ clinics: ["NGMSA-TCF CLINIC"],
1944
+ updated: "13 Jul 2026"
1945
+ },
1946
+ {
1947
+ id: "d-3",
1948
+ name: "RIYASCLINIC",
1949
+ email: "riyasclinic@tecnicasreunidas.es",
1950
+ companies: [
1951
+ "TR",
1952
+ "TR- IIT SAUDI",
1953
+ "TR-ACTAVO",
1954
+ ...Array.from({ length: 37 }, (_, i) => `TR-EXTRA-${i + 1}`)
1955
+ ],
1956
+ clinics: ["TR-TCF CLINIC"],
1957
+ updated: "12 Jul 2026"
1958
+ },
1959
+ {
1960
+ id: "d-4",
1961
+ name: "Yves Uy",
1962
+ email: "zriyas@twareat.com",
1963
+ companies: [
1964
+ "Aramco PMT PKG5",
1965
+ "BQ",
1966
+ "Moffareh Al Harbi and",
1967
+ ...Array.from({ length: 7 }, (_, i) => `PKG5-${i + 1}`)
1968
+ ],
1969
+ clinics: ["ZOMCO-SAPMT Camp"],
1970
+ updated: "12 Jul 2026"
1971
+ }
1972
+ ];
1973
+ /** Chip list that shows the first `visible` entries and rolls the rest into a "+N" chip. */
1974
+ function ChipList({ items, visible = 3 }) {
1975
+ const overflow = items.length - visible;
1976
+ return /* @__PURE__ */ jsxs("div", {
1977
+ className: "wwc:flex wwc:flex-wrap wwc:items-center wwc:gap-1.5",
1978
+ children: [items.slice(0, visible).map((item) => /* @__PURE__ */ jsx(Badge, {
1979
+ variant: "outline",
1980
+ className: "wwc:h-6 wwc:font-normal",
1981
+ children: item
1982
+ }, item)), overflow > 0 && /* @__PURE__ */ jsx(Badge, {
1983
+ variant: "neutralSoft",
1984
+ className: "wwc:h-6 wwc:font-normal",
1985
+ children: `+${overflow}`
1986
+ })]
1987
+ });
1988
+ }
1989
+ const DOCTOR_OPTIONS = DOCTOR_PERMISSIONS.map((doctor) => ({
1990
+ value: doctor.id,
1991
+ label: `${doctor.name} — ${doctor.email}`
1992
+ }));
1993
+ const CLINIC_OPTIONS = SITE_CLINICS.map((clinic) => ({
1994
+ value: clinic.id,
1995
+ label: clinic.name
1996
+ }));
1997
+ const DOCTOR_COMPANY_OPTIONS = Array.from(new Set(DOCTOR_PERMISSIONS.flatMap((doctor) => doctor.companies))).sort((a, b) => a.localeCompare(b)).map((company) => ({
1998
+ value: company,
1999
+ label: company
2000
+ }));
2001
+ const DOCTOR_COLUMNS = [
2002
+ {
2003
+ accessorKey: "name",
2004
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
2005
+ column,
2006
+ title: "Doctor"
2007
+ }),
2008
+ cell: ({ row }) => /* @__PURE__ */ jsxs("div", {
2009
+ className: "wwc:flex wwc:items-center wwc:gap-3",
2010
+ children: [/* @__PURE__ */ jsx(Avatar, {
2011
+ className: "wwc:h-7 wwc:w-7",
2012
+ children: /* @__PURE__ */ jsx(AvatarFallback, {
2013
+ className: "wwc:text-[10px]",
2014
+ children: initials(row.original.name)
2015
+ })
2016
+ }), /* @__PURE__ */ jsxs("div", {
2017
+ className: "wwc:min-w-0",
2018
+ children: [/* @__PURE__ */ jsx("span", {
2019
+ className: "wwc:block wwc:font-medium",
2020
+ children: row.original.name
2021
+ }), /* @__PURE__ */ jsx("span", {
2022
+ className: "wwc:text-xs wwc:text-muted-foreground",
2023
+ children: row.original.email
2024
+ })]
2025
+ })]
2026
+ })
2027
+ },
2028
+ {
2029
+ id: "companies",
2030
+ header: () => /* @__PURE__ */ jsx("span", {
2031
+ className: "wwc:text-xs wwc:font-medium",
2032
+ children: "Companies"
2033
+ }),
2034
+ cell: ({ row }) => /* @__PURE__ */ jsx(ChipList, { items: row.original.companies })
2035
+ },
2036
+ {
2037
+ id: "clinics",
2038
+ header: () => /* @__PURE__ */ jsx("span", {
2039
+ className: "wwc:text-xs wwc:font-medium",
2040
+ children: "Clinics"
2041
+ }),
2042
+ cell: ({ row }) => /* @__PURE__ */ jsx(ChipList, {
2043
+ items: row.original.clinics,
2044
+ visible: 2
2045
+ })
2046
+ },
2047
+ {
2048
+ accessorKey: "updated",
2049
+ header: ({ column }) => /* @__PURE__ */ jsx(DataTableColumnHeader, {
2050
+ column,
2051
+ title: "Updated"
2052
+ })
2053
+ },
2054
+ {
2055
+ id: "actions",
2056
+ enableSorting: false,
2057
+ enableHiding: false,
2058
+ meta: { cellClassName: "wwc:w-px wwc:whitespace-nowrap wwc:text-right" },
2059
+ cell: () => /* @__PURE__ */ jsx(DataTableRowActions, { actions: [{
2060
+ label: "Edit permissions",
2061
+ icon: /* @__PURE__ */ jsx(Pencil, { className: "wwc:h-4 wwc:w-4" })
2062
+ }, {
2063
+ label: "Remove doctor",
2064
+ icon: /* @__PURE__ */ jsx(Trash2, { className: "wwc:h-4 wwc:w-4" }),
2065
+ destructive: true
2066
+ }] })
2067
+ }
2068
+ ];
2069
+ /** Doctor permission list. Rows act immediately — there is no draft state, so no save bar. */
2070
+ function DoctorsSettings() {
2071
+ return /* @__PURE__ */ jsxs("div", {
2072
+ className: "wwc:mx-auto wwc:w-full wwc:max-w-[1200px] wwc:p-6",
2073
+ children: [/* @__PURE__ */ jsx(SectionHeader, {
2074
+ title: "Doctor Permissions",
2075
+ description: "Control which companies' workers and which clinics' visitor-visits each doctor can see."
2076
+ }), /* @__PURE__ */ jsx(DataTable, {
2077
+ columns: DOCTOR_COLUMNS,
2078
+ data: DOCTOR_PERMISSIONS,
2079
+ searchKey: "name",
2080
+ searchPlaceholder: "Search doctors, companies, clinics…",
2081
+ recordLabel: "doctor",
2082
+ pageSize: 10,
2083
+ toolbarExtra: /* @__PURE__ */ jsx(AssignDoctorDialog, {
2084
+ doctors: DOCTOR_OPTIONS,
2085
+ companies: DOCTOR_COMPANY_OPTIONS,
2086
+ clinics: CLINIC_OPTIONS,
2087
+ trigger: /* @__PURE__ */ jsxs(Button, { children: [/* @__PURE__ */ jsx(Plus, { className: "wwc:h-4 wwc:w-4" }), "Assign Doctor"] })
2088
+ })
2089
+ })]
2090
+ });
2091
+ }
2092
+ /**
2093
+ * Clinic occupational-health template. Renders its own app shell and a content area that toggles
2094
+ * between the route header (Overview / Worker Fitness tabs + a Settings action) and a Settings
2095
+ * sub-surface (SideMenu + content).
2096
+ *
2097
+ * @deprecated Preview/demo prototype — renders built-in sample data and mock handlers. Not a
2098
+ * supported production import: compose your page from the widgets this template uses, wired to your
2099
+ * own data (see the CoreClinic template docs in Storybook). Slated for removal from the public API in a
2100
+ * future major.
2101
+ */
2102
+ function Clinic() {
2103
+ const [mode, setMode] = useState("default");
2104
+ const [activeTab, setActiveTab] = useState("overview");
2105
+ const [activeSetting, setActiveSetting] = useState("visit-frequency");
2106
+ const [detailLabel, setDetailLabel] = useState(null);
2107
+ const activeSettingLabel = settingLabel(activeSetting);
2108
+ const ontologyViewId = ONTOLOGY_SETTING_VIEW_IDS[activeSetting];
2109
+ const OntologyView = ontologyViewId ? ONTOLOGY_VIEWS[ontologyViewId] : void 0;
2110
+ const breadcrumb = mode === "settings" ? `Clinic / Settings / ${activeSettingLabel}${detailLabel ? ` / ${detailLabel}` : ""}` : `Clinic / ${tabLabel(activeTab)}`;
2111
+ return /* @__PURE__ */ jsxs("div", {
2112
+ className: "wwc:flex wwc:h-full wwc:min-h-0 wwc:bg-background wwc:text-foreground",
2113
+ children: [/* @__PURE__ */ jsx(CoreAppSidebar, {
2114
+ viewLevel: "org",
2115
+ orgGroups: CLINIC_GROUPS,
2116
+ activeItemId: "clinic",
2117
+ showSearch: false,
2118
+ showNotifications: false
2119
+ }), /* @__PURE__ */ jsxs("div", {
2120
+ className: "wwc:relative wwc:flex wwc:min-w-0 wwc:flex-1 wwc:flex-col",
2121
+ children: [/* @__PURE__ */ jsx(CoreAppTopBar, {
2122
+ activeLabel: breadcrumb,
2123
+ showProjectSwitcher: false,
2124
+ showNotifications: true,
2125
+ notificationCount: 2
2126
+ }), /* @__PURE__ */ jsx("main", {
2127
+ className: "wwc:relative wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col wwc:overflow-hidden",
2128
+ children: mode === "default" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(PageContentHeader, {
2129
+ variant: "navigation",
2130
+ title: "Clinic",
2131
+ tabs: TABS,
2132
+ activeTab,
2133
+ onTabChange: (tab) => setActiveTab(tab),
2134
+ actions: [{
2135
+ id: "settings",
2136
+ label: "Settings",
2137
+ icon: /* @__PURE__ */ jsx(Settings, { className: "wwc:h-4 wwc:w-4" }),
2138
+ presentation: "icon",
2139
+ onSelect: () => setMode("settings")
2140
+ }]
2141
+ }), activeTab === "worker-fitness" ? /* @__PURE__ */ jsx(WorkerFitnessView, {}) : /* @__PURE__ */ jsx(ClinicOverview, {})] }) : /* @__PURE__ */ jsxs("div", {
2142
+ className: "wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col wwc:md:flex-row",
2143
+ children: [/* @__PURE__ */ jsx(SideMenu, {
2144
+ title: "Settings",
2145
+ onBack: () => setMode("default"),
2146
+ backLabel: "Back to Clinic",
2147
+ showSearch: false,
2148
+ groups: SETTINGS_GROUPS,
2149
+ activeItemId: activeSetting,
2150
+ onItemSelect: (id) => setActiveSetting(id)
2151
+ }), /* @__PURE__ */ jsx("div", {
2152
+ className: cn("wwc:flex wwc:min-h-0 wwc:flex-1 wwc:flex-col", OntologyView ? "wwc:overflow-hidden" : "wwc:overflow-auto"),
2153
+ children: OntologyView ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
2154
+ /* @__PURE__ */ jsx(PageContentHeader, {
2155
+ variant: "title-actions",
2156
+ density: "compact",
2157
+ title: activeSettingLabel,
2158
+ description: ONTOLOGY_DESCRIPTION[activeSetting]
2159
+ }),
2160
+ /* @__PURE__ */ jsx(OntologyView, {
2161
+ scope: CLINIC_ONTOLOGY_SCOPE,
2162
+ onDetailChange: setDetailLabel
2163
+ }),
2164
+ /* @__PURE__ */ jsx(Toaster, { position: "top-right" })
2165
+ ] }) : activeSetting === "visit-frequency" ? /* @__PURE__ */ jsx(VisitFrequencySettings, {}) : activeSetting === "age-rules" ? /* @__PURE__ */ jsx(AgeRulesSettings, {}) : activeSetting === "clinics" ? /* @__PURE__ */ jsx(ClinicsSettings, {}) : /* @__PURE__ */ jsx(DoctorsSettings, {})
2166
+ })]
2167
+ })
2168
+ })]
2169
+ })]
2170
+ });
2171
+ }
2172
+ //#endregion
2173
+ export { Clinic };
2174
+
2175
+ //# sourceMappingURL=core-clinic.mjs.map