@@ -10,16 +10,20 @@ export namespace Components {
10
10
}
11
11
interface PosAppBrowser {
12
12
}
13
+ interface PosAppDocumentViewer {
14
+ }
13
15
interface PosAppGeneric {
14
16
}
15
17
interface PosAppImageViewer {
16
18
}
17
- interface PosAppPdfViewer {
18
- }
19
19
interface PosAppRdfDocument {
20
20
}
21
21
interface PosDescription {
22
22
}
23
+ interface PosDocument {
24
+ "alt" : string ;
25
+ "src" : string ;
26
+ }
23
27
interface PosImage {
24
28
"alt" : string ;
25
29
"src" : string ;
@@ -33,10 +37,6 @@ export namespace Components {
33
37
interface PosNavigationBar {
34
38
"uri" : string ;
35
39
}
36
- interface PosPdf {
37
- "alt" : string ;
38
- "src" : string ;
39
- }
40
40
interface PosPicture {
41
41
}
42
42
interface PosRelations {
@@ -60,18 +60,22 @@ export namespace Components {
60
60
interface PosTypeRouter {
61
61
}
62
62
}
63
- export interface PosAppImageViewerCustomEvent < T > extends CustomEvent < T > {
63
+ export interface PosAppDocumentViewerCustomEvent < T > extends CustomEvent < T > {
64
64
detail : T ;
65
- target : HTMLPosAppImageViewerElement ;
65
+ target : HTMLPosAppDocumentViewerElement ;
66
66
}
67
- export interface PosAppPdfViewerCustomEvent < T > extends CustomEvent < T > {
67
+ export interface PosAppImageViewerCustomEvent < T > extends CustomEvent < T > {
68
68
detail : T ;
69
- target : HTMLPosAppPdfViewerElement ;
69
+ target : HTMLPosAppImageViewerElement ;
70
70
}
71
71
export interface PosDescriptionCustomEvent < T > extends CustomEvent < T > {
72
72
detail : T ;
73
73
target : HTMLPosDescriptionElement ;
74
74
}
75
+ export interface PosDocumentCustomEvent < T > extends CustomEvent < T > {
76
+ detail : T ;
77
+ target : HTMLPosDocumentElement ;
78
+ }
75
79
export interface PosImageCustomEvent < T > extends CustomEvent < T > {
76
80
detail : T ;
77
81
target : HTMLPosImageElement ;
@@ -92,10 +96,6 @@ export interface PosNavigationBarCustomEvent<T> extends CustomEvent<T> {
92
96
detail : T ;
93
97
target : HTMLPosNavigationBarElement ;
94
98
}
95
- export interface PosPdfCustomEvent < T > extends CustomEvent < T > {
96
- detail : T ;
97
- target : HTMLPosPdfElement ;
98
- }
99
99
export interface PosPictureCustomEvent < T > extends CustomEvent < T > {
100
100
detail : T ;
101
101
target : HTMLPosPictureElement ;
@@ -141,6 +141,12 @@ declare global {
141
141
prototype : HTMLPosAppBrowserElement ;
142
142
new ( ) : HTMLPosAppBrowserElement ;
143
143
} ;
144
+ interface HTMLPosAppDocumentViewerElement extends Components . PosAppDocumentViewer , HTMLStencilElement {
145
+ }
146
+ var HTMLPosAppDocumentViewerElement : {
147
+ prototype : HTMLPosAppDocumentViewerElement ;
148
+ new ( ) : HTMLPosAppDocumentViewerElement ;
149
+ } ;
144
150
interface HTMLPosAppGenericElement extends Components . PosAppGeneric , HTMLStencilElement {
145
151
}
146
152
var HTMLPosAppGenericElement : {
@@ -153,12 +159,6 @@ declare global {
153
159
prototype : HTMLPosAppImageViewerElement ;
154
160
new ( ) : HTMLPosAppImageViewerElement ;
155
161
} ;
156
- interface HTMLPosAppPdfViewerElement extends Components . PosAppPdfViewer , HTMLStencilElement {
157
- }
158
- var HTMLPosAppPdfViewerElement : {
159
- prototype : HTMLPosAppPdfViewerElement ;
160
- new ( ) : HTMLPosAppPdfViewerElement ;
161
- } ;
162
162
interface HTMLPosAppRdfDocumentElement extends Components . PosAppRdfDocument , HTMLStencilElement {
163
163
}
164
164
var HTMLPosAppRdfDocumentElement : {
@@ -171,6 +171,12 @@ declare global {
171
171
prototype : HTMLPosDescriptionElement ;
172
172
new ( ) : HTMLPosDescriptionElement ;
173
173
} ;
174
+ interface HTMLPosDocumentElement extends Components . PosDocument , HTMLStencilElement {
175
+ }
176
+ var HTMLPosDocumentElement : {
177
+ prototype : HTMLPosDocumentElement ;
178
+ new ( ) : HTMLPosDocumentElement ;
179
+ } ;
174
180
interface HTMLPosImageElement extends Components . PosImage , HTMLStencilElement {
175
181
}
176
182
var HTMLPosImageElement : {
@@ -201,12 +207,6 @@ declare global {
201
207
prototype : HTMLPosNavigationBarElement ;
202
208
new ( ) : HTMLPosNavigationBarElement ;
203
209
} ;
204
- interface HTMLPosPdfElement extends Components . PosPdf , HTMLStencilElement {
205
- }
206
- var HTMLPosPdfElement : {
207
- prototype : HTMLPosPdfElement ;
208
- new ( ) : HTMLPosPdfElement ;
209
- } ;
210
210
interface HTMLPosPictureElement extends Components . PosPicture , HTMLStencilElement {
211
211
}
212
212
var HTMLPosPictureElement : {
@@ -264,17 +264,17 @@ declare global {
264
264
interface HTMLElementTagNameMap {
265
265
"pos-app" : HTMLPosAppElement ;
266
266
"pos-app-browser" : HTMLPosAppBrowserElement ;
267
+ "pos-app-document-viewer" : HTMLPosAppDocumentViewerElement ;
267
268
"pos-app-generic" : HTMLPosAppGenericElement ;
268
269
"pos-app-image-viewer" : HTMLPosAppImageViewerElement ;
269
- "pos-app-pdf-viewer" : HTMLPosAppPdfViewerElement ;
270
270
"pos-app-rdf-document" : HTMLPosAppRdfDocumentElement ;
271
271
"pos-description" : HTMLPosDescriptionElement ;
272
+ "pos-document" : HTMLPosDocumentElement ;
272
273
"pos-image" : HTMLPosImageElement ;
273
274
"pos-label" : HTMLPosLabelElement ;
274
275
"pos-literals" : HTMLPosLiteralsElement ;
275
276
"pos-login" : HTMLPosLoginElement ;
276
277
"pos-navigation-bar" : HTMLPosNavigationBarElement ;
277
- "pos-pdf" : HTMLPosPdfElement ;
278
278
"pos-picture" : HTMLPosPictureElement ;
279
279
"pos-relations" : HTMLPosRelationsElement ;
280
280
"pos-resource" : HTMLPosResourceElement ;
@@ -291,19 +291,24 @@ declare namespace LocalJSX {
291
291
}
292
292
interface PosAppBrowser {
293
293
}
294
+ interface PosAppDocumentViewer {
295
+ "onPod-os:resource" ?: ( event : PosAppDocumentViewerCustomEvent < any > ) => void ;
296
+ }
294
297
interface PosAppGeneric {
295
298
}
296
299
interface PosAppImageViewer {
297
300
"onPod-os:resource" ?: ( event : PosAppImageViewerCustomEvent < any > ) => void ;
298
301
}
299
- interface PosAppPdfViewer {
300
- "onPod-os:resource" ?: ( event : PosAppPdfViewerCustomEvent < any > ) => void ;
301
- }
302
302
interface PosAppRdfDocument {
303
303
}
304
304
interface PosDescription {
305
305
"onPod-os:resource" ?: ( event : PosDescriptionCustomEvent < any > ) => void ;
306
306
}
307
+ interface PosDocument {
308
+ "alt" ?: string ;
309
+ "onPod-os:init" ?: ( event : PosDocumentCustomEvent < any > ) => void ;
310
+ "src" ?: string ;
311
+ }
307
312
interface PosImage {
308
313
"alt" ?: string ;
309
314
"onPod-os:init" ?: ( event : PosImageCustomEvent < any > ) => void ;
@@ -322,11 +327,6 @@ declare namespace LocalJSX {
322
327
"onPod-os:link" ?: ( event : PosNavigationBarCustomEvent < any > ) => void ;
323
328
"uri" ?: string ;
324
329
}
325
- interface PosPdf {
326
- "alt" ?: string ;
327
- "onPod-os:init" ?: ( event : PosPdfCustomEvent < any > ) => void ;
328
- "src" ?: string ;
329
- }
330
330
interface PosPicture {
331
331
"onPod-os:resource" ?: ( event : PosPictureCustomEvent < any > ) => void ;
332
332
}
@@ -359,17 +359,17 @@ declare namespace LocalJSX {
359
359
interface IntrinsicElements {
360
360
"pos-app" : PosApp ;
361
361
"pos-app-browser" : PosAppBrowser ;
362
+ "pos-app-document-viewer" : PosAppDocumentViewer ;
362
363
"pos-app-generic" : PosAppGeneric ;
363
364
"pos-app-image-viewer" : PosAppImageViewer ;
364
- "pos-app-pdf-viewer" : PosAppPdfViewer ;
365
365
"pos-app-rdf-document" : PosAppRdfDocument ;
366
366
"pos-description" : PosDescription ;
367
+ "pos-document" : PosDocument ;
367
368
"pos-image" : PosImage ;
368
369
"pos-label" : PosLabel ;
369
370
"pos-literals" : PosLiterals ;
370
371
"pos-login" : PosLogin ;
371
372
"pos-navigation-bar" : PosNavigationBar ;
372
- "pos-pdf" : PosPdf ;
373
373
"pos-picture" : PosPicture ;
374
374
"pos-relations" : PosRelations ;
375
375
"pos-resource" : PosResource ;
@@ -387,17 +387,17 @@ declare module "@stencil/core" {
387
387
interface IntrinsicElements {
388
388
"pos-app" : LocalJSX . PosApp & JSXBase . HTMLAttributes < HTMLPosAppElement > ;
389
389
"pos-app-browser" : LocalJSX . PosAppBrowser & JSXBase . HTMLAttributes < HTMLPosAppBrowserElement > ;
390
+ "pos-app-document-viewer" : LocalJSX . PosAppDocumentViewer & JSXBase . HTMLAttributes < HTMLPosAppDocumentViewerElement > ;
390
391
"pos-app-generic" : LocalJSX . PosAppGeneric & JSXBase . HTMLAttributes < HTMLPosAppGenericElement > ;
391
392
"pos-app-image-viewer" : LocalJSX . PosAppImageViewer & JSXBase . HTMLAttributes < HTMLPosAppImageViewerElement > ;
392
- "pos-app-pdf-viewer" : LocalJSX . PosAppPdfViewer & JSXBase . HTMLAttributes < HTMLPosAppPdfViewerElement > ;
393
393
"pos-app-rdf-document" : LocalJSX . PosAppRdfDocument & JSXBase . HTMLAttributes < HTMLPosAppRdfDocumentElement > ;
394
394
"pos-description" : LocalJSX . PosDescription & JSXBase . HTMLAttributes < HTMLPosDescriptionElement > ;
395
+ "pos-document" : LocalJSX . PosDocument & JSXBase . HTMLAttributes < HTMLPosDocumentElement > ;
395
396
"pos-image" : LocalJSX . PosImage & JSXBase . HTMLAttributes < HTMLPosImageElement > ;
396
397
"pos-label" : LocalJSX . PosLabel & JSXBase . HTMLAttributes < HTMLPosLabelElement > ;
397
398
"pos-literals" : LocalJSX . PosLiterals & JSXBase . HTMLAttributes < HTMLPosLiteralsElement > ;
398
399
"pos-login" : LocalJSX . PosLogin & JSXBase . HTMLAttributes < HTMLPosLoginElement > ;
399
400
"pos-navigation-bar" : LocalJSX . PosNavigationBar & JSXBase . HTMLAttributes < HTMLPosNavigationBarElement > ;
400
- "pos-pdf" : LocalJSX . PosPdf & JSXBase . HTMLAttributes < HTMLPosPdfElement > ;
401
401
"pos-picture" : LocalJSX . PosPicture & JSXBase . HTMLAttributes < HTMLPosPictureElement > ;
402
402
"pos-relations" : LocalJSX . PosRelations & JSXBase . HTMLAttributes < HTMLPosRelationsElement > ;
403
403
"pos-resource" : LocalJSX . PosResource & JSXBase . HTMLAttributes < HTMLPosResourceElement > ;
0 commit comments