@everymatrix/nuts-inbox-widget 1.56.0 → 1.56.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/dist/cjs/{index-5e13b80a.js → index-c16396a3.js} +74 -211
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nuts-inbox-widget.cjs.js +2 -2
- package/dist/cjs/nuts-inbox-widget_3.cjs.entry.js +59 -51
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/nuts-inbox-widget/nuts-inbox-widget.js +19 -57
- package/dist/collection/components/nuts-notification/nuts-notification.js +24 -50
- package/dist/collection/components/nuts-popover/nuts-popover.js +15 -33
- package/dist/esm/{index-e14bfa46.js → index-6a331097.js} +74 -211
- package/dist/esm/loader.js +2 -2
- package/dist/esm/nuts-inbox-widget.js +3 -3
- package/dist/esm/nuts-inbox-widget_3.entry.js +59 -51
- package/dist/nuts-inbox-widget/nuts-inbox-widget.esm.js +1 -1
- package/dist/nuts-inbox-widget/p-5f8017ca.entry.js +1 -0
- package/dist/nuts-inbox-widget/p-75ed38bb.js +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/nuts-inbox-widget/p-af9bcff0.js +0 -2
- package/dist/nuts-inbox-widget/p-fc6b9468.entry.js +0 -1
- 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
- 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
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-c16396a3.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
8
|
const SUPPORTED_LANGUAGES = ['hu', 'en'];
|
|
@@ -4234,33 +4234,6 @@ const NutsInboxWidget = class {
|
|
|
4234
4234
|
index.registerInstance(this, hostRef);
|
|
4235
4235
|
this.notificationFeed = index.createEvent(this, "notificationFeed", 7);
|
|
4236
4236
|
this.newNotification = index.createEvent(this, "newNotification", 7);
|
|
4237
|
-
/**
|
|
4238
|
-
* Language of the widget
|
|
4239
|
-
*/
|
|
4240
|
-
this.language = 'en';
|
|
4241
|
-
/**
|
|
4242
|
-
* Environment on which the widget is used (possible values: `stage`, `prod`)
|
|
4243
|
-
*/
|
|
4244
|
-
this.environment = 'stage';
|
|
4245
|
-
/**
|
|
4246
|
-
* Client custom styling via inline styles
|
|
4247
|
-
*/
|
|
4248
|
-
this.clientStyling = '';
|
|
4249
|
-
/**
|
|
4250
|
-
* Position of the widget (possible values: `left` and `right`) - this changes the `justify-content` property of the `.BellIconWrapper` class
|
|
4251
|
-
*/
|
|
4252
|
-
this.bellIconPosition = 'left';
|
|
4253
|
-
/**
|
|
4254
|
-
* 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
|
|
4255
|
-
*/
|
|
4256
|
-
this.notificationAction = 'default';
|
|
4257
|
-
/**
|
|
4258
|
-
* Translations via URL
|
|
4259
|
-
*/
|
|
4260
|
-
this.translationUrl = '';
|
|
4261
|
-
this.isLoading = false;
|
|
4262
|
-
this.popoverVisible = false;
|
|
4263
|
-
this.limitStylingAppends = false;
|
|
4264
4237
|
this.token = null;
|
|
4265
4238
|
this.baseUrl = `${this.backendUrl}/v1/${this.operatorId}`;
|
|
4266
4239
|
this.initializeSessionBody = {
|
|
@@ -4301,6 +4274,25 @@ const NutsInboxWidget = class {
|
|
|
4301
4274
|
this.assignRefToBell = (ref) => {
|
|
4302
4275
|
this.bellIconRef = ref;
|
|
4303
4276
|
};
|
|
4277
|
+
this.backendUrl = undefined;
|
|
4278
|
+
this.socketUrl = undefined;
|
|
4279
|
+
this.userId = undefined;
|
|
4280
|
+
this.sessionId = undefined;
|
|
4281
|
+
this.operatorId = undefined;
|
|
4282
|
+
this.subscriberId = undefined;
|
|
4283
|
+
this.deviceId = undefined;
|
|
4284
|
+
this.language = 'en';
|
|
4285
|
+
this.environment = 'stage';
|
|
4286
|
+
this.applicationIdentifier = undefined;
|
|
4287
|
+
this.clientStyling = '';
|
|
4288
|
+
this.clientStylingUrl = undefined;
|
|
4289
|
+
this.bellIconPosition = 'left';
|
|
4290
|
+
this.notificationAction = 'default';
|
|
4291
|
+
this.translationUrl = '';
|
|
4292
|
+
this.isLoading = false;
|
|
4293
|
+
this.popoverVisible = false;
|
|
4294
|
+
this.unseenCount = undefined;
|
|
4295
|
+
this.limitStylingAppends = false;
|
|
4304
4296
|
}
|
|
4305
4297
|
initializeHandler(newValue, oldValue) {
|
|
4306
4298
|
if (newValue !== oldValue) {
|
|
@@ -40697,18 +40689,6 @@ const NutsNotification = class {
|
|
|
40697
40689
|
index.registerInstance(this, hostRef);
|
|
40698
40690
|
this.messageDeteled = index.createEvent(this, "messageDeleted", 7);
|
|
40699
40691
|
this.settingsOpened = index.createEvent(this, "settingsOpened", 7);
|
|
40700
|
-
/**
|
|
40701
|
-
* Translations via URL
|
|
40702
|
-
*/
|
|
40703
|
-
this.translationUrl = '';
|
|
40704
|
-
/**
|
|
40705
|
-
* Clienty styling passed as a string
|
|
40706
|
-
*/
|
|
40707
|
-
this.clientStyling = '';
|
|
40708
|
-
this.showSettingsModal = false;
|
|
40709
|
-
this.messageSeen = false;
|
|
40710
|
-
this.messageRead = false;
|
|
40711
|
-
this.limitStylingAppends = false;
|
|
40712
40692
|
this.toggleSettingsModal = (e) => {
|
|
40713
40693
|
e.stopImmediatePropagation();
|
|
40714
40694
|
this.showSettingsModal = !this.showSettingsModal;
|
|
@@ -40797,6 +40777,30 @@ const NutsNotification = class {
|
|
|
40797
40777
|
this.assignRefToDropdownArrow = (ref) => {
|
|
40798
40778
|
this.dropdownArrowRef = ref;
|
|
40799
40779
|
};
|
|
40780
|
+
this.badge = undefined;
|
|
40781
|
+
this.content = undefined;
|
|
40782
|
+
this.date = undefined;
|
|
40783
|
+
this.showSettings = undefined;
|
|
40784
|
+
this.read = undefined;
|
|
40785
|
+
this.seen = undefined;
|
|
40786
|
+
this.language = undefined;
|
|
40787
|
+
this.sessionId = undefined;
|
|
40788
|
+
this.subscriberId = undefined;
|
|
40789
|
+
this.userId = undefined;
|
|
40790
|
+
this.messageId = undefined;
|
|
40791
|
+
this.operatorId = undefined;
|
|
40792
|
+
this.token = undefined;
|
|
40793
|
+
this.backendUrl = undefined;
|
|
40794
|
+
this.redirectUrl = undefined;
|
|
40795
|
+
this.notificationAction = undefined;
|
|
40796
|
+
this.clientStylingUrl = undefined;
|
|
40797
|
+
this.translationUrl = '';
|
|
40798
|
+
this.clientStyling = '';
|
|
40799
|
+
this.showSettingsModal = false;
|
|
40800
|
+
this.messageSeen = false;
|
|
40801
|
+
this.messageRead = false;
|
|
40802
|
+
this.displayedContent = undefined;
|
|
40803
|
+
this.limitStylingAppends = false;
|
|
40800
40804
|
}
|
|
40801
40805
|
allNotificationsReadHandler() {
|
|
40802
40806
|
this.messageSeen = true;
|
|
@@ -40862,17 +40866,6 @@ const NutsPopover = class {
|
|
|
40862
40866
|
constructor(hostRef) {
|
|
40863
40867
|
index.registerInstance(this, hostRef);
|
|
40864
40868
|
this.allNotificationsRead = index.createEvent(this, "allNotificationsRead", 7);
|
|
40865
|
-
/**
|
|
40866
|
-
* Custom styling string
|
|
40867
|
-
*/
|
|
40868
|
-
this.clientStyling = '';
|
|
40869
|
-
/**
|
|
40870
|
-
* Translations via URL
|
|
40871
|
-
*/
|
|
40872
|
-
this.translationUrl = '';
|
|
40873
|
-
this.isLoading = true;
|
|
40874
|
-
this.showMarkAll = false;
|
|
40875
|
-
this.limitStylingAppends = false;
|
|
40876
40869
|
this.currentPage = 0;
|
|
40877
40870
|
this.updateNotificationsDataAfterPageChange = (getNotificationsData) => {
|
|
40878
40871
|
this.isLoading = getNotificationsData.isLoading;
|
|
@@ -40928,6 +40921,21 @@ const NutsPopover = class {
|
|
|
40928
40921
|
this.assignRefToStylingContainer = (ref) => {
|
|
40929
40922
|
this.stylingContainer = ref;
|
|
40930
40923
|
};
|
|
40924
|
+
this.language = undefined;
|
|
40925
|
+
this.userId = undefined;
|
|
40926
|
+
this.operatorId = undefined;
|
|
40927
|
+
this.token = undefined;
|
|
40928
|
+
this.sessionId = undefined;
|
|
40929
|
+
this.backendUrl = undefined;
|
|
40930
|
+
this.unseenCount = undefined;
|
|
40931
|
+
this.clientStylingUrl = undefined;
|
|
40932
|
+
this.notificationAction = undefined;
|
|
40933
|
+
this.clientStyling = '';
|
|
40934
|
+
this.translationUrl = '';
|
|
40935
|
+
this.notifications = undefined;
|
|
40936
|
+
this.isLoading = true;
|
|
40937
|
+
this.showMarkAll = false;
|
|
40938
|
+
this.limitStylingAppends = false;
|
|
40931
40939
|
}
|
|
40932
40940
|
messageDeteledHandler(event) {
|
|
40933
40941
|
this.notifications = this.notifications.filter((item) => {
|
|
@@ -4,33 +4,6 @@ import { io } from "socket.io-client";
|
|
|
4
4
|
import { initializeSession } from "../../api/methods";
|
|
5
5
|
export class NutsInboxWidget {
|
|
6
6
|
constructor() {
|
|
7
|
-
/**
|
|
8
|
-
* Language of the widget
|
|
9
|
-
*/
|
|
10
|
-
this.language = 'en';
|
|
11
|
-
/**
|
|
12
|
-
* Environment on which the widget is used (possible values: `stage`, `prod`)
|
|
13
|
-
*/
|
|
14
|
-
this.environment = 'stage';
|
|
15
|
-
/**
|
|
16
|
-
* Client custom styling via inline styles
|
|
17
|
-
*/
|
|
18
|
-
this.clientStyling = '';
|
|
19
|
-
/**
|
|
20
|
-
* Position of the widget (possible values: `left` and `right`) - this changes the `justify-content` property of the `.BellIconWrapper` class
|
|
21
|
-
*/
|
|
22
|
-
this.bellIconPosition = 'left';
|
|
23
|
-
/**
|
|
24
|
-
* 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
|
|
25
|
-
*/
|
|
26
|
-
this.notificationAction = 'default';
|
|
27
|
-
/**
|
|
28
|
-
* Translations via URL
|
|
29
|
-
*/
|
|
30
|
-
this.translationUrl = '';
|
|
31
|
-
this.isLoading = false;
|
|
32
|
-
this.popoverVisible = false;
|
|
33
|
-
this.limitStylingAppends = false;
|
|
34
7
|
this.token = null;
|
|
35
8
|
this.baseUrl = `${this.backendUrl}/v1/${this.operatorId}`;
|
|
36
9
|
this.initializeSessionBody = {
|
|
@@ -71,6 +44,25 @@ export class NutsInboxWidget {
|
|
|
71
44
|
this.assignRefToBell = (ref) => {
|
|
72
45
|
this.bellIconRef = ref;
|
|
73
46
|
};
|
|
47
|
+
this.backendUrl = undefined;
|
|
48
|
+
this.socketUrl = undefined;
|
|
49
|
+
this.userId = undefined;
|
|
50
|
+
this.sessionId = undefined;
|
|
51
|
+
this.operatorId = undefined;
|
|
52
|
+
this.subscriberId = undefined;
|
|
53
|
+
this.deviceId = undefined;
|
|
54
|
+
this.language = 'en';
|
|
55
|
+
this.environment = 'stage';
|
|
56
|
+
this.applicationIdentifier = undefined;
|
|
57
|
+
this.clientStyling = '';
|
|
58
|
+
this.clientStylingUrl = undefined;
|
|
59
|
+
this.bellIconPosition = 'left';
|
|
60
|
+
this.notificationAction = 'default';
|
|
61
|
+
this.translationUrl = '';
|
|
62
|
+
this.isLoading = false;
|
|
63
|
+
this.popoverVisible = false;
|
|
64
|
+
this.unseenCount = undefined;
|
|
65
|
+
this.limitStylingAppends = false;
|
|
74
66
|
}
|
|
75
67
|
initializeHandler(newValue, oldValue) {
|
|
76
68
|
if (newValue !== oldValue) {
|
|
@@ -214,8 +206,6 @@ export class NutsInboxWidget {
|
|
|
214
206
|
"tags": [],
|
|
215
207
|
"text": "HTTP Endpoint URL for NuTS"
|
|
216
208
|
},
|
|
217
|
-
"getter": false,
|
|
218
|
-
"setter": false,
|
|
219
209
|
"attribute": "backend-url",
|
|
220
210
|
"reflect": true
|
|
221
211
|
},
|
|
@@ -233,8 +223,6 @@ export class NutsInboxWidget {
|
|
|
233
223
|
"tags": [],
|
|
234
224
|
"text": "Socket Endpoint URL for NuTS"
|
|
235
225
|
},
|
|
236
|
-
"getter": false,
|
|
237
|
-
"setter": false,
|
|
238
226
|
"attribute": "socket-url",
|
|
239
227
|
"reflect": true
|
|
240
228
|
},
|
|
@@ -252,8 +240,6 @@ export class NutsInboxWidget {
|
|
|
252
240
|
"tags": [],
|
|
253
241
|
"text": "The ID of the user"
|
|
254
242
|
},
|
|
255
|
-
"getter": false,
|
|
256
|
-
"setter": false,
|
|
257
243
|
"attribute": "user-id",
|
|
258
244
|
"reflect": true
|
|
259
245
|
},
|
|
@@ -271,8 +257,6 @@ export class NutsInboxWidget {
|
|
|
271
257
|
"tags": [],
|
|
272
258
|
"text": "The sessionID of the user"
|
|
273
259
|
},
|
|
274
|
-
"getter": false,
|
|
275
|
-
"setter": false,
|
|
276
260
|
"attribute": "session-id",
|
|
277
261
|
"reflect": true
|
|
278
262
|
},
|
|
@@ -290,8 +274,6 @@ export class NutsInboxWidget {
|
|
|
290
274
|
"tags": [],
|
|
291
275
|
"text": "The operatorID on which we can find the user"
|
|
292
276
|
},
|
|
293
|
-
"getter": false,
|
|
294
|
-
"setter": false,
|
|
295
277
|
"attribute": "operator-id",
|
|
296
278
|
"reflect": true
|
|
297
279
|
},
|
|
@@ -309,8 +291,6 @@ export class NutsInboxWidget {
|
|
|
309
291
|
"tags": [],
|
|
310
292
|
"text": "The subscriberID"
|
|
311
293
|
},
|
|
312
|
-
"getter": false,
|
|
313
|
-
"setter": false,
|
|
314
294
|
"attribute": "subscriber-id",
|
|
315
295
|
"reflect": true
|
|
316
296
|
},
|
|
@@ -328,8 +308,6 @@ export class NutsInboxWidget {
|
|
|
328
308
|
"tags": [],
|
|
329
309
|
"text": "The deviceID from which the user access the website"
|
|
330
310
|
},
|
|
331
|
-
"getter": false,
|
|
332
|
-
"setter": false,
|
|
333
311
|
"attribute": "device-id",
|
|
334
312
|
"reflect": true
|
|
335
313
|
},
|
|
@@ -347,8 +325,6 @@ export class NutsInboxWidget {
|
|
|
347
325
|
"tags": [],
|
|
348
326
|
"text": "Language of the widget"
|
|
349
327
|
},
|
|
350
|
-
"getter": false,
|
|
351
|
-
"setter": false,
|
|
352
328
|
"attribute": "language",
|
|
353
329
|
"reflect": true,
|
|
354
330
|
"defaultValue": "'en'"
|
|
@@ -367,8 +343,6 @@ export class NutsInboxWidget {
|
|
|
367
343
|
"tags": [],
|
|
368
344
|
"text": "Environment on which the widget is used (possible values: `stage`, `prod`)"
|
|
369
345
|
},
|
|
370
|
-
"getter": false,
|
|
371
|
-
"setter": false,
|
|
372
346
|
"attribute": "environment",
|
|
373
347
|
"reflect": true,
|
|
374
348
|
"defaultValue": "'stage'"
|
|
@@ -387,8 +361,6 @@ export class NutsInboxWidget {
|
|
|
387
361
|
"tags": [],
|
|
388
362
|
"text": "Novu application identifier"
|
|
389
363
|
},
|
|
390
|
-
"getter": false,
|
|
391
|
-
"setter": false,
|
|
392
364
|
"attribute": "application-identifier",
|
|
393
365
|
"reflect": true
|
|
394
366
|
},
|
|
@@ -406,8 +378,6 @@ export class NutsInboxWidget {
|
|
|
406
378
|
"tags": [],
|
|
407
379
|
"text": "Client custom styling via inline styles"
|
|
408
380
|
},
|
|
409
|
-
"getter": false,
|
|
410
|
-
"setter": false,
|
|
411
381
|
"attribute": "client-styling",
|
|
412
382
|
"reflect": true,
|
|
413
383
|
"defaultValue": "''"
|
|
@@ -426,8 +396,6 @@ export class NutsInboxWidget {
|
|
|
426
396
|
"tags": [],
|
|
427
397
|
"text": "Client styling url for a css file"
|
|
428
398
|
},
|
|
429
|
-
"getter": false,
|
|
430
|
-
"setter": false,
|
|
431
399
|
"attribute": "client-styling-url",
|
|
432
400
|
"reflect": true
|
|
433
401
|
},
|
|
@@ -445,8 +413,6 @@ export class NutsInboxWidget {
|
|
|
445
413
|
"tags": [],
|
|
446
414
|
"text": "Position of the widget (possible values: `left` and `right`) - this changes the `justify-content` property of the `.BellIconWrapper` class"
|
|
447
415
|
},
|
|
448
|
-
"getter": false,
|
|
449
|
-
"setter": false,
|
|
450
416
|
"attribute": "bell-icon-position",
|
|
451
417
|
"reflect": true,
|
|
452
418
|
"defaultValue": "'left'"
|
|
@@ -465,8 +431,6 @@ export class NutsInboxWidget {
|
|
|
465
431
|
"tags": [],
|
|
466
432
|
"text": "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"
|
|
467
433
|
},
|
|
468
|
-
"getter": false,
|
|
469
|
-
"setter": false,
|
|
470
434
|
"attribute": "notification-action",
|
|
471
435
|
"reflect": true,
|
|
472
436
|
"defaultValue": "'default'"
|
|
@@ -485,8 +449,6 @@ export class NutsInboxWidget {
|
|
|
485
449
|
"tags": [],
|
|
486
450
|
"text": "Translations via URL"
|
|
487
451
|
},
|
|
488
|
-
"getter": false,
|
|
489
|
-
"setter": false,
|
|
490
452
|
"attribute": "translation-url",
|
|
491
453
|
"reflect": true,
|
|
492
454
|
"defaultValue": "''"
|
|
@@ -49,18 +49,6 @@ const dateFnsLocale = (lang) => {
|
|
|
49
49
|
};
|
|
50
50
|
export class NutsNotification {
|
|
51
51
|
constructor() {
|
|
52
|
-
/**
|
|
53
|
-
* Translations via URL
|
|
54
|
-
*/
|
|
55
|
-
this.translationUrl = '';
|
|
56
|
-
/**
|
|
57
|
-
* Clienty styling passed as a string
|
|
58
|
-
*/
|
|
59
|
-
this.clientStyling = '';
|
|
60
|
-
this.showSettingsModal = false;
|
|
61
|
-
this.messageSeen = false;
|
|
62
|
-
this.messageRead = false;
|
|
63
|
-
this.limitStylingAppends = false;
|
|
64
52
|
this.toggleSettingsModal = (e) => {
|
|
65
53
|
e.stopImmediatePropagation();
|
|
66
54
|
this.showSettingsModal = !this.showSettingsModal;
|
|
@@ -149,6 +137,30 @@ export class NutsNotification {
|
|
|
149
137
|
this.assignRefToDropdownArrow = (ref) => {
|
|
150
138
|
this.dropdownArrowRef = ref;
|
|
151
139
|
};
|
|
140
|
+
this.badge = undefined;
|
|
141
|
+
this.content = undefined;
|
|
142
|
+
this.date = undefined;
|
|
143
|
+
this.showSettings = undefined;
|
|
144
|
+
this.read = undefined;
|
|
145
|
+
this.seen = undefined;
|
|
146
|
+
this.language = undefined;
|
|
147
|
+
this.sessionId = undefined;
|
|
148
|
+
this.subscriberId = undefined;
|
|
149
|
+
this.userId = undefined;
|
|
150
|
+
this.messageId = undefined;
|
|
151
|
+
this.operatorId = undefined;
|
|
152
|
+
this.token = undefined;
|
|
153
|
+
this.backendUrl = undefined;
|
|
154
|
+
this.redirectUrl = undefined;
|
|
155
|
+
this.notificationAction = undefined;
|
|
156
|
+
this.clientStylingUrl = undefined;
|
|
157
|
+
this.translationUrl = '';
|
|
158
|
+
this.clientStyling = '';
|
|
159
|
+
this.showSettingsModal = false;
|
|
160
|
+
this.messageSeen = false;
|
|
161
|
+
this.messageRead = false;
|
|
162
|
+
this.displayedContent = undefined;
|
|
163
|
+
this.limitStylingAppends = false;
|
|
152
164
|
}
|
|
153
165
|
allNotificationsReadHandler() {
|
|
154
166
|
this.messageSeen = true;
|
|
@@ -226,8 +238,6 @@ export class NutsNotification {
|
|
|
226
238
|
"tags": [],
|
|
227
239
|
"text": "Src for badge / avatar"
|
|
228
240
|
},
|
|
229
|
-
"getter": false,
|
|
230
|
-
"setter": false,
|
|
231
241
|
"attribute": "badge",
|
|
232
242
|
"reflect": true
|
|
233
243
|
},
|
|
@@ -245,8 +255,6 @@ export class NutsNotification {
|
|
|
245
255
|
"tags": [],
|
|
246
256
|
"text": "Text content of the notification"
|
|
247
257
|
},
|
|
248
|
-
"getter": false,
|
|
249
|
-
"setter": false,
|
|
250
258
|
"attribute": "content",
|
|
251
259
|
"reflect": true
|
|
252
260
|
},
|
|
@@ -264,8 +272,6 @@ export class NutsNotification {
|
|
|
264
272
|
"tags": [],
|
|
265
273
|
"text": "Date of the notification"
|
|
266
274
|
},
|
|
267
|
-
"getter": false,
|
|
268
|
-
"setter": false,
|
|
269
275
|
"attribute": "date",
|
|
270
276
|
"reflect": true
|
|
271
277
|
},
|
|
@@ -283,8 +289,6 @@ export class NutsNotification {
|
|
|
283
289
|
"tags": [],
|
|
284
290
|
"text": "Wether or not to show notification settings"
|
|
285
291
|
},
|
|
286
|
-
"getter": false,
|
|
287
|
-
"setter": false,
|
|
288
292
|
"attribute": "show-settings",
|
|
289
293
|
"reflect": true
|
|
290
294
|
},
|
|
@@ -302,8 +306,6 @@ export class NutsNotification {
|
|
|
302
306
|
"tags": [],
|
|
303
307
|
"text": "Wether or not the item has been read"
|
|
304
308
|
},
|
|
305
|
-
"getter": false,
|
|
306
|
-
"setter": false,
|
|
307
309
|
"attribute": "read",
|
|
308
310
|
"reflect": true
|
|
309
311
|
},
|
|
@@ -321,8 +323,6 @@ export class NutsNotification {
|
|
|
321
323
|
"tags": [],
|
|
322
324
|
"text": "Wether or not the item has been seen"
|
|
323
325
|
},
|
|
324
|
-
"getter": false,
|
|
325
|
-
"setter": false,
|
|
326
326
|
"attribute": "seen",
|
|
327
327
|
"reflect": true
|
|
328
328
|
},
|
|
@@ -340,8 +340,6 @@ export class NutsNotification {
|
|
|
340
340
|
"tags": [],
|
|
341
341
|
"text": "Language code of the content"
|
|
342
342
|
},
|
|
343
|
-
"getter": false,
|
|
344
|
-
"setter": false,
|
|
345
343
|
"attribute": "language",
|
|
346
344
|
"reflect": true
|
|
347
345
|
},
|
|
@@ -359,8 +357,6 @@ export class NutsNotification {
|
|
|
359
357
|
"tags": [],
|
|
360
358
|
"text": "The sessionID of the user"
|
|
361
359
|
},
|
|
362
|
-
"getter": false,
|
|
363
|
-
"setter": false,
|
|
364
360
|
"attribute": "session-id",
|
|
365
361
|
"reflect": true
|
|
366
362
|
},
|
|
@@ -378,8 +374,6 @@ export class NutsNotification {
|
|
|
378
374
|
"tags": [],
|
|
379
375
|
"text": "The subscriberID"
|
|
380
376
|
},
|
|
381
|
-
"getter": false,
|
|
382
|
-
"setter": false,
|
|
383
377
|
"attribute": "subscriber-id",
|
|
384
378
|
"reflect": true
|
|
385
379
|
},
|
|
@@ -397,8 +391,6 @@ export class NutsNotification {
|
|
|
397
391
|
"tags": [],
|
|
398
392
|
"text": "Unique ID of the user who receives the notification"
|
|
399
393
|
},
|
|
400
|
-
"getter": false,
|
|
401
|
-
"setter": false,
|
|
402
394
|
"attribute": "user-id",
|
|
403
395
|
"reflect": true
|
|
404
396
|
},
|
|
@@ -416,8 +408,6 @@ export class NutsNotification {
|
|
|
416
408
|
"tags": [],
|
|
417
409
|
"text": "Unique ID of the notification content"
|
|
418
410
|
},
|
|
419
|
-
"getter": false,
|
|
420
|
-
"setter": false,
|
|
421
411
|
"attribute": "message-id",
|
|
422
412
|
"reflect": true
|
|
423
413
|
},
|
|
@@ -435,8 +425,6 @@ export class NutsNotification {
|
|
|
435
425
|
"tags": [],
|
|
436
426
|
"text": "Unique ID of the operator domain"
|
|
437
427
|
},
|
|
438
|
-
"getter": false,
|
|
439
|
-
"setter": false,
|
|
440
428
|
"attribute": "operator-id",
|
|
441
429
|
"reflect": true
|
|
442
430
|
},
|
|
@@ -454,8 +442,6 @@ export class NutsNotification {
|
|
|
454
442
|
"tags": [],
|
|
455
443
|
"text": "Token used in authorization of notification transactions"
|
|
456
444
|
},
|
|
457
|
-
"getter": false,
|
|
458
|
-
"setter": false,
|
|
459
445
|
"attribute": "token",
|
|
460
446
|
"reflect": true
|
|
461
447
|
},
|
|
@@ -473,8 +459,6 @@ export class NutsNotification {
|
|
|
473
459
|
"tags": [],
|
|
474
460
|
"text": "Endpoint for notification transactions"
|
|
475
461
|
},
|
|
476
|
-
"getter": false,
|
|
477
|
-
"setter": false,
|
|
478
462
|
"attribute": "backend-url",
|
|
479
463
|
"reflect": true
|
|
480
464
|
},
|
|
@@ -492,8 +476,6 @@ export class NutsNotification {
|
|
|
492
476
|
"tags": [],
|
|
493
477
|
"text": "Redirect address in case of external url"
|
|
494
478
|
},
|
|
495
|
-
"getter": false,
|
|
496
|
-
"setter": false,
|
|
497
479
|
"attribute": "redirect-url",
|
|
498
480
|
"reflect": true
|
|
499
481
|
},
|
|
@@ -511,8 +493,6 @@ export class NutsNotification {
|
|
|
511
493
|
"tags": [],
|
|
512
494
|
"text": "Determines notification behaviour onClick"
|
|
513
495
|
},
|
|
514
|
-
"getter": false,
|
|
515
|
-
"setter": false,
|
|
516
496
|
"attribute": "notification-action",
|
|
517
497
|
"reflect": true
|
|
518
498
|
},
|
|
@@ -530,8 +510,6 @@ export class NutsNotification {
|
|
|
530
510
|
"tags": [],
|
|
531
511
|
"text": "Custom styling passed as a URL"
|
|
532
512
|
},
|
|
533
|
-
"getter": false,
|
|
534
|
-
"setter": false,
|
|
535
513
|
"attribute": "client-styling-url",
|
|
536
514
|
"reflect": true
|
|
537
515
|
},
|
|
@@ -549,8 +527,6 @@ export class NutsNotification {
|
|
|
549
527
|
"tags": [],
|
|
550
528
|
"text": "Translations via URL"
|
|
551
529
|
},
|
|
552
|
-
"getter": false,
|
|
553
|
-
"setter": false,
|
|
554
530
|
"attribute": "translation-url",
|
|
555
531
|
"reflect": true,
|
|
556
532
|
"defaultValue": "''"
|
|
@@ -569,8 +545,6 @@ export class NutsNotification {
|
|
|
569
545
|
"tags": [],
|
|
570
546
|
"text": "Clienty styling passed as a string"
|
|
571
547
|
},
|
|
572
|
-
"getter": false,
|
|
573
|
-
"setter": false,
|
|
574
548
|
"attribute": "client-styling",
|
|
575
549
|
"reflect": true,
|
|
576
550
|
"defaultValue": "''"
|