@object-ui/plugin-detail 17.5.0 → 17.7.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 (92) hide show
  1. package/CHANGELOG.md +7216 -0
  2. package/README.md +442 -74
  3. package/dist/ActivityTimeline.d.ts.map +1 -1
  4. package/dist/CommentAttachment.d.ts.map +1 -1
  5. package/dist/ConcurrentUpdateDialog.d.ts +17 -1
  6. package/dist/ConcurrentUpdateDialog.d.ts.map +1 -1
  7. package/dist/DetailSection.d.ts.map +1 -1
  8. package/dist/DetailSectionNode.d.ts +97 -0
  9. package/dist/DetailSectionNode.d.ts.map +1 -0
  10. package/dist/DetailView.d.ts.map +1 -1
  11. package/dist/HeaderHighlight.d.ts.map +1 -1
  12. package/dist/HistoryTimeline.d.ts +8 -1
  13. package/dist/HistoryTimeline.d.ts.map +1 -1
  14. package/dist/InlineEditSaveBar.d.ts +68 -0
  15. package/dist/InlineEditSaveBar.d.ts.map +1 -1
  16. package/dist/InlineFieldInput.d.ts +79 -6
  17. package/dist/InlineFieldInput.d.ts.map +1 -1
  18. package/dist/ReactionPicker.d.ts.map +1 -1
  19. package/dist/RecordActivityTimeline.d.ts +19 -4
  20. package/dist/RecordActivityTimeline.d.ts.map +1 -1
  21. package/dist/RecordChatterPanel.d.ts +6 -1
  22. package/dist/RecordChatterPanel.d.ts.map +1 -1
  23. package/dist/RecordComments.d.ts +1 -0
  24. package/dist/RecordComments.d.ts.map +1 -1
  25. package/dist/RecordDetailDrawer.d.ts +20 -6
  26. package/dist/RecordDetailDrawer.d.ts.map +1 -1
  27. package/dist/RecordDetailPanel.d.ts +101 -0
  28. package/dist/RecordDetailPanel.d.ts.map +1 -0
  29. package/dist/RecordMetaFooter.d.ts +1 -1
  30. package/dist/RecordMetaFooter.d.ts.map +1 -1
  31. package/dist/RelatedList.d.ts +94 -10
  32. package/dist/RelatedList.d.ts.map +1 -1
  33. package/dist/ThreadedReplies.d.ts +1 -1
  34. package/dist/ThreadedReplies.d.ts.map +1 -1
  35. package/dist/emptiness.d.ts +142 -0
  36. package/dist/emptiness.d.ts.map +1 -0
  37. package/dist/fieldEnrichment.d.ts +44 -4
  38. package/dist/fieldEnrichment.d.ts.map +1 -1
  39. package/dist/headerColor.d.ts +20 -0
  40. package/dist/headerColor.d.ts.map +1 -0
  41. package/dist/index.d.ts +181 -76
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +5259 -5567
  44. package/dist/index.umd.cjs +2 -5
  45. package/dist/renderers/record-activity.d.ts.map +1 -1
  46. package/dist/renderers/record-alert.d.ts +83 -13
  47. package/dist/renderers/record-alert.d.ts.map +1 -1
  48. package/dist/renderers/record-alert.readProps.d.ts +40 -0
  49. package/dist/renderers/record-alert.readProps.d.ts.map +1 -0
  50. package/dist/renderers/record-chatter.d.ts.map +1 -1
  51. package/dist/renderers/record-details.d.ts +2 -0
  52. package/dist/renderers/record-details.d.ts.map +1 -1
  53. package/dist/renderers/record-highlights.d.ts.map +1 -1
  54. package/dist/renderers/record-history.d.ts +1 -1
  55. package/dist/renderers/record-history.d.ts.map +1 -1
  56. package/dist/renderers/record-path.d.ts.map +1 -1
  57. package/dist/renderers/record-quick-actions.d.ts +20 -3
  58. package/dist/renderers/record-quick-actions.d.ts.map +1 -1
  59. package/dist/renderers/record-reference-rail.d.ts +42 -17
  60. package/dist/renderers/record-reference-rail.d.ts.map +1 -1
  61. package/dist/renderers/record-related-list.d.ts +37 -3
  62. package/dist/renderers/record-related-list.d.ts.map +1 -1
  63. package/dist/renderers/recordActivityFeed.d.ts +352 -13
  64. package/dist/renderers/recordActivityFeed.d.ts.map +1 -1
  65. package/dist/renderers/recordComponentAria.d.ts +44 -0
  66. package/dist/renderers/recordComponentAria.d.ts.map +1 -0
  67. package/dist/renderers/relatedListActions.d.ts +102 -0
  68. package/dist/renderers/relatedListActions.d.ts.map +1 -0
  69. package/dist/summaryChipPercent.d.ts +83 -0
  70. package/dist/summaryChipPercent.d.ts.map +1 -0
  71. package/dist/summaryChipRenderers.d.ts +83 -0
  72. package/dist/summaryChipRenderers.d.ts.map +1 -0
  73. package/dist/synth/buildDefaultPageSchema.d.ts +98 -17
  74. package/dist/synth/buildDefaultPageSchema.d.ts.map +1 -1
  75. package/dist/useDetailTranslation.d.ts.map +1 -1
  76. package/dist/useRecordEditable.d.ts +1 -1
  77. package/dist/useRecordEditable.d.ts.map +1 -1
  78. package/package.json +20 -18
  79. package/dist/CommentInput.d.ts +0 -24
  80. package/dist/CommentInput.d.ts.map +0 -1
  81. package/dist/DiffView.d.ts +0 -24
  82. package/dist/DiffView.d.ts.map +0 -1
  83. package/dist/InlineCreateRelated.d.ts +0 -32
  84. package/dist/InlineCreateRelated.d.ts.map +0 -1
  85. package/dist/MentionAutocomplete.d.ts +0 -43
  86. package/dist/MentionAutocomplete.d.ts.map +0 -1
  87. package/dist/PointInTimeRestore.d.ts +0 -28
  88. package/dist/PointInTimeRestore.d.ts.map +0 -1
  89. package/dist/RecordNavigationEnhanced.d.ts +0 -18
  90. package/dist/RecordNavigationEnhanced.d.ts.map +0 -1
  91. package/dist/RelationshipGraph.d.ts +0 -23
  92. package/dist/RelationshipGraph.d.ts.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,79 +1,184 @@
