@everymatrix/nuts-inbox-widget 1.50.0 → 1.51.0

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 (19) hide show
  1. package/dist/cjs/{index-ae4a5047.js → index-43ce2388.js} +30 -13
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/nuts-inbox-widget.cjs.js +2 -2
  4. package/dist/cjs/nuts-inbox-widget_3.cjs.entry.js +1 -1
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/esm/{index-64960aae.js → index-90fc4db5.js} +30 -13
  7. package/dist/esm/loader.js +2 -2
  8. package/dist/esm/nuts-inbox-widget.js +3 -3
  9. package/dist/esm/nuts-inbox-widget_3.entry.js +1 -1
  10. package/dist/nuts-inbox-widget/nuts-inbox-widget.esm.js +1 -1
  11. package/dist/nuts-inbox-widget/{p-e1b0c3bd.entry.js → p-3a5589e2.entry.js} +1 -1
  12. package/dist/nuts-inbox-widget/p-6148a470.js +2 -0
  13. 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 +2 -0
  14. 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 +2 -0
  15. package/dist/types/stencil-public-runtime.d.ts +6 -0
  16. package/package.json +1 -1
  17. package/dist/nuts-inbox-widget/p-80fb2012.js +0 -2
  18. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/nuts-inbox-widget/.stencil/packages/stencil/nuts-inbox-widget/stencil.config.d.ts +0 -2
  19. 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 +0 -2
@@ -24,7 +24,7 @@ const NAMESPACE = 'nuts-inbox-widget';
24
24
  const BUILD = /* nuts-inbox-widget */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -383,17 +383,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
383
383
  if (nonce != null) {
384
384
  styleElm.setAttribute("nonce", nonce);
385
385
  }
386
- const injectStyle = (
387
- /**
388
- * we render a scoped component
389
- */
390
- !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
391
- * we are using shadow dom and render the style tag within the shadowRoot
392
- */
393
- cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
394
- );
395
- if (injectStyle) {
396
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
386
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
387
+ if (styleContainerNode.nodeName === "HEAD") {
388
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
389
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
390
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
391
+ } else if ("host" in styleContainerNode) {
392
+ if (supportsConstructableStylesheets) {
393
+ const stylesheet = new CSSStyleSheet();
394
+ stylesheet.replaceSync(style);
395
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
396
+ } else {
397
+ const existingStyleContainer = styleContainerNode.querySelector("style");
398
+ if (existingStyleContainer) {
399
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
400
+ } else {
401
+ styleContainerNode.prepend(styleElm);
402
+ }
403
+ }
404
+ } else {
405
+ styleContainerNode.append(styleElm);
406
+ }
407
+ }
408
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
409
+ styleContainerNode.insertBefore(styleElm, null);
397
410
  }
398
411
  }
399
412
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
@@ -465,7 +478,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
465
478
  if (memberName === "list") {
466
479
  isProp = false;
467
480
  } else if (oldValue == null || elm[memberName] != n) {
468
- elm[memberName] = n;
481
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
482
+ elm[memberName] = n;
483
+ } else {
484
+ elm.setAttribute(memberName, n);
485
+ }
469
486
  }
