@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,38 +0,0 @@
1
- import type { ColumnSizingState } from "@tanstack/react-table";
2
- import type { Screen } from "../../../types/schema.d.ts";
3
- interface ListColumnLayoutInput {
4
- screenCode: string;
5
- screen: Screen | undefined;
6
- searchParams: URLSearchParams;
7
- setSearchParams: (next: URLSearchParams) => void;
8
- defaultColumns: string[];
9
- }
10
- /** Which columns a list shows, in what order, and how wide. */
11
- export interface ListColumnLayout {
12
- /** The ordered visible set, from `?columns` or the active view / screen. */
13
- visible: string[];
14
- /** Live widths during a drag; the device store is the durable backing. */
15
- sizing: ColumnSizingState;
16
- setSizing: (updater: ColumnSizingState | ((prev: ColumnSizingState) => ColumnSizingState)) => void;
17
- /** The one path for toggle, reorder and show-all. Choosing exactly the
18
- * default set writes no parameter, so it IS returning to the view. */
19
- apply: (next: string[]) => void;
20
- /** Back to the view's columns, else the screen's. Widths untouched. */
21
- clear: () => void;
22
- /** Drag-free reorder: swap one column a slot up or down. */
23
- move: (col: string, dir: "up" | "down") => void;
24
- /** Commit a finished resize to the device store, and say once that widths are
25
- * personal. */
26
- commitResize: (sizing: ColumnSizingState) => void;
27
- resetWidths: () => void;
28
- }
29
- /**
30
- * Which columns a list shows, in what order, and how wide.
31
- *
32
- * Order, visibility, sort and filters ride the URL, so they are shareable and
33
- * can be saved into a view. Widths are per DEVICE (localStorage), never sent to
34
- * the server and never part of a saved view - which is why the two live in
35
- * different places and why a resize says so the first time.
36
- */
37
- export declare function useListColumnLayout({ screenCode, screen, searchParams, setSearchParams, defaultColumns, }: ListColumnLayoutInput): ListColumnLayout;
38
- export {};
@@ -1,67 +0,0 @@
1
- import type { FilterNode } from "../../../lib/filters.d.ts";
2
- import type { RowData, ListResponse } from "../../../types/api.d.ts";
3
- import type { Entity, Screen } from "../../../types/schema.d.ts";
4
- interface ListQueryInput {
5
- entity: Entity | undefined;
6
- entityCode: string | undefined;
7
- screen: Screen | undefined;
8
- screenCode: string;
9
- page: number;
10
- perPage: number;
11
- /** The sort grammar the request carries, already stripped of the segments
12
- * the backend's strict parser would reject. Undefined when the URL carries
13
- * no sort and the screen declares no default. */
14
- sortForRequest: string | undefined;
15
- debouncedSearch: string;
16
- filters: FilterNode[];
17
- /** The effective query depends on a view not known yet: nothing is sent,
18
- * and nothing is reported as loaded. */
19
- isHeld: boolean;
20
- retryHeld: () => void;
21
- includeDeleted: boolean;
22
- expand: string[] | undefined;
23
- select: string[] | undefined;
24
- /** Whether to run the separate count query. A paginated list needs the total
25
- * to size its pager; a screen that loads one window and shows what it loaded
26
- * would pay a request per load for a number nothing renders. */
27
- runCountQuery: boolean;
28
- urlKey: string;
29
- }
30
- /** One view over the rows a list screen shows, whichever source produced them. */
31
- export interface ListQueryResult {
32
- rows: RowData[];
33
- meta: ListResponse<RowData>["meta"] | undefined;
34
- /** Join-expansion data for the loaded window, keyed by entity then id. */
35
- refs: ListResponse<RowData>["$refs"];
36
- isLoading: boolean;
37
- isFetching: boolean;
38
- isError: boolean;
39
- error: unknown;
40
- /** True while a load has been running long enough to be worth saying so. */
41
- isLoadingStale: boolean;
42
- /** Refetches this list's window and count, resolving when both have settled. */
43
- retry: () => Promise<void>;
44
- /** The total, and how it was produced. Undefined while the count is in flight
45
- * or after it failed - a caller degrades to the loaded row count. */
46
- countTotal: number | undefined;
47
- countStrategy: "exact" | "estimated" | undefined;
48
- countLoading: boolean;
49
- countError: boolean;
50
- totalPages: number | undefined;
51
- hasMorePages: boolean;
52
- /** Cursor mode: an archive entity on a ClickHouse deployment, whose
53
- * cross-store hot+cold read cannot offset-paginate. */
54
- isCursor: boolean;
55
- fetchNextPage: () => void;
56
- isFetchingNextPage: boolean;
57
- }
58
- /**
59
- * The rows a list screen shows: the window query, the separate count query, and
60
- * one view over whichever of the two sources is live.
61
- *
62
- * The window and the count are SEPARATE requests on purpose - the table renders
63
- * the moment the window resolves and never blocks on a count that may take
64
- * seconds on a firehose table.
65
- */
66
- export declare function useListQuery(input: ListQueryInput): ListQueryResult;
67
- export {};
@@ -1,61 +0,0 @@
1
- import type { MouseEvent as ReactMouseEvent } from "react";
2
- import type { QuickPeekFieldSpec } from "../../list/QuickPeek.d.ts";
3
- import { useLongPress } from "../../../hooks/useLongPress.d.ts";
4
- import type { RowData } from "../../../types/api.d.ts";
5
- import { type Action, type Entity, type Screen } from "../../../types/schema.d.ts";
6
- interface RowInteractionInput {
7
- entity: Entity | undefined;
8
- screen: Screen | undefined;
9
- screens: Record<string, Screen> | undefined;
10
- entities: Record<string, Entity> | undefined;
11
- searchParams: URLSearchParams;
12
- tabNavigate: (href: string, meta: {
13
- title?: string;
14
- icon?: string;
15
- }) => void;
16
- /** Commits interaction-owned URL state before navigation, so a click that
17
- * lands before the passive tab effect runs does not lose it. */
18
- commitScreenTabSearch: (search: string) => void;
19
- /** A phone never peeks: the drawer would cover the list it came from. */
20
- isPhone: boolean;
21
- canUpdate: boolean;
22
- }
23
- /** What a click, a long press or a right-click on a row does. */
24
- export interface RowInteraction {
25
- /** Open in the right drawer instead of navigating, when the screen asks for
26
- * it and the viewport has room. */
27
- peekAllowed: boolean;
28
- peekRow: RowData | null;
29
- setPeekRow: (row: RowData | null) => void;
30
- peekFields: QuickPeekFieldSpec[];
31
- peekActions: Record<string, Action>;
32
- peekExecute: (code: string, action: Action, params: Record<string, unknown>) => Promise<unknown>;
33
- /** Where the kebab, the right-click and the long press all land. */
34
- contextMenu: {
35
- x: number;
36
- y: number;
37
- row: RowData;
38
- } | null;
39
- setContextMenu: (menu: {
40
- x: number;
41
- y: number;
42
- row: RowData;
43
- } | null) => void;
44
- /** The row a press started on. A ref, not state: it changes on every touch
45
- * and must not re-render a virtualized list mid-gesture. */
46
- pressedRow: React.MutableRefObject<RowData | null>;
47
- longPress: ReturnType<typeof useLongPress>;
48
- onRowClick: (e: ReactMouseEvent, row: RowData) => void;
49
- navigateToDetail: (row: RowData, options?: {
50
- draft?: RowData | null;
51
- }) => void;
52
- }
53
- /**
54
- * Everything a row responds to.
55
- *
56
- * Peek and drill share one gesture, so the peek is DEFERRED by the double-click
57
- * window: a second click on the same row cancels it and drills into detail
58
- * instead. An immediately-opened drawer eats that second click.
59
- */
60
- export declare function useListRowInteraction({ entity, screen, screens, entities, searchParams, tabNavigate, commitScreenTabSearch, isPhone, canUpdate, }: RowInteractionInput): RowInteraction;
61
- export {};
@@ -1,31 +0,0 @@
1
- import type { RowSelectionState } from "@tanstack/react-table";
2
- import type { RowData } from "../../../types/api.d.ts";
3
- import { type Entity, type PkValues } from "../../../types/schema.d.ts";
4
- /** The id a selection is keyed by: the entity's primary key values in the
5
- * platform's own detail-id encoding, so a composite key selects as stably as a
6
- * single one and the key round-trips to a detail route. */
7
- export declare function rowSelectionKey(entity: Entity, row: RowData): string;
8
- export declare function selectedRowPkValues(entity: Entity | undefined, rows: RowData[], selectedKeys: string[]): PkValues[];
9
- /** Which rows are selected, and the shapes an action needs them in. */
10
- export interface ListSelection {
11
- state: RowSelectionState;
12
- setState: (updater: RowSelectionState | ((prev: RowSelectionState) => RowSelectionState)) => void;
13
- /** The selection's row ids, which are also TanStack's row ids. */
14
- ids: string[];
15
- /** The same rows as primary key values. */
16
- pkValues: PkValues[];
17
- /** The full row objects, resolved from the loaded window. */
18
- rows: Record<string, unknown>[];
19
- /** TanStack's `getRowId`, and the key everything else here agrees on. */
20
- keyOf: (row: Record<string, unknown>) => string;
21
- }
22
- /**
23
- * Which rows are selected.
24
- *
25
- * The state is DEEP retained-page state rather than URL state, and SCREEN-scoped
26
- * (`scope: "path"`): it survives a tab switch, Back, and an in-screen filter
27
- * change. Rows that a change filtered away are PRUNED rather than the selection
28
- * being blanket-cleared, so a filter that still contains the selected rows keeps
29
- * them.
30
- */
31
- export declare function useListSelection(entity: Entity | undefined, rows: RowData[], isFetching: boolean): ListSelection;
@@ -1,46 +0,0 @@
1
- import type { SortingState } from "@tanstack/react-table";
2
- import { type SortCol, type SortNulls } from "../../../lib/sort.d.ts";
3
- interface ListSortInput {
4
- searchParams: URLSearchParams;
5
- setSearchParams: (next: URLSearchParams) => void;
6
- defaultSort: string | undefined;
7
- /** Commits the URL to the tab store in the same interaction, before React
8
- * Router schedules the navigation. */
9
- commitScreenTabSearch: (search: string) => void;
10
- }
11
- /** How a list is ordered, and every gesture that changes it. */
12
- export interface ListSortState {
13
- value: string;
14
- /** The parser-filtered columns, which the header and the saved-view path read. */
15
- cols: SortCol[];
16
- /** Per-column NULLs placement, which TanStack's `{id, desc}` cannot model. */
17
- nullsByField: Map<string, SortNulls>;
18
- /** The raw URL grammar minus the documented `$property.*` deferral, so
19
- * malformed input still reaches the backend's strict-parse 400 rather than
20
- * being silently rewritten. */
21
- forRequest: string | undefined;
22
- /** The same order in TanStack's own shape. */
23
- tableSorting: SortingState;
24
- /** The one writer of the URL `sort` param. An order equal to the default
25
- * writes nothing; a cleared one writes `sort=`, which is no order. */
26
- write: (cols: SortCol[]) => void;
27
- /** Replace the whole sort with one column, as a plain header click does. */
28
- applyColumn: (field: string, dir: "asc" | "desc", nulls: SortNulls | undefined) => void;
29
- /** Shift-click: toggle this column in or out of the multi-sort tail. */
30
- shiftClickColumn: (field: string) => void;
31
- /** Append a column to the tail with a chosen direction and NULLs placement. */
32
- appendColumn: (field: string, dir: "asc" | "desc", nulls: SortNulls | undefined) => void;
33
- /** Splice one column out, preserving the rest of the multi-sort. */
34
- clearColumn: (field: string) => void;
35
- clearAll: () => void;
36
- }
37
- /**
38
- * The list's ordering: parsed from the URL, written back to it through one
39
- * writer, and offered to the header in the shapes it needs.
40
- *
41
- * Every gesture goes through `write`, which commits the tab store before React
42
- * Router schedules the navigation - that is what closes the mount-effect race
43
- * for the header, the menu and the mobile sort sheet alike.
44
- */
45
- export declare function useListSort({ searchParams, setSearchParams, defaultSort, commitScreenTabSearch, }: ListSortInput): ListSortState;
46
- export {};
@@ -1,57 +0,0 @@
1
- import { type FilterNode } from "../../../lib/filters.d.ts";
2
- import { type Entity, type Screen } from "../../../types/schema.d.ts";
3
- import type { ViewItem } from "../../list/ViewSwitcher.d.ts";
4
- import type { TextFn } from "../../../lib/language.d.ts";
5
- interface ListViewsInput {
6
- screenCode: string;
7
- screen: Screen | undefined;
8
- entity: Entity | undefined;
9
- searchParams: URLSearchParams;
10
- setSearchParams: (next: URLSearchParams, options?: {
11
- replace?: boolean;
12
- }) => void;
13
- userId: string | undefined;
14
- tenantId: string | undefined;
15
- /** The screen's views and which one is active, resolved above the hooks that
16
- * derive the layout from it. */
17
- all: ViewItem[];
18
- activeId: string | null;
19
- active: ViewItem | undefined;
20
- clearedKey: string;
21
- /** The EFFECTIVE layout - the view's own values unless the URL overrides
22
- * them. Compared against the saved one for the unsaved-change marker, and
23
- * written into a save. */
24
- filters: FilterNode[];
25
- visibleColumns: string[];
26
- sort: string;
27
- }
28
- /** Which saved view a list screen is showing, and every way that changes. */
29
- export interface ListViews {
30
- all: ViewItem[];
31
- activeId: string | null;
32
- active: ViewItem | undefined;
33
- clearedKey: string;
34
- /** True when the live layout differs from what the active view saved. */
35
- isDirty: boolean;
36
- /** Open a view, or clear to no view. Also the reset gesture: open the same
37
- * view again. */
38
- apply: (view: ViewItem) => void;
39
- /** Drop every override and go back to what the active view holds. */
40
- discard: () => void;
41
- saveAsNew: (name: string) => Promise<void>;
42
- overwriteActive: () => Promise<void>;
43
- deleteView: (view: ViewItem) => Promise<void>;
44
- isSaving: boolean;
45
- isDeleting: boolean;
46
- }
47
- /**
48
- * The saved views a list screen offers.
49
- *
50
- * A view owns the LOGICAL layout - filters, columns, sort - and nothing else.
51
- * Column widths are per device and never travel in one.
52
- */
53
- export declare function useListViews({ screenCode, screen, entity, searchParams, setSearchParams, userId, tenantId, all, activeId, active, clearedKey, filters, visibleColumns, sort, }: ListViewsInput): ListViews;
54
- /** The name a save dialog offers to overwrite, or null when the active view is
55
- * not the caller's to overwrite. */
56
- export declare function overwritableViewName(t: TextFn, active: ViewItem | undefined): string | null;
57
- export {};
@@ -1,46 +0,0 @@
1
- import { type ResolvedActionLayoutNode } from "../../../lib/actions.d.ts";
2
- import type { ActionRunHandler, WidgetContext } from "../../actions/ResponsiveActionBar.d.ts";
3
- import type { Action, Entity, Screen } from "../../../types/schema.d.ts";
4
- export interface UseRowMenuArgs {
5
- row: Record<string, unknown>;
6
- rowId: string;
7
- /** detail_screen for row navigation; also carries the server-resolved
8
- * action_layout wire tree (read via cast, per RowActionsCell's note). */
9
- screen: {
10
- detail_screen?: string;
11
- };
12
- /** Full Screen for the row-scoped WidgetContext (href/widget dispatch). */
13
- fullScreen: Screen;
14
- entity: Entity;
15
- entityCode?: string;
16
- /** list_row-slot actions resolved by getScreenActions (includes the injected
17
- * __peek/__open/__edit/__delete defaults). */
18
- rowActions: {
19
- code: string;
20
- action: Action;
21
- }[];
22
- tabNavigate: (href: string, opts?: {
23
- title?: string;
24
- icon?: string;
25
- search?: string;
26
- }) => void;
27
- /** Peek availability for THIS surface (screen quick_peek enabled + not phone).
28
- * Drives __peek suppression and the openPeek client verb. */
29
- peekAllowed: boolean;
30
- /** Whether the entity has a detail route. Drives __open suppression
31
- * (composite-PK entities have no detail page). */
32
- hasDetailTarget: boolean;
33
- /** Opens the Quick peek drawer for the given row. */
34
- onPeek: (row: Record<string, unknown>) => void;
35
- }
36
- export interface RowMenu {
37
- /** Row-stated + nav-suppressed layout, ready for RowMenuContent. */
38
- layout: ResolvedActionLayoutNode[];
39
- entityActions: Record<string, Action>;
40
- runRowAction: ActionRunHandler;
41
- widgetContext: WidgetContext;
42
- /** True when a __peek leaf survives resolution + suppression - the single
43
- * source of truth for whether the hover eye button renders. */
44
- hasPeek: boolean;
45
- }
46
- export declare function useRowMenu({ row, rowId, screen, fullScreen, entity, entityCode, rowActions, tabNavigate, peekAllowed, hasDetailTarget, onPeek, }: UseRowMenuArgs): RowMenu;
@@ -1 +0,0 @@
1
- export declare function Preferences(): import("react").JSX.Element;
@@ -1,7 +0,0 @@
1
- export declare function Profile(): import("react").JSX.Element;
2
- export declare function ProfileParamsBlock({ userId }: {
3
- userId: string;
4
- }): import("react").JSX.Element;
5
- export declare function ProfileLanguageRow({ userId }: {
6
- userId: string;
7
- }): import("react").JSX.Element;
@@ -1,2 +0,0 @@
1
- import type { CustomScreenProps } from "../../../stores/screen-registry.d.ts";
2
- export declare function TenantParamsPage(_props: CustomScreenProps): import("react").JSX.Element;
@@ -1,13 +0,0 @@
1
- import { type ReactNode } from "react";
2
- /** Renders the parameters whose `scopes:` include the carrier's scope, and nothing when none do. */
3
- export interface ParamsBlockProps {
4
- /** Carrier entity code (the write target, e.g. "profile", "my_tenant"). */
5
- carrierEntityCode: string;
6
- /** Carrier scope for attachment = entity.params_scope ?? entity.code. */
7
- carrierScope: string;
8
- /** Carrier row id ($params writes ride object_ids: [rowId]). */
9
- rowId: string;
10
- title?: string;
11
- icon?: ReactNode;
12
- }
13
- export declare function ParamsBlock({ carrierEntityCode, carrierScope, rowId, title, icon }: ParamsBlockProps): import("react").JSX.Element | null;
@@ -1,20 +0,0 @@
1
- import type { ResolvedParam } from "../../types/api.d.ts";
2
- import { type TextFn } from "../../lib/language.d.ts";
3
- export declare function paramSourceName(t: TextFn, source: ResolvedParam["source"]): string;
4
- export declare function ErrorLine({ text }: {
5
- text: string;
6
- }): import("react").JSX.Element;
7
- export declare function ValuePreview({ type, value, structure }: {
8
- type: string;
9
- value: unknown;
10
- structure?: string;
11
- }): import("react").JSX.Element;
12
- export declare function EditParamDialog({ param, current, error, onCancel, onSave }: {
13
- param: ResolvedParam;
14
- current: unknown;
15
- error: string | null;
16
- onCancel: () => void;
17
- onSave: (value: unknown) => Promise<void> | void;
18
- }): import("react").JSX.Element;
19
- /** No `scopes:` admits tenant for a non-server category; a server category needs `tenant` listed. */
20
- export declare function paramTenantEditable(param: ResolvedParam): boolean;
@@ -1,6 +0,0 @@
1
- export type AvatarProps = {
2
- name: string;
3
- size?: number;
4
- color?: string;
5
- };
6
- export declare function Avatar({ name, size, color }: AvatarProps): import("react").JSX.Element;
@@ -1,7 +0,0 @@
1
- export type BoolToggleProps = {
2
- value?: boolean;
3
- onChange?: (v: boolean) => void;
4
- id?: string;
5
- ariaLabelledby?: string;
6
- };
7
- export declare function BoolToggle({ value, onChange, id, ariaLabelledby }: BoolToggleProps): import("react").JSX.Element;
@@ -1,8 +0,0 @@
1
- export interface BrandGlyphProps {
2
- /** Pixel edge of the rendered SVG. Defaults to 24. */
3
- size?: number;
4
- className?: string;
5
- /** ARIA label; omit for purely decorative usages. */
6
- title?: string;
7
- }
8
- export declare function BrandGlyph({ size, className, title }: BrandGlyphProps): import("react").JSX.Element;
@@ -1,12 +0,0 @@
1
- import type { ReactNode } from "react";
2
- export interface BrandLogoProps {
3
- /** URL from branding.identity.app_logo. */
4
- appLogo?: string;
5
- /** Pixel edge of the rendered image. */
6
- size: number;
7
- /** Border radius for the image frame. Defaults to 8 at size>=30 else 6. */
8
- radius?: number;
9
- /** Rendered when appLogo is missing or not a valid URL. */
10
- fallback?: ReactNode;
11
- }
12
- export declare function BrandLogo({ appLogo, size, radius, fallback }: BrandLogoProps): import("react").JSX.Element | null;
@@ -1,19 +0,0 @@
1
- import type { ButtonHTMLAttributes, ReactNode } from "react";
2
- export type BtnKind = "primary" | "ghost" | "subtle" | "default";
3
- export type BtnSize = "xs" | "sm" | "md" | "lg";
4
- export type BtnProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & {
5
- kind?: BtnKind;
6
- size?: BtnSize;
7
- icon?: ReactNode;
8
- iconRight?: ReactNode;
9
- active?: boolean;
10
- danger?: boolean;
11
- };
12
- export declare const Btn: import("react").ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & {
13
- kind?: BtnKind;
14
- size?: BtnSize;
15
- icon?: ReactNode;
16
- iconRight?: ReactNode;
17
- active?: boolean;
18
- danger?: boolean;
19
- } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,7 +0,0 @@
1
- export type CheckProps = {
2
- checked?: boolean;
3
- onChange?: (v: boolean) => void;
4
- indeterminate?: boolean;
5
- size?: number;
6
- };
7
- export declare function Check({ checked, onChange, indeterminate, size }: CheckProps): import("react").JSX.Element;
@@ -1,9 +0,0 @@
1
- import type { ReactNode } from "react";
2
- export type ChipProps = {
3
- tone?: string;
4
- icon?: ReactNode;
5
- children?: ReactNode;
6
- onRemove?: () => void;
7
- onClick?: () => void;
8
- };
9
- export declare function Chip({ icon, children, onRemove, onClick }: ChipProps): import("react").JSX.Element;
@@ -1,9 +0,0 @@
1
- import type { ClassificationTierDef } from "../../types/schema.d.ts";
2
- interface ClassifiedFieldLockedProps {
3
- tier: string;
4
- tierDef?: ClassificationTierDef;
5
- requiredPermission?: string;
6
- variant?: "value" | "input";
7
- }
8
- export declare function ClassifiedFieldLocked({ tier, tierDef, requiredPermission, variant, }: ClassifiedFieldLockedProps): import("react").JSX.Element;
9
- export {};
@@ -1,20 +0,0 @@
1
- import type { CSSProperties, ReactNode } from "react";
2
- export type DropdownProps = {
3
- open: boolean;
4
- onClose?: () => void;
5
- anchor: HTMLElement | null;
6
- /**
7
- * Cursor-point anchoring for context menus: when set (and `anchor` is null),
8
- * the menu opens at the point and gets the same viewport clamping / above-
9
- * flip as element anchoring. One positioning engine for every popover.
10
- */
11
- anchorPoint?: {
12
- x: number;
13
- y: number;
14
- };
15
- align?: "start" | "end";
16
- width?: number;
17
- style?: CSSProperties;
18
- children?: ReactNode;
19
- };
20
- export declare function Dropdown({ open, onClose, anchor, anchorPoint, children, align, width, style }: DropdownProps): import("react").ReactPortal | null;
@@ -1,111 +0,0 @@
1
- import type { ButtonHTMLAttributes, CSSProperties, InputHTMLAttributes, ReactNode } from "react";
2
- export type FieldLabelProps = {
3
- children?: ReactNode;
4
- required?: boolean;
5
- hint?: string;
6
- htmlFor?: string;
7
- id?: string;
8
- };
9
- export declare const FieldLabel: ({ children, required, hint, htmlFor, id }: FieldLabelProps) => import("react").JSX.Element;
10
- export type TextInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "prefix"> & {
11
- value?: string | null;
12
- onChange?: (v: string) => void;
13
- prefix?: ReactNode;
14
- suffix?: ReactNode;
15
- style?: CSSProperties;
16
- };
17
- export declare function TextInput({ value, onChange, placeholder, prefix, suffix, style, ...rest }: TextInputProps): import("react").JSX.Element;
18
- export type TextAreaProps = {
19
- value?: string | null;
20
- onChange?: (v: string) => void;
21
- placeholder?: string;
22
- rows?: number;
23
- fill?: boolean;
24
- id?: string;
25
- name?: string;
26
- ariaRequired?: boolean;
27
- };
28
- export declare function TextArea({ value, onChange, placeholder, rows, fill, id, name, ariaRequired, }: TextAreaProps): import("react").JSX.Element;
29
- export type SelectOption = {
30
- value: string;
31
- label: ReactNode;
32
- heading?: boolean;
33
- divider?: boolean;
34
- };
35
- export type SelectProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange"> & {
36
- value?: string;
37
- options: SelectOption[];
38
- onChange: (v: string) => void;
39
- placeholder?: string;
40
- /**
41
- * Server-search mode. When set, the typed query is reported here (instead of
42
- * filtering the options client-side) so the parent can fetch matching
43
- * options from the server; the dropdown renders the given `options` as-is.
44
- * The search input is always shown in this mode. Absent -> client-side
45
- * filtering over `options`, as before.
46
- */
47
- onSearchChange?: (query: string) => void;
48
- };
49
- export declare function Select({ value, options, onChange, placeholder, onSearchChange, ...rest }: SelectProps): import("react").JSX.Element;
50
- export type MultiSelectProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange"> & {
51
- value?: string[];
52
- options: SelectOption[];
53
- onChange: (v: string[]) => void;
54
- placeholder?: string;
55
- };
56
- export declare function MultiSelect({ value, options, onChange, placeholder, ...rest }: MultiSelectProps): import("react").JSX.Element;
57
- export type DateInputProps = {
58
- value?: string | null;
59
- onChange?: (v: string) => void;
60
- };
61
- export declare function DateInput({ value, onChange }: DateInputProps): import("react").JSX.Element;
62
- export type PasswordInputProps = {
63
- value?: string | null;
64
- onChange?: (v: string) => void;
65
- placeholder?: string;
66
- showStrength?: boolean;
67
- id?: string;
68
- name?: string;
69
- ariaRequired?: boolean;
70
- };
71
- export declare function PasswordInput({ value, onChange, placeholder, showStrength, id, name, ariaRequired, }: PasswordInputProps): import("react").JSX.Element;
72
- export type TagsInputProps = {
73
- value?: string[];
74
- onChange: (v: string[]) => void;
75
- };
76
- export declare function TagsInput({ value, onChange }: TagsInputProps): import("react").JSX.Element;
77
- export type JsonFieldProps = {
78
- value?: string;
79
- onChange?: (v: string) => void;
80
- };
81
- export declare function JsonField({ value, onChange }: JsonFieldProps): import("react").JSX.Element;
82
- export type RefFieldItem = {
83
- id: string;
84
- name: string;
85
- };
86
- export type RefFieldProps = {
87
- value?: string;
88
- entity?: string;
89
- onChange?: (v: string) => void;
90
- items?: RefFieldItem[];
91
- id?: string;
92
- ariaLabelledby?: string;
93
- ariaRequired?: boolean;
94
- };
95
- export declare function RefField({ value, entity, onChange, items, id, ariaLabelledby, ariaRequired, }: RefFieldProps): import("react").JSX.Element;
96
- export type ViewFieldProps = {
97
- label: ReactNode;
98
- children?: ReactNode;
99
- mono?: boolean;
100
- wide?: boolean;
101
- empty?: boolean;
102
- };
103
- export declare function ViewField({ label, children, mono, wide, empty, }: ViewFieldProps): import("react").JSX.Element;
104
- export type QuickEditCellProps = {
105
- value?: string;
106
- onChange?: (v: string) => void;
107
- type?: "text" | "select" | "bool";
108
- options?: SelectOption[];
109
- tone?: string;
110
- };
111
- export declare function QuickEditCell({ value, onChange, type, options, }: QuickEditCellProps): import("react").JSX.Element;
@@ -1,15 +0,0 @@
1
- import type { CSSProperties, ReactNode } from "react";
2
- export type HoverCardAlign = "start" | "center" | "end";
3
- export type HoverCardProps = {
4
- /** The card body shown on hover. Caller controls the rendered content. */
5
- content: ReactNode;
6
- /** The trigger node. Wrapped in an inline span. */
7
- children: ReactNode;
8
- /** Card width in pixels. Default 320. */
9
- width?: number;
10
- /** Horizontal alignment relative to the anchor. Default `center`. */
11
- align?: HoverCardAlign;
12
- /** Optional inline style overrides on the card body. */
13
- style?: CSSProperties;
14
- };
15
- export declare function HoverCard({ content, children, width, align, style, }: HoverCardProps): import("react").JSX.Element;
@@ -1,11 +0,0 @@
1
- import type { CSSProperties, MouseEvent, ReactNode } from "react";
2
- export type IconBtnProps = {
3
- icon: ReactNode;
4
- onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
5
- title?: string;
6
- size?: number;
7
- active?: boolean;
8
- disabled?: boolean;
9
- style?: CSSProperties;
10
- };
11
- export declare const IconBtn: import("react").ForwardRefExoticComponent<IconBtnProps & import("react").RefAttributes<HTMLButtonElement>>;