1
- import { DetailView } from './DetailView';
2
- import { DetailSection } from './DetailSection';
3
- import { DetailTabs } from './DetailTabs';
4
- import { RelatedList } from './RelatedList';
5
- import { RecordDetailsRenderer } from './renderers/record-details';
6
- import { RecordRelatedListRenderer } from './renderers/record-related-list';
7
- import { RecordHighlightsRenderer } from './renderers/record-highlights';
8
- import { RecordActivityRenderer } from './renderers/record-activity';
9
- import { RecordChatterRenderer } from './renderers/record-chatter';
10
- import { RecordPathRenderer } from './renderers/record-path';
11
- import { RecordQuickActionsRenderer } from './renderers/record-quick-actions';
12
- import { RecordHistoryRenderer } from './renderers/record-history';
13
- import { RecordReferenceRailRenderer } from './renderers/record-reference-rail';
14
- import { RecordAlertRenderer } from './renderers/record-alert';
1
+ import { DetailView } from './DetailView.js';
2
+ import { DetailSection } from './DetailSection.js';
3
+ import { DetailTabs } from './DetailTabs.js';
4
+ import { RelatedList } from './RelatedList.js';
5
+ import { RecordDetailsRenderer } from './renderers/record-details.js';
6
+ import { RecordRelatedListRenderer } from './renderers/record-related-list.js';
7
+ import { RecordHighlightsRenderer } from './renderers/record-highlights.js';
8
+ import { RecordActivityRenderer } from './renderers/record-activity.js';
9
+ import { RecordChatterRenderer } from './renderers/record-chatter.js';
10
+ import { RecordPathRenderer } from './renderers/record-path.js';
11
+ import { RecordQuickActionsRenderer } from './renderers/record-quick-actions.js';
12
+ import { RecordHistoryRenderer } from './renderers/record-history.js';
13
+ import { RecordReferenceRailRenderer } from './renderers/record-reference-rail.js';
14
+ import { RecordAlertRenderer } from './renderers/record-alert.js';
15
+ /**
16
+ * ObjectUI
17
+ * Copyright (c) 2024-present ObjectStack Inc.
18
+ *
19
+ * This source code is licensed under the MIT license found in the
20
+ * LICENSE file in the root directory of this source tree.
21
+ */
22
+ import * as React from 'react';
15
23
  export { DetailView, DetailSection, DetailTabs, RelatedList };
