@mistriwork/kit 1.0.0-rc.11 → 1.0.0-rc.13

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 (970) hide show
  1. package/dist/client/actionGrants.d.ts +21 -0
  2. package/dist/client/actionGrants.js +24 -0
  3. package/dist/client/addressMount.d.ts +67 -0
  4. package/dist/client/addressMount.js +136 -0
  5. package/dist/client/app.d.ts +10 -0
  6. package/dist/client/app.js +976 -0
  7. package/dist/client/boot.d.ts +1 -0
  8. package/dist/client/boot.js +37 -0
  9. package/dist/client/brandLook.css +125 -0
  10. package/dist/client/breakdownBatch.d.ts +34 -0
  11. package/dist/client/breakdownBatch.js +115 -0
  12. package/dist/client/bulkActions.d.ts +66 -0
  13. package/dist/client/bulkActions.js +171 -0
  14. package/dist/client/chart.d.ts +20 -0
  15. package/dist/client/chart.js +80 -0
  16. package/dist/client/clauses.d.ts +121 -0
  17. package/dist/client/clauses.js +276 -0
  18. package/dist/client/columns.d.ts +77 -0
  19. package/dist/client/columns.js +102 -0
  20. package/dist/client/components/Accordion.d.ts +26 -0
  21. package/dist/client/components/Accordion.js +44 -0
  22. package/dist/client/components/ApiOperations.d.ts +3 -0
  23. package/dist/client/components/ApiOperations.js +162 -0
  24. package/dist/client/components/AppColumnMenu.d.ts +66 -0
  25. package/dist/client/components/AppColumnMenu.js +59 -0
  26. package/dist/client/components/AppColumnMenuPopups.d.ts +21 -0
  27. package/dist/client/components/AppColumnMenuPopups.js +92 -0
  28. package/dist/client/components/AppFooter.css +17 -0
  29. package/dist/client/components/AppFooter.d.ts +23 -0
  30. package/dist/client/components/AppFooter.js +12 -0
  31. package/dist/client/components/AppIssues.d.ts +4 -0
  32. package/dist/client/components/AppIssues.js +18 -0
  33. package/dist/client/components/AppList.d.ts +20 -0
  34. package/dist/client/components/AppList.js +696 -0
  35. package/dist/client/components/AttachmentList.d.ts +45 -0
  36. package/dist/client/components/AttachmentList.js +178 -0
  37. package/dist/client/components/BoardList.css +9 -0
  38. package/dist/client/components/Breakdown.d.ts +11 -0
  39. package/dist/client/components/Breakdown.js +157 -0
  40. package/dist/client/components/BreakdownRoom.d.ts +4 -0
  41. package/dist/client/components/BreakdownRoom.js +48 -0
  42. package/dist/client/components/CardsList.d.ts +23 -0
  43. package/dist/client/components/CardsList.js +209 -0
  44. package/dist/client/components/Chart.css +165 -0
  45. package/dist/client/components/Chart.d.ts +194 -0
  46. package/dist/client/components/Chart.js +801 -0
  47. package/dist/client/components/ChartFigure.d.ts +82 -0
  48. package/dist/client/components/ChartFigure.js +102 -0
  49. package/dist/client/components/ChartShapes.css +213 -0
  50. package/dist/client/components/ChartShapes.d.ts +63 -0
  51. package/dist/client/components/ChartShapes.js +393 -0
  52. package/dist/client/components/Checklist.css +16 -0
  53. package/dist/client/components/Composer.d.ts +1 -0
  54. package/dist/client/components/Composer.js +331 -0
  55. package/dist/client/components/Content.d.ts +8 -0
  56. package/dist/client/components/Content.js +170 -0
  57. package/dist/client/components/CountedLabel.d.ts +10 -0
  58. package/dist/client/components/CountedLabel.js +26 -0
  59. package/dist/client/components/Crumbs.d.ts +11 -0
  60. package/dist/client/components/Crumbs.js +142 -0
  61. package/dist/client/components/DashboardList.css +7 -0
  62. package/dist/client/components/DashboardList.d.ts +9 -0
  63. package/dist/client/components/DashboardList.js +46 -0
  64. package/dist/client/components/DashboardNote.d.ts +21 -0
  65. package/dist/client/components/DashboardNote.js +22 -0
  66. package/dist/client/components/DateField.css +6 -0
  67. package/dist/client/components/DateField.d.ts +7 -0
  68. package/dist/client/components/DateField.js +27 -0
  69. package/dist/client/components/DefinedFields.d.ts +50 -0
  70. package/dist/client/components/DefinedFields.js +186 -0
  71. package/dist/client/components/DeleteButton.d.ts +30 -0
  72. package/dist/client/components/DeleteButton.js +198 -0
  73. package/dist/client/components/Diagram.d.ts +7 -0
  74. package/dist/client/components/Diagram.js +320 -0
  75. package/dist/client/components/Dressed.d.ts +31 -0
  76. package/dist/client/components/Dressed.js +138 -0
  77. package/dist/client/components/Dropdown.d.ts +14 -0
  78. package/dist/client/components/Dropdown.js +20 -0
  79. package/dist/client/components/EditLayoutButton.d.ts +13 -0
  80. package/dist/client/components/EditLayoutButton.js +7 -0
  81. package/dist/client/components/Editable.d.ts +47 -0
  82. package/dist/client/components/Editable.js +422 -0
  83. package/dist/client/components/ErrorBoundary.d.ts +40 -0
  84. package/dist/client/components/ErrorBoundary.js +41 -0
  85. package/dist/client/components/Export.d.ts +15 -0
  86. package/dist/client/components/Export.js +151 -0
  87. package/dist/client/components/ExportHold.d.ts +18 -0
  88. package/dist/client/components/ExportHold.js +30 -0
  89. package/dist/client/components/FavoriteStar.d.ts +5 -0
  90. package/dist/client/components/FavoriteStar.js +14 -0
  91. package/dist/client/components/FieldArranger.d.ts +29 -0
  92. package/dist/client/components/FieldArranger.js +83 -0
  93. package/dist/client/components/FilePreview.css +20 -0
  94. package/dist/client/components/FilePreview.d.ts +26 -0
  95. package/dist/client/components/FilePreview.js +170 -0
  96. package/dist/client/components/FilterBoxes.d.ts +76 -0
  97. package/dist/client/components/FilterBoxes.js +294 -0
  98. package/dist/client/components/FilterRail.css +100 -0
  99. package/dist/client/components/FilterRail.d.ts +61 -0
  100. package/dist/client/components/FilterRail.js +559 -0
  101. package/dist/client/components/Gallery.d.ts +11 -0
  102. package/dist/client/components/Gallery.js +53 -0
  103. package/dist/client/components/Grid.d.ts +122 -0
  104. package/dist/client/components/Grid.js +1115 -0
  105. package/dist/client/components/GridCellEditor.d.ts +35 -0
  106. package/dist/client/components/GridCellEditor.js +291 -0
  107. package/dist/client/components/GridSelection.d.ts +16 -0
  108. package/dist/client/components/GridSelection.js +28 -0
  109. package/dist/client/components/HelpPanel.d.ts +5 -0
  110. package/dist/client/components/HelpPanel.js +92 -0
  111. package/dist/client/components/History.d.ts +10 -0
  112. package/dist/client/components/History.js +22 -0
  113. package/dist/client/components/Icon.d.ts +31 -0
  114. package/dist/client/components/Icon.js +20 -0
  115. package/dist/client/components/JsonPreview.d.ts +5 -0
  116. package/dist/client/components/JsonPreview.js +25 -0
  117. package/dist/client/components/JsonValue.d.ts +4 -0
  118. package/dist/client/components/JsonValue.js +3 -0
  119. package/dist/client/components/JsonView.css +109 -0
  120. package/dist/client/components/JsonView.d.ts +3 -0
  121. package/dist/client/components/JsonView.js +118 -0
  122. package/dist/client/components/Landing.d.ts +19 -0
  123. package/dist/client/components/Landing.js +55 -0
  124. package/dist/client/components/LandingSurface.css +177 -0
  125. package/dist/client/components/LandingSurface.d.ts +42 -0
  126. package/dist/client/components/LandingSurface.js +108 -0
  127. package/dist/client/components/LayoutBuilder.d.ts +36 -0
  128. package/dist/client/components/LayoutBuilder.js +104 -0
  129. package/dist/client/components/Lightbox.d.ts +29 -0
  130. package/dist/client/components/Lightbox.js +62 -0
  131. package/dist/client/components/ListEmpty.css +13 -0
  132. package/dist/client/components/ListEmpty.d.ts +10 -0
  133. package/dist/client/components/ListEmpty.js +8 -0
  134. package/dist/client/components/ListFilterBar.css +76 -0
  135. package/dist/client/components/ListFilterBar.d.ts +52 -0
  136. package/dist/client/components/ListFilterBar.js +304 -0
  137. package/dist/client/components/LiveNotices.css +105 -0
  138. package/dist/client/components/LiveNotices.d.ts +26 -0
  139. package/dist/client/components/LiveNotices.js +211 -0
  140. package/dist/client/components/MinorMoneyInput.d.ts +26 -0
  141. package/dist/client/components/MinorMoneyInput.js +50 -0
  142. package/dist/client/components/Modal.css +3 -0
  143. package/dist/client/components/MultiStepForm.css +122 -0
  144. package/dist/client/components/MultiStepForm.d.ts +59 -0
  145. package/dist/client/components/MultiStepForm.js +216 -0
  146. package/dist/client/components/NavGlyph.d.ts +14 -0
  147. package/dist/client/components/NavGlyph.js +27 -0
  148. package/dist/client/components/Nested.d.ts +21 -0
  149. package/dist/client/components/Nested.js +86 -0
  150. package/dist/client/components/NewRecord.d.ts +89 -0
  151. package/dist/client/components/NewRecord.js +897 -0
  152. package/dist/client/components/NewRecordButton.d.ts +13 -0
  153. package/dist/client/components/NewRecordButton.js +28 -0
  154. package/dist/client/components/Notes.css +39 -0
  155. package/dist/client/components/Notes.d.ts +59 -0
  156. package/dist/client/components/Notes.js +96 -0
  157. package/dist/client/components/OverflowMenu.d.ts +3 -0
  158. package/dist/client/components/OverflowMenu.js +60 -0
  159. package/dist/client/components/Page.d.ts +52 -0
  160. package/dist/client/components/Page.js +237 -0
  161. package/dist/client/components/PageCurrent.d.ts +38 -0
  162. package/dist/client/components/PageCurrent.js +27 -0
  163. package/dist/client/components/PageEmptyRun.d.ts +18 -0
  164. package/dist/client/components/PageEmptyRun.js +118 -0
  165. package/dist/client/components/PageFields.d.ts +3 -0
  166. package/dist/client/components/PageFields.js +294 -0
  167. package/dist/client/components/PageFlowDiagram.css +193 -0
  168. package/dist/client/components/PageFlowDiagram.d.ts +95 -0
  169. package/dist/client/components/PageFlowDiagram.js +276 -0
  170. package/dist/client/components/PageFlows.css +27 -0
  171. package/dist/client/components/PageFlows.d.ts +54 -0
  172. package/dist/client/components/PageFlows.js +92 -0
  173. package/dist/client/components/PageGroups.d.ts +43 -0
  174. package/dist/client/components/PageGroups.js +123 -0
  175. package/dist/client/components/PageHead.d.ts +28 -0
  176. package/dist/client/components/PageHead.js +279 -0
  177. package/dist/client/components/PageHeadline.d.ts +23 -0
  178. package/dist/client/components/PageHeadline.js +101 -0
  179. package/dist/client/components/PageHistory.d.ts +62 -0
  180. package/dist/client/components/PageHistory.js +160 -0
  181. package/dist/client/components/PageLayout.d.ts +22 -0
  182. package/dist/client/components/PageLayout.js +13 -0
  183. package/dist/client/components/PageMetrics.d.ts +11 -0
  184. package/dist/client/components/PageMetrics.js +252 -0
  185. package/dist/client/components/PageRelated.d.ts +70 -0
  186. package/dist/client/components/PageRelated.js +667 -0
  187. package/dist/client/components/PageRoom.d.ts +37 -0
  188. package/dist/client/components/PageRoom.js +277 -0
  189. package/dist/client/components/PageSectionBox.d.ts +28 -0
  190. package/dist/client/components/PageSectionBox.js +65 -0
  191. package/dist/client/components/PageSections.d.ts +38 -0
  192. package/dist/client/components/PageSections.js +352 -0
  193. package/dist/client/components/PageSkeleton.css +17 -0
  194. package/dist/client/components/PageSkeleton.d.ts +11 -0
  195. package/dist/client/components/PageSkeleton.js +25 -0
  196. package/dist/client/components/PageTimeline.d.ts +2 -0
  197. package/dist/client/components/PageTimeline.js +273 -0
  198. package/dist/client/components/Palette.d.ts +4 -0
  199. package/dist/client/components/Palette.js +176 -0
  200. package/dist/client/components/Peek.d.ts +1 -0
  201. package/dist/client/components/Peek.js +158 -0
  202. package/dist/client/components/PeekPanel.d.ts +16 -0
  203. package/dist/client/components/PeekPanel.js +120 -0
  204. package/dist/client/components/Picker.d.ts +13 -0
  205. package/dist/client/components/Picker.js +33 -0
  206. package/dist/client/components/Prefs.d.ts +3 -0
  207. package/dist/client/components/Prefs.js +121 -0
  208. package/dist/client/components/PresentationSwitch.d.ts +13 -0
  209. package/dist/client/components/PresentationSwitch.js +10 -0
  210. package/dist/client/components/Prompt.d.ts +35 -0
  211. package/dist/client/components/Prompt.js +114 -0
  212. package/dist/client/components/QrCode.css +11 -0
  213. package/dist/client/components/QrCode.d.ts +4 -0
  214. package/dist/client/components/QrCode.js +57 -0
  215. package/dist/client/components/QueueList.css +122 -0
  216. package/dist/client/components/QuickAdd.css +18 -0
  217. package/dist/client/components/QuickAdd.d.ts +11 -0
  218. package/dist/client/components/QuickAdd.js +53 -0
  219. package/dist/client/components/QuickAddOnDemand.d.ts +4 -0
  220. package/dist/client/components/QuickAddOnDemand.js +10 -0
  221. package/dist/client/components/Record.d.ts +36 -0
  222. package/dist/client/components/Record.js +385 -0
  223. package/dist/client/components/RecordGone.d.ts +7 -0
  224. package/dist/client/components/RecordGone.js +22 -0
  225. package/dist/client/components/RecordPicker.d.ts +59 -0
  226. package/dist/client/components/RecordPicker.js +299 -0
  227. package/dist/client/components/RecordSummaries.d.ts +55 -0
  228. package/dist/client/components/RecordSummaries.js +151 -0
  229. package/dist/client/components/RecordTags.d.ts +6 -0
  230. package/dist/client/components/RecordTags.js +119 -0
  231. package/dist/client/components/RecordTrailNav.d.ts +25 -0
  232. package/dist/client/components/RecordTrailNav.js +110 -0
  233. package/dist/client/components/RichText.d.ts +7 -0
  234. package/dist/client/components/RichText.js +82 -0
  235. package/dist/client/components/RichTextEditor.css +202 -0
  236. package/dist/client/components/RichTextEditor.d.ts +33 -0
  237. package/dist/client/components/RichTextEditor.js +348 -0
  238. package/dist/client/components/RichTextField.d.ts +26 -0
  239. package/dist/client/components/RichTextField.js +71 -0
  240. package/dist/client/components/Rooms.d.ts +35 -0
  241. package/dist/client/components/Rooms.js +276 -0
  242. package/dist/client/components/RowActions.d.ts +8 -0
  243. package/dist/client/components/RowActions.js +49 -0
  244. package/dist/client/components/RowHost.d.ts +110 -0
  245. package/dist/client/components/RowHost.js +212 -0
  246. package/dist/client/components/SavedViews.d.ts +25 -0
  247. package/dist/client/components/SavedViews.js +35 -0
  248. package/dist/client/components/SchemaExport.d.ts +15 -0
  249. package/dist/client/components/SchemaExport.js +42 -0
  250. package/dist/client/components/SectionPeriod.css +14 -0
  251. package/dist/client/components/SectionPeriod.d.ts +7 -0
  252. package/dist/client/components/SectionPeriod.js +14 -0
  253. package/dist/client/components/SetFieldDialog.d.ts +12 -0
  254. package/dist/client/components/SetFieldDialog.js +51 -0
  255. package/dist/client/components/Sidebar.d.ts +34 -0
  256. package/dist/client/components/Sidebar.js +398 -0
  257. package/dist/client/components/Skeleton.d.ts +35 -0
  258. package/dist/client/components/Skeleton.js +49 -0
  259. package/dist/client/components/SortMenu.d.ts +20 -0
  260. package/dist/client/components/SortMenu.js +45 -0
  261. package/dist/client/components/SplitListDetail.css +119 -0
  262. package/dist/client/components/SuggestBox.d.ts +29 -0
  263. package/dist/client/components/SuggestBox.js +60 -0
  264. package/dist/client/components/Summary.d.ts +14 -0
  265. package/dist/client/components/Summary.js +93 -0
  266. package/dist/client/components/TableRoom.d.ts +88 -0
  267. package/dist/client/components/TableRoom.js +246 -0
  268. package/dist/client/components/TableView.d.ts +111 -0
  269. package/dist/client/components/TableView.js +324 -0
  270. package/dist/client/components/ThMenu.d.ts +40 -0
  271. package/dist/client/components/ThMenu.js +163 -0
  272. package/dist/client/components/ThemeLab.d.ts +4 -0
  273. package/dist/client/components/ThemeLab.js +67 -0
  274. package/dist/client/components/TimelineSides.css +23 -0
  275. package/dist/client/components/TimelineSides.d.ts +7 -0
  276. package/dist/client/components/TimelineSides.js +9 -0
  277. package/dist/client/components/Tour.d.ts +12 -0
  278. package/dist/client/components/Tour.js +131 -0
  279. package/dist/client/components/Value.d.ts +38 -0
  280. package/dist/client/components/Value.js +172 -0
  281. package/dist/client/components/WorkPanel.d.ts +9 -0
  282. package/dist/client/components/WorkPanel.js +43 -0
  283. package/dist/client/components/WorkflowStatus.d.ts +6 -0
  284. package/dist/client/components/WorkflowStatus.js +44 -0
  285. package/dist/client/components/WriteConfirm.d.ts +4 -0
  286. package/dist/client/components/WriteConfirm.js +27 -0
  287. package/dist/client/components/appColumnMenuModel.d.ts +46 -0
  288. package/dist/client/components/appColumnMenuModel.js +51 -0
  289. package/dist/client/components/appListModel.d.ts +179 -0
  290. package/dist/client/components/appListModel.js +421 -0
  291. package/dist/client/components/appRooms.d.ts +106 -0
  292. package/dist/client/components/appRooms.js +133 -0
  293. package/dist/client/components/autoChart.d.ts +33 -0
  294. package/dist/client/components/autoChart.js +107 -0
  295. package/dist/client/components/avatarPhotos.d.ts +45 -0
  296. package/dist/client/components/avatarPhotos.js +93 -0
  297. package/dist/client/components/besideDetail.d.ts +1 -0
  298. package/dist/client/components/besideDetail.js +10 -0
  299. package/dist/client/components/boardNew.d.ts +2 -0
  300. package/dist/client/components/boardNew.js +8 -0
  301. package/dist/client/components/cardsModel.d.ts +11 -0
  302. package/dist/client/components/cardsModel.js +24 -0
  303. package/dist/client/components/chromeIcons.d.ts +16 -0
  304. package/dist/client/components/chromeIcons.js +16 -0
  305. package/dist/client/components/columnPresentation.d.ts +8 -0
  306. package/dist/client/components/columnPresentation.js +47 -0
  307. package/dist/client/components/componentSlot.d.ts +31 -0
  308. package/dist/client/components/componentSlot.js +76 -0
  309. package/dist/client/components/composerDraft.d.ts +16 -0
  310. package/dist/client/components/composerDraft.js +16 -0
  311. package/dist/client/components/conditionText.d.ts +14 -0
  312. package/dist/client/components/conditionText.js +45 -0
  313. package/dist/client/components/conditionWords.d.ts +37 -0
  314. package/dist/client/components/conditionWords.js +382 -0
  315. package/dist/client/components/crumbSlot.d.ts +14 -0
  316. package/dist/client/components/crumbSlot.js +49 -0
  317. package/dist/client/components/dashboardModel.d.ts +283 -0
  318. package/dist/client/components/dashboardModel.js +415 -0
  319. package/dist/client/components/dashboardParts.d.ts +9 -0
  320. package/dist/client/components/dashboardParts.js +18 -0
  321. package/dist/client/components/diagramModel.d.ts +83 -0
  322. package/dist/client/components/diagramModel.js +211 -0
  323. package/dist/client/components/dueOpen.d.ts +1 -0
  324. package/dist/client/components/dueOpen.js +23 -0
  325. package/dist/client/components/editInteraction.d.ts +20 -0
  326. package/dist/client/components/editInteraction.js +178 -0
  327. package/dist/client/components/favoriteNav.d.ts +6 -0
  328. package/dist/client/components/favoriteNav.js +31 -0
  329. package/dist/client/components/favorites.d.ts +23 -0
  330. package/dist/client/components/favorites.js +86 -0
  331. package/dist/client/components/filePreviewModel.d.ts +18 -0
  332. package/dist/client/components/filePreviewModel.js +21 -0
  333. package/dist/client/components/filterRailModel.d.ts +93 -0
  334. package/dist/client/components/filterRailModel.js +302 -0
  335. package/dist/client/components/formControlsStyle.d.ts +1 -0
  336. package/dist/client/components/formControlsStyle.js +3 -0
  337. package/dist/client/components/formDefaults.d.ts +17 -0
  338. package/dist/client/components/formDefaults.js +128 -0
  339. package/dist/client/components/gridArrange.d.ts +33 -0
  340. package/dist/client/components/gridArrange.js +62 -0
  341. package/dist/client/components/gridCellModel.d.ts +32 -0
  342. package/dist/client/components/gridCellModel.js +42 -0
  343. package/dist/client/components/gridSizing.d.ts +89 -0
  344. package/dist/client/components/gridSizing.js +295 -0
  345. package/dist/client/components/groupMoves.d.ts +44 -0
  346. package/dist/client/components/groupMoves.js +295 -0
  347. package/dist/client/components/groupOrder.d.ts +43 -0
  348. package/dist/client/components/groupOrder.js +63 -0
  349. package/dist/client/components/inputRenderers.d.ts +48 -0
  350. package/dist/client/components/inputRenderers.js +37 -0
  351. package/dist/client/components/intakeStyle.d.ts +2 -0
  352. package/dist/client/components/intakeStyle.js +6 -0
  353. package/dist/client/components/jsonModel.d.ts +98 -0
  354. package/dist/client/components/jsonModel.js +264 -0
  355. package/dist/client/components/listColumn.d.ts +20 -0
  356. package/dist/client/components/listColumn.js +31 -0
  357. package/dist/client/components/listNavigation.d.ts +16 -0
  358. package/dist/client/components/listNavigation.js +14 -0
  359. package/dist/client/components/mentionRows.d.ts +5 -0
  360. package/dist/client/components/mentionRows.js +62 -0
  361. package/dist/client/components/mount.d.ts +55 -0
  362. package/dist/client/components/mount.js +155 -0
  363. package/dist/client/components/myViews.d.ts +54 -0
  364. package/dist/client/components/myViews.js +82 -0
  365. package/dist/client/components/navCounts.d.ts +84 -0
  366. package/dist/client/components/navCounts.js +194 -0
  367. package/dist/client/components/navigationTree.d.ts +52 -0
  368. package/dist/client/components/navigationTree.js +49 -0
  369. package/dist/client/components/newMenuModel.d.ts +27 -0
  370. package/dist/client/components/newMenuModel.js +58 -0
  371. package/dist/client/components/newRecordModel.d.ts +58 -0
  372. package/dist/client/components/newRecordModel.js +232 -0
  373. package/dist/client/components/onDemand.d.ts +30 -0
  374. package/dist/client/components/onDemand.js +121 -0
  375. package/dist/client/components/optimisticMoves.d.ts +21 -0
  376. package/dist/client/components/optimisticMoves.js +145 -0
  377. package/dist/client/components/pageContext.d.ts +154 -0
  378. package/dist/client/components/pageContext.js +47 -0
  379. package/dist/client/components/pageFieldsRead.d.ts +67 -0
  380. package/dist/client/components/pageFieldsRead.js +55 -0
  381. package/dist/client/components/pageModel.d.ts +203 -0
  382. package/dist/client/components/pageModel.js +67 -0
  383. package/dist/client/components/pageStep.d.ts +31 -0
  384. package/dist/client/components/pageStep.js +15 -0
  385. package/dist/client/components/paletteModel.d.ts +9 -0
  386. package/dist/client/components/paletteModel.js +46 -0
  387. package/dist/client/components/pickerStaleness.d.ts +32 -0
  388. package/dist/client/components/pickerStaleness.js +27 -0
  389. package/dist/client/components/placeOrder.d.ts +47 -0
  390. package/dist/client/components/placeOrder.js +71 -0
  391. package/dist/client/components/pointerDrag.d.ts +54 -0
  392. package/dist/client/components/pointerDrag.js +95 -0
  393. package/dist/client/components/presentationFit.d.ts +19 -0
  394. package/dist/client/components/presentationFit.js +32 -0
  395. package/dist/client/components/recordKeys.d.ts +2 -0
  396. package/dist/client/components/recordKeys.js +8 -0
  397. package/dist/client/components/recordSearch.d.ts +31 -0
  398. package/dist/client/components/recordSearch.js +80 -0
  399. package/dist/client/components/recordSurface.d.ts +86 -0
  400. package/dist/client/components/recordSurface.js +267 -0
  401. package/dist/client/components/rowOpens.d.ts +19 -0
  402. package/dist/client/components/rowOpens.js +25 -0
  403. package/dist/client/components/sidebarModel.d.ts +152 -0
  404. package/dist/client/components/sidebarModel.js +372 -0
  405. package/dist/client/components/suggestModel.d.ts +22 -0
  406. package/dist/client/components/suggestModel.js +49 -0
  407. package/dist/client/components/suggestPart.d.ts +4 -0
  408. package/dist/client/components/suggestPart.js +4 -0
  409. package/dist/client/components/textMeasure.d.ts +2 -0
  410. package/dist/client/components/textMeasure.js +35 -0
  411. package/dist/client/components/unknownIcon.d.ts +8 -0
  412. package/dist/client/components/unknownIcon.js +32 -0
  413. package/dist/client/components/useBulkSelection.d.ts +30 -0
  414. package/dist/client/components/useBulkSelection.js +360 -0
  415. package/dist/client/components/useConditionWords.d.ts +17 -0
  416. package/dist/client/components/useConditionWords.js +104 -0
  417. package/dist/client/components/useGridKeyboard.d.ts +32 -0
  418. package/dist/client/components/useGridKeyboard.js +223 -0
  419. package/dist/client/components/useListOrder.d.ts +94 -0
  420. package/dist/client/components/useListOrder.js +294 -0
  421. package/dist/client/components/useMediaQuery.d.ts +10 -0
  422. package/dist/client/components/useMediaQuery.js +45 -0
  423. package/dist/client/components/useMessageLanguage.d.ts +1 -0
  424. package/dist/client/components/useMessageLanguage.js +6 -0
  425. package/dist/client/components/usePins.d.ts +20 -0
  426. package/dist/client/components/usePins.js +66 -0
  427. package/dist/client/components/usePointerDrag.d.ts +72 -0
  428. package/dist/client/components/usePointerDrag.js +553 -0
  429. package/dist/client/components/useRecordInsert.d.ts +42 -0
  430. package/dist/client/components/useRecordInsert.js +145 -0
  431. package/dist/client/components/useRowWindow.d.ts +35 -0
  432. package/dist/client/components/useRowWindow.js +149 -0
  433. package/dist/client/components/useStickyHead.d.ts +17 -0
  434. package/dist/client/components/useStickyHead.js +65 -0
  435. package/dist/client/components/useTabFold.d.ts +32 -0
  436. package/dist/client/components/useTabFold.js +145 -0
  437. package/dist/client/components/valueModel.d.ts +300 -0
  438. package/dist/client/components/valueModel.js +560 -0
  439. package/dist/client/components/valueRenderers.d.ts +36 -0
  440. package/dist/client/components/valueRenderers.js +13 -0
  441. package/dist/client/components/viewLink.d.ts +27 -0
  442. package/dist/client/components/viewLink.js +79 -0
  443. package/dist/client/components/walk.d.ts +14 -0
  444. package/dist/client/components/walk.js +16 -0
  445. package/dist/client/compose.d.ts +8 -0
  446. package/dist/client/compose.js +163 -0
  447. package/dist/client/composedHook.d.ts +20 -0
  448. package/dist/client/composedHook.js +12 -0
  449. package/dist/client/composedReads.d.ts +26 -0
  450. package/dist/client/composedReads.js +183 -0
  451. package/dist/client/composer.css +499 -0
  452. package/dist/client/composer.d.ts +121 -0
  453. package/dist/client/composer.js +1079 -0
  454. package/dist/client/composerEntry.d.ts +1 -0
  455. package/dist/client/composerEntry.js +58 -0
  456. package/dist/client/composerTab.d.ts +6 -0
  457. package/dist/client/composerTab.js +20 -0
  458. package/dist/client/conditions.d.ts +46 -0
  459. package/dist/client/conditions.js +150 -0
  460. package/dist/client/connectionList.d.ts +14 -0
  461. package/dist/client/connectionList.js +149 -0
  462. package/dist/client/connectionScope.d.ts +6 -0
  463. package/dist/client/connectionScope.js +14 -0
  464. package/dist/client/connectionTransition.d.ts +12 -0
  465. package/dist/client/connectionTransition.js +41 -0
  466. package/dist/client/copy/columnMenu/components/AppColumnMenu.d.ts +4 -0
  467. package/dist/client/copy/columnMenu/components/AppColumnMenu.js +6 -0
  468. package/dist/client/copy/columnMenu/components/AppColumnMenuPopups.d.ts +4 -0
  469. package/dist/client/copy/columnMenu/components/AppColumnMenuPopups.js +6 -0
  470. package/dist/client/copy/columnMenu/components/ThMenu.d.ts +35 -0
  471. package/dist/client/copy/columnMenu/components/ThMenu.js +37 -0
  472. package/dist/client/copy/columnMenu/components/appColumnMenuModel.d.ts +10 -0
  473. package/dist/client/copy/columnMenu/components/appColumnMenuModel.js +12 -0
  474. package/dist/client/copy/dashboards/breakdownBatch.d.ts +3 -0
  475. package/dist/client/copy/dashboards/breakdownBatch.js +5 -0
  476. package/dist/client/copy/dashboards/components/Breakdown.d.ts +32 -0
  477. package/dist/client/copy/dashboards/components/Breakdown.js +25 -0
  478. package/dist/client/copy/dashboards/components/BreakdownRoom.d.ts +3 -0
  479. package/dist/client/copy/dashboards/components/BreakdownRoom.js +5 -0
  480. package/dist/client/copy/dashboards/components/Chart.d.ts +26 -0
  481. package/dist/client/copy/dashboards/components/Chart.js +19 -0
  482. package/dist/client/copy/dashboards/components/ChartShapes.d.ts +16 -0
  483. package/dist/client/copy/dashboards/components/ChartShapes.js +12 -0
  484. package/dist/client/copy/dashboards/components/PageMetrics.d.ts +21 -0
  485. package/dist/client/copy/dashboards/components/PageMetrics.js +20 -0
  486. package/dist/client/copy/dashboards/components/SectionPeriod.d.ts +4 -0
  487. package/dist/client/copy/dashboards/components/SectionPeriod.js +6 -0
  488. package/dist/client/copy/dashboards/components/dashboardModel.d.ts +3 -0
  489. package/dist/client/copy/dashboards/components/dashboardModel.js +5 -0
  490. package/dist/client/copy/es.d.ts +11 -0
  491. package/dist/client/copy/es.js +60 -0
  492. package/dist/client/copy/filters/components/FilterBoxes.d.ts +10 -0
  493. package/dist/client/copy/filters/components/FilterBoxes.js +12 -0
  494. package/dist/client/copy/filters/components/FilterRail.d.ts +16 -0
  495. package/dist/client/copy/filters/components/FilterRail.js +18 -0
  496. package/dist/client/copy/filters/components/ListFilterBar.d.ts +9 -0
  497. package/dist/client/copy/filters/components/ListFilterBar.js +11 -0
  498. package/dist/client/copy/filters/components/conditionWords.d.ts +46 -0
  499. package/dist/client/copy/filters/components/conditionWords.js +95 -0
  500. package/dist/client/copy/filters/components/filterRailModel.d.ts +12 -0
  501. package/dist/client/copy/filters/components/filterRailModel.js +14 -0
  502. package/dist/client/copy/forms/components/DateField.d.ts +13 -0
  503. package/dist/client/copy/forms/components/DateField.js +15 -0
  504. package/dist/client/copy/forms/components/MinorMoneyInput.d.ts +4 -0
  505. package/dist/client/copy/forms/components/MinorMoneyInput.js +6 -0
  506. package/dist/client/copy/forms/components/MultiStepForm.d.ts +10 -0
  507. package/dist/client/copy/forms/components/MultiStepForm.js +12 -0
  508. package/dist/client/copy/forms/components/NewRecord.d.ts +29 -0
  509. package/dist/client/copy/forms/components/NewRecord.js +31 -0
  510. package/dist/client/copy/forms/components/NewRecordButton.d.ts +6 -0
  511. package/dist/client/copy/forms/components/NewRecordButton.js +8 -0
  512. package/dist/client/copy/forms/components/Picker.d.ts +4 -0
  513. package/dist/client/copy/forms/components/Picker.js +6 -0
  514. package/dist/client/copy/forms/components/QuickAdd.d.ts +3 -0
  515. package/dist/client/copy/forms/components/QuickAdd.js +5 -0
  516. package/dist/client/copy/forms/components/RecordPicker.d.ts +6 -0
  517. package/dist/client/copy/forms/components/RecordPicker.js +8 -0
  518. package/dist/client/copy/forms/components/RichTextEditor.d.ts +36 -0
  519. package/dist/client/copy/forms/components/RichTextEditor.js +40 -0
  520. package/dist/client/copy/forms/components/RichTextField.d.ts +3 -0
  521. package/dist/client/copy/forms/components/RichTextField.js +5 -0
  522. package/dist/client/copy/forms/components/SetFieldDialog.d.ts +10 -0
  523. package/dist/client/copy/forms/components/SetFieldDialog.js +9 -0
  524. package/dist/client/copy/forms/components/useRecordInsert.d.ts +7 -0
  525. package/dist/client/copy/forms/components/useRecordInsert.js +9 -0
  526. package/dist/client/copy/help/helpContent.d.ts +71 -0
  527. package/dist/client/copy/help/helpContent.js +73 -0
  528. package/dist/client/copy/lists/bulkActions.d.ts +12 -0
  529. package/dist/client/copy/lists/bulkActions.js +14 -0
  530. package/dist/client/copy/lists/components/AppList.d.ts +28 -0
  531. package/dist/client/copy/lists/components/AppList.js +30 -0
  532. package/dist/client/copy/lists/components/CardsList.d.ts +3 -0
  533. package/dist/client/copy/lists/components/CardsList.js +5 -0
  534. package/dist/client/copy/lists/components/Gallery.d.ts +7 -0
  535. package/dist/client/copy/lists/components/Gallery.js +9 -0
  536. package/dist/client/copy/lists/components/Grid.d.ts +30 -0
  537. package/dist/client/copy/lists/components/Grid.js +29 -0
  538. package/dist/client/copy/lists/components/GridCellEditor.d.ts +5 -0
  539. package/dist/client/copy/lists/components/GridCellEditor.js +7 -0
  540. package/dist/client/copy/lists/components/GridSelection.d.ts +4 -0
  541. package/dist/client/copy/lists/components/GridSelection.js +6 -0
  542. package/dist/client/copy/lists/components/Nested.d.ts +7 -0
  543. package/dist/client/copy/lists/components/Nested.js +9 -0
  544. package/dist/client/copy/lists/components/RowActions.d.ts +1 -0
  545. package/dist/client/copy/lists/components/RowActions.js +3 -0
  546. package/dist/client/copy/lists/components/SavedViews.d.ts +5 -0
  547. package/dist/client/copy/lists/components/SavedViews.js +7 -0
  548. package/dist/client/copy/lists/components/SortMenu.d.ts +5 -0
  549. package/dist/client/copy/lists/components/SortMenu.js +7 -0
  550. package/dist/client/copy/lists/components/TableRoom.d.ts +12 -0
  551. package/dist/client/copy/lists/components/TableRoom.js +14 -0
  552. package/dist/client/copy/lists/components/TableView.d.ts +37 -0
  553. package/dist/client/copy/lists/components/TableView.js +39 -0
  554. package/dist/client/copy/lists/components/appListModel.d.ts +6 -0
  555. package/dist/client/copy/lists/components/appListModel.js +5 -0
  556. package/dist/client/copy/lists/components/myViews.d.ts +4 -0
  557. package/dist/client/copy/lists/components/myViews.js +6 -0
  558. package/dist/client/copy/lists/components/placeOrder.d.ts +4 -0
  559. package/dist/client/copy/lists/components/placeOrder.js +6 -0
  560. package/dist/client/copy/lists/components/useBulkSelection.d.ts +20 -0
  561. package/dist/client/copy/lists/components/useBulkSelection.js +16 -0
  562. package/dist/client/copy/lists/components/useListOrder.d.ts +7 -0
  563. package/dist/client/copy/lists/components/useListOrder.js +9 -0
  564. package/dist/client/copy/public/components/appRooms.d.ts +3 -0
  565. package/dist/client/copy/public/components/appRooms.js +5 -0
  566. package/dist/client/copy/record/components/Actions.d.ts +13 -0
  567. package/dist/client/copy/record/components/Actions.js +15 -0
  568. package/dist/client/copy/record/components/AttachmentList.d.ts +23 -0
  569. package/dist/client/copy/record/components/AttachmentList.js +22 -0
  570. package/dist/client/copy/record/components/DeleteButton.d.ts +22 -0
  571. package/dist/client/copy/record/components/DeleteButton.js +24 -0
  572. package/dist/client/copy/record/components/Dressed.d.ts +5 -0
  573. package/dist/client/copy/record/components/Dressed.js +7 -0
  574. package/dist/client/copy/record/components/EditLayoutButton.d.ts +5 -0
  575. package/dist/client/copy/record/components/EditLayoutButton.js +7 -0
  576. package/dist/client/copy/record/components/Editable.d.ts +25 -0
  577. package/dist/client/copy/record/components/Editable.js +24 -0
  578. package/dist/client/copy/record/components/FieldArranger.d.ts +15 -0
  579. package/dist/client/copy/record/components/FieldArranger.js +17 -0
  580. package/dist/client/copy/record/components/FilePreview.d.ts +13 -0
  581. package/dist/client/copy/record/components/FilePreview.js +15 -0
  582. package/dist/client/copy/record/components/JsonPreview.d.ts +3 -0
  583. package/dist/client/copy/record/components/JsonPreview.js +5 -0
  584. package/dist/client/copy/record/components/JsonView.d.ts +12 -0
  585. package/dist/client/copy/record/components/JsonView.js +14 -0
  586. package/dist/client/copy/record/components/LayoutBuilder.d.ts +23 -0
  587. package/dist/client/copy/record/components/LayoutBuilder.js +25 -0
  588. package/dist/client/copy/record/components/Lightbox.d.ts +5 -0
  589. package/dist/client/copy/record/components/Lightbox.js +7 -0
  590. package/dist/client/copy/record/components/LiveNotices.d.ts +33 -0
  591. package/dist/client/copy/record/components/LiveNotices.js +29 -0
  592. package/dist/client/copy/record/components/PageCurrent.d.ts +1 -0
  593. package/dist/client/copy/record/components/PageCurrent.js +3 -0
  594. package/dist/client/copy/record/components/PageEmptyRun.d.ts +3 -0
  595. package/dist/client/copy/record/components/PageEmptyRun.js +5 -0
  596. package/dist/client/copy/record/components/PageFields.d.ts +5 -0
  597. package/dist/client/copy/record/components/PageFields.js +7 -0
  598. package/dist/client/copy/record/components/PageFlowDiagram.d.ts +33 -0
  599. package/dist/client/copy/record/components/PageFlowDiagram.js +37 -0
  600. package/dist/client/copy/record/components/PageFlows.d.ts +20 -0
  601. package/dist/client/copy/record/components/PageFlows.js +22 -0
  602. package/dist/client/copy/record/components/PageGroups.d.ts +12 -0
  603. package/dist/client/copy/record/components/PageGroups.js +14 -0
  604. package/dist/client/copy/record/components/PageHead.d.ts +8 -0
  605. package/dist/client/copy/record/components/PageHead.js +10 -0
  606. package/dist/client/copy/record/components/PageHistory.d.ts +18 -0
  607. package/dist/client/copy/record/components/PageHistory.js +20 -0
  608. package/dist/client/copy/record/components/PageLayout.d.ts +5 -0
  609. package/dist/client/copy/record/components/PageLayout.js +7 -0
  610. package/dist/client/copy/record/components/PageRelated.d.ts +24 -0
  611. package/dist/client/copy/record/components/PageRelated.js +26 -0
  612. package/dist/client/copy/record/components/PageRoom.d.ts +4 -0
  613. package/dist/client/copy/record/components/PageRoom.js +6 -0
  614. package/dist/client/copy/record/components/PageSectionBox.d.ts +6 -0
  615. package/dist/client/copy/record/components/PageSectionBox.js +10 -0
  616. package/dist/client/copy/record/components/PageTimeline.d.ts +9 -0
  617. package/dist/client/copy/record/components/PageTimeline.js +8 -0
  618. package/dist/client/copy/record/components/Peek.d.ts +3 -0
  619. package/dist/client/copy/record/components/Peek.js +5 -0
  620. package/dist/client/copy/record/components/PeekPanel.d.ts +5 -0
  621. package/dist/client/copy/record/components/PeekPanel.js +7 -0
  622. package/dist/client/copy/record/components/QrCode.d.ts +3 -0
  623. package/dist/client/copy/record/components/QrCode.js +5 -0
  624. package/dist/client/copy/record/components/Record.d.ts +19 -0
  625. package/dist/client/copy/record/components/Record.js +21 -0
  626. package/dist/client/copy/record/components/RecordGone.d.ts +4 -0
  627. package/dist/client/copy/record/components/RecordGone.js +6 -0
  628. package/dist/client/copy/record/components/RecordSummaries.d.ts +1 -0
  629. package/dist/client/copy/record/components/RecordSummaries.js +3 -0
  630. package/dist/client/copy/record/components/RecordTags.d.ts +9 -0
  631. package/dist/client/copy/record/components/RecordTags.js +11 -0
  632. package/dist/client/copy/record/components/RecordTrailNav.d.ts +8 -0
  633. package/dist/client/copy/record/components/RecordTrailNav.js +10 -0
  634. package/dist/client/copy/record/components/RichText.d.ts +4 -0
  635. package/dist/client/copy/record/components/RichText.js +6 -0
  636. package/dist/client/copy/record/components/Value.d.ts +4 -0
  637. package/dist/client/copy/record/components/Value.js +6 -0
  638. package/dist/client/copy/record/components/WorkflowStatus.d.ts +7 -0
  639. package/dist/client/copy/record/components/WorkflowStatus.js +9 -0
  640. package/dist/client/copy/record/components/WriteConfirm.d.ts +11 -0
  641. package/dist/client/copy/record/components/WriteConfirm.js +13 -0
  642. package/dist/client/copy/record/components/groupMoves.d.ts +7 -0
  643. package/dist/client/copy/record/components/groupMoves.js +9 -0
  644. package/dist/client/copy/record/components/jsonModel.d.ts +3 -0
  645. package/dist/client/copy/record/components/jsonModel.js +5 -0
  646. package/dist/client/copy/record/components/pageModel.d.ts +5 -0
  647. package/dist/client/copy/record/components/pageModel.js +7 -0
  648. package/dist/client/copy/record/components/recordSurface.d.ts +6 -0
  649. package/dist/client/copy/record/components/recordSurface.js +8 -0
  650. package/dist/client/copy/record/components/valueModel.d.ts +5 -0
  651. package/dist/client/copy/record/components/valueModel.js +7 -0
  652. package/dist/client/copy/record/fileSource.d.ts +3 -0
  653. package/dist/client/copy/record/fileSource.js +5 -0
  654. package/dist/client/copy/record/insert.d.ts +6 -0
  655. package/dist/client/copy/record/insert.js +8 -0
  656. package/dist/client/copy/record/page.d.ts +4 -0
  657. package/dist/client/copy/record/page.js +6 -0
  658. package/dist/client/copy/record/recordEditValidation.d.ts +4 -0
  659. package/dist/client/copy/record/recordEditValidation.js +6 -0
  660. package/dist/client/copy/record/savedPages.d.ts +4 -0
  661. package/dist/client/copy/record/savedPages.js +6 -0
  662. package/dist/client/copy/record/template.d.ts +9 -0
  663. package/dist/client/copy/record/template.js +11 -0
  664. package/dist/client/copy/record/write.d.ts +30 -0
  665. package/dist/client/copy/record/write.js +26 -0
  666. package/dist/client/copy/shell/app.d.ts +27 -0
  667. package/dist/client/copy/shell/app.js +43 -0
  668. package/dist/client/copy/shell/components/AppIssues.d.ts +10 -0
  669. package/dist/client/copy/shell/components/AppIssues.js +9 -0
  670. package/dist/client/copy/shell/components/Crumbs.d.ts +7 -0
  671. package/dist/client/copy/shell/components/Crumbs.js +17 -0
  672. package/dist/client/copy/shell/components/Dropdown.d.ts +3 -0
  673. package/dist/client/copy/shell/components/Dropdown.js +5 -0
  674. package/dist/client/copy/shell/components/ErrorBoundary.d.ts +4 -0
  675. package/dist/client/copy/shell/components/ErrorBoundary.js +6 -0
  676. package/dist/client/copy/shell/components/FavoriteStar.d.ts +4 -0
  677. package/dist/client/copy/shell/components/FavoriteStar.js +6 -0
  678. package/dist/client/copy/shell/components/MobileNavDrawer.d.ts +4 -0
  679. package/dist/client/copy/shell/components/MobileNavDrawer.js +12 -0
  680. package/dist/client/copy/shell/components/OverflowMenu.d.ts +3 -0
  681. package/dist/client/copy/shell/components/OverflowMenu.js +10 -0
  682. package/dist/client/copy/shell/components/Palette.d.ts +15 -0
  683. package/dist/client/copy/shell/components/Palette.js +18 -0
  684. package/dist/client/copy/shell/components/Prefs.d.ts +4 -0
  685. package/dist/client/copy/shell/components/Prefs.js +11 -0
  686. package/dist/client/copy/shell/components/Prompt.d.ts +1 -0
  687. package/dist/client/copy/shell/components/Prompt.js +3 -0
  688. package/dist/client/copy/shell/components/Rooms.d.ts +6 -0
  689. package/dist/client/copy/shell/components/Rooms.js +8 -0
  690. package/dist/client/copy/shell/components/Sidebar.d.ts +7 -0
  691. package/dist/client/copy/shell/components/Sidebar.js +9 -0
  692. package/dist/client/copy/shell/components/Skeleton.d.ts +5 -0
  693. package/dist/client/copy/shell/components/Skeleton.js +7 -0
  694. package/dist/client/copy/shell/components/TopNav.d.ts +4 -0
  695. package/dist/client/copy/shell/components/TopNav.js +12 -0
  696. package/dist/client/copy/shell/components/Tour.d.ts +4 -0
  697. package/dist/client/copy/shell/components/Tour.js +6 -0
  698. package/dist/client/copy/shell/components/newMenuModel.d.ts +3 -0
  699. package/dist/client/copy/shell/components/newMenuModel.js +5 -0
  700. package/dist/client/copy/shell/components/onDemand.d.ts +3 -0
  701. package/dist/client/copy/shell/components/onDemand.js +5 -0
  702. package/dist/client/copy/shell/components/sidebarModel.d.ts +3 -0
  703. package/dist/client/copy/shell/components/sidebarModel.js +5 -0
  704. package/dist/client/copy/shell/connectionList.d.ts +6 -0
  705. package/dist/client/copy/shell/connectionList.js +8 -0
  706. package/dist/client/copy/shell/core.d.ts +16 -0
  707. package/dist/client/copy/shell/core.js +18 -0
  708. package/dist/client/copy/shell/palette.d.ts +6 -0
  709. package/dist/client/copy/shell/palette.js +8 -0
  710. package/dist/client/copy/shell/prompt.d.ts +1 -0
  711. package/dist/client/copy/shell/prompt.js +3 -0
  712. package/dist/client/copy/shell/requestIdentity.d.ts +9 -0
  713. package/dist/client/copy/shell/requestIdentity.js +11 -0
  714. package/dist/client/copy/shell/resourceRequests.d.ts +4 -0
  715. package/dist/client/copy/shell/resourceRequests.js +6 -0
  716. package/dist/client/copy/shell/sessionIdentity.d.ts +11 -0
  717. package/dist/client/copy/shell/sessionIdentity.js +13 -0
  718. package/dist/client/copy/shell/sessionLifecycle.d.ts +5 -0
  719. package/dist/client/copy/shell/sessionLifecycle.js +7 -0
  720. package/dist/client/copy/shell/startup.d.ts +5 -0
  721. package/dist/client/copy/shell/startup.js +7 -0
  722. package/dist/client/copy/shell/theme.d.ts +5 -0
  723. package/dist/client/copy/shell/theme.js +14 -0
  724. package/dist/client/copy/shell/toast.d.ts +3 -0
  725. package/dist/client/copy/shell/toast.js +5 -0
  726. package/dist/client/copy/shell/updateAttempts.d.ts +6 -0
  727. package/dist/client/copy/shell/updateAttempts.js +8 -0
  728. package/dist/client/copy/shell/visualTheme.d.ts +4 -0
  729. package/dist/client/copy/shell/visualTheme.js +6 -0
  730. package/dist/client/copy/workbench/clauses.d.ts +3 -0
  731. package/dist/client/copy/workbench/clauses.js +5 -0
  732. package/dist/client/copy/workbench/components/ApiOperations.d.ts +21 -0
  733. package/dist/client/copy/workbench/components/ApiOperations.js +23 -0
  734. package/dist/client/copy/workbench/components/Composer.d.ts +105 -0
  735. package/dist/client/copy/workbench/components/Composer.js +92 -0
  736. package/dist/client/copy/workbench/components/Diagram.d.ts +56 -0
  737. package/dist/client/copy/workbench/components/Diagram.js +46 -0
  738. package/dist/client/copy/workbench/components/Export.d.ts +26 -0
  739. package/dist/client/copy/workbench/components/Export.js +25 -0
  740. package/dist/client/copy/workbench/components/HelpPanel.d.ts +10 -0
  741. package/dist/client/copy/workbench/components/HelpPanel.js +12 -0
  742. package/dist/client/copy/workbench/components/History.d.ts +11 -0
  743. package/dist/client/copy/workbench/components/History.js +10 -0
  744. package/dist/client/copy/workbench/components/Landing.d.ts +5 -0
  745. package/dist/client/copy/workbench/components/Landing.js +7 -0
  746. package/dist/client/copy/workbench/components/SchemaExport.d.ts +24 -0
  747. package/dist/client/copy/workbench/components/SchemaExport.js +20 -0
  748. package/dist/client/copy/workbench/components/Summary.d.ts +28 -0
  749. package/dist/client/copy/workbench/components/Summary.js +24 -0
  750. package/dist/client/copy/workbench/components/ThemeLab.d.ts +25 -0
  751. package/dist/client/copy/workbench/components/ThemeLab.js +27 -0
  752. package/dist/client/copy/workbench/components/WorkPanel.d.ts +12 -0
  753. package/dist/client/copy/workbench/components/WorkPanel.js +14 -0
  754. package/dist/client/copy/workbench/composer.d.ts +36 -0
  755. package/dist/client/copy/workbench/composer.js +32 -0
  756. package/dist/client/copy/workbench/composerEntry.d.ts +4 -0
  757. package/dist/client/copy/workbench/composerEntry.js +6 -0
  758. package/dist/client/copy/workbench/export.d.ts +8 -0
  759. package/dist/client/copy/workbench/export.js +7 -0
  760. package/dist/client/copy/workbench/filterbar.d.ts +6 -0
  761. package/dist/client/copy/workbench/filterbar.js +8 -0
  762. package/dist/client/copy/workbench/handoff.d.ts +20 -0
  763. package/dist/client/copy/workbench/handoff.js +19 -0
  764. package/dist/client/copy/workbench/help.d.ts +6 -0
  765. package/dist/client/copy/workbench/help.js +8 -0
  766. package/dist/client/copy/workbench/history.d.ts +3 -0
  767. package/dist/client/copy/workbench/history.js +5 -0
  768. package/dist/client/copy/workbench/schemaexport.d.ts +5 -0
  769. package/dist/client/copy/workbench/schemaexport.js +7 -0
  770. package/dist/client/copy/workbench/tour.d.ts +22 -0
  771. package/dist/client/copy/workbench/tour.js +24 -0
  772. package/dist/client/copy/workbench/views.d.ts +6 -0
  773. package/dist/client/copy/workbench/views.js +8 -0
  774. package/dist/client/core.d.ts +327 -0
  775. package/dist/client/core.js +1082 -0
  776. package/dist/client/customThemes.css +43 -0
  777. package/dist/client/dashboard.d.ts +16 -0
  778. package/dist/client/dashboard.js +35 -0
  779. package/dist/client/deeplink.d.ts +64 -0
  780. package/dist/client/deeplink.js +384 -0
  781. package/dist/client/delete.d.ts +8 -0
  782. package/dist/client/delete.js +35 -0
  783. package/dist/client/density.d.ts +8 -0
  784. package/dist/client/density.js +102 -0
  785. package/dist/client/devtoolsEventClient.d.ts +27 -0
  786. package/dist/client/devtoolsEventClient.js +32 -0
  787. package/dist/client/documents.d.ts +9 -0
  788. package/dist/client/documents.js +23 -0
  789. package/dist/client/dom.d.ts +36 -0
  790. package/dist/client/dom.js +232 -0
  791. package/dist/client/draftRecovery.d.ts +19 -0
  792. package/dist/client/draftRecovery.js +56 -0
  793. package/dist/client/export.d.ts +59 -0
  794. package/dist/client/export.js +217 -0
  795. package/dist/client/features.css +2187 -0
  796. package/dist/client/fieldErrors.d.ts +27 -0
  797. package/dist/client/fieldErrors.js +20 -0
  798. package/dist/client/fileSource.d.ts +10 -0
  799. package/dist/client/fileSource.js +115 -0
  800. package/dist/client/filterbar.d.ts +87 -0
  801. package/dist/client/filterbar.js +168 -0
  802. package/dist/client/firstPaint.d.ts +26 -0
  803. package/dist/client/firstPaint.js +102 -0
  804. package/dist/client/fonts/Barlow-OFL.txt +125 -0
  805. package/dist/client/fonts/IBMPlexMono-OFL.txt +104 -0
  806. package/dist/client/fonts/Inter-OFL.txt +92 -0
  807. package/dist/client/fonts/barlow-400.woff2 +0 -0
  808. package/dist/client/fonts/barlow-600.woff2 +0 -0
  809. package/dist/client/fonts/barlow-semi-condensed-700.woff2 +0 -0
  810. package/dist/client/fonts/ibm-plex-mono-400.woff2 +0 -0
  811. package/dist/client/fonts/ibm-plex-mono-500.woff2 +0 -0
  812. package/dist/client/fonts/inter-latin.woff2 +0 -0
  813. package/dist/client/formControls.css +5 -0
  814. package/dist/client/handoff.d.ts +47 -0
  815. package/dist/client/handoff.js +138 -0
  816. package/dist/client/help.css +151 -0
  817. package/dist/client/help.d.ts +20 -0
  818. package/dist/client/help.js +103 -0
  819. package/dist/client/helpContent.d.ts +95 -0
  820. package/dist/client/helpContent.js +661 -0
  821. package/dist/client/history.d.ts +10 -0
  822. package/dist/client/history.js +181 -0
  823. package/dist/client/historyToken.d.ts +18 -0
  824. package/dist/client/historyToken.js +27 -0
  825. package/dist/client/iconWeight.d.ts +16 -0
  826. package/dist/client/iconWeight.js +44 -0
  827. package/dist/client/index.html +244 -0
  828. package/dist/client/insert.d.ts +50 -0
  829. package/dist/client/insert.js +269 -0
  830. package/dist/client/kit.d.ts +7 -0
  831. package/dist/client/kit.js +1 -0
  832. package/dist/client/layoutDraftRecovery.d.ts +8 -0
  833. package/dist/client/layoutDraftRecovery.js +33 -0
  834. package/dist/client/ledgerLook.css +32 -0
  835. package/dist/client/liveReads.d.ts +23 -0
  836. package/dist/client/liveReads.js +38 -0
  837. package/dist/client/liveState.d.ts +94 -0
  838. package/dist/client/liveState.js +212 -0
  839. package/dist/client/locale.d.ts +141 -0
  840. package/dist/client/locale.js +0 -0
  841. package/dist/client/lumenLook.css +1867 -0
  842. package/dist/client/menu.d.ts +49 -0
  843. package/dist/client/menu.js +131 -0
  844. package/dist/client/menuScope.d.ts +6 -0
  845. package/dist/client/menuScope.js +4 -0
  846. package/dist/client/messages.d.ts +240 -0
  847. package/dist/client/messages.js +370 -0
  848. package/dist/client/motionStill.d.ts +1 -0
  849. package/dist/client/motionStill.js +17 -0
  850. package/dist/client/navigationHold.d.ts +37 -0
  851. package/dist/client/navigationHold.js +503 -0
  852. package/dist/client/nested.d.ts +8 -0
  853. package/dist/client/nested.js +26 -0
  854. package/dist/client/ownWrites.d.ts +33 -0
  855. package/dist/client/ownWrites.js +76 -0
  856. package/dist/client/page.css +4052 -0
  857. package/dist/client/page.d.ts +21 -0
  858. package/dist/client/page.js +187 -0
  859. package/dist/client/pagemarks.d.ts +32 -0
  860. package/dist/client/pagemarks.js +98 -0
  861. package/dist/client/palette.d.ts +38 -0
  862. package/dist/client/palette.js +360 -0
  863. package/dist/client/partsLook.css +1047 -0
  864. package/dist/client/peek.d.ts +11 -0
  865. package/dist/client/peek.js +51 -0
  866. package/dist/client/peekpanel.d.ts +26 -0
  867. package/dist/client/peekpanel.js +121 -0
  868. package/dist/client/pendingWork.d.ts +19 -0
  869. package/dist/client/pendingWork.js +36 -0
  870. package/dist/client/pins.d.ts +24 -0
  871. package/dist/client/pins.js +97 -0
  872. package/dist/client/prefs.d.ts +3 -0
  873. package/dist/client/prefs.js +32 -0
  874. package/dist/client/prompt.d.ts +27 -0
  875. package/dist/client/prompt.js +61 -0
  876. package/dist/client/readGathering.d.ts +4 -0
  877. package/dist/client/readGathering.js +23 -0
  878. package/dist/client/recordCompose.d.ts +11 -0
  879. package/dist/client/recordCompose.js +69 -0
  880. package/dist/client/recordDrafts.d.ts +40 -0
  881. package/dist/client/recordDrafts.js +57 -0
  882. package/dist/client/recordEditValidation.d.ts +12 -0
  883. package/dist/client/recordEditValidation.js +52 -0
  884. package/dist/client/recordIntent.d.ts +6 -0
  885. package/dist/client/recordIntent.js +15 -0
  886. package/dist/client/recordPress.d.ts +12 -0
  887. package/dist/client/recordPress.js +84 -0
  888. package/dist/client/recordSource.d.ts +6 -0
  889. package/dist/client/recordSource.js +15 -0
  890. package/dist/client/recordTrail.d.ts +77 -0
  891. package/dist/client/recordTrail.js +101 -0
  892. package/dist/client/recordWriteRefresh.d.ts +74 -0
  893. package/dist/client/recordWriteRefresh.js +284 -0
  894. package/dist/client/relatedRows.d.ts +4 -0
  895. package/dist/client/relatedRows.js +24 -0
  896. package/dist/client/requestIdentity.d.ts +36 -0
  897. package/dist/client/requestIdentity.js +97 -0
  898. package/dist/client/resourceRequests.d.ts +7 -0
  899. package/dist/client/resourceRequests.js +32 -0
  900. package/dist/client/roleLabels.d.ts +7 -0
  901. package/dist/client/roleLabels.js +24 -0
  902. package/dist/client/rowEditing.d.ts +15 -0
  903. package/dist/client/rowEditing.js +36 -0
  904. package/dist/client/sageLook.css +242 -0
  905. package/dist/client/savedPages.d.ts +27 -0
  906. package/dist/client/savedPages.js +135 -0
  907. package/dist/client/schemaexport.d.ts +14 -0
  908. package/dist/client/schemaexport.js +182 -0
  909. package/dist/client/sessionIdentity.d.ts +39 -0
  910. package/dist/client/sessionIdentity.js +255 -0
  911. package/dist/client/sessionLifecycle.d.ts +33 -0
  912. package/dist/client/sessionLifecycle.js +276 -0
  913. package/dist/client/shellHost.d.ts +70 -0
  914. package/dist/client/shellHost.js +92 -0
  915. package/dist/client/shellMain.d.ts +8 -0
  916. package/dist/client/shellMode.d.ts +433 -0
  917. package/dist/client/shellMode.js +68 -0
  918. package/dist/client/shellStart.d.ts +5 -0
  919. package/dist/client/shellStart.js +54 -0
  920. package/dist/client/shells.d.ts +123 -0
  921. package/dist/client/shells.js +1 -0
  922. package/dist/client/sql.css +139 -0
  923. package/dist/client/startup.d.ts +8 -0
  924. package/dist/client/startup.js +85 -0
  925. package/dist/client/startupHold.d.ts +10 -0
  926. package/dist/client/startupHold.js +73 -0
  927. package/dist/client/structure.css +1296 -0
  928. package/dist/client/style.css +3526 -0
  929. package/dist/client/styleImports.d.ts +3 -0
  930. package/dist/client/surfaces.d.ts +18 -0
  931. package/dist/client/surfaces.js +27 -0
  932. package/dist/client/surfacesLook.css +88 -0
  933. package/dist/client/template.d.ts +75 -0
  934. package/dist/client/template.js +403 -0
  935. package/dist/client/theme.d.ts +14 -0
  936. package/dist/client/theme.js +112 -0
  937. package/dist/client/themeFamilies.css +788 -0
  938. package/dist/client/thmenu.d.ts +12 -0
  939. package/dist/client/thmenu.js +94 -0
  940. package/dist/client/toast.d.ts +7 -0
  941. package/dist/client/toast.js +117 -0
  942. package/dist/client/tour.d.ts +8 -0
  943. package/dist/client/tour.js +176 -0
  944. package/dist/client/transport.d.ts +2 -0
  945. package/dist/client/transport.js +13 -0
  946. package/dist/client/typography.d.ts +4 -0
  947. package/dist/client/typography.js +51 -0
  948. package/dist/client/uiBridge.d.ts +57 -0
  949. package/dist/client/uiBridge.js +30 -0
  950. package/dist/client/updateAttempts.d.ts +46 -0
  951. package/dist/client/updateAttempts.js +131 -0
  952. package/dist/client/url.d.ts +74 -0
  953. package/dist/client/url.js +388 -0
  954. package/dist/client/views.d.ts +19 -0
  955. package/dist/client/views.js +133 -0
  956. package/dist/client/visualTheme.d.ts +62 -0
  957. package/dist/client/visualTheme.js +502 -0
  958. package/dist/client/visualThemes.css +421 -0
  959. package/dist/client/workshopLook.css +126 -0
  960. package/dist/client/write.d.ts +103 -0
  961. package/dist/client/write.js +885 -0
  962. package/dist/client/writePaths.d.ts +16 -0
  963. package/dist/client/writePaths.js +35 -0
  964. package/dist/client/yesNoRule.d.ts +12 -0
  965. package/dist/client/yesNoRule.js +39 -0
  966. package/dist/clientFiles.d.ts +11 -4
  967. package/dist/clientFiles.js +16 -12
  968. package/dist/vite.d.ts +136 -0
  969. package/dist/vite.js +571 -0
  970. package/package.json +136 -3
