@declarion/react 0.54.0 → 0.56.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 (175) hide show
  1. package/dist-lib/{DraggableChildrenTable-CPoUY99R.js → DraggableChildrenTable-BV5sb8Uo.js} +32 -32
  2. package/dist-lib/{Grid--QAEby8k.js → Grid-DWgUPuZ3.js} +45 -45
  3. package/dist-lib/{JsonEditor-DoNmyrYd.js → JsonEditor-Dz1PQHC8.js} +2 -2
  4. package/dist-lib/{LayoutRenderer-BxZ7Nd9b.js → LayoutRenderer-C9AH9cXf.js} +716 -714
  5. package/dist-lib/{ListCardsBody-BPV4GPrv.js → ListCardsBody-DXcDg536.js} +29 -29
  6. package/dist-lib/{MarkdownRenderer-CIKuh_0i.js → MarkdownRenderer-CcSFc2N3.js} +1 -1
  7. package/dist-lib/{RefreshControl-DMLkZP3R.js → RefreshControl-CNtN8zSl.js} +41 -41
  8. package/dist-lib/{SmartDetailPage.impl-SnNu6Ug-.js → SmartDetailPage.impl-lskCd-WG.js} +492 -492
  9. package/dist-lib/{SmartListPage.impl-C73pR7Iw.js → SmartListPage.impl-CrGbdzyK.js} +744 -743
  10. package/dist-lib/{SmartRecordListPage.impl-rJjQZe1V.js → SmartRecordListPage.impl-Bkl9aZJ8.js} +129 -129
  11. package/dist-lib/{SortHeaderMenu-DQ_KrkWk.js → SortHeaderMenu-SYSAaqQJ.js} +1 -1
  12. package/dist-lib/{action-dispatch-DsuUS7ae.js → action-dispatch-CR4ajBtT.js} +179 -179
  13. package/dist-lib/api/auth.d.ts +1 -1
  14. package/dist-lib/api/batch.d.ts +1 -1
  15. package/dist-lib/api/data.d.ts +3 -3
  16. package/dist-lib/api/entities.d.ts +1 -1
  17. package/dist-lib/api/events.d.ts +13 -4
  18. package/dist-lib/api/params.d.ts +1 -1
  19. package/dist-lib/api/properties.d.ts +1 -1
  20. package/dist-lib/api/schema.d.ts +1 -1
  21. package/dist-lib/api/status.d.ts +1 -1
  22. package/dist-lib/{cardProjection-BadzqyeQ.js → cardProjection-CW5RIMko.js} +24 -24
  23. package/dist-lib/components/actions/ActionButton.d.ts +1 -1
  24. package/dist-lib/components/actions/ActionDialog.d.ts +1 -1
  25. package/dist-lib/components/actions/ActionRunner.d.ts +1 -1
  26. package/dist-lib/components/actions/ObjectActionBar.d.ts +3 -3
  27. package/dist-lib/components/actions/PropertyGridEditor.d.ts +2 -2
  28. package/dist-lib/components/actions/ResponsiveActionBar.d.ts +2 -2
  29. package/dist-lib/components/actions/RowActionsKebab.d.ts +1 -1
  30. package/dist-lib/components/agents/AgentConversationDrawer.d.ts +1 -1
  31. package/dist-lib/components/agents/AgentPicker.d.ts +1 -1
  32. package/dist-lib/components/agents/transcript-runs.d.ts +1 -1
  33. package/dist-lib/components/chrome/AssociationTabs.d.ts +1 -1
  34. package/dist-lib/components/chrome/Breadcrumbs.d.ts +1 -1
  35. package/dist-lib/components/detail-layout/AssociatedBlock.d.ts +1 -1
  36. package/dist-lib/components/detail-layout/AssociatedToolbar.d.ts +1 -1
  37. package/dist-lib/components/detail-layout/ChildrenBlock.d.ts +2 -2
  38. package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +2 -2
  39. package/dist-lib/components/detail-layout/DetailHighlights.d.ts +3 -3
  40. package/dist-lib/components/detail-layout/DraggableChildrenTable.d.ts +3 -3
  41. package/dist-lib/components/detail-layout/EditableChildrenTable.d.ts +3 -3
  42. package/dist-lib/components/detail-layout/EvidenceBlock.d.ts +1 -1
  43. package/dist-lib/components/detail-layout/FieldsBlock.d.ts +1 -1
  44. package/dist-lib/components/detail-layout/LayoutColumn.d.ts +1 -1
  45. package/dist-lib/components/detail-layout/LayoutRenderer.d.ts +3 -3
  46. package/dist-lib/components/detail-layout/LayoutRow.d.ts +1 -1
  47. package/dist-lib/components/detail-layout/LayoutTabs.d.ts +1 -1
  48. package/dist-lib/components/detail-layout/PropertiesBlock.d.ts +1 -1
  49. package/dist-lib/components/detail-layout/QuickAddForm.d.ts +2 -2
  50. package/dist-lib/components/detail-layout/SectionBlock.d.ts +1 -1
  51. package/dist-lib/components/detail-layout/StatusesBlock.d.ts +1 -1
  52. package/dist-lib/components/detail-layout/TimelineComposer.d.ts +2 -2
  53. package/dist-lib/components/detail-layout/blockMeta.d.ts +1 -1
  54. package/dist-lib/components/detail-layout/useQuickAdd.d.ts +2 -2
  55. package/dist-lib/components/detail-layout/widgets/WidgetHost.d.ts +1 -1
  56. package/dist-lib/components/fields/RefCombobox.d.ts +2 -2
  57. package/dist-lib/components/fields/cells/factories/host-icons.d.ts +1 -1
  58. package/dist-lib/components/fields/cells/registry.d.ts +2 -2
  59. package/dist-lib/components/fields/index.d.ts +3 -3
  60. package/dist-lib/components/file-widgets/helpers.d.ts +1 -1
  61. package/dist-lib/components/file-widgets/host.d.ts +3 -3
  62. package/dist-lib/components/file-widgets/payload.d.ts +2 -2
  63. package/dist-lib/components/file-widgets/types.d.ts +1 -1
  64. package/dist-lib/components/file-widgets/useEmbedFileSrc.d.ts +1 -1
  65. package/dist-lib/components/filters/FilterChips.d.ts +1 -1
  66. package/dist-lib/components/filters/FilterDrawer.d.ts +3 -3
  67. package/dist-lib/components/layout/CommandPalette.d.ts +2 -2
  68. package/dist-lib/components/layout/Layout.d.ts +3 -3
  69. package/dist-lib/components/layout/Rail.d.ts +2 -2
  70. package/dist-lib/components/layout/Sidebar.d.ts +1 -1
  71. package/dist-lib/components/layout/TabStrip.d.ts +1 -1
  72. package/dist-lib/components/layout/TenantChip.d.ts +1 -1
  73. package/dist-lib/components/layout/TopBar.d.ts +1 -1
  74. package/dist-lib/components/layout/tab-close.d.ts +1 -1
  75. package/dist-lib/components/list/InlineEditCell.d.ts +1 -1
  76. package/dist-lib/components/list/PeekFieldCell.d.ts +2 -2
  77. package/dist-lib/components/list/QuickPeek.d.ts +3 -3
  78. package/dist-lib/components/list/ViewSwitcher.d.ts +1 -1
  79. package/dist-lib/components/pages/DocumentsMenu.d.ts +1 -1
  80. package/dist-lib/components/pages/ExportMenu.d.ts +1 -1
  81. package/dist-lib/components/pages/RecordDocumentsPanel.d.ts +1 -1
  82. package/dist-lib/components/pages/auth/AuthShell.d.ts +1 -1
  83. package/dist-lib/components/pages/exportRequest.d.ts +1 -1
  84. package/dist-lib/components/pages/list/ListCardRow.d.ts +3 -3
  85. package/dist-lib/components/pages/list/ListCardsBody.d.ts +3 -3
  86. package/dist-lib/components/pages/list/ListFloatbar.d.ts +3 -3
  87. package/dist-lib/components/pages/list/ListHeader.d.ts +3 -3
  88. package/dist-lib/components/pages/list/ListNoRows.d.ts +1 -1
  89. package/dist-lib/components/pages/list/ListTable.d.ts +2 -2
  90. package/dist-lib/components/pages/list/ListTableRow.d.ts +1 -1
  91. package/dist-lib/components/pages/list/ListToolbar.d.ts +7 -5
  92. package/dist-lib/components/pages/list/RowActionsCell.d.ts +1 -1
  93. package/dist-lib/components/pages/list/RowContextMenu.d.ts +1 -1
  94. package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +1 -1
  95. package/dist-lib/components/pages/list/cardProjection.d.ts +2 -2
  96. package/dist-lib/components/pages/list/columns.d.ts +3 -3
  97. package/dist-lib/components/pages/list/filter-meta.d.ts +2 -2
  98. package/dist-lib/components/pages/list/sortable-header.d.ts +1 -1
  99. package/dist-lib/components/pages/list/table-features.d.ts +1 -1
  100. package/dist-lib/components/pages/list/use-filter-value-labels.d.ts +4 -4
  101. package/dist-lib/components/pages/list/useListColumnLayout.d.ts +1 -1
  102. package/dist-lib/components/pages/list/useListQuery.d.ts +4 -8
  103. package/dist-lib/components/pages/list/useListRowInteraction.d.ts +4 -4
  104. package/dist-lib/components/pages/list/useListSelection.d.ts +2 -2
  105. package/dist-lib/components/pages/list/useListSort.d.ts +1 -1
  106. package/dist-lib/components/pages/list/useListViews.d.ts +3 -3
  107. package/dist-lib/components/pages/list/useRowMenu.d.ts +3 -3
  108. package/dist-lib/components/pages/tenant-params/TenantParamsPage.d.ts +1 -1
  109. package/dist-lib/components/params/param-editors.d.ts +1 -1
  110. package/dist-lib/components/primitives/ClassifiedFieldLocked.d.ts +1 -1
  111. package/dist-lib/components/shared/MarkdownRenderer.d.ts +1 -1
  112. package/dist-lib/components/shared/StatusGroupsDisplay.d.ts +2 -2
  113. package/dist-lib/embed/screen-location.d.ts +1 -1
  114. package/dist-lib/{field-classification-sMkkAEg9.js → field-classification-D6xQYn-h.js} +271 -400
  115. package/dist-lib/{format-count-B5SLlNOb.js → format-count-Dobmi-Ji.js} +238 -238
  116. package/dist-lib/hooks/useAgentConversation.d.ts +1 -1
  117. package/dist-lib/hooks/useAllEntityData.d.ts +1 -1
  118. package/dist-lib/hooks/useAssociatedData.d.ts +1 -1
  119. package/dist-lib/hooks/useBranding.d.ts +4 -4
  120. package/dist-lib/hooks/useBrandingChrome.d.ts +2 -2
  121. package/dist-lib/hooks/useChildrenData.d.ts +1 -1
  122. package/dist-lib/hooks/useCurrentScreen.d.ts +1 -1
  123. package/dist-lib/hooks/useCursorEntityData.d.ts +5 -5
  124. package/dist-lib/hooks/useEntity.d.ts +1 -1
  125. package/dist-lib/hooks/useEntityData.d.ts +8 -1
  126. package/dist-lib/hooks/useFilters.d.ts +1 -1
  127. package/dist-lib/hooks/useImpersonation.d.ts +1 -1
  128. package/dist-lib/hooks/useLiveObject.d.ts +2 -2
  129. package/dist-lib/hooks/useMutations.d.ts +3 -3
  130. package/dist-lib/hooks/useObject.d.ts +1 -1
  131. package/dist-lib/hooks/useParams.d.ts +2 -2
  132. package/dist-lib/hooks/useRealtimeThresholds.d.ts +1 -0
  133. package/dist-lib/hooks/useRegisterScreenTab.d.ts +1 -1
  134. package/dist-lib/hooks/useResponsiveMode.d.ts +1 -1
  135. package/dist-lib/hooks/useSSE.d.ts +1 -2
  136. package/dist-lib/hooks/useScreen.d.ts +1 -1
  137. package/dist-lib/hooks/useTimelineData.d.ts +2 -2
  138. package/dist-lib/hooks/useViews.d.ts +1 -1
  139. package/dist-lib/index.js +811 -811
  140. package/dist-lib/lib/action-dispatch.d.ts +2 -2
  141. package/dist-lib/lib/actions.d.ts +1 -1
  142. package/dist-lib/lib/brand-tokens.d.ts +1 -1
  143. package/dist-lib/lib/branding.d.ts +1 -1
  144. package/dist-lib/lib/child-config.d.ts +1 -1
  145. package/dist-lib/lib/children-validation.d.ts +2 -2
  146. package/dist-lib/lib/document-templates.d.ts +1 -1
  147. package/dist-lib/lib/evidence-verdict.d.ts +1 -1
  148. package/dist-lib/lib/mass-edit.d.ts +1 -1
  149. package/dist-lib/lib/messages.d.ts +2 -2
  150. package/dist-lib/lib/realtime-query-keys.d.ts +22 -0
  151. package/dist-lib/lib/realtime-reconcile.d.ts +1 -10
  152. package/dist-lib/lib/realtime-resync.d.ts +23 -0
  153. package/dist-lib/lib/rich-text.d.ts +1 -1
  154. package/dist-lib/lib/schema-routing.d.ts +1 -1
  155. package/dist-lib/lib/screen-back.d.ts +1 -1
  156. package/dist-lib/lib/size-value.d.ts +1 -1
  157. package/dist-lib/lib/toast.d.ts +2 -2
  158. package/dist-lib/lib/ui-actions.d.ts +1 -1
  159. package/dist-lib/lib/variants.d.ts +1 -1
  160. package/dist-lib/{peekDraftStore-CbHFwz_F.js → peekDraftStore-5wQ7lq_V.js} +17 -17
  161. package/dist-lib/{registry-D0RhCnEL.js → registry-CjgUaF7C.js} +511 -511
  162. package/dist-lib/stores/auth.d.ts +1 -1
  163. package/dist-lib/stores/preferences.d.ts +1 -1
  164. package/dist-lib/stores/realtime.d.ts +86 -19
  165. package/dist-lib/testing.d.ts +4 -4
  166. package/dist-lib/testing.js +40 -40
  167. package/dist-lib/types/api.d.ts +1 -1
  168. package/dist-lib/types/schema.d.ts +2 -2
  169. package/dist-lib/{useCurrentScreen-DVTXCj_K.js → useCurrentScreen-CzwzQpoW.js} +2476 -1967
  170. package/dist-lib/useListQuery-D7Hr5WM1.js +96 -0
  171. package/dist-lib/{useProperties-BcIz-MyO.js → useProperties-CqtCzFCr.js} +25 -25
  172. package/dist-lib/{useTabSearchMirror-UYCsopxP.js → useTabSearchMirror-C39U85cg.js} +13 -13
  173. package/dist-lib/{value-CQzGOI0F.js → value-Bo8C8WMU.js} +4 -4
  174. package/package.json +10 -10
  175. package/dist-lib/useListQuery-C2nq58YV.js +0 -90