470
487
  } else {
471
488
  elm[memberName] = newValue;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ae4a5047.js');
5
+ const index = require('./index-43ce2388.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ae4a5047.js');
5
+ const index = require('./index-43ce2388.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('nuts-inbox-widget.cjs.js', document.baseURI).href));
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ae4a5047.js');
5
+ const index = require('./index-43ce2388.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const SUPPORTED_LANGUAGES = ['hu', 'en'];
@@ -6,8 +6,8 @@
6
6
  ],
7
7
  "compiler": {
8
8
  "name": "@stencil/core",
9
- "version": "4.20.0",
10
- "typescriptVersion": "5.5.3"
9
+ "version": "4.22.3",
10
+ "typescriptVersion": "5.5.4"
11
11
  },
12
12
  "collections": [],
13
13
  "bundles": []
@@ -2,7 +2,7 @@ const NAMESPACE = 'nuts-inbox-widget';
2
2
  const BUILD = /* nuts-inbox-widget */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -361,17 +361,30 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
361
361
  if (nonce != null) {
362
362
  styleElm.setAttribute("nonce", nonce);
363
363
  }
364
- const injectStyle = (
365
- /**
366
- * we render a scoped component
367
- */
368
- !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) || /**
369
- * we are using shadow dom and render the style tag within the shadowRoot
370
- */
371
- cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD"
372
- );
373
- if (injectStyle) {
374
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
364
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
365
+ if (styleContainerNode.nodeName === "HEAD") {
366
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
367
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
368
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
369
+ } else if ("host" in styleContainerNode) {
370
+ if (supportsConstructableStylesheets) {
371
+ const stylesheet = new CSSStyleSheet();
372
+ stylesheet.replaceSync(style);
373
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
374
+ } else {
375
+ const existingStyleContainer = styleContainerNode.querySelector("style");
376
+ if (existingStyleContainer) {
377
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
378
+ } else {
379
+ styleContainerNode.prepend(styleElm);
380
+ }
381
+ }
382
+ } else {
383
+ styleContainerNode.append(styleElm);
384
+ }
385
+ }
386
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
387
+ styleContainerNode.insertBefore(styleElm, null);
375
388
  }
376
389
  }
377
390
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
@@ -443,7 +456,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
443
456
  if (memberName === "list") {
444
457
  isProp = false;
445
458
  } else if (oldValue == null || elm[memberName] != n) {
446
- elm[memberName] = n;
459
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
460
+ elm[memberName] = n;
461
+ } else {
462
+ elm.setAttribute(memberName, n);
463
+ }
447
464
  }
