@declarion/react 0.54.1 → 0.57.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 (171) hide show
  1. package/dist-lib/{DraggableChildrenTable-Djc7QDzR.js → DraggableChildrenTable-BV5sb8Uo.js} +1 -1
  2. package/dist-lib/{Grid-Bd2r0_4J.js → Grid-DWgUPuZ3.js} +2 -2
  3. package/dist-lib/{JsonEditor-DoNmyrYd.js → JsonEditor-Dz1PQHC8.js} +2 -2
  4. package/dist-lib/{LayoutRenderer-V6nf9aa_.js → LayoutRenderer-C9AH9cXf.js} +8 -8
  5. package/dist-lib/{ListCardsBody-Cdsvu0Vs.js → ListCardsBody-DXcDg536.js} +4 -4
  6. package/dist-lib/{MarkdownRenderer-CZo5ZgM7.js → MarkdownRenderer-CcSFc2N3.js} +1 -1
  7. package/dist-lib/{RefreshControl-CJm3vz9p.js → RefreshControl-CNtN8zSl.js} +3 -3
  8. package/dist-lib/{SmartDetailPage.impl-DoIjCzjQ.js → SmartDetailPage.impl-lskCd-WG.js} +11 -11
  9. package/dist-lib/{SmartListPage.impl-DnM8e14t.js → SmartListPage.impl-CrGbdzyK.js} +12 -12
  10. package/dist-lib/{SmartRecordListPage.impl-BmHGYbD9.js → SmartRecordListPage.impl-Bkl9aZJ8.js} +10 -10
  11. package/dist-lib/{SortHeaderMenu-CA53NerB.js → SortHeaderMenu-SYSAaqQJ.js} +1 -1
  12. package/dist-lib/{action-dispatch-JcUrLFaW.js → action-dispatch-CR4ajBtT.js} +6 -6
  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/params.d.ts +1 -1
  18. package/dist-lib/api/properties.d.ts +1 -1
  19. package/dist-lib/api/schema.d.ts +1 -1
  20. package/dist-lib/api/status.d.ts +1 -1
  21. package/dist-lib/{cardProjection-Q2kwqv8V.js → cardProjection-CW5RIMko.js} +7 -7
  22. package/dist-lib/components/actions/ActionButton.d.ts +1 -1
  23. package/dist-lib/components/actions/ActionDialog.d.ts +1 -1
  24. package/dist-lib/components/actions/ActionRunner.d.ts +1 -1
  25. package/dist-lib/components/actions/ObjectActionBar.d.ts +3 -3
  26. package/dist-lib/components/actions/PropertyGridEditor.d.ts +2 -2
  27. package/dist-lib/components/actions/ResponsiveActionBar.d.ts +2 -2
  28. package/dist-lib/components/actions/RowActionsKebab.d.ts +1 -1
  29. package/dist-lib/components/agents/AgentConversationDrawer.d.ts +1 -1
  30. package/dist-lib/components/agents/AgentPicker.d.ts +1 -1
  31. package/dist-lib/components/agents/transcript-runs.d.ts +1 -1
  32. package/dist-lib/components/chrome/AssociationTabs.d.ts +1 -1
  33. package/dist-lib/components/chrome/Breadcrumbs.d.ts +1 -1
  34. package/dist-lib/components/detail-layout/AssociatedBlock.d.ts +1 -1
  35. package/dist-lib/components/detail-layout/AssociatedToolbar.d.ts +1 -1
  36. package/dist-lib/components/detail-layout/ChildrenBlock.d.ts +3 -3
  37. package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +2 -2
  38. package/dist-lib/components/detail-layout/DetailHighlights.d.ts +3 -3
  39. package/dist-lib/components/detail-layout/DraggableChildrenTable.d.ts +3 -3
  40. package/dist-lib/components/detail-layout/EditableChildrenTable.d.ts +3 -3
  41. package/dist-lib/components/detail-layout/EvidenceBlock.d.ts +1 -1
  42. package/dist-lib/components/detail-layout/FieldsBlock.d.ts +1 -1
  43. package/dist-lib/components/detail-layout/LayoutColumn.d.ts +1 -1
  44. package/dist-lib/components/detail-layout/LayoutRenderer.d.ts +3 -3
  45. package/dist-lib/components/detail-layout/LayoutRow.d.ts +1 -1
  46. package/dist-lib/components/detail-layout/LayoutTabs.d.ts +1 -1
  47. package/dist-lib/components/detail-layout/PropertiesBlock.d.ts +1 -1
  48. package/dist-lib/components/detail-layout/QuickAddForm.d.ts +2 -2
  49. package/dist-lib/components/detail-layout/SectionBlock.d.ts +1 -1
  50. package/dist-lib/components/detail-layout/StatusesBlock.d.ts +1 -1
  51. package/dist-lib/components/detail-layout/TimelineComposer.d.ts +2 -2
  52. package/dist-lib/components/detail-layout/blockMeta.d.ts +1 -1
  53. package/dist-lib/components/detail-layout/useQuickAdd.d.ts +2 -2
  54. package/dist-lib/components/detail-layout/widgets/WidgetHost.d.ts +1 -1
  55. package/dist-lib/components/fields/RefCombobox.d.ts +2 -2
  56. package/dist-lib/components/fields/cells/factories/host-icons.d.ts +1 -1
  57. package/dist-lib/components/fields/cells/registry.d.ts +2 -2
  58. package/dist-lib/components/fields/index.d.ts +3 -3
  59. package/dist-lib/components/file-widgets/helpers.d.ts +1 -1
  60. package/dist-lib/components/file-widgets/host.d.ts +3 -3
  61. package/dist-lib/components/file-widgets/payload.d.ts +2 -2
  62. package/dist-lib/components/file-widgets/types.d.ts +1 -1
  63. package/dist-lib/components/file-widgets/useEmbedFileSrc.d.ts +1 -1
  64. package/dist-lib/components/filters/FilterChips.d.ts +1 -1
  65. package/dist-lib/components/filters/FilterDrawer.d.ts +3 -3
  66. package/dist-lib/components/layout/CommandPalette.d.ts +2 -2
  67. package/dist-lib/components/layout/Layout.d.ts +3 -3
  68. package/dist-lib/components/layout/Rail.d.ts +2 -2
  69. package/dist-lib/components/layout/Sidebar.d.ts +1 -1
  70. package/dist-lib/components/layout/TabStrip.d.ts +1 -1
  71. package/dist-lib/components/layout/TenantChip.d.ts +1 -1
  72. package/dist-lib/components/layout/TopBar.d.ts +1 -1
  73. package/dist-lib/components/layout/tab-close.d.ts +1 -1
  74. package/dist-lib/components/list/InlineEditCell.d.ts +1 -1
  75. package/dist-lib/components/list/PeekFieldCell.d.ts +2 -2
  76. package/dist-lib/components/list/QuickPeek.d.ts +3 -3
  77. package/dist-lib/components/list/ViewSwitcher.d.ts +1 -1
  78. package/dist-lib/components/pages/DocumentsMenu.d.ts +1 -1
  79. package/dist-lib/components/pages/ExportMenu.d.ts +1 -1
  80. package/dist-lib/components/pages/RecordDocumentsPanel.d.ts +1 -1
  81. package/dist-lib/components/pages/auth/AuthShell.d.ts +1 -1
  82. package/dist-lib/components/pages/exportRequest.d.ts +1 -1
  83. package/dist-lib/components/pages/list/ListCardRow.d.ts +3 -3
  84. package/dist-lib/components/pages/list/ListCardsBody.d.ts +3 -3
  85. package/dist-lib/components/pages/list/ListFloatbar.d.ts +3 -3
  86. package/dist-lib/components/pages/list/ListHeader.d.ts +3 -3
  87. package/dist-lib/components/pages/list/ListNoRows.d.ts +1 -1
  88. package/dist-lib/components/pages/list/ListTable.d.ts +2 -2
  89. package/dist-lib/components/pages/list/ListTableRow.d.ts +1 -1
  90. package/dist-lib/components/pages/list/ListToolbar.d.ts +2 -2
  91. package/dist-lib/components/pages/list/RowActionsCell.d.ts +1 -1
  92. package/dist-lib/components/pages/list/RowContextMenu.d.ts +1 -1
  93. package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +1 -1
  94. package/dist-lib/components/pages/list/cardProjection.d.ts +2 -2
  95. package/dist-lib/components/pages/list/columns.d.ts +3 -3
  96. package/dist-lib/components/pages/list/filter-meta.d.ts +2 -2
  97. package/dist-lib/components/pages/list/sortable-header.d.ts +1 -1
  98. package/dist-lib/components/pages/list/table-features.d.ts +1 -1
  99. package/dist-lib/components/pages/list/use-filter-value-labels.d.ts +4 -4
  100. package/dist-lib/components/pages/list/useListColumnLayout.d.ts +1 -1
  101. package/dist-lib/components/pages/list/useListQuery.d.ts +3 -3
  102. package/dist-lib/components/pages/list/useListRowInteraction.d.ts +4 -4
  103. package/dist-lib/components/pages/list/useListSelection.d.ts +2 -2
  104. package/dist-lib/components/pages/list/useListSort.d.ts +1 -1
  105. package/dist-lib/components/pages/list/useListViews.d.ts +3 -3
  106. package/dist-lib/components/pages/list/useRowMenu.d.ts +3 -3
  107. package/dist-lib/components/pages/tenant-params/TenantParamsPage.d.ts +1 -1
  108. package/dist-lib/components/params/param-editors.d.ts +1 -1
  109. package/dist-lib/components/primitives/ClassifiedFieldLocked.d.ts +1 -1
  110. package/dist-lib/components/shared/ErrorBoundary.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-ssZvtr8J.js → field-classification-D6xQYn-h.js} +4 -4
  115. package/dist-lib/{format-count-DHuivNT7.js → format-count-Dobmi-Ji.js} +7 -7
  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 +1 -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/useRegisterScreenTab.d.ts +1 -1
  133. package/dist-lib/hooks/useResponsiveMode.d.ts +1 -1
  134. package/dist-lib/hooks/useSSE.d.ts +1 -1
  135. package/dist-lib/hooks/useScreen.d.ts +1 -1
  136. package/dist-lib/hooks/useTimelineData.d.ts +2 -2
  137. package/dist-lib/hooks/useViews.d.ts +1 -1
  138. package/dist-lib/index.js +20 -20
  139. package/dist-lib/lib/action-dispatch.d.ts +2 -2
  140. package/dist-lib/lib/actions.d.ts +1 -1
  141. package/dist-lib/lib/brand-tokens.d.ts +1 -1
  142. package/dist-lib/lib/branding.d.ts +1 -1
  143. package/dist-lib/lib/child-config.d.ts +1 -1
  144. package/dist-lib/lib/children-validation.d.ts +2 -2
  145. package/dist-lib/lib/document-templates.d.ts +1 -1
  146. package/dist-lib/lib/evidence-verdict.d.ts +1 -1
  147. package/dist-lib/lib/mass-edit.d.ts +1 -1
  148. package/dist-lib/lib/messages.d.ts +2 -2
  149. package/dist-lib/lib/realtime-reconcile.d.ts +1 -1
  150. package/dist-lib/lib/realtime-resync.d.ts +1 -1
  151. package/dist-lib/lib/rich-text.d.ts +1 -1
  152. package/dist-lib/lib/schema-routing.d.ts +1 -1
  153. package/dist-lib/lib/screen-back.d.ts +1 -1
  154. package/dist-lib/lib/size-value.d.ts +1 -1
  155. package/dist-lib/lib/toast.d.ts +2 -2
  156. package/dist-lib/lib/ui-actions.d.ts +1 -1
  157. package/dist-lib/lib/variants.d.ts +1 -1
  158. package/dist-lib/{peekDraftStore-lm9ViVLA.js → peekDraftStore-5wQ7lq_V.js} +1 -1
  159. package/dist-lib/{registry-DsQFhEAD.js → registry-CjgUaF7C.js} +4 -4
  160. package/dist-lib/stores/auth.d.ts +1 -1
  161. package/dist-lib/stores/preferences.d.ts +1 -1
  162. package/dist-lib/testing.d.ts +4 -4
  163. package/dist-lib/testing.js +1 -1
  164. package/dist-lib/types/api.d.ts +1 -1
  165. package/dist-lib/types/schema.d.ts +2 -2
  166. package/dist-lib/{useCurrentScreen-aHx9HH1m.js → useCurrentScreen-CzwzQpoW.js} +13 -13
  167. package/dist-lib/{useListQuery-DZn2BAxY.js → useListQuery-D7Hr5WM1.js} +2 -2
  168. package/dist-lib/{useProperties-CAqKmUKg.js → useProperties-CqtCzFCr.js} +1 -1
  169. package/dist-lib/{useTabSearchMirror-DYW9WoK7.js → useTabSearchMirror-C39U85cg.js} +5 -5
  170. package/dist-lib/{value-CzKQPJOp.js → value-Bo8C8WMU.js} +1 -1
  171. package/package.json +13 -12