@@ -1,5 +1,5 @@
1
- import type { AreaDef } from "../../types/schema";
2
- import type { BrandingIdentity } from "../../types/api";
1
+ import type { AreaDef } from "../../types/schema.d.ts";
2
+ import type { BrandingIdentity } from "../../types/api.d.ts";
3
3
  export interface RailAreaItem {
4
4
  id: string;
5
5
  icon: string | undefined;
@@ -1,4 +1,4 @@
1
- import { type NavNode } from "../../types/schema";
1
+ import { type NavNode } from "../../types/schema.d.ts";
2
2
  export interface SidebarProps {
3
3
  activeArea: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type TabCloseScope } from "../../stores/tabs";
1
+ import { type TabCloseScope } from "../../stores/tabs.d.ts";
2
2
  export interface TabStripProps {
3
3
  onNew?: () => void;
4
4
  onCloseRequest?: (scope: TabCloseScope, targetId?: string) => void;
@@ -1,4 +1,4 @@
1
- import type { Tenant, TenantEnv } from "../../types/api";
1
+ import type { Tenant, TenantEnv } from "../../types/api.d.ts";
2
2
  export interface TenantChipProps {
3
3
  tenant: Tenant | null;
4
4
  tenants: Tenant[];
@@ -1,5 +1,5 @@
1
1
  import { type RefObject } from "react";
2
- import { type Crumb } from "../chrome/Breadcrumbs";
2
+ import { type Crumb } from "../chrome/Breadcrumbs.d.ts";
3
3
  export interface TopBarProps {
4
4
  breadcrumbs?: Crumb[];
5
5
  onCrumbClick?: (c: Crumb) => void;
@@ -1,4 +1,4 @@
1
- import type { TabCloseScope, TabItem } from "../../stores/tabs";
1
+ import type { TabCloseScope, TabItem } from "../../stores/tabs.d.ts";
2
2
  export interface PendingTabClose {
3
3
  ids: string[];
4
4
  dirtyTabs: TabItem[];
@@ -1,4 +1,4 @@
1
- import { type SelectOption } from "../primitives";
1
+ import { type SelectOption } from "../primitives/index.d.ts";
2
2
  export type InlineEditTrigger = "dblclick" | "enter" | "always";
3
3
  export type InlineEditKind = "text" | "select" | "bool";
4
4
  export interface InlineEditCellProps {
@@ -1,5 +1,5 @@
1
- import { type Refs } from "../fields";
2
- import type { EntityField } from "../../types/schema";
1
+ import { type Refs } from "../fields/index.d.ts";
2
+ import type { EntityField } from "../../types/schema.d.ts";
3
3
  export interface PeekFieldCellProps {
4
4
  field: EntityField;
5
5
  fieldName: string;
@@ -1,7 +1,7 @@
1
1
  import { type ReactNode } from "react";
2
- import { type Action, type Entity, type EntityField, type Screen } from "../../types/schema";
3
- import type { Refs } from "../fields";
4
- import { type ResolvedActionLayoutNode } from "../../lib/actions";
2
+ import { type Action, type Entity, type EntityField, type Screen } from "../../types/schema.d.ts";
3
+ import type { Refs } from "../fields/index.d.ts";
4
+ import { type ResolvedActionLayoutNode } from "../../lib/actions.d.ts";
5
5
  export interface QuickPeekRegularFieldSpec {
6
6
  key: string;
7
7
  label: string;
@@ -1,4 +1,4 @@
1
- import type { FilterNode } from "../../lib/filters";
1
+ import type { FilterNode } from "../../lib/filters.d.ts";
2
2
  export interface ViewItem {
3
3
  id: string;
4
4
  name: Record<string, string>;
@@ -1,4 +1,4 @@
1
- import { type Entity } from "../../types/schema";
1
+ import { type Entity } from "../../types/schema.d.ts";
2
2
  import { type ListViewState } from "./exportRequest";
3
3
  export interface DocumentsMenuProps {
4
4
  entityCode: string;
@@ -1,4 +1,4 @@
1
- import type { Entity, Screen } from "../../types/schema";
1
+ import type { Entity, Screen } from "../../types/schema.d.ts";
2
2
  import { type ListViewState } from "./exportRequest";
3
3
  export interface ExportMenuProps {
4
4
  entityCode: string;
@@ -1,4 +1,4 @@
1
- import { type LocalizedString } from "../../types/schema";
1
+ import { type LocalizedString } from "../../types/schema.d.ts";
2
2
  interface RecordDocumentsPanelProps {
3
3
  entityCode: string;
4
4
  objectId: string;
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from "react";
2
- import { Icon } from "../../primitives/Icons";
2
+ import { Icon } from "../../primitives/Icons.d.ts";
3
3
  export type AuthShellProps = {
4
4
  children: ReactNode;
5
5
  /**
@@ -1,4 +1,4 @@
1
- import type { FilterNode } from "../../lib/filters";
1
+ import type { FilterNode } from "../../lib/filters.d.ts";
2
2
  /** ExportQuery mirrors the Go ExportQuery struct (server/handlers/data_export.go).
3
3
  * Field order matches; semantics match parseListParams 1:1. */
4
4
  export interface ExportQuery {
@@ -1,7 +1,7 @@
1
1
  import type { ListRow } from "./table-features";
2
- import type { ListResponse, RowData } from "../../../types/api";
3
- import { type Action, type Entity, type Screen } from "../../../types/schema";
4
- import type { resolveCellRenderer } from "../../fields/cells/registry";
2
+ import type { ListResponse, RowData } from "../../../types/api.d.ts";
3
+ import { type Action, type Entity, type Screen } from "../../../types/schema.d.ts";
4
+ import type { resolveCellRenderer } from "../../fields/cells/registry.d.ts";
5
5
  import type { RowInteraction } from "./useListRowInteraction";
6
6
  type CellRenderer = ReturnType<typeof resolveCellRenderer>;
7
7
  interface ListCardRowProps {
@@ -1,8 +1,8 @@
1
1
  import type { ListRow } from "./table-features";
2
2
  import type { Virtualizer } from "@tanstack/react-virtual";
3
- import type { ListResponse, RowData } from "../../../types/api";
4
- import type { resolveCellRenderer } from "../../fields/cells/registry";
5
- import type { Action, Entity, Screen } from "../../../types/schema";
3
+ import type { ListResponse, RowData } from "../../../types/api.d.ts";
4
+ import type { resolveCellRenderer } from "../../fields/cells/registry.d.ts";
5
+ import type { Action, Entity, Screen } from "../../../types/schema.d.ts";
6
6
  import type { RowInteraction } from "./useListRowInteraction";
7
7
  interface ListCardsBodyProps {
8
8
  rows: ListRow[];
@@ -1,6 +1,6 @@
1
- import { type ResolvedActionLayoutNode } from "../../../lib/actions";
2
- import { type WidgetContext } from "../../actions/ResponsiveActionBar";
3
- import type { Action, Entity, Screen } from "../../../types/schema";
1
+ import { type ResolvedActionLayoutNode } from "../../../lib/actions.d.ts";
2
+ import { type WidgetContext } from "../../actions/ResponsiveActionBar.d.ts";
3
+ import type { Action, Entity, Screen } from "../../../types/schema.d.ts";
4
4
  export interface ListFloatbarProps {
5
5
  selectedIds: string[];
6
6
  /** Actions whose visibility includes `list_floatbar` - the floatbar slot.
@@ -1,6 +1,6 @@
1
- import { type ResolvedActionLayoutNode } from "../../../lib/actions";
2
- import { type WidgetContext } from "../../actions/ResponsiveActionBar";
3
- import type { Action } from "../../../types/schema";
1
+ import { type ResolvedActionLayoutNode } from "../../../lib/actions.d.ts";
2
+ import { type WidgetContext } from "../../actions/ResponsiveActionBar.d.ts";
3
+ import type { Action } from "../../../types/schema.d.ts";
4
4
  export interface ListHeaderProps {
5
5
  title: string;
6
6
  /** Localized explanation of this list, surfaced behind a small info
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
- import { type Action, type Entity, type Screen } from "../../../types/schema";
2
+ import { type Action, type Entity, type Screen } from "../../../types/schema.d.ts";
3
3
  /** The sentence a failed load shows: the server's own, then the two members
4
4
  * saying WHICH value it is about - without them the reader is told something
5
5
  * went wrong and not what to change. Never the machine code, which is already
@@ -1,8 +1,8 @@
1
1
  import { type ReactNode } from "react";
2
2
  import type { ListColumnDef, ListRow, ListTableInstance } from "./table-features";
3
3
  import type { Virtualizer } from "@tanstack/react-virtual";
4
- import { type SortCol, type SortNulls } from "../../../lib/sort";
5
- import type { Entity } from "../../../types/schema";
4
+ import { type SortCol, type SortNulls } from "../../../lib/sort.d.ts";
5
+ import type { Entity } from "../../../types/schema.d.ts";
6
6
  import type { useHeaderReorder } from "./useHeaderReorder";
7
7
  interface ListTableProps {
8
8
  table: ListTableInstance;
@@ -1,5 +1,5 @@
1
1
  import type { ListRow } from "./table-features";
2
- import type { Entity } from "../../../types/schema";
2
+ import type { Entity } from "../../../types/schema.d.ts";
3
3
  import type { RowInteraction } from "./useListRowInteraction";
4
4
  interface ListTableRowProps {
5
5
  row: ListRow;
@@ -1,5 +1,5 @@
1
- import type { FilterNode } from "../../../lib/filters";
2
- import { type Entity, type Schema, type Screen } from "../../../types/schema";
1
+ import type { FilterNode } from "../../../lib/filters.d.ts";
2
+ import { type Entity, type Schema, type Screen } from "../../../types/schema.d.ts";
3
3
  import type { ListColumnLayout } from "./useListColumnLayout";
4
4
  import type { ListQueryResult } from "./useListQuery";
5
5
  import type { ListSelection } from "./useListSelection";
@@ -35,9 +35,11 @@ interface ListToolbarProps {
35
35
  includeDeleted: boolean;
36
36
  canViewDeleted: boolean;
37
37
  onToggleDeleted: () => void;
38
- /** The entity auto-updates from the CDC relay, so the refresh control shows
39
- * the Live indicator instead of the button alone. */
38
+ /** The entity is declared `realtime: true`, so the refresh control carries
39
+ * the indicator in every state. */
40
+ realtime: boolean;
41
+ /** The screen is current - useScreenIsLive. */
40
42
  isLive: boolean;
41
43
  }
42
- export declare function ListToolbar({ screen, entity, entityCode, schema, screenCode, screenName, locale, isPhone, isCardsPresentation, sort, columns, views, query, selection, filters, searchValue, onSearchChange, onSaveView, page, perPage, includeDeleted, canViewDeleted, onToggleDeleted, isLive, }: ListToolbarProps): import("react").JSX.Element;
44
+ export declare function ListToolbar({ screen, entity, entityCode, schema, screenCode, screenName, locale, isPhone, isCardsPresentation, sort, columns, views, query, selection, filters, searchValue, onSearchChange, onSaveView, page, perPage, includeDeleted, canViewDeleted, onToggleDeleted, realtime, isLive, }: ListToolbarProps): import("react").JSX.Element;
43
45
  export {};
@@ -1,4 +1,4 @@
1
- import type { Action, Entity, Screen } from "../../../types/schema";
1
+ import type { Action, Entity, Screen } from "../../../types/schema.d.ts";
2
2
  export interface RowActionsCellProps {
3
3
  row: Record<string, unknown>;
4
4
  rowId: string;
@@ -1,4 +1,4 @@
1
- import type { Action, Entity, Screen } from "../../../types/schema";
1
+ import type { Action, Entity, Screen } from "../../../types/schema.d.ts";
2
2
  export interface RowContextMenuProps {
3
3
  /** Cursor coordinates from the contextmenu event. */
4
4
  x: number;
@@ -1,4 +1,4 @@
1
- import type { SortNulls } from "../../../lib/sort";
1
+ import type { SortNulls } from "../../../lib/sort.d.ts";
2
2
  export declare function SortHeaderMenu({ field, activeDir, activeNulls, inMultiSort, canAppend, onApply, onAppend, onClearColumn, onClearAll, }: {
3
3
  field: string;
4
4
  activeDir: "asc" | "desc" | false;
@@ -1,5 +1,5 @@
1
- import { type SortCol } from "../../../lib/sort";
2
- import { type Action, type Entity, type Screen, type Schema } from "../../../types/schema";
1
+ import { type SortCol } from "../../../lib/sort.d.ts";
2
+ import { type Action, type Entity, type Screen, type Schema } from "../../../types/schema.d.ts";
3
3
  export type ListPresentationMode = "table" | "cards";
4
4
  export type CardSource = "screen_card" | "entity_card" | "saved_view_columns" | "screen_default_columns" | "screen_columns" | "entity_inference";
5
5
  export type CardBucket = "title" | "subtitle" | "badges" | "body" | "meta";
@@ -1,8 +1,8 @@
1
1
  import { type RefObject } from "react";
2
2
  import type { ListColumnDef } from "./table-features";
3
- import { type Refs } from "../../fields/cells/registry";
4
- import type { Action, Entity, Screen } from "../../../types/schema";
5
- import type { RowData } from "../../../types/api";
3
+ import { type Refs } from "../../fields/cells/registry.d.ts";
4
+ import type { Action, Entity, Screen } from "../../../types/schema.d.ts";
5
+ import type { RowData } from "../../../types/api.d.ts";
6
6
  type SchemaMaps = {
7
7
  entities?: Record<string, Entity>;
8
8
  screens?: Record<string, Screen>;
@@ -1,5 +1,5 @@
1
- import type { Entity, Screen, ScreenFilterSpecialValues } from "../../../types/schema";
2
- import type { FilterFieldMeta } from "../../filters/FilterDrawer";
1
+ import type { Entity, Screen, ScreenFilterSpecialValues } from "../../../types/schema.d.ts";
2
+ import type { FilterFieldMeta } from "../../filters/FilterDrawer.d.ts";
3
3
  /**
4
4
  * Build FilterFieldMeta array from screen + entity for the FilterDrawer.
5
5
  *
@@ -1,2 +1,2 @@
1
- import type { Entity } from "../../../types/schema";
1
+ import type { Entity } from "../../../types/schema.d.ts";
2
2
  export declare function isHeaderSortable(headerId: string, entity: Entity | undefined): boolean;
@@ -1,5 +1,5 @@
1
1
  import { type Cell, type ColumnDef, type Row, type Table } from "@tanstack/react-table";
2
- import type { RowData } from "../../../types/api";
2
+ import type { RowData } from "../../../types/api.d.ts";
3
3
  export declare const listTableFeatures: {
4
4
  rowSortingFeature: import("@tanstack/react-table").TableFeature;
5
5
  rowSelectionFeature: import("@tanstack/react-table").TableFeature;
@@ -1,7 +1,7 @@
1
- import { type FilterNode, type FilterValueResolver } from "../../../lib/filters";
2
- import type { Entity } from "../../../types/schema";
3
- import type { FilterFieldMeta } from "../../filters/FilterDrawer";
4
- import type { Refs } from "../../../types/api";
1
+ import { type FilterNode, type FilterValueResolver } from "../../../lib/filters.d.ts";
2
+ import type { Entity } from "../../../types/schema.d.ts";
3
+ import type { FilterFieldMeta } from "../../filters/FilterDrawer.d.ts";
4
+ import type { Refs } from "../../../types/api.d.ts";
5
5
  /**
6
6
  * useFilterValueLabels - the single source of human labels for stored filter
7
7
  * values, shared by the chip strip and the filter drawer's RefCombobox.
@@ -1,5 +1,5 @@
1
1
  import type { ColumnSizingState } from "@tanstack/react-table";
2
- import type { Screen } from "../../../types/schema";
2
+ import type { Screen } from "../../../types/schema.d.ts";
3
3
  interface ListColumnLayoutInput {
4
4
  screenCode: string;
5
5
  screen: Screen | undefined;
@@ -1,6 +1,6 @@
1
- import type { FilterNode } from "../../../lib/filters";
2
- import type { RowData, ListResponse } from "../../../types/api";
3
- import type { Entity, Screen } from "../../../types/schema";
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
4
  interface ListQueryInput {
5
5
  entity: Entity | undefined;
6
6
  entityCode: string | undefined;
@@ -39,11 +39,7 @@ export interface ListQueryResult {
39
39
  error: unknown;
40
40
  /** True while a load has been running long enough to be worth saying so. */
41
41
  isLoadingStale: boolean;
42
- /**
43
- * Cancels this query's in-flight fetch and refetches it, resolving when both
44
- * have settled - in that order. Returning nothing made every completion-based
45
- * state silently instant, so a control that waited on it never waited.
46
- */
42
+ /** Refetches this list's window and count, resolving when both have settled. */
47
43
  retry: () => Promise<void>;
48
44
  /** The total, and how it was produced. Undefined while the count is in flight
49
45
  * or after it failed - a caller degrades to the loaded row count. */
@@ -1,8 +1,8 @@
1
1
  import type { MouseEvent as ReactMouseEvent } from "react";
2
- import type { QuickPeekFieldSpec } from "../../list/QuickPeek";
3
- import { useLongPress } from "../../../hooks/useLongPress";
4
- import type { RowData } from "../../../types/api";
5
- import { type Action, type Entity, type Screen } from "../../../types/schema";
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
6
  interface RowInteractionInput {
7
7
  entity: Entity | undefined;
8
8
  screen: Screen | undefined;
@@ -1,6 +1,6 @@
1
1
  import type { RowSelectionState } from "@tanstack/react-table";
2
- import type { RowData } from "../../../types/api";
3
- import { type Entity, type PkValues } from "../../../types/schema";
2
+ import type { RowData } from "../../../types/api.d.ts";
3
+ import { type Entity, type PkValues } from "../../../types/schema.d.ts";
4
4
  /** The id a selection is keyed by: the entity's primary key values in the
5
5
  * platform's own detail-id encoding, so a composite key selects as stably as a
6
6
  * single one and the key round-trips to a detail route. */
@@ -1,5 +1,5 @@
1
1
  import type { SortingState } from "@tanstack/react-table";
2
- import { type SortCol, type SortNulls } from "../../../lib/sort";
2
+ import { type SortCol, type SortNulls } from "../../../lib/sort.d.ts";
3
3
  interface ListSortInput {
4
4
  searchParams: URLSearchParams;
5
5
  setSearchParams: (next: URLSearchParams) => void;
@@ -1,6 +1,6 @@
1
- import type { FilterNode } from "../../../lib/filters";
2
- import { type Screen } from "../../../types/schema";
3
- import type { ViewItem } from "../../list/ViewSwitcher";
1
+ import type { FilterNode } from "../../../lib/filters.d.ts";
2
+ import { type Screen } from "../../../types/schema.d.ts";
3
+ import type { ViewItem } from "../../list/ViewSwitcher.d.ts";
4
4
  interface ListViewsInput {
5
5
  screenCode: string;
6
6
  screen: Screen | undefined;
@@ -1,6 +1,6 @@
1
- import { type ResolvedActionLayoutNode } from "../../../lib/actions";
2
- import type { ActionRunHandler, WidgetContext } from "../../actions/ResponsiveActionBar";
3
- import type { Action, Entity, Screen } from "../../../types/schema";
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
4
  export interface UseRowMenuArgs {
5
5
  row: Record<string, unknown>;
6
6
  rowId: string;
@@ -1,2 +1,2 @@
1
- import type { CustomScreenProps } from "../../../stores/screen-registry";
1
+ import type { CustomScreenProps } from "../../../stores/screen-registry.d.ts";
2
2
  export declare function TenantParamsPage(_props: CustomScreenProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ResolvedParam } from "../../types/api";
1
+ import type { ResolvedParam } from "../../types/api.d.ts";
2
2
  export declare function ErrorLine({ text }: {
3
3
  text: string;
4
4
  }): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ClassificationTierDef } from "../../types/schema";
1
+ import type { ClassificationTierDef } from "../../types/schema.d.ts";
2
2
  interface ClassifiedFieldLockedProps {
3
3
  tier: string;
4
4
  tierDef?: ClassificationTierDef;
@@ -1,5 +1,5 @@
1
1
  import { type Components } from "react-markdown";
2
- import type { HydratedFile } from "../../types/files";
2
+ import type { HydratedFile } from "../../types/files.d.ts";
3
3
  export interface MarkdownRendererProps {
4
4
  content: string;
5
5
  plugins?: "breaks" | "gfm";
@@ -1,5 +1,5 @@
1
- import type { StatusGroupDef } from "../../types/schema";
2
- import type { StatusInfo } from "../../types/api";
1
+ import type { StatusGroupDef } from "../../types/schema.d.ts";
2
+ import type { StatusInfo } from "../../types/api.d.ts";
3
3
  interface StatusGroupsDisplayProps {
4
4
  statusGroups: Record<string, StatusGroupDef>;
5
5
  objectStatuses: StatusInfo[] | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { EmbedNavigationPayload } from "./protocol";
2
- import type { Screen } from "../types/schema";
2
+ import type { Screen } from "../types/schema.d.ts";
3
3
  /**
4
4
  * The result of resolving a router pathname against the screen schema.
5
5
  *