@declarion/react 0.61.1 → 0.63.1

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 (487) hide show
  1. package/dist-lib/ActionDialog-uiuse5W8.js +374 -0
  2. package/dist-lib/ActionResultDialog.impl-BUBm9Ck3.js +273 -0
  3. package/dist-lib/ActionRunner-DAxgnKB3.js +1440 -0
  4. package/dist-lib/AdminCatalogPage.impl-BJGn7EvA.js +441 -0
  5. package/dist-lib/{AgentChatPanel.impl-rgkewyMl.js → AgentChatPanel.impl-8bw8J-xV.js} +358 -319
  6. package/dist-lib/AgentOpenFollower.impl-Cga1q7_e.js +81 -0
  7. package/dist-lib/AssociatedBlock-D6qDYmRO.js +1515 -0
  8. package/dist-lib/AuthShell-DdiughRT.js +361 -0
  9. package/dist-lib/ChangePasswordDialog-DFe7lVQg.js +12 -0
  10. package/dist-lib/ChangePasswordDialog.impl-DtSIaP-A.js +194 -0
  11. package/dist-lib/CommandPalette.impl-Db3AFA5w.js +383 -0
  12. package/dist-lib/CopyButton-C0iEvaT1.js +119 -0
  13. package/dist-lib/DirtyTabsCloseDialog.impl-DWaFaWKn.js +191 -0
  14. package/dist-lib/{DraggableChildrenTable-DruYOxKm.js → DraggableChildrenTable-Cy8uevS_.js} +45 -44
  15. package/dist-lib/DynamicIcon-DuBSz6TZ.js +133 -0
  16. package/dist-lib/FieldRow-BXBBFOZh.js +157 -0
  17. package/dist-lib/FilterChips-8fMDBXHp.js +1031 -0
  18. package/dist-lib/Forgot.impl-CmT5A__V.js +105 -0
  19. package/dist-lib/{Grid-Dsf3I0xG.js → Grid-Cg29k0jv.js} +98 -99
  20. package/dist-lib/Icons-Dzl-AkD_.d.ts +159 -0
  21. package/dist-lib/Icons-lt-7lhYR.js +151 -0
  22. package/dist-lib/ImpersonationBanner.impl-CBJJx6an.js +76 -0
  23. package/dist-lib/ImpersonationStartModal.impl-RaZcsJpG.js +158 -0
  24. package/dist-lib/Kbd-CNttVu0z.js +23 -0
  25. package/dist-lib/{LayoutRenderer-QN7Wp2W6.js → LayoutRenderer-DEHtYtzV.js} +965 -942
  26. package/dist-lib/{ListCardsBody-CNaZ0xwz.js → ListCardsBody-BAwFR3yO.js} +46 -52
  27. package/dist-lib/{MarkdownRenderer-BuO5hYJh.js → MarkdownRenderer-kNEMr6K_.js} +15 -16
  28. package/dist-lib/MenuItem-CfkVXPvC.js +140 -0
  29. package/dist-lib/NotFoundPage.impl-ZSBn4WWb.js +68 -0
  30. package/dist-lib/PageHeader-tw4pX3lI.js +71 -0
  31. package/dist-lib/PageShell-tI-mm0C5.js +47 -0
  32. package/dist-lib/Pill-D-wsfRhx.js +42 -0
  33. package/dist-lib/Preferences.impl-BG9XBZDf.js +162 -0
  34. package/dist-lib/Profile.impl-CbzSzxyG.js +527 -0
  35. package/dist-lib/PropertyGridEditor-BTjscqfz.js +4378 -0
  36. package/dist-lib/RecordHeader-Bv9nJXnG.js +217 -0
  37. package/dist-lib/RecordIdBadge-C3MgoZvt.js +25 -0
  38. package/dist-lib/RefreshControl-Ce-T_wSQ.js +195 -0
  39. package/dist-lib/Reset.impl-Cesyqt5p.js +168 -0
  40. package/dist-lib/SSOCallbackPage.impl-BC_W9nQA.js +31 -0
  41. package/dist-lib/SectionCard-VonaiLrx.js +150 -0
  42. package/dist-lib/SignUp.impl-C1KCQbfZ.js +212 -0
  43. package/dist-lib/SmartDetailPage.impl-8iOAMYQh.js +1609 -0
  44. package/dist-lib/SmartListPage.impl-Cc4Zwz5f.js +2818 -0
  45. package/dist-lib/SmartRecordListPage.impl-xTSohkqG.js +795 -0
  46. package/dist-lib/{SortHeaderMenu-BV-aQbPy.js → SortHeaderMenu-BKTrq0Wb.js} +23 -23
  47. package/dist-lib/TenantParamsPage.impl-DMuSs3eP.js +306 -0
  48. package/dist-lib/TwoFA.impl-BClZ3ndk.js +125 -0
  49. package/dist-lib/{cardProjection-BnmWukxk.js → cardProjection-Cr7fG6wJ.js} +134 -133
  50. package/dist-lib/declarion-react.css +1 -1
  51. package/dist-lib/format-count-CSEFw2ht.js +943 -0
  52. package/dist-lib/headerActionZone-bef-tZZ7.js +14 -0
  53. package/dist-lib/{stores/icon-registry.d.ts → icon-registry-CUT4eF63.d.ts} +14 -11
  54. package/dist-lib/icons.d.ts +20 -4
  55. package/dist-lib/icons.js +3 -2
  56. package/dist-lib/index.d.ts +2516 -150
  57. package/dist-lib/index.js +1588 -5117
  58. package/dist-lib/page-inset-D_kkVwwN.js +9 -0
  59. package/dist-lib/page-state-eA6J_KIR.js +124 -0
  60. package/dist-lib/param-editors-9yJr7xmN.js +201 -0
  61. package/dist-lib/payload-B2wODLAX.js +86 -0
  62. package/dist-lib/{peekDraftStore-Dk1Ha5u3.js → peekDraftStore-D4GRsRKW.js} +44 -43
  63. package/dist-lib/registry-BpzE8-h8.js +119 -0
  64. package/dist-lib/screen-back-Cs4kzeqD.js +44 -0
  65. package/dist-lib/testing.d.ts +53 -56
  66. package/dist-lib/testing.js +54 -55
  67. package/dist-lib/use-filter-value-labels-DuqvAIVG.js +413 -0
  68. package/dist-lib/{useAgentConversation-nT5UypJX.js → useAgentConversation-D210VDCQ.js} +158 -169
  69. package/dist-lib/useAuth-CR2YKKXb.js +49 -0
  70. package/dist-lib/useBranding-Ckp_AuJb.js +41 -0
  71. package/dist-lib/useBrandingChrome-bKTXXDLy.js +170 -0
  72. package/dist-lib/useCurrentLocation-BdngVeQv.js +22 -0
  73. package/dist-lib/useCurrentScreen--UovgvRj.js +2511 -0
  74. package/dist-lib/useImpersonation-DNV23Ks1.js +35 -0
  75. package/dist-lib/useObject-1OCeV34A.js +26 -0
  76. package/dist-lib/useOwnRefresh-DkOuM4yo.js +435 -0
  77. package/dist-lib/useParams-ei6w4I7w.js +133 -0
  78. package/dist-lib/useProperties-CbdhlhZd.js +81 -0
  79. package/dist-lib/useResponsiveMode-DIR1bZfo.d.ts +1786 -0
  80. package/dist-lib/useScreenBack-J861tbwn.js +71 -0
  81. package/dist-lib/useTabNavigate-BZiW4q3M.js +78 -0
  82. package/dist-lib/useTabTitle-CZZnWIQi.js +22 -0
  83. package/dist-lib/utils-D_QDpB8_.js +11 -0
  84. package/dist-lib/{value-Dwfyghtj.js → value-CDCeHgOv.js} +8 -22
  85. package/dist-lib/{action-dispatch-gWmOYjOP.js → variants-CbAwl3Mn.js} +734 -740
  86. package/dist-lib/vite/index.d.ts +42 -16
  87. package/dist-lib/window-election-CHIvIZwx.js +45 -0
  88. package/package.json +16 -23
  89. package/dist-lib/DetailAuditStrip-CSXZoy7v.js +0 -288
  90. package/dist-lib/DynamicIcon-DW5krHuX.js +0 -280
  91. package/dist-lib/RefreshControl-DO9rYcdq.js +0 -399
  92. package/dist-lib/SmartDetailPage.impl-DFIIx80b.js +0 -1565
  93. package/dist-lib/SmartListPage.impl-D694R32H.js +0 -3051
  94. package/dist-lib/SmartRecordListPage.impl-CB5cuQJV.js +0 -780
  95. package/dist-lib/api/agents.d.ts +0 -140
  96. package/dist-lib/api/auth-redirect.d.ts +0 -3
  97. package/dist-lib/api/auth.d.ts +0 -26
  98. package/dist-lib/api/batch.d.ts +0 -25
  99. package/dist-lib/api/client.d.ts +0 -51
  100. package/dist-lib/api/data.d.ts +0 -153
  101. package/dist-lib/api/entities.d.ts +0 -149
  102. package/dist-lib/api/events.d.ts +0 -91
  103. package/dist-lib/api/params.d.ts +0 -28
  104. package/dist-lib/api/properties.d.ts +0 -3
  105. package/dist-lib/api/schema.d.ts +0 -2
  106. package/dist-lib/api/status.d.ts +0 -2
  107. package/dist-lib/app.d.ts +0 -1
  108. package/dist-lib/components/actions/ActionButton.d.ts +0 -18
  109. package/dist-lib/components/actions/ActionDialog.d.ts +0 -20
  110. package/dist-lib/components/actions/ActionResultDialog.d.ts +0 -22
  111. package/dist-lib/components/actions/ActionRunner.d.ts +0 -62
  112. package/dist-lib/components/actions/ObjectActionBar.d.ts +0 -29
  113. package/dist-lib/components/actions/PropertyGridEditor.d.ts +0 -20
  114. package/dist-lib/components/actions/ResponsiveActionBar.d.ts +0 -259
  115. package/dist-lib/components/actions/RowActionsKebab.d.ts +0 -20
  116. package/dist-lib/components/agents/AgentChatPanel.d.ts +0 -3
  117. package/dist-lib/components/agents/AgentChatPanel.impl.d.ts +0 -14
  118. package/dist-lib/components/agents/AgentConversationDrawer.d.ts +0 -11
  119. package/dist-lib/components/agents/AgentElicitForm.d.ts +0 -27
  120. package/dist-lib/components/agents/AgentPicker.d.ts +0 -8
  121. package/dist-lib/components/agents/transcript-runs.d.ts +0 -29
  122. package/dist-lib/components/chrome/AssociationTabs.d.ts +0 -9
  123. package/dist-lib/components/chrome/AuditMetaStrip.d.ts +0 -11
  124. package/dist-lib/components/chrome/Breadcrumbs.d.ts +0 -14
  125. package/dist-lib/components/chrome/HighlightsStrip.d.ts +0 -10
  126. package/dist-lib/components/chrome/PageHeader.d.ts +0 -16
  127. package/dist-lib/components/chrome/PageShell.d.ts +0 -7
  128. package/dist-lib/components/chrome/RecordHeader.d.ts +0 -17
  129. package/dist-lib/components/chrome/headerActionZone.d.ts +0 -27
  130. package/dist-lib/components/detail-layout/AssociatedBlock.d.ts +0 -20
  131. package/dist-lib/components/detail-layout/AssociatedToolbar.d.ts +0 -13
  132. package/dist-lib/components/detail-layout/ChildrenBlock.d.ts +0 -16
  133. package/dist-lib/components/detail-layout/ChildrenCards.d.ts +0 -2
  134. package/dist-lib/components/detail-layout/ChildrenList.d.ts +0 -2
  135. package/dist-lib/components/detail-layout/ChildrenTable.d.ts +0 -2
  136. package/dist-lib/components/detail-layout/ChildrenTimeline.d.ts +0 -2
  137. package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +0 -12
  138. package/dist-lib/components/detail-layout/DetailHighlights.d.ts +0 -14
  139. package/dist-lib/components/detail-layout/DraggableChildrenTable.d.ts +0 -16
  140. package/dist-lib/components/detail-layout/EditableChildrenTable.d.ts +0 -16
  141. package/dist-lib/components/detail-layout/ErrorSummary.d.ts +0 -11
  142. package/dist-lib/components/detail-layout/EvidenceBlock.d.ts +0 -6
  143. package/dist-lib/components/detail-layout/FieldRow.d.ts +0 -23
  144. package/dist-lib/components/detail-layout/FieldsBlock.d.ts +0 -8
  145. package/dist-lib/components/detail-layout/LayoutColumn.d.ts +0 -9
  146. package/dist-lib/components/detail-layout/LayoutRenderer.d.ts +0 -46
  147. package/dist-lib/components/detail-layout/LayoutRow.d.ts +0 -8
  148. package/dist-lib/components/detail-layout/LayoutTabs.d.ts +0 -8
  149. package/dist-lib/components/detail-layout/PropertiesBlock.d.ts +0 -8
  150. package/dist-lib/components/detail-layout/QuickAddForm.d.ts +0 -10
  151. package/dist-lib/components/detail-layout/SectionBlock.d.ts +0 -8
  152. package/dist-lib/components/detail-layout/StatusesBlock.d.ts +0 -8
  153. package/dist-lib/components/detail-layout/TimelineComposer.d.ts +0 -10
  154. package/dist-lib/components/detail-layout/blockMeta.d.ts +0 -5
  155. package/dist-lib/components/detail-layout/index.d.ts +0 -21
  156. package/dist-lib/components/detail-layout/useManualColumnResize.d.ts +0 -25
  157. package/dist-lib/components/detail-layout/useQuickAdd.d.ts +0 -16
  158. package/dist-lib/components/detail-layout/widgets/EntityScorecardWidget.d.ts +0 -2
  159. package/dist-lib/components/detail-layout/widgets/JsonDiffWidget.d.ts +0 -2
  160. package/dist-lib/components/detail-layout/widgets/MonacoJson.d.ts +0 -9
  161. package/dist-lib/components/detail-layout/widgets/WidgetHost.d.ts +0 -9
  162. package/dist-lib/components/detail-layout/widgets/builtins.d.ts +0 -1
  163. package/dist-lib/components/detail-layout/widgets/canonicalizeJson.d.ts +0 -1
  164. package/dist-lib/components/detail-layout/widgets/monacoBootstrap.d.ts +0 -1
  165. package/dist-lib/components/detail-layout/widgets/registry.d.ts +0 -14
  166. package/dist-lib/components/fields/BoolField.d.ts +0 -2
  167. package/dist-lib/components/fields/EmailField.d.ts +0 -2
  168. package/dist-lib/components/fields/EnumField.d.ts +0 -2
  169. package/dist-lib/components/fields/IntArrayField.d.ts +0 -2
  170. package/dist-lib/components/fields/JsonEditor.d.ts +0 -10
  171. package/dist-lib/components/fields/JsonField.d.ts +0 -3
  172. package/dist-lib/components/fields/MultilangArrayField.d.ts +0 -2
  173. package/dist-lib/components/fields/MultilangField.d.ts +0 -2
  174. package/dist-lib/components/fields/MultilangTextField.d.ts +0 -2
  175. package/dist-lib/components/fields/NumberField.d.ts +0 -2
  176. package/dist-lib/components/fields/PasswordField.d.ts +0 -2
  177. package/dist-lib/components/fields/PhoneField.d.ts +0 -2
  178. package/dist-lib/components/fields/RefCombobox.d.ts +0 -45
  179. package/dist-lib/components/fields/RefField.d.ts +0 -2
  180. package/dist-lib/components/fields/RichTextField.d.ts +0 -2
  181. package/dist-lib/components/fields/SecretField.d.ts +0 -2
  182. package/dist-lib/components/fields/StringArrayField.d.ts +0 -2
  183. package/dist-lib/components/fields/StringField.d.ts +0 -2
  184. package/dist-lib/components/fields/StructureField.d.ts +0 -2
  185. package/dist-lib/components/fields/TextField.d.ts +0 -2
  186. package/dist-lib/components/fields/TimestampField.d.ts +0 -2
  187. package/dist-lib/components/fields/UrlField.d.ts +0 -2
  188. package/dist-lib/components/fields/cells/factories/badge.d.ts +0 -2
  189. package/dist-lib/components/fields/cells/factories/boolPill.d.ts +0 -2
  190. package/dist-lib/components/fields/cells/factories/code.d.ts +0 -2
  191. package/dist-lib/components/fields/cells/factories/date.d.ts +0 -2
  192. package/dist-lib/components/fields/cells/factories/email.d.ts +0 -2
  193. package/dist-lib/components/fields/cells/factories/emptyCell.d.ts +0 -2
  194. package/dist-lib/components/fields/cells/factories/host-icons.d.ts +0 -17
  195. package/dist-lib/components/fields/cells/factories/json.d.ts +0 -2
  196. package/dist-lib/components/fields/cells/factories/link.d.ts +0 -2
  197. package/dist-lib/components/fields/cells/factories/markdown.d.ts +0 -2
  198. package/dist-lib/components/fields/cells/factories/markdownPreview.d.ts +0 -9
  199. package/dist-lib/components/fields/cells/factories/money.d.ts +0 -2
  200. package/dist-lib/components/fields/cells/factories/multilangInline.d.ts +0 -2
  201. package/dist-lib/components/fields/cells/factories/nextRun.d.ts +0 -2
  202. package/dist-lib/components/fields/cells/factories/number.d.ts +0 -2
  203. package/dist-lib/components/fields/cells/factories/passwordMask.d.ts +0 -2
  204. package/dist-lib/components/fields/cells/factories/phone.d.ts +0 -2
  205. package/dist-lib/components/fields/cells/factories/refLink.d.ts +0 -2
  206. package/dist-lib/components/fields/cells/factories/richTextPreview.d.ts +0 -2
  207. package/dist-lib/components/fields/cells/factories/statusPill.d.ts +0 -2
  208. package/dist-lib/components/fields/cells/factories/tagList.d.ts +0 -2
  209. package/dist-lib/components/fields/cells/factories/text.d.ts +0 -2
  210. package/dist-lib/components/fields/cells/factories/timestamp.d.ts +0 -3
  211. package/dist-lib/components/fields/cells/factories/url-helpers.d.ts +0 -12
  212. package/dist-lib/components/fields/cells/factories/url.d.ts +0 -2
  213. package/dist-lib/components/fields/cells/registry.d.ts +0 -21
  214. package/dist-lib/components/fields/index.d.ts +0 -28
  215. package/dist-lib/components/fields/langMap.d.ts +0 -2
  216. package/dist-lib/components/fields/secretValue.d.ts +0 -2
  217. package/dist-lib/components/file-widgets/CircleImage.d.ts +0 -2
  218. package/dist-lib/components/file-widgets/DocumentCard.d.ts +0 -2
  219. package/dist-lib/components/file-widgets/FileList.d.ts +0 -2
  220. package/dist-lib/components/file-widgets/Grid.d.ts +0 -2
  221. package/dist-lib/components/file-widgets/GridLazy.d.ts +0 -2
  222. package/dist-lib/components/file-widgets/ImageWidget.d.ts +0 -12
  223. package/dist-lib/components/file-widgets/LabeledSlots.d.ts +0 -2
  224. package/dist-lib/components/file-widgets/SquareImage.d.ts +0 -2
  225. package/dist-lib/components/file-widgets/UnknownFileWidget.d.ts +0 -3
  226. package/dist-lib/components/file-widgets/UploadFailureText.d.ts +0 -4
  227. package/dist-lib/components/file-widgets/WideBanner.d.ts +0 -2
  228. package/dist-lib/components/file-widgets/builtins.d.ts +0 -1
  229. package/dist-lib/components/file-widgets/cropper.d.ts +0 -14
  230. package/dist-lib/components/file-widgets/draft-scope.d.ts +0 -22
  231. package/dist-lib/components/file-widgets/helpers.d.ts +0 -15
  232. package/dist-lib/components/file-widgets/host.d.ts +0 -28
  233. package/dist-lib/components/file-widgets/index.d.ts +0 -16
  234. package/dist-lib/components/file-widgets/payload.d.ts +0 -21
  235. package/dist-lib/components/file-widgets/registry.d.ts +0 -5
  236. package/dist-lib/components/file-widgets/types.d.ts +0 -17
  237. package/dist-lib/components/file-widgets/upload.d.ts +0 -45
  238. package/dist-lib/components/file-widgets/useEmbedFileSrc.d.ts +0 -42
  239. package/dist-lib/components/file-widgets/value.d.ts +0 -4
  240. package/dist-lib/components/filters/FilterChips.d.ts +0 -14
  241. package/dist-lib/components/filters/FilterDrawer.d.ts +0 -32
  242. package/dist-lib/components/filters/filter-op-label.d.ts +0 -3
  243. package/dist-lib/components/layout/CommandPalette.d.ts +0 -21
  244. package/dist-lib/components/layout/DirtyTabsCloseDialog.d.ts +0 -9
  245. package/dist-lib/components/layout/ImpersonationBanner.d.ts +0 -11
  246. package/dist-lib/components/layout/ImpersonationFrame.d.ts +0 -11
  247. package/dist-lib/components/layout/ImpersonationStartModal.d.ts +0 -22
  248. package/dist-lib/components/layout/Layout.d.ts +0 -6
  249. package/dist-lib/components/layout/Rail.d.ts +0 -22
  250. package/dist-lib/components/layout/Sidebar.d.ts +0 -12
  251. package/dist-lib/components/layout/TabStrip.d.ts +0 -6
  252. package/dist-lib/components/layout/TenantChip.d.ts +0 -26
  253. package/dist-lib/components/layout/TopBar.d.ts +0 -22
  254. package/dist-lib/components/layout/tab-close.d.ts +0 -13
  255. package/dist-lib/components/list/ColumnPicker.d.ts +0 -20
  256. package/dist-lib/components/list/InlineEditCell.d.ts +0 -15
  257. package/dist-lib/components/list/PeekFieldCell.d.ts +0 -16
  258. package/dist-lib/components/list/QuickPeek.d.ts +0 -59
  259. package/dist-lib/components/list/ViewSwitcher.d.ts +0 -24
  260. package/dist-lib/components/list/peekDraftStore.d.ts +0 -6
  261. package/dist-lib/components/pages/AdminCatalogPage.d.ts +0 -1
  262. package/dist-lib/components/pages/DocumentsMenu.d.ts +0 -21
  263. package/dist-lib/components/pages/ExportMenu.d.ts +0 -30
  264. package/dist-lib/components/pages/NotFoundPage.d.ts +0 -1
  265. package/dist-lib/components/pages/RecordDocumentsPanel.d.ts +0 -41
  266. package/dist-lib/components/pages/SSOCallbackPage.d.ts +0 -1
  267. package/dist-lib/components/pages/SmartDetailPage.d.ts +0 -2
  268. package/dist-lib/components/pages/SmartDetailPage.impl.d.ts +0 -4
  269. package/dist-lib/components/pages/SmartListPage.d.ts +0 -2
  270. package/dist-lib/components/pages/SmartListPage.impl.d.ts +0 -4
  271. package/dist-lib/components/pages/SmartRecordListPage.d.ts +0 -2
  272. package/dist-lib/components/pages/SmartRecordListPage.impl.d.ts +0 -4
  273. package/dist-lib/components/pages/auth/AuthShell.d.ts +0 -18
  274. package/dist-lib/components/pages/auth/Forgot.d.ts +0 -1
  275. package/dist-lib/components/pages/auth/Reset.d.ts +0 -1
  276. package/dist-lib/components/pages/auth/SignIn.d.ts +0 -1
  277. package/dist-lib/components/pages/auth/SignUp.d.ts +0 -1
  278. package/dist-lib/components/pages/auth/TwoFA.d.ts +0 -1
  279. package/dist-lib/components/pages/auth/icons.d.ts +0 -6
  280. package/dist-lib/components/pages/exportRequest.d.ts +0 -69
  281. package/dist-lib/components/pages/list/DataCell.d.ts +0 -4
  282. package/dist-lib/components/pages/list/DeleteViewDialog.d.ts +0 -8
  283. package/dist-lib/components/pages/list/ListCardRow.d.ts +0 -39
  284. package/dist-lib/components/pages/list/ListCardsBody.d.ts +0 -33
  285. package/dist-lib/components/pages/list/ListFloatbar.d.ts +0 -29
  286. package/dist-lib/components/pages/list/ListFooter.d.ts +0 -26
  287. package/dist-lib/components/pages/list/ListHeader.d.ts +0 -26
  288. package/dist-lib/components/pages/list/ListNoRows.d.ts +0 -31
  289. package/dist-lib/components/pages/list/ListTable.d.ts +0 -33
  290. package/dist-lib/components/pages/list/ListTableRow.d.ts +0 -17
  291. package/dist-lib/components/pages/list/ListToolbar.d.ts +0 -46
  292. package/dist-lib/components/pages/list/ListUrlBanner.d.ts +0 -10
  293. package/dist-lib/components/pages/list/RowActionsCell.d.ts +0 -34
  294. package/dist-lib/components/pages/list/RowContextMenu.d.ts +0 -28
  295. package/dist-lib/components/pages/list/SaveViewDialog.d.ts +0 -10
  296. package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +0 -14
  297. package/dist-lib/components/pages/list/cardProjection.d.ts +0 -67
  298. package/dist-lib/components/pages/list/column-sizing.d.ts +0 -14
  299. package/dist-lib/components/pages/list/columns.d.ts +0 -46
  300. package/dist-lib/components/pages/list/filter-meta.d.ts +0 -25
  301. package/dist-lib/components/pages/list/page-size.d.ts +0 -3
  302. package/dist-lib/components/pages/list/sortable-header.d.ts +0 -2
  303. package/dist-lib/components/pages/list/table-features.d.ts +0 -14
  304. package/dist-lib/components/pages/list/use-filter-value-labels.d.ts +0 -24
  305. package/dist-lib/components/pages/list/useActiveView.d.ts +0 -45
  306. package/dist-lib/components/pages/list/useHeaderReorder.d.ts +0 -26
  307. package/dist-lib/components/pages/list/useListColumnLayout.d.ts +0 -38
  308. package/dist-lib/components/pages/list/useListQuery.d.ts +0 -67
  309. package/dist-lib/components/pages/list/useListRowInteraction.d.ts +0 -61
  310. package/dist-lib/components/pages/list/useListSelection.d.ts +0 -31
  311. package/dist-lib/components/pages/list/useListSort.d.ts +0 -46
  312. package/dist-lib/components/pages/list/useListViews.d.ts +0 -57
  313. package/dist-lib/components/pages/list/useRowMenu.d.ts +0 -46
  314. package/dist-lib/components/pages/profile/Preferences.d.ts +0 -1
  315. package/dist-lib/components/pages/profile/Profile.d.ts +0 -7
  316. package/dist-lib/components/pages/tenant-params/TenantParamsPage.d.ts +0 -2
  317. package/dist-lib/components/params/ParamsBlock.d.ts +0 -13
  318. package/dist-lib/components/params/param-editors.d.ts +0 -20
  319. package/dist-lib/components/primitives/Avatar.d.ts +0 -6
  320. package/dist-lib/components/primitives/BoolToggle.d.ts +0 -7
  321. package/dist-lib/components/primitives/BrandGlyph.d.ts +0 -8
  322. package/dist-lib/components/primitives/BrandLogo.d.ts +0 -12
  323. package/dist-lib/components/primitives/Btn.d.ts +0 -19
  324. package/dist-lib/components/primitives/Check.d.ts +0 -7
  325. package/dist-lib/components/primitives/Chip.d.ts +0 -9
  326. package/dist-lib/components/primitives/ClassifiedFieldLocked.d.ts +0 -9
  327. package/dist-lib/components/primitives/Dropdown.d.ts +0 -20
  328. package/dist-lib/components/primitives/Fields.d.ts +0 -111
  329. package/dist-lib/components/primitives/HoverCard.d.ts +0 -15
  330. package/dist-lib/components/primitives/IconBtn.d.ts +0 -11
  331. package/dist-lib/components/primitives/Icons.d.ts +0 -136
  332. package/dist-lib/components/primitives/Kbd.d.ts +0 -4
  333. package/dist-lib/components/primitives/MenuItem.d.ts +0 -14
  334. package/dist-lib/components/primitives/Pill.d.ts +0 -11
  335. package/dist-lib/components/primitives/RecordIdBadge.d.ts +0 -8
  336. package/dist-lib/components/primitives/RowField.d.ts +0 -10
  337. package/dist-lib/components/primitives/SectionCard.d.ts +0 -24
  338. package/dist-lib/components/primitives/Spinner.d.ts +0 -3
  339. package/dist-lib/components/primitives/Tooltip.d.ts +0 -34
  340. package/dist-lib/components/primitives/dataTableStyles.d.ts +0 -4
  341. package/dist-lib/components/primitives/index.d.ts +0 -37
  342. package/dist-lib/components/shared/ChangePasswordDialog.d.ts +0 -9
  343. package/dist-lib/components/shared/ConfirmDialog.d.ts +0 -11
  344. package/dist-lib/components/shared/CopyButton.d.ts +0 -8
  345. package/dist-lib/components/shared/DynamicIcon.d.ts +0 -20
  346. package/dist-lib/components/shared/EmptyState.d.ts +0 -9
  347. package/dist-lib/components/shared/ErrorBoundary.d.ts +0 -17
  348. package/dist-lib/components/shared/LoadingSkeleton.d.ts +0 -6
  349. package/dist-lib/components/shared/LucideIcon.d.ts +0 -16
  350. package/dist-lib/components/shared/Markdown.d.ts +0 -3
  351. package/dist-lib/components/shared/MarkdownRenderer.d.ts +0 -11
  352. package/dist-lib/components/shared/RefreshControl.d.ts +0 -25
  353. package/dist-lib/components/shared/StatusGroupsDisplay.d.ts +0 -11
  354. package/dist-lib/components/shared/StatusStepper.d.ts +0 -13
  355. package/dist-lib/components/shared/toast/DeclarionToast.d.ts +0 -31
  356. package/dist-lib/components/shared/useOwnRefresh.d.ts +0 -9
  357. package/dist-lib/embed/EmbedAuthBootstrap.d.ts +0 -8
  358. package/dist-lib/embed/EmbedContext.d.ts +0 -50
  359. package/dist-lib/embed/EmbedDirtyReporter.d.ts +0 -10
  360. package/dist-lib/embed/EmbedHistoryTracker.d.ts +0 -1
  361. package/dist-lib/embed/EmbedLocationReporter.d.ts +0 -8
  362. package/dist-lib/embed/EmbedResizeReporter.d.ts +0 -6
  363. package/dist-lib/embed/EmbedUnsavedGuard.d.ts +0 -7
  364. package/dist-lib/embed/embed-dirty.d.ts +0 -24
  365. package/dist-lib/embed/embed-history.d.ts +0 -19
  366. package/dist-lib/embed/embed-nav-guard.d.ts +0 -20
  367. package/dist-lib/embed/file-src.d.ts +0 -63
  368. package/dist-lib/embed/handshake.d.ts +0 -57
  369. package/dist-lib/embed/index.d.ts +0 -19
  370. package/dist-lib/embed/params.d.ts +0 -75
  371. package/dist-lib/embed/protocol.d.ts +0 -165
  372. package/dist-lib/embed/screen-location.d.ts +0 -50
  373. package/dist-lib/embed/theme.d.ts +0 -34
  374. package/dist-lib/embed/token.d.ts +0 -57
  375. package/dist-lib/embed/useEmbedNavigate.d.ts +0 -48
  376. package/dist-lib/embed/useGlobalLinkInterceptor.d.ts +0 -66
  377. package/dist-lib/failure-BUxXuP4c.js +0 -158
  378. package/dist-lib/format-count-bXVfHzbI.js +0 -1771
  379. package/dist-lib/hooks/useActionData.d.ts +0 -61
  380. package/dist-lib/hooks/useAgentConversation.d.ts +0 -24
  381. package/dist-lib/hooks/useAllEntityData.d.ts +0 -16
  382. package/dist-lib/hooks/useAssociatedData.d.ts +0 -10
  383. package/dist-lib/hooks/useAuth.d.ts +0 -22
  384. package/dist-lib/hooks/useBranding.d.ts +0 -8
  385. package/dist-lib/hooks/useBrandingChrome.d.ts +0 -59
  386. package/dist-lib/hooks/useChildrenData.d.ts +0 -3
  387. package/dist-lib/hooks/useColumns.d.ts +0 -13
  388. package/dist-lib/hooks/useCurrentScreen.d.ts +0 -34
  389. package/dist-lib/hooks/useCursorEntityData.d.ts +0 -79
  390. package/dist-lib/hooks/useDebounce.d.ts +0 -1
  391. package/dist-lib/hooks/useEntity.d.ts +0 -2
  392. package/dist-lib/hooks/useEntityData.d.ts +0 -41
  393. package/dist-lib/hooks/useFilters.d.ts +0 -14
  394. package/dist-lib/hooks/useImpersonation.d.ts +0 -23
  395. package/dist-lib/hooks/useLanguage.d.ts +0 -4
  396. package/dist-lib/hooks/useLiveObject.d.ts +0 -9
  397. package/dist-lib/hooks/useLongPress.d.ts +0 -29
  398. package/dist-lib/hooks/useMutations.d.ts +0 -13
  399. package/dist-lib/hooks/useObject.d.ts +0 -11
  400. package/dist-lib/hooks/useObjectStatus.d.ts +0 -5
  401. package/dist-lib/hooks/usePageState.d.ts +0 -32
  402. package/dist-lib/hooks/usePageStateRuntime.d.ts +0 -27
  403. package/dist-lib/hooks/usePageStateTtl.d.ts +0 -11
  404. package/dist-lib/hooks/useParams.d.ts +0 -49
  405. package/dist-lib/hooks/useProperties.d.ts +0 -5
  406. package/dist-lib/hooks/useRealtimeThresholds.d.ts +0 -1
  407. package/dist-lib/hooks/useRegisterScreenTab.d.ts +0 -11
  408. package/dist-lib/hooks/useResponsiveMode.d.ts +0 -27
  409. package/dist-lib/hooks/useSSE.d.ts +0 -31
  410. package/dist-lib/hooks/useSchema.d.ts +0 -1
  411. package/dist-lib/hooks/useScreen.d.ts +0 -2
  412. package/dist-lib/hooks/useScreenBack.d.ts +0 -21
  413. package/dist-lib/hooks/useScreenTab.d.ts +0 -10
  414. package/dist-lib/hooks/useTabNavigate.d.ts +0 -34
  415. package/dist-lib/hooks/useTabSearchMirror.d.ts +0 -1
  416. package/dist-lib/hooks/useTabTitle.d.ts +0 -2
  417. package/dist-lib/hooks/useText.d.ts +0 -3
  418. package/dist-lib/hooks/useTimelineData.d.ts +0 -10
  419. package/dist-lib/hooks/useVersionWatcher.d.ts +0 -30
  420. package/dist-lib/hooks/useViews.d.ts +0 -26
  421. package/dist-lib/lib/action-dispatch.d.ts +0 -8
  422. package/dist-lib/lib/actions.d.ts +0 -254
  423. package/dist-lib/lib/anchor.d.ts +0 -36
  424. package/dist-lib/lib/brand-tokens.d.ts +0 -43
  425. package/dist-lib/lib/branding.d.ts +0 -20
  426. package/dist-lib/lib/canonical-url.d.ts +0 -27
  427. package/dist-lib/lib/capabilityPrefetch.d.ts +0 -6
  428. package/dist-lib/lib/child-config.d.ts +0 -24
  429. package/dist-lib/lib/children-validation.d.ts +0 -5
  430. package/dist-lib/lib/decimal-text.d.ts +0 -1
  431. package/dist-lib/lib/display-value.d.ts +0 -1
  432. package/dist-lib/lib/document-templates.d.ts +0 -11
  433. package/dist-lib/lib/download.d.ts +0 -21
  434. package/dist-lib/lib/evidence-verdict.d.ts +0 -11
  435. package/dist-lib/lib/failure.d.ts +0 -2
  436. package/dist-lib/lib/field-classification.d.ts +0 -61
  437. package/dist-lib/lib/field-regions.d.ts +0 -8
  438. package/dist-lib/lib/filter-evaluator.d.ts +0 -16
  439. package/dist-lib/lib/filters.d.ts +0 -93
  440. package/dist-lib/lib/format-count.d.ts +0 -41
  441. package/dist-lib/lib/html-state.d.ts +0 -11
  442. package/dist-lib/lib/language.d.ts +0 -19
  443. package/dist-lib/lib/longPressGesture.d.ts +0 -55
  444. package/dist-lib/lib/mass-edit.d.ts +0 -32
  445. package/dist-lib/lib/page-inset.d.ts +0 -3
  446. package/dist-lib/lib/quick-add.d.ts +0 -2
  447. package/dist-lib/lib/realtime-query-keys.d.ts +0 -22
  448. package/dist-lib/lib/realtime-reconcile.d.ts +0 -33
  449. package/dist-lib/lib/realtime-resync.d.ts +0 -23
  450. package/dist-lib/lib/record-documents-key.d.ts +0 -1
  451. package/dist-lib/lib/rich-text.d.ts +0 -14
  452. package/dist-lib/lib/rowClickGesture.d.ts +0 -26
  453. package/dist-lib/lib/safe-url.d.ts +0 -15
  454. package/dist-lib/lib/schema-routing.d.ts +0 -3
  455. package/dist-lib/lib/screen-back.d.ts +0 -70
  456. package/dist-lib/lib/scroll-restoration.d.ts +0 -90
  457. package/dist-lib/lib/size-value.d.ts +0 -16
  458. package/dist-lib/lib/sort.d.ts +0 -72
  459. package/dist-lib/lib/timestamp.d.ts +0 -53
  460. package/dist-lib/lib/toast.d.ts +0 -49
  461. package/dist-lib/lib/ui-actions.d.ts +0 -12
  462. package/dist-lib/lib/utils.d.ts +0 -9
  463. package/dist-lib/lib/variants.d.ts +0 -7
  464. package/dist-lib/lib/versionTracker.d.ts +0 -72
  465. package/dist-lib/lib/viewport-category.d.ts +0 -44
  466. package/dist-lib/main.d.ts +0 -1
  467. package/dist-lib/registry-nSeHd5si.js +0 -1956
  468. package/dist-lib/safe-url-oSJw5pzO.js +0 -34
  469. package/dist-lib/stores/auth.d.ts +0 -16
  470. package/dist-lib/stores/list-layout.d.ts +0 -85
  471. package/dist-lib/stores/page-state.d.ts +0 -61
  472. package/dist-lib/stores/preferences.d.ts +0 -37
  473. package/dist-lib/stores/realtime.d.ts +0 -96
  474. package/dist-lib/stores/screen-registry.d.ts +0 -17
  475. package/dist-lib/stores/tabs.d.ts +0 -73
  476. package/dist-lib/types/api.d.ts +0 -579
  477. package/dist-lib/types/fieldType.d.ts +0 -2
  478. package/dist-lib/types/files.d.ts +0 -79
  479. package/dist-lib/types/ordmap.d.ts +0 -39
  480. package/dist-lib/types/schema.d.ts +0 -1089
  481. package/dist-lib/useCurrentScreen-0WBj7wT6.js +0 -7860
  482. package/dist-lib/useListQuery-C7dq_sEo.js +0 -103
  483. package/dist-lib/useOwnRefresh-q80kCMMh.js +0 -1167
  484. package/dist-lib/useProperties-CeGKtq7Q.js +0 -83
  485. package/dist-lib/useTabSearchMirror-CzNAj82Q.js +0 -175
  486. package/dist-lib/useText-BsedsJ-J.js +0 -952
  487. package/dist-lib/vite/fingerprint-plugin.d.ts +0 -44
