@declarion/react 0.141.0 → 0.146.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 (459) hide show
  1. package/dist-lib/{Icons-Dzl-AkD_.d.ts → Icons-BdXCxyw3.d.ts} +0 -4
  2. package/dist-lib/api/access-expiry.js +1 -2
  3. package/dist-lib/api/agents.js +1 -2
  4. package/dist-lib/api/audience.js +1 -2
  5. package/dist-lib/api/auth-redirect.js +1 -2
  6. package/dist-lib/api/auth.js +1 -2
  7. package/dist-lib/api/batch.js +1 -2
  8. package/dist-lib/api/client.js +27 -28
  9. package/dist-lib/api/data.js +23 -24
  10. package/dist-lib/api/entities.js +36 -37
  11. package/dist-lib/api/events.js +6 -7
  12. package/dist-lib/api/fileReferences.js +1 -2
  13. package/dist-lib/api/params.js +1 -2
  14. package/dist-lib/api/properties.js +1 -2
  15. package/dist-lib/api/request-bounds.js +1 -2
  16. package/dist-lib/api/schema.js +5 -6
  17. package/dist-lib/api/session-renewal.js +6 -7
  18. package/dist-lib/api/status.js +1 -2
  19. package/dist-lib/app.js +154 -155
  20. package/dist-lib/components/actions/ActionButton.js +32 -33
  21. package/dist-lib/components/actions/ActionDialog.js +85 -86
  22. package/dist-lib/components/actions/ActionResultDialog.impl.js +48 -49
  23. package/dist-lib/components/actions/ActionResultDialog.js +1 -2
  24. package/dist-lib/components/actions/ActionRunner.js +96 -97
  25. package/dist-lib/components/actions/ObjectActionBar.js +49 -50
  26. package/dist-lib/components/actions/PropertyGridEditor.js +50 -51
  27. package/dist-lib/components/actions/ResponsiveActionBar.js +127 -128
  28. package/dist-lib/components/actions/RowActionsKebab.js +27 -28
  29. package/dist-lib/components/agents/AgentChatPanel.impl.js +317 -318
  30. package/dist-lib/components/agents/AgentChatPanel.js +1 -2
  31. package/dist-lib/components/agents/AgentConversationDrawer.js +6 -7
  32. package/dist-lib/components/agents/AgentElicitForm.js +13 -14
  33. package/dist-lib/components/agents/AgentOpenFollower.impl.js +1 -2
  34. package/dist-lib/components/agents/AgentOpenFollower.js +1 -2
  35. package/dist-lib/components/agents/AgentPicker.js +1 -2
  36. package/dist-lib/components/agents/ChatAttachments.js +22 -23
  37. package/dist-lib/components/agents/transcript-runs.js +1 -2
  38. package/dist-lib/components/chrome/AssociationTabs.js +44 -45
  39. package/dist-lib/components/chrome/AuditMetaStrip.js +1 -2
  40. package/dist-lib/components/chrome/Breadcrumbs.js +1 -2
  41. package/dist-lib/components/chrome/HighlightsStrip.js +1 -2
  42. package/dist-lib/components/chrome/PageHeader.js +12 -13
  43. package/dist-lib/components/chrome/PageShell.js +1 -2
  44. package/dist-lib/components/chrome/RecordHeader.js +1 -2
  45. package/dist-lib/components/chrome/headerActionZone.js +0 -1
  46. package/dist-lib/components/detail-layout/AssociatedBlock.js +463 -464
  47. package/dist-lib/components/detail-layout/AssociatedToolbar.js +43 -44
  48. package/dist-lib/components/detail-layout/ChildrenBlock.js +24 -25
  49. package/dist-lib/components/detail-layout/ChildrenCards.js +29 -30
  50. package/dist-lib/components/detail-layout/ChildrenList.js +23 -24
  51. package/dist-lib/components/detail-layout/ChildrenTable.js +50 -51
  52. package/dist-lib/components/detail-layout/ChildrenTimeline.js +164 -165
  53. package/dist-lib/components/detail-layout/DetailAuditStrip.js +14 -15
  54. package/dist-lib/components/detail-layout/DetailHighlights.js +23 -24
  55. package/dist-lib/components/detail-layout/DraggableChildrenTable.js +76 -77
  56. package/dist-lib/components/detail-layout/EditableChildrenTable.js +90 -91
  57. package/dist-lib/components/detail-layout/ErrorSummary.js +7 -8
  58. package/dist-lib/components/detail-layout/EvidenceBlock.js +15 -16
  59. package/dist-lib/components/detail-layout/FieldRow.js +11 -12
  60. package/dist-lib/components/detail-layout/FieldsBlock.js +31 -32
  61. package/dist-lib/components/detail-layout/LayoutColumn.js +1 -2
  62. package/dist-lib/components/detail-layout/LayoutRenderer.js +11 -12
  63. package/dist-lib/components/detail-layout/LayoutRow.js +1 -2
  64. package/dist-lib/components/detail-layout/LayoutTabs.js +23 -24
  65. package/dist-lib/components/detail-layout/PropertiesBlock.js +38 -39
  66. package/dist-lib/components/detail-layout/QuickAddForm.js +28 -29
  67. package/dist-lib/components/detail-layout/SectionBlock.js +9 -10
  68. package/dist-lib/components/detail-layout/StatusesBlock.js +1 -2
  69. package/dist-lib/components/detail-layout/TimelineComposer.js +19 -20
  70. package/dist-lib/components/detail-layout/blockMeta.js +1 -2
  71. package/dist-lib/components/detail-layout/useManualColumnResize.js +1 -2
  72. package/dist-lib/components/detail-layout/useQuickAdd.js +21 -22
  73. package/dist-lib/components/detail-layout/visibility.js +1 -2
  74. package/dist-lib/components/detail-layout/widgets/EntityScorecardWidget.js +25 -26
  75. package/dist-lib/components/detail-layout/widgets/JsonDiffWidget.js +18 -19
  76. package/dist-lib/components/detail-layout/widgets/MonacoJson.js +1 -2
  77. package/dist-lib/components/detail-layout/widgets/WidgetHost.js +10 -11
  78. package/dist-lib/components/detail-layout/widgets/builtins.js +1 -2
  79. package/dist-lib/components/detail-layout/widgets/canonicalizeJson.js +1 -2
  80. package/dist-lib/components/detail-layout/widgets/monacoBootstrap.js +1 -2
  81. package/dist-lib/components/detail-layout/widgets/registry.js +1 -2
  82. package/dist-lib/components/fields/BoolField.js +1 -2
  83. package/dist-lib/components/fields/EmailField.js +5 -6
  84. package/dist-lib/components/fields/EnumField.js +7 -8
  85. package/dist-lib/components/fields/FileReferenceField.js +18 -19
  86. package/dist-lib/components/fields/IntArrayField.js +11 -12
  87. package/dist-lib/components/fields/JsonEditor.js +1 -2
  88. package/dist-lib/components/fields/JsonField.js +1 -2
  89. package/dist-lib/components/fields/MultilangArrayField.js +22 -23
  90. package/dist-lib/components/fields/MultilangField.js +13 -14
  91. package/dist-lib/components/fields/MultilangTextField.js +13 -14
  92. package/dist-lib/components/fields/NumberField.js +5 -6
  93. package/dist-lib/components/fields/PasswordField.js +1 -2
  94. package/dist-lib/components/fields/PhoneField.js +24 -25
  95. package/dist-lib/components/fields/RefCombobox.js +42 -43
  96. package/dist-lib/components/fields/RefField.js +14 -15
  97. package/dist-lib/components/fields/RichTextField.js +29 -30
  98. package/dist-lib/components/fields/SecretField.js +1 -2
  99. package/dist-lib/components/fields/StringArrayField.js +29 -30
  100. package/dist-lib/components/fields/StringField.js +12 -13
  101. package/dist-lib/components/fields/StructureField.js +60 -61
  102. package/dist-lib/components/fields/TextField.js +18 -19
  103. package/dist-lib/components/fields/TimestampField.js +17 -18
  104. package/dist-lib/components/fields/UrlField.js +5 -6
  105. package/dist-lib/components/fields/cells/factories/badge.js +5 -6
  106. package/dist-lib/components/fields/cells/factories/boolPill.js +1 -2
  107. package/dist-lib/components/fields/cells/factories/code.js +1 -2
  108. package/dist-lib/components/fields/cells/factories/date.js +1 -2
  109. package/dist-lib/components/fields/cells/factories/email.js +1 -2
  110. package/dist-lib/components/fields/cells/factories/emptyCell.js +0 -1
  111. package/dist-lib/components/fields/cells/factories/fileReference.js +1 -2
  112. package/dist-lib/components/fields/cells/factories/host-icons.js +1 -2
  113. package/dist-lib/components/fields/cells/factories/json.js +1 -2
  114. package/dist-lib/components/fields/cells/factories/link.js +10 -11
  115. package/dist-lib/components/fields/cells/factories/markdown.js +14 -15
  116. package/dist-lib/components/fields/cells/factories/markdownPreview.js +1 -2
  117. package/dist-lib/components/fields/cells/factories/money.js +1 -2
  118. package/dist-lib/components/fields/cells/factories/multilangInline.js +1 -2
  119. package/dist-lib/components/fields/cells/factories/nextRun.js +8 -9
  120. package/dist-lib/components/fields/cells/factories/number.js +1 -2
  121. package/dist-lib/components/fields/cells/factories/passwordMask.js +1 -2
  122. package/dist-lib/components/fields/cells/factories/phone.js +1 -2
  123. package/dist-lib/components/fields/cells/factories/refLink.js +13 -14
  124. package/dist-lib/components/fields/cells/factories/richTextPreview.js +16 -17
  125. package/dist-lib/components/fields/cells/factories/statusPill.js +5 -6
  126. package/dist-lib/components/fields/cells/factories/tagList.js +6 -7
  127. package/dist-lib/components/fields/cells/factories/text.js +1 -2
  128. package/dist-lib/components/fields/cells/factories/timestamp.js +1 -2
  129. package/dist-lib/components/fields/cells/factories/url-helpers.js +1 -2
  130. package/dist-lib/components/fields/cells/factories/url.js +13 -14
  131. package/dist-lib/components/fields/cells/registry.js +1 -2
  132. package/dist-lib/components/fields/index.js +19 -20
  133. package/dist-lib/components/fields/langMap.js +1 -2
  134. package/dist-lib/components/fields/secretValue.js +1 -2
  135. package/dist-lib/components/file-widgets/CircleImage.js +1 -2
  136. package/dist-lib/components/file-widgets/DocumentCard.js +101 -102
  137. package/dist-lib/components/file-widgets/FileList.js +35 -36
  138. package/dist-lib/components/file-widgets/Grid.js +119 -120
  139. package/dist-lib/components/file-widgets/GridLazy.js +1 -2
  140. package/dist-lib/components/file-widgets/ImageWidget.js +189 -190
  141. package/dist-lib/components/file-widgets/LabeledSlots.js +14 -15
  142. package/dist-lib/components/file-widgets/SquareImage.js +1 -2
  143. package/dist-lib/components/file-widgets/UnknownFileWidget.js +1 -2
  144. package/dist-lib/components/file-widgets/UploadFailureText.js +1 -2
  145. package/dist-lib/components/file-widgets/WideBanner.js +1 -2
  146. package/dist-lib/components/file-widgets/builtins.js +1 -2
  147. package/dist-lib/components/file-widgets/cropper.js +1 -2
  148. package/dist-lib/components/file-widgets/draft-scope.js +1 -2
  149. package/dist-lib/components/file-widgets/helpers.js +1 -2
  150. package/dist-lib/components/file-widgets/host.js +33 -34
  151. package/dist-lib/components/file-widgets/payload.js +1 -2
  152. package/dist-lib/components/file-widgets/registry.js +1 -2
  153. package/dist-lib/components/file-widgets/upload.js +41 -42
  154. package/dist-lib/components/file-widgets/useEmbedFileSrc.js +12 -13
  155. package/dist-lib/components/file-widgets/useFileSelection.js +1 -2
  156. package/dist-lib/components/file-widgets/value.js +1 -2
  157. package/dist-lib/components/filters/FilterChips.js +15 -16
  158. package/dist-lib/components/filters/FilterConditionValue.js +15 -16
  159. package/dist-lib/components/filters/FilterDrawer.js +141 -142
  160. package/dist-lib/components/filters/FilterOmittedNotice.js +1 -2
  161. package/dist-lib/components/filters/filter-op-label.js +1 -2
  162. package/dist-lib/components/layout/CommandPalette.impl.js +24 -25
  163. package/dist-lib/components/layout/CommandPalette.js +1 -2
  164. package/dist-lib/components/layout/DirtyTabsCloseDialog.impl.js +15 -16
  165. package/dist-lib/components/layout/DirtyTabsCloseDialog.js +1 -2
  166. package/dist-lib/components/layout/ImpersonationBanner.impl.js +6 -7
  167. package/dist-lib/components/layout/ImpersonationBanner.js +1 -2
  168. package/dist-lib/components/layout/ImpersonationFrame.js +4 -5
  169. package/dist-lib/components/layout/ImpersonationStartModal.impl.js +4 -5
  170. package/dist-lib/components/layout/ImpersonationStartModal.js +1 -2
  171. package/dist-lib/components/layout/Layout.js +132 -140
  172. package/dist-lib/components/layout/Rail.js +11 -12
  173. package/dist-lib/components/layout/Sidebar.js +60 -61
  174. package/dist-lib/components/layout/TabStrip.js +66 -67
  175. package/dist-lib/components/layout/TenantChip.js +21 -22
  176. package/dist-lib/components/layout/TopBar.js +89 -90
  177. package/dist-lib/components/layout/tab-close.js +1 -2
  178. package/dist-lib/components/list/ColumnPicker.js +35 -36
  179. package/dist-lib/components/list/InlineEditCell.js +22 -23
  180. package/dist-lib/components/list/PeekFieldCell.js +7 -8
  181. package/dist-lib/components/list/QuickPeek.js +29 -30
  182. package/dist-lib/components/list/ViewSwitcher.js +44 -45
  183. package/dist-lib/components/list/peekDraftStore.js +1 -2
  184. package/dist-lib/components/pages/AdminCatalogPage.impl.js +59 -60
  185. package/dist-lib/components/pages/AdminCatalogPage.js +1 -2
  186. package/dist-lib/components/pages/DocumentsMenu.js +53 -54
  187. package/dist-lib/components/pages/ExportMenu.js +37 -38
  188. package/dist-lib/components/pages/NoScreensPage.impl.js +5 -6
  189. package/dist-lib/components/pages/NoScreensPage.js +1 -2
  190. package/dist-lib/components/pages/NotFoundPage.impl.js +7 -8
  191. package/dist-lib/components/pages/NotFoundPage.js +1 -2
  192. package/dist-lib/components/pages/RecordDocumentsPanel.js +40 -41
  193. package/dist-lib/components/pages/RecordNotesPanel.js +43 -44
  194. package/dist-lib/components/pages/RecordPanels.js +1 -2
  195. package/dist-lib/components/pages/SSOCallbackPage.impl.js +6 -7
  196. package/dist-lib/components/pages/SSOCallbackPage.js +1 -2
  197. package/dist-lib/components/pages/SmartDetailPage.impl.js +501 -502
  198. package/dist-lib/components/pages/SmartDetailPage.js +1 -2
  199. package/dist-lib/components/pages/SmartListPage.impl.js +316 -317
  200. package/dist-lib/components/pages/SmartListPage.js +1 -2
  201. package/dist-lib/components/pages/SmartRecordListPage.impl.js +316 -317
  202. package/dist-lib/components/pages/SmartRecordListPage.js +1 -2
  203. package/dist-lib/components/pages/auth/AuthShell.js +14 -15
  204. package/dist-lib/components/pages/auth/CodeInput.js +0 -1
  205. package/dist-lib/components/pages/auth/Forgot.impl.js +12 -13
  206. package/dist-lib/components/pages/auth/Forgot.js +1 -2
  207. package/dist-lib/components/pages/auth/Reset.impl.js +20 -21
  208. package/dist-lib/components/pages/auth/Reset.js +1 -2
  209. package/dist-lib/components/pages/auth/SignIn.js +44 -45
  210. package/dist-lib/components/pages/auth/SignUp.impl.js +35 -36
  211. package/dist-lib/components/pages/auth/SignUp.js +1 -2
  212. package/dist-lib/components/pages/auth/SignUpCode.js +17 -18
  213. package/dist-lib/components/pages/auth/TwoFA.impl.js +9 -10
  214. package/dist-lib/components/pages/auth/TwoFA.js +1 -2
  215. package/dist-lib/components/pages/auth/icons.js +1 -2
  216. package/dist-lib/components/pages/exportRequest.js +1 -2
  217. package/dist-lib/components/pages/list/DataCell.js +1 -2
  218. package/dist-lib/components/pages/list/DeleteViewDialog.js +5 -6
  219. package/dist-lib/components/pages/list/ListCardRow.js +53 -54
  220. package/dist-lib/components/pages/list/ListCardsBody.js +1 -2
  221. package/dist-lib/components/pages/list/ListFloatbar.js +25 -26
  222. package/dist-lib/components/pages/list/ListFooter.js +17 -18
  223. package/dist-lib/components/pages/list/ListHeader.js +31 -32
  224. package/dist-lib/components/pages/list/ListNoRows.js +32 -33
  225. package/dist-lib/components/pages/list/ListTable.js +29 -30
  226. package/dist-lib/components/pages/list/ListTableRow.js +1 -2
  227. package/dist-lib/components/pages/list/ListToolbar.js +58 -59
  228. package/dist-lib/components/pages/list/ListUrlBanner.js +1 -2
  229. package/dist-lib/components/pages/list/RowActionsCell.js +6 -7
  230. package/dist-lib/components/pages/list/RowContextMenu.js +1 -2
  231. package/dist-lib/components/pages/list/SaveViewDialog.js +5 -6
  232. package/dist-lib/components/pages/list/SortHeaderMenu.js +25 -26
  233. package/dist-lib/components/pages/list/cardProjection.js +16 -17
  234. package/dist-lib/components/pages/list/column-sizing.js +1 -2
  235. package/dist-lib/components/pages/list/columns.js +74 -75
  236. package/dist-lib/components/pages/list/filter-meta.js +1 -2
  237. package/dist-lib/components/pages/list/page-size.js +1 -2
  238. package/dist-lib/components/pages/list/sortable-header.js +1 -2
  239. package/dist-lib/components/pages/list/table-features.js +1 -2
  240. package/dist-lib/components/pages/list/use-filter-value-labels.js +15 -16
  241. package/dist-lib/components/pages/list/useActiveView.js +1 -2
  242. package/dist-lib/components/pages/list/useHeaderReorder.js +1 -2
  243. package/dist-lib/components/pages/list/useListColumnLayout.js +6 -7
  244. package/dist-lib/components/pages/list/useListFilterPresentation.js +1 -2
  245. package/dist-lib/components/pages/list/useListQuery.js +1 -2
  246. package/dist-lib/components/pages/list/useListRowInteraction.js +37 -38
  247. package/dist-lib/components/pages/list/useListSelection.js +16 -17
  248. package/dist-lib/components/pages/list/useListSort.js +1 -2
  249. package/dist-lib/components/pages/list/useListViews.js +31 -32
  250. package/dist-lib/components/pages/list/useRowMenu.js +20 -21
  251. package/dist-lib/components/pages/list/visible-filters.js +1 -2
  252. package/dist-lib/components/pages/profile/Preferences.impl.js +44 -45
  253. package/dist-lib/components/pages/profile/Preferences.js +1 -2
  254. package/dist-lib/components/pages/profile/Profile.impl.js +223 -224
  255. package/dist-lib/components/pages/profile/Profile.js +1 -2
  256. package/dist-lib/components/pages/tenant-params/TenantParamsPage.impl.js +133 -134
  257. package/dist-lib/components/pages/tenant-params/TenantParamsPage.js +1 -2
  258. package/dist-lib/components/params/ParamsBlock.js +30 -31
  259. package/dist-lib/components/params/param-editors.js +58 -59
  260. package/dist-lib/components/primitives/Avatar.js +1 -2
  261. package/dist-lib/components/primitives/BoolToggle.js +1 -2
  262. package/dist-lib/components/primitives/BrandGlyph.js +1 -2
  263. package/dist-lib/components/primitives/BrandLogo.js +1 -2
  264. package/dist-lib/components/primitives/Btn.js +1 -2
  265. package/dist-lib/components/primitives/Check.js +1 -2
  266. package/dist-lib/components/primitives/Chip.js +1 -2
  267. package/dist-lib/components/primitives/ClassifiedFieldLocked.js +1 -2
  268. package/dist-lib/components/primitives/Dropdown.js +2 -3
  269. package/dist-lib/components/primitives/Fields.js +128 -129
  270. package/dist-lib/components/primitives/HoverCard.js +2 -3
  271. package/dist-lib/components/primitives/IconBtn.js +1 -2
  272. package/dist-lib/components/primitives/Icons.js +1 -2
  273. package/dist-lib/components/primitives/Kbd.js +1 -2
  274. package/dist-lib/components/primitives/MenuItem.js +1 -2
  275. package/dist-lib/components/primitives/Pill.js +1 -2
  276. package/dist-lib/components/primitives/RecordIdBadge.js +1 -2
  277. package/dist-lib/components/primitives/RetryButton.js +5 -6
  278. package/dist-lib/components/primitives/RowField.js +1 -2
  279. package/dist-lib/components/primitives/SectionCard.js +1 -2
  280. package/dist-lib/components/primitives/Spinner.js +1 -2
  281. package/dist-lib/components/primitives/StatTile.js +1 -2
  282. package/dist-lib/components/primitives/Tooltip.js +1 -2
  283. package/dist-lib/components/primitives/dataTableStyles.js +1 -2
  284. package/dist-lib/components/shared/BlankScreen.js +1 -2
  285. package/dist-lib/components/shared/ChangePasswordDialog.impl.js +20 -21
  286. package/dist-lib/components/shared/ChangePasswordDialog.js +1 -2
  287. package/dist-lib/components/shared/ConfirmDialog.js +7 -8
  288. package/dist-lib/components/shared/ConnectionNotice.js +1 -2
  289. package/dist-lib/components/shared/CopyButton.js +1 -2
  290. package/dist-lib/components/shared/DynamicIcon.js +1 -2
  291. package/dist-lib/components/shared/EmptyState.js +1 -2
  292. package/dist-lib/components/shared/ErrorBoundary.js +10 -11
  293. package/dist-lib/components/shared/LoadingSkeleton.js +1 -2
  294. package/dist-lib/components/shared/LucideIcon.js +1 -2
  295. package/dist-lib/components/shared/Markdown.js +1 -2
  296. package/dist-lib/components/shared/MarkdownRenderer.js +22 -23
  297. package/dist-lib/components/shared/ModalFrame.js +1 -2
  298. package/dist-lib/components/shared/RefreshControl.js +6 -7
  299. package/dist-lib/components/shared/StatusGroupsDisplay.js +16 -17
  300. package/dist-lib/components/shared/StatusStepper.js +1 -2
  301. package/dist-lib/components/shared/toast/DeclarionToast.js +1 -2
  302. package/dist-lib/components/shared/useOwnRefresh.js +1 -2
  303. package/dist-lib/embed/EmbedAuthBootstrap.js +30 -31
  304. package/dist-lib/embed/EmbedContext.js +1 -2
  305. package/dist-lib/embed/EmbedDirtyReporter.js +6 -7
  306. package/dist-lib/embed/EmbedHistoryTracker.js +1 -2
  307. package/dist-lib/embed/EmbedLocationReporter.js +11 -12
  308. package/dist-lib/embed/EmbedResizeReporter.js +9 -10
  309. package/dist-lib/embed/EmbedUnsavedGuard.js +5 -6
  310. package/dist-lib/embed/embed-dirty.js +1 -2
  311. package/dist-lib/embed/embed-history.js +1 -2
  312. package/dist-lib/embed/embed-nav-guard.js +1 -2
  313. package/dist-lib/embed/file-src.js +12 -13
  314. package/dist-lib/embed/handshake.js +1 -2
  315. package/dist-lib/embed/params.js +1 -2
  316. package/dist-lib/embed/protocol.js +1 -2
  317. package/dist-lib/embed/screen-location.js +1 -2
  318. package/dist-lib/embed/theme.js +1 -2
  319. package/dist-lib/embed/token.js +1 -2
  320. package/dist-lib/embed/useEmbedNavigate.js +25 -26
  321. package/dist-lib/embed/useGlobalLinkInterceptor.js +9 -10
  322. package/dist-lib/hooks/useActionData.js +1 -2
  323. package/dist-lib/hooks/useActiveTabFollowsRoute.js +7 -8
  324. package/dist-lib/hooks/useAgentConversation.js +122 -123
  325. package/dist-lib/hooks/useAggregate.js +1 -2
  326. package/dist-lib/hooks/useAllEntityData.js +9 -10
  327. package/dist-lib/hooks/useAssociatedData.js +1 -2
  328. package/dist-lib/hooks/useAuth.js +26 -27
  329. package/dist-lib/hooks/useBranding.js +1 -2
  330. package/dist-lib/hooks/useBrandingChrome.js +16 -17
  331. package/dist-lib/hooks/useChildrenData.js +4 -5
  332. package/dist-lib/hooks/useColumns.js +1 -2
  333. package/dist-lib/hooks/useConnectionNotice.js +16 -17
  334. package/dist-lib/hooks/useCurrentLocation.js +1 -2
  335. package/dist-lib/hooks/useCurrentScreen.js +1 -2
  336. package/dist-lib/hooks/useCursorEntityData.js +1 -2
  337. package/dist-lib/hooks/useDebounce.js +1 -2
  338. package/dist-lib/hooks/useDisplayTimeZone.js +4 -5
  339. package/dist-lib/hooks/useDocumentTitle.js +5 -6
  340. package/dist-lib/hooks/useEntity.js +1 -2
  341. package/dist-lib/hooks/useEntityData.js +1 -2
  342. package/dist-lib/hooks/useFileReferenceJSON.js +9 -10
  343. package/dist-lib/hooks/useFilters.js +5 -6
  344. package/dist-lib/hooks/useFollowAgentOpen.js +40 -41
  345. package/dist-lib/hooks/useImpersonation.js +15 -16
  346. package/dist-lib/hooks/useIntentPrefetch.js +6 -7
  347. package/dist-lib/hooks/useJsonSnapshot.js +1 -2
  348. package/dist-lib/hooks/useLanguage.js +11 -12
  349. package/dist-lib/hooks/useLiveObject.js +6 -7
  350. package/dist-lib/hooks/useLongPress.js +1 -2
  351. package/dist-lib/hooks/useMutations.js +31 -32
  352. package/dist-lib/hooks/useObject.js +1 -2
  353. package/dist-lib/hooks/useObjectStatus.js +4 -5
  354. package/dist-lib/hooks/usePageState.js +9 -10
  355. package/dist-lib/hooks/usePageStateRuntime.js +16 -17
  356. package/dist-lib/hooks/usePageStateTtl.js +1 -2
  357. package/dist-lib/hooks/useParams.js +58 -59
  358. package/dist-lib/hooks/useProperties.js +5 -6
  359. package/dist-lib/hooks/useRealtimeThresholds.js +4 -5
  360. package/dist-lib/hooks/useRefRecords.js +31 -32
  361. package/dist-lib/hooks/useRegisterScreenTab.js +12 -13
  362. package/dist-lib/hooks/useResponsiveMode.js +1 -2
  363. package/dist-lib/hooks/useRowTenant.js +1 -2
  364. package/dist-lib/hooks/useSSE.js +100 -101
  365. package/dist-lib/hooks/useSchema.js +16 -17
  366. package/dist-lib/hooks/useScreen.js +1 -2
  367. package/dist-lib/hooks/useScreenBack.js +17 -18
  368. package/dist-lib/hooks/useScreenTab.js +1 -2
  369. package/dist-lib/hooks/useTabNavigate.js +25 -26
  370. package/dist-lib/hooks/useTabSearchMirror.js +6 -7
  371. package/dist-lib/hooks/useTabTitle.js +10 -11
  372. package/dist-lib/hooks/useText.js +6 -7
  373. package/dist-lib/hooks/useTimelineData.js +5 -6
  374. package/dist-lib/hooks/useUiPreferences.js +31 -32
  375. package/dist-lib/hooks/useUnsavedInput.js +1 -2
  376. package/dist-lib/hooks/useVersionWatcher.js +16 -17
  377. package/dist-lib/hooks/useViews.js +16 -17
  378. package/dist-lib/hooks/useWindowConversation.js +1 -2
  379. package/dist-lib/{icon-registry-CUT4eF63.d.ts → icon-registry-BY2tt-GF.d.ts} +0 -2
  380. package/dist-lib/icons.d.ts +2 -4
  381. package/dist-lib/icons.js +5 -5
  382. package/dist-lib/index.d.ts +4 -272
  383. package/dist-lib/index.js +129 -129
  384. package/dist-lib/lib/action-dispatch.js +1 -2
  385. package/dist-lib/lib/actions.js +26 -27
  386. package/dist-lib/lib/anchor.js +1 -2
  387. package/dist-lib/lib/brand-tokens.js +1 -2
  388. package/dist-lib/lib/branding.js +1 -2
  389. package/dist-lib/lib/canonical-url.js +1 -2
  390. package/dist-lib/lib/capabilityPrefetch.js +1 -2
  391. package/dist-lib/lib/child-config.js +1 -2
  392. package/dist-lib/lib/children-validation.js +2 -3
  393. package/dist-lib/lib/date-text.js +1 -2
  394. package/dist-lib/lib/decimal-text.js +1 -2
  395. package/dist-lib/lib/display-value.js +1 -2
  396. package/dist-lib/lib/document-templates.js +1 -2
  397. package/dist-lib/lib/download.js +13 -14
  398. package/dist-lib/lib/evidence-verdict.js +1 -2
  399. package/dist-lib/lib/failure.js +4 -5
  400. package/dist-lib/lib/field-classification.js +1 -2
  401. package/dist-lib/lib/field-regions.js +1 -2
  402. package/dist-lib/lib/filter-evaluator.js +1 -2
  403. package/dist-lib/lib/filters.js +1 -2
  404. package/dist-lib/lib/format-count.js +1 -2
  405. package/dist-lib/lib/html-state.js +1 -2
  406. package/dist-lib/lib/language.js +1 -2
  407. package/dist-lib/lib/longPressGesture.js +0 -1
  408. package/dist-lib/lib/mass-edit.js +1 -2
  409. package/dist-lib/lib/money-text.js +1 -2
  410. package/dist-lib/lib/number-text.js +1 -2
  411. package/dist-lib/lib/page-inset.js +1 -2
  412. package/dist-lib/lib/phone.js +1 -2
  413. package/dist-lib/lib/profile.js +1 -2
  414. package/dist-lib/lib/query-retry.js +1 -2
  415. package/dist-lib/lib/quick-add.js +1 -2
  416. package/dist-lib/lib/read-display-state.js +1 -2
  417. package/dist-lib/lib/realtime-query-keys.js +2 -3
  418. package/dist-lib/lib/realtime-reconcile.js +32 -33
  419. package/dist-lib/lib/realtime-resync.js +40 -41
  420. package/dist-lib/lib/record-documents-key.js +1 -2
  421. package/dist-lib/lib/ref-choices.js +1 -2
  422. package/dist-lib/lib/refetch-when-idle.js +1 -2
  423. package/dist-lib/lib/rich-text.js +1 -2
  424. package/dist-lib/lib/role-label.js +1 -2
  425. package/dist-lib/lib/rowClickGesture.js +1 -2
  426. package/dist-lib/lib/safe-url.js +1 -2
  427. package/dist-lib/lib/schema-routing.js +1 -2
  428. package/dist-lib/lib/screen-back.js +1 -2
  429. package/dist-lib/lib/scroll-restoration.js +21 -22
  430. package/dist-lib/lib/shortcut.js +1 -2
  431. package/dist-lib/lib/size-value.js +1 -2
  432. package/dist-lib/lib/sort.js +1 -2
  433. package/dist-lib/lib/timestamp.js +1 -2
  434. package/dist-lib/lib/toast.js +1 -2
  435. package/dist-lib/lib/ui-actions.js +43 -44
  436. package/dist-lib/lib/utils.js +1 -2
  437. package/dist-lib/lib/variants.js +1 -2
  438. package/dist-lib/lib/versionTracker.js +26 -27
  439. package/dist-lib/lib/viewport-category.js +1 -2
  440. package/dist-lib/lib/window-election.js +1 -2
  441. package/dist-lib/stores/auth.js +32 -33
  442. package/dist-lib/stores/icon-registry.js +1 -2
  443. package/dist-lib/stores/list-layout.js +0 -1
  444. package/dist-lib/stores/page-state.js +1 -2
  445. package/dist-lib/stores/preferences.js +1 -2
  446. package/dist-lib/stores/realtime.js +1 -2
  447. package/dist-lib/stores/screen-registry.js +1 -2
  448. package/dist-lib/stores/tabs.js +1 -2
  449. package/dist-lib/test/seed-schema.js +4 -5
  450. package/dist-lib/testing.d.ts +2 -4
  451. package/dist-lib/testing.js +49 -50
  452. package/dist-lib/types/api.js +1 -2
  453. package/dist-lib/types/fieldType.js +1 -2
  454. package/dist-lib/types/ordmap.js +1 -2
  455. package/dist-lib/types/schema.js +1 -2
  456. package/dist-lib/{useResponsiveMode-C4MeAgoS.d.ts → useResponsiveMode-BElw02Gh.d.ts} +1 -19
  457. package/dist-lib/vite/index.d.ts +0 -2
  458. package/dist-lib/vite/index.js +1 -2
  459. package/package.json +11 -11
