@everymatrix/nuts-inbox-widget 1.45.9 → 1.45.10

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 (56) hide show
  1. package/package.json +1 -4
  2. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  3. package/dist/cjs/index-ae4a5047.js +0 -1329
  4. package/dist/cjs/index.cjs.js +0 -2
  5. package/dist/cjs/loader.cjs.js +0 -15
  6. package/dist/cjs/nuts-inbox-widget.cjs.js +0 -25
  7. package/dist/cjs/nuts-inbox-widget_3.cjs.entry.js +0 -36931
  8. package/dist/collection/api/methods/index.js +0 -135
  9. package/dist/collection/api/methods/types.js +0 -1
  10. package/dist/collection/collection-manifest.json +0 -14
  11. package/dist/collection/components/nuts-inbox-widget/nuts-inbox-widget.css +0 -21
  12. package/dist/collection/components/nuts-inbox-widget/nuts-inbox-widget.js +0 -524
  13. package/dist/collection/components/nuts-notification/constants.js +0 -1
  14. package/dist/collection/components/nuts-notification/nuts-notification.css +0 -168
  15. package/dist/collection/components/nuts-notification/nuts-notification.js +0 -597
  16. package/dist/collection/components/nuts-popover/nuts-popover.css +0 -129
  17. package/dist/collection/components/nuts-popover/nuts-popover.js +0 -400
  18. package/dist/collection/index.js +0 -1
  19. package/dist/collection/types/nuts-inbox-widget.types.js +0 -39
  20. package/dist/collection/utils/locale.utils.js +0 -52
  21. package/dist/collection/utils/utils.js +0 -16
  22. package/dist/esm/app-globals-0f993ce5.js +0 -3
  23. package/dist/esm/index-64960aae.js +0 -1301
  24. package/dist/esm/index.js +0 -1
  25. package/dist/esm/loader.js +0 -11
  26. package/dist/esm/nuts-inbox-widget.js +0 -20
  27. package/dist/esm/nuts-inbox-widget_3.entry.js +0 -36925
  28. package/dist/index.cjs.js +0 -1
  29. package/dist/index.js +0 -1
  30. package/dist/nuts-inbox-widget/index.esm.js +0 -0
  31. package/dist/nuts-inbox-widget/nuts-inbox-widget.esm.js +0 -1
  32. package/dist/nuts-inbox-widget/p-80fb2012.js +0 -2
  33. package/dist/nuts-inbox-widget/p-e1255160.js +0 -1
  34. package/dist/nuts-inbox-widget/p-e8e83a5a.entry.js +0 -1
  35. package/dist/stencil.config.dev.js +0 -14
  36. package/dist/stencil.config.js +0 -17
  37. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.d.ts +0 -2
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.dev.d.ts +0 -2
  39. package/dist/types/api/methods/index.d.ts +0 -7
  40. package/dist/types/api/methods/types.d.ts +0 -65
  41. package/dist/types/components/nuts-inbox-widget/nuts-inbox-widget.d.ts +0 -96
  42. package/dist/types/components/nuts-notification/constants.d.ts +0 -1
  43. package/dist/types/components/nuts-notification/nuts-notification.d.ts +0 -103
  44. package/dist/types/components/nuts-popover/nuts-popover.d.ts +0 -74
  45. package/dist/types/components.d.ts +0 -493
  46. package/dist/types/index.d.ts +0 -1
  47. package/dist/types/stencil-public-runtime.d.ts +0 -1674
  48. package/dist/types/types/nuts-inbox-widget.types.d.ts +0 -95
  49. package/dist/types/utils/locale.utils.d.ts +0 -2
  50. package/dist/types/utils/utils.d.ts +0 -2
  51. package/loader/cdn.js +0 -1
  52. package/loader/index.cjs.js +0 -1
  53. package/loader/index.d.ts +0 -24
  54. package/loader/index.es2017.js +0 -1
  55. package/loader/index.js +0 -2
  56. package/loader/package.json +0 -11