448
465
  } else {
449
466
  elm[memberName] = newValue;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-64960aae.js';
2
- export { s as setNonce } from './index-64960aae.js';
1
+ import { b as bootstrapLazy } from './index-90fc4db5.js';
2
+ export { s as setNonce } from './index-90fc4db5.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-64960aae.js';
2
- export { s as setNonce } from './index-64960aae.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-90fc4db5.js';
2
+ export { s as setNonce } from './index-90fc4db5.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-64960aae.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-90fc4db5.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const SUPPORTED_LANGUAGES = ['hu', 'en'];
@@ -1 +1 @@
1
- import{p as n,b as i}from"./p-80fb2012.js";export{s as setNonce}from"./p-80fb2012.js";import{g as e}from"./p-e1255160.js";(()=>{const i=import.meta.url,e={};return""!==i&&(e.resourcesUrl=new URL(".",i).href),n(e)})().then((async n=>(await e(),i([["p-e1b0c3bd",[[1,"nuts-inbox-widget",{backendUrl:[513,"backend-url"],socketUrl:[513,"socket-url"],userId:[513,"user-id"],sessionId:[513,"session-id"],operatorId:[513,"operator-id"],subscriberId:[513,"subscriber-id"],deviceId:[513,"device-id"],language:[513],environment:[513],applicationIdentifier:[513,"application-identifier"],clientStyling:[1537,"client-styling"],clientStylingUrl:[513,"client-styling-url"],bellIconPosition:[513,"bell-icon-position"],notificationAction:[513,"notification-action"],translationUrl:[513,"translation-url"],isLoading:[32],popoverVisible:[32],unseenCount:[32],limitStylingAppends:[32]},[[8,"click","clickOutsideHandle"],[0,"allNotificationsRead","resetUnseenCount"]],{subscriberId:["initializeHandler"],operatorId:["initializeHandler"],applicationIdentifier:["initializeHandler"],deviceId:["initializeHandler"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],translationUrl:["handleNewTranslations"]}],[0,"nuts-popover",{language:[513],userId:[513,"user-id"],operatorId:[513,"operator-id"],token:[513],sessionId:[513,"session-id"],backendUrl:[513,"backend-url"],unseenCount:[514,"unseen-count"],clientStylingUrl:[513,"client-styling-url"],notificationAction:[513,"notification-action"],clientStyling:[1537,"client-styling"],translationUrl:[513,"translation-url"],notifications:[32],isLoading:[32],showMarkAll:[32],limitStylingAppends:[32]},[[8,"messageDeleted","messageDeteledHandler"],[8,"newNotification","newNotificationHandler"]],{unseenCount:["unseenCountHandler"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],translationUrl:["handleNewTranslations"]}],[0,"nuts-notification",{badge:[513],content:[513],date:[513],showSettings:[516,"show-settings"],read:[516],seen:[516],language:[513],sessionId:[513,"session-id"],subscriberId:[513,"subscriber-id"],userId:[513,"user-id"],messageId:[513,"message-id"],operatorId:[513,"operator-id"],token:[513],backendUrl:[513,"backend-url"],redirectUrl:[513,"redirect-url"],notificationAction:[513,"notification-action"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],clientStyling:[1537,"client-styling"],showSettingsModal:[32],messageSeen:[32],messageRead:[32],displayedContent:[32],limitStylingAppends:[32]},[[8,"allNotificationsRead","allNotificationsReadHandler"],[8,"settingsOpened","settingsOpenedHandler"]],{clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],translationUrl:["handleNewTranslations"]}]]]],n))));
1
+ import{p as n,b as i}from"./p-6148a470.js";export{s as setNonce}from"./p-6148a470.js";import{g as e}from"./p-e1255160.js";(()=>{const i=import.meta.url,e={};return""!==i&&(e.resourcesUrl=new URL(".",i).href),n(e)})().then((async n=>(await e(),i([["p-3a5589e2",[[1,"nuts-inbox-widget",{backendUrl:[513,"backend-url"],socketUrl:[513,"socket-url"],userId:[513,"user-id"],sessionId:[513,"session-id"],operatorId:[513,"operator-id"],subscriberId:[513,"subscriber-id"],deviceId:[513,"device-id"],language:[513],environment:[513],applicationIdentifier:[513,"application-identifier"],clientStyling:[1537,"client-styling"],clientStylingUrl:[513,"client-styling-url"],bellIconPosition:[513,"bell-icon-position"],notificationAction:[513,"notification-action"],translationUrl:[513,"translation-url"],isLoading:[32],popoverVisible:[32],unseenCount:[32],limitStylingAppends:[32]},[[8,"click","clickOutsideHandle"],[0,"allNotificationsRead","resetUnseenCount"]],{subscriberId:["initializeHandler"],operatorId:["initializeHandler"],applicationIdentifier:["initializeHandler"],deviceId:["initializeHandler"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],translationUrl:["handleNewTranslations"]}],[0,"nuts-popover",{language:[513],userId:[513,"user-id"],operatorId:[513,"operator-id"],token:[513],sessionId:[513,"session-id"],backendUrl:[513,"backend-url"],unseenCount:[514,"unseen-count"],clientStylingUrl:[513,"client-styling-url"],notificationAction:[513,"notification-action"],clientStyling:[1537,"client-styling"],translationUrl:[513,"translation-url"],notifications:[32],isLoading:[32],showMarkAll:[32],limitStylingAppends:[32]},[[8,"messageDeleted","messageDeteledHandler"],[8,"newNotification","newNotificationHandler"]],{unseenCount:["unseenCountHandler"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],translationUrl:["handleNewTranslations"]}],[0,"nuts-notification",{badge:[513],content:[513],date:[513],showSettings:[516,"show-settings"],read:[516],seen:[516],language:[513],sessionId:[513,"session-id"],subscriberId:[513,"subscriber-id"],userId:[513,"user-id"],messageId:[513,"message-id"],operatorId:[513,"operator-id"],token:[513],backendUrl:[513,"backend-url"],redirectUrl:[513,"redirect-url"],notificationAction:[513,"notification-action"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],clientStyling:[1537,"client-styling"],showSettingsModal:[32],messageSeen:[32],messageRead:[32],displayedContent:[32],limitStylingAppends:[32]},[[8,"allNotificationsRead","allNotificationsReadHandler"],[8,"settingsOpened","settingsOpenedHandler"]],{clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],translationUrl:["handleNewTranslations"]}]]]],n))));