@everymatrix/nuts-inbox-widget 1.45.7 → 1.45.9
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 -3859
- package/dist/collection/components/nuts-inbox-widget/nuts-inbox-widget.js +2 -1
- package/dist/esm/nuts-inbox-widget_3.entry.js +3 -3859
- package/dist/nuts-inbox-widget/nuts-inbox-widget.esm.js +1 -1
- package/dist/nuts-inbox-widget/p-e8e83a5a.entry.js +1 -0
- package/package.json +4 -1
- package/dist/nuts-inbox-widget/p-707e3b6f.entry.js +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { getTranslations } from "../../utils/locale.utils";
|
|
2
2
|
import { h, } from "@stencil/core";
|
|
3
|
+
/* @ts-ignore */
|
|
3
4
|
import { io } from "socket.io-client";
|
|
4
5
|
import { initializeSession } from "../../api/methods";
|
|
5
6
|
import { createAuthHeaders } from "../../utils/utils";
|
|
@@ -153,7 +154,7 @@ export class NutsInboxWidget {
|
|
|
153
154
|
return (h("div", { onClick: this.togglePopover, class: "BellIcon" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "currentColor", class: "bi bi-bell", viewBox: "0 0 16 16" }, ' ', h("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 ? (h("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" }, h("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" }), h("defs", null, h("linearGradient", { id: "paint0_linear_1722_2699", x1: "8", y1: "13", x2: "8", y2: "3", gradientUnits: "userSpaceOnUse" }, h("stop", { "stop-color": "#FF512F" }), h("stop", { offset: "1", "stop-color": "#DD2476" }))))) : ('')));
|
|
154
155
|
}
|
|
155
156
|
render() {
|
|
156
|
-
return (h("div", { key: '
|
|
157
|
+
return (h("div", { key: 'bb43fa770a88fc3ba23d1b84a0a6a368e1ea477b', ref: this.assignRefToStylingContainer, class: "Wrapper" }, h("div", { key: '24f98cb04a9026d5c2d1c11145c322893a2093c1', ref: this.assignRefToBell, class: "BellIconWrapper" }, !this.isLoading && this.renderBellIcon()), this.popoverVisible && (h("nuts-popover", { key: 'ab978988c295abfcb753de8551e5e35d267cce12', "notification-action": this.notificationAction, sessionId: this.sessionId, admin: this.admin, "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, "translation-url": this.translationUrl }))));
|
|
157
158
|
}
|
|
158
159
|
static get is() { return "nuts-inbox-widget"; }
|
|
159
160
|
static get encapsulation() { return "shadow"; }
|