package/dist-lib/index.js CHANGED
@@ -1,134 +1,134 @@
1
1
  /* empty css */
2
- import { CURSOR_LANGUAGE_CHANGED as ee, CURSOR_SEMANTICS_MISMATCH as te, isCursorStaleError as ne } from "./types/api.js";
3
- import { OrderedMap as e } from "./types/ordmap.js";
4
- import { coerceDisplayString as t } from "./lib/display-value.js";
5
- import { editorWallClock as n, editorWireValue as r, formatOffsetTimestamp as i, zoneMark as a } from "./lib/timestamp.js";
6
- import { buildDetailHrefFromId as o, buildEntityDetailHref as s, buildRowDetailHref as c, extractPkValues as l, fieldDisplayName as u, getPrimaryKeyFields as d, pkValuePartsToId as f, pkValuesFromId as p, pkValuesToDetailId as m, pkValuesToId as h, resolveDetailRoute as g } from "./types/schema.js";
7
- import { SmartDetailPage as _ } from "./components/pages/SmartDetailPage.js";
8
- import { SmartListPage as v } from "./components/pages/SmartListPage.js";
9
- import { SmartRecordListPage as y } from "./components/pages/SmartRecordListPage.js";
10
- import { useSchema as b } from "./hooks/useSchema.js";
11
- import { MANDATORY_LANGUAGE as x, makeTextFn as S, pickLocalized as C, pluralText as w, textWithNodes as T } from "./lib/language.js";
12
- import { reresolveLanguage as E, useDeploymentLanguage as D, useLanguage as O } from "./hooks/useLanguage.js";
13
- import { ActionBatchError as k, buildActionBody as A, deleteObject as j, executeAction as M, restoreObject as N } from "./api/data.js";
14
- import { failureTitle as P } from "./lib/failure.js";
15
- import { Icon as F } from "./components/primitives/Icons.js";
16
- import { Btn as I } from "./components/primitives/Btn.js";
17
- import { IconBtn as L } from "./components/primitives/IconBtn.js";
18
- import { Pill as R } from "./components/primitives/Pill.js";
19
- import { Kbd as z } from "./components/primitives/Kbd.js";
20
- import { Avatar as B } from "./components/primitives/Avatar.js";
21
- import { BrandGlyph as V } from "./components/primitives/BrandGlyph.js";
22
- import { Dropdown as H } from "./components/primitives/Dropdown.js";
23
- import { HoverCard as U } from "./components/primitives/HoverCard.js";
24
- import { InfoTooltip as W, Tooltip as G } from "./components/primitives/Tooltip.js";
25
- import { Chip as K } from "./components/primitives/Chip.js";
26
- import { useText as q } from "./hooks/useText.js";
27
- import { SectionCard as J } from "./components/primitives/SectionCard.js";
28
- import { StatTile as Y } from "./components/primitives/StatTile.js";
29
- import { RecordIdBadge as X } from "./components/primitives/RecordIdBadge.js";
30
- import { DEFAULT_RESPONSIVE_BREAKPOINTS as Z, resolveViewportCategory as re } from "./lib/viewport-category.js";
31
- import { ResponsiveModeProvider as ie, useResponsiveMode as ae } from "./hooks/useResponsiveMode.js";
32
- import { RowField as oe } from "./components/primitives/RowField.js";
33
- import { BoolToggle as se } from "./components/primitives/BoolToggle.js";
34
- import { MenuItem as ce } from "./components/primitives/MenuItem.js";
35
- import { Check as le } from "./components/primitives/Check.js";
36
- import { Spinner as ue } from "./components/primitives/Spinner.js";
37
- import { ClassifiedFieldLocked as de } from "./components/primitives/ClassifiedFieldLocked.js";
38
- import { DateInput as fe, FieldLabel as pe, JsonField as me, MultiSelect as he, PasswordInput as ge, QuickEditCell as _e, RefField as ve, Select as ye, TagsInput as be, TextArea as xe, TextInput as Se, ViewField as Ce } from "./components/primitives/Fields.js";
39
- import { readDisplayState as we } from "./lib/read-display-state.js";
40
- import { useEffectiveParam as Te, useParam as Ee, usePublicParams as De, useResolvedParam as Oe } from "./hooks/useParams.js";
41
- import { getIcon as ke, setIconRegistry as Ae } from "./stores/icon-registry.js";
42
- import { DynamicIcon as je } from "./components/shared/DynamicIcon.js";
43
- import { Rail as Me } from "./components/layout/Rail.js";
44
- import { useTabStore as Ne } from "./stores/tabs.js";
45
- import { ConfirmDialog as Pe } from "./components/shared/ConfirmDialog.js";
46
- import { useTabNavigate as Fe } from "./hooks/useTabNavigate.js";
47
- import { entityDataQueryKey as Ie, useEntityCount as Le, useEntityData as Re } from "./hooks/useEntityData.js";
48
- import { useEntity as ze } from "./hooks/useEntity.js";
49
- import { useScreen as Be } from "./hooks/useScreen.js";
50
- import { useViews as Ve } from "./hooks/useViews.js";
51
- import { Sidebar as He, buildSections as Ue } from "./components/layout/Sidebar.js";
52
- import { useAuth as We } from "./hooks/useAuth.js";
53
- import { useImpersonation as Ge } from "./hooks/useImpersonation.js";
54
- import { TenantChip as Ke, envTone as qe } from "./components/layout/TenantChip.js";
55
- import { Breadcrumbs as Je } from "./components/chrome/Breadcrumbs.js";
56
- import { TopBar as Ye } from "./components/layout/TopBar.js";
57
- import { TabStrip as Xe } from "./components/layout/TabStrip.js";
58
- import { ImpersonationBanner as Ze } from "./components/layout/ImpersonationBanner.js";
59
- import { ImpersonationFrame as Qe } from "./components/layout/ImpersonationFrame.js";
60
- import { CommandPalette as $e } from "./components/layout/CommandPalette.js";
61
- import { AgentChatPanel as et } from "./components/agents/AgentChatPanel.js";
62
- import { classificationTier as tt, fieldAccessInfo as nt, fieldClassification as rt, fieldRequiredPermission as it, isFieldReadable as at, isFieldSoDProtected as ot, isFieldWritable as st } from "./lib/field-classification.js";
63
- import { ACTION_DATA_CURSOR_KEY as ct, ACTION_DATA_KEY as lt, actionDataQueryKey as ut, cursorActionDataQueryKey as dt, useActionData as ft, useCursorActionData as pt } from "./hooks/useActionData.js";
64
- import { EntityClient as mt, RefCache as ht, entityClient as gt } from "./api/entities.js";
65
- import { cursorEntityDataQueryKey as _t, cursorEntityStableKey as vt, useCursorEntityData as yt } from "./hooks/useCursorEntityData.js";
66
- import { ActionRunnerProvider as bt, useActionRunner as xt } from "./components/actions/ActionRunner.js";
67
- import { canonicalUrl as St } from "./lib/canonical-url.js";
68
- import { PAGE_STATE_TTL_PARAM as Ct, usePageStateTtl as wt } from "./hooks/usePageStateTtl.js";
69
- import { useRegisterRetainedQuery as Tt } from "./hooks/usePageStateRuntime.js";
70
- import { AuthShell as Et } from "./components/pages/auth/AuthShell.js";
71
- import { SignIn as Dt } from "./components/pages/auth/SignIn.js";
72
- import { SignUp as Ot } from "./components/pages/auth/SignUp.js";
73
- import { Forgot as kt } from "./components/pages/auth/Forgot.js";
74
- import { Reset as Q } from "./components/pages/auth/Reset.js";
75
- import { TwoFA as At } from "./components/pages/auth/TwoFA.js";
76
- import { Profile as jt } from "./components/pages/profile/Profile.js";
77
- import { Preferences as Mt } from "./components/pages/profile/Preferences.js";
78
- import { registerScreen as Nt } from "./stores/screen-registry.js";
79
- import { CurrentScreenProvider as Pt, useCurrentScreen as Ft } from "./hooks/useCurrentScreen.js";
80
- import { App as $ } from "./app.js";
81
- import { formatMoneyText as It } from "./lib/money-text.js";
82
- import { Batch as Lt } from "./api/batch.js";
83
- import { useAggregate as Rt } from "./hooks/useAggregate.js";
84
- import { useAllEntityData as zt } from "./hooks/useAllEntityData.js";
85
- import { objectQueryKey as Bt, useObject as Vt } from "./hooks/useObject.js";
86
- import { fileReferenceJSONQueryKey as Ht, useFileReferenceJSON as Ut } from "./hooks/useFileReferenceJSON.js";
87
- import { useDebounce as Wt } from "./hooks/useDebounce.js";
88
- import { RefCombobox as Gt } from "./components/fields/RefCombobox.js";
89
- import { getFileWidget as Kt, hasFileWidget as qt, registerFileWidget as Jt } from "./components/file-widgets/registry.js";
90
- import { UploadError as Yt, discardFile as Xt, formatBytes as Zt, uploadFile as Qt, validateClientSide as $t } from "./components/file-widgets/upload.js";
91
- import { getImageCropper as en, setImageCropper as tn } from "./components/file-widgets/cropper.js";
92
- import { FileDraftScope as nn, useDraftRegistration as rn, useFileDraftScope as an } from "./components/file-widgets/draft-scope.js";
2
+ import { App as e } from "./app.js";
3
+ import { OrderedMap as t } from "./types/ordmap.js";
4
+ import { buildDetailHrefFromId as n, buildEntityDetailHref as r, buildRowDetailHref as i, extractPkValues as a, fieldDisplayName as o, getPrimaryKeyFields as s, pkValuePartsToId as c, pkValuesFromId as l, pkValuesToDetailId as u, pkValuesToId as d, resolveDetailRoute as f } from "./types/schema.js";
5
+ import { CURSOR_LANGUAGE_CHANGED as p, CURSOR_SEMANTICS_MISMATCH as m, isCursorStaleError as h } from "./types/api.js";
6
+ import { coerceDisplayString as g } from "./lib/display-value.js";
7
+ import { editorWallClock as _, editorWireValue as v, formatOffsetTimestamp as y, zoneMark as b } from "./lib/timestamp.js";
8
+ import { formatMoneyText as x } from "./lib/money-text.js";
9
+ import { EntityClient as S, RefCache as C, entityClient as w } from "./api/entities.js";
10
+ import { ActionBatchError as T, buildActionBody as E, deleteObject as D, executeAction as O, restoreObject as k } from "./api/data.js";
11
+ import { Batch as A } from "./api/batch.js";
12
+ import { useSchema as j } from "./hooks/useSchema.js";
13
+ import { useEntity as M } from "./hooks/useEntity.js";
14
+ import { useScreen as N } from "./hooks/useScreen.js";
15
+ import { CurrentScreenProvider as P, useCurrentScreen as F } from "./hooks/useCurrentScreen.js";
16
+ import { useAuth as I } from "./hooks/useAuth.js";
17
+ import { entityDataQueryKey as L, useEntityCount as R, useEntityData as z } from "./hooks/useEntityData.js";
18
+ import { useAggregate as B } from "./hooks/useAggregate.js";
19
+ import { cursorEntityDataQueryKey as V, cursorEntityStableKey as H, useCursorEntityData as U } from "./hooks/useCursorEntityData.js";
20
+ import { useAllEntityData as W } from "./hooks/useAllEntityData.js";
21
+ import { objectQueryKey as G, useObject as K } from "./hooks/useObject.js";
22
+ import { fileReferenceJSONQueryKey as q, useFileReferenceJSON as J } from "./hooks/useFileReferenceJSON.js";
23
+ import { StructureField as Y } from "./components/fields/StructureField.js";
24
+ import { useLiveObject as X } from "./hooks/useLiveObject.js";
25
+ import { ACTION_DATA_CURSOR_KEY as Z, ACTION_DATA_KEY as Q, actionDataQueryKey as $, cursorActionDataQueryKey as ee, useActionData as te, useCursorActionData as ne } from "./hooks/useActionData.js";
26
+ import { useCreateObject as re, useDeleteObject as ie, useUpdateObject as ae } from "./hooks/useMutations.js";
27
+ import { useDebounce as oe } from "./hooks/useDebounce.js";
28
+ import { ResponsiveModeProvider as se, useResponsiveMode as ce } from "./hooks/useResponsiveMode.js";
29
+ import { useEffectiveParam as le, useParam as ue, usePublicParams as de, useResolvedParam as fe } from "./hooks/useParams.js";
30
+ import { DEFAULT_RESPONSIVE_BREAKPOINTS as pe, resolveViewportCategory as me } from "./lib/viewport-category.js";
31
+ import { useSetStatus as he } from "./hooks/useObjectStatus.js";
32
+ import { useDeleteProperty as ge, useSetProperty as _e } from "./hooks/useProperties.js";
33
+ import { useFilters as ve } from "./hooks/useFilters.js";
34
+ import { useColumns as ye } from "./hooks/useColumns.js";
35
+ import { useViews as be } from "./hooks/useViews.js";
36
+ import { registerScreen as xe } from "./stores/screen-registry.js";
37
+ import { getIcon as Se, setIconRegistry as Ce } from "./stores/icon-registry.js";
38
+ import { getLayoutWidget as we, hasLayoutWidget as Te, registerLayoutWidget as Ee } from "./components/detail-layout/widgets/registry.js";
39
+ import { reresolveLanguage as De, useDeploymentLanguage as Oe, useLanguage as ke } from "./hooks/useLanguage.js";
40
+ import { useText as Ae } from "./hooks/useText.js";
41
+ import { MANDATORY_LANGUAGE as je, makeTextFn as Me, pickLocalized as Ne, pluralText as Pe, textWithNodes as Fe } from "./lib/language.js";
42
+ import { failureTitle as Ie } from "./lib/failure.js";
43
+ import { readDisplayState as Le } from "./lib/read-display-state.js";
44
+ import { useTabStore as Re } from "./stores/tabs.js";
45
+ import { useTabNavigate as ze } from "./hooks/useTabNavigate.js";
46
+ import { useScreenBack as Be } from "./hooks/useScreenBack.js";
47
+ import { usePageState as Ve } from "./hooks/usePageState.js";
48
+ import { canonicalUrl as He } from "./lib/canonical-url.js";
49
+ import { useRegisterRetainedQuery as Ue } from "./hooks/usePageStateRuntime.js";
50
+ import { PAGE_STATE_TTL_PARAM as We, usePageStateTtl as Ge } from "./hooks/usePageStateTtl.js";
51
+ import { useScreenTab as Ke } from "./hooks/useScreenTab.js";
52
+ import { useTabSearchMirror as qe } from "./hooks/useTabSearchMirror.js";
53
+ import { SCROLL_STATE_KEY as Je, usePlainScrollRestoration as Ye, useSavedScrollOffset as Xe, useVirtualScrollRestoration as Ze } from "./lib/scroll-restoration.js";
54
+ import { SmartListPage as Qe } from "./components/pages/SmartListPage.js";
55
+ import { SmartDetailPage as $e } from "./components/pages/SmartDetailPage.js";
56
+ import { SmartRecordListPage as et } from "./components/pages/SmartRecordListPage.js";
57
+ import { DynamicIcon as tt } from "./components/shared/DynamicIcon.js";
58
+ import { PageHeader as nt } from "./components/chrome/PageHeader.js";
59
+ import { EmptyState as rt } from "./components/shared/EmptyState.js";
60
+ import { ConfirmDialog as it } from "./components/shared/ConfirmDialog.js";
61
+ import { FilterDrawer as at } from "./components/filters/FilterDrawer.js";
62
+ import { FilterChips as ot } from "./components/filters/FilterChips.js";
63
+ import { ColumnPicker as st } from "./components/list/ColumnPicker.js";
64
+ import { ViewSwitcher as ct } from "./components/list/ViewSwitcher.js";
65
+ import { ActionRunnerProvider as lt, useActionRunner as ut } from "./components/actions/ActionRunner.js";
66
+ import { ObjectActionBar as dt, useObjectActions as ft } from "./components/actions/ObjectActionBar.js";
67
+ import { RefreshControl as pt } from "./components/shared/RefreshControl.js";
68
+ import { RefCombobox as mt } from "./components/fields/RefCombobox.js";
69
+ import { QEField as ht, QuickPeek as gt } from "./components/list/QuickPeek.js";
70
+ import { InlineEditCell as _t } from "./components/list/InlineEditCell.js";
71
+ import { SignIn as vt } from "./components/pages/auth/SignIn.js";
72
+ import { SignUp as yt } from "./components/pages/auth/SignUp.js";
73
+ import { Forgot as bt } from "./components/pages/auth/Forgot.js";
74
+ import { Reset as xt } from "./components/pages/auth/Reset.js";
75
+ import { TwoFA as St } from "./components/pages/auth/TwoFA.js";
76
+ import { AuthShell as Ct } from "./components/pages/auth/AuthShell.js";
77
+ import { Profile as wt } from "./components/pages/profile/Profile.js";
78
+ import { Preferences as Tt } from "./components/pages/profile/Preferences.js";
79
+ import { ChangePasswordDialog as Et } from "./components/shared/ChangePasswordDialog.js";
80
+ import { Icon as Dt } from "./components/primitives/Icons.js";
81
+ import { Btn as Ot } from "./components/primitives/Btn.js";
82
+ import { IconBtn as kt } from "./components/primitives/IconBtn.js";
83
+ import { Pill as At } from "./components/primitives/Pill.js";
84
+ import { Kbd as jt } from "./components/primitives/Kbd.js";
85
+ import { Avatar as Mt } from "./components/primitives/Avatar.js";
86
+ import { BrandGlyph as Nt } from "./components/primitives/BrandGlyph.js";
87
+ import { Dropdown as Pt } from "./components/primitives/Dropdown.js";
88
+ import { HoverCard as Ft } from "./components/primitives/HoverCard.js";
89
+ import { InfoTooltip as It, Tooltip as Lt } from "./components/primitives/Tooltip.js";
90
+ import { Chip as Rt } from "./components/primitives/Chip.js";
91
+ import { SectionCard as zt } from "./components/primitives/SectionCard.js";
92
+ import { StatTile as Bt } from "./components/primitives/StatTile.js";
93
+ import { RecordIdBadge as Vt } from "./components/primitives/RecordIdBadge.js";
94
+ import { RowField as Ht } from "./components/primitives/RowField.js";
95
+ import { BoolToggle as Ut } from "./components/primitives/BoolToggle.js";
96
+ import { MenuItem as Wt } from "./components/primitives/MenuItem.js";
97
+ import { Check as Gt } from "./components/primitives/Check.js";
98
+ import { Spinner as Kt } from "./components/primitives/Spinner.js";
99
+ import { DateInput as qt, FieldLabel as Jt, JsonField as Yt, MultiSelect as Xt, PasswordInput as Zt, QuickEditCell as Qt, RefField as $t, Select as en, TagsInput as tn, TextArea as nn, TextInput as rn, ViewField as an } from "./components/primitives/Fields.js";
93
100
  import { SquareImage as on } from "./components/file-widgets/SquareImage.js";