@@ -1,493 +0,0 @@
1
- /* eslint-disable */
2
- /* tslint:disable */
3
- /**
4
- * This is an autogenerated file created by the Stencil compiler.
5
- * It contains typing information for all components that exist in this project.
6
- */
7
- import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { Notification } from "./types/nuts-inbox-widget.types";
9
- export { Notification } from "./types/nuts-inbox-widget.types";
10
- export namespace Components {
11
- interface NutsInboxWidget {
12
- /**
13
- * Indicates if the associated sessionId is an admin or a player sessionId
14
- */
15
- "admin"?: boolean;
16
- /**
17
- * Novu application identifier
18
- */
19
- "applicationIdentifier": string;
20
- /**
21
- * HTTP Endpoint URL for NuTS
22
- */
23
- "backendUrl": string;
24
- /**
25
- * Position of the widget (possible values: `left` and `right`) - this changes the `justify-content` property of the `.BellIconWrapper` class
26
- */
27
- "bellIconPosition": string;
28
- /**
29
- * Client custom styling via inline styles
30
- */
31
- "clientStyling": string;
32
- /**
33
- * Client styling url for a css file
34
- */
35
- "clientStylingUrl": string;
36
- /**
37
- * The deviceID from which the user access the website
38
- */
39
- "deviceId"?: string;
40
- /**
41
- * Environment on which the widget is used (possible values: `stage`, `prod`)
42
- */
43
- "environment": string;
44
- /**
45
- * Language of the widget
46
- */
47
- "language": string;
48
- /**
49
- * Clicking on the notification will automatically redirect you to the redirectURL attached to the notification (`default` behaviour). It can be changed to `postMessage` and instead of the redirect it will emit a postMessage with the redirectURL and the parent website can take actions
50
- */
51
- "notificationAction": string;
52
- /**
53
- * The operatorID on which we can find the user
54
- */
55
- "operatorId": string;
56
- /**
57
- * The sessionID of the user
58
- */
59
- "sessionId": string;
60
- /**
61
- * Socket Endpoint URL for NuTS
62
- */
63
- "socketUrl": string;
64
- /**
65
- * The subscriberID
66
- */
67
- "subscriberId"?: string;
68
- /**
69
- * Translations via URL
70
- */
71
- "translationUrl": string;
72
- /**
73
- * The ID of the user
74
- */
75
- "userId": string;
76
- }
77
- interface NutsNotification {
78
- /**
79
- * Indicates if the associated sessionId is an admin or a player sessionId
80
- */
81
- "admin"?: boolean;
82
- /**
83
- * Endpoint for notification transactions
84
- */
85
- "backendUrl": string;
86
- /**
87
- * Src for badge / avatar
88
- */
89
- "badge": string;
90
- /**
91
- * Clienty styling passed as a string
92
- */
93
- "clientStyling": string;
94
- /**
95
- * Custom styling passed as a URL
96
- */
97
- "clientStylingUrl": string;
98
- /**
99
- * Text content of the notification
100
- */
101
- "content": string;
102
- /**
103
- * Date of the notification
104
- */
105
- "date": string;
106
- /**
107
- * Language code of the content
108
- */
109
- "language": string;
110
- /**
111
- * Unique ID of the notification content
112
- */
113
- "messageId": string;
114
- /**
115
- * Determines notification behaviour onClick
116
- */
117
- "notificationAction": string;
118
- /**
119
- * Unique ID of the operator domain
120
- */
121
- "operatorId": string;
122
- /**
123
- * Wether or not the item has been read
124
- */
125
- "read": boolean;
126
- /**
127
- * Redirect address in case of external url
128
- */
129
- "redirectUrl": string;
130
- /**
131
- * Wether or not the item has been seen
132
- */
133
- "seen": boolean;
134
- /**
135
- * The sessionID of the user
136
- */
137
- "sessionId": string;
138
- /**
139
- * Wether or not to show notification settings
140
- */
141
- "showSettings": boolean;
142
- /**
143
- * Token used in authorization of notification transactions
144
- */
145
- "token": string;
146
- /**
147
- * Translations via URL
148
- */
149
- "translationUrl": string;
150
- /**
151
- * Unique ID of the user who receives the notification
152
- */
153
- "userId": string;
154
- }
155
- interface NutsPopover {
156
- /**
157
- * Indicates if the associated sessionId is an admin or a player sessionId
158
- */
159
- "admin"?: boolean;
160
- /**
161
- * Endpoint used for notification transactions
162
- */
163
- "backendUrl": string;
164
- /**
165
- * Custom styling string
166
- */
167
- "clientStyling": string;
168
- /**
169
- * Custom styling URL
170
- */
171
- "clientStylingUrl": string;
172
- /**
173
- * Language code of the content
174
- */
175
- "language": string;
176
- /**
177
- * Decides the behaviour of the notification onClick
178
- */
179
- "notificationAction": string;
180
- /**
181
- * Unique ID of the operator domain
182
- */
183
- "operatorId": string;
184
- /**
185
- * The sessionID of the user
186
- */
187
- "sessionId": string;
188
- /**
189
- * Token used to authenticate notification transactions
190
- */
191
- "token": string;
192
- /**
193
- * Translations via URL
194
- */
195
- "translationUrl": string;
196
- /**
197
- * The count of unseen notifications
198
- */
199
- "unseenCount": number;
200
- /**
201
- * Unique ID of the user receiving notifications
202
- */
203
- "userId": string;
204
- }
205
- }
206
- export interface NutsInboxWidgetCustomEvent<T> extends CustomEvent<T> {
207
- detail: T;
208
- target: HTMLNutsInboxWidgetElement;
209
- }
210
- export interface NutsNotificationCustomEvent<T> extends CustomEvent<T> {
211
- detail: T;
212
- target: HTMLNutsNotificationElement;
213
- }
214
- export interface NutsPopoverCustomEvent<T> extends CustomEvent<T> {
215
- detail: T;
216
- target: HTMLNutsPopoverElement;
217
- }
218
- declare global {
219
- interface HTMLNutsInboxWidgetElementEventMap {
220
- "notificationFeed": Notification[];
221
- "newNotification": any;
222
- }
223
- interface HTMLNutsInboxWidgetElement extends Components.NutsInboxWidget, HTMLStencilElement {
224
- addEventListener<K extends keyof HTMLNutsInboxWidgetElementEventMap>(type: K, listener: (this: HTMLNutsInboxWidgetElement, ev: NutsInboxWidgetCustomEvent<HTMLNutsInboxWidgetElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
225
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
226
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
227
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
228
- removeEventListener<K extends keyof HTMLNutsInboxWidgetElementEventMap>(type: K, listener: (this: HTMLNutsInboxWidgetElement, ev: NutsInboxWidgetCustomEvent<HTMLNutsInboxWidgetElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
229
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
230
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
231
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
232
- }
233
- var HTMLNutsInboxWidgetElement: {
234
- prototype: HTMLNutsInboxWidgetElement;
235
- new (): HTMLNutsInboxWidgetElement;
236
- };
237
- interface HTMLNutsNotificationElementEventMap {
238
- "messageDeleted": any;
239
- "settingsOpened": any;
240
- }
241
- interface HTMLNutsNotificationElement extends Components.NutsNotification, HTMLStencilElement {
242
- addEventListener<K extends keyof HTMLNutsNotificationElementEventMap>(type: K, listener: (this: HTMLNutsNotificationElement, ev: NutsNotificationCustomEvent<HTMLNutsNotificationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
243
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
244
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
245
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
246
- removeEventListener<K extends keyof HTMLNutsNotificationElementEventMap>(type: K, listener: (this: HTMLNutsNotificationElement, ev: NutsNotificationCustomEvent<HTMLNutsNotificationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
247
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
248
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
249
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
250
- }
251
- var HTMLNutsNotificationElement: {
252
- prototype: HTMLNutsNotificationElement;
253
- new (): HTMLNutsNotificationElement;
254
- };
255
- interface HTMLNutsPopoverElementEventMap {
256
- "allNotificationsRead": any;
257
- }
258
- interface HTMLNutsPopoverElement extends Components.NutsPopover, HTMLStencilElement {
259
- addEventListener<K extends keyof HTMLNutsPopoverElementEventMap>(type: K, listener: (this: HTMLNutsPopoverElement, ev: NutsPopoverCustomEvent<HTMLNutsPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
260
- addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
261
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
262
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
263
- removeEventListener<K extends keyof HTMLNutsPopoverElementEventMap>(type: K, listener: (this: HTMLNutsPopoverElement, ev: NutsPopoverCustomEvent<HTMLNutsPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
264
- removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
265
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
266
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
267
- }
268
- var HTMLNutsPopoverElement: {
269
- prototype: HTMLNutsPopoverElement;
270
- new (): HTMLNutsPopoverElement;
271
- };
272
- interface HTMLElementTagNameMap {
273
- "nuts-inbox-widget": HTMLNutsInboxWidgetElement;
274
- "nuts-notification": HTMLNutsNotificationElement;
275
- "nuts-popover": HTMLNutsPopoverElement;
276
- }
277
- }
278
- declare namespace LocalJSX {
279
- interface NutsInboxWidget {
280
- /**
281
- * Indicates if the associated sessionId is an admin or a player sessionId
282
- */
283
- "admin"?: boolean;
284
- /**
285
- * Novu application identifier
286
- */
287
- "applicationIdentifier": string;
288
- /**
289
- * HTTP Endpoint URL for NuTS
290
- */
291
- "backendUrl": string;
292
- /**
293
- * Position of the widget (possible values: `left` and `right`) - this changes the `justify-content` property of the `.BellIconWrapper` class
294
- */
295
- "bellIconPosition"?: string;
296
- /**
297
- * Client custom styling via inline styles
298
- */
299
- "clientStyling"?: string;
300
- /**
301
- * Client styling url for a css file
302
- */
303
- "clientStylingUrl"?: string;
304
- /**
305
- * The deviceID from which the user access the website
306
- */
307
- "deviceId"?: string;
308
- /**
309
- * Environment on which the widget is used (possible values: `stage`, `prod`)
310
- */
311
- "environment"?: string;
312
- /**
313
- * Language of the widget
314
- */
315
- "language"?: string;
316
- /**
317
- * Clicking on the notification will automatically redirect you to the redirectURL attached to the notification (`default` behaviour). It can be changed to `postMessage` and instead of the redirect it will emit a postMessage with the redirectURL and the parent website can take actions
318
- */
319
- "notificationAction"?: string;
320
- "onNewNotification"?: (event: NutsInboxWidgetCustomEvent<any>) => void;
321
- "onNotificationFeed"?: (event: NutsInboxWidgetCustomEvent<Notification[]>) => void;
322
- /**
323
- * The operatorID on which we can find the user
324
- */
325
- "operatorId": string;
326
- /**
327
- * The sessionID of the user
328
- */
329
- "sessionId": string;
330
- /**
331
- * Socket Endpoint URL for NuTS
332
- */
333
- "socketUrl": string;
334
- /**
335
- * The subscriberID
336
- */
337
- "subscriberId"?: string;
338
- /**
339
- * Translations via URL
340
- */
341
- "translationUrl"?: string;
342
- /**
343
- * The ID of the user
344
- */
345
- "userId": string;
346
- }
347
- interface NutsNotification {
348
- /**
349
- * Indicates if the associated sessionId is an admin or a player sessionId
350
- */
351
- "admin"?: boolean;
352
- /**
353
- * Endpoint for notification transactions
354
- */
355
- "backendUrl"?: string;
356
- /**
357
- * Src for badge / avatar
358
- */
359
- "badge"?: string;
360
- /**
361
- * Clienty styling passed as a string
362
- */
363
- "clientStyling"?: string;
364
- /**
365
- * Custom styling passed as a URL
366
- */
367
- "clientStylingUrl"?: string;
368
- /**
369
- * Text content of the notification
370
- */
371
- "content"?: string;
372
- /**
373
- * Date of the notification
374
- */
375
- "date"?: string;
376
- /**
377
- * Language code of the content
378
- */
379
- "language"?: string;
380
- /**
381
- * Unique ID of the notification content
382
- */
383
- "messageId"?: string;
384
- /**
385
- * Determines notification behaviour onClick
386
- */
387
- "notificationAction"?: string;
388
- "onMessageDeleted"?: (event: NutsNotificationCustomEvent<any>) => void;
389
- "onSettingsOpened"?: (event: NutsNotificationCustomEvent<any>) => void;
390
- /**
391
- * Unique ID of the operator domain
392
- */
393
- "operatorId"?: string;
394
- /**
395
- * Wether or not the item has been read
396
- */
397
- "read"?: boolean;
398
- /**
399
- * Redirect address in case of external url
400
- */
401
- "redirectUrl"?: string;
402
- /**
403
- * Wether or not the item has been seen
404
- */
405
- "seen"?: boolean;
406
- /**
407
- * The sessionID of the user
408
- */
409
- "sessionId": string;
410
- /**
411
- * Wether or not to show notification settings
412
- */
413
- "showSettings"?: boolean;
414
- /**
415
- * Token used in authorization of notification transactions
416
- */
417
- "token"?: string;
418
- /**
419
- * Translations via URL
420
- */
421
- "translationUrl"?: string;
422
- /**
423
- * Unique ID of the user who receives the notification
424
- */
425
- "userId"?: string;
426
- }
427
- interface NutsPopover {
428
- /**
429
- * Indicates if the associated sessionId is an admin or a player sessionId
430
- */
431
- "admin"?: boolean;
432
- /**
433
- * Endpoint used for notification transactions
434
- */
435
- "backendUrl"?: string;
436
- /**
437
- * Custom styling string
438
- */
439
- "clientStyling"?: string;
440
- /**
441
- * Custom styling URL
442
- */
443
- "clientStylingUrl"?: string;
444
- /**
445
- * Language code of the content
446
- */
447
- "language"?: string;
448
- /**
449
- * Decides the behaviour of the notification onClick
450
- */
451
- "notificationAction"?: string;
452
- "onAllNotificationsRead"?: (event: NutsPopoverCustomEvent<any>) => void;
453
- /**
454
- * Unique ID of the operator domain
455
- */
456
- "operatorId"?: string;
457
- /**
458
- * The sessionID of the user
459
- */
460
- "sessionId": string;
461
- /**
462
- * Token used to authenticate notification transactions
463
- */
464
- "token"?: string;
465
- /**
466
- * Translations via URL
467
- */
468
- "translationUrl"?: string;
469
- /**
470
- * The count of unseen notifications
471
- */
472
- "unseenCount"?: number;
473
- /**
474
- * Unique ID of the user receiving notifications
475
- */
476
- "userId"?: string;
477
- }
478
- interface IntrinsicElements {
479
- "nuts-inbox-widget": NutsInboxWidget;
480
- "nuts-notification": NutsNotification;
481
- "nuts-popover": NutsPopover;
482
- }
483
- }
484
- export { LocalJSX as JSX };
485
- declare module "@stencil/core" {
486
- export namespace JSX {
487
- interface IntrinsicElements {
488
- "nuts-inbox-widget": LocalJSX.NutsInboxWidget & JSXBase.HTMLAttributes<HTMLNutsInboxWidgetElement>;
489
- "nuts-notification": LocalJSX.NutsNotification & JSXBase.HTMLAttributes<HTMLNutsNotificationElement>;
490
- "nuts-popover": LocalJSX.NutsPopover & JSXBase.HTMLAttributes<HTMLNutsPopoverElement>;
491
- }
492
- }
493
- }
@@ -1 +0,0 @@
1
- export * from './components';