@object-ui/plugin-detail 17.6.0 → 18.0.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.
- package/CHANGELOG.md +7755 -0
- package/README.md +557 -71
- package/dist/ActivityTimeline.d.ts.map +1 -1
- package/dist/CommentAttachment.d.ts.map +1 -1
- package/dist/CommentAuthorControls.d.ts +40 -0
- package/dist/CommentAuthorControls.d.ts.map +1 -0
- package/dist/ConcurrentUpdateDialog.d.ts +16 -1
- package/dist/ConcurrentUpdateDialog.d.ts.map +1 -1
- package/dist/DetailSection.d.ts.map +1 -1
- package/dist/DetailSectionNode.d.ts +97 -0
- package/dist/DetailSectionNode.d.ts.map +1 -0
- package/dist/DetailView.d.ts +13 -0
- package/dist/DetailView.d.ts.map +1 -1
- package/dist/HeaderHighlight.d.ts.map +1 -1
- package/dist/HistoryTimeline.d.ts +21 -4
- package/dist/HistoryTimeline.d.ts.map +1 -1
- package/dist/InlineEditSaveBar.d.ts +68 -0
- package/dist/InlineEditSaveBar.d.ts.map +1 -1
- package/dist/InlineFieldInput.d.ts +80 -7
- package/dist/InlineFieldInput.d.ts.map +1 -1
- package/dist/ReactionPicker.d.ts.map +1 -1
- package/dist/RecordActivityTimeline.d.ts +32 -4
- package/dist/RecordActivityTimeline.d.ts.map +1 -1
- package/dist/RecordChatterPanel.d.ts +10 -1
- package/dist/RecordChatterPanel.d.ts.map +1 -1
- package/dist/RecordComments.d.ts +1 -0
- package/dist/RecordComments.d.ts.map +1 -1
- package/dist/RecordDetailDrawer.d.ts +20 -6
- package/dist/RecordDetailDrawer.d.ts.map +1 -1
- package/dist/RecordDetailPanel.d.ts +101 -0
- package/dist/RecordDetailPanel.d.ts.map +1 -0
- package/dist/RecordMetaFooter.d.ts +1 -1
- package/dist/RecordMetaFooter.d.ts.map +1 -1
- package/dist/RelatedList.d.ts +83 -10
- package/dist/RelatedList.d.ts.map +1 -1
- package/dist/ThreadedReplies.d.ts +9 -1
- package/dist/ThreadedReplies.d.ts.map +1 -1
- package/dist/emptiness.d.ts +142 -0
- package/dist/emptiness.d.ts.map +1 -0
- package/dist/fieldEnrichment.d.ts +46 -5
- package/dist/fieldEnrichment.d.ts.map +1 -1
- package/dist/headerColor.d.ts +20 -0
- package/dist/headerColor.d.ts.map +1 -0
- package/dist/index.d.ts +94 -77
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5693 -5487
- package/dist/index.umd.cjs +2 -5
- package/dist/recordPageProvenance.d.ts +39 -0
- package/dist/recordPageProvenance.d.ts.map +1 -0
- package/dist/renderers/record-activity.d.ts.map +1 -1
- package/dist/renderers/record-alert.d.ts +23 -3
- package/dist/renderers/record-alert.d.ts.map +1 -1
- package/dist/renderers/record-alert.readProps.d.ts +40 -0
- package/dist/renderers/record-alert.readProps.d.ts.map +1 -0
- package/dist/renderers/record-chatter.d.ts.map +1 -1
- package/dist/renderers/record-details.d.ts +12 -0
- package/dist/renderers/record-details.d.ts.map +1 -1
- package/dist/renderers/record-highlights.d.ts +10 -0
- package/dist/renderers/record-highlights.d.ts.map +1 -1
- package/dist/renderers/record-history.d.ts +1 -1
- package/dist/renderers/record-history.d.ts.map +1 -1
- package/dist/renderers/record-path.d.ts.map +1 -1
- package/dist/renderers/record-quick-actions.d.ts +26 -6
- package/dist/renderers/record-quick-actions.d.ts.map +1 -1
- package/dist/renderers/record-reference-rail.d.ts +40 -0
- package/dist/renderers/record-reference-rail.d.ts.map +1 -1
- package/dist/renderers/record-related-list.d.ts +51 -7
- package/dist/renderers/record-related-list.d.ts.map +1 -1
- package/dist/renderers/recordActivityFeed.d.ts +343 -33
- package/dist/renderers/recordActivityFeed.d.ts.map +1 -1
- package/dist/renderers/recordBinding.d.ts +180 -0
- package/dist/renderers/recordBinding.d.ts.map +1 -0
- package/dist/renderers/recordComponentAria.d.ts +44 -0
- package/dist/renderers/recordComponentAria.d.ts.map +1 -0
- package/dist/renderers/relatedListActions.d.ts +102 -0
- package/dist/renderers/relatedListActions.d.ts.map +1 -0
- package/dist/summaryChipPercent.d.ts +83 -0
- package/dist/summaryChipPercent.d.ts.map +1 -0
- package/dist/summaryChipRenderers.d.ts +83 -0
- package/dist/summaryChipRenderers.d.ts.map +1 -0
- package/dist/synth/buildDefaultPageSchema.d.ts +188 -21
- package/dist/synth/buildDefaultPageSchema.d.ts.map +1 -1
- package/dist/useDetailTranslation.d.ts.map +1 -1
- package/dist/useRecordEditable.d.ts +4 -1
- package/dist/useRecordEditable.d.ts.map +1 -1
- package/package.json +19 -18
- package/dist/CommentInput.d.ts +0 -24
- package/dist/CommentInput.d.ts.map +0 -1
- package/dist/DiffView.d.ts +0 -24
- package/dist/DiffView.d.ts.map +0 -1
- package/dist/InlineCreateRelated.d.ts +0 -32
- package/dist/InlineCreateRelated.d.ts.map +0 -1
- package/dist/MentionAutocomplete.d.ts +0 -43
- package/dist/MentionAutocomplete.d.ts.map +0 -1
- package/dist/PointInTimeRestore.d.ts +0 -28
- package/dist/PointInTimeRestore.d.ts.map +0 -1
- package/dist/RecordNavigationEnhanced.d.ts +0 -18
- package/dist/RecordNavigationEnhanced.d.ts.map +0 -1
- package/dist/RelationshipGraph.d.ts +0 -23
- package/dist/RelationshipGraph.d.ts.map +0 -1
- package/dist/renderers/PermissionFacetLink.d.ts +0 -38
- package/dist/renderers/PermissionFacetLink.d.ts.map +0 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Field types the PLATFORM computes — the value is machine-owned and no user
|
|
10
|
-
* write is legitimate. They carry a `
|
|
10
|
+
* write is legitimate. They carry a `reference` for relational metadata but
|
|
11
11
|
* have no editor of their own.
|
|
12
12
|
*
|
|
13
13
|
* One set, three readers, so they cannot drift: `InlineFieldInput` renders them
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
* type: `plugin-form` lists both in each of its non-input sets, and this is the
|
|
27
27
|
* shape that was missing here. The gap was not academic — the reader that has
|
|
28
28
|
* no host gate in front of it is `InlineFieldInput`'s reference fallback
|
|
29
|
-
* (`!!field.
|
|
30
|
-
* exported public API, so a spec-spelled auto-number carrying a `
|
|
29
|
+
* (`!!field.reference && !TEXTUAL_REF_FALLBACK_TYPES.has(type)`), on
|
|
30
|
+
* exported public API, so a spec-spelled auto-number carrying a `reference`
|
|
31
31
|
* resolved into the RECORD PICKER — a list of records offered as replacements
|
|
32
32
|
* for a machine-generated identity. The editability half of the same report is
|
|
33
33
|
* held by the alias-aware shared exclusion since #4228; the two gates are a
|
|
@@ -73,6 +73,20 @@ export declare function isComputedFieldType(viewFieldType: unknown, objectFieldT
|
|
|
73
73
|
* widgets the record form uses, added deliberately so inline edit could preview,
|
|
74
74
|
* replace and remove files instead of showing a bare storage URL.
|
|
75
75
|
*
|
|
76
|
+
* `markdown` is exempt on the same footing (objectui#11541). The shared set
|
|
77
|
+
* excludes it among the "Heavy / full editors — better in the record form than
|
|
78
|
+
* a cell", which is again an argument about a CELL. #4228 kept it out of the
|
|
79
|
+
* detail row for the reason it recorded there: "a one-line text box is lossy".
|
|
80
|
+
* That box was the only editor the row then had for it — the terminal text
|
|
81
|
+
* input, which is one line, so the browser strips every line break from the
|
|
82
|
+
* value it is seeded with and the next keystroke writes the flattened text
|
|
83
|
+
* back. A markdown value is a plain string, so a MULTI-line editor loses
|
|
84
|
+
* nothing, and `InlineFieldInput` routes it to `TextAreaField`, the fields
|
|
85
|
+
* package's multi-line widget (the one a `textarea` field edits with in the
|
|
86
|
+
* record form and in a grid cell), never to that terminal input. The grid
|
|
87
|
+
* keeps the exclusion for `markdown`. `html` and
|
|
88
|
+
* `richtext` are not exempt: they stay excluded, unchanged.
|
|
89
|
+
*
|
|
76
90
|
* The credential and container members are excluded for a VALUE reason — masked
|
|
77
91
|
* on read, or object-shaped — and that argument transfers to the detail page
|
|
78
92
|
* verbatim, because the detail fallback is the same plain text input the grid's
|
|
@@ -105,6 +119,32 @@ export declare const DETAIL_ROUTED_INLINE_TYPES: Set<string>;
|
|
|
105
119
|
* locked: the exemption is consulted per type, before the union.
|
|
106
120
|
*/
|
|
107
121
|
export declare function isInlineExcludedDetailFieldType(viewFieldType: unknown, objectFieldType: unknown): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Is this row's cell drawn as a mask, given the type authored on the view entry
|
|
124
|
+
* and the type declared on the object schema?
|
|
125
|
+
*
|
|
126
|
+
* The rule itself is NOT restated here — it is `isMaskedFieldType()` from
|
|
127
|
+
* `@object-ui/fields`, the package that owns the mask registrations
|
|
128
|
+
* (objectui#8686). This file used to keep its own two-member copy of the
|
|
129
|
+
* masked types (objectui#8440), documented as a mirror with two accepted
|
|
130
|
+
* costs: a masked type added to the fields package would render masked and
|
|
131
|
+
* stay copy-interactive here, and `registerFieldRenderer('password', …)`
|
|
132
|
+
* could replace the mask at runtime without this copy seeing it. Reading the
|
|
133
|
+
* authority closes both: a type the fields package masks, declared or
|
|
134
|
+
* registered, refuses the copy here with no edit to this file. The same shape
|
|
135
|
+
* {@link isInlineExcludedDetailFieldType} already has for the write direction.
|
|
136
|
+
*
|
|
137
|
+
* **Narrow-only, like {@link isComputedFieldType} and
|
|
138
|
+
* {@link isInlineExcludedDetailFieldType}** — the answer is the UNION of the
|
|
139
|
+
* two, so an authored display `type` can withdraw the copy affordance but never
|
|
140
|
+
* restore it (objectui#3355). The direction matters here more than anywhere: an
|
|
141
|
+
* object column declared `secret` keeps its refusal even when a view authors
|
|
142
|
+
* `type: 'text'` over it, because a PRESENTATION override has no business
|
|
143
|
+
* widening access to a credential. The declared cost of the union is the mirror
|
|
144
|
+
* case — an object `text` column authored as `password` masks AND refuses the
|
|
145
|
+
* copy, which is the same answer the cell already gives.
|
|
146
|
+
*/
|
|
147
|
+
export declare function isMaskedDetailFieldType(viewFieldType: unknown, objectFieldType: unknown): boolean;
|
|
108
148
|
/**
|
|
109
149
|
* Object-metadata keys carried onto a detail-view field so the read cell and
|
|
110
150
|
* the inline editor see the SAME resolved field shape the object form does.
|
|
@@ -119,12 +159,13 @@ export declare function isInlineExcludedDetailFieldType(viewFieldType: unknown,
|
|
|
119
159
|
*
|
|
120
160
|
* Ordering is documentation only; the copy is key-by-key.
|
|
121
161
|
*/
|
|
122
|
-
export declare const ENRICHED_FIELD_METADATA_KEYS: readonly ["options", "currency", "currencyConfig", "precision", "scale", "min", "max", "step", "format", "widget", "dueLike", "
|
|
162
|
+
export declare const ENRICHED_FIELD_METADATA_KEYS: readonly ["options", "currency", "currencyConfig", "precision", "scale", "useGrouping", "min", "max", "step", "format", "widget", "dueLike", "settledWhen", "multiple", "reference_field", "displayField", "descriptionField", "idField", "allowCreate", "lookupColumns", "lookupPageSize", "lookupFilters", "picker", "subtitle", "avatar_field", "avatarField", "depends_on", "dependsOn"];
|
|
123
163
|
/**
|
|
124
164
|
* Merge a detail-view field with its object-schema metadata.
|
|
125
165
|
*
|
|
126
166
|
* The view field always wins — it is the author's explicit override; the object
|
|
127
|
-
* schema only fills the keys it left undefined
|
|
167
|
+
* schema only fills the keys it left undefined — except the two deadline keys,
|
|
168
|
+
* which only the object field supplies. Shared by `DetailSection` (the
|
|
128
169
|
* details body) and `HeaderHighlight` (the highlights strip) so the two editors
|
|
129
170
|
* can't drift again.
|
|
130
171
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldEnrichment.d.ts","sourceRoot":"","sources":["../src/fieldEnrichment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,0BAA0B,aAMrC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,OAAO,GACvB,OAAO,CAKT;AAED
|
|
1
|
+
{"version":3,"file":"fieldEnrichment.d.ts","sourceRoot":"","sources":["../src/fieldEnrichment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,0BAA0B,aAMrC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,OAAO,GACvB,OAAO,CAKT;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,0BAA0B,aAQrC,CAAC;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,+BAA+B,CAC7C,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,OAAO,GACvB,OAAO,CAET;AAQD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,OAAO,GACvB,OAAO,CAET;AAMD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,4BAA4B,8XAsD/B,CAAC;AAKX;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,GAAG,IAAI,GACrD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA+BrB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ObjectUI
|
|
3
|
+
* Copyright (c) 2024-present ObjectStack Inc.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the MIT license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
/** The declared vocabulary, for tests and for callers that enumerate it. */
|
|
9
|
+
export declare const headerColorVocabulary: Readonly<Record<string, string>>;
|
|
10
|
+
/**
|
|
11
|
+
* Resolve an authored `headerColor` to a class the stylesheet actually
|
|
12
|
+
* carries, or `undefined` when there is none — never a concatenated guess.
|
|
13
|
+
*
|
|
14
|
+
* A value that is already a complete `bg-*` class is handed through
|
|
15
|
+
* untouched, exactly as `useRowColor` does. It then renders on the same terms
|
|
16
|
+
* as any `className` a schema carries: the host app's Tailwind build has to
|
|
17
|
+
* generate it.
|
|
18
|
+
*/
|
|
19
|
+
export declare function headerColorClass(headerColor: string | undefined): string | undefined;
|
|
20
|
+
//# sourceMappingURL=headerColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headerColor.d.ts","sourceRoot":"","sources":["../src/headerColor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA6DH,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB,kCAAuB,CAAC;AAE1D;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAYpF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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
15
|
/**
|
|
16
16
|
* ObjectUI
|
|
17
17
|
* Copyright (c) 2024-present ObjectStack Inc.
|
|
@@ -42,70 +42,87 @@ export { RecordDetailsRenderer, RecordRelatedListRenderer, RecordHighlightsRende
|
|
|
42
42
|
*
|
|
43
43
|
* No new module enters the eager closure: `renderers/record-activity`, already
|
|
44
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.
|
|
45
77
|
*/
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export
|
|
49
|
-
export {
|
|
50
|
-
export
|
|
51
|
-
export {
|
|
52
|
-
export
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export
|
|
57
|
-
export {
|
|
58
|
-
export
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export type {
|
|
81
|
-
export type {
|
|
82
|
-
export type {
|
|
83
|
-
export
|
|
84
|
-
export type {
|
|
85
|
-
export type {
|
|
86
|
-
export type {
|
|
87
|
-
export type {
|
|
88
|
-
export type {
|
|
89
|
-
export type {
|
|
90
|
-
export type {
|
|
91
|
-
export type {
|
|
92
|
-
export {
|
|
93
|
-
export type {
|
|
94
|
-
export type { DiffViewProps, DiffFieldType, DiffMode, DiffLine } from './DiffView';
|
|
95
|
-
export type { RecordNavigationEnhancedProps } from './RecordNavigationEnhanced';
|
|
96
|
-
export type { RelationshipGraphProps, GraphNode } from './RelationshipGraph';
|
|
97
|
-
export type { CommentAttachmentProps, Attachment } from './CommentAttachment';
|
|
98
|
-
export type { PointInTimeRestoreProps, RevisionEntry } from './PointInTimeRestore';
|
|
99
|
-
export type { RecordActivityTimelineProps, FeedFilterMode } from './RecordActivityTimeline';
|
|
100
|
-
export type { RecordChatterPanelProps } from './RecordChatterPanel';
|
|
101
|
-
export type { CommentInputProps } from './CommentInput';
|
|
102
|
-
export type { FieldChangeItemProps } from './FieldChangeItem';
|
|
103
|
-
export type { MentionAutocompleteProps, MentionSuggestionItem } from './MentionAutocomplete';
|
|
104
|
-
export type { SubscriptionToggleProps } from './SubscriptionToggle';
|
|
105
|
-
export type { ReactionPickerProps } from './ReactionPicker';
|
|
106
|
-
export type { ThreadedRepliesProps } from './ThreadedReplies';
|
|
107
|
-
export { buildDefaultPageSchema, buildDefaultHeader, buildDefaultActions, buildDefaultHighlights, buildDefaultDetails, buildDefaultTabs, buildDefaultDiscussion, detectStatusField, deriveStages, deriveHighlightFields, deriveFieldGroupDetailSections, resolveDetailSections, resolveTitleField, } from './synth/buildDefaultPageSchema';
|
|
108
|
-
export type { ObjectDefLike, ObjectDefFieldLike, BuildPageOptions, } from './synth/buildDefaultPageSchema';
|
|
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';
|
|
109
126
|
/**
|
|
110
127
|
* The registry face of `detail-view` — objectui#5378 item 1.
|
|
111
128
|
*
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,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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