@@ -0,0 +1,209 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * A list's rows as cards: a picture at a fixed ratio, the title, one
4
+ * prominent figure, a few facts under their captions and a badge. The whole
5
+ * card opens its record — the title is the one button, stretched over the
6
+ * card, so the card is one tab stop with the house focus ring. One to four
7
+ * columns, by the room's width rather than the window's: a card list in a
8
+ * peek or a split pane reads as a phone would.
9
+ *
10
+ * The picture is a column holding an image address, or the first file of a
11
+ * related file resource, asked once for every card on the page and drawn
12
+ * inline through the file route. Images load lazily into boxes that already
13
+ * have their size, so nothing moves as they arrive. A configured image that
14
+ * is missing shows a placeholder; a card without image configuration starts
15
+ * with its text.
16
+ */
17
+ import { useMessageLanguage } from './useMessageLanguage.js';
18
+ import { useState } from 'react';
19
+ import { useQuery } from '@tanstack/react-query';
20
+ import { api, columnDisplay, columnLabel, findTable, keyOf, openRecord, quote, state } from '../core.js';
21
+ import { opensRecord } from '../recordIntent.js';
22
+ import { ownedBy } from '../requestIdentity.js';
23
+ import { primaryKey } from '@mistriwork/engine/shared/schema.js';
24
+ import { humanName } from '@mistriwork/engine/shared/model.js';
25
+ import { cardsImageSort, factWord } from '@mistriwork/engine/shared/appCards.js';
26
+ import { Value } from './Value.js';
27
+ import { dressFor, hueOf, initialsOf, maskedText } from './valueModel.js';
28
+ import { Icon } from './Icon.js';
29
+ import { useListOrder } from './useListOrder.js';
30
+ import { useChangedRows } from '../liveState.js';
31
+ import { useListRef, useRowWindow } from './useRowWindow.js';
32
+ import { namedCell } from './listColumn.js';
33
+ import { say } from '../copy/lists/components/CardsList.js';
34
+ import { served } from '../addressMount.js';
35
+ import { CARD_IMAGE_SIZES, imageSources, imageFallbackSet } from '@mistriwork/engine/shared/imageWidths.js';
36
+ import { inlineFileAddress } from './cardsModel.js';
37
+ /** An image address a card may draw: https, or a path on this server. Never data:, javascript: or a protocol-relative host. */
38
+ export function cardImageAddress(value) {
39
+ if (typeof value !== 'string')
40
+ return undefined;
41
+ const text = value.trim();
42
+ return /^https:\/\/[^\s]+$/i.test(text) || /^\/(?!\/)[^\s]*$/.test(text) ? text : undefined;
43
+ }
44
+ const literal = (value) => (typeof value === 'number' ? String(value) : quote(String(value)));
45
+ /**
46
+ * The lead file of each card's record, when the picture comes from a file
47
+ * resource: one question for the whole page, sorted by the owning record and
48
+ * then the author's order, so the first row seen for a record is its lead.
49
+ * With `about`, the files are the record that reference names (a saved car's
50
+ * car), asked by the reference's value on each row.
51
+ */
52
+ function useLeadFiles(table, spec, rows) {
53
+ const image = typeof spec.image === 'object' ? spec.image : undefined;
54
+ const from = image ? findTable(image.from) : undefined;
55
+ const connection = state.activeConnection ?? null;
56
+ const foreignKeys = (state.schema?.foreignKeys ?? []);
57
+ /* The record the files belong to: the row's own, or the one its `about` reference names. */
58
+ const owner = image?.about
59
+ ? foreignKeys.find((fk) => fk.from.table === table.id && fk.from.columns.length === 1 && fk.from.columns[0] === image.about)?.to.table
60
+ : table.id;
61
+ const reference = image && from && owner
62
+ ? foreignKeys.find((fk) => fk.from.table === from.id && fk.to.table === owner && fk.from.columns.length === 1 && fk.from.columns[0] === image.whose)
63
+ : undefined;
64
+ // The row's own column holding that record's key: the key itself, or the reference to it.
65
+ const target = reference ? (image?.about ?? reference.to.columns[0]) : undefined;
66
+ const owners = target ? [...new Set(rows.map((row) => row[target]).filter((value) => value !== null && value !== undefined))] : [];
67
+ const keys = from ? primaryKey(from) : [];
68
+ const sort = image?.sort ? cardsImageSort(image.sort) : undefined;
69
+ const text = image && from && owners.length && keys.length
70
+ ? `${from.id} ${image.whose} in (${owners.map(literal).join(', ')}) sort ${image.whose}${sort ? `, ${sort.column} ${sort.direction}` : ''} show ${[...new Set([...keys, image.whose])].join(', ')}`
71
+ : '';
72
+ const answer = useQuery({
73
+ queryKey: ['run', connection ?? '', 'card-images', text],
74
+ enabled: Boolean(text),
75
+ staleTime: 60_000,
76
+ queryFn: async () => {
77
+ const data = (await api('/api/run', {
78
+ q: text,
79
+ limit: 500,
80
+ offset: 0,
81
+ count: 'none',
82
+ ...(connection ? ownedBy(connection) : {}),
83
+ }));
84
+ if (data.errors?.length)
85
+ throw new Error(data.errors[0].message);
86
+ return data.rows ?? [];
87
+ },
88
+ });
89
+ const lead = new Map();
90
+ if (image && from) {
91
+ for (const row of answer.data ?? []) {
92
+ const owner = String(row[image.whose]);
93
+ if (!lead.has(owner))
94
+ lead.set(owner, inlineFileAddress(from.id, Object.fromEntries(keys.map((column) => [column, row[column]])), connection, 'thumb'));
95
+ }
96
+ }
97
+ return (row) => (target ? lead.get(String(row[target])) : undefined);
98
+ }
99
+ /* Cards stand in columns where the room is wide enough: a drop lands left or right of a card, not above it. */
100
+ const inColumns = (grid) => getComputedStyle(grid).gridTemplateColumns.trim().split(/\s+/).length > 1;
101
+ export function CardsList({ table, rows, spec, interactive = true, recordNavigation = false, label, list, order, referenceLabels, }) {
102
+ useMessageLanguage();
103
+ const leadOf = useLeadFiles(table, spec, rows);
104
+ /* The card's name wherever it is said — the title, the record it opens, the order's announcements — masked where its rule says. */
105
+ const titleOf = (row) => {
106
+ // A title that is a reference is its record's name, where the list fetched one (listColumn.ts).
107
+ const named = namedCell(table, spec.primary, row, referenceLabels);
108
+ if (named.column?.name !== spec.primary)
109
+ return String(named.value);
110
+ const rule = columnDisplay(table.id, spec.primary);
111
+ const masked = maskedText(rule, row[spec.primary]);
112
+ if (masked !== undefined && masked !== null)
113
+ return masked;
114
+ const value = row[spec.primary];
115
+ if (value === null || value === undefined)
116
+ return say('common.untitled');
117
+ /* The column's display rule says the title as the grid does (an enum's words, a figure's format): a card titled
118
+ each record by the stored key where the rule had words for it. A document, a code and a picture have no words
119
+ to say; they stay the value. */
120
+ const dress = dressFor(rule, value);
121
+ if (!dress || dress.kind === 'json' || dress.kind === 'qr' || dress.kind === 'signature' || dress.kind === 'richText')
122
+ return String(value);
123
+ return 'label' in dress ? dress.label : dress.text;
124
+ };
125
+ const ordering = useListOrder({ table, rows, order, interactive, title: titleOf, across: inColumns });
126
+ // A card another person just changed wears the grid's fading tint (docs/design.md, rule 11).
127
+ const changedRows = useChangedRows(table.id, rows, (row) => keyOf(table, row));
128
+ const image = spec.image;
129
+ const records = rows.flatMap((row) => {
130
+ const key = keyOf(table, row);
131
+ return key ? [{ key, label: titleOf(row) }] : [];
132
+ });
133
+ /* A rollup or a label path dresses as what it reads, and a reference the list
134
+ fetched a name for says the name (listColumn.ts). */
135
+ const said = (row, name) => {
136
+ const { column, value } = namedCell(table, name, row, referenceLabels);
137
+ return _jsx(Value, { col: column, value: value, tableId: table.id, compact: true });
138
+ };
139
+ // A line or a fact may be a label path ("dealer_id.name"): its caption is the App's, else its last step's.
140
+ const caption = (name) => columnLabel(table.id, name) ?? humanName(name.split('.').pop() ?? name);
141
+ const present = (row, name) => row[name] !== null && row[name] !== undefined && row[name] !== '';
142
+ const canOpen = interactive || recordNavigation;
143
+ /* A fact as a card says it, on its line under the figure or along the foot: its value, and its own word after it
144
+ ("1 owner") or before it ("Born …") as its caption for everyone; without one, the caption only assistive
145
+ technology hears. */
146
+ const fact = (row, name, className) => {
147
+ const word = spec.factLabels && Object.hasOwn(spec.factLabels, name)
148
+ ? factWord(spec.factLabels[name], row[name], columnDisplay(table.id, name))
149
+ : undefined;
150
+ const before = word !== undefined && spec.factLabels[name].position === 'before';
151
+ return (_jsxs("span", { className: className, children: [word === undefined && _jsxs("span", { className: "visually-hidden", children: [caption(name), ": "] }), before && _jsxs("span", { className: "cards-summary-word", children: [word, " "] }), said(row, name), word !== undefined && !before && _jsxs("span", { className: "cards-summary-word", children: [" ", word] })] }, name));
152
+ };
153
+ // A long page is drawn a line of cards at a time; the page itself is unchanged (useRowWindow.ts).
154
+ const win = useRowWindow(rows.length, {
155
+ columns: (grid) => getComputedStyle(grid).gridTemplateColumns.trim().split(/\s+/).length,
156
+ estimate: 280,
157
+ });
158
+ const listRef = useListRef(win, ordering.zone.ref);
159
+ return (_jsxs("div", { className: "cards", children: [_jsxs("ul", { className: "cards-grid", "aria-label": label ?? say('cards'), ...ordering.zone, ref: listRef, children: [win.before > 0 && _jsx("li", { className: "cards-spacer", "aria-hidden": "true", style: { height: `${win.before}px` } }), win.indices.map((index) => {
160
+ const row = ordering.rows[index];
161
+ const key = keyOf(table, row);
162
+ const id = ordering.id(row);
163
+ const title = titleOf(row);
164
+ const src = typeof image === 'string' ? cardImageAddress(row[image]) : leadOf(row);
165
+ const avatar = spec.media === 'avatar';
166
+ /* An icon tile leads the card in a picture's place: it is no picture, so the card keeps its text layout. */
167
+ const tile = spec.media === 'icon';
168
+ const hasMedia = image !== undefined || avatar;
169
+ /* The summary as words, masked where its rule says: the whole of it rides the title attribute, since three lines may not hold it. */
170
+ const description = spec.description && present(row, spec.description)
171
+ ? (maskedText(columnDisplay(table.id, spec.description), row[spec.description]) ??
172
+ String(row[spec.description]))
173
+ : undefined;
174
+ /* The icon column's value as its display rule marks it everywhere else; a value the rule leaves unmapped draws none. */
175
+ const dressed = spec.icon ? dressFor(columnDisplay(table.id, spec.icon), row[spec.icon]) : null;
176
+ const mark = (dressed?.kind === 'tone' || dressed?.kind === 'mark') && dressed.icon
177
+ ? { name: dressed.icon, label: dressed.label, tone: dressed.kind === 'tone' ? dressed.tone : undefined }
178
+ : null;
179
+ const badge = spec.badge && row[spec.badge] != null && row[spec.badge] !== '' ? (_jsx("span", { className: "cards-badge", children: said(row, spec.badge) })) : null;
180
+ return (_jsx("li", { className: "cards-item", ...(win.windowed ? { 'data-index': win.lineOf(index), ref: win.measure } : {}), ...(id ? ordering.item(id) : {}), onKeyDown: id ? (event) => ordering.keyDown(event, id) : undefined, children: _jsxs("article", { className: `cards-card${hasMedia ? ' has-media' : ''}${avatar ? ' cards-profile' : ''}${changedRows.has(row) ? ` row-changed-${changedRows.get(row)}` : ''}`, children: [hasMedia && _jsx(CardPicture, { src: src, avatar: avatar, title: title, first: index < FIRST_ROW }), id && ordering.menu(id), _jsxs("div", { className: "cards-body", children: [tile && (_jsx("span", { className: `cards-tile${mark?.tone ? ` tone-${mark.tone}` : ''}`, children: mark && _jsx(Icon, { name: mark.name, label: mark.label, size: 22 }) })), _jsxs("h3", { className: "cards-title", children: [mark && !tile && _jsx(Icon, { name: mark.name, label: mark.label, className: "cards-icon" }), canOpen && key ? (_jsx("button", { type: "button", className: "cards-open", "data-order-focus": "", "aria-keyshortcuts": ordering.shortcuts, "data-opens": opensRecord(table.id, key), onClick: () => void openRecord(table.id, key, title, 'push', { records, list }), children: title })) : (_jsx("span", { children: title }))] }), description !== undefined && (_jsx("p", { className: "cards-description", title: description, children: description })), (!hasMedia || avatar) && badge, spec.value && row[spec.value] != null && _jsx("p", { className: "cards-value", children: said(row, spec.value) }), spec.facts?.some((name) => present(row, name)) ? (_jsx("p", { className: "cards-summary", children: spec.facts.filter((name) => present(row, name)).map((name) => fact(row, name, 'cards-summary-item')) })) : null, spec.lines?.length ? (_jsx("dl", { className: "cards-facts", children: spec.lines.map((name) => (_jsxs("div", { className: "cards-fact", children: [_jsx("dt", { children: caption(name) }), _jsx("dd", { children: said(row, name) })] }, name))) })) : null] }), spec.footer?.length ? (_jsx("p", { className: "cards-foot", children: spec.footer.some((name) => present(row, name))
181
+ ? spec.footer.filter((name) => present(row, name)).map((name) => fact(row, name, 'cards-foot-item'))
182
+ : '\u00a0' })) : null, hasMedia && !avatar && badge] }) }, key ? JSON.stringify(key) : index));
183
+ }), win.after > 0 && _jsx("li", { className: "cards-spacer", "aria-hidden": "true", style: { height: `${win.after}px` } })] }), ordering.live] }));
184
+ }
185
+ /**
186
+ * A file's two sizes, for the browser to choose between: the thumbnail
187
+ * (320 wide) where a card is drawn at about 300 pixels, the file itself on a
188
+ * dense screen or a phone's full-width card, where the thumbnail would be
189
+ * soft. A file resource with no thumbnail answers both with the file.
190
+ */
191
+ function sources(src) {
192
+ // A card is drawn at most 300 pixels wide: up to three times that on a dense screen.
193
+ const srcSet = src.startsWith(served('/api/file?')) ? imageFallbackSet(src, 320, 960) : undefined;
194
+ return srcSet ? { srcSet, sizes: CARD_IMAGE_SIZES } : {};
195
+ }
196
+ /** The same widths in each modern format, as their own addresses: a browser picks by `type`, a CDN keeps one copy of each. */
197
+ function typeSources(src) {
198
+ return src.startsWith(served('/api/file?')) ? imageSources(src, 320, 960) : [];
199
+ }
200
+ /* The cards a wide window shows in its first row: their pictures are the
201
+ page's largest paint, so they are asked for first and not left to the
202
+ lazy loader, which waits for layout to say they are in view. */
203
+ const FIRST_ROW = 4;
204
+ /** An authored picture, or a neutral placeholder when that picture is unavailable. Avatar mode keeps the name in the card title and makes its image decorative. */
205
+ function CardPicture({ src, avatar, title, first = false }) {
206
+ const [broken, setBroken] = useState();
207
+ const shown = src && broken !== src ? src : undefined;
208
+ return (_jsx("div", { className: `cards-media${avatar ? ' cards-avatar' : ''}`, children: shown ? (_jsxs("picture", { children: [typeSources(shown).map((source) => (_jsx("source", { type: source.type, srcSet: source.srcSet, sizes: CARD_IMAGE_SIZES }, source.type))), _jsx("img", { className: "cards-image", src: shown, ...sources(shown), alt: "", loading: first ? 'eager' : 'lazy', fetchPriority: first ? 'high' : undefined, decoding: "async", onError: () => setBroken(shown) })] })) : avatar ? (_jsx("span", { className: `cards-avatar-mark avatar avatar-c${hueOf(title)}`, "aria-hidden": "true", children: initialsOf(title) })) : (_jsx("span", { className: "cards-placeholder", "aria-hidden": "true", children: _jsxs("svg", { viewBox: "0 0 64 32", width: "64", height: "32", focusable: "false", children: [_jsx("rect", { x: "8", y: "6", width: "48", height: "20", rx: "2", fill: "none", stroke: "currentColor", strokeWidth: "1.6" }), _jsx("circle", { cx: "23", cy: "13", r: "3", fill: "none", stroke: "currentColor", strokeWidth: "1.6" }), _jsx("path", { d: "m12 23 13-8 8 6 7-5 12 7", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round" })] }) })) }));
209
+ }
@@ -0,0 +1,165 @@
1
+ /* Brought by the charts (Chart.tsx), which a dashboard loads on demand, so
2
+ none of it stands in an App's first stylesheet. */
3
+ @layer components {
4
+ /* Bars: the quiet ones a tint of the first series, the current one the
5
+ series itself, its value in a pill over it and a guide across the levels. */
6
+ .chart-bars { display: block; width: 100%; height: auto; }
7
+ .chart-bar { fill: color-mix(in srgb, var(--chart-1, var(--accent)) 26%, var(--surface)); rx: min(4px, var(--radius)); }
8
+ .chart-bar.is-active { fill: var(--chart-1, var(--accent)); }
9
+ /* A bar of a state wears its tone, as the state's dot does. */
10
+ .chart-bar.is-toned { fill: color-mix(in srgb, var(--bar-ink) 40%, var(--surface)); }
11
+ .chart-bar.is-toned.is-active { fill: var(--bar-ink); }
12
+ .chart-bar-guide { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: 3 3; }
13
+ .chart-bar-tip rect { fill: var(--ink); rx: min(10px, var(--radius)); }
14
+ .chart-bar-tip text { font: 500 var(--text-xs) var(--sans); fill: var(--ground); }
15
+ .chart-x-tick.is-active { fill: var(--ink); }
16
+ /* Stacked columns: each series its token in every column; the current column is named by its tick and its pill, not by a tint. */
17
+ .chart-columns { display: grid; gap: var(--space-3h); min-width: 0; }
18
+ .chart-column-part { rx: 0; }
19
+ .chart-columns-legend { display: flex; flex-wrap: wrap; gap: var(--space-2h) 20px; max-width: none; }
20
+ /* A trend is its change's news where the metric says which way is good: the
21
+ green or red its delta is said in, never a colour by position. The wash
22
+ under it is a look's to show (Lumen's). */
23
+ .spark-host.good { --spark-ink: var(--status-good); }
24
+ .spark-host.bad { --spark-ink: var(--status-critical); }
25
+ .spark-area { display: none; stroke: none; }
26
+ /* A donut's middle says what its figure counts, under it; each legend row ends with its share, in a column of its own
27
+ so the shares line up, the value beside it in the quieter ink. */
28
+ .chart-donut-caption { font: 400 calc(2.6px * var(--type-k)) var(--sans); fill: var(--ink-muted); }
29
+ .chart-legend-share { flex: none; min-width: 3.2em; text-align: right; font: 600 var(--text-sm) var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
30
+ /* Several lines: the legend's dots and the one-series picker over the plot, the hover card beside the cursor. The
31
+ plot is the card's ground, so the card is laid over it and never pushes the page. */
32
+ .chart-multi { display: grid; gap: var(--space-3); min-width: 0; }
33
+ .chart-multi-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); flex-wrap: wrap; }
34
+ .chart-multi-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); flex: 1 1 auto; }
35
+ .chart-multi-legend li { padding: 0; }
36
+ /* A few lines are named at their ends (Chart.tsx, MultiLine): the key above goes, and the picker keeps its place. */
37
+ .chart-multi-legend[hidden] { display: none; }
38
+ .chart-multi-legend[hidden] + .chart-series-pick { margin-inline-start: auto; }
39
+ .chart-end-name { font: var(--text-xs) var(--sans); fill: var(--ink-muted); }
40
+ .chart-end-dot { stroke: var(--surface); stroke-width: 1.5; }
41
+ .chart-dot-key { flex: none; width: 8px; height: 8px; border-radius: 50%; align-self: center; }
42
+ .chart-series-pick {
43
+ flex: none; height: 28px; padding: 0 var(--space-3); border: 1px solid var(--line-control); border-radius: var(--radius);
44
+ background: var(--surface); color: var(--ink); font: var(--text-sm) var(--sans);
45
+ }
46
+ .chart-multi-plot { position: relative; min-width: 0; }
47
+ .chart-series-stroke { stroke-width: 2; }
48
+ .chart-tip-card {
49
+ position: absolute; top: 8px; z-index: 1; min-width: 140px; padding: var(--space-3) var(--space-3h); pointer-events: none;
50
+ border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
51
+ box-shadow: var(--shadow-pop); font: var(--text-sm) var(--sans); color: var(--ink);
52
+ }
53
+ .chart-tip-title { margin-bottom: var(--space-2); color: var(--ink-muted); font-size: var(--text-xs); }
54
+ .chart-tip-row { display: flex; align-items: center; gap: var(--space-2h); padding: 1px 0; }
55
+ .chart-tip-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
56
+ .chart-tip-value { margin-left: auto; padding-left: var(--space-4); font-weight: 600; font-variant-numeric: tabular-nums; }
57
+ /* A dashboard section's mark leads its title, in the title's quieter ink. */
58
+ .dash-section-icon { flex: none; margin-right: var(--space-3); vertical-align: -2px; color: var(--ink-muted); }
59
+ }
60
+
61
+ /* The charts' drawing, kept in the base layer it was written for: the looks'
62
+ `:root[data-…] .chart-*` rules in themeFamilies.css and visualThemes.css
63
+ are base rules too, and outrank these by specificity, not by layer. */
64
+ @layer base {
65
+ .chart-host { margin-top: var(--space-2h); }
66
+ /* A chart being read (ChartFigure.tsx, ChartWait): its room, ruled in the hairline as its grid will be. */
67
+ .chart-wait {
68
+ box-sizing: border-box;
69
+ border-bottom: 1px solid var(--line);
70
+ background: repeating-linear-gradient(to bottom, transparent 0 calc(25% - 1px), color-mix(in srgb, var(--line) 60%, transparent) calc(25% - 1px) 25%);
71
+ }
72
+ .chart-wait-plot:not([style]) { aspect-ratio: 3 / 1; min-height: 160px; max-height: 240px; }
73
+ .chart-wait-donut { aspect-ratio: auto; border-bottom: 0; background: none; }
74
+ .chart-line { display: block; width: 100%; height: auto; }
75
+ .chart-stroke { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
76
+ .chart-area { fill: var(--accent); opacity: 0.08; }
77
+ .chart-dot { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; }
78
+ .chart-dot-solid { fill: var(--accent); }
79
+ /* The unit an `auto` chart chose. Its line is held before the unit is known, so saying it moves nothing. */
80
+ .chart-unit { margin: 0; min-height: 1.4em; font: var(--text-xs) var(--mono); color: var(--ink-muted); }
81
+ .chart-grid { stroke: var(--line); stroke-dasharray: 3 3; }
82
+ /* Set at their own size: the chart's viewBox is the width it is drawn at (Chart.tsx, LineChart). */
83
+ .chart-tick { font: var(--text-xs) var(--mono); fill: var(--ink-muted); }
84
+ .chart-cursor[hidden] { display: none; }
85
+ .chart-cursor-line { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: 2 3; }
86
+ .chart-cursor-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
87
+ .chart-cursor-text { font: var(--text-xs) var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
88
+
89
+ /* A legend entry that drills: a button wearing the entry's own clothes, with
90
+ only the hover saying it goes somewhere. */
91
+ .chart-legend-drill {
92
+ display: flex; align-items: baseline; gap: var(--space-3); width: 100%;
93
+ background: none; border: none; padding: 0;
94
+ font: inherit; color: inherit; text-align: left; cursor: pointer;
95
+ }
96
+ .chart-legend-drill:hover .chart-legend-key { color: var(--accent-ink); }
97
+
98
+ /* Capped like the breakdown bars: a legend whose values sit a monitor
99
+ away from their swatches reads as two lists. */
100
+ /* The legend asks for room enough to say its names whole (13rem): where the donut leaves it less — a phone's
101
+ card — it goes under the donut instead of cutting "Outbound" to "Outbou…" beside it. */
102
+ .chart-donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); max-width: 46rem; }
103
+ .chart-donut { width: 120px; height: 120px; flex: none; transform: rotate(0); }
104
+ .chart-slice { fill: none; stroke: var(--accent); stroke-width: 7; }
105
+ /* A slice that drills: the pointer says it goes somewhere, and while it holds
106
+ the keyboard it wears the house ring round its own arc (sliceRing, Chart.tsx). */
107
+ .chart-slice-drill { cursor: pointer; }
108
+ .chart-slice-door { outline: none; }
109
+ .chart-slice-ring { display: none; fill: none; stroke: var(--focus); stroke-width: 2px; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
110
+ .chart-slice-door:focus-visible > .chart-slice-ring { display: inline; }
111
+ /* A point that drills: the pointer says it goes somewhere, the hit disc
112
+ is wider than the dot so a mouse finds it, and the focus ring is the
113
+ dot's own stroke widened, as a slice's stroke widens. */
114
+ .chart-point-drill { cursor: pointer; }
115
+ .chart-point-hit { fill: transparent; }
116
+ .chart-point-drill:focus-visible { outline: none; }
117
+ .chart-point-drill:focus-visible .chart-dot { stroke-width: 3.5; }
118
+ .chart-donut-total { font: 600 calc(5px * var(--type-k)) var(--mono); fill: var(--ink); }
119
+ .chart-legend { list-style: none; margin: 0; padding: 0; min-width: 0; flex: 1; }
120
+ /* A donut's legend is a short list: its values stay within reach of their names, not a half-width away. */
121
+ .chart-donut-wrap .chart-legend { flex: 1 1 13rem; max-width: 24rem; }
122
+ .chart-legend li { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-1) 0; }
123
+ .chart-swatch {
124
+ width: 10px; height: 10px; border-radius: min(3px, var(--radius)); flex: none;
125
+ background: var(--accent); align-self: center;
126
+ }
127
+ .chart-legend-key { font-family: var(--mono); font-size: var(--text-sm); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
128
+ .chart-legend-value { margin-left: auto; font: var(--text-sm) var(--mono); color: var(--ink-muted); flex: none; font-variant-numeric: tabular-nums; }
129
+
130
+ /* A target: a rule in the ink, never a colour of its own, said in words
131
+ beside it — on a line across the drawing, on stacked bars across every
132
+ track and once in the legend. */
133
+ .chart-target-line { stroke: var(--ink); stroke-width: 1.5; }
134
+ .chart-target-label { font: var(--text-xs) var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
135
+ .chart-target-swatch { width: 10px; height: 0; border-top: 2px solid var(--ink); flex: none; align-self: center; }
136
+
137
+ /* Stacked bars: the breakdown's rows, each bar divided by a second key.
138
+ One scale for every bar and one series token in every bar and the legend;
139
+ a hairline of ground between parts rather than an outline round them.
140
+ Capped like the breakdown bars, and drawn complete: data does not dance. */
141
+ .chart-stacked { max-width: 46rem; }
142
+ /* The labels' column is as wide as the longest, up to 14rem, as a breakdown's
143
+ is (page.css): a group named by its record ("Demo Valley Vehicles") reads
144
+ whole where it fits, and every bar still starts at one edge. */
145
+ .chart-stacked-rows {
146
+ list-style: none; margin: 0; padding: 0;
147
+ display: grid; grid-template-columns: minmax(6rem, max-content) minmax(0, 1fr) auto; column-gap: var(--space-3h);
148
+ }
149
+ .chart-stacked-rows > li, .chart-stacked-row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
150
+ .chart-stacked-row { align-items: center; padding: var(--space-2) 0; font-size: var(--text-base); }
151
+ .chart-stacked-label { max-width: 14rem; }
152
+ button.chart-stacked-drill { background: none; border: none; width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
153
+ button.chart-stacked-drill:hover .chart-stacked-label { color: var(--accent-ink); }
154
+ .chart-stacked-label { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
155
+ .chart-stacked-track { position: relative; height: 10px; background: var(--raised); }
156
+ .chart-stacked-fill { display: flex; gap: 1px; height: 100%; }
157
+ .chart-stacked-part { min-width: 1px; }
158
+ .chart-stacked-target { position: absolute; top: -3px; bottom: -3px; border-left: 2px solid var(--ink); margin-left: -1px; }
159
+ /* The legend stands above the bars on one line, each name beside its figure ("Paid $451.2K Open $45.2K"): below them
160
+ its values sat the width of the bars from their names. */
161
+ .chart-stacked-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); max-width: none; flex: none; margin: 0 0 var(--space-3h); }
162
+ .chart-stacked-legend li { padding: 0; gap: var(--space-2h); align-items: center; }
163
+ .chart-stacked-legend .chart-legend-value { margin-left: 0; }
164
+ .chart-stacked-total { color: var(--ink-muted); font: var(--text-sm) var(--mono); font-variant-numeric: tabular-nums; }
165
+ }
@@ -0,0 +1,194 @@
1
+ import './Chart.css';
2
+ interface ChartRow {
3
+ key: unknown;
4
+ value: unknown;
5
+ }
6
+ /** How a figure is said; its `tick`, where it has one, is how an axis says a round level ("$2K", not "$2,000.00"). */
7
+ type Say = ((v: unknown) => string) & {
8
+ tick?: ((v: unknown) => string) & {
9
+ steps?: readonly number[];
10
+ };
11
+ };
12
+ /**
13
+ * A month bucket as a reader says it, in the App's locale: "Jan 2026" where
14
+ * the year starts or changes from the tick before it, "Feb" after it. The
15
+ * grammar spells a month `2026-01` on every engine, which is a key, not a
16
+ * word; any other key is said as it came.
17
+ */
18
+ export declare function periodTick(key: string, previous?: string): string;
19
+ /**
20
+ * Which points the x axis names, and what it calls each: as many as fit the
21
+ * width, evenly spaced, the first and the last always among them. A month
22
+ * says its year only where the year turns from the mark before it, and a
23
+ * mark is budgeted at what it will actually say — "Oct", not "Oct 2025" — so
24
+ * a month that has room is not dropped for a year it would not have shown.
25
+ *
26
+ * A mark is budgeted where it is drawn: a line's first and last words stand
27
+ * inside the plot, starting and ending at their points; a bar's are centred
28
+ * under their bars, as every other mark is (`centered`). Budgeting a bar's
29
+ * as a line's took a whole word's width twice, and a half-width bar chart
30
+ * named only its first and last month.
31
+ */
32
+ export declare function axisMarks(keys: string[], at: (i: number) => number, { centered }?: {
33
+ centered?: boolean;
34
+ }): Array<{
35
+ index: number;
36
+ text: string;
37
+ }>;
38
+ /**
39
+ * A time-series line: keys along the bottom, values as an accent line over
40
+ * a soft fill, three labelled gridlines, and a crosshair on hover drawn in
41
+ * the chart rather than left to a native tooltip.
42
+ *
43
+ * Its words are set at their own size wherever it is drawn: the chart
44
+ * measures the width it is given (on the zoom-aware ruler) and draws a
45
+ * viewBox exactly that wide, so a phone does not shrink an 11px label to 6.
46
+ * `wide` is the first guess, before there is a box to measure. The levels
47
+ * are said on the left, in a gutter of their own, where the line cannot
48
+ * run through them. Every point is also a row of a table that assistive
49
+ * technology reads, since a picture's titles are not.
50
+ */
51
+ export declare function LineChart({ rows, say, wide, high, target, smooth, dots, seriesLabel, seriesVocabulary, onPick, }: {
52
+ /** With `series` on its rows, a line per series (MultiLine). */
53
+ rows: Array<ChartRow & {
54
+ series?: unknown;
55
+ }>;
56
+ say?: Say;
57
+ wide?: number;
58
+ high?: number;
59
+ target?: number;
60
+ /** A monotone curve through the points instead of straight segments. */
61
+ smooth?: boolean;
62
+ /** Too few filled buckets to draw a line through: the points stand alone, solid where the bucket holds something, and the shape stays a line. */
63
+ dots?: boolean;
64
+ seriesLabel?: (key: unknown) => string;
65
+ /** The series column's vocabulary: its order, and each value's color, are the vocabulary's. */
66
+ seriesVocabulary?: readonly string[];
67
+ /** Where a point goes when it drills, by its raw key: single-series lines only — a multi-series line takes no
68
+ drill, since one pick cannot name both a series and a point. */
69
+ onPick?: ((value: unknown) => void) | null;
70
+ }): import("react").JSX.Element;
71
+ export declare function namesAtEnds(ends: readonly number[], top: number, bottom: number, gap?: number): number[];
72
+ /**
73
+ * Bars: one series, a bar per group — how much each week or each stage
74
+ * holds, where a line says how a number moved. Over calendar buckets one bar
75
+ * is the current one, drawn in the ink while the rest stay quiet: the last
76
+ * (the period in hand) until the pointer names another. Its value is said in
77
+ * a pill over it, and a guide runs from it across the levels, so the reader
78
+ * can read it off the scale without a tooltip's delay; there the pill is
79
+ * information, not a hover effect, so it is always there. Over categories (a
80
+ * stage, a source) no bar is the one in hand — the last is only last in the
81
+ * vocabulary — so at rest none is inked, with no pill and no guide, until the
82
+ * pointer names one. Nothing moves (motion rule 8).
83
+ *
84
+ * Periods keep their order and gain their missing buckets at zero, as a
85
+ * line's do; categories go in their vocabulary's order, else biggest first.
86
+ * The levels are on the left, in a gutter of their own, and every bar is a
87
+ * row of a table assistive technology reads, as a line's points are.
88
+ */
89
+ export declare function BarChart({ rows, say, label, wide, high, target, tone, }: {
90
+ rows: ChartRow[];
91
+ say?: Say;
92
+ label?: (key: unknown) => string;
93
+ wide?: number;
94
+ high?: number;
95
+ target?: number;
96
+ /** A category's display tone (a state's, a status's), where its column has them: each bar wears the ink its dot and badge wear. */
97
+ tone?: (key: unknown) => string | undefined;
98
+ }): import("react").JSX.Element;
99
+ /**
100
+ * Stacked columns: a column per period, divided by series — how much each day
101
+ * held and what it was made of. The bars' grammar (Bars, above): levels on the
102
+ * left in their own gutter, periods along the bottom with their empty buckets
103
+ * at zero, and one current column whose total and parts are said in a pill
104
+ * over it, with a guide across the levels; the last until the pointer names
105
+ * another. While the pointer is over the chart the pill rides with it, just
106
+ * above it, so it never sits over the column being read. Each series keeps one theme token in every column and in the
107
+ * legend, which says each series' total. Every column is also a row of a
108
+ * table assistive technology reads. Nothing moves (motion rule 8).
109
+ */
110
+ export declare function StackedColumns({ rows, series, say, wide, high, }: {
111
+ rows: Array<{
112
+ key: string;
113
+ values: Record<string, number>;
114
+ }>;
115
+ series: Array<{
116
+ key: string;
117
+ label: string;
118
+ }>;
119
+ say?: Say;
120
+ wide?: number;
121
+ high?: number;
122
+ }): import("react").JSX.Element;
123
+ /**
124
+ * The house ring round a donut's slice (design.md, Access): a shape takes no outline, so the ring is the outline of
125
+ * the slice's own arc, `from` and `length` in hundredths of the circle from 3 o'clock, drawn 2px off its stroke, `width`
126
+ * units wide as the look draws it (7, Lumen's line charts 4.5; the donut is 120px over 42 units; the ring's own 2px is a
127
+ * non-scaling stroke). A widened stroke was the ring once: the drawing's edge cut it, and on a pale slice it could not
128
+ * be told from the slice. Drawn off a 7-unit stroke round a 4.5-unit one, it stood 6px off the slice.
129
+ */
130
+ export declare function sliceRing(center: number, radius: number, from: number, length: number, width?: number): string;
131
+ /**
132
+ * A donut with its legend: how the whole divides, said twice — arc length
133
+ * and a labelled figure. Past six slices the tail is gathered into "others".
134
+ */
135
+ export declare function DonutChart({ rows, say, label, onPick, total, ordered, tone, }: {
136
+ rows: ChartRow[];
137
+ say?: Say;
138
+ label?: (key: unknown) => string;
139
+ /** A slice's display tone, where its column has them: slices wear the ink their dot and badge wear when every one has its own. */
140
+ tone?: (key: unknown) => string | undefined;
141
+ onPick?: ((value: unknown) => void) | null;
142
+ /** What the figure in the middle is: "Total visitors", said under it. */
143
+ total?: string;
144
+ /** The slices are steps of a scale, in its order: drawn in steps of one hue (rampInk), not in categorical ones. */
145
+ ordered?: boolean;
146
+ }): import("react").JSX.Element;
147
+ /** A display tone as the ink it is drawn in (the status tokens, so a look's and a dark mode's own are worn). */
148
+ export declare const TONE_INK: Record<string, string>;
149
+ interface StackedRow {
150
+ key: unknown;
151
+ series: unknown;
152
+ value: unknown;
153
+ }
154
+ /**
155
+ * Stacked bars: each group of the first key a bar, divided by the second —
156
+ * how each of several wholes divides, where a donut says how one does. The
157
+ * bars share one scale (the longest total, or the target when it is past
158
+ * it), each series keeps one theme token in every bar and in the legend,
159
+ * and past seven series the tail is gathered into "others", the eighth
160
+ * token. A target is a rule across every track and a word in the legend.
161
+ */
162
+ export declare function StackedBars({ rows, say, label, seriesLabel, target, limit, onPick, seriesVocabulary, seriesOrdered, seriesTone, sayLegend, }: {
163
+ rows: StackedRow[];
164
+ say?: Say;
165
+ label?: (key: unknown) => string;
166
+ seriesLabel?: (key: unknown) => string;
167
+ target?: number;
168
+ limit?: number;
169
+ onPick?: ((value: unknown) => void) | null;
170
+ /** The second key's declared values: the series stand in their order, as a donut's slices of the same column do. */
171
+ seriesVocabulary?: readonly string[];
172
+ /** The second key is a scale: its series stand in its order and in steps of one hue (rampInk). */
173
+ seriesOrdered?: boolean;
174
+ /** A series' tone from its column's display map. Where every series has one, and no two share it, the bars wear the
175
+ tones (Paid good, Open warning) rather than the palette, whose order says nothing about what a value means. */
176
+ seriesTone?: (key: string) => string | undefined;
177
+ /** The chart's visible figures (legend, each bar's total, the target) by one rule, given every one of them as stored
178
+ (compact for all or exact for all); the titles and the hidden text stay exact. */
179
+ sayLegend?: (figures: readonly number[]) => Say;
180
+ }): import("react").JSX.Element;
181
+ /**
182
+ * A spark: the measure's shape inside a KPI card. No axes; the card's own
183
+ * number is the label. It spans the card's width, stretched rather than
184
+ * scaled, so a wide card draws a long trend instead of a 110px stub in its
185
+ * corner; the stroke and the last point's dot keep their own size however
186
+ * far it stretches (`non-scaling-stroke`, and the dot is a round cap on a
187
+ * zero-length stroke). Under four points there is no shape to read, so
188
+ * there is no spark.
189
+ */
190
+ export declare function Sparkline({ rows, say }: {
191
+ rows: ChartRow[];
192
+ say?: Say;
193
+ }): import("react").JSX.Element;
194
+ export {};