@atlaskit/renderer 109.30.1 → 109.30.2
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 +9 -0
- package/dist/cjs/react/marks/alignment.js +1 -1
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +2 -2
- package/dist/cjs/react/nodes/media/index.js +2 -2
- package/dist/cjs/react/nodes/multiBodiedExtension.js +2 -2
- package/dist/cjs/react/nodes/panel.js +2 -2
- package/dist/cjs/react/nodes/table/colgroup.js +8 -8
- package/dist/cjs/ui/Expand.js +3 -3
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/ui/Renderer/style.js +9 -9
- package/dist/cjs/ui/annotations/element/mark.js +1 -1
- package/dist/es2019/react/marks/alignment.js +2 -2
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +26 -19
- package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +9 -9
- package/dist/es2019/react/nodes/media/index.js +14 -14
- package/dist/es2019/react/nodes/multiBodiedExtension.js +24 -24
- package/dist/es2019/react/nodes/panel.js +15 -15
- package/dist/es2019/react/nodes/table/colgroup.js +8 -8
- package/dist/es2019/ui/Expand.js +13 -13
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/style.js +575 -585
- package/dist/es2019/ui/annotations/element/mark.js +10 -10
- package/dist/esm/react/marks/alignment.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +2 -2
- package/dist/esm/react/nodes/media/index.js +2 -2
- package/dist/esm/react/nodes/multiBodiedExtension.js +2 -2
- package/dist/esm/react/nodes/panel.js +2 -2
- package/dist/esm/react/nodes/table/colgroup.js +8 -8
- package/dist/esm/ui/Expand.js +3 -3
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/style.js +9 -9
- package/dist/esm/ui/annotations/element/mark.js +1 -1
- package/dist/types/actions.d.ts +1 -1
- package/dist/types/react/hooks/use-bidi-warnings.d.ts +1 -1
- package/dist/types/react/nodes/extension.d.ts +1 -2
- package/dist/types/react/nodes/table/colgroup.d.ts +1 -1
- package/dist/types/ui/RendererActionsContext/index.d.ts +1 -1
- package/dist/types/ui/SmartCardStorage.d.ts +1 -1
- package/dist/types/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +1 -4
- package/dist/types/ui/TaskItemsFormatContext/index.d.ts +1 -1
- package/dist/types/ui/active-header-id-provider.d.ts +1 -1
- package/dist/types/ui/annotations/contexts/AnnotationHoverContext.d.ts +1 -1
- package/dist/types/ui/annotations/hooks/use-events.d.ts +1 -1
- package/dist/types-ts4.5/actions.d.ts +1 -1
- package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/extension.d.ts +1 -2
- package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +1 -1
- package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +1 -1
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/contexts/AnnotationHoverContext.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +1 -1
- package/docs/0-intro.tsx +12 -21
- package/package.json +2 -2
- package/report.api.md +478 -492
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/renderer"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -51,108 +52,106 @@ import type { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/u
|
|
|
51
52
|
|
|
52
53
|
// @public (undocumented)
|
|
53
54
|
export class ADFEncoder<T> {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
constructor(createTransformerWithSchema: TransformerProvider<T>);
|
|
56
|
+
// (undocumented)
|
|
57
|
+
encode: (value: T) => any;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
// @public (undocumented)
|
|
60
61
|
type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
action: Action;
|
|
63
|
+
actionSubject: ActionSubject;
|
|
64
|
+
actionSubjectId?: ActionSubjectID;
|
|
65
|
+
attributes?: Attributes;
|
|
66
|
+
eventType: EventType;
|
|
66
67
|
};
|
|
67
68
|
|
|
68
69
|
// @public (undocumented)
|
|
69
70
|
type AnalyticsEventPayload<T = void> =
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
71
|
+
| AnchorLinkAEP
|
|
72
|
+
| AnnotationAEP
|
|
73
|
+
| AnnotationDeleteAEP
|
|
74
|
+
| CodeBlockCopyAEP
|
|
75
|
+
| CodeBlockWrapAEP
|
|
76
|
+
| ComponentCrashErrorAEP
|
|
77
|
+
| ExpandAEP
|
|
78
|
+
| HeadingAnchorLinkButtonAEP
|
|
79
|
+
| InvalidProsemirrorDocumentErrorAEP
|
|
80
|
+
| MediaLnkTransformedAEP
|
|
81
|
+
| RendererReRenderedAEP<T>
|
|
82
|
+
| RendererRenderedAEP
|
|
83
|
+
| RendererSelectAllCaughtAEP
|
|
84
|
+
| RendererSelectAllEscapedAEP
|
|
85
|
+
| RendererStartAEP
|
|
86
|
+
| RendererTTIAEP
|
|
87
|
+
| RendererUnsupportedContentLevelsTrackingErrored
|
|
88
|
+
| RendererUnsupportedContentLevelsTrackingSucceeded
|
|
89
|
+
| TableSortColumnAEP
|
|
90
|
+
| TableSortColumnNotAllowedAEP
|
|
91
|
+
| UnsupportedContentPayload
|
|
92
|
+
| UnsupportedContentTooltipPayload
|
|
93
|
+
| VisitLinkAEP
|
|
94
|
+
| VisitMediaLinkAEP;
|
|
94
95
|
|
|
95
96
|
// @public (undocumented)
|
|
96
97
|
type AnchorLinkAEP = UIAEP<
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
ACTION.VIEWED,
|
|
99
|
+
ACTION_SUBJECT.ANCHOR_LINK,
|
|
100
|
+
undefined,
|
|
101
|
+
{
|
|
102
|
+
platform: PLATFORM.WEB;
|
|
103
|
+
mode: MODE.RENDERER;
|
|
104
|
+
}
|
|
104
105
|
>;
|
|
105
106
|
|
|
106
107
|
// @public (undocumented)
|
|
107
108
|
type AnnotationActionType =
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
| ACTION.CLOSED
|
|
110
|
+
| ACTION.CREATE_NOT_ALLOWED
|
|
111
|
+
| ACTION.DELETED
|
|
112
|
+
| ACTION.EDITED
|
|
113
|
+
| ACTION.INSERTED
|
|
114
|
+
| ACTION.OPENED
|
|
115
|
+
| ACTION.RESOLVED
|
|
116
|
+
| ACTION.VIEWED;
|
|
116
117
|
|
|
117
118
|
// @public (undocumented)
|
|
118
119
|
type AnnotationAEP = AEP<
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
AnnotationActionType,
|
|
121
|
+
ACTION_SUBJECT.ANNOTATION,
|
|
122
|
+
ACTION_SUBJECT_ID.INLINE_COMMENT,
|
|
123
|
+
AnnotationAEPAttributes,
|
|
124
|
+
undefined
|
|
124
125
|
>;
|
|
125
126
|
|
|
126
127
|
// @public (undocumented)
|
|
127
|
-
type AnnotationAEPAttributes =
|
|
128
|
-
| AnnotationDraftAEPAttributes
|
|
129
|
-
| AnnotationResolvedAEPAttributes;
|
|
128
|
+
type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
130
129
|
|
|
131
130
|
// @public (undocumented)
|
|
132
131
|
type AnnotationDeleteAEP = AEP<
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
132
|
+
AnnotationActionType,
|
|
133
|
+
ACTION_SUBJECT.ANNOTATION,
|
|
134
|
+
ACTION_SUBJECT_ID,
|
|
135
|
+
undefined,
|
|
136
|
+
EVENT_TYPE.TRACK
|
|
138
137
|
>;
|
|
139
138
|
|
|
140
139
|
// @public (undocumented)
|
|
141
140
|
type AnnotationDraftAEPAttributes = {
|
|
142
|
-
|
|
141
|
+
overlap?: number;
|
|
143
142
|
};
|
|
144
143
|
|
|
145
144
|
// @public (undocumented)
|
|
146
145
|
type AnnotationResolvedAEPAttributes = {
|
|
147
|
-
|
|
146
|
+
method?: RESOLVE_METHOD;
|
|
148
147
|
};
|
|
149
148
|
|
|
150
149
|
// @public (undocumented)
|
|
151
150
|
type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
ACTION.CLICKED,
|
|
152
|
+
ACTION_SUBJECT.BUTTON,
|
|
153
|
+
ActionSubjectID,
|
|
154
|
+
Attributes
|
|
156
155
|
>;
|
|
157
156
|
|
|
158
157
|
// @public (undocumented)
|
|
@@ -160,27 +159,27 @@ type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
|
|
|
160
159
|
|
|
161
160
|
// @public (undocumented)
|
|
162
161
|
type CodeBlockWrapAEP = ButtonAEP<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
ACTION_SUBJECT_ID.CODEBLOCK_WRAP,
|
|
163
|
+
{
|
|
164
|
+
wrapped: boolean;
|
|
165
|
+
}
|
|
167
166
|
>;
|
|
168
167
|
|
|
169
168
|
// @public (undocumented)
|
|
170
169
|
type ComponentCrashErrorAEP = OperationalAEP<
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
170
|
+
ACTION.CRASHED,
|
|
171
|
+
ACTION_SUBJECT.RENDERER,
|
|
172
|
+
ACTION_SUBJECT_ID,
|
|
173
|
+
{
|
|
174
|
+
platform: PLATFORM.WEB;
|
|
175
|
+
errorMessage?: string;
|
|
176
|
+
errorStack?: string;
|
|
177
|
+
componentStack?: string;
|
|
178
|
+
errorRethrown?: boolean;
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
errorStack?: string;
|
|
182
|
+
}
|
|
184
183
|
>;
|
|
185
184
|
|
|
186
185
|
// @public (undocumented)
|
|
@@ -188,27 +187,24 @@ type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
|
188
187
|
|
|
189
188
|
// @public (undocumented)
|
|
190
189
|
type ExpandAEP = AEP<
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
190
|
+
ACTION.TOGGLE_EXPAND,
|
|
191
|
+
ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND,
|
|
192
|
+
undefined,
|
|
193
|
+
{
|
|
194
|
+
platform: PLATFORM.WEB;
|
|
195
|
+
mode: MODE.RENDERER;
|
|
196
|
+
expanded: boolean;
|
|
197
|
+
},
|
|
198
|
+
EVENT_TYPE.TRACK
|
|
200
199
|
>;
|
|
201
200
|
|
|
202
201
|
// @public (undocumented)
|
|
203
|
-
type HeadingAnchorLinkButtonAEP = ButtonAEP<
|
|
204
|
-
ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK,
|
|
205
|
-
undefined
|
|
206
|
-
>;
|
|
202
|
+
type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
|
|
207
203
|
|
|
208
204
|
// @public (undocumented)
|
|
209
205
|
type HeadingAnchorLinksConfig = {
|
|
210
|
-
|
|
211
|
-
|
|
206
|
+
activeHeadingId?: string;
|
|
207
|
+
allowNestedHeaderLinks?: boolean;
|
|
212
208
|
};
|
|
213
209
|
|
|
214
210
|
// @public (undocumented)
|
|
@@ -216,82 +212,82 @@ export type HeadingAnchorLinksProps = HeadingAnchorLinksConfig | boolean;
|
|
|
216
212
|
|
|
217
213
|
// @public (undocumented)
|
|
218
214
|
type InvalidProsemirrorDocumentErrorAEP = AEP<
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
215
|
+
ACTION.INVALID_PROSEMIRROR_DOCUMENT,
|
|
216
|
+
ACTION_SUBJECT.RENDERER,
|
|
217
|
+
ACTION_SUBJECT_ID,
|
|
218
|
+
{
|
|
219
|
+
platform: PLATFORM.WEB;
|
|
220
|
+
errorStack?: string;
|
|
221
|
+
},
|
|
222
|
+
EVENT_TYPE.OPERATIONAL
|
|
227
223
|
>;
|
|
228
224
|
|
|
229
225
|
// @public (undocumented)
|
|
230
226
|
type MediaLnkTransformedAEP = AEP<
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
227
|
+
ACTION.MEDIA_LINK_TRANSFORMED,
|
|
228
|
+
ACTION_SUBJECT.RENDERER,
|
|
229
|
+
undefined,
|
|
230
|
+
undefined,
|
|
231
|
+
EVENT_TYPE.OPERATIONAL
|
|
236
232
|
>;
|
|
237
233
|
|
|
238
234
|
// @public (undocumented)
|
|
239
235
|
interface MediaOptions {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
236
|
+
// (undocumented)
|
|
237
|
+
allowCaptions?: boolean;
|
|
238
|
+
// (undocumented)
|
|
239
|
+
allowLinking?: boolean;
|
|
240
|
+
// (undocumented)
|
|
241
|
+
enableDownloadButton?: boolean;
|
|
242
|
+
// (undocumented)
|
|
243
|
+
featureFlags?: MediaFeatureFlags;
|
|
244
|
+
// (undocumented)
|
|
245
|
+
ssr?: MediaSSR;
|
|
250
246
|
}
|
|
251
247
|
|
|
252
248
|
// @public (undocumented)
|
|
253
249
|
export type MediaSSR = {
|
|
254
|
-
|
|
255
|
-
|
|
250
|
+
mode: SSR;
|
|
251
|
+
config: MediaClientConfig;
|
|
256
252
|
};
|
|
257
253
|
|
|
258
254
|
// @public (undocumented)
|
|
259
255
|
enum MODE {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
256
|
+
// (undocumented)
|
|
257
|
+
EDITOR = 'editor',
|
|
258
|
+
// (undocumented)
|
|
259
|
+
RENDERER = 'renderer',
|
|
264
260
|
}
|
|
265
261
|
|
|
266
262
|
// @public (undocumented)
|
|
267
263
|
type NodeComponentsProps = {
|
|
268
|
-
|
|
264
|
+
[key: string]: React.ComponentType<any>;
|
|
269
265
|
};
|
|
270
266
|
|
|
271
267
|
// @public (undocumented)
|
|
272
268
|
interface ParentInfo {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
269
|
+
// (undocumented)
|
|
270
|
+
parentIsIncompleteTask: boolean;
|
|
271
|
+
// (undocumented)
|
|
272
|
+
path: Array<Node_2>;
|
|
273
|
+
// (undocumented)
|
|
274
|
+
pos: number;
|
|
279
275
|
}
|
|
280
276
|
|
|
281
277
|
// @public (undocumented)
|
|
282
278
|
enum PLATFORM {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
279
|
+
// (undocumented)
|
|
280
|
+
HYBRID = 'mobileHybrid',
|
|
281
|
+
// (undocumented)
|
|
282
|
+
NATIVE = 'mobileNative',
|
|
283
|
+
// (undocumented)
|
|
284
|
+
WEB = 'web',
|
|
289
285
|
}
|
|
290
286
|
|
|
291
287
|
// @public (undocumented)
|
|
292
288
|
interface RawObjectFeatureFlags {
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
// (undocumented)
|
|
290
|
+
['renderer-render-tracking']: string;
|
|
295
291
|
}
|
|
296
292
|
|
|
297
293
|
// @public (undocumented)
|
|
@@ -299,423 +295,413 @@ export const ReactRenderer: (props: RendererProps) => jsx.JSX.Element;
|
|
|
299
295
|
|
|
300
296
|
// @public (undocumented)
|
|
301
297
|
export class ReactSerializer implements Serializer<JSX.Element> {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
298
|
+
constructor(init: ReactSerializerInit);
|
|
299
|
+
// (undocumented)
|
|
300
|
+
static buildMarkStructure(content: Node_2[]): Mark[];
|
|
301
|
+
// (undocumented)
|
|
302
|
+
static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
|
|
303
|
+
// (undocumented)
|
|
304
|
+
static getChildNodes(fragment: Fragment): (Node_2 | TextWrapper)[];
|
|
305
|
+
// (undocumented)
|
|
306
|
+
static getMarks(node: Node_2): Mark[];
|
|
307
|
+
// (undocumented)
|
|
308
|
+
serializeFragment(
|
|
309
|
+
fragment: Fragment,
|
|
310
|
+
props?: any,
|
|
311
|
+
target?: any,
|
|
312
|
+
key?: string,
|
|
313
|
+
parentInfo?: ParentInfo,
|
|
314
|
+
): JSX.Element | null;
|
|
319
315
|
}
|
|
320
316
|
|
|
321
317
|
// @public (undocumented)
|
|
322
318
|
interface ReactSerializerInit {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
319
|
+
// (undocumented)
|
|
320
|
+
allowAltTextOnImages?: boolean;
|
|
321
|
+
// (undocumented)
|
|
322
|
+
allowAnnotations?: boolean;
|
|
323
|
+
// (undocumented)
|
|
324
|
+
allowColumnSorting?: boolean;
|
|
325
|
+
// (undocumented)
|
|
326
|
+
allowCopyToClipboard?: boolean;
|
|
327
|
+
// (undocumented)
|
|
328
|
+
allowCustomPanels?: boolean;
|
|
329
|
+
// (undocumented)
|
|
330
|
+
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
331
|
+
// (undocumented)
|
|
332
|
+
allowMediaLinking?: boolean;
|
|
333
|
+
// (undocumented)
|
|
334
|
+
allowPlaceholderText?: boolean;
|
|
335
|
+
// (undocumented)
|
|
336
|
+
allowSelectAllTrap?: boolean;
|
|
337
|
+
// (undocumented)
|
|
338
|
+
allowWindowedCodeBlock?: boolean;
|
|
339
|
+
// (undocumented)
|
|
340
|
+
allowWrapCodeBlock?: boolean;
|
|
341
|
+
// (undocumented)
|
|
342
|
+
appearance?: RendererAppearance;
|
|
343
|
+
// (undocumented)
|
|
344
|
+
disableActions?: boolean;
|
|
345
|
+
// (undocumented)
|
|
346
|
+
disableHeadingIDs?: boolean;
|
|
347
|
+
// (undocumented)
|
|
348
|
+
emojiResourceConfig?: EmojiResourceConfig;
|
|
349
|
+
// (undocumented)
|
|
350
|
+
eventHandlers?: EventHandlers;
|
|
351
|
+
// (undocumented)
|
|
352
|
+
extensionHandlers?: ExtensionHandlers;
|
|
353
|
+
// (undocumented)
|
|
354
|
+
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
355
|
+
// (undocumented)
|
|
356
|
+
media?: MediaOptions;
|
|
357
|
+
// (undocumented)
|
|
358
|
+
nodeComponents?: NodeComponentsProps;
|
|
359
|
+
// (undocumented)
|
|
360
|
+
objectContext?: RendererContext;
|
|
361
|
+
// (undocumented)
|
|
362
|
+
portal?: HTMLElement;
|
|
363
|
+
// (undocumented)
|
|
364
|
+
providers?: ProviderFactory;
|
|
365
|
+
// (undocumented)
|
|
366
|
+
shouldOpenMediaViewer?: boolean;
|
|
367
|
+
// (undocumented)
|
|
368
|
+
smartLinks?: SmartLinksOptions;
|
|
369
|
+
// (undocumented)
|
|
370
|
+
stickyHeaders?: StickyHeaderConfig;
|
|
371
|
+
// (undocumented)
|
|
372
|
+
surroundTextNodesWithTextWrapper?: boolean;
|
|
377
373
|
}
|
|
378
374
|
|
|
379
375
|
// @public (undocumented)
|
|
380
376
|
export const renderDocument: <T>(
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
377
|
+
doc: any,
|
|
378
|
+
serializer: Serializer<T>,
|
|
379
|
+
schema?: Schema,
|
|
380
|
+
adfStage?: ADFStage,
|
|
381
|
+
useSpecBasedValidator?: boolean,
|
|
382
|
+
rendererId?: string,
|
|
383
|
+
dispatchAnalyticsEvent?: DispatchAnalyticsEvent,
|
|
384
|
+
unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking,
|
|
385
|
+
appearance?: RendererAppearance,
|
|
390
386
|
) => RenderOutput<T | null>;
|
|
391
387
|
|
|
392
388
|
// @public (undocumented)
|
|
393
|
-
export type RendererAppearance =
|
|
394
|
-
| 'comment'
|
|
395
|
-
| 'full-page'
|
|
396
|
-
| 'full-width'
|
|
397
|
-
| 'mobile'
|
|
398
|
-
| undefined;
|
|
389
|
+
export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | 'mobile' | undefined;
|
|
399
390
|
|
|
400
391
|
// @public (undocumented)
|
|
401
392
|
export interface RendererContext {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
393
|
+
// (undocumented)
|
|
394
|
+
adDoc?: any;
|
|
395
|
+
// (undocumented)
|
|
396
|
+
containerAri?: string;
|
|
397
|
+
// (undocumented)
|
|
398
|
+
objectAri?: string;
|
|
399
|
+
// (undocumented)
|
|
400
|
+
schema?: Schema;
|
|
410
401
|
}
|
|
411
402
|
|
|
412
403
|
// @public (undocumented)
|
|
413
404
|
export interface RendererProps {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
405
|
+
addTelepointer?: boolean;
|
|
406
|
+
// (undocumented)
|
|
407
|
+
adfStage?: ADFStage;
|
|
408
|
+
// (undocumented)
|
|
409
|
+
allowAltTextOnImages?: boolean;
|
|
410
|
+
// (undocumented)
|
|
411
|
+
allowAnnotations?: boolean;
|
|
412
|
+
// (undocumented)
|
|
413
|
+
allowColumnSorting?: boolean;
|
|
414
|
+
// (undocumented)
|
|
415
|
+
allowCopyToClipboard?: boolean;
|
|
416
|
+
// (undocumented)
|
|
417
|
+
allowCustomPanels?: boolean;
|
|
418
|
+
// (undocumented)
|
|
419
|
+
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
420
|
+
// (undocumented)
|
|
421
|
+
allowPlaceholderText?: boolean;
|
|
422
|
+
// (undocumented)
|
|
423
|
+
allowSelectAllTrap?: boolean;
|
|
424
|
+
// (undocumented)
|
|
425
|
+
allowUgcScrubber?: boolean;
|
|
426
|
+
// (undocumented)
|
|
427
|
+
allowWrapCodeBlock?: boolean;
|
|
428
|
+
// (undocumented)
|
|
429
|
+
analyticsEventSeverityTracking?: {
|
|
430
|
+
enabled: boolean;
|
|
431
|
+
severityNormalThreshold: number;
|
|
432
|
+
severityDegradedThreshold: number;
|
|
433
|
+
};
|
|
434
|
+
// (undocumented)
|
|
435
|
+
annotationProvider?: AnnotationProviders | null;
|
|
436
|
+
// (undocumented)
|
|
437
|
+
appearance?: RendererAppearance;
|
|
438
|
+
// (undocumented)
|
|
439
|
+
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
440
|
+
// (undocumented)
|
|
441
|
+
dataProviders?: ProviderFactory;
|
|
442
|
+
// (undocumented)
|
|
443
|
+
disableActions?: boolean;
|
|
444
|
+
// (undocumented)
|
|
445
|
+
disableHeadingIDs?: boolean;
|
|
446
|
+
// (undocumented)
|
|
447
|
+
document: DocNode;
|
|
448
|
+
// (undocumented)
|
|
449
|
+
emojiResourceConfig?: EmojiResourceConfig;
|
|
450
|
+
// (undocumented)
|
|
451
|
+
enableSsrInlineScripts?: boolean;
|
|
452
|
+
// (undocumented)
|
|
453
|
+
eventHandlers?: EventHandlers;
|
|
454
|
+
// (undocumented)
|
|
455
|
+
extensionHandlers?: ExtensionHandlers;
|
|
456
|
+
// (undocumented)
|
|
457
|
+
fadeOutHeight?: number;
|
|
458
|
+
featureFlags?:
|
|
459
|
+
| Partial<RawObjectFeatureFlags>
|
|
460
|
+
| {
|
|
461
|
+
[featureFlag: string]: boolean;
|
|
462
|
+
};
|
|
463
|
+
// (undocumented)
|
|
464
|
+
innerRef?: React.RefObject<HTMLDivElement>;
|
|
465
|
+
// (undocumented)
|
|
466
|
+
maxHeight?: number;
|
|
467
|
+
// (undocumented)
|
|
468
|
+
media?: MediaOptions;
|
|
469
|
+
// (undocumented)
|
|
470
|
+
nodeComponents?: NodeComponentsProps;
|
|
471
|
+
// (undocumented)
|
|
472
|
+
onComplete?: (stat: RenderOutputStat) => void;
|
|
473
|
+
// (undocumented)
|
|
474
|
+
onError?: (error: any) => void;
|
|
475
|
+
// (undocumented)
|
|
476
|
+
portal?: HTMLElement;
|
|
477
|
+
// (undocumented)
|
|
478
|
+
rendererContext?: RendererContext;
|
|
479
|
+
// (undocumented)
|
|
480
|
+
schema?: Schema;
|
|
481
|
+
// (undocumented)
|
|
482
|
+
shouldOpenMediaViewer?: boolean;
|
|
483
|
+
// (undocumented)
|
|
484
|
+
smartLinks?: SmartLinksOptions;
|
|
485
|
+
// (undocumented)
|
|
486
|
+
stickyHeaders?: StickyHeaderProps;
|
|
487
|
+
// (undocumented)
|
|
488
|
+
truncated?: boolean;
|
|
489
|
+
// (undocumented)
|
|
490
|
+
unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
|
|
491
|
+
// @deprecated (undocumented)
|
|
492
|
+
useSpecBasedValidator?: boolean;
|
|
502
493
|
}
|
|
503
494
|
|
|
504
495
|
// @public (undocumented)
|
|
505
496
|
type RendererRenderedAEP = AEP<
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
497
|
+
ACTION.RENDERED,
|
|
498
|
+
ACTION_SUBJECT.RENDERER,
|
|
499
|
+
undefined,
|
|
500
|
+
{
|
|
501
|
+
platform: PLATFORM.WEB;
|
|
502
|
+
duration: number;
|
|
503
|
+
distortedDuration: boolean;
|
|
504
|
+
ttfb?: number;
|
|
505
|
+
nodes: Record<string, number>;
|
|
506
|
+
severity?: SEVERITY;
|
|
507
|
+
},
|
|
508
|
+
EVENT_TYPE.OPERATIONAL
|
|
518
509
|
>;
|
|
519
510
|
|
|
520
511
|
// @public (undocumented)
|
|
521
512
|
type RendererReRenderedAEP<Props> = AEP<
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
513
|
+
ACTION.RE_RENDERED,
|
|
514
|
+
ACTION_SUBJECT.RENDERER,
|
|
515
|
+
undefined,
|
|
516
|
+
{
|
|
517
|
+
propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
|
|
518
|
+
count: number;
|
|
519
|
+
componentId?: string;
|
|
520
|
+
},
|
|
521
|
+
EVENT_TYPE.OPERATIONAL
|
|
531
522
|
>;
|
|
532
523
|
|
|
533
524
|
// @public (undocumented)
|
|
534
525
|
type RendererSelectAllCaughtAEP = AEP<
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
526
|
+
ACTION.SELECT_ALL_CAUGHT,
|
|
527
|
+
ACTION_SUBJECT.RENDERER,
|
|
528
|
+
undefined,
|
|
529
|
+
{
|
|
530
|
+
platform: PLATFORM.WEB;
|
|
531
|
+
},
|
|
532
|
+
EVENT_TYPE.TRACK
|
|
542
533
|
>;
|
|
543
534
|
|
|
544
535
|
// @public (undocumented)
|
|
545
536
|
type RendererSelectAllEscapedAEP = AEP<
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
537
|
+
ACTION.SELECT_ALL_ESCAPED,
|
|
538
|
+
ACTION_SUBJECT.RENDERER,
|
|
539
|
+
undefined,
|
|
540
|
+
{
|
|
541
|
+
platform: PLATFORM.WEB;
|
|
542
|
+
},
|
|
543
|
+
EVENT_TYPE.TRACK
|
|
553
544
|
>;
|
|
554
545
|
|
|
555
546
|
// @public (undocumented)
|
|
556
547
|
type RendererStartAEP = AEP<
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
548
|
+
ACTION.STARTED,
|
|
549
|
+
ACTION_SUBJECT.RENDERER,
|
|
550
|
+
undefined,
|
|
551
|
+
{
|
|
552
|
+
platform: PLATFORM.WEB;
|
|
553
|
+
},
|
|
554
|
+
EVENT_TYPE.UI
|
|
564
555
|
>;
|
|
565
556
|
|
|
566
557
|
// @public (undocumented)
|
|
567
558
|
type RendererTTIAEP = AEP<
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
559
|
+
ACTION.RENDERER_TTI,
|
|
560
|
+
ACTION_SUBJECT.RENDERER,
|
|
561
|
+
undefined,
|
|
562
|
+
{
|
|
563
|
+
tti: number;
|
|
564
|
+
ttiFromInvocation: number;
|
|
565
|
+
canceled: boolean;
|
|
566
|
+
},
|
|
567
|
+
EVENT_TYPE.OPERATIONAL
|
|
577
568
|
>;
|
|
578
569
|
|
|
579
570
|
// @public (undocumented)
|
|
580
571
|
type RendererUnsupportedContentLevelsTrackingErrored = AEP<
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
572
|
+
ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED,
|
|
573
|
+
ACTION_SUBJECT.RENDERER,
|
|
574
|
+
undefined,
|
|
575
|
+
{
|
|
576
|
+
platform: PLATFORM.WEB;
|
|
577
|
+
error: string;
|
|
578
|
+
},
|
|
579
|
+
EVENT_TYPE.OPERATIONAL
|
|
589
580
|
>;
|
|
590
581
|
|
|
591
582
|
// @public (undocumented)
|
|
592
583
|
type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
584
|
+
ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED,
|
|
585
|
+
ACTION_SUBJECT.RENDERER,
|
|
586
|
+
undefined,
|
|
587
|
+
{
|
|
588
|
+
appearance?: string;
|
|
589
|
+
platform: PLATFORM.WEB;
|
|
590
|
+
unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
|
|
591
|
+
unsupportedContentLevelPercentage: number;
|
|
592
|
+
unsupportedNodesCount: number;
|
|
593
|
+
supportedNodesCount: number;
|
|
594
|
+
},
|
|
595
|
+
EVENT_TYPE.OPERATIONAL
|
|
605
596
|
>;
|
|
606
597
|
|
|
607
598
|
// @public (undocumented)
|
|
608
599
|
interface RenderOutput<T> {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
600
|
+
// (undocumented)
|
|
601
|
+
pmDoc?: Node_2;
|
|
602
|
+
// (undocumented)
|
|
603
|
+
result: T;
|
|
604
|
+
// (undocumented)
|
|
605
|
+
stat: RenderOutputStat;
|
|
615
606
|
}
|
|
616
607
|
|
|
617
608
|
// @public (undocumented)
|
|
618
609
|
export interface RenderOutputStat {
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
610
|
+
// (undocumented)
|
|
611
|
+
buildTreeTime?: number;
|
|
612
|
+
// (undocumented)
|
|
613
|
+
sanitizeTime: number;
|
|
614
|
+
// (undocumented)
|
|
615
|
+
serializeTime?: number;
|
|
625
616
|
}
|
|
626
617
|
|
|
627
618
|
// @public (undocumented)
|
|
628
619
|
enum RESOLVE_METHOD {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
620
|
+
// (undocumented)
|
|
621
|
+
COMPONENT = 'component',
|
|
622
|
+
// (undocumented)
|
|
623
|
+
CONSUMER = 'consumer',
|
|
624
|
+
// (undocumented)
|
|
625
|
+
ORPHANED = 'orphaned',
|
|
635
626
|
}
|
|
636
627
|
|
|
637
628
|
// @public (undocumented)
|
|
638
629
|
export interface Serializer<T> {
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
fragment: Fragment,
|
|
642
|
-
props?: any,
|
|
643
|
-
target?: any,
|
|
644
|
-
key?: string,
|
|
645
|
-
): T | null;
|
|
630
|
+
// (undocumented)
|
|
631
|
+
serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string): T | null;
|
|
646
632
|
}
|
|
647
633
|
|
|
648
634
|
// @public (undocumented)
|
|
649
635
|
interface SmartLinksOptions {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
636
|
+
// (undocumented)
|
|
637
|
+
frameStyle?: CardProps['frameStyle'];
|
|
638
|
+
// (undocumented)
|
|
639
|
+
hideHoverPreview?: boolean;
|
|
640
|
+
// (undocumented)
|
|
641
|
+
showAuthTooltip?: boolean;
|
|
642
|
+
// (undocumented)
|
|
643
|
+
showServerActions?: boolean;
|
|
644
|
+
// (undocumented)
|
|
645
|
+
ssr?: boolean;
|
|
660
646
|
}
|
|
661
647
|
|
|
662
648
|
// @public (undocumented)
|
|
663
649
|
type StickyHeaderConfig = {
|
|
664
|
-
|
|
650
|
+
offsetTop?: number;
|
|
665
651
|
};
|
|
666
652
|
|
|
667
653
|
// @public (undocumented)
|
|
668
654
|
export type StickyHeaderProps =
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
655
|
+
| ({
|
|
656
|
+
show?: boolean;
|
|
657
|
+
} & StickyHeaderConfig)
|
|
658
|
+
| boolean;
|
|
673
659
|
|
|
674
660
|
// @public (undocumented)
|
|
675
661
|
type TableSortColumnAEP = AEP<
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
662
|
+
ACTION.SORT_COLUMN,
|
|
663
|
+
ACTION_SUBJECT.TABLE,
|
|
664
|
+
undefined,
|
|
665
|
+
{
|
|
666
|
+
platform: PLATFORM.WEB;
|
|
667
|
+
mode: MODE.RENDERER;
|
|
668
|
+
sortOrder: SortOrder;
|
|
669
|
+
columnIndex: number;
|
|
670
|
+
},
|
|
671
|
+
EVENT_TYPE.TRACK
|
|
686
672
|
>;
|
|
687
673
|
|
|
688
674
|
// @public (undocumented)
|
|
689
675
|
type TableSortColumnNotAllowedAEP = AEP<
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
676
|
+
ACTION.SORT_COLUMN_NOT_ALLOWED,
|
|
677
|
+
ACTION_SUBJECT.TABLE,
|
|
678
|
+
undefined,
|
|
679
|
+
{
|
|
680
|
+
platform: PLATFORM.WEB;
|
|
681
|
+
mode: MODE.RENDERER;
|
|
682
|
+
},
|
|
683
|
+
EVENT_TYPE.TRACK
|
|
698
684
|
>;
|
|
699
685
|
|
|
700
686
|
// @public (undocumented)
|
|
701
687
|
export class TextSerializer implements Serializer<string> {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
688
|
+
constructor(schema: Schema);
|
|
689
|
+
// (undocumented)
|
|
690
|
+
static fromSchema(schema?: Schema): TextSerializer;
|
|
691
|
+
// (undocumented)
|
|
692
|
+
serializeFragment(fragment: Fragment): string;
|
|
707
693
|
}
|
|
708
694
|
|
|
709
695
|
// @public (undocumented)
|
|
710
696
|
interface TextWrapper {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
697
|
+
// (undocumented)
|
|
698
|
+
content: Node_2[];
|
|
699
|
+
// (undocumented)
|
|
700
|
+
nodeSize: number;
|
|
701
|
+
// (undocumented)
|
|
702
|
+
type: {
|
|
703
|
+
name: 'textWrapper';
|
|
704
|
+
};
|
|
719
705
|
}
|
|
720
706
|
|
|
721
707
|
// @public (undocumented)
|
|
@@ -723,35 +709,35 @@ type TransformerProvider<T> = (schema: Schema) => Transformer_2<T>;
|
|
|
723
709
|
|
|
724
710
|
// @public (undocumented)
|
|
725
711
|
type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
712
|
+
Action,
|
|
713
|
+
ActionSubject,
|
|
714
|
+
ActionSubjectID,
|
|
715
|
+
Attributes,
|
|
716
|
+
EVENT_TYPE.UI
|
|
731
717
|
>;
|
|
732
718
|
|
|
733
719
|
// @public (undocumented)
|
|
734
720
|
type VisitLinkAEP = AEP<
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
721
|
+
ACTION.VISITED,
|
|
722
|
+
ACTION_SUBJECT.LINK,
|
|
723
|
+
undefined,
|
|
724
|
+
{
|
|
725
|
+
platform: PLATFORM.WEB;
|
|
726
|
+
mode: MODE.RENDERER;
|
|
727
|
+
},
|
|
728
|
+
EVENT_TYPE.TRACK
|
|
743
729
|
>;
|
|
744
730
|
|
|
745
731
|
// @public (undocumented)
|
|
746
732
|
type VisitMediaLinkAEP = AEP<
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
733
|
+
ACTION.VISITED,
|
|
734
|
+
ACTION_SUBJECT.MEDIA,
|
|
735
|
+
ACTION_SUBJECT_ID.LINK,
|
|
736
|
+
{
|
|
737
|
+
platform: PLATFORM.WEB;
|
|
738
|
+
mode: MODE.RENDERER;
|
|
739
|
+
},
|
|
740
|
+
EVENT_TYPE.TRACK
|
|
755
741
|
>;
|
|
756
742
|
|
|
757
743
|
// (No @packageDocumentation comment for this package)
|
|
@@ -765,10 +751,10 @@ type VisitMediaLinkAEP = AEP<
|
|
|
765
751
|
|
|
766
752
|
```json
|
|
767
753
|
{
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
754
|
+
"@atlaskit/link-provider": "^1.6.2",
|
|
755
|
+
"@atlaskit/media-core": "^34.1.2",
|
|
756
|
+
"react": "^16.8.0",
|
|
757
|
+
"react-dom": "^16.8.0"
|
|
772
758
|
}
|
|
773
759
|
```
|
|
774
760
|
|