@smals-belgium-shared/vidis-diarynote 4.0.2-snapshot.0 → 4.1.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.
package/CHANGELOG.md CHANGED
@@ -238,8 +238,14 @@
238
238
  ## v4.0.1 (2026-05-27)
239
239
  * documenting inputs and outputs for all webcomponents
240
240
 
241
- ## __RELEASE_VERSION__ (__RELEASE_DATE__)
241
+ ## v4.1.0 (2026-06-10)
242
242
 
243
243
  * Adapt Web Component backgrounds to be transparent in lists with cards (prescriptions, delivered medications, journal notes, medication scheme), sort & filter screens, prescription reservation flow, and manage visibility flow.
244
244
  * Ensure internal content (cards, dropdowns, info alerts, and form elements) remains opaque.
245
245
 
246
+ ### vidis-prescription-list:
247
+ * Bugfix : Cached prescriptions from previous profile remain displayed after profile switch.
248
+ * Bugfix : Medication prescriptions list is truncated after scrolling to the bottom then refresh.
249
+ * Bugfix : Prescriptions from previous profile briefly displayed after switching profile.
250
+
251
+ ## __RELEASE_VERSION__ (__RELEASE_DATE__)
package/diarynote.js CHANGED
@@ -8656,7 +8656,7 @@ var Zm = class extends Px {
8656
8656
  create(t, n, i, a) {
8657
8657
  let r = Ye(null);
8658
8658
  try {
8659
- let s = this.componentDef, l = i ? ["ng-version", "19.2.23"] : ite(this.componentDef.selectors[0]), c = Fm(0, null, null, 1, 0, null, null, null, null, [l], null), d = _ie(s, a || this.ngModule, t), u = xie(d), m = u.rendererFactory.createRenderer(null, s), v = i ? ote(m, i, s.encapsulation, d) : wie(s, m), g = Vm(null, c, null, 512 | mx(s), null, null, u, m, d, null, ex(v, d, !0));
8659
+ let s = this.componentDef, l = i ? ["ng-version", "19.2.25"] : ite(this.componentDef.selectors[0]), c = Fm(0, null, null, 1, 0, null, null, null, null, [l], null), d = _ie(s, a || this.ngModule, t), u = xie(d), m = u.rendererFactory.createRenderer(null, s), v = i ? ote(m, i, s.encapsulation, d) : wie(s, m), g = Vm(null, c, null, 512 | mx(s), null, null, u, m, d, null, ex(v, d, !0));
8660
8660
  g[Ut] = v, xm(g);
8661
8661
  let w = null;
8662
8662
  try {
@@ -10506,7 +10506,7 @@ var fne = class {
10506
10506
  let t = e.split(".");
10507
10507
  this.major = t[0], this.minor = t[1], this.patch = t.slice(2).join(".");
10508
10508
  }
10509
- }, Ev = new fne("19.2.23"), gne = (() => {
10509
+ }, Ev = new fne("19.2.25"), gne = (() => {
10510
10510
  const t = class t {
10511
10511
  constructor() {
10512
10512
  o(this, "zone", x(Me));
@@ -27253,11 +27253,14 @@ var Mve = (() => {
27253
27253
  }), Vr((i) => {
27254
27254
  let a = this.professional(), r = this.ssin(), s = setTimeout(() => {
27255
27255
  if (a && (!r || r === "")) throw new Error('The "ssin" input is required when "professional" is true.');
27256
- this.authServiceSelector.getInstance().isProfessional = a, this.authServiceSelector.getInstance().patientSsin = a ? r : null, this.fetchData(!1);
27256
+ this.authServiceSelector.getInstance().isProfessional = a, this.authServiceSelector.getInstance().patientSsin = a ? r : null, this.resetComponentState(), this.fetchData(!0);
27257
27257
  });
27258
27258
  i(() => clearTimeout(s));
27259
27259
  });
27260
27260
  }
27261
+ resetComponentState() {
27262
+ console.log("reset Component State");
27263
+ }
27261
27264
  checkError(i) {
27262
27265
  (i == null ? void 0 : i.group) === mn.NOT_AUTHORIZED ? this.showNotAuthorizedErrorPopup(i.code) : (i == null ? void 0 : i.group) === mn.OTHER && this.showTechnicalErrorPopup(i);
27263
27266
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-diarynote",
3
- "version": "4.0.2-snapshot.0",
3
+ "version": "4.1.0",
4
4
  "description": "Diary notes web component",
5
5
  "main": "diarynote.js",
6
6
  "types": "types/main.d.ts",