@@ -1,3 +0,0 @@
1
- import type { PropertyValue } from "../types/api.d.ts";
2
- export declare function setObjectProperty(entity: string, id: string, propertyCode: string, value: unknown): Promise<PropertyValue>;
3
- export declare function deleteObjectProperty(entity: string, id: string, propertyCode: string): Promise<void>;
@@ -1,2 +0,0 @@
1
- import type { Schema } from "../types/schema.d.ts";
2
- export declare function fetchSchema(): Promise<Schema>;
@@ -1,2 +0,0 @@
1
- import type { StatusInfo } from "../types/api.d.ts";
2
- export declare function setObjectStatus(entity: string, id: string, groupCode: string, statusCode: string, note?: string): Promise<StatusInfo>;
package/dist-lib/app.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function App(): import("react").JSX.Element;
@@ -1,18 +0,0 @@
1
- import type { Action } from "../../types/schema.d.ts";
2
- interface ActionButtonProps {
3
- actionCode: string;
4
- action: Action;
5
- entityCode?: string;
6
- /** Selected object IDs (for single/batch scope). */
7
- objectIds?: string[];
8
- /** Current row data for condition evaluation (single row context). */
9
- row?: Record<string, unknown>;
10
- /** Variant for the button. */
11
- variant?: "default" | "outline" | "ghost" | "secondary";
12
- /** Size for the button. */
13
- size?: "default" | "sm" | "icon";
14
- /** Called after action execution succeeds. */
15
- onSuccess?: () => void;
16
- }
17
- export declare function ActionButton({ actionCode, action, entityCode, objectIds, row, variant, size, onSuccess, }: ActionButtonProps): import("react").JSX.Element;
18
- export {};
@@ -1,20 +0,0 @@
1
- import type { Action } from "../../types/schema.d.ts";
2
- interface ActionDialogProps {
3
- open: boolean;
4
- onOpenChange: (open: boolean) => void;
5
- action: Action;
6
- actionName: string;
7
- onSubmit: (params: Record<string, unknown>) => void;
8
- isPending: boolean;
9
- row?: Record<string, unknown>;
10
- /**
11
- * Bulk selection when invoked from a list floatbar. Used by two
12
- * param renderings: (1) `id_array` typed params are auto-filled with
13
- * the selection's PKs and hidden from the form, matching the
14
- * floatbar auto-fill contract; (2) `entity_patch` params feed the
15
- * selection into PropertyGridEditor for same-value pre-fill.
16
- */
17
- bulkSelection?: ReadonlyArray<Record<string, unknown>>;
18
- }
19
- export declare function ActionDialog({ open, onOpenChange, action, actionName, onSubmit, isPending, row, bulkSelection, }: ActionDialogProps): import("react").JSX.Element | null;
20
- export {};
@@ -1,22 +0,0 @@
1
- export interface DisplayField {
2
- label: string;
3
- value: string;
4
- type?: "text" | "download" | "link";
5
- href?: string;
6
- download_url?: string;
7
- filename?: string;
8
- copyable?: boolean;
9
- monospace?: boolean;
10
- }
11
- export interface ActionDisplayResult {
12
- title?: string;
13
- message?: string;
14
- fields?: DisplayField[];
15
- }
16
- interface ActionResultDialogProps {
17
- open: boolean;
18
- onClose: () => void;
19
- display: ActionDisplayResult;
20
- }
21
- export declare function ActionResultDialog({ open, onClose, display }: ActionResultDialogProps): import("react").JSX.Element | null;
22
- export {};
@@ -1,62 +0,0 @@
1
- import { type ReactNode } from "react";
2
- import { type Action } from "../../types/schema.d.ts";
3
- export interface RunActionOptions {
4
- /** Full YAML action when available; drives destructive/long_running/resolved_params. */
5
- action?: Action;
6
- /** Presentation title for the modal/toast. */
7
- title?: string;
8
- /** When `action` is absent, individual flags still steer dispatch. */
9
- destructive?: boolean;
10
- longRunning?: boolean;
11
- /** Invoked after the user confirms / fills params. May return a promise
12
- * (awaited by the runner) or a sync value; `unknown` covers both. */
13
- execute: (params: Record<string, unknown>) => unknown;
14
- /**
15
- * Caller-side hook fired after `execute` resolves with a `success`
16
- * outcome. Reason: navigation and cache-invalidation decisions that
17
- * follow an action depend on the caller's screen context, not on
18
- * the action declaration. Detail pages use it to navigate back to
19
- * the entity list after `__delete`; list pages can use it to clear
20
- * row selection; SSE-driven pages may rely on the realtime stream
21
- * instead and omit it entirely.
22
- */
23
- onSuccess?: (result: unknown) => void;
24
- /**
25
- * The current bulk selection (full row objects). Forwarded to
26
- * ActionDialog so entity_patch params can pre-fill same-value
27
- * editors from the selected rows. Omit for single-row or global
28
- * action invocations.
29
- */
30
- bulkSelection?: ReadonlyArray<Record<string, unknown>>;
31
- /**
32
- * The record the action is bound to, for single-row invocations
33
- * (detail header/toolbar, list row, quick peek). Forwarded to
34
- * ActionDialog so `$row.*` param defaults resolve against it -
35
- * without it every schema-declared prefill silently renders the
36
- * param's empty state. Omit for global and bulk invocations.
37
- */
38
- row?: Record<string, unknown>;
39
- /**
40
- * Acted-entity override for the post-outcome query invalidation. Normally
41
- * the runner reads `action.entity`; pass this when the dispatched action
42
- * may lack its binding (e.g. a platform-default bulk action resolved from
43
- * screen context).
44
- */
45
- entity?: string;
46
- }
47
- interface ActionRunnerContextValue {
48
- /**
49
- * Dispatch an action. Resolves when the action settles: for a direct-run
50
- * action (no params, non-destructive) that is when `execute` finishes, so
51
- * callers can await it to keep a trigger button disabled for the whole
52
- * operation. For modal paths (params dialog / destructive confirm) it
53
- * resolves immediately - the dialog owns its own pending UI.
54
- */
55
- run: (opts: RunActionOptions) => Promise<void>;
56
- isRunning: boolean;
57
- }
58
- export declare function useActionRunner(): ActionRunnerContextValue;
59
- export declare function ActionRunnerProvider({ children }: {
60
- children: ReactNode;
61
- }): import("react").JSX.Element;
62
- export {};
@@ -1,29 +0,0 @@
1
- import { type ReactNode } from "react";
2
- import { type ResolvedActionLayoutNode } from "../../lib/actions.d.ts";
3
- import { type Action } from "../../types/schema.d.ts";
4
- import { type WidgetContext } from "./ResponsiveActionBar.d.ts";
5
- export type ObjectActionBarSlot = "detail" | "detail_toolbar" | "list_row" | "quick_peek";
6
- export type ObjectActionSelection = {
7
- include: string[];
8
- exclude?: never;
9
- } | {
10
- exclude: string[];
11
- include?: never;
12
- };
13
- export interface ObjectActionBarProps {
14
- entity: string;
15
- object: Record<string, unknown> | undefined;
16
- slot: ObjectActionBarSlot;
17
- screen?: string;
18
- select?: ObjectActionSelection;
19
- extraActions?: ReactNode;
20
- onAfterRun?: (code: string, result: unknown) => void;
21
- }
22
- export interface UseObjectActionsResult {
23
- nodes: ResolvedActionLayoutNode[];
24
- run: (code: string, action: Action) => void | Promise<void>;
25
- isBusy: boolean;
26
- widgetContext?: WidgetContext;
27
- }
28
- export declare function useObjectActions({ entity: entityCode, object, slot, screen: screenCode, select, onAfterRun, }: Omit<ObjectActionBarProps, "extraActions">): UseObjectActionsResult;
29
- export declare function ObjectActionBar({ entity, object, slot, screen, select, extraActions, onAfterRun, }: ObjectActionBarProps): import("react").JSX.Element | null;
@@ -1,20 +0,0 @@
1
- import type { Entity } from "../../types/schema.d.ts";
2
- import type { MassEditTarget } from "../../lib/mass-edit.d.ts";
3
- /** Raw patch shape: field codes + optional $statuses / $properties subresource arrays. */
4
- export type PatchMap = Record<string, unknown>;
5
- interface PropertyGridEditorProps {
6
- entity: Entity | undefined;
7
- /** Optional YAML-declared target whitelist (HandlerParam.Filter["targets"]). */
8
- filterTargets?: string;
9
- /** The current bulk selection. Used for same-value pre-fill per target. */
10
- selectedRows?: ReadonlyArray<Record<string, unknown>>;
11
- /** Current patch value (controlled). */
12
- value: PatchMap;
13
- /** Emitted whenever the user adds, changes, or removes a target. */
14
- onChange: (next: PatchMap) => void;
15
- }
16
- /** UI-only marker for cells whose selected rows disagree on the current value. */
17
- declare const MULTIPLE_VALUES: unique symbol;
18
- export declare function PropertyGridEditor({ entity, filterTargets, selectedRows, value, onChange, }: PropertyGridEditorProps): import("react").JSX.Element;
19
- export declare function detectCommonValue(target: MassEditTarget, selectedRows: ReadonlyArray<Record<string, unknown>> | undefined): unknown;
20
- export { MULTIPLE_VALUES };
@@ -1,259 +0,0 @@
1
- /**
2
- * ResponsiveActionBar - placement-agnostic action toolbar.
3
- *
4
- * Consumes a resolved + RBAC-pruned ResolvedActionLayoutNode[] from the server
5
- * and renders it as an inline bar with overflow "More" dropdown
6
- * (kind="detail"/"toolbar") or as a single kebab "⋮" (kind="row").
7
- *
8
- * Measurement algorithm:
9
- * 1. Off-screen layer renders every leaf + group trigger invisibly.
10
- * 2. ResizeObserver tracks container width.
11
- * 3. On layout or container-width change, greedy-fill in position-ascending
12
- * order. Destructive leaves always trail; non-destructive overflow goes
13
- * into "More" dropdown before the destructive slot.
14
- * 4. visibility:hidden until first measurement completes (avoids FOUC).
15
- * 16ms timeout fallback in case ResizeObserver fires late.
16
- *
17
- * Selection-state performance:
18
- * kind="toolbar" pre-resolves and pre-measures BOTH static (no selection)
19
- * and bulk (selection > 0) variants at initial mount. The rowSelection toggle
20
- * swaps which variant renders WITHOUT re-measuring.
21
- *
22
- * Row context (kind="row"):
23
- * Renders as a single kebab "⋮" dropdown. No inline measurement.
24
- * Destructive items land at the bottom of the dropdown with a separator.
25
- */
26
- import type { Action, Entity, Screen } from "../../types/schema.d.ts";
27
- import type { ResolvedActionLayoutNode, ResolvedActionLeaf } from "../../lib/actions.d.ts";
28
- import { type TextFn } from "../../hooks/useText.d.ts";
29
- /**
30
- * Action-trigger callback. Returns a promise when the caller dispatches an
31
- * awaitable action (direct-run via ActionRunner); the bar awaits it so the
32
- * button keeps its spinner/disabled state for the whole operation. Returns
33
- * void for fire-and-forget caller paths.
34
- */
35
- export type ActionRunHandler = (code: string, action: Action) => void | Promise<void>;
36
- /**
37
- * Tab navigation options accepted by SDK tabNavigate. Kept loose here so the
38
- * caller can pass through the full TabMeta from useTabNavigate without forcing
39
- * a re-export.
40
- *
41
- * Reason: ResponsiveActionBar only forwards the value - tighter typing belongs
42
- * with the navigation API, not with the dispatcher that hands the value off.
43
- */
44
- export interface TabMeta {
45
- title?: string;
46
- icon?: string;
47
- search?: string;
48
- replace?: boolean;
49
- }
50
- /**
51
- * Minimal dispatch surface assembled by SmartListPage/DetailLayout and passed
52
- * to ResponsiveActionBar. It carries what `href` dispatch needs plus the seat
53
- * for a future widget registry mount.
54
- *
55
- * Reason: defining the full WidgetContext now would freeze a surface before
56
- * the widget registry has a real consumer. It holds exactly the fields the
57
- * href dispatch reads and extends without breaking callers.
58
- */
59
- export interface WidgetContext {
60
- /** Resolved entity for the current page; widget code reads schema metadata. */
61
- entity: Entity;
62
- /** Wire-format entity code used to interpolate `${entity}` in href templates. */
63
- entityCode: string;
64
- /** Active screen, if any. Optional because some pages predate screens. */
65
- screen?: Screen;
66
- /** Pathname of the current screen, used by widgets that deep-link back. */
67
- screenRoute: string;
68
- /** Currently selected rows (full row objects). */
69
- selectedRows: Record<string, unknown>[];
70
- /** PK values of the currently selected rows, in selection order. */
71
- selectedIds: string[];
72
- /** Reads declared words in the reader's language; `t.language` formats values. */
73
- t: TextFn;
74
- /** Opens or switches to a tab in the SDK shell. */
75
- tabNavigate: (url: string, meta?: TabMeta) => void;
76
- /** Invokes a server action and returns its response envelope. */
77
- runActionApi: (code: string, params: unknown) => Promise<unknown>;
78
- /**
79
- * Opens the Quick peek drawer for `row`. Present only where peek is available
80
- * (list surfaces that pass it); the `__peek` platform default dispatches
81
- * through here as a pure client verb - the mode-less counterpart of `__open`'s
82
- * href navigation. Absent surfaces never receive a `__peek` leaf, so a missing
83
- * callback is never invoked.
84
- */
85
- openPeek?: (row: Record<string, unknown> | undefined) => void;
86
- }
87
- /**
88
- * Telemetry payload emitted on every action click. Stays scalar by design -
89
- * no Action reference or i18n strings.
90
- *
91
- * Reason: display.name may carry tenant-customized strings with PII; the
92
- * payload feeds analytics pipelines and MUST NOT leak them.
93
- */
94
- export interface ActionClickPayload {
95
- code: string;
96
- entity: string;
97
- /** Dispatch mode chosen by ResponsiveActionBar based on which field was set.
98
- * "peek" is the mode-less `__peek` client verb (opens the Quick peek drawer). */
99
- mode: "handler" | "association" | "widget" | "href" | "ui_steps" | "peek" | "unknown";
100
- /** PK of the row the click was bound to, when row-scoped. Empty otherwise. */
101
- rowId: string;
102
- }
103
- /**
104
- * Replaces `${key}` occurrences in `template` with `vars[key]`. Unknown keys
105
- * are left in place so they show up in error reports rather than being
106
- * silently dropped.
107
- *
108
- * Reason: href templates may reference placeholders the dispatcher does not
109
- * own (e.g. tenant-defined `${region}`); leaving them intact lets a wrapping
110
- * layer interpolate next instead of swallowing the error.
111
- */
112
- export declare function interpolate(template: string, vars: Record<string, string>): string;
113
- export interface ResponsiveActionBarProps {
114
- /** RBAC-pruned, post-Task-7 tree from server. */
115
- layout: ResolvedActionLayoutNode[];
116
- /** Single-row context (detail / row / quick_peek). */
117
- row?: Record<string, unknown>;
118
- /** Bulk context (list_toolbar with selection). */
119
- rowSelection?: unknown[];
120
- /** Called when the user triggers an action. */
121
- onRun: ActionRunHandler;
122
- /**
123
- * Width in px already consumed by caller-rendered edit/delete slots on the
124
- * right side of the container. The bar subtracts this before filling inline.
125
- */
126
- reservedRightWidth?: number;
127
- /** Rendering density / measurement strategy. */
128
- kind?: "detail" | "toolbar" | "row";
129
- /**
130
- * Which edge the buttons sit on. The bar always takes the row's FREE space (that is
131
- * what makes its width a granted number rather than one it produced itself), so this
132
- * says where the buttons sit inside it. Trailing by default: every surface in the
133
- * product puts its actions on the trailing edge.
134
- */
135
- align?: "leading" | "trailing";
136
- /**
137
- * Whether the container constrains the bar at all. Default true.
138
- *
139
- * Set false ONLY when the container is sized by the bar's own content and no row
140
- * grants it a width - today that is the floating bulk-selection pill. Measuring such
141
- * a container compares the bar with itself: the fit test has zero headroom, one
142
- * sub-pixel disagreement collapses a button into the menu, and the container then
143
- * shrink-wraps around the menu so the button can never come back. An unconstrained
144
- * bar renders every action inline and lets its container wrap.
145
- */
146
- constrain?: boolean;
147
- /**
148
- * Test seam: when provided, overrides the measurement decision for each
149
- * node. Return true = node fits inline; false = overflows to More.
150
- * jsdom always reports 0 widths so tests rely on this predicate.
151
- */
152
- measurementOverride?: (node: ResolvedActionLayoutNode) => boolean;
153
- /**
154
- * Action catalog map used to resolve display metadata (name, icon, etc.)
155
- * for each leaf referenced by code. Entity-level map. May be undefined
156
- * when the caller has no entity context (global actions).
157
- */
158
- entityActions?: Record<string, Action>;
159
- /** Global action catalog fallback. */
160
- globalActions?: Record<string, Action>;
161
- /** aria-label for the toolbar root. Defaults to "Actions". */
162
- ariaLabel?: string;
163
- /**
164
- * Dispatch surface for client-side action modes (`href` today, `widget` once
165
- * the widget registry exists). When omitted, every action falls through to
166
- * `onRun`.
167
- *
168
- * Reason: keeps the bar usable from contexts that have no router or schema
169
- * runtime (test fixtures, storybook) while letting production callers wire
170
- * the full dispatch path.
171
- */
172
- widgetContext?: WidgetContext;
173
- /**
174
- * Telemetry sink fired on every action click. Payload stays
175
- * scalar - no Action reference or i18n strings.
176
- *
177
- * Reason: feeds analytics without leaking tenant-customized labels.
178
- */
179
- onActionClick?: (payload: ActionClickPayload) => void;
180
- }
181
- export interface RowMenuContentProps {
182
- /**
183
- * Row-stated + nav-suppressed layout. BOTH triggers pass the identical shape:
184
- * the kebab (anchored) and the right-click menu (at the cursor) compose the
185
- * same leaves so their menus are structurally identical.
186
- */
187
- layout: ResolvedActionLayoutNode[];
188
- entityActions: Record<string, Action> | undefined;
189
- globalActions?: Record<string, Action> | undefined;
190
- /**
191
- * Action runner, already wrapped by the caller to close its own popover on
192
- * click. Kept caller-owned so the kebab and the right-click site each dismiss
193
- * their own surface while sharing this one dispatch path.
194
- */
195
- onRun: ActionRunHandler;
196
- /** Controlled loading code so a trigger (the kebab button) can spin too. */
197
- loading: string | null;
198
- onLoadingChange: (code: string | null) => void;
199
- row?: Record<string, unknown>;
200
- widgetContext?: WidgetContext;
201
- onActionClick?: (payload: ActionClickPayload) => void;
202
- ariaLabel?: string;
203
- }
204
- /**
205
- * RowMenuContent is the ONE renderer of Row Menu body content, shared by the
206
- * kebab and the right-click menu. It partitions destructive-last, draws a divider after the leading
207
- * navigation run (__peek / __open), and renders every leaf through the same
208
- * DropdownLeafItem / DropdownGroupSection path used everywhere else - so the two
209
- * triggers cannot structurally diverge. It renders no chrome and owns no
210
- * open/close state; the caller wraps it (anchored Dropdown or cursor container).
211
- */
212
- export declare function RowMenuContent({ layout, entityActions, globalActions, onRun, loading, onLoadingChange, row, widgetContext, onActionClick, ariaLabel, }: RowMenuContentProps): import("react").JSX.Element;
213
- /**
214
- * Layout decision computed by the measurement pass. Three pinned groups
215
- * (primary / inline / destructive) plus the overflow bucket that lives
216
- * inside the "More" dropdown.
217
- *
218
- * Reason: primary and destructive are anchored - they never feed the
219
- * overflow algorithm. Only the regular group can spill into More.
220
- */
221
- interface LayoutDecision {
222
- /** Primary leaves that survived, at the leading edge. */
223
- primaryInline: ResolvedActionLeaf[];
224
- /** Regular leaves and groups that survived, in position order. */
225
- inline: ResolvedActionLayoutNode[];
226
- /** Everything that did not survive, in the "Actions" menu. */
227
- overflow: ResolvedActionLayoutNode[];
228
- /** Destructive leaves that survived, at the trailing edge. */
229
- destructiveInline: ResolvedActionLeaf[];
230
- /**
231
- * Inline leaves rendering as icon-only buttons: the step between a labelled
232
- * button and the menu. Empty whenever every surviving button kept its label.
233
- */
234
- iconOnly: ReadonlySet<string>;
235
- }
236
- export declare function computeLayout(nodes: ResolvedActionLayoutNode[], containerWidth: number, reservedRightWidth: number, measuredWidths: Map<string, number>, entityActions: Record<string, Action> | undefined, globalActions: Record<string, Action> | undefined, measurementOverride?: (node: ResolvedActionLayoutNode) => boolean, prevInline?: ReadonlySet<string>, prevIconOnly?: ReadonlySet<string>): LayoutDecision;
237
- /**
238
- * slotIsContentSized answers the only question the contract check may act on:
239
- * is the box holding this bar sized BY the bar?
240
- *
241
- * A slot that grows (`flex-grow > 0`) or that fills its parent by being
242
- * block-level was sized by the row, however wide it ended up - so an equality
243
- * between its width and the bar's content is arithmetic, not a defect. What
244
- * hugs is an inline-level or non-growing flex item: its width IS its content,
245
- * so the bar would be measuring itself.
246
- *
247
- * `display: contents` boxes are skipped: they generate no box and cannot size
248
- * anything.
249
- */
250
- export declare function slotIsContentSized(bar: HTMLElement): boolean;
251
- /**
252
- * ResponsiveActionBar renders a resolved action layout tree.
253
- *
254
- * kind="detail" or "toolbar": inline bar with overflow "More" dropdown.
255
- * kind="row": single kebab "⋮" with all actions in dropdown.
256
- * kind default: "toolbar".
257
- */
258
- export declare function ResponsiveActionBar({ layout, row, rowSelection, onRun, reservedRightWidth, kind, align, constrain, measurementOverride, entityActions, globalActions, ariaLabel, widgetContext, onActionClick, }: ResponsiveActionBarProps): import("react").JSX.Element | null;
259
- export {};
@@ -1,20 +0,0 @@
1
- import { type Action, type Entity } from "../../types/schema.d.ts";
2
- interface RowActionsKebabProps {
3
- actions: Array<{
4
- code: string;
5
- action: Action;
6
- }>;
7
- objectIds: string[];
8
- row?: Record<string, unknown>;
9
- entity?: Entity;
10
- onSuccess?: () => void;
11
- /** Pre-menu slot for host-specific items (Edit, Delete, etc). */
12
- preMenu?: React.ReactNode;
13
- /** Emit a divider between preMenu and the action list when both are present. */
14
- divider?: boolean;
15
- /** Narrow hit-target button size. Defaults match SmartListPage (22px). */
16
- size?: number;
17
- align?: "start" | "end";
18
- }
19
- export declare function RowActionsKebab({ actions, objectIds, row, entity, onSuccess, preMenu, divider, size, align, }: RowActionsKebabProps): import("react").JSX.Element | null;
20
- export {};
@@ -1,3 +0,0 @@
1
- import type { AgentChatPanelProps } from "./AgentChatPanel.impl";
2
- export type { AgentChatPanelProps } from "./AgentChatPanel.impl";
3
- export declare function AgentChatPanel(props: AgentChatPanelProps): import("react").JSX.Element | null;
@@ -1,14 +0,0 @@
1
- import { type TextFn } from "../../lib/language.d.ts";
2
- export interface AgentChatPanelProps {
3
- open: boolean;
4
- onClose: () => void;
5
- /** Reserved for conversation context; the current action does not persist it. */
6
- context?: string;
7
- title?: string;
8
- /** A question typed somewhere else - the command palette - to send once
9
- * the panel opens. The palette promises "Press Enter to ask"; without
10
- * this it opened the panel and threw the question away. */
11
- askOnOpen?: string;
12
- }
13
- export declare function AgentChatPanel({ open, onClose, context, title, askOnOpen }: AgentChatPanelProps): import("react").JSX.Element | null;
14
- export declare function proposalFallback(t: TextFn, code: string): string;
@@ -1,11 +0,0 @@
1
- import type { AgentConversation } from "../../api/agents.d.ts";
2
- export interface AgentConversationDrawerProps {
3
- open: boolean;
4
- onClose: () => void;
5
- conversations: AgentConversation[];
6
- activeId?: string;
7
- onSelect: (id: string) => void;
8
- onNew: () => void;
9
- onRefresh: () => Promise<void>;
10
- }
11
- export declare function AgentConversationDrawer({ open, onClose, conversations, activeId, onSelect, onNew, onRefresh, }: AgentConversationDrawerProps): import("react").JSX.Element | null;
@@ -1,27 +0,0 @@
1
- type JSONSchemaProp = {
2
- type?: string | string[];
3
- enum?: unknown[];
4
- format?: string;
5
- minimum?: number;
6
- maximum?: number;
7
- title?: string;
8
- description?: string;
9
- default?: unknown;
10
- items?: {
11
- enum?: unknown[];
12
- type?: string;
13
- };
14
- };
15
- interface JSONSchema {
16
- type?: string;
17
- properties?: Record<string, JSONSchemaProp>;
18
- required?: string[];
19
- }
20
- export interface AgentElicitFormProps {
21
- message: string;
22
- schema: JSONSchema;
23
- onSubmit: (data: Record<string, unknown>) => void;
24
- onCancel?: () => void;
25
- }
26
- export declare function AgentElicitForm({ message, schema, onSubmit, onCancel }: AgentElicitFormProps): import("react").JSX.Element;
27
- export {};
@@ -1,8 +0,0 @@
1
- import type { AvailableAgent } from "../../api/agents.d.ts";
2
- export interface AgentPickerProps {
3
- agents: AvailableAgent[];
4
- selectedId?: string;
5
- onSelect: (id: string) => void;
6
- label: string;
7
- }
8
- export declare function AgentPicker({ agents, selectedId, onSelect, label }: AgentPickerProps): import("react").JSX.Element | null;
@@ -1,29 +0,0 @@
1
- import type { AgentMessage, AgentToolInvocation } from "../../api/agents.d.ts";
2
- export type TranscriptItem = {
3
- kind: "message";
4
- message: AgentMessage;
5
- } | {
6
- kind: "run";
7
- id: string;
8
- calls: TranscriptCall[];
9
- };
10
- /** One call, with its result folded in when it has arrived. */
11
- export type TranscriptCall = {
12
- /** The durable invocation id, when this call was persisted by the harness. */
13
- id: string;
14
- name: string;
15
- input: unknown;
16
- /** Absent until the platform answers. Absence means still running. */
17
- output?: unknown;
18
- isError?: boolean;
19
- messageId: string;
20
- status?: AgentToolInvocation["status"];
21
- };
22
- /**
23
- * fold turns a message list into what the transcript renders.
24
- *
25
- * Calls come from transcript blocks, while their state and result come from
26
- * the exact durable invocation row. A run keeps the id of its FIRST message
27
- * so expansion state survives later calls joining it.
28
- */
29
- export declare function fold(messages: AgentMessage[], invocations?: AgentToolInvocation[]): TranscriptItem[];
@@ -1,9 +0,0 @@
1
- import type { AssociationDef, Schema } from "../../types/schema.d.ts";
2
- interface AssociationTabsProps {
3
- entityCode: string;
4
- recordId: string;
5
- associations: Record<string, AssociationDef>;
6
- schema: Schema;
7
- }
8
- export declare function AssociationTabs({ entityCode, recordId, associations, schema, }: AssociationTabsProps): import("react").JSX.Element | null;
9
- export {};
@@ -1,11 +0,0 @@
1
- import type { ReactNode } from "react";
2
- export interface AuditStripLine {
3
- label: ReactNode;
4
- by?: ReactNode;
5
- at?: ReactNode;
6
- }
7
- interface AuditMetaStripProps {
8
- lines: AuditStripLine[];
9
- }
10
- export declare function AuditMetaStrip({ lines }: AuditMetaStripProps): import("react").JSX.Element | null;
11
- export {};
@@ -1,14 +0,0 @@
1
- import { type IconName } from "../primitives/index.d.ts";
2
- export interface Crumb {
3
- label: string;
4
- icon?: IconName | (string & {});
5
- onClick?: () => void;
6
- target?: unknown;
7
- /** True for the final segment (rendered bold per design spec). */
8
- isLast?: boolean;
9
- }
10
- export interface BreadcrumbsProps {
11
- items: Crumb[];
12
- onCrumbClick?: (crumb: Crumb) => void;
13
- }
14
- export declare function Breadcrumbs({ items, onCrumbClick }: BreadcrumbsProps): import("react").JSX.Element | null;
@@ -1,10 +0,0 @@
1
- import { type ReactNode } from "react";
2
- export interface HighlightItem {
3
- label: string;
4
- value: ReactNode;
5
- }
6
- interface HighlightsStripProps {
7
- items: HighlightItem[];
8
- }
9
- export declare function HighlightsStrip({ items }: HighlightsStripProps): import("react").JSX.Element | null;
10
- export {};
@@ -1,16 +0,0 @@
1
- import { type ReactNode } from "react";
2
- interface PageHeaderProps {
3
- /** Overrides the screen's declared name. Omit it: `<PageHeader />` renders the
4
- * screen's own `display.name` from the schema, already localized, so a rename or a
5
- * translation in YAML reaches the page instead of only the sidebar. Pass a string
6
- * only for a title the schema cannot know (a record's name, a wizard step). */
7
- title?: string;
8
- /** Overrides the screen's declared `display.description`. When either is present the
9
- * header shows the same small info affordance a list and a record already show;
10
- * when neither is, the header renders exactly as before. */
11
- description?: string;
12
- backTo?: string;
13
- actions?: ReactNode;
14
- }
15
- export declare function PageHeader({ title, description, backTo, actions }: PageHeaderProps): import("react").JSX.Element | null;
16
- export {};
@@ -1,7 +0,0 @@
1
- import type { ReactNode, Ref } from "react";
2
- export interface PageShellProps {
3
- header: ReactNode;
4
- children: ReactNode;
5
- scrollRef?: Ref<HTMLDivElement>;
6
- }
7
- export declare function PageShell({ header, children, scrollRef }: PageShellProps): import("react").JSX.Element;