@valiantys/atlassian-app-frontend 3.0.0-alpha-1 → 3.0.0-alpha-3
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/atlassian/forge/shared/util-product-fetch/src/lib/product-fetch/index.cjs.js +2 -2
- package/atlassian/forge/shared/util-product-fetch/src/lib/product-fetch/index.es.js +17 -16
- package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.cjs.js +1 -1
- package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.es.js +26 -8
- package/atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.cjs.js +1 -1
- package/atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.es.js +14 -15
- package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper.module.scss/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper.module.scss/index.es.js +1 -1
- package/atlassian/shared/frontend-ui-remote-adapter/src/lib/oauth-fetch-invoke-remote/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-remote-adapter/src/lib/oauth-fetch-invoke-remote/index.es.js +5 -5
- package/atlassian-app-frontend.css +1 -1
- package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +133 -0
- package/data-access-issue/atlassian-app-frontend.api.md +9 -0
- package/data-access-issue/index.d.ts +90 -31
- package/package.json +6 -1
- package/shared/util-fetch/src/lib/shared-util-fetch/index.cjs.js +2 -2
- package/shared/util-fetch/src/lib/shared-util-fetch/index.es.js +36 -30
- package/ui-iframe/atlassian-app-frontend-ui-iframe.api.json +376 -0
- package/ui-iframe/atlassian-app-frontend.api.md +30 -0
- package/ui-iframe/index.cjs.js +1 -0
- package/ui-iframe/index.d.ts +16 -0
- package/ui-iframe/index.es.js +4 -0
- package/ui-iframe/tsdoc-metadata.json +11 -0
- package/util-atlassian-product-fetch/atlassian-app-frontend-util-atlassian-product-fetch.api.json +113 -7
- package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +10 -3
- package/util-atlassian-product-fetch/index.d.ts +8 -3
- package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +1020 -127
- package/util-jira-v3-api/atlassian-app-frontend.api.md +122 -31
- package/util-jira-v3-api/index.d.ts +88 -31
|
@@ -1,57 +1,63 @@
|
|
|
1
|
-
class f {
|
|
2
|
-
constructor(t) {
|
|
3
|
-
this.
|
|
1
|
+
class f extends Error {
|
|
2
|
+
constructor(t, s, o = t) {
|
|
3
|
+
super(o), this.statusText = t, this.statusCode = s, this.statusCode = s, this.statusText = t;
|
|
4
|
+
}
|
|
5
|
+
toJSON() {
|
|
6
|
+
return {
|
|
7
|
+
statusCode: this.statusCode,
|
|
8
|
+
statusText: this.statusText
|
|
9
|
+
};
|
|
4
10
|
}
|
|
5
11
|
}
|
|
6
|
-
function
|
|
7
|
-
const
|
|
12
|
+
function u(e, t) {
|
|
13
|
+
const s = {
|
|
8
14
|
Authorization: e.startsWith("Bearer ") ? e : `Bearer ${e}`
|
|
9
15
|
};
|
|
10
|
-
return t ? { ...t, ...
|
|
16
|
+
return t ? { ...t, ...s } : s;
|
|
11
17
|
}
|
|
12
|
-
async function
|
|
13
|
-
const
|
|
18
|
+
async function l(e, t, s) {
|
|
19
|
+
const o = u(
|
|
14
20
|
e,
|
|
15
|
-
|
|
21
|
+
s.headers || {}
|
|
16
22
|
);
|
|
17
|
-
return fetch(t, { ...
|
|
23
|
+
return fetch(t, { ...s, headers: o });
|
|
18
24
|
}
|
|
19
|
-
async function
|
|
20
|
-
return
|
|
25
|
+
async function j(e, t, s, o, n = "json", a = {}) {
|
|
26
|
+
return d(
|
|
21
27
|
t,
|
|
22
|
-
r,
|
|
23
|
-
h(e, a),
|
|
24
28
|
s,
|
|
25
|
-
|
|
29
|
+
u(e, a),
|
|
30
|
+
o,
|
|
31
|
+
n
|
|
26
32
|
);
|
|
27
33
|
}
|
|
28
|
-
async function
|
|
34
|
+
async function d(e, t, s, o, n = "json") {
|
|
29
35
|
const a = {
|
|
30
|
-
...
|
|
31
|
-
Accept:
|
|
32
|
-
"Content-Type":
|
|
33
|
-
},
|
|
36
|
+
...s || {},
|
|
37
|
+
Accept: n === "json" ? "application/json" : "text/html",
|
|
38
|
+
"Content-Type": n === "json" ? "application/json" : "text/html"
|
|
39
|
+
}, h = o ? JSON.stringify(o) : void 0, r = await fetch(e, {
|
|
34
40
|
method: t,
|
|
35
41
|
headers: a,
|
|
36
|
-
body:
|
|
42
|
+
body: h
|
|
37
43
|
});
|
|
38
|
-
if (
|
|
39
|
-
return t === "DELETE" ||
|
|
44
|
+
if (r.ok)
|
|
45
|
+
return t === "DELETE" || r.status === 204 ? void 0 : n === "text" ? await r.text() : await r.json();
|
|
40
46
|
{
|
|
41
47
|
let c = "";
|
|
42
48
|
try {
|
|
43
|
-
c = await
|
|
49
|
+
c = await r.text();
|
|
44
50
|
} catch {
|
|
45
51
|
}
|
|
46
|
-
const i = `${
|
|
52
|
+
const i = `${r.status} ${r.statusText} - ${t} ${e}
|
|
47
53
|
${c}`;
|
|
48
|
-
throw console.error(i), new f(i);
|
|
54
|
+
throw console.error(i), new f(r.statusText, r.status, i);
|
|
49
55
|
}
|
|
50
56
|
}
|
|
51
57
|
export {
|
|
52
58
|
f as FetchError,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
59
|
+
u as addAuthHeader,
|
|
60
|
+
j as bearerAuthFetch,
|
|
61
|
+
l as bearerAuthFetchRaw,
|
|
62
|
+
d as jsonFetch
|
|
57
63
|
};
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
+
"toolVersion": "7.52.8",
|
|
5
|
+
"schemaVersion": 1011,
|
|
6
|
+
"oldestForwardsCompatibleVersion": 1001,
|
|
7
|
+
"tsdocConfig": {
|
|
8
|
+
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
9
|
+
"noStandardTags": true,
|
|
10
|
+
"tagDefinitions": [
|
|
11
|
+
{
|
|
12
|
+
"tagName": "@alpha",
|
|
13
|
+
"syntaxKind": "modifier"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"tagName": "@beta",
|
|
17
|
+
"syntaxKind": "modifier"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"tagName": "@defaultValue",
|
|
21
|
+
"syntaxKind": "block"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tagName": "@decorator",
|
|
25
|
+
"syntaxKind": "block",
|
|
26
|
+
"allowMultiple": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"tagName": "@deprecated",
|
|
30
|
+
"syntaxKind": "block"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tagName": "@eventProperty",
|
|
34
|
+
"syntaxKind": "modifier"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tagName": "@example",
|
|
38
|
+
"syntaxKind": "block",
|
|
39
|
+
"allowMultiple": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tagName": "@experimental",
|
|
43
|
+
"syntaxKind": "modifier"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tagName": "@inheritDoc",
|
|
47
|
+
"syntaxKind": "inline"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"tagName": "@internal",
|
|
51
|
+
"syntaxKind": "modifier"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"tagName": "@label",
|
|
55
|
+
"syntaxKind": "inline"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"tagName": "@link",
|
|
59
|
+
"syntaxKind": "inline",
|
|
60
|
+
"allowMultiple": true
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"tagName": "@override",
|
|
64
|
+
"syntaxKind": "modifier"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"tagName": "@packageDocumentation",
|
|
68
|
+
"syntaxKind": "modifier"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"tagName": "@param",
|
|
72
|
+
"syntaxKind": "block",
|
|
73
|
+
"allowMultiple": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"tagName": "@privateRemarks",
|
|
77
|
+
"syntaxKind": "block"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"tagName": "@public",
|
|
81
|
+
"syntaxKind": "modifier"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"tagName": "@readonly",
|
|
85
|
+
"syntaxKind": "modifier"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"tagName": "@remarks",
|
|
89
|
+
"syntaxKind": "block"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"tagName": "@returns",
|
|
93
|
+
"syntaxKind": "block"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"tagName": "@sealed",
|
|
97
|
+
"syntaxKind": "modifier"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"tagName": "@see",
|
|
101
|
+
"syntaxKind": "block"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"tagName": "@throws",
|
|
105
|
+
"syntaxKind": "block",
|
|
106
|
+
"allowMultiple": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"tagName": "@typeParam",
|
|
110
|
+
"syntaxKind": "block",
|
|
111
|
+
"allowMultiple": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"tagName": "@virtual",
|
|
115
|
+
"syntaxKind": "modifier"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"tagName": "@betaDocumentation",
|
|
119
|
+
"syntaxKind": "modifier"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"tagName": "@internalRemarks",
|
|
123
|
+
"syntaxKind": "block"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"tagName": "@preapproved",
|
|
127
|
+
"syntaxKind": "modifier"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"supportForTags": {
|
|
131
|
+
"@alpha": true,
|
|
132
|
+
"@beta": true,
|
|
133
|
+
"@defaultValue": true,
|
|
134
|
+
"@decorator": true,
|
|
135
|
+
"@deprecated": true,
|
|
136
|
+
"@eventProperty": true,
|
|
137
|
+
"@example": true,
|
|
138
|
+
"@experimental": true,
|
|
139
|
+
"@inheritDoc": true,
|
|
140
|
+
"@internal": true,
|
|
141
|
+
"@label": true,
|
|
142
|
+
"@link": true,
|
|
143
|
+
"@override": true,
|
|
144
|
+
"@packageDocumentation": true,
|
|
145
|
+
"@param": true,
|
|
146
|
+
"@privateRemarks": true,
|
|
147
|
+
"@public": true,
|
|
148
|
+
"@readonly": true,
|
|
149
|
+
"@remarks": true,
|
|
150
|
+
"@returns": true,
|
|
151
|
+
"@sealed": true,
|
|
152
|
+
"@see": true,
|
|
153
|
+
"@throws": true,
|
|
154
|
+
"@typeParam": true,
|
|
155
|
+
"@virtual": true,
|
|
156
|
+
"@betaDocumentation": true,
|
|
157
|
+
"@internalRemarks": true,
|
|
158
|
+
"@preapproved": true
|
|
159
|
+
},
|
|
160
|
+
"reportUnsupportedHtmlElements": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"kind": "Package",
|
|
164
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!",
|
|
165
|
+
"docComment": "",
|
|
166
|
+
"name": "@valiantys/atlassian-app-frontend",
|
|
167
|
+
"preserveMemberOrder": false,
|
|
168
|
+
"members": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "EntryPoint",
|
|
171
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!",
|
|
172
|
+
"name": "",
|
|
173
|
+
"preserveMemberOrder": false,
|
|
174
|
+
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "Interface",
|
|
177
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps:interface",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export interface IframeProps "
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
|
|
186
|
+
"releaseTag": "Public",
|
|
187
|
+
"name": "IframeProps",
|
|
188
|
+
"preserveMemberOrder": false,
|
|
189
|
+
"members": [
|
|
190
|
+
{
|
|
191
|
+
"kind": "PropertySignature",
|
|
192
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#height:member",
|
|
193
|
+
"docComment": "",
|
|
194
|
+
"excerptTokens": [
|
|
195
|
+
{
|
|
196
|
+
"kind": "Content",
|
|
197
|
+
"text": "height?: "
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "Content",
|
|
201
|
+
"text": "string"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "Content",
|
|
205
|
+
"text": ";"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"isReadonly": false,
|
|
209
|
+
"isOptional": true,
|
|
210
|
+
"releaseTag": "Public",
|
|
211
|
+
"name": "height",
|
|
212
|
+
"propertyTypeTokenRange": {
|
|
213
|
+
"startIndex": 1,
|
|
214
|
+
"endIndex": 2
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "PropertySignature",
|
|
219
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#link:member",
|
|
220
|
+
"docComment": "",
|
|
221
|
+
"excerptTokens": [
|
|
222
|
+
{
|
|
223
|
+
"kind": "Content",
|
|
224
|
+
"text": "link: "
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "Content",
|
|
228
|
+
"text": "string"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "Content",
|
|
232
|
+
"text": ";"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"isReadonly": false,
|
|
236
|
+
"isOptional": false,
|
|
237
|
+
"releaseTag": "Public",
|
|
238
|
+
"name": "link",
|
|
239
|
+
"propertyTypeTokenRange": {
|
|
240
|
+
"startIndex": 1,
|
|
241
|
+
"endIndex": 2
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "PropertySignature",
|
|
246
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#title:member",
|
|
247
|
+
"docComment": "",
|
|
248
|
+
"excerptTokens": [
|
|
249
|
+
{
|
|
250
|
+
"kind": "Content",
|
|
251
|
+
"text": "title?: "
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "Content",
|
|
255
|
+
"text": "string"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "Content",
|
|
259
|
+
"text": ";"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"isReadonly": false,
|
|
263
|
+
"isOptional": true,
|
|
264
|
+
"releaseTag": "Public",
|
|
265
|
+
"name": "title",
|
|
266
|
+
"propertyTypeTokenRange": {
|
|
267
|
+
"startIndex": 1,
|
|
268
|
+
"endIndex": 2
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "PropertySignature",
|
|
273
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#width:member",
|
|
274
|
+
"docComment": "",
|
|
275
|
+
"excerptTokens": [
|
|
276
|
+
{
|
|
277
|
+
"kind": "Content",
|
|
278
|
+
"text": "width?: "
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "Content",
|
|
282
|
+
"text": "string"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "Content",
|
|
286
|
+
"text": ";"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"isReadonly": false,
|
|
290
|
+
"isOptional": true,
|
|
291
|
+
"releaseTag": "Public",
|
|
292
|
+
"name": "width",
|
|
293
|
+
"propertyTypeTokenRange": {
|
|
294
|
+
"startIndex": 1,
|
|
295
|
+
"endIndex": 2
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"extendsTokenRanges": []
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "Function",
|
|
303
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapper:function(1)",
|
|
304
|
+
"docComment": "",
|
|
305
|
+
"excerptTokens": [
|
|
306
|
+
{
|
|
307
|
+
"kind": "Content",
|
|
308
|
+
"text": "export declare function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: "
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"kind": "Content",
|
|
312
|
+
"text": "{\n iframeProps: "
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"kind": "Reference",
|
|
316
|
+
"text": "IframeProps",
|
|
317
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps:interface"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "Content",
|
|
321
|
+
"text": ";\n messageCallback?: (eventData: T) => void;\n onMouseOut?: () => void;\n}"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"kind": "Content",
|
|
325
|
+
"text": "): "
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "Content",
|
|
329
|
+
"text": "import(\"react/jsx-runtime\")."
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"kind": "Reference",
|
|
333
|
+
"text": "JSX.Element",
|
|
334
|
+
"canonicalReference": "@types/react!JSX.Element:interface"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"kind": "Content",
|
|
338
|
+
"text": ";"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
|
|
342
|
+
"returnTypeTokenRange": {
|
|
343
|
+
"startIndex": 5,
|
|
344
|
+
"endIndex": 7
|
|
345
|
+
},
|
|
346
|
+
"releaseTag": "Public",
|
|
347
|
+
"overloadIndex": 1,
|
|
348
|
+
"parameters": [
|
|
349
|
+
{
|
|
350
|
+
"parameterName": "{ iframeProps, messageCallback, onMouseOut, }",
|
|
351
|
+
"parameterTypeTokenRange": {
|
|
352
|
+
"startIndex": 1,
|
|
353
|
+
"endIndex": 4
|
|
354
|
+
},
|
|
355
|
+
"isOptional": false
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"typeParameters": [
|
|
359
|
+
{
|
|
360
|
+
"typeParameterName": "T",
|
|
361
|
+
"constraintTokenRange": {
|
|
362
|
+
"startIndex": 0,
|
|
363
|
+
"endIndex": 0
|
|
364
|
+
},
|
|
365
|
+
"defaultTypeTokenRange": {
|
|
366
|
+
"startIndex": 0,
|
|
367
|
+
"endIndex": 0
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"name": "IframeWrapper"
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
## API Report File for "@valiantys/atlassian-app-frontend"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// @public (undocumented)
|
|
10
|
+
export interface IframeProps {
|
|
11
|
+
// (undocumented)
|
|
12
|
+
height?: string;
|
|
13
|
+
// (undocumented)
|
|
14
|
+
link: string;
|
|
15
|
+
// (undocumented)
|
|
16
|
+
title?: string;
|
|
17
|
+
// (undocumented)
|
|
18
|
+
width?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// @public (undocumented)
|
|
22
|
+
export function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: {
|
|
23
|
+
iframeProps: IframeProps;
|
|
24
|
+
messageCallback?: (eventData: T) => void;
|
|
25
|
+
onMouseOut?: () => void;
|
|
26
|
+
}): JSX_2.Element;
|
|
27
|
+
|
|
28
|
+
// (No @packageDocumentation comment for this package)
|
|
29
|
+
|
|
30
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.cjs.js");exports.IframeWrapper=e.IframeWrapper;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
export declare interface IframeProps {
|
|
4
|
+
link: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: string;
|
|
7
|
+
height?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: {
|
|
11
|
+
iframeProps: IframeProps;
|
|
12
|
+
messageCallback?: (eventData: T) => void;
|
|
13
|
+
onMouseOut?: () => void;
|
|
14
|
+
}): JSX_2.Element;
|
|
15
|
+
|
|
16
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.8"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|