94
101
  import { CircleImage as sn } from "./components/file-widgets/CircleImage.js";
95
102
  import { WideBanner as cn } from "./components/file-widgets/WideBanner.js";
96
- import { fileSelectionReducer as ln, summarizeFileSelections as un, useFileSelection as dn } from "./components/file-widgets/useFileSelection.js";
97
- import { StructureField as fn } from "./components/fields/StructureField.js";
98
- import { useLiveObject as pn } from "./hooks/useLiveObject.js";
99
- import { useCreateObject as mn, useDeleteObject as hn, useUpdateObject as gn } from "./hooks/useMutations.js";
100
- import { useSetStatus as _n } from "./hooks/useObjectStatus.js";
101
- import { useDeleteProperty as vn, useSetProperty as yn } from "./hooks/useProperties.js";
102
- import { NO_VALUE_OPS as bn, OP_LABELS as xn, countActiveFilters as Sn, hasOrGroups as Cn, parseFilterURLState as wn, parseFiltersFromURL as Tn, setFiltersInURL as En } from "./lib/filters.js";
103
- import { useFilters as Dn } from "./hooks/useFilters.js";
104
- import { useColumns as On } from "./hooks/useColumns.js";
105
- import { getLayoutWidget as kn, hasLayoutWidget as An, registerLayoutWidget as jn } from "./components/detail-layout/widgets/registry.js";
106
- import { useScreenBack as Mn } from "./hooks/useScreenBack.js";
107
- import { usePageState as Nn } from "./hooks/usePageState.js";
108
- import { useTabSearchMirror as Pn } from "./hooks/useTabSearchMirror.js";
109
- import { useScreenTab as Fn } from "./hooks/useScreenTab.js";
110
- import { SCROLL_STATE_KEY as In, usePlainScrollRestoration as Ln, useSavedScrollOffset as Rn, useVirtualScrollRestoration as zn } from "./lib/scroll-restoration.js";
111
- import { PageHeader as Bn } from "./components/chrome/PageHeader.js";
112
- import { EmptyState as Vn } from "./components/shared/EmptyState.js";
113
- import { FilterDrawer as Hn } from "./components/filters/FilterDrawer.js";
114
- import { FilterChips as Un } from "./components/filters/FilterChips.js";
115
- import { ColumnPicker as Wn } from "./components/list/ColumnPicker.js";
116
- import { ViewSwitcher as Gn } from "./components/list/ViewSwitcher.js";
117
- import { evaluateFilterTree as Kn } from "./lib/filter-evaluator.js";
118
- import { commonVariantActionCodes as qn, effectiveScreenForRecord as Jn, resolveEntityVariantCode as Yn, resolveScreenVariantCode as Xn, variantActionCodesForRecord as Zn } from "./lib/variants.js";
119
- import { ObjectActionBar as Qn, useObjectActions as $n } from "./components/actions/ObjectActionBar.js";
120
- import { RefreshControl as er } from "./components/shared/RefreshControl.js";
121
- import { QEField as tr, QuickPeek as nr } from "./components/list/QuickPeek.js";
122
- import { InlineEditCell as rr } from "./components/list/InlineEditCell.js";
123
- import { ChangePasswordDialog as ir } from "./components/shared/ChangePasswordDialog.js";
124
- import { ImpersonationStartModal as ar } from "./components/layout/ImpersonationStartModal.js";
125
- import { AgentElicitForm as or } from "./components/agents/AgentElicitForm.js";
126
- import { AgentPicker as sr } from "./components/agents/AgentPicker.js";
127
- import { AgentConversationDrawer as cr } from "./components/agents/AgentConversationDrawer.js";
128
- import { answerQuestion as lr, approveInvocation as ur, cancelConversation as dr, cancelInvocation as fr, createConversation as pr, listAvailableAgents as mr, listConversations as hr, loadConversationInvocations as gr, loadConversationTurns as _r, loadHistory as vr, rejectInvocation as yr, sendElicitResponse as br, sendMessage as xr } from "./api/agents.js";
129
- import { useAgentConversation as Sr } from "./hooks/useAgentConversation.js";
130
- import { formatCount as Cr, formatEstimatedCount as wr, formatExactCount as Tr } from "./lib/format-count.js";
131
- import { buildMassEditTargets as Er, parseTargetFilter as Dr } from "./lib/mass-edit.js";
132
- import { MULTIPLE_VALUES as Or, PropertyGridEditor as kr, detectCommonValue as Ar } from "./components/actions/PropertyGridEditor.js";
103
+ import { getFileWidget as ln, hasFileWidget as un, registerFileWidget as dn } from "./components/file-widgets/registry.js";
104
+ import { UploadError as fn, discardFile as pn, formatBytes as mn, uploadFile as hn, validateClientSide as gn } from "./components/file-widgets/upload.js";
105
+ import { getImageCropper as _n, setImageCropper as vn } from "./components/file-widgets/cropper.js";
106
+ import { FileDraftScope as yn, useDraftRegistration as bn, useFileDraftScope as xn } from "./components/file-widgets/draft-scope.js";
107
+ import { fileSelectionReducer as Sn, summarizeFileSelections as Cn, useFileSelection as wn } from "./components/file-widgets/useFileSelection.js";
108
+ import { Rail as Tn } from "./components/layout/Rail.js";
109
+ import { Sidebar as En, buildSections as Dn } from "./components/layout/Sidebar.js";
110
+ import { TopBar as On } from "./components/layout/TopBar.js";
111
+ import { TenantChip as kn, envTone as An } from "./components/layout/TenantChip.js";
112
+ import { TabStrip as jn } from "./components/layout/TabStrip.js";
113
+ import { ImpersonationBanner as Mn } from "./components/layout/ImpersonationBanner.js";
114
+ import { ImpersonationFrame as Nn } from "./components/layout/ImpersonationFrame.js";
115
+ import { ImpersonationStartModal as Pn } from "./components/layout/ImpersonationStartModal.js";
116
+ import { useImpersonation as Fn } from "./hooks/useImpersonation.js";
117
+ import { CommandPalette as In } from "./components/layout/CommandPalette.js";
118
+ import { AgentChatPanel as Ln } from "./components/agents/AgentChatPanel.js";
119
+ import { AgentElicitForm as Rn } from "./components/agents/AgentElicitForm.js";
120
+ import { AgentPicker as zn } from "./components/agents/AgentPicker.js";
121
+ import { AgentConversationDrawer as Bn } from "./components/agents/AgentConversationDrawer.js";
122
+ import { useAgentConversation as Vn } from "./hooks/useAgentConversation.js";
123
+ import { answerQuestion as Hn, approveInvocation as Un, cancelConversation as Wn, cancelInvocation as Gn, createConversation as Kn, listAvailableAgents as qn, listConversations as Jn, loadConversationInvocations as Yn, loadConversationTurns as Xn, loadHistory as Zn, rejectInvocation as Qn, sendElicitResponse as $n, sendMessage as er } from "./api/agents.js";
124
+ import { Breadcrumbs as tr } from "./components/chrome/Breadcrumbs.js";
125
+ import { NO_VALUE_OPS as nr, OP_LABELS as rr, countActiveFilters as ir, hasOrGroups as ar, parseFilterURLState as or, parseFiltersFromURL as sr, setFiltersInURL as cr } from "./lib/filters.js";
126
+ import { evaluateFilterTree as lr } from "./lib/filter-evaluator.js";
127
+ import { commonVariantActionCodes as ur, effectiveScreenForRecord as dr, resolveEntityVariantCode as fr, resolveScreenVariantCode as pr, variantActionCodesForRecord as mr } from "./lib/variants.js";
128
+ import { formatCount as hr, formatEstimatedCount as gr, formatExactCount as _r } from "./lib/format-count.js";
129
+ import { buildMassEditTargets as vr, parseTargetFilter as yr } from "./lib/mass-edit.js";
130
+ import { MULTIPLE_VALUES as br, PropertyGridEditor as xr, detectCommonValue as Sr } from "./components/actions/PropertyGridEditor.js";
131
+ import { ClassifiedFieldLocked as Cr } from "./components/primitives/ClassifiedFieldLocked.js";
132
+ import { classificationTier as wr, fieldAccessInfo as Tr, fieldClassification as Er, fieldRequiredPermission as Dr, isFieldReadable as Or, isFieldSoDProtected as kr, isFieldWritable as Ar } from "./lib/field-classification.js";
133
133
  import { useLocation as jr, useNavigate as Mr, useParams as Nr, useSearchParams as Pr } from "react-router";