16
24
  export { RecordDetailsRenderer, RecordRelatedListRenderer, RecordHighlightsRenderer, RecordActivityRenderer, RecordChatterRenderer, RecordPathRenderer, RecordQuickActionsRenderer, RecordHistoryRenderer, RecordReferenceRailRenderer, RecordAlertRenderer, };
17
- export { RecordDetailDrawer, deriveRecordPageHref } from './RecordDetailDrawer';
18
- export type { RecordDetailDrawerProps } from './RecordDetailDrawer';
19
- export { ConcurrentUpdateDialog, isConcurrentUpdateError, } from './ConcurrentUpdateDialog';
20
- export type { ConcurrentUpdateConflict, ConcurrentUpdateDialogProps, } from './ConcurrentUpdateDialog';
21
- export { useRecordEditable, __clearRecordEditableCache } from './useRecordEditable';
22
- export type { RecordOperation } from './useRecordEditable';
23
- export { SectionGroup } from './SectionGroup';
24
- export { HeaderHighlight } from './HeaderHighlight';
25
- export { InlineFieldInput, extractLookupId, TEXTUAL_REF_FALLBACK_TYPES } from './InlineFieldInput';
26
- export type { InlineFieldInputProps } from './InlineFieldInput';
27
- export { InlineEditSaveBar } from './InlineEditSaveBar';
28
- export type { InlineEditSaveBarProps } from './InlineEditSaveBar';
29
- export { inferDetailColumns, isWideFieldType, applyAutoSpan, applyDetailAutoLayout } from './autoLayout';
30
- export { useDetailTranslation, DETAIL_DEFAULT_TRANSLATIONS, createSafeTranslationHook } from './useDetailTranslation';
31
- export { RecordComments } from './RecordComments';
32
- export { ActivityTimeline } from './ActivityTimeline';
33
- export { HistoryTimeline } from './HistoryTimeline';
34
- export { InlineCreateRelated } from './InlineCreateRelated';
35
- export { RichTextCommentInput } from './RichTextCommentInput';
36
- export { DiffView } from './DiffView';
37
- export { RecordNavigationEnhanced } from './RecordNavigationEnhanced';
38
- export { RelationshipGraph } from './RelationshipGraph';
39
- export { CommentAttachment } from './CommentAttachment';
40
- export { PointInTimeRestore } from './PointInTimeRestore';
41
- export { RecordActivityTimeline } from './RecordActivityTimeline';
42
- export { RecordChatterPanel } from './RecordChatterPanel';
43
- export { CommentInput } from './CommentInput';
44
- export { FieldChangeItem } from './FieldChangeItem';
45
- export { MentionAutocomplete, createMentionFromSuggestion } from './MentionAutocomplete';
46
- export { SubscriptionToggle } from './SubscriptionToggle';
47
- export { ReactionPicker } from './ReactionPicker';
48
- export { ThreadedReplies } from './ThreadedReplies';
49
- export { RecordMetaFooter } from './RecordMetaFooter';
50
- export type { RecordMetaFooterProps } from './RecordMetaFooter';
51
- export type { DetailViewProps } from './DetailView';
52
- export type { DetailSectionProps, VirtualScrollOptions } from './DetailSection';
53
- export type { DetailTabsProps } from './DetailTabs';
54
- export type { RelatedListProps } from './RelatedList';
55
- export type { SectionGroupProps } from './SectionGroup';
56
- export type { HeaderHighlightProps } from './HeaderHighlight';
57
- export type { RecordCommentsProps } from './RecordComments';
58
- export type { ActivityTimelineProps, ActivityFilterType } from './ActivityTimeline';
59
- export type { HistoryTimelineProps, HistoryEntry } from './HistoryTimeline';
60
- export type { InlineCreateRelatedProps, RelatedFieldDefinition, RelatedRecordOption } from './InlineCreateRelated';
61
- export type { RichTextCommentInputProps, MentionSuggestion } from './RichTextCommentInput';
62
- export { extractMentions } from './extractMentions';
63
- export type { MentionTarget } from './extractMentions';
64
- export type { DiffViewProps, DiffFieldType, DiffMode, DiffLine } from './DiffView';
65
- export type { RecordNavigationEnhancedProps } from './RecordNavigationEnhanced';
66
- export type { RelationshipGraphProps, GraphNode } from './RelationshipGraph';
67
- export type { CommentAttachmentProps, Attachment } from './CommentAttachment';
68
- export type { PointInTimeRestoreProps, RevisionEntry } from './PointInTimeRestore';
69
- export type { RecordActivityTimelineProps, FeedFilterMode } from './RecordActivityTimeline';
70
- export type { RecordChatterPanelProps } from './RecordChatterPanel';
71
- export type { CommentInputProps } from './CommentInput';
72
- export type { FieldChangeItemProps } from './FieldChangeItem';
73
- export type { MentionAutocompleteProps, MentionSuggestionItem } from './MentionAutocomplete';
74
- export type { SubscriptionToggleProps } from './SubscriptionToggle';
75
- export type { ReactionPickerProps } from './ReactionPicker';
76
- export type { ThreadedRepliesProps } from './ThreadedReplies';
77
- export { buildDefaultPageSchema, buildDefaultHeader, buildDefaultActions, buildDefaultHighlights, buildDefaultDetails, buildDefaultTabs, buildDefaultDiscussion, detectStatusField, deriveStages, deriveHighlightFields, deriveFieldGroupDetailSections, resolveDetailSections, resolveTitleField, } from './synth/buildDefaultPageSchema';
78
- export type { ObjectDefLike, ObjectDefFieldLike, BuildPageOptions, } from './synth/buildDefaultPageSchema';
25
+ /**
26
+ * The `sys_activity.type` -> `FeedItem.type` reading, made importable
27
+ * (objectui#5878).
28
+ *
29
+ * It was already exported from `renderers/recordActivityFeed`, but not from
30
+ * this barrel — so `app-shell`'s `RecordDetailView`, which merges the SAME
31
+ * `sys_activity` rows into the console record page's feed, carried a
32
+ * hand-written copy of the table instead. Nothing failed when the two
33
+ * disagreed, and objectui#5840 made them disagree: `scheduled` -> `event`
34
+ * landed here and not there, so one row rendered on a hand-authored record
35
+ * page and vanished on the console one.
36
+ *
37
+ * Publishing it is what lets there be ONE reading. Adding a member is now a
38
+ * single edit at `ACTIVITY_TYPE_TO_FEED_TYPE`; re-forking it is caught by
39
+ * `RecordDetailView.activityMapIdentity-5878.test.tsx`, which spies on THIS
40
+ * object rather than comparing values (a member-identical private copy passes
41
+ * a value check, which is the whole failure mode being closed).
42
+ *
43
+ * No new module enters the eager closure: `renderers/record-activity`, already
44
+ * imported above, pulls `recordActivityFeed` in.
45
+ *
46
+ * ## The CONSTRUCTOR joins the table here (objectui#5896)
47
+ *
48
+ * Publishing the table alone left the mirror one level up: `RecordDetailView`
49
+ * read this object and then built the `FeedItem` around it with its own inline
50
+ * loop, and the two constructions had already drifted three ways — the console
51
+ * copy dropped an unmapped type SILENTLY where {@link activityRowToFeedItem}
52
+ * renders it through {@link UNMAPPED_ACTIVITY_FEED_TYPE} and says so once
53
+ * (objectstack `88b9d749a`, direction 4, ruled 2026-08-24), and its timestamp
54
+ * fallback could leave `createdAt` `undefined` where the helper yields `''`.
55
+ *
56
+ * So the exported surface is the whole reading — table, fallback, and the
57
+ * constructor that applies both — not the lookup table on its own. A consumer
58
+ * that needs a `FeedItem` from a `sys_activity` row calls
59
+ * `activityRowToFeedItem`; there is no supported way to assemble one from the
60
+ * table by hand, because that is precisely what drifted.
61
+ *
62
+ * `resetUnknownActivityTypeWarnings` comes with it: the warn-once bucket is
63
+ * module state, so any surface that ASSERTS the diagnostic needs the same test
64
+ * seam the block's own tests use.
65
+ */
66
+ export { ACTIVITY_TYPE_TO_FEED_TYPE, UNMAPPED_ACTIVITY_FEED_TYPE, activityRowToFeedItem, resetUnknownActivityTypeWarnings, isRefusedFeedRead, } from './renderers/recordActivityFeed.js';
67
+ export type { SysActivityRow } from './renderers/recordActivityFeed.js';
68
+ export { RecordDetailDrawer, deriveRecordPageHref } from './RecordDetailDrawer.js';
69
+ export type { RecordDetailDrawerProps } from './RecordDetailDrawer.js';
70
+ /**
71
+ * The record overlay PAYLOAD, with no shell of its own (objectui#9299).
72
+ *
73
+ * `ObjectGrid`, `ObjectTree`, `ObjectGantt`, `ObjectKanban` and
74
+ * `ObjectCalendar` mount this through `NavigationOverlay` so the authored
75
+ * `navigation.mode` is honoured on every view type. `RecordDetailDrawer` is
76
+ * the same payload in the drawer shell.
77
+ */
78
+ export { RecordDetailPanel, buildRecordDetailFields, DEFAULT_SYSTEM_FIELDS, RECORD_OVERLAY_DEFAULT_WIDTH, } from './RecordDetailPanel.js';
79
+ export type { RecordDetailPanelProps } from './RecordDetailPanel.js';
80
+ export { ConcurrentUpdateDialog, isConcurrentUpdateError, } from './ConcurrentUpdateDialog.js';
81
+ export type { ConcurrentUpdateConflict, ConcurrentUpdateDialogProps, } from './ConcurrentUpdateDialog.js';
82
+ export { useRecordEditable, __clearRecordEditableCache } from './useRecordEditable.js';
83
+ export type { RecordOperation } from './useRecordEditable.js';
84
+ export { SectionGroup } from './SectionGroup.js';
85
+ export { HeaderHighlight } from './HeaderHighlight.js';
86
+ export { InlineFieldInput, extractLookupId, TEXTUAL_REF_FALLBACK_TYPES } from './InlineFieldInput.js';
87
+ export type { InlineFieldInputProps } from './InlineFieldInput.js';
88
+ export { InlineEditSaveBar } from './InlineEditSaveBar.js';
89
+ export type { InlineEditSaveBarProps } from './InlineEditSaveBar.js';
90
+ export { inferDetailColumns, isWideFieldType, applyAutoSpan, applyDetailAutoLayout } from './autoLayout.js';
91
+ export { useDetailTranslation, DETAIL_DEFAULT_TRANSLATIONS, createSafeTranslationHook } from './useDetailTranslation.js';
92
+ export { RecordComments } from './RecordComments.js';
93
+ export { ActivityTimeline } from './ActivityTimeline.js';
94
+ export { HistoryTimeline } from './HistoryTimeline.js';
95
+ export { RichTextCommentInput } from './RichTextCommentInput.js';
96
+ export { CommentAttachment } from './CommentAttachment.js';
97
+ export { RecordActivityTimeline } from './RecordActivityTimeline.js';
98
+ export { RecordChatterPanel } from './RecordChatterPanel.js';
99
+ export { FieldChangeItem } from './FieldChangeItem.js';
100
+ export { SubscriptionToggle } from './SubscriptionToggle.js';
101
+ export { ReactionPicker } from './ReactionPicker.js';
102
+ export { ThreadedReplies } from './ThreadedReplies.js';
103
+ export { RecordMetaFooter } from './RecordMetaFooter.js';
104
+ export type { RecordMetaFooterProps } from './RecordMetaFooter.js';
105
+ export type { DetailViewProps } from './DetailView.js';
106
+ export type { DetailSectionProps, VirtualScrollOptions } from './DetailSection.js';
107
+ export type { DetailTabsProps } from './DetailTabs.js';
108
+ export type { RelatedListProps } from './RelatedList.js';
109
+ export type { SectionGroupProps } from './SectionGroup.js';
110
+ export type { HeaderHighlightProps } from './HeaderHighlight.js';
111
+ export type { RecordCommentsProps } from './RecordComments.js';
112
+ export type { ActivityTimelineProps, ActivityFilterType } from './ActivityTimeline.js';
113
+ export type { HistoryTimelineProps, HistoryEntry } from './HistoryTimeline.js';
114
+ export type { RichTextCommentInputProps, MentionSuggestion } from './RichTextCommentInput.js';
115
+ export { extractMentions } from './extractMentions.js';
116
+ export type { MentionTarget } from './extractMentions.js';
117
+ export type { CommentAttachmentProps, Attachment } from './CommentAttachment.js';
118
+ export type { RecordActivityTimelineProps, FeedFilterMode } from './RecordActivityTimeline.js';
119
+ export type { RecordChatterPanelProps } from './RecordChatterPanel.js';
120
+ export type { FieldChangeItemProps } from './FieldChangeItem.js';
121
+ export type { SubscriptionToggleProps } from './SubscriptionToggle.js';
122
+ export type { ReactionPickerProps } from './ReactionPicker.js';
123
+ export type { ThreadedRepliesProps } from './ThreadedReplies.js';
124
+ export { buildDefaultPageSchema, buildDefaultHeader, buildDefaultActions, buildDefaultHighlights, buildDefaultDetails, buildDefaultTabs, buildDefaultDiscussion, detectStatusField, deriveStages, deriveHighlightFields, deriveFieldGroupDetailSections, resolveDetailSections, resolveTitleField, } from './synth/buildDefaultPageSchema.js';
125
+ export type { ObjectDefLike, ObjectDefFieldLike, BuildPageOptions, } from './synth/buildDefaultPageSchema.js';
126
+ /**
127
+ * The registry face of `detail-view` — objectui#5378 item 1.
128
+ *
129
+ * ## What was wrong
130
+ *
131
+ * `detail-view` was registered as the RAW `DetailView` component, which reads
132
+ * its adapter from its own React `dataSource` PROP. Its two siblings in the
133
+ * family are registered through wrappers that read the adapter from
134
+ * `SchemaRendererContext` (`ObjectGridRenderer`, `ObjectFormRenderer`), and
135
+ * `SchemaRenderer` itself reads only context — an explicit `dataSource` PROP
136
+ * arrives through `...props` and never becomes context for anything below.
137
+ *
138
+ * So the two wirings were mutually exclusive, and a page could satisfy only one
139
+ * of them. Measured on the published getting-started guide's own snippets,
140
+ * keys held correct in every cell:
141
+ *
142
+ * | wiring | `object-grid` | `detail-view` |
143
+ * |-------------------------------------------|---------------|---------------|
144
+ * | `SchemaRendererProvider dataSource={…}` | `find` 1 | `findOne` 0 |
145
+ * | `SchemaRenderer dataSource={…}` (prop) | `find` 0 | `findOne` 1 |
146
+ *
147
+ * Neither cell reported anything: one half of the page fetched, the other half
148
+ * rendered an empty shell in silence. The registry gave the author no signal
149
+ * about which wiring they were holding.
150
+ *
151
+ * ## What this is
152
+ *
153
+ * The same context-reading wrapper the siblings have, so every block in the
154
+ * family resolves the adapter the same way — maintainer ruling of 2026-08-20 on
155
+ * objectui#5378, item 1 (「其他接受你的建议。」), which also settled the
156
+ * compatibility question: this is ADDITIVE. The `dataSource`-PROP form stays
157
+ * accepted, and no prop is removed this pass.
158
+ *
159
+ * ## Precedence, when both are present
160
+ *
161
+ * The explicit prop WINS. It is the more specific signal — written on this one
162
+ * placement, by someone who can see it — while the context adapter is ambient
163
+ * and applies to every descendant of the provider. That is also the only
164
+ * precedence under which the ruling's \"stays accepted\" is true of the case that
165
+ * matters: a prop-form caller mounted somewhere inside an app that has a
166
+ * provider would otherwise have had its explicit choice silently overruled by
167
+ * an ancestor it never wrote.
168
+ *
169
+ * Measured caller population behind that judgement (objectui#5378's stated
170
+ * confidence gap): in this repo, every `dataSource`-prop consumer of
171
+ * `DetailView` — `renderers/record-details.tsx`, `RecordDetailDrawer.tsx`, and
172
+ * the published README's documented usage — renders the COMPONENT directly and
173
+ * never passes through the registry, so this wrapper does not sit between any
174
+ * of them and `DetailView`. Registry-routed `detail-view` nodes carrying a
175
+ * `dataSource` prop: zero, the getting-started guide being the one that tried.
176
+ * The additive shape therefore changes no measured caller's behaviour, and the
177
+ * precedence above is pinned by test rather than left to be discovered.
178
+ */
179
+ export declare const DetailViewRenderer: React.FC<{
180
+ schema: any;
181
+ dataSource?: unknown;
182
+ [key: string]: any;
183
+ }>;
79
184
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAK/D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,CA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