@everymatrix/nuts-inbox-widget 1.84.1 → 1.84.11
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/nuts-inbox-widget_3.cjs.entry.js +3 -2
- package/dist/collection/components/nuts-inbox-widget/nuts-inbox-widget.js +3 -2
- package/dist/esm/nuts-inbox-widget_3.entry.js +3 -2
- package/dist/nuts-inbox-widget/nuts-inbox-widget_3.entry.js +1 -1
- package/dist/types/Users/StefanO/Desktop/Proj/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.d.ts +2 -0
- package/dist/types/Users/StefanO/Desktop/Proj/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/nuts-inbox-widget/nuts-inbox-widget.d.ts +1 -1
- package/hydrate/index.js +3 -2
- package/hydrate/index.mjs +3 -2
- package/package.json +1 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/storybook/main.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/storybook/preview.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/StefanO/Desktop/Proj}/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -82,7 +82,7 @@ export declare class NutsInboxWidget {
|
|
|
82
82
|
togglePopover: () => void;
|
|
83
83
|
setClientStyling: () => void;
|
|
84
84
|
setClientStylingURL: () => void;
|
|
85
|
-
|
|
85
|
+
init(): Promise<void>;
|
|
86
86
|
handleStylingChange(newValue: string, oldValue: string): void;
|
|
87
87
|
handleStylingUrlChange(newValue: string, oldValue: string): void;
|
|
88
88
|
handleNewTranslations(): void;
|
package/hydrate/index.js
CHANGED
|
@@ -6531,7 +6531,7 @@ class NutsInboxWidget {
|
|
|
6531
6531
|
setupSocket() {
|
|
6532
6532
|
return;
|
|
6533
6533
|
}
|
|
6534
|
-
async
|
|
6534
|
+
async init() {
|
|
6535
6535
|
return;
|
|
6536
6536
|
}
|
|
6537
6537
|
handleStylingChange(newValue, oldValue) {
|
|
@@ -6557,6 +6557,7 @@ class NutsInboxWidget {
|
|
|
6557
6557
|
this.positionIcon();
|
|
6558
6558
|
}
|
|
6559
6559
|
componentDidLoad() {
|
|
6560
|
+
this.init();
|
|
6560
6561
|
if (this.clientStyling) {
|
|
6561
6562
|
this.setClientStyling();
|
|
6562
6563
|
}
|
|
@@ -6568,7 +6569,7 @@ class NutsInboxWidget {
|
|
|
6568
6569
|
return (hAsync("div", { onClick: this.togglePopover, class: "BellIcon" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "currentColor", class: "bi bi-bell", viewBox: "0 0 16 16" }, ' ', hAsync("path", { d: "M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z" }), ' '), this.unseenCount > 0 ? (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: "nc-bell-button-dot css-0 css-1eg2znq" }, hAsync("rect", { x: "1.5", y: "1.5", width: "13", height: "13", rx: "6.5", fill: "url(#paint0_linear_1722_2699)", stroke: "#1E1E26", "stroke-width": "3" }), hAsync("defs", null, hAsync("linearGradient", { id: "paint0_linear_1722_2699", x1: "8", y1: "13", x2: "8", y2: "3", gradientUnits: "userSpaceOnUse" }, hAsync("stop", { "stop-color": "#FF512F" }), hAsync("stop", { offset: "1", "stop-color": "#DD2476" }))))) : ('')));
|
|
6569
6570
|
}
|
|
6570
6571
|
render() {
|
|
6571
|
-
return (hAsync("div", { key: '
|
|
6572
|
+
return (hAsync("div", { key: 'd8ba7712fa7436253806c2cd5700eb715f2791b4', ref: this.assignRefToStylingContainer, class: "Wrapper" }, hAsync("div", { key: '0578f0a3d489685c76a921a71291976741c3d0e7', ref: this.assignRefToBell, class: "BellIconWrapper" }, !this.isLoading && this.renderBellIcon()), this.token && this.popoverVisible && (hAsync("nuts-popover", { key: '3bbc22caa8689c29a098ef7308724d8a34289abc', "notification-action": this.notificationAction, sessionId: this.sessionId, "unseen-count": this.unseenCount, token: this.token, "backend-url": this.backendUrl, "operator-id": this.operatorId, "user-id": this.userId, language: this.language, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl }))));
|
|
6572
6573
|
}
|
|
6573
6574
|
get el() { return getElement(this); }
|
|
6574
6575
|
static get watchers() { return {
|
package/hydrate/index.mjs
CHANGED
|
@@ -6527,7 +6527,7 @@ class NutsInboxWidget {
|
|
|
6527
6527
|
setupSocket() {
|
|
6528
6528
|
return;
|
|
6529
6529
|
}
|
|
6530
|
-
async
|
|
6530
|
+
async init() {
|
|
6531
6531
|
return;
|
|
6532
6532
|
}
|
|
6533
6533
|
handleStylingChange(newValue, oldValue) {
|
|
@@ -6553,6 +6553,7 @@ class NutsInboxWidget {
|
|
|
6553
6553
|
this.positionIcon();
|
|
6554
6554
|
}
|
|
6555
6555
|
componentDidLoad() {
|
|
6556
|
+
this.init();
|
|
6556
6557
|
if (this.clientStyling) {
|
|
6557
6558
|
this.setClientStyling();
|
|
6558
6559
|
}
|
|
@@ -6564,7 +6565,7 @@ class NutsInboxWidget {
|
|
|
6564
6565
|
return (hAsync("div", { onClick: this.togglePopover, class: "BellIcon" }, hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "currentColor", class: "bi bi-bell", viewBox: "0 0 16 16" }, ' ', hAsync("path", { d: "M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zM8 1.918l-.797.161A4.002 4.002 0 0 0 4 6c0 .628-.134 2.197-.459 3.742-.16.767-.376 1.566-.663 2.258h10.244c-.287-.692-.502-1.49-.663-2.258C12.134 8.197 12 6.628 12 6a4.002 4.002 0 0 0-3.203-3.92L8 1.917zM14.22 12c.223.447.481.801.78 1H1c.299-.199.557-.553.78-1C2.68 10.2 3 6.88 3 6c0-2.42 1.72-4.44 4.005-4.901a1 1 0 1 1 1.99 0A5.002 5.002 0 0 1 13 6c0 .88.32 4.2 1.22 6z" }), ' '), this.unseenCount > 0 ? (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", class: "nc-bell-button-dot css-0 css-1eg2znq" }, hAsync("rect", { x: "1.5", y: "1.5", width: "13", height: "13", rx: "6.5", fill: "url(#paint0_linear_1722_2699)", stroke: "#1E1E26", "stroke-width": "3" }), hAsync("defs", null, hAsync("linearGradient", { id: "paint0_linear_1722_2699", x1: "8", y1: "13", x2: "8", y2: "3", gradientUnits: "userSpaceOnUse" }, hAsync("stop", { "stop-color": "#FF512F" }), hAsync("stop", { offset: "1", "stop-color": "#DD2476" }))))) : ('')));
|
|
6565
6566
|
}
|
|
6566
6567
|
render() {
|
|
6567
|
-
return (hAsync("div", { key: '
|
|
6568
|
+
return (hAsync("div", { key: 'd8ba7712fa7436253806c2cd5700eb715f2791b4', ref: this.assignRefToStylingContainer, class: "Wrapper" }, hAsync("div", { key: '0578f0a3d489685c76a921a71291976741c3d0e7', ref: this.assignRefToBell, class: "BellIconWrapper" }, !this.isLoading && this.renderBellIcon()), this.token && this.popoverVisible && (hAsync("nuts-popover", { key: '3bbc22caa8689c29a098ef7308724d8a34289abc', "notification-action": this.notificationAction, sessionId: this.sessionId, "unseen-count": this.unseenCount, token: this.token, "backend-url": this.backendUrl, "operator-id": this.operatorId, "user-id": this.userId, language: this.language, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "translation-url": this.translationUrl }))));
|
|
6568
6569
|
}
|
|
6569
6570
|
get el() { return getElement(this); }
|
|
6570
6571
|
static get watchers() { return {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|