@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.39 → 4.2.2-snapshot.40

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
@@ -290,6 +290,7 @@
290
290
  * Migrate report error to use API v3
291
291
  * Fix "This element has insufficient contrast at this conformance level" issues in all web components
292
292
  * Dynamically update HTML lang attribute to ensure correct screen reader pronunciation
293
+ * set the detail button darker for accessibility reasons
293
294
 
294
295
  ### vidis-prescription-list
295
296
  * Using /api/v3 instead of /v3 for all requests
@@ -361,3 +362,4 @@
361
362
  * Align NIHDI number to correct format
362
363
  * Remove leaflet icon for weekly and daily view when leaflet is empty
363
364
  * Restore focus and screen reader reading on "Back to today" date button
365
+ * Use darker color for medication intake to improve contrast
package/diarynote.js CHANGED
@@ -36436,11 +36436,11 @@ var Gwe = (() => {
36436
36436
  function Ywe(e, t) {
36437
36437
  if (e & 1) {
36438
36438
  let n = We();
36439
- N(0, "mat-chip", 4), le("removed", function() {
36439
+ N(0, "mat-chip", 5), le("removed", function() {
36440
36440
  xe(n);
36441
36441
  let i = T(2);
36442
36442
  return Se(i.onClearFilter("author"));
36443
- }), V(1), F(2, "translate"), N(3, "span"), V(4), F(5, "firstLetterUppercase"), I(), N(6, "button", 5), he(7, "mat-icon", 6), I()();
36443
+ }), V(1), F(2, "translate"), N(3, "span"), V(4), F(5, "firstLetterUppercase"), I(), N(6, "button", 6), he(7, "mat-icon", 7), I()();
36444
36444
  }
36445
36445
  if (e & 2) {
36446
36446
  let n = T(), i = T();
@@ -36450,11 +36450,11 @@ function Ywe(e, t) {
36450
36450
  function Wwe(e, t) {
36451
36451
  if (e & 1) {
36452
36452
  let n = We();
36453
- N(0, "mat-chip", 4), le("removed", function() {
36453
+ N(0, "mat-chip", 5), le("removed", function() {
36454
36454
  xe(n);
36455
36455
  let i = T(2);
36456
36456
  return Se(i.onClearFilter("role"));
36457
- }), V(1), F(2, "translate"), N(3, "span"), V(4), F(5, "translate"), F(6, "firstLetterUppercase"), I(), N(7, "button", 5), he(8, "mat-icon", 6), I()();
36457
+ }), V(1), F(2, "translate"), N(3, "span"), V(4), F(5, "translate"), F(6, "firstLetterUppercase"), I(), N(7, "button", 6), he(8, "mat-icon", 7), I()();
36458
36458
  }
36459
36459
  if (e & 2) {
36460
36460
  let n = T(), i = T();
@@ -36473,11 +36473,11 @@ function Kwe(e, t) {
36473
36473
  function Xwe(e, t) {
36474
36474
  if (e & 1) {
36475
36475
  let n = We();
36476
- N(0, "mat-chip", 4), le("removed", function() {
36476
+ N(0, "mat-chip", 5), le("removed", function() {
36477
36477
  xe(n);
36478
36478
  let i = T(2);
36479
36479
  return Se(i.onClearFilter("tags"));
36480
- }), V(1), F(2, "translate"), N(3, "span"), ta(4, Kwe, 4, 6, null, null, Ua), I(), N(6, "button", 5), he(7, "mat-icon", 6), I()();
36480
+ }), V(1), F(2, "translate"), N(3, "span"), ta(4, Kwe, 4, 6, null, null, Ua), I(), N(6, "button", 6), he(7, "mat-icon", 7), I()();
36481
36481
  }
36482
36482
  if (e & 2) {
36483
36483
  let n = T(), i = T();
@@ -36499,11 +36499,11 @@ function Jwe(e, t) {
36499
36499
  function exe(e, t) {
36500
36500
  if (e & 1) {
36501
36501
  let n = We();
36502
- N(0, "mat-chip", 4), le("removed", function() {
36502
+ N(0, "mat-chip", 5), le("removed", function() {
36503
36503
  xe(n);
36504
36504
  let i = T(2);
36505
36505
  return Se(i.onClearFilter("range"));
36506
- }), X(1, Qwe, 3, 7), X(2, Jwe, 3, 7), N(3, "button", 5), he(4, "mat-icon", 6), I()();
36506
+ }), X(1, Qwe, 3, 7), X(2, Jwe, 3, 7), N(3, "button", 6), he(4, "mat-icon", 7), I()();
36507
36507
  }
36508
36508
  if (e & 2) {
36509
36509
  let n = T(), i = T();
@@ -36511,7 +36511,7 @@ function exe(e, t) {
36511
36511
  }
36512
36512
  }
36513
36513
  function txe(e, t) {
36514
- if (e & 1 && (N(0, "mat-chip-set"), X(1, Ywe, 8, 9, "mat-chip", 3), X(2, Wwe, 9, 11, "mat-chip", 3), X(3, Xwe, 8, 6, "mat-chip", 3), X(4, exe, 5, 4, "mat-chip", 3), I()), e & 2) {
36514
+ if (e & 1 && (N(0, "mat-chip-set", 3), X(1, Ywe, 8, 9, "mat-chip", 4), X(2, Wwe, 9, 11, "mat-chip", 4), X(3, Xwe, 8, 6, "mat-chip", 4), X(4, exe, 5, 4, "mat-chip", 4), I()), e & 2) {
36515
36515
  let n = t;
36516
36516
  E(), Q(n != null && n.author && n.author !== "" ? 1 : -1), E(), Q(n != null && n.role && n.role !== "" ? 2 : -1), E(), Q(n != null && n.tags && n.tags.length > 0 ? 3 : -1), E(), Q(n.dateRange.from || n != null && n.dateRange.until ? 4 : -1);
36517
36517
  }
@@ -36527,10 +36527,10 @@ var ixe = (() => {
36527
36527
  };
36528
36528
  t.ɵfac = function(i) {
36529
36529
  return new (i || t)();
36530
- }, t.ɵcmp = me({ type: t, selectors: [["vidis-diarynotes-filter-block"]], inputs: { filterOptions: [1, "filterOptions"], disabled: [1, "disabled"] }, outputs: { clickShowFilterDialog: "clickShowFilterDialog" }, decls: 6, vars: 5, consts: [[1, "filter-container"], ["mat-stroked-button", "", 3, "click", "disabled"], ["fontIcon", "filter_alt"], [3, "removable", "disabled"], [3, "removed", "removable", "disabled"], ["matChipRemove", ""], ["fontIcon", "close"]], template: function(i, a) {
36530
+ }, t.ɵcmp = me({ type: t, selectors: [["vidis-diarynotes-filter-block"]], inputs: { filterOptions: [1, "filterOptions"], disabled: [1, "disabled"] }, outputs: { clickShowFilterDialog: "clickShowFilterDialog" }, decls: 6, vars: 5, consts: [[1, "filter-container"], ["mat-stroked-button", "", 3, "click", "disabled"], ["fontIcon", "filter_alt"], ["role", "group"], [3, "removable", "disabled"], [3, "removed", "removable", "disabled"], ["matChipRemove", ""], ["fontIcon", "close"]], template: function(i, a) {
36531
36531
  if (i & 1 && (N(0, "div", 0)(1, "button", 1), le("click", function() {
36532
36532
  return a.clickShowFilterDialog.emit(a.filterOptions());
36533
- }), he(2, "mat-icon", 2), V(3), F(4, "translate"), I(), X(5, txe, 5, 4, "mat-chip-set"), I()), i & 2) {
36533
+ }), he(2, "mat-icon", 2), V(3), F(4, "translate"), I(), X(5, txe, 5, 4, "mat-chip-set", 3), I()), i & 2) {
36534
36534
  let r;
36535
36535
  E(), q("disabled", a.disabled()), E(2), we(" ", $(4, 3, "diaryNotesPage.filters.filter"), " "), E(2), Q((r = a.activeFilters()) ? 5 : -1, r);
36536
36536
  }
@@ -36783,7 +36783,7 @@ var ixe = (() => {
36783
36783
  return new (i || t)();
36784
36784
  }, t.ɵcmp = me({ type: t, selectors: [["vidis-see-details-button"]], inputs: { detailsTargetId: [1, "detailsTargetId"] }, decls: 8, vars: 8, consts: [[1, "see-details"], ["tabindex", "0", "role", "link", 1, "see-details-text"], ["aria-hidden", "true", "fontIcon", "arrow_forward_ios"], ["hidden", "", 3, "id"]], template: function(i, a) {
36785
36785
  i & 1 && (N(0, "div", 0)(1, "span", 1), V(2), F(3, "translate"), I(), he(4, "mat-icon", 2), I(), N(5, "div", 3), V(6), F(7, "translate"), I()), i & 2 && (E(), de("aria-labelledby", a.seeDetailsTextId + " " + a.detailsTargetId()), E(), we(" ", $(3, 4, "commons.seeDetails"), " "), E(3), q("id", a.seeDetailsTextId), E(), be($(7, 6, "commons.medicationDetails")));
36786
- }, dependencies: [mv, qn, aa], styles: [".see-details[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:6px;color:#2473db}.see-details[_ngcontent-%COMP%] .see-details-text[_ngcontent-%COMP%]{text-decoration:underline}.see-details[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1}"] });
36786
+ }, dependencies: [mv, qn, aa], styles: [".see-details[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:6px;color:#1d5caf}.see-details[_ngcontent-%COMP%] .see-details-text[_ngcontent-%COMP%]{text-decoration:underline}.see-details[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1}"] });
36787
36787
  let e = t;
36788
36788
  return e;
36789
36789
  })(), fxe = [[["vidis-card-header-left"]], [["vidis-card-header-right"]], [["vidis-card-content"]]], gxe = ["vidis-card-header-left", "vidis-card-header-right", "vidis-card-content"];
@@ -36856,8 +36856,8 @@ var _xe = (() => {
36856
36856
  };
36857
36857
  t.ɵfac = function(i) {
36858
36858
  return new (i || t)();
36859
- }, t.ɵcmp = me({ type: t, selectors: [["vidis-card-header-right"]], ngContentSelectors: Exe, decls: 2, vars: 0, template: function(i, a) {
36860
- i & 1 && (ei(), N(0, "mat-chip-set"), Le(1), I());
36859
+ }, t.ɵcmp = me({ type: t, selectors: [["vidis-card-header-right"]], ngContentSelectors: Exe, decls: 2, vars: 0, consts: [["role", "group"]], template: function(i, a) {
36860
+ i & 1 && (ei(), N(0, "mat-chip-set", 0), Le(1), I());
36861
36861
  }, dependencies: [iX], encapsulation: 2 });
36862
36862
  let e = t;
36863
36863
  return e;
@@ -37020,7 +37020,7 @@ var Hxe = (() => {
37020
37020
  return new (i || t)();
37021
37021
  }, t.ɵcmp = me({ type: t, selectors: [["vidis-diarynotes-table"]], inputs: { diaryNoteDataItems: [1, "diaryNoteDataItems"], userInfo: [1, "userInfo"] }, outputs: { downloadRequested: "downloadRequested" }, decls: 2, vars: 0, consts: [["noteText", ""], [3, "showDetailsLink"], ["mat-icon-button", ""], [3, "label", "textIsOverflow"], [3, "ngClass"], [1, "sr-only"], [1, "nota-content", 3, "innerHTML"], ["href", "javascript:void(0)", "aria-controls", "note-content-id", 1, "toggle-link"], [3, "fullname", "nihdi"], [3, "label", "value", "textIsOverflow"], [1, "mh-blue", "mh-no-overlay", 3, "disableRipple"], ["mat-icon-button", "", 3, "click", 4, "hideIfOffline"], ["mat-icon-button", "", 3, "click"], ["fontIcon", "delete"], ["href", "javascript:void(0)", "aria-controls", "note-content-id", 1, "toggle-link", 3, "click"], [1, "cdk-visually-hidden"], ["aria-hidden", "true"], ["href", "javascript:void(0)"], ["href", "javascript:void(0)", 3, "click"], ["fontIcon", "attach_file"]], template: function(i, a) {
37022
37022
  i & 1 && ta(0, jxe, 23, 39, "vidis-card", 1, Ua), i & 2 && ia(a.diaryNoteDataItems());
37023
- }, dependencies: [Rle, qn, po, Ql, fv, _xe, xxe, Sxe, Cxe, Dxe, WK, vg, aa, Zu, KK, ZK, gX, XK], styles: ["[_nghost-%COMP%]{background-color:transparent!important}vidis-card-header-right[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]{margin-left:10px}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#2473db}.toggle-link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#2473db}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"] });
37023
+ }, dependencies: [Rle, qn, po, Ql, fv, _xe, xxe, Sxe, Cxe, Dxe, WK, vg, aa, Zu, KK, ZK, gX, XK], styles: ["[_nghost-%COMP%]{background-color:transparent!important}vidis-card-header-right[_ngcontent-%COMP%] button[mat-icon-button][_ngcontent-%COMP%]{margin-left:10px}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#1d5caf}.toggle-link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"] });
37024
37024
  let e = t;
37025
37025
  return e;
37026
37026
  })(), Uxe = [[["caption"]], [["colgroup"], ["col"]], "*"], qxe = ["caption", "colgroup, col", "*"];
@@ -38698,7 +38698,7 @@ var G1e = (() => {
38698
38698
  i & 1 && (N(0, "table", 1), le("matSortChange", function(r) {
38699
38699
  return a.onSortChange(r);
38700
38700
  }), Kn(1, 2), lt(2, E1e, 3, 3, "th", 3)(3, D1e, 3, 6, "td", 4), Xn(), Kn(4, 5), lt(5, N1e, 3, 3, "th", 6)(6, O1e, 7, 11, "td", 4), Xn(), Kn(7, 7), lt(8, R1e, 3, 3, "th", 6)(9, M1e, 3, 2, "td", 8), Xn(), Kn(10, 9), lt(11, P1e, 3, 3, "th", 6)(12, F1e, 4, 6, "td", 4), Xn(), Kn(13, 10), lt(14, L1e, 3, 5, "th", 6)(15, z1e, 3, 2, "td", 4), Xn(), Kn(16, 11), lt(17, B1e, 3, 3, "th", 6)(18, U1e, 3, 4, "td", 12), Xn(), lt(19, q1e, 1, 0, "tr", 13)(20, $1e, 1, 0, "tr", 14), I()), i & 2 && (q("dataSource", a.diaryNoteDataItems())("matSortDirection", a.sortData().order)("matSortDisableClear", !0), E(19), q("matHeaderRowDef", a.columns), E(), q("matRowDefColumns", a.columns));
38701
- }, dependencies: [qn, po, Ql, S1e, p1e, f1e, y1e, g1e, m1e, _1e, v1e, b1e, w1e, x1e, s1e, EX, o1e, fv, WK, vg, aa, Zu, KK, ZK, gX, XK], styles: ["[_nghost-%COMP%]{background-color:transparent!important}table[_ngcontent-%COMP%]{width:100%;background-color:transparent!important}th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-cell[_ngcontent-%COMP%]{vertical-align:top;padding:16px}.mat-column-creation[_ngcontent-%COMP%]{width:15%}.mat-column-note[_ngcontent-%COMP%]{width:35%}.type-chips[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:0 8px 8px 0}.mat-column-actions[_ngcontent-%COMP%]{width:1%;white-space:nowrap}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#2473db}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.attachment-link[_ngcontent-%COMP%]{text-decoration:underline 1px}.sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.author[_ngcontent-%COMP%] vidis-person-name[_ngcontent-%COMP%]{display:flex;flex-direction:column}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"] });
38701
+ }, dependencies: [qn, po, Ql, S1e, p1e, f1e, y1e, g1e, m1e, _1e, v1e, b1e, w1e, x1e, s1e, EX, o1e, fv, WK, vg, aa, Zu, KK, ZK, gX, XK], styles: ["[_nghost-%COMP%]{background-color:transparent!important}table[_ngcontent-%COMP%]{width:100%;background-color:transparent!important}th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-cell[_ngcontent-%COMP%]{vertical-align:top;padding:16px}.mat-column-creation[_ngcontent-%COMP%]{width:15%}.mat-column-note[_ngcontent-%COMP%]{width:35%}.type-chips[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:0 8px 8px 0}.mat-column-actions[_ngcontent-%COMP%]{width:1%;white-space:nowrap}.nota-content[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.nota-content.expanded[_ngcontent-%COMP%]{display:block;-webkit-line-clamp:unset}.toggle-link[_ngcontent-%COMP%]{cursor:pointer;color:#1d5caf}.toggle-link[_ngcontent-%COMP%]:hover{opacity:.8}.attachment-link[_ngcontent-%COMP%]{text-decoration:underline 1px}.sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.author[_ngcontent-%COMP%] vidis-person-name[_ngcontent-%COMP%]{display:flex;flex-direction:column}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}"] });
38702
38702
  let e = t;
38703
38703
  return e;
38704
38704
  })(), Y1e = (e) => ({ addNote: e }), W1e = (() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-diarynote",
3
- "version": "4.2.2-snapshot.39",
3
+ "version": "4.2.2-snapshot.40",
4
4
  "description": "Diary notes web component",
5
5
  "main": "diarynote.js",
6
6
  "types": "types/main.d.ts",