134
- export { ct as ACTION_DATA_CURSOR_KEY, lt as ACTION_DATA_KEY, k as ActionBatchError, bt as ActionRunnerProvider, et as AgentChatPanel, cr as AgentConversationDrawer, or as AgentElicitForm, sr as AgentPicker, $ as App, Et as AuthShell, B as Avatar, Lt as Batch, se as BoolToggle, V as BrandGlyph, Je as Breadcrumbs, I as Btn, ee as CURSOR_LANGUAGE_CHANGED, te as CURSOR_SEMANTICS_MISMATCH, ir as ChangePasswordDialog, le as Check, K as Chip, sn as CircleImage, de as ClassifiedFieldLocked, Wn as ColumnPicker, $e as CommandPalette, Pe as ConfirmDialog, Pt as CurrentScreenProvider, Z as DEFAULT_RESPONSIVE_BREAKPOINTS, fe as DateInput, $ as Declarion, H as Dropdown, je as DynamicIcon, Vn as EmptyState, mt as EntityClient, pe as FieldLabel, nn as FileDraftScope, Un as FilterChips, Hn as FilterDrawer, kt as Forgot, U as HoverCard, F as Icon, L as IconBtn, Ze as ImpersonationBanner, Qe as ImpersonationFrame, ar as ImpersonationStartModal, W as InfoTooltip, rr as InlineEditCell, me as JsonField, z as Kbd, x as MANDATORY_LANGUAGE, Or as MULTIPLE_VALUES, ce as MenuItem, he as MultiSelect, bn as NO_VALUE_OPS, xn as OP_LABELS, Qn as ObjectActionBar, e as OrderedMap, Ct as PAGE_STATE_TTL_PARAM, Bn as PageHeader, ge as PasswordInput, R as Pill, Mt as Preferences, jt as Profile, kr as PropertyGridEditor, tr as QEField, _e as QuickEditCell, nr as QuickPeek, Me as Rail, X as RecordIdBadge, ht as RefCache, Gt as RefCombobox, ve as RefField, er as RefreshControl, Q as Reset, ie as ResponsiveModeProvider, oe as RowField, In as SCROLL_STATE_KEY, J as SectionCard, ye as Select, He as Sidebar, Dt as SignIn, Ot as SignUp, _ as SmartDetailPage, v as SmartListPage, y as SmartRecordListPage, ue as Spinner, on as SquareImage, Y as StatTile, fn as StructureField, Xe as TabStrip, be as TagsInput, Ke as TenantChip, xe as TextArea, Se as TextInput, G as Tooltip, Ye as TopBar, At as TwoFA, Yt as UploadError, Ce as ViewField, Gn as ViewSwitcher, cn as WideBanner, ut as actionDataQueryKey, lr as answerQuestion, ur as approveInvocation, A as buildActionBody, o as buildDetailHrefFromId, s as buildEntityDetailHref, Er as buildMassEditTargets, c as buildRowDetailHref, Ue as buildSections, dr as cancelConversation, fr as cancelInvocation, St as canonicalUrl, tt as classificationTier, t as coerceDisplayString, qn as commonVariantActionCodes, Sn as countActiveFilters, pr as createConversation, dt as cursorActionDataQueryKey, _t as cursorEntityDataQueryKey, vt as cursorEntityStableKey, j as deleteObject, Ar as detectCommonValue, Xt as discardFile, n as editorWallClock, r as editorWireValue, Jn as effectiveScreenForRecord, gt as entityClient, Ie as entityDataQueryKey, qe as envTone, Kn as evaluateFilterTree, M as executeAction, l as extractPkValues, P as failureTitle, nt as fieldAccessInfo, rt as fieldClassification, u as fieldDisplayName, it as fieldRequiredPermission, Ht as fileReferenceJSONQueryKey, ln as fileSelectionReducer, Zt as formatBytes, Cr as formatCount, wr as formatEstimatedCount, Tr as formatExactCount, It as formatMoneyText, i as formatOffsetTimestamp, Kt as getFileWidget, ke as getIcon, en as getImageCropper, kn as getLayoutWidget, d as getPrimaryKeyFields, qt as hasFileWidget, An as hasLayoutWidget, Cn as hasOrGroups, ne as isCursorStaleError, at as isFieldReadable, ot as isFieldSoDProtected, st as isFieldWritable, mr as listAvailableAgents, hr as listConversations, gr as loadConversationInvocations, _r as loadConversationTurns, vr as loadHistory, S as makeTextFn, Bt as objectQueryKey, wn as parseFilterURLState, Tn as parseFiltersFromURL, Dr as parseTargetFilter, C as pickLocalized, f as pkValuePartsToId, p as pkValuesFromId, m as pkValuesToDetailId, h as pkValuesToId, w as pluralText, we as readDisplayState, Jt as registerFileWidget, jn as registerLayoutWidget, Nt as registerScreen, yr as rejectInvocation, E as reresolveLanguage, g as resolveDetailRoute, Yn as resolveEntityVariantCode, Xn as resolveScreenVariantCode, re as resolveViewportCategory, N as restoreObject, br as sendElicitResponse, xr as sendMessage, En as setFiltersInURL, Ae as setIconRegistry, tn as setImageCropper, un as summarizeFileSelections, T as textWithNodes, Qt as uploadFile, ft as useActionData, xt as useActionRunner, Sr as useAgentConversation, Rt as useAggregate, zt as useAllEntityData, We as useAuth, On as useColumns, mn as useCreateObject, Ft as useCurrentScreen, pt as useCursorActionData, yt as useCursorEntityData, Wt as useDebounce, hn as useDeleteObject, vn as useDeleteProperty, D as useDeploymentLanguage, rn as useDraftRegistration, Te as useEffectiveParam, ze as useEntity, Le as useEntityCount, Re as useEntityData, an as useFileDraftScope, Ut as useFileReferenceJSON, dn as useFileSelection, Dn as useFilters, Ge as useImpersonation, O as useLanguage, pn as useLiveObject, jr as useLocation, Mr as useNavigate, Vt as useObject, $n as useObjectActions, Nn as usePageState, wt as usePageStateTtl, Ee as useParam, Nr as useParams, Ln as usePlainScrollRestoration, De as usePublicParams, Tt as useRegisterRetainedQuery, Oe as useResolvedParam, ae as useResponsiveMode, Rn as useSavedScrollOffset, b as useSchema, Be as useScreen, Mn as useScreenBack, Fn as useScreenTab, Pr as useSearchParams, yn as useSetProperty, _n as useSetStatus, Fe as useTabNavigate, Pn as useTabSearchMirror, Ne as useTabStore, q as useText, gn as useUpdateObject, Ve as useViews, zn as useVirtualScrollRestoration, $t as validateClientSide, Zn as variantActionCodesForRecord, a as zoneMark };
134
+ export { Z as ACTION_DATA_CURSOR_KEY, Q as ACTION_DATA_KEY, T as ActionBatchError, lt as ActionRunnerProvider, Ln as AgentChatPanel, Bn as AgentConversationDrawer, Rn as AgentElicitForm, zn as AgentPicker, e as App, Ct as AuthShell, Mt as Avatar, A as Batch, Ut as BoolToggle, Nt as BrandGlyph, tr as Breadcrumbs, Ot as Btn, p as CURSOR_LANGUAGE_CHANGED, m as CURSOR_SEMANTICS_MISMATCH, Et as ChangePasswordDialog, Gt as Check, Rt as Chip, sn as CircleImage, Cr as ClassifiedFieldLocked, st as ColumnPicker, In as CommandPalette, it as ConfirmDialog, P as CurrentScreenProvider, pe as DEFAULT_RESPONSIVE_BREAKPOINTS, qt as DateInput, e as Declarion, Pt as Dropdown, tt as DynamicIcon, rt as EmptyState, S as EntityClient, Jt as FieldLabel, yn as FileDraftScope, ot as FilterChips, at as FilterDrawer, bt as Forgot, Ft as HoverCard, Dt as Icon, kt as IconBtn, Mn as ImpersonationBanner, Nn as ImpersonationFrame, Pn as ImpersonationStartModal, It as InfoTooltip, _t as InlineEditCell, Yt as JsonField, jt as Kbd, je as MANDATORY_LANGUAGE, br as MULTIPLE_VALUES, Wt as MenuItem, Xt as MultiSelect, nr as NO_VALUE_OPS, rr as OP_LABELS, dt as ObjectActionBar, t as OrderedMap, We as PAGE_STATE_TTL_PARAM, nt as PageHeader, Zt as PasswordInput, At as Pill, Tt as Preferences, wt as Profile, xr as PropertyGridEditor, ht as QEField, Qt as QuickEditCell, gt as QuickPeek, Tn as Rail, Vt as RecordIdBadge, C as RefCache, mt as RefCombobox, $t as RefField, pt as RefreshControl, xt as Reset, se as ResponsiveModeProvider, Ht as RowField, Je as SCROLL_STATE_KEY, zt as SectionCard, en as Select, En as Sidebar, vt as SignIn, yt as SignUp, $e as SmartDetailPage, Qe as SmartListPage, et as SmartRecordListPage, Kt as Spinner, on as SquareImage, Bt as StatTile, Y as StructureField, jn as TabStrip, tn as TagsInput, kn as TenantChip, nn as TextArea, rn as TextInput, Lt as Tooltip, On as TopBar, St as TwoFA, fn as UploadError, an as ViewField, ct as ViewSwitcher, cn as WideBanner, $ as actionDataQueryKey, Hn as answerQuestion, Un as approveInvocation, E as buildActionBody, n as buildDetailHrefFromId, r as buildEntityDetailHref, vr as buildMassEditTargets, i as buildRowDetailHref, Dn as buildSections, Wn as cancelConversation, Gn as cancelInvocation, He as canonicalUrl, wr as classificationTier, g as coerceDisplayString, ur as commonVariantActionCodes, ir as countActiveFilters, Kn as createConversation, ee as cursorActionDataQueryKey, V as cursorEntityDataQueryKey, H as cursorEntityStableKey, D as deleteObject, Sr as detectCommonValue, pn as discardFile, _ as editorWallClock, v as editorWireValue, dr as effectiveScreenForRecord, w as entityClient, L as entityDataQueryKey, An as envTone, lr as evaluateFilterTree, O as executeAction, a as extractPkValues, Ie as failureTitle, Tr as fieldAccessInfo, Er as fieldClassification, o as fieldDisplayName, Dr as fieldRequiredPermission, q as fileReferenceJSONQueryKey, Sn as fileSelectionReducer, mn as formatBytes, hr as formatCount, gr as formatEstimatedCount, _r as formatExactCount, x as formatMoneyText, y as formatOffsetTimestamp, ln as getFileWidget, Se as getIcon, _n as getImageCropper, we as getLayoutWidget, s as getPrimaryKeyFields, un as hasFileWidget, Te as hasLayoutWidget, ar as hasOrGroups, h as isCursorStaleError, Or as isFieldReadable, kr as isFieldSoDProtected, Ar as isFieldWritable, qn as listAvailableAgents, Jn as listConversations, Yn as loadConversationInvocations, Xn as loadConversationTurns, Zn as loadHistory, Me as makeTextFn, G as objectQueryKey, or as parseFilterURLState, sr as parseFiltersFromURL, yr as parseTargetFilter, Ne as pickLocalized, c as pkValuePartsToId, l as pkValuesFromId, u as pkValuesToDetailId, d as pkValuesToId, Pe as pluralText, Le as readDisplayState, dn as registerFileWidget, Ee as registerLayoutWidget, xe as registerScreen, Qn as rejectInvocation, De as reresolveLanguage, f as resolveDetailRoute, fr as resolveEntityVariantCode, pr as resolveScreenVariantCode, me as resolveViewportCategory, k as restoreObject, $n as sendElicitResponse, er as sendMessage, cr as setFiltersInURL, Ce as setIconRegistry, vn as setImageCropper, Cn as summarizeFileSelections, Fe as textWithNodes, hn as uploadFile, te as useActionData, ut as useActionRunner, Vn as useAgentConversation, B as useAggregate, W as useAllEntityData, I as useAuth, ye as useColumns, re as useCreateObject, F as useCurrentScreen, ne as useCursorActionData, U as useCursorEntityData, oe as useDebounce, ie as useDeleteObject, ge as useDeleteProperty, Oe as useDeploymentLanguage, bn as useDraftRegistration, le as useEffectiveParam, M as useEntity, R as useEntityCount, z as useEntityData, xn as useFileDraftScope, J as useFileReferenceJSON, wn as useFileSelection, ve as useFilters, Fn as useImpersonation, ke as useLanguage, X as useLiveObject, jr as useLocation, Mr as useNavigate, K as useObject, ft as useObjectActions, Ve as usePageState, Ge as usePageStateTtl, ue as useParam, Nr as useParams, Ye as usePlainScrollRestoration, de as usePublicParams, Ue as useRegisterRetainedQuery, fe as useResolvedParam, ce as useResponsiveMode, Xe as useSavedScrollOffset, j as useSchema, N as useScreen, Be as useScreenBack, Ke as useScreenTab, Pr as useSearchParams, _e as useSetProperty, he as useSetStatus, ze as useTabNavigate, qe as useTabSearchMirror, Re as useTabStore, Ae as useText, ae as useUpdateObject, be as useViews, Ze as useVirtualScrollRestoration, gn as validateClientSide, mr as variantActionCodesForRecord, b as zoneMark };
@@ -1,7 +1,6 @@
1
1
  import { executeUISteps as e, isUIAction as t } from "./ui-actions.js";