@@ -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;
@@ -12,6 +12,6 @@ export declare class ErrorBoundary extends Component<Props, State> {
12
12
  static getDerivedStateFromError(error: Error): State;
13
13
  componentDidCatch(error: Error, info: ErrorInfo): void;
14
14
  handleRetry: () => void;
15
- render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
15
+ render(): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | null | undefined;
16
16
  }
17
17
  export {};
@@ -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
  *
@@ -1,4 +1,4 @@
1
- import { D as e, Ft as t, Ht as n, Kt as r, Pt as i, Qt as a, Vt as o, Zt as s, a as c, an as l, dn as u, dr as d, jt as f, ln as p, un as m, ur as h } from "./useCurrentScreen-aHx9HH1m.js";
1
+ import { D as e, Ft as t, Ht as n, Kt as r, Pt as i, Qt as a, Vt as o, Zt as s, a as c, an as l, dn as u, dr as d, jt as f, ln as p, un as m, ur as h } from "./useCurrentScreen-CzwzQpoW.js";
2
2
  import { useCallback as g, useEffect as _, useMemo as ee, useRef as te, useState as ne } from "react";
3
3
  import { parsePath as re, useLocation as ie, useNavigate as ae } from "react-router";
4
4
  import { useMutation as v, useQueryClient as y } from "@tanstack/react-query";
