@declarion/react 0.61.1 → 0.63.0

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,61 +0,0 @@
1
- import { type QueryKey } from "@tanstack/react-query";
2
- /** The canonical list-page envelope a paginated action returns in its `result` -
3
- * the same shape `data.list` (ListResponse) produces. */
4
- export interface ActionListPage<T> {
5
- data: T[];
6
- meta?: {
7
- cursor?: string;
8
- has_more?: boolean;
9
- };
10
- }
11
- /** Query-key root for a one-shot action read. Mirrors the entity root
12
- * `entity-data`. */
13
- export declare const ACTION_DATA_KEY = "action-data";
14
- /** Query-key root for a cursor (infinite) action read. Mirrors the entity cursor
15
- * root `entity-data-cursor`; distinct from the one-shot read so it is
16
- * reaped/registered independently. */
17
- export declare const ACTION_DATA_CURSOR_KEY = "action-data-cursor";
18
- /**
19
- * The React Query key for a one-shot action read. Single source of truth for
20
- * both `useActionData` and a screen registering it as its PRIMARY read with its
21
- * retained page (`useRegisterRetainedQuery`). `params` is embedded directly;
22
- * React Query hashes it stably (sorted keys).
23
- */
24
- export declare function actionDataQueryKey(actionCode: string | undefined, params: Record<string, unknown>): QueryKey;
25
- /**
26
- * Read an arbitrary action ONCE and cache its `result` - the action mirror of
27
- * `useEntityData`. `T` is whatever the action returns (a summary object, or a
28
- * plain array that is not cursor-paginated). Returns the raw React Query result;
29
- * the caller registers the key via `actionDataQueryKey` +
30
- * `useRegisterRetainedQuery` for retention.
31
- */
32
- export declare function useActionData<T>(actionCode: string | undefined, params: Record<string, unknown>, enabled?: boolean): import("@tanstack/react-query").UseQueryResult<T, Error>;
33
- /**
34
- * The React Query key for a cursor (infinite) action read. Single source of
35
- * truth for both `useCursorActionData` and its retained-page registration. The
36
- * key excludes the cursor (the cursor is the page param, not part of identity).
37
- */
38
- export declare function cursorActionDataQueryKey(actionCode: string | undefined, params: Record<string, unknown>): QueryKey;
39
- /** The accumulated, table-ready result of a cursor action read - mirrors the
40
- * shape `useCursorEntityData` feeds a list. */
41
- export interface CursorActionDataResult<T> {
42
- rows: T[];
43
- hasMore: boolean;
44
- fetchNextPage: () => void;
45
- isFetchingNextPage: boolean;
46
- isLoading: boolean;
47
- isError: boolean;
48
- error: Error | null;
49
- refetch: () => void;
50
- queryKey: QueryKey;
51
- }
52
- /**
53
- * Drive a cursor-paginated table from an action that returns an `ActionListPage`
54
- * in its `result`. The mirror of `useCursorEntityData`, differing only in the
55
- * source (an action via `executeAction`, not `EntityClient.list`): it
56
- * accumulates windows with `useInfiniteQuery`, advancing `meta.cursor` while
57
- * `meta.has_more`, and exposes the flattened rows. Register the returned
58
- * `queryKey` with `useRegisterRetainedQuery` so the pages survive a tab switch /
59
- * Back within the retention window and die with the retained page.
60
- */
61
- export declare function useCursorActionData<T>(actionCode: string | undefined, params: Record<string, unknown>, enabled?: boolean): CursorActionDataResult<T>;
@@ -1,24 +0,0 @@
1
- import { type ApprovalScope, type AgentConversation, type AgentMessage, type AgentToolInvocation, type AgentTurn, type AvailableAgent } from "../api/agents.d.ts";
2
- export interface AgentTurnState {
3
- streaming: boolean;
4
- }
5
- export declare function useAgentConversation(initialConversationId?: string): {
6
- conversationId: string | undefined;
7
- messages: AgentMessage[];
8
- turn: AgentTurnState;
9
- turns: AgentTurn[];
10
- invocations: AgentToolInvocation[];
11
- conversations: AgentConversation[];
12
- send: (text: string) => Promise<void>;
13
- approve: (invocationId: string, scope?: ApprovalScope) => Promise<void>;
14
- reject: (invocationId: string, note?: string) => Promise<void>;
15
- submitInput: (invocationId: string, data: Record<string, unknown>) => Promise<void>;
16
- cancelInput: (invocationId: string) => Promise<void>;
17
- cancel: () => Promise<void>;
18
- refreshConversations: () => Promise<void>;
19
- startNew: () => void;
20
- agents: AvailableAgent[];
21
- selectedAgentId: string | undefined;
22
- selectAgent: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
23
- setConversationId: (id: string | undefined) => void;
24
- };
@@ -1,16 +0,0 @@
1
- import type { ListParams, ListResponse } from "../types/api.d.ts";
2
- /**
3
- * Fetches every page of an entity list and concatenates the result into a
4
- * single ListResponse whose `meta.total` is the true row count.
5
- *
6
- * For board / kanban screens that group the entire result set client-side
7
- * and therefore cannot use one server-capped page. It fetches page 1 to
8
- * learn `total_pages`, then fetches the remaining pages in parallel and
9
- * merges their `$refs`.
10
- *
11
- * Prefer `useEntityData` for paginated list screens. This hook holds the
12
- * full result set in memory and is only appropriate for bounded entities.
13
- * The caller's `page` / `per_page` in `params` are ignored - this hook owns
14
- * pagination - while `filters`, `search`, `sort`, and `expand` are honored.
15
- */
16
- export declare function useAllEntityData(entity: string | undefined, params?: ListParams): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
@@ -1,10 +0,0 @@
1
- import type { V2ListResponse } from "../types/api.d.ts";
2
- /**
3
- * useAssociatedData fetches associated (non-aggregate) child entity records
4
- * with cursor-based pagination, search, and filter support.
5
- *
6
- * Uses useInfiniteQuery so that "Load more" accumulates pages rather than
7
- * replacing data. The query key is compatible with the SSE invalidation
8
- * predicate (index 0 = ENTITY_CHILDREN_KEY, index 3 = child entity code).
9
- */
10
- export declare function useAssociatedData(parentEntity: string, parentId: string, entityCode: string, foreignKey: string, sort?: string, limit?: number, search?: string, filters?: Record<string, string>): import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/react-query").InfiniteData<V2ListResponse<Record<string, unknown>>, unknown>, Error>;
@@ -1,22 +0,0 @@
1
- export declare function useAuth(): {
2
- user: import("..").AuthUser | null;
3
- isAuthenticated: boolean;
4
- isLoading: boolean;
5
- activeTenant: import("..").Tenant | null;
6
- tenants: import("..").Tenant[];
7
- login: import("@tanstack/react-query").UseMutateFunction<import("..").LoginResponse, Error, {
8
- email: string;
9
- password: string;
10
- remember?: boolean;
11
- }, unknown>;
12
- signup: import("@tanstack/react-query").UseMutateFunction<import("..").LoginResponse, Error, {
13
- email: string;
14
- password: string;
15
- displayName: string;
16
- }, unknown>;
17
- switchTenant: import("@tanstack/react-query").UseMutateFunction<import("..").LoginResponse, Error, string, unknown>;
18
- logout: () => Promise<void>;
19
- isLoginPending: boolean;
20
- isSignupPending: boolean;
21
- isSwitchingTenant: boolean;
22
- };
@@ -1,8 +0,0 @@
1
- import type { PublicBranding } from "../types/api.d.ts";
2
- export declare function useBranding(): {
3
- branding: PublicBranding | undefined;
4
- isLoading: boolean;
5
- };
6
- export declare function useBrandingIdentity(): import("../types/api.d.ts").BrandingIdentity | undefined;
7
- export declare function useBrandingTheme(): import("../types/api.d.ts").BrandingTheme | undefined;
8
- export declare function useBrandingChromeValue(): import("../types/api.d.ts").BrandingChrome | undefined;
@@ -1,59 +0,0 @@
1
- import { type ResponsiveBreakpoints } from "../lib/viewport-category.d.ts";
2
- import type { BrandingBreakpoints, BrandingShellFlags, BrandingSurfaceFlags, BrandingViewport } from "../types/api.d.ts";
3
- export type BrandingChromeSurface = "list" | "detail" | "record_list" | "custom";
4
- /**
5
- * The deployment's declared viewport for the CURRENT presentation context.
6
- *
7
- * `auto` means derive it from the measured width, which is what a deployment
8
- * that says nothing gets, and what the SDK has always done. A forced value
9
- * overrides the width for every consumer of the viewport category at once.
10
- *
11
- * The embed context is where this earns its keep: inside an iframe the measured
12
- * width is the IFRAME's, not the host page's, so a 500-pixel panel on a
13
- * 2560-pixel desktop is measured as a phone and rendered as one. A host sets
14
- * `branding.chrome.embed.viewport: desktop` and the whole SDK follows.
15
- */
16
- export declare function useBrandingViewport(): BrandingViewport;
17
- /**
18
- * The device-class boundaries for the CURRENT presentation context.
19
- *
20
- * A deployment overrides one bound at a time; the rest keep the SDK's table.
21
- * This is the fine-grained counterpart of {@link useBrandingViewport}: that one
22
- * forces a class outright, this one moves where the classes meet - which is what
23
- * a deployment on hardware the default table misreads actually needs, without
24
- * pinning every user of that context to one class.
25
- */
26
- export declare function useBrandingBreakpoints(): ResponsiveBreakpoints;
27
- /**
28
- * The declared bounds, or the SDK's table where a bound is absent or unusable.
29
- *
30
- * The two widths are read TOGETHER because they are ordered: the rule tests
31
- * `phoneMax` first and `tabletMax` second, so a declaration where the phone
32
- * bound is not below the tablet bound makes the tablet class unreachable - every
33
- * viewport is a phone or a desktop and nothing says so. That is the class this
34
- * refuses. It is also the lever the responsive design nominates as the recovery
35
- * for a device the default table misreads, so a silently dead override would be
36
- * discovered by the operator who reached for it in an emergency.
37
- *
38
- * Refusing means keeping the pair the SDK ships, which is coherent, and saying
39
- * so once where a deployment can read it. The height bound is independent of
40
- * both and is resolved on its own.
41
- */
42
- export declare function resolveBreakpoints(declared: BrandingBreakpoints | undefined): ResponsiveBreakpoints;
43
- export interface ResolvedBrandingChrome extends BrandingSurfaceFlags {
44
- isVisible: (key: keyof BrandingSurfaceFlags) => boolean;
45
- }
46
- export interface ResolvedBrandingShell extends BrandingShellFlags {
47
- isVisible: (key: keyof BrandingShellFlags) => boolean;
48
- }
49
- /**
50
- * Per-surface chrome for the current presentation context. The surface is
51
- * REQUIRED: shell flags live in {@link useBrandingShell}, a different YAML
52
- * structure with a different key set.
53
- */
54
- export declare function useBrandingChrome(surface: BrandingChromeSurface): ResolvedBrandingChrome;
55
- /**
56
- * Shell chrome flags (`branding.chrome.full.shell`). Only `full` has a shell:
57
- * an embed renders no shell, so there is no embed branch here.
58
- */
59
- export declare function useBrandingShell(): ResolvedBrandingShell;
@@ -1,3 +0,0 @@
1
- import type { ListResponse } from "../types/api.d.ts";
2
- export declare const ENTITY_CHILDREN_KEY: "entity-children";
3
- export declare function useChildrenData(parentEntity: string, parentId: string, childCode: string, foreignKey: string | string[], sort?: string, limit?: number): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
@@ -1,13 +0,0 @@
1
- /**
2
- * useColumns manages visible columns via URL `columns` param.
3
- * Falls back to screen defaults when no URL param is set.
4
- */
5
- export declare function useColumns(availableColumns: string[], defaultColumns: string[]): {
6
- visibleColumns: string[];
7
- availableColumns: string[];
8
- setColumns: (cols: string[]) => void;
9
- resetToDefaults: () => void;
10
- showAll: () => void;
11
- isColumnVisible: (col: string) => boolean;
12
- toggleColumn: (col: string) => void;
13
- };
@@ -1,34 +0,0 @@
1
- import { type ReactNode } from "react";
2
- import type { Screen } from "../types/schema.d.ts";
3
- /**
4
- * The screen a component is currently rendering inside.
5
- *
6
- * Standard pages have always been told which screen they are (`SmartListPage`,
7
- * `SmartDetailPage` and `SmartRecordListPage` all take `screenCode`). A CUSTOM screen
8
- * was told nothing - it was mounted as a bare `<Component />` - so it could not read
9
- * its own declaration and had no choice but to hardcode what the schema already said.
10
- * That is why a screen renamed or translated in YAML kept an English literal in its
11
- * header while the sidebar followed the schema.
12
- *
13
- * This context closes that gap: every routed screen, custom included, is rendered
14
- * inside it, so any component in the tree can ask what it is looking at without prop
15
- * drilling. `PageHeader` uses it to default its title and description - which is what
16
- * makes `<PageHeader />` with no props the correct, complete header for a custom screen.
17
- */
18
- export interface CurrentScreen {
19
- /** The screen's code in the schema (e.g. `events_compare`). */
20
- code: string;
21
- /** Its full declaration, or undefined if the schema has not loaded yet. */
22
- screen: Screen | undefined;
23
- }
24
- export declare function CurrentScreenProvider({ code, children, }: {
25
- code: string;
26
- children: ReactNode;
27
- }): import("react").JSX.Element;
28
- /**
29
- * The screen this component is rendering inside, or undefined outside a routed screen.
30
- *
31
- * Use it to read anything the schema already declares - the localized name, the
32
- * description, the entity, the route - instead of restating it in the component.
33
- */
34
- export declare function useCurrentScreen(): CurrentScreen | undefined;
@@ -1,79 +0,0 @@
1
- import { type QueryKey } from "@tanstack/react-query";
2
- import type { Refs, V2Meta } from "../types/api.d.ts";
3
- import type { FilterNode } from "../lib/filters.d.ts";
4
- /**
5
- * Query-key root for the cursor (infinite) entity list. Distinct from the
6
- * offset list's `"entity-data"` so the SSE handler can RESET it (drop pages,
7
- * refetch window 1) instead of invalidating it - invalidating an infinite query
8
- * refetches every accumulated page with its now-stale cursor and corrupts the
9
- * list. See useSSE.ts.
10
- */
11
- export declare const CURSOR_ENTITY_DATA_KEY = "entity-data-cursor";
12
- /**
13
- * The stable JSON segment of the cursor list's query key (the view-defining
14
- * params, order-independent). Extracted so both the hook and the key builder
15
- * compute it identically.
16
- */
17
- export declare function cursorEntityStableKey(params: CursorEntityDataParams): string;
18
- /**
19
- * The React Query key for the cursor (infinite) entity list. Single source of
20
- * truth for both `useCursorEntityData` and a screen registering its PRIMARY
21
- * cursor read with its retained page (`useRegisterRetainedQuery`).
22
- */
23
- export declare function cursorEntityDataQueryKey(entity: string | undefined, params: CursorEntityDataParams): QueryKey;
24
- export interface CursorEntityDataParams {
25
- sort?: string;
26
- filters?: FilterNode[];
27
- search?: string;
28
- select?: string[];
29
- expand?: string[];
30
- includeDeleted?: boolean;
31
- screen?: string;
32
- preview?: boolean;
33
- limit: number;
34
- }
35
- /**
36
- * useCursorEntityData drives the cursor-native admin list for an archive entity
37
- * whose `list_pagination` is `cursor` (Postgres-hot + ClickHouse-cold). It
38
- * accumulates windows with `useInfiniteQuery` over `EntityClient.list` (so the
39
- * stale-cursor `reset` signal is available), requests the estimated count on
40
- * the FIRST window only, and resets to window 1 when a stale cursor is hit
41
- * mid-scroll. Realtime resets are driven centrally by the SSE handler via
42
- * resetQueries on CURSOR_ENTITY_DATA_KEY.
43
- *
44
- * `enabled` gates the query so a NON-cursor entity (offset mode) pays nothing -
45
- * the page calls both this and useEntityData and enables exactly one.
46
- */
47
- export declare function useCursorEntityData(entity: string | undefined, params: CursorEntityDataParams, enabled: boolean): {
48
- rows: (Record<string, unknown> & import("../api/entities.d.ts").RowHelpers)[];
49
- refs: Refs | undefined;
50
- total: number | undefined;
51
- countMode: string | undefined;
52
- countUnknown: boolean;
53
- hasMore: boolean;
54
- fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<{
55
- data: (Record<string, unknown> & import("../api/entities.d.ts").RowHelpers)[];
56
- meta: V2Meta;
57
- $refs: Refs;
58
- reset: boolean;
59
- }, unknown>, Error>>;
60
- isFetchingNextPage: boolean;
61
- isLoading: boolean;
62
- isFetching: boolean;
63
- isError: boolean;
64
- error: Error | null;
65
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<{
66
- data: (Record<string, unknown> & import("../api/entities.d.ts").RowHelpers)[];
67
- meta: V2Meta;
68
- $refs: Refs;
69
- reset: boolean;
70
- }, unknown>, Error>>;
71
- };
72
- /**
73
- * CursorEntityDataResult is the public return contract of useCursorEntityData -
74
- * the digested infinite-list shape (accumulated `rows`, `hasMore` +
75
- * `fetchNextPage` for scroll, the first-window `total`/`countUnknown`, and the
76
- * react-query status flags). Named (not inferred) so SDK consumers have a stable
77
- * type to annotate against. Derived from the hook so it never drifts.
78
- */
79
- export type CursorEntityDataResult = ReturnType<typeof useCursorEntityData>;
@@ -1 +0,0 @@
1
- export declare function useDebounce<T>(value: T, delay: number): T;
@@ -1,2 +0,0 @@
1
- import type { Entity } from "../types/schema.d.ts";
2
- export declare function useEntity(entityCode: string | undefined): Entity | undefined;
@@ -1,41 +0,0 @@
1
- import { type QueryKey } from "@tanstack/react-query";
2
- import type { ListParams, ListResponse } from "../types/api.d.ts";
3
- /**
4
- * The React Query key for an entity list-window read. The single source of
5
- * truth for both `useEntityData` and a screen registering its PRIMARY read with
6
- * its retained page (`useRegisterRetainedQuery`), so the registered key matches
7
- * the live query exactly. See hooks/usePageStateRuntime.ts.
8
- */
9
- export declare function entityDataQueryKey(entity: string | undefined, params: ListParams): QueryKey;
10
- /**
11
- * useEntityData fetches one page-window of entity rows.
12
- *
13
- * Decoupled-count contract:
14
- * this hook issues the WINDOW request only - `count: "window"`, so the
15
- * server returns the page of rows and never blocks on a COUNT(*). The total
16
- * is fetched separately by `useEntityCount`; the table renders rows the
17
- * moment this query resolves, independent of count latency.
18
- */
19
- export declare function useEntityData(entity: string | undefined, params: ListParams, enabled?: boolean): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
20
- /**
21
- * The React Query key for an entity's count read, built from the same list
22
- * params its window takes, so a list's window and count are named from one
23
- * place. The page-window knobs are stripped: the count describes the whole
24
- * filtered set, and must not refetch when only the page or sort moves.
25
- */
26
- export declare function entityCountQueryKey(entity: string | undefined, params: ListParams): QueryKey;
27
- /**
28
- * useEntityCount fetches the total row count for a list view in a SEPARATE
29
- * request from the window (`count: "only"` - the server skips the data
30
- * query entirely and returns just `meta.total` + `meta.count_mode`).
31
- *
32
- * The count is page-independent: `page` and `sort` are stripped from the
33
- * params so a page change or a re-sort does not refetch the count - only a
34
- * filter / search / screen / include_deleted change invalidates it.
35
- *
36
- * The server picks exact vs estimated per the entity's declared `count`
37
- * strategy; the resolved `meta.count_mode` tells the caller which precision
38
- * to render. A count failure does NOT break the table: callers treat a
39
- * failed/absent count as "unknown" and fall back to the loaded row count.
40
- */
41
- export declare function useEntityCount(entity: string | undefined, params: ListParams, enabled?: boolean): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
@@ -1,14 +0,0 @@
1
- import { type FilterNode } from "../lib/filters.d.ts";
2
- interface FiltersInput {
3
- defaults?: FilterNode[];
4
- }
5
- /** `filters=[]` and an absent parameter are different states: the first says
6
- * the caller removed every condition, the second says `defaults` apply. */
7
- export declare function useFilters({ defaults }?: FiltersInput): {
8
- filters: FilterNode[];
9
- filterError: string | null;
10
- activeCount: number;
11
- setFilters: (newFilters: FilterNode[]) => void;
12
- clearFilters: () => void;
13
- };
14
- export {};
@@ -1,23 +0,0 @@
1
- /**
2
- * useImpersonation centralizes the three lifecycle calls (start, stop,
3
- * revoke) and re-hydrates auth state on success so the topbar / banner /
4
- * viewport frame react in lockstep.
5
- *
6
- * isImpersonating is derived from auth.me's impersonation field which the
7
- * server populates only when the request was issued under an active
8
- * impersonation session. Direct human action and agent flows (without an
9
- * impersonation channel) leave it null.
10
- */
11
- export declare function useImpersonation(): {
12
- info: import("../types/api").ImpersonationInfo | null;
13
- isImpersonating: boolean;
14
- start: import("@tanstack/react-query").UseMutateFunction<import("../api/auth.d.ts").ImpersonationStartResponse, Error, {
15
- targetUserId: string;
16
- reason: string;
17
- durationMinutes?: number;
18
- }, unknown>;
19
- stop: import("@tanstack/react-query").UseMutateFunction<import("..").LoginResponse, Error, void, unknown>;
20
- revoke: import("@tanstack/react-query").UseMutateFunction<void, Error, string, unknown>;
21
- isStarting: boolean;
22
- isStopping: boolean;
23
- };
@@ -1,4 +0,0 @@
1
- import type { QueryClient } from "@tanstack/react-query";
2
- export declare function useLanguage(): string;
3
- export declare function useDeploymentLanguage(): string;
4
- export declare function reresolveLanguage(queryClient: QueryClient): Promise<void>;
@@ -1,9 +0,0 @@
1
- import type { UseQueryResult } from "@tanstack/react-query";
2
- import { type DataResponse, type EnrichedRow } from "../types/api.d.ts";
3
- import type { PkValues } from "../types/schema.d.ts";
4
- export type LiveObjectResult<T extends Record<string, unknown> = EnrichedRow> = UseQueryResult<DataResponse<T>, Error> & {
5
- object: T | undefined;
6
- isLive: boolean;
7
- isNotFound: boolean;
8
- };
9
- export declare function useLiveObject<T extends Record<string, unknown> = EnrichedRow>(entity: string | undefined, pkValues: PkValues | string | undefined): LiveObjectResult<T>;
@@ -1,29 +0,0 @@
1
- import type { PointerEvent as ReactPointerEvent } from "react";
2
- export interface UseLongPress {
3
- /** Spread onto the row surface. */
4
- handlers: {
5
- onPointerDown: (event: ReactPointerEvent) => void;
6
- onPointerMove: (event: ReactPointerEvent) => void;
7
- onPointerUp: () => void;
8
- onPointerCancel: () => void;
9
- onPointerLeave: () => void;
10
- };
11
- /**
12
- * True when the click now arriving is the tail of a long press that already
13
- * fired. Reading it clears it, so the row's own click handler calls this once
14
- * and skips navigating when it answers true.
15
- */
16
- consumePressFired: () => boolean;
17
- }
18
- /**
19
- * Binds the long-press gesture to a row surface and calls `onLongPress` with the
20
- * press point when it completes.
21
- *
22
- * Mouse presses are ignored: a fine pointer has right-click, which is the same
23
- * Row Menu through the same composition path, and holding a mouse button down
24
- * over a row is not a gesture anyone means.
25
- */
26
- export declare function useLongPress(onLongPress: (point: {
27
- x: number;
28
- y: number;
29
- }) => void): UseLongPress;
@@ -1,13 +0,0 @@
1
- import { type PkValues } from "../types/schema.d.ts";
2
- import type { ActionExecuteRequest } from "../api/data.d.ts";
3
- export declare function useCreateObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<import("..").DataResponse<Record<string, unknown>>, Error, Record<string, unknown>, unknown>;
4
- export declare function useUpdateObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<import("..").DataResponse<Record<string, unknown>>, Error, {
5
- pkValues: PkValues | string;
6
- data: Record<string, unknown>;
7
- }, unknown>;
8
- export declare function useDeleteObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<void, Error, string | PkValues, unknown>;
9
- export declare function useRestoreEntity(entityCode: string): import("@tanstack/react-query").UseMutationResult<void, Error, string | PkValues, unknown>;
10
- export declare function useExecuteAction(entityCode?: string): import("@tanstack/react-query").UseMutationResult<import("../api/data.d.ts").ActionExecuteResponse, Error, {
11
- actionCode: string;
12
- body: ActionExecuteRequest;
13
- }, unknown>;
@@ -1,11 +0,0 @@
1
- import { type QueryKey } from "@tanstack/react-query";
2
- import { type GetEntityOptions } from "../api/data.d.ts";
3
- import type { PkValues } from "../types/schema.d.ts";
4
- /**
5
- * The React Query key for a single-record read. Single source of truth for both
6
- * `useObject` and a detail screen registering its PRIMARY read with its
7
- * retained page (`useRegisterRetainedQuery`). For a string PK uses it directly;
8
- * for a composite PK sorts the parts so key order does not fork the cache.
9
- */
10
- export declare function objectQueryKey(entity: string | undefined, pkValues: PkValues | string | undefined, options?: GetEntityOptions): QueryKey;
11
- export declare function useObject(entity: string | undefined, pkValues: PkValues | string | undefined, options?: GetEntityOptions): import("@tanstack/react-query").UseQueryResult<import("..").DataResponse<Record<string, unknown>>, Error>;
@@ -1,5 +0,0 @@
1
- export declare function useSetStatus(entity: string | undefined, id: string | undefined): import("@tanstack/react-query").UseMutationResult<import("..").StatusInfo, Error, {
2
- groupCode: string;
3
- statusCode: string;
4
- note?: string;
5
- }, unknown>;
@@ -1,32 +0,0 @@
1
- /** A `useState`-style setter accepting a value or an updater. */
2
- export type PageStateSetter<T> = (next: T | ((prev: T) => T)) => void;
3
- /**
4
- * How coarsely a value is keyed.
5
- * - `"url"` (default): keyed by the full canonical URL, so it FORKS when
6
- * filters/sort/sub-view change (per-view memory - e.g. scroll position,
7
- * expanded rows). A filter change is a new view with its own value.
8
- * - `"path"`: keyed by the screen pathname only, so it PERSISTS across
9
- * in-screen query changes (e.g. row selection, which survives a filter or
10
- * column change and is pruned to the visible rows, not reset).
11
- */
12
- export type PageStateScope = "url" | "path";
13
- export interface PageStateOptions {
14
- scope?: PageStateScope;
15
- }
16
- /**
17
- * Bind a deep value to the current screen's retained page.
18
- *
19
- * Returns `[value, setValue]`:
20
- * - `value` is the stored value for the live canonical URL, or `defaultValue`
21
- * when absent / reaped / retention disabled. Re-renders only when THIS
22
- * pageKey's value for THIS key changes.
23
- * - `setValue` writes through to the store under the LIVE canonical URL
24
- * (tracked via a per-render ref, so the stable setter always targets the
25
- * currently-mounted view - never a key captured at mount, never the
26
- * destination's after a navigation). Accepts a value or an updater.
27
- *
28
- * Writes are immediate (write-through), so there is no deferred unmount flush to
29
- * lose: a value set while mounted at a URL is already stored under that URL when
30
- * the screen unmounts. The retained page is created lazily on first write.
31
- */
32
- export declare function usePageState<T>(key: string, defaultValue: T, opts?: PageStateOptions): [T, PageStateSetter<T>];
@@ -1,27 +0,0 @@
1
- import { type QueryClient, type QueryKey } from "@tanstack/react-query";
2
- /**
3
- * Apply `gcTime` to every retained-read query-key prefix. Exported so app.tsx
4
- * can seed the DEFAULT floor on the QueryClient at module load - BEFORE the
5
- * first screen renders and creates its reads - so even that first screen's data
6
- * is not GC'd at React Query's 5-min default within the retention window. The
7
- * runtime then overrides with the resolved per-tenant value for later reads.
8
- */
9
- export declare function applyRetainedReadGcTime(client: QueryClient, gcTime: number): void;
10
- /**
11
- * Mount once (Layout) to drive the retained-page lifecycle from the resolved
12
- * `ui_page_state_ttl_ms`. Idempotent and inert beyond its three effects.
13
- */
14
- export declare function usePageStateRuntime(): void;
15
- /**
16
- * Register a screen's PRIMARY heavy read (its list or detail query key) with the
17
- * current retained page, so a kill/sweep `removeQueries` releases the cached
18
- * data alongside the deep state. Call from the standard pages (and custom
19
- * screens) with the key from the matching key-builder (`entityDataQueryKey` /
20
- * `cursorEntityDataQueryKey` / `objectQueryKey`).
21
- *
22
- * Pass ONLY primary heavy reads - never a shared ref/lookup query, or a
23
- * sibling screen that shares its key would lose it on this page's eviction.
24
- * `enabled` (default true) lets the cursor/offset pages register exactly the
25
- * read they actually use.
26
- */
27
- export declare function useRegisterRetainedQuery(queryKey: QueryKey | undefined, enabled?: boolean): void;
@@ -1,11 +0,0 @@
1
- /** The platform parameter governing retained-page retention. Declared in
2
- * modules/declarion-core/schema/core_parameters.yaml (int, category `ui`,
3
- * `[tenant]`, env `DECLARION_UI_PAGE_STATE_TTL_MS`). */
4
- export declare const PAGE_STATE_TTL_PARAM = "ui_page_state_ttl_ms";
5
- /**
6
- * Resolve the retention window in milliseconds. Returns the per-tenant value
7
- * once the parameter loads, the YAML-mirrored default before then, and clamps a
8
- * malformed value to the default (never NaN/negative). `0` is honored as
9
- * "retention disabled".
10
- */
11
- export declare function usePageStateTtl(): number;
@@ -1,49 +0,0 @@
1
- import type { ParamLookup, ParamOverride, ResolvedParam } from "../types/api.d.ts";
2
- /** `$params` subresource key on a carrier's PK-detail / write payload. */
3
- export declare const PARAMS_KEY = "$params";
4
- /**
5
- * `$params` is a FULL-SET write: a loaded detail without the key is an error
6
- * (`missingParams`), never an empty set, which would delete every override.
7
- */
8
- export declare function useCarrierParamOverrides({ carrierEntityCode, rowId, enabled, onWritten, }: {
9
- /** Carrier entity code (the write target, e.g. "profile", "my_tenant"). */
10
- carrierEntityCode: string;
11
- /** Carrier row id ($params writes ride object_ids: [rowId]). */
12
- rowId: string;
13
- enabled?: boolean;
14
- /** Called after a successful write (e.g. close the edit dialog). */
15
- onWritten?: () => void;
16
- }): {
17
- overrides: ParamOverride[];
18
- overrideByCode: Map<string, ParamOverride>;
19
- /** True when the loaded detail carries no `$params` key - a hard error. */
20
- missingParams: boolean;
21
- isLoading: boolean;
22
- /** Last write failure, cleared on the next write attempt or clearError. */
23
- error: string | null;
24
- /** Clears the write error (e.g. when opening or cancelling the edit dialog). */
25
- clearError: () => void;
26
- save: (param: ResolvedParam, value: unknown) => Promise<void>;
27
- reset: (param: ResolvedParam) => Promise<void>;
28
- };
29
- /** `resolution: "tenant"` reads the tenant baseline, without role and user overrides. */
30
- export declare function useAllParams(resolution?: "tenant"): import("@tanstack/react-query").UseQueryResult<ResolvedParam[], Error>;
31
- export declare function usePublicParams(): import("@tanstack/react-query").UseQueryResult<import("../types/api.d.ts").PublicParamsResponse, Error>;
32
- export declare function useResolvedParam(code: string, options?: {
33
- enabled?: boolean;
34
- }): import("@tanstack/react-query").UseQueryResult<ParamLookup, Error>;
35
- export declare function useEffectiveParam<T = unknown>(code: string): {
36
- value: T | undefined;
37
- found: boolean;
38
- source: ParamLookup["source"] | "public" | undefined;
39
- loading: boolean;
40
- error: Error | null;
41
- };
42
- /** A failed read returns the default AND `error`; a gate on anything sensitive checks `error`. */
43
- export declare function useParam<T>(code: string, defaultValue: T): {
44
- value: T;
45
- found: boolean;
46
- source: ParamLookup["source"] | undefined;
47
- loading: boolean;
48
- error: Error | null;
49
- };