2
- //#region src/lib/action-dispatch.ts
2
+ // src/lib/action-dispatch.ts
3
3
  function n(n, r, i, a, o) {
4
4
  return t(i) ? (e(n, i.ui_steps, a), null) : i.entity ? `${i.entity}.${r}` : o ? `${o}.${r}` : r;
5
5
  }
6
- //#endregion
7
6
  export { n as dispatchAction };
@@ -1,6 +1,6 @@
1
- import { coerceDisplayString as e } from "./display-value.js";
2
- import { entityAllowsMutation as t, extractPkValues as n, pkValuesToDetailId as r, rowSetInTenant as i } from "../types/schema.js";
3
- //#region src/lib/actions.ts
1
+ import { entityAllowsMutation as e, extractPkValues as t, pkValuesToDetailId as n, rowSetInTenant as r } from "../types/schema.js";
2
+ import { coerceDisplayString as i } from "./display-value.js";
3
+ // src/lib/actions.ts
4
4
  var a = {
5
5
  __create: "create",
6
6
  __edit: "update",
@@ -10,13 +10,13 @@ var a = {
10
10
  function l(e) {
11
11
  return e === "__peek" || e === "__open";
12
12
  }
13
- function u(t, i) {
14
- if (!t) return "";
15
- if (i) try {
16
- return r(i, n(i, t));
13
+ function u(e, r) {
14
+ if (!e) return "";
15
+ if (r) try {
16
+ return n(r, t(r, e));
17
17
  } catch {}
18
- let a = t.id;
19
- return typeof a == "string" ? a : a == null ? "" : e(a);
18
+ let a = e.id;
19
+ return typeof a == "string" ? a : a == null ? "" : i(a);
20
20
  }
21
21
  function d(e, t, n) {
22
22
  if (!e || e.length === 0) return !0;
@@ -58,20 +58,20 @@ function m(e, t) {
58
58
  resolved: !1
59
59
  };
60
60
  }
61
- function h(t, n, r) {
62
- let { value: i, resolved: a } = m(t.value, r);
61
+ function h(e, t, n) {
62
+ let { value: r, resolved: a } = m(e.value, n);
63
63
  if (!a) return !1;
64
64
  let o = {
65
- ...t,
66
- value: i
65
+ ...e,
66
+ value: r
67
67
  };
68
- if (f(n, o.field)) return !1;
69
- let s = g(n, o.field), c = o.op || "eq";
68
+ if (f(t, o.field)) return !1;
69
+ let s = g(t, o.field), c = o.op || "eq";
70
70
  if (c === "in" || c === "not_in") {
71
- let t = Array.isArray(o.value) ? o.value : [o.value], n = e(s), r = t.some((t) => e(t) === n);
72
- return c === "in" ? r : !r;
71
+ let e = Array.isArray(o.value) ? o.value : [o.value], t = i(s), n = e.some((e) => i(e) === t);
72
+ return c === "in" ? n : !n;
73
73
  }
74
- return typeof o.value == "boolean" && c === "eq" ? v(s) === o.value : typeof s == "number" && typeof o.value == "number" ? y(s, o.value, c) : y(e(s), e(o.value), c);
74
+ return typeof o.value == "boolean" && c === "eq" ? v(s) === o.value : typeof s == "number" && typeof o.value == "number" ? y(s, o.value, c) : y(i(s), i(o.value), c);
75
75
  }
76
76
  function g(e, t) {
77
77
  if (Object.prototype.hasOwnProperty.call(e, t)) return e[t];
@@ -134,16 +134,16 @@ function x(e, t, n, r) {
134
134
  }
135
135
  function S(e, t) {
136
136
  let n = a[e];
137
- return !n || n === "create" ? () => !0 : (e) => i(t.entity, e, t.tenantId);
137
+ return !n || n === "create" ? () => !0 : (e) => r(t.entity, e, t.tenantId);
138
138
  }
139
- function C(e, n) {
140
- return e.filter(({ code: e }) => {
141
- let r = a[e];
142
- return !r || t(n, r);
139
+ function C(t, n) {
140
+ return t.filter(({ code: t }) => {
141
+ let r = a[t];
142
+ return !r || e(n, r);
143
143
  });
144
144
  }
145
- function w(e, n, r) {
146
- return e?.type !== "list" || !e.entity || !t(n, "create") ? !1 : C(x(n?.actions, e.actions, "list_toolbar", r), n).some(({ code: e }) => e === "__new" || e === "__create");
145
+ function w(t, n, r) {
146
+ return t?.type !== "list" || !t.entity || !e(n, "create") ? !1 : C(x(n?.actions, t.actions, "list_toolbar", r), n).some(({ code: e }) => e === "__new" || e === "__create");
147
147
  }
148
148
  function T(e) {
149
149
  return !!e?.confirmation && Object.keys(e.confirmation).length > 0;
@@ -224,7 +224,7 @@ function F(e, t, n, r, i) {
224
224
  let n = d(a, e, i) && d(s, e, i);
225
225
  n && c++;
226
226
  let f = t && d(o, e, i);
227
- (!n || !f) && l++;
227
+ n && f || l++;
228
228
  }
229
229
  if (c === 0) return {
230
230
  visible: !1,
@@ -326,5 +326,4 @@ function W(e, t) {
326
326
  reason: null
327
327
  })) : [];
328
328
  }
329
- //#endregion
330
329
  export { c as EDIT_ACTION_CODE, s as OPEN_ACTION_CODE, o as PEEK_ACTION_CODE, g as actionConditionFieldValue, E as actionConfirmMessage, H as actionInFloatbarSlot, D as actionNeedsConfirm, V as actionRequiresSelection, O as actionTooltip, j as applyRowState, W as defaultFlatForSlot, U as disableLeavesWhere, d as evaluateConditions, z as filterLayoutForSlot, C as filterUnavailableMutationActions, A as findListScreenForEntity, b as getActionsByVisibility, x as getScreenActions, k as isAssociationAction, l as isNavDefaultCode, B as resolveActionLayoutForSlot, u as rowDetailId, w as screenOffersCreate, _ as withActionConditionFields };
@@ -1,4 +1,4 @@
1
- //#region src/lib/anchor.ts
1
+ // src/lib/anchor.ts
2
2
  var e = 1, t = 1e3 * e, n = 60 * t, r = 60 * n, i = 24 * r, a = 7 * i, o = 36500 * i, s = {
3
3
  ns: 1e-6,
4
4
  us: .001,
@@ -37,5 +37,4 @@ function d(e) {
37
37
  }
38
38
  return n;
39
39
  }
40
- //#endregion
41
40
  export { o as MAX_DURATION_MAGNITUDE_MS, d as parseAnchorOffsetMs, u as parseDurationMagnitudeMs };
@@ -1,4 +1,4 @@
1
- //#region src/lib/brand-tokens.ts
1
+ // src/lib/brand-tokens.ts
2
2
  var e = ["light", "dark"], t = [
3
3
  "page_title_size",
4
4
  "page_title_line_height",
@@ -91,5 +91,4 @@ function f(e) {
91
91
  let i = document.getElementById(d);
92
92
  i && i.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING && t.appendChild(i);
93
93
  }
94
- //#endregion
95
94
  export { n as BRAND_COLOR_FIELDS, u as BRAND_TOKENS_STYLE_ID, t as BRAND_TYPOGRAPHY_FIELDS, e as COLOR_SCHEMES, d as CONSUMER_BRAND_CSS_ID, f as applyBrandTokens, l as brandTokenCss, r as cssPropertyFor };
@@ -1,4 +1,4 @@
1
- //#region src/lib/branding.ts
1
+ // src/lib/branding.ts
2
2
  var e = "branding";
3
3
  function t(e, t) {
4
4
  return e?.parameters.find((e) => e.code === t)?.value;
@@ -21,5 +21,4 @@ function o(e) {
21
21
  let t = e.trim();
22
22
  return t ? t.startsWith("/") || t.startsWith("http://") || t.startsWith("https://") || t.startsWith("data:image/") : !1;
23
23
  }
24
- //#endregion
25
24
  export { e as BRANDING_PARAM_CODE, r as brandingFromValue, i as getBrandingIdentity, n as getPublicBranding, o as isValidLogoUrl, t as publicParamValue };
@@ -1,5 +1,5 @@
1
1
  import { EMBED_PARAM_KEYS as e } from "../embed/params.js";
2
- //#region src/lib/canonical-url.ts
2
+ // src/lib/canonical-url.ts
3
3
  function t(e) {
4
4
  return e.length > 1 && e.endsWith("/") ? e.replace(/\/+$/, "") || "/" : e;
5
5
  }
@@ -13,5 +13,4 @@ function n(n) {
13
13
  function r(e) {
14
14
  return t(e.pathname);
15
15
  }
16
- //#endregion
17
16
  export { r as canonicalPath, n as canonicalUrl };
@@ -2,7 +2,7 @@ import { loadSmartDetailPage as e } from "../components/pages/SmartDetailPage.js
2
2
  import { loadSmartListPage as t } from "../components/pages/SmartListPage.js";
3
3
  import { loadSmartRecordListPage as n } from "../components/pages/SmartRecordListPage.js";
4
4
  import { useEffect as r } from "react";
5
- //#region src/lib/capabilityPrefetch.ts
5
+ // src/lib/capabilityPrefetch.ts
6
6
  var i = [
7
7
  () => import("../components/shared/MarkdownRenderer.js"),
8
8
  () => import("../components/fields/JsonEditor.js"),
@@ -53,5 +53,4 @@ function p() {
53
53
  };
54
54
  }, []);
55
55
  }
56
- //#endregion
57
56
  export { d as markFirstScreenSettled, u as prefetchHeavyCapabilities, f as useFirstScreenSettled, p as useFirstScreenSettledOnInput, s as warmRoutePages };
@@ -1,5 +1,5 @@
1
1
  import { entityAllowsMutation as e, getPrimaryKeyFields as t } from "../types/schema.js";
2
- //#region src/lib/child-config.ts
2
+ // src/lib/child-config.ts
3
3
  function n(e, t, n) {
4
4
  let l = e.display, u = r(n?.mode, l?.mode, "table"), d = u === "timeline" ? 50 : 20, f = {
5
5
  entity: e.entity,
@@ -116,5 +116,4 @@ function _(e, t, r) {
116
116
  let i = h(t, e.children), a = i ? r[i.entity] : void 0;
117
117
  return !i || !a ? !1 : g(n(i, a, e), a);
118
118
  }
119
- //#endregion
120
119
  export { g as editsChildrenInline, h as findChildRelation, m as findPrimaryKey, s as inferColumns, o as inferSort, c as inferTimelineFields, n as resolveChildConfig, _ as showsOnNewRecord };
@@ -1,4 +1,4 @@
1
- //#region src/lib/children-validation.ts
1
+ // src/lib/children-validation.ts
2
2
  function e(e, t, n) {
3
3
  let r = [];
4
4
  for (let [i, a] of e.fields) {
@@ -35,7 +35,7 @@ function i(e, t) {
35
35
  let e = t.entities[i];
36
36
  if (!e) continue;
37
37
  let o = r(i, t), s = [];
38
- for (let [t, n] of e.fields) e.tenant_key && t === e.tenant_key || n.required && !n.auto && !n.generate && !n.primary && !o.has(t) && s.push(t);
38
+ for (let [t, n] of e.fields) e.tenant_key && t === e.tenant_key || !n.required || n.auto || n.generate || n.primary || o.has(t) || s.push(t);
39
39
  if (s.length !== 0) for (let e of a) {
40
40
  if (e._deleted) continue;
41
41
  let t = [];
@@ -48,5 +48,4 @@ function i(e, t) {
48
48
  }
49
49
  return n;
50
50
  }
51
- //#endregion
52
51
  export { n as findInvalidEmailFields, e as findMissingRequiredFields, i as validatePendingChildren };
@@ -1,4 +1,4 @@
1
- //#region src/lib/date-text.ts
1
+ // src/lib/date-text.ts
2
2
  var e = /^(\d{4})-(\d{2})-(\d{2})$/, t = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})$/, n = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$|^(\d{2})(\d{2})(\d{4})$/, r = /^(\d{4})-(\d{1,2})-(\d{1,2})$/, i = /^(\d{1,2}):(\d{2})$/;
3
3
  function a(t) {
4
4
  let n = e.exec(t);
@@ -53,5 +53,4 @@ function d(e) {
53
53
  function f(e) {
54
54
  return String(e).padStart(2, "0");
55
55
  }
56
- //#endregion
57
56
  export { e as CIVIL_DATE, a as formatCivilDateText, o as formatDateText, c as isDateDraft, s as parseDateText };
@@ -1,4 +1,4 @@
1
- //#region src/lib/decimal-text.ts
1
+ // src/lib/decimal-text.ts
2
2
  function e(e, t) {
3
3
  let n = e.trim();
4
4
  if (n === "" || n === "-") return n;
@@ -11,5 +11,4 @@ function e(e, t) {
11
11
  let s = r ? `-${o}` : o, c = a?.replace(/0+$/, "") ?? "";
12
12
  return c === "" ? s : `${s}${t.formatToParts(1.1).find((e) => e.type === "decimal")?.value ?? "."}${c}`;
13
13
  }
14
- //#endregion
15
14
  export { e as formatDecimalText };
@@ -1,4 +1,4 @@
1
- //#region src/lib/display-value.ts
1
+ // src/lib/display-value.ts
2
2
  function e(e) {
3
3
  if (e == null) return "";
4
4
  switch (typeof e) {
@@ -15,5 +15,4 @@ function e(e) {
15
15
  default: return "";
16
16
  }
17
17
  }
18
- //#endregion
19
18
  export { e as coerceDisplayString };
@@ -1,6 +1,5 @@
1
- //#region src/lib/document-templates.ts
1
+ // src/lib/document-templates.ts
2
2
  function e(e) {
3
3
  return !!e?.entities?.document_template;
4
4
  }
5
- //#endregion
6
5
  export { e as canManageDocumentTemplates };