@@ -408,7 +408,7 @@ function Ae(e, t) {
408
408
  };
409
409
  }
410
410
  function je(e) {
411
- if (!(!e || e === "?")) return e.startsWith("?") ? e : `?${e}`;
411
+ if (e && e !== "?") return e.startsWith("?") ? e : `?${e}`;
412
412
  }
413
413
  function Me() {
414
414
  let e = ae(), { data: n } = m(), r = o(), i = t();
@@ -474,7 +474,7 @@ function z(e) {
474
474
  R = e;
475
475
  }
476
476
  function B(e) {
477
- if (!(!e || !R)) for (let t of e.queryKeys) R.removeQueries({
477
+ if (e && R) for (let t of e.queryKeys) R.removeQueries({
478
478
  queryKey: t,
479
479
  exact: !0
480
480
  });
@@ -825,7 +825,7 @@ function Ze() {
825
825
  function Qe(e, t = !0) {
826
826
  let n = Z(ie()), r = e ? JSON.stringify(e) : "";
827
827
  _(() => {
828
- !t || !e || U.getState().registerQueryKey(n, e);
828
+ t && e && U.getState().registerQueryKey(n, e);
829
829
  }, [
830
830
  n,
831
831
  r,
@@ -1,16 +1,16 @@
1
1
  import { s as e, t } from "./DynamicIcon-DW5krHuX.js";
2
- import { Br as n, Cr as r, Er as i, Fr as a, G as o, H as s, Lr as c, Mr as l, Rr as u, V as d, Vr as f, et as p, ht as m, i as h, kr as g, mr as _, nr as v, tt as y, un as b, xt as x, yr as S } from "./useCurrentScreen-aHx9HH1m.js";
3
- import { _ as C } from "./RefreshControl-CJm3vz9p.js";
4
- import { D as w, b as T, y as E } from "./field-classification-ssZvtr8J.js";
5
- import { c as ee, o as te, p as ne, r as re } from "./action-dispatch-JcUrLFaW.js";
6
- import { a as D, d as O, f as k, h as A, i as j, l as M, o as N, s as P, u as F } from "./useTabSearchMirror-DYW9WoK7.js";
2
+ import { Br as n, Cr as r, Er as i, Fr as a, G as o, H as s, Lr as c, Mr as l, Rr as u, V as d, Vr as f, et as p, ht as m, i as h, kr as g, mr as _, nr as v, tt as y, un as b, xt as x, yr as S } from "./useCurrentScreen-CzwzQpoW.js";
3
+ import { _ as C } from "./RefreshControl-CNtN8zSl.js";
4
+ import { D as w, b as T, y as E } from "./field-classification-D6xQYn-h.js";
5
+ import { c as ee, o as te, p as ne, r as re } from "./action-dispatch-CR4ajBtT.js";
6
+ import { a as D, d as O, f as k, h as A, i as j, l as M, o as N, s as P, u as F } from "./useTabSearchMirror-C39U85cg.js";
7
7
  import { Fragment as I, useCallback as L, useEffect as R, useMemo as z, useRef as B, useState as V } from "react";
8
8
  import { useLocation as H, useSearchParams as ie } from "react-router";
9
9
  import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
10
10
  //#region src/hooks/useScreen.ts
11
11
  function K(e) {
12
12
  let { data: t } = b();
13
- if (!(!t || !e)) return t.screens[e];
13
+ if (t && e) return t.screens[e];
14
14
  }
15
15
  //#endregion
16
16
  //#region src/hooks/useFilters.ts
@@ -387,7 +387,7 @@ function q(e) {
387
387
  });
388
388
  continue;
389
389
  }
390
- !n.field || !n.op || !D.has(n.op) && !ue(n.value) || t.push(n);
390
+ n.field && n.op && (D.has(n.op) || ue(n.value)) && t.push(n);
391
391
  }
392
392
  return t;
393
393
  }
@@ -1,4 +1,4 @@
1
- import { type ApprovalScope, type AgentConversation, type AgentMessage, type AgentToolInvocation, type AgentTurn, type AvailableAgent } from "../api/agents";
1
+ import { type ApprovalScope, type AgentConversation, type AgentMessage, type AgentToolInvocation, type AgentTurn, type AvailableAgent } from "../api/agents.d.ts";
2
2
  export interface AgentTurnState {
3
3
  streaming: boolean;
4
4
  }
@@ -1,4 +1,4 @@
1
- import type { ListParams, ListResponse } from "../types/api";
1
+ import type { ListParams, ListResponse } from "../types/api.d.ts";
2
2
  /**
3
3
  * Fetches every page of an entity list and concatenates the result into a
4
4
  * single ListResponse whose `meta.total` is the true row count.
@@ -1,4 +1,4 @@
1
- import type { V2ListResponse } from "../types/api";
1
+ import type { V2ListResponse } from "../types/api.d.ts";
2
2
  /**
3
3
  * useAssociatedData fetches associated (non-aggregate) child entity records
4
4
  * with cursor-based pagination, search, and filter support.
@@ -1,8 +1,8 @@
1
- import type { PublicBranding } from "../types/api";
1
+ import type { PublicBranding } from "../types/api.d.ts";
2
2
  export declare function useBranding(): {
3
3
  branding: PublicBranding | undefined;
4
4
  isLoading: boolean;
5
5
  };
6
- export declare function useBrandingIdentity(): import("../types/api").BrandingIdentity | undefined;
7
- export declare function useBrandingTheme(): import("../types/api").BrandingTheme | undefined;
8
- export declare function useBrandingChromeValue(): import("../types/api").BrandingChrome | undefined;
6
+ export declare function useBrandingIdentity(): import("../types/api.d.ts").BrandingIdentity | undefined;
7
+ export declare function useBrandingTheme(): import("../types/api.d.ts").BrandingTheme | undefined;
8
+ export declare function useBrandingChromeValue(): import("../types/api.d.ts").BrandingChrome | undefined;
@@ -1,5 +1,5 @@
1
- import { type ResponsiveBreakpoints } from "../lib/viewport-category";
2
- import type { BrandingBreakpoints, BrandingShellFlags, BrandingSurfaceFlags, BrandingViewport } from "../types/api";
1
+ import { type ResponsiveBreakpoints } from "../lib/viewport-category.d.ts";
2
+ import type { BrandingBreakpoints, BrandingShellFlags, BrandingSurfaceFlags, BrandingViewport } from "../types/api.d.ts";
3
3
  export type BrandingChromeSurface = "list" | "detail" | "record_list" | "custom";
4
4
  /**
5
5
  * The deployment's declared viewport for the CURRENT presentation context.
@@ -1,3 +1,3 @@
1
- import type { ListResponse } from "../types/api";
1
+ import type { ListResponse } from "../types/api.d.ts";
2
2
  export declare const ENTITY_CHILDREN_KEY: "entity-children";
3
3
  export declare function useChildrenData(parentEntity: string, parentId: string, childCode: string, foreignKey: string | string[], sort?: string, limit?: number): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from "react";
2
- import type { Screen } from "../types/schema";
2
+ import type { Screen } from "../types/schema.d.ts";
3
3
  /**
4
4
  * The screen a component is currently rendering inside.
5
5
  *
@@ -1,6 +1,6 @@
1
1
  import { type QueryKey } from "@tanstack/react-query";
2
- import type { Refs, V2Meta } from "../types/api";
3
- import type { FilterNode } from "../lib/filters";
2
+ import type { Refs, V2Meta } from "../types/api.d.ts";
3
+ import type { FilterNode } from "../lib/filters.d.ts";
4
4
  /**
5
5
  * Query-key root for the cursor (infinite) entity list. Distinct from the
6
6
  * offset list's `"entity-data"` so the SSE handler can RESET it (drop pages,
@@ -45,14 +45,14 @@ export interface CursorEntityDataParams {
45
45
  * the page calls both this and useEntityData and enables exactly one.
46
46
  */
47
47
  export declare function useCursorEntityData(entity: string | undefined, params: CursorEntityDataParams, enabled: boolean): {
48
- rows: (Record<string, unknown> & import("../api/entities").RowHelpers)[];
48
+ rows: (Record<string, unknown> & import("../api/entities.d.ts").RowHelpers)[];
49
49
  refs: Refs | undefined;
50
50
  total: number | undefined;
51
51
  countMode: string | undefined;
52
52
  countUnknown: boolean;
53
53
  hasMore: boolean;
54
54
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<{
55
- data: (Record<string, unknown> & import("../api/entities").RowHelpers)[];
55
+ data: (Record<string, unknown> & import("../api/entities.d.ts").RowHelpers)[];
56
56
  meta: V2Meta;
57
57
  $refs: Refs;
58
58
  reset: boolean;
@@ -63,7 +63,7 @@ export declare function useCursorEntityData(entity: string | undefined, params:
63
63
  isError: boolean;
64
64
  error: Error | null;
65
65
  refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@tanstack/react-query").InfiniteData<{
66
- data: (Record<string, unknown> & import("../api/entities").RowHelpers)[];
66
+ data: (Record<string, unknown> & import("../api/entities.d.ts").RowHelpers)[];
67
67
  meta: V2Meta;
68
68
  $refs: Refs;
69
69
  reset: boolean;
@@ -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 useEntity(entityCode: string | undefined): Entity | undefined;
@@ -1,5 +1,5 @@
1
1
  import { type QueryKey } from "@tanstack/react-query";
2
- import type { ListParams, ListResponse } from "../types/api";
2
+ import type { ListParams, ListResponse } from "../types/api.d.ts";
3
3
  /**
4
4
  * The React Query key for an entity list-window read. The single source of
5
5
  * truth for both `useEntityData` and a screen registering its PRIMARY read with
@@ -1,4 +1,4 @@
1
- import { type FilterNode } from "../lib/filters";
1
+ import { type FilterNode } from "../lib/filters.d.ts";
2
2
  /**
3
3
  * useFilters reads/writes the JSON `filters` URL param.
4
4
  * URL is the source of truth.
@@ -11,7 +11,7 @@
11
11
  export declare function useImpersonation(): {
12
12
  info: import("../types/api").ImpersonationInfo | null;
13
13
  isImpersonating: boolean;
14
- start: import("@tanstack/react-query").UseMutateFunction<import("../api/auth").ImpersonationStartResponse, Error, {
14
+ start: import("@tanstack/react-query").UseMutateFunction<import("../api/auth.d.ts").ImpersonationStartResponse, Error, {
15
15
  targetUserId: string;
16
16
  reason: string;
17
17
  durationMinutes?: number;
@@ -1,6 +1,6 @@
1
1
  import type { UseQueryResult } from "@tanstack/react-query";
2
- import { type DataResponse, type EnrichedRow } from "../types/api";
3
- import type { PkValues } from "../types/schema";
2
+ import { type DataResponse, type EnrichedRow } from "../types/api.d.ts";
3
+ import type { PkValues } from "../types/schema.d.ts";
4
4
  export type LiveObjectResult<T extends Record<string, unknown> = EnrichedRow> = UseQueryResult<DataResponse<T>, Error> & {
5
5
  object: T | undefined;
6
6
  isLive: boolean;
@@ -1,5 +1,5 @@
1
- import { type PkValues } from "../types/schema";
2
- import type { ActionExecuteRequest } from "../api/data";
1
+ import { type PkValues } from "../types/schema.d.ts";
2
+ import type { ActionExecuteRequest } from "../api/data.d.ts";
3
3
  export declare function useCreateObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<import("..").DataResponse<Record<string, unknown>>, Error, Record<string, unknown>, unknown>;
4
4
  export declare function useUpdateObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<import("..").DataResponse<Record<string, unknown>>, Error, {
5
5
  pkValues: PkValues | string;
@@ -7,7 +7,7 @@ export declare function useUpdateObject(entityCode: string): import("@tanstack/r
7
7
  }, unknown>;
8
8
  export declare function useDeleteObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<void, Error, string | PkValues, unknown>;
9
9
  export declare function useRestoreEntity(entityCode: string): import("@tanstack/react-query").UseMutationResult<void, Error, string | PkValues, unknown>;
10
- export declare function useExecuteAction(entityCode?: string): import("@tanstack/react-query").UseMutationResult<import("../api/data").ActionExecuteResponse, Error, {
10
+ export declare function useExecuteAction(entityCode?: string): import("@tanstack/react-query").UseMutationResult<import("../api/data.d.ts").ActionExecuteResponse, Error, {
11
11
  actionCode: string;
12
12
  body: ActionExecuteRequest;
13
13
  }, unknown>;
@@ -1,5 +1,5 @@
1
1
  import { type QueryKey } from "@tanstack/react-query";
2
- import type { PkValues } from "../types/schema";
2
+ import type { PkValues } from "../types/schema.d.ts";
3
3
  /**
4
4
  * The React Query key for a single-record read. Single source of truth for both
5
5
  * `useObject` and a detail screen registering its PRIMARY read with its
@@ -1,4 +1,4 @@
1
- import type { ParamLookup, ParamOverride, ResolvedParam } from "../types/api";
1
+ import type { ParamLookup, ParamOverride, ResolvedParam } from "../types/api.d.ts";
2
2
  /** `$params` subresource key on a carrier's PK-detail / write payload. */
3
3
  export declare const PARAMS_KEY = "$params";
4
4
  /**
@@ -43,7 +43,7 @@ export declare function useCarrierParamOverrides({ carrierEntityCode, rowId, ena
43
43
  * push-invalidated on the server, and edits invalidate this key directly.
44
44
  */
45
45
  export declare function useAllParams(resolution?: "tenant"): import("@tanstack/react-query").UseQueryResult<ResolvedParam[], Error>;
46
- export declare function usePublicParams(): import("@tanstack/react-query").UseQueryResult<import("../types/api").PublicParamsResponse, Error>;
46
+ export declare function usePublicParams(): import("@tanstack/react-query").UseQueryResult<import("../types/api.d.ts").PublicParamsResponse, Error>;
47
47
  /**
48
48
  * Looks up the platform's record for a parameter without a default.
49
49
  * Returns the full ParamLookup envelope (`found`, `value`, `source`).
@@ -1,4 +1,4 @@
1
- import { type Entity, type Screen } from "../types/schema";
1
+ import { type Entity, type Screen } from "../types/schema.d.ts";
2
2
  /**
3
3
  * The embed-guarded tab registration shared by the schema-driven Smart pages
4
4
  * (`useRegisterScreenTab`) and the public custom-screen hook (`useScreenTab`),
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from "react";
2
- import { DEFAULT_RESPONSIVE_BREAKPOINTS, resolveViewportCategory, type ResponsiveBreakpoints, type ResponsiveMode, type ResponsiveViewport, type ViewportCategory } from "../lib/viewport-category";
2
+ import { DEFAULT_RESPONSIVE_BREAKPOINTS, resolveViewportCategory, type ResponsiveBreakpoints, type ResponsiveMode, type ResponsiveViewport, type ViewportCategory } from "../lib/viewport-category.d.ts";
3
3
  export { DEFAULT_RESPONSIVE_BREAKPOINTS, resolveViewportCategory, type ResponsiveBreakpoints, type ResponsiveMode, type ResponsiveViewport, type ViewportCategory, };
4
4
  export declare function clearViewportCssVariables(): void;
5
5
  export interface ResponsiveModeProviderProps {
@@ -1,5 +1,5 @@
1
1
  import { type QueryClient } from "@tanstack/react-query";
2
- import { type ChangedObject, type EntityAction } from "../api/events";
2
+ import { type ChangedObject, type EntityAction } from "../api/events.d.ts";
3
3
  export interface EntityChangedEvent {
4
4
  entity: string;
5
5
  action: EntityAction;
@@ -1,2 +1,2 @@
1
- import type { Screen } from "../types/schema";
1
+ import type { Screen } from "../types/schema.d.ts";
2
2
  export declare function useScreen(screenCode: string | undefined): Screen | undefined;
@@ -1,7 +1,7 @@
1
- import type { V2ListResponse } from "../types/api";
1
+ import type { V2ListResponse } from "../types/api.d.ts";
2
2
  export declare function useTimelineData(parentEntity: string, parentId: string, childCode: string, foreignKey: string | string[], timeField: string | undefined, limit?: number): {
3
3
  rows: Record<string, unknown>[];
4
- refs: import("../types/api").Refs | undefined;
4
+ refs: import("../types/api.d.ts").Refs | undefined;
5
5
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<import("@tanstack/react-query").InfiniteData<V2ListResponse<Record<string, unknown>>, unknown>, Error>>;
6
6
  hasOlder: boolean;
7
7
  isFetchingOlder: boolean;
@@ -1,4 +1,4 @@
1
- import type { ViewItem } from "../components/list/ViewSwitcher";
1
+ import type { ViewItem } from "../components/list/ViewSwitcher.d.ts";
2
2
  /**
3
3
  * useViews fetches DB views for a screen and merges with system views (presets) from DSL.
4
4
  * Returns a unified list with source tagging.
package/dist-lib/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { a as e, r as t, s as n, t as r } from "./DynamicIcon-DW5krHuX.js";
2
- import { $ as i, $n as a, A as o, Ar as s, At as c, Bn as l, Br as u, Bt as d, C as f, Cn as p, Cr as m, Dn as h, Dr as g, Dt as _, E as v, En as y, Er as b, Fr as x, Gt as S, Hn as C, In as w, Ir as T, It as E, Jn as D, Jt as O, Kn as ee, Kt as te, Ln as k, Lr as A, Lt as ne, M as j, Mn as re, Mr as M, Mt as ie, N as ae, Nn as oe, Nr as se, Nt as ce, On as le, Or as N, Ot as ue, Pn as de, Pr as fe, Q as pe, Qn as me, Qt as he, Rn as ge, Rr as _e, Rt as ve, S as ye, Sn as be, Sr as xe, T as Se, Tn as Ce, Tr as we, Un as Te, Ut as Ee, V as De, Vn as Oe, Vr as P, Vt as ke, Wt as Ae, Xt as je, Yt as Me, Z as Ne, _n as Pe, _r as F, _t as Fe, an as Ie, ar as Le, at as Re, b as ze, bn as Be, br as Ve, bt as He, c as Ue, cr as We, ct as Ge, d as Ke, dn as I, en as qe, et as Je, f as Ye, fn as Xe, gn as Ze, gr as Qe, gt as $e, hn as et, hr as tt, ht as nt, i as rt, ir as it, it as at, j as ot, jr as st, jt as L, k as ct, kn as lt, kr as R, kt as ut, l as dt, ln as ft, lt as pt, mn as mt, mr as ht, n as gt, nn as _t, nr as z, o as vt, or as yt, ot as bt, pn as xt, q as St, qn as Ct, qt as wt, r as Tt, rn as Et, rr as Dt, rt as Ot, s as kt, st as At, t as jt, tr as Mt, tt as Nt, u as Pt, un as B, ut as Ft, vn as It, vr as Lt, w as Rt, wr as zt, x as Bt, xn as Vt, xr as Ht, xt as Ut, yn as Wt, yr as Gt, yt as Kt, zn as qt, zr as V } from "./useCurrentScreen-aHx9HH1m.js";
3
- import { _ as Jt, a as Yt, c as Xt, d as Zt, f as Qt, g as $t, h as en, i as tn, l as nn, m as rn, n as an, o as on, p as sn, r as cn, s as ln, t as un, u as dn } from "./RefreshControl-CJm3vz9p.js";
4
- import { a as fn, d as pn, f as mn, i as hn, n as gn, o as _n, r as vn, s as yn, t as bn, u as xn } from "./registry-DsQFhEAD.js";
2
+ import { $ as i, $n as a, A as o, Ar as s, At as c, Bn as l, Br as u, Bt as d, C as f, Cn as p, Cr as m, Dn as h, Dr as g, Dt as _, E as v, En as y, Er as b, Fr as x, Gt as S, Hn as C, In as w, Ir as T, It as E, Jn as D, Jt as O, Kn as ee, Kt as te, Ln as k, Lr as A, Lt as ne, M as j, Mn as re, Mr as M, Mt as ie, N as ae, Nn as oe, Nr as se, Nt as ce, On as le, Or as N, Ot as ue, Pn as de, Pr as fe, Q as pe, Qn as me, Qt as he, Rn as ge, Rr as _e, Rt as ve, S as ye, Sn as be, Sr as xe, T as Se, Tn as Ce, Tr as we, Un as Te, Ut as Ee, V as De, Vn as Oe, Vr as P, Vt as ke, Wt as Ae, Xt as je, Yt as Me, Z as Ne, _n as Pe, _r as F, _t as Fe, an as Ie, ar as Le, at as Re, b as ze, bn as Be, br as Ve, bt as He, c as Ue, cr as We, ct as Ge, d as Ke, dn as I, en as qe, et as Je, f as Ye, fn as Xe, gn as Ze, gr as Qe, gt as $e, hn as et, hr as tt, ht as nt, i as rt, ir as it, it as at, j as ot, jr as st, jt as L, k as ct, kn as lt, kr as R, kt as ut, l as dt, ln as ft, lt as pt, mn as mt, mr as ht, n as gt, nn as _t, nr as z, o as vt, or as yt, ot as bt, pn as xt, q as St, qn as Ct, qt as wt, r as Tt, rn as Et, rr as Dt, rt as Ot, s as kt, st as At, t as jt, tr as Mt, tt as Nt, u as Pt, un as B, ut as Ft, vn as It, vr as Lt, w as Rt, wr as zt, x as Bt, xn as Vt, xr as Ht, xt as Ut, yn as Wt, yr as Gt, yt as Kt, zn as qt, zr as V } from "./useCurrentScreen-CzwzQpoW.js";
3
+ import { _ as Jt, a as Yt, c as Xt, d as Zt, f as Qt, g as $t, h as en, i as tn, l as nn, m as rn, n as an, o as on, p as sn, r as cn, s as ln, t as un, u as dn } from "./RefreshControl-CNtN8zSl.js";
4
+ import { a as fn, d as pn, f as mn, i as hn, n as gn, o as _n, r as vn, s as yn, t as bn, u as xn } from "./registry-CjgUaF7C.js";
5
5
  import { t as Sn } from "./RecordIdBadge-CGxPR-8q.js";
6
6
  import { t as Cn } from "./Check-DAfMbQIw.js";
7
- import { A as wn, D as Tn, E as En, M as H, N as Dn, O as On, P as U, S as kn, T as W, _ as An, a as jn, b as Mn, d as Nn, g as Pn, h as Fn, i as In, j as Ln, k as Rn, l as zn, m as Bn, n as Vn, o as Hn, p as Un, r as Wn, s as Gn, t as Kn, u as qn, v as Jn, w as Yn } from "./field-classification-ssZvtr8J.js";
8
- import { C as Xn, S as Zn, _ as Qn, a as $n, b as er, c as tr, g as nr, i as rr, n as ir, o as ar, r as or, s as sr, t as cr, v as lr, x as ur, y as dr } from "./action-dispatch-JcUrLFaW.js";
9
- import { a as fr, c as pr, d as mr, f as hr, i as gr, l as _r, m as vr, n as yr, o as br, p as xr, r as Sr, s as Cr, t as wr, u as Tr } from "./format-count-DHuivNT7.js";
10
- import { n as Er, r as Dr, t as Or } from "./useProperties-CAqKmUKg.js";
11
- import { a as kr, d as Ar, f as jr, h as Mr, o as Nr, p as Pr, r as Fr, s as Ir, t as Lr } from "./useTabSearchMirror-DYW9WoK7.js";
7
+ import { A as wn, D as Tn, E as En, M as H, N as Dn, O as On, P as U, S as kn, T as W, _ as An, a as jn, b as Mn, d as Nn, g as Pn, h as Fn, i as In, j as Ln, k as Rn, l as zn, m as Bn, n as Vn, o as Hn, p as Un, r as Wn, s as Gn, t as Kn, u as qn, v as Jn, w as Yn } from "./field-classification-D6xQYn-h.js";
8
+ import { C as Xn, S as Zn, _ as Qn, a as $n, b as er, c as tr, g as nr, i as rr, n as ir, o as ar, r as or, s as sr, t as cr, v as lr, x as ur, y as dr } from "./action-dispatch-CR4ajBtT.js";
9
+ import { a as fr, c as pr, d as mr, f as hr, i as gr, l as _r, m as vr, n as yr, o as br, p as xr, r as Sr, s as Cr, t as wr, u as Tr } from "./format-count-Dobmi-Ji.js";
10
+ import { n as Er, r as Dr, t as Or } from "./useProperties-CqtCzFCr.js";
11
+ import { a as kr, d as Ar, f as jr, h as Mr, o as Nr, p as Pr, r as Fr, s as Ir, t as Lr } from "./useTabSearchMirror-C39U85cg.js";
12
12
  import { Fragment as Rr, Suspense as zr, createElement as Br, lazy as Vr, useCallback as G, useEffect as K, useMemo as q, useRef as J, useState as Y } from "react";
13
13
  import { BrowserRouter as Hr, Link as Ur, Navigate as Wr, Outlet as Gr, Route as X, Routes as Kr, useLocation as qr, useLocation as Jr, useNavigate as Yr, useNavigate as Xr, useNavigationType as Zr, useParams as Qr, useSearchParams as $r, useSearchParams as ei } from "react-router";
14
14
  import { QueryClient as ti, QueryClientProvider as ni, useMutation as ri, useQuery as ii, useQueryClient as ai } from "@tanstack/react-query";
@@ -1459,7 +1459,7 @@ function Qi({ breadcrumbs: e, onCrumbClick: t, onOpenNav: r, navButtonRef: i, sh
1459
1459
  let y = I((e) => e.user), b = M(), { activeTenant: x, tenants: S, switchTenant: C, isSwitchingTenant: w, logout: T } = Bi(), { isImpersonating: E, stop: D } = Vi(), O = U((e) => e.colorScheme), ee = U((e) => e.set), [te, k] = Y(!1), ne = J(null), j = x?.env, re = Ki(j), ie = y?.email ?? "", ae = y?.display_name || ie || "User", oe = a && b.category === "phone", se = a && b.category !== "desktop", ce = () => {
1460
1460
  ee("colorScheme", O === "dark" ? "light" : "dark");
1461
1461
  }, le = (e) => {
1462
- x?.id !== e.id && (H.getState().tabs.some((e) => e.dirty) && !window.confirm("You have unsaved changes in one or more tabs. Switching tenant will discard them. Continue?") || C(e.id));
1462
+ x?.id !== e.id && (!H.getState().tabs.some((e) => e.dirty) || window.confirm("You have unsaved changes in one or more tabs. Switching tenant will discard them. Continue?")) && C(e.id);
1463
1463
  };
1464
1464
  return /* @__PURE__ */ $("header", {
1465
1465
  style: {
@@ -2862,7 +2862,7 @@ function ja(e, t) {
2862
2862
  }
2863
2863
  function Ma(e) {
2864
2864
  let t = e;
2865
- for (let n of e) n.role !== "assistant" || !n.streaming || (t = ja(t, n.id));
2865
+ for (let n of e) n.role === "assistant" && n.streaming && (t = ja(t, n.id));
2866
2866
  return t;
2867
2867
  }
2868
2868
  function Na(e, t, n, r) {
@@ -3317,7 +3317,7 @@ function Ka(e, t) {
3317
3317
  var qa = /* @__PURE__ */ new Set(["operation.search"]);
3318
3318
  function Ja(e, t = []) {
3319
3319
  let n = [], r = /* @__PURE__ */ new Map();
3320
- for (let e of t) !e.assistant_message_id || !e.provider_call_id || r.set(Xa(e.assistant_message_id, e.provider_call_id), e);
3320
+ for (let e of t) e.assistant_message_id && e.provider_call_id && r.set(Xa(e.assistant_message_id, e.provider_call_id), e);
3321
3321
  for (let t of e) {
3322
3322
  let e = Ya(t, r);
3323
3323
  if (Qa(t) && n.push({
@@ -3397,7 +3397,7 @@ function ro({ open: e, onClose: t, context: r, title: i = "", askOnOpen: a }) {
3397
3397
  e && C("instant");
3398
3398
  }, [e]), K(() => {
3399
3399
  let t = a?.trim();
3400
- !e || !t || m.current === t || (m.current = t, _.current?.(t));
3400
+ e && t && m.current !== t && (m.current = t, _.current?.(t));
3401
3401
  }, [e, a]), !e) return null;
3402
3402
  let w = async (e) => {
3403
3403
  if (e.trim()) {
@@ -5655,7 +5655,7 @@ function $o(e, t) {
5655
5655
  if (!t || e === "/" || e === "/admin") return n;
5656
5656
  let r = es(e);
5657
5657
  if (Zo.has(r)) return e;
5658
- for (let n of Object.values(t.screens ?? {})) if (!(!n.route || !rs(t, n)) && is(n.route).test(r)) return e;
5658
+ for (let n of Object.values(t.screens ?? {})) if (n.route && rs(t, n) && is(n.route).test(r)) return e;
5659
5659
  return n;
5660
5660
  }
5661
5661
  function es(e) {
@@ -8800,7 +8800,7 @@ function ic({ code: e, action: t }) {
8800
8800
  }
8801
8801
  //#endregion
8802
8802
  //#region src/components/pages/SmartListPage.tsx
8803
- var ac = Vr(() => import("./SmartListPage.impl-DnM8e14t.js").then((e) => ({ default: e.SmartListPage })));
8803
+ var ac = Vr(() => import("./SmartListPage.impl-CrGbdzyK.js").then((e) => ({ default: e.SmartListPage })));
8804
8804
  function oc(e) {
8805
8805
  return /* @__PURE__ */ Q(zr, {
8806
8806
  fallback: null,
@@ -8809,7 +8809,7 @@ function oc(e) {
8809
8809
  }
8810
8810
  //#endregion
8811
8811
  //#region src/components/pages/SmartDetailPage.tsx
8812
- var sc = Vr(() => import("./SmartDetailPage.impl-DoIjCzjQ.js").then((e) => ({ default: e.SmartDetailPage })));
8812
+ var sc = Vr(() => import("./SmartDetailPage.impl-lskCd-WG.js").then((e) => ({ default: e.SmartDetailPage })));
8813
8813
  function cc(e) {
8814
8814
  return /* @__PURE__ */ Q(zr, {
8815
8815
  fallback: null,
@@ -8818,7 +8818,7 @@ function cc(e) {
8818
8818
  }
8819
8819
  //#endregion
8820
8820
  //#region src/components/pages/SmartRecordListPage.tsx
8821
- var lc = Vr(() => import("./SmartRecordListPage.impl-BmHGYbD9.js").then((e) => ({ default: e.SmartRecordListPage })));
8821
+ var lc = Vr(() => import("./SmartRecordListPage.impl-Bkl9aZJ8.js").then((e) => ({ default: e.SmartRecordListPage })));
8822
8822
  function uc(e) {
8823
8823
  return /* @__PURE__ */ Q(zr, {
8824
8824
  fallback: null,
@@ -8885,10 +8885,10 @@ function dc() {
8885
8885
  //#endregion
8886
8886
  //#region src/lib/capabilityPrefetch.ts
8887
8887
  var fc = [
8888
- () => import("./MarkdownRenderer-CZo5ZgM7.js"),
8889
- () => import("./JsonEditor-DoNmyrYd.js"),
8890
- () => import("./Grid-Bd2r0_4J.js"),
8891
- () => import("./DraggableChildrenTable-Djc7QDzR.js")
8888
+ () => import("./MarkdownRenderer-CcSFc2N3.js"),
8889
+ () => import("./JsonEditor-Dz1PQHC8.js"),
8890
+ () => import("./Grid-DWgUPuZ3.js"),
8891
+ () => import("./DraggableChildrenTable-BV5sb8Uo.js")
8892
8892
  ];
8893
8893
  function pc() {
8894
8894
  for (let e of fc) e().catch(() => {});
@@ -1,5 +1,5 @@
1
- import { type UIActionContext } from "./ui-actions";
2
- import type { UIStep } from "../types/schema";
1
+ import { type UIActionContext } from "./ui-actions.d.ts";
2
+ import type { UIStep } from "../types/schema.d.ts";
3
3
  export declare function dispatchAction(code: string, action: {
4
4
  ui_steps?: UIStep[];
5
5
  handler?: string;
@@ -1,4 +1,4 @@
1
- import type { Action, ActionCondition, Entity, LocalizedString, Schema } from "../types/schema";
1
+ import type { Action, ActionCondition, Entity, LocalizedString, Schema } from "../types/schema.d.ts";
2
2
  /**
3
3
  * Row-menu navigation platform-default action codes. The server injects them
4
4
  * into every entity and (for explicit action_layout trees) prepends them so the
@@ -1,4 +1,4 @@
1
- import type { BrandingTheme } from "../types/api";
1
+ import type { BrandingTheme } from "../types/api.d.ts";
2
2
  /** The two color schemes, and the order their rules are emitted in. */
3
3
  export declare const COLOR_SCHEMES: readonly ["light", "dark"];
4
4
  export type BrandColorScheme = (typeof COLOR_SCHEMES)[number];
@@ -1,4 +1,4 @@
1
- import type { BrandingChrome, BrandingIdentity, BrandingTheme, PublicBranding, PublicParam, PublicParamsResponse } from "../types/api";
1
+ import type { BrandingChrome, BrandingIdentity, BrandingTheme, PublicBranding, PublicParam, PublicParamsResponse } from "../types/api.d.ts";
2
2
  export declare const BRANDING_PARAM_CODE = "branding";
3
3
  export declare function paramsToRecord(list: PublicParam[] | undefined): Record<string, unknown>;
4
4
  export declare function publicParamValue(publicParams: PublicParamsResponse | undefined, code: string): unknown;
@@ -1,4 +1,4 @@
1
- import type { ChildDisplayMode, ChildQuickAdd, ChildRelation, CardsConfig, Entity, LayoutNode, LocalizedString, TimelineConfig } from "../types/schema";
1
+ import type { ChildDisplayMode, ChildQuickAdd, ChildRelation, CardsConfig, Entity, LayoutNode, LocalizedString, TimelineConfig } from "../types/schema.d.ts";
2
2
  export interface ResolvedChildConfig {
3
3
  entity: string;
4
4
  foreign_key: string | string[];
@@ -1,5 +1,5 @@
1
- import type { Entity, Schema } from "../types/schema";
2
- import type { PendingChildRow } from "../components/detail-layout/LayoutRenderer";
1
+ import type { Entity, Schema } from "../types/schema.d.ts";
2
+ import type { PendingChildRow } from "../components/detail-layout/LayoutRenderer.d.ts";
3
3
  export declare function findMissingRequiredFields(entity: Entity, formData: Record<string, unknown>, isNew: boolean): string[];
4
4
  export declare function findInvalidEmailFields(entity: Entity, formData: Record<string, unknown>): string[];
5
5
  export declare function validatePendingChildren(pendingChildren: Record<string, PendingChildRow[]> | undefined, schema: Schema | undefined): Record<string, Record<string, string[]>>;
@@ -1,4 +1,4 @@
1
- import type { Schema } from "../types/schema";
1
+ import type { Schema } from "../types/schema.d.ts";
2
2
  /**
3
3
  * Heuristic used by DocumentsMenu mount sites to decide whether the caller
4
4
  * can manage TENANT document templates: the `document_template` entity is
@@ -1,4 +1,4 @@
1
- import type { PillTone } from "../components/primitives/Pill";
1
+ import type { PillTone } from "../components/primitives/Pill.d.ts";
2
2
  export declare const EVIDENCE_VERDICT: {
3
3
  readonly verified: "verified";
4
4
  readonly unverified: "unverified";
@@ -1,4 +1,4 @@
1
- import type { Entity, EntityField, PropertyDef, StatusGroupDef } from "../types/schema";
1
+ import type { Entity, EntityField, PropertyDef, StatusGroupDef } from "../types/schema.d.ts";
2
2
  /** Target kinds mirror engine.MassEditTargetKind in Go. */
3
3
  export type MassEditTargetKind = "field" | "status" | "property";
4
4
  /** Metadata a property-grid row needs to render a target + editable value cell. */
@@ -1,5 +1,5 @@
1
- import { type LocalizedString } from "../types/schema";
2
- import type { PublicParam } from "../types/api";
1
+ import { type LocalizedString } from "../types/schema.d.ts";
2
+ import type { PublicParam } from "../types/api.d.ts";
3
3
  export declare const DEFAULT_LOCALE = "en";
4
4
  /**
5
5
  * A catalogue of localized strings keyed by code. The platform ships two and
@@ -4,7 +4,7 @@
4
4
  * "Frontend Invalidation".
5
5
  */
6
6
  import type { QueryClient } from "@tanstack/react-query";
7
- import type { ListParams } from "../types/api";
7
+ import type { ListParams } from "../types/api.d.ts";
8
8
  /** One row a frame named, plus whether every frame naming it said `created`. */
9
9
  export interface ChangedRow {
10
10
  pk: Record<string, string>;
@@ -1,5 +1,5 @@
1
1
  import { type QueryClient, type QueryKey } from "@tanstack/react-query";
2
- import { type ResyncScope } from "../stores/realtime";
2
+ import { type ResyncScope } from "../stores/realtime.d.ts";
3
3
  export interface ResyncRequest {
4
4
  scope: ResyncScope;
5
5
  /** The fixed keys of a `keys` scope. */
@@ -1,4 +1,4 @@
1
- import type { HydratedFile } from "../types/files";
1
+ import type { HydratedFile } from "../types/files.d.ts";
2
2
  export interface RichTextValue {
3
3
  markdown: string;
4
4
  files: Record<string, HydratedFile>;
@@ -1,3 +1,3 @@
1
- import type { Schema } from "../types/schema";
1
+ import type { Schema } from "../types/schema.d.ts";
2
2
  export declare function schemaDefaultRoute(schema: Schema | undefined): string | null;
3
3
  export declare function accessibleRedirectPath(requestedPath: string, schema: Schema | undefined): string;
@@ -1,4 +1,4 @@
1
- import { type ReturnTarget, type TabItem } from "../stores/tabs";
1
+ import { type ReturnTarget, type TabItem } from "../stores/tabs.d.ts";
2
2
  /** Drop a leading `?` so a search string matches the canonical `TabItem.search`
3
3
  * / `ReturnTarget.search` form (stored WITHOUT `?`). Empty in -> empty out. */
4
4
  export declare function stripLeadingQuestion(search: string | undefined | null): string;
@@ -1,4 +1,4 @@
1
- import type { SizeValue } from "../types/schema";
1
+ import type { SizeValue } from "../types/schema.d.ts";
2
2
  export type ParsedSizeValue = {
3
3
  kind: "weight";
4
4
  value: number;
@@ -1,5 +1,5 @@
1
- import { type ToastType } from "../components/shared/toast/DeclarionToast";
2
- export type { ToastType, ToastAction } from "../components/shared/toast/DeclarionToast";
1
+ import { type ToastType } from "../components/shared/toast/DeclarionToast.d.ts";
2
+ export type { ToastType, ToastAction } from "../components/shared/toast/DeclarionToast.d.ts";
3
3
  /** Per-call toast options. Severity sets the defaults; these override them. */
4
4
  export interface ToastOptions {
5
5
  /** Auto-dismiss after this many ms. 0 = sticky. Defaults to the variant's. */
@@ -1,4 +1,4 @@
1
- import type { UIStep } from "../types/schema";
1
+ import type { UIStep } from "../types/schema.d.ts";
2
2
  export interface UIActionContext {
3
3
  row?: Record<string, unknown>;
4
4
  params?: Record<string, unknown>;