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

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
@@ -281,8 +281,8 @@
281
281
  * Bugfix : secure prescription data
282
282
 
283
283
  ### vidis-prescription-detail
284
- * Fix the bug during the Visibility pharmacy update to make it visible to everyone.
285
- * Removing leaflet if medication is a compound.
284
+ * Fix the bug during the Visibility pharmacy update to make it visible to everyone
285
+ * Removing leaflet if medication is a compound
286
286
 
287
287
  ## __RELEASE_VERSION__ (__RELEASE_DATE__)
288
288
 
@@ -302,6 +302,7 @@
302
302
  * Resolve display of fullname in the printed prescription
303
303
  * Update mandateType endpoint from /v1 to /v3
304
304
  * fix reservation pharmacy button for accessibility
305
+ * Fix table background color by adjusting it to white
305
306
 
306
307
  ### vidis-prescription-detail
307
308
  * Desktop view Redesign
@@ -315,6 +316,8 @@
315
316
  * Give context to the SSIN number
316
317
  * Resolve display of fullname in the printed prescription
317
318
  * Add accessibility translation to cancel button for pharmacy reservation
319
+ * Put the accessibility focus on the pharmacy visibility modal when openened
320
+ * Reordered the action buttons in dialogs by placing the primary action first and cancel second
318
321
 
319
322
  ### vidis-diarynote
320
323
  * Redesign journal notes-list table for desktop
@@ -322,6 +325,8 @@
322
325
  * Improve accessibility for deleted diary notes
323
326
  * Align NIHDI number to correct format
324
327
  * Fix filter diarynote button for accessibility
328
+ * Fix desktop table background color by adjusting it to white
329
+ * Reordered the action buttons in dialogs by placing the primary action first and cancel second
325
330
 
326
331
  ### vidis-delivered-medication-list
327
332
  * Using /api/v3 instead of /v3 for all requests
package/diarynote.js CHANGED
@@ -33874,10 +33874,10 @@ var J_e = (() => {
33874
33874
  };
33875
33875
  t.ɵfac = function(i) {
33876
33876
  return new (i || t)();
33877
- }, t.ɵcmp = me({ type: t, selectors: [["ng-component"]], decls: 32, vars: 31, consts: [["mat-dialog-title", ""], [1, "contact-info-form"], ["for", "note"], ["appearance", "outline", 1, "formfield-wrapper"], ["id", "note", "matInput", "", "maxlength", "319", 3, "ngModelChange", "ngModel"], [3, "removable"], ["clickable", "", 1, "mh-black", "file-upload-chip"], ["align", "start"], [1, "size-error"], ["mat-button", "", "mat-dialog-close", ""], ["mat-flat-button", "", "type", "button", 3, "disabled", "mat-dialog-close"], [3, "removed", "removable"], ["matChipRemove", ""], ["fontIcon", "close"], ["for", "file-upload"], ["tabindex", "0", "id", "file-upload", "type", "file", "accept", ".jpeg, .pdf, .png, .tiff, .jpg", 3, "change"]], template: function(i, a) {
33877
+ }, t.ɵcmp = me({ type: t, selectors: [["ng-component"]], decls: 32, vars: 31, consts: [["mat-dialog-title", ""], [1, "contact-info-form"], ["for", "note"], ["appearance", "outline", 1, "formfield-wrapper"], ["id", "note", "matInput", "", "maxlength", "319", 3, "ngModelChange", "ngModel"], [3, "removable"], ["clickable", "", 1, "mh-black", "file-upload-chip"], ["align", "start"], [1, "size-error"], ["mat-flat-button", "", "type", "button", 3, "disabled", "mat-dialog-close"], ["mat-button", "", "mat-dialog-close", ""], [3, "removed", "removable"], ["matChipRemove", ""], ["fontIcon", "close"], ["for", "file-upload"], ["tabindex", "0", "id", "file-upload", "type", "file", "accept", ".jpeg, .pdf, .png, .tiff, .jpg", 3, "change"]], template: function(i, a) {
33878
33878
  i & 1 && (N(0, "h2", 0), V(1), F(2, "translate"), I(), N(3, "mat-dialog-content")(4, "div", 1)(5, "label", 2), V(6), F(7, "translate"), I(), N(8, "mat-form-field", 3)(9, "textarea", 4), eo(), ja("ngModelChange", function(r) {
33879
33879
  return un(a.inputtedData, r) || (a.inputtedData = r), r;
33880
- }), I(), N(10, "mat-hint"), V(11), F(12, "translate"), I()()(), N(13, "div")(14, "h3"), V(15), F(16, "translate"), I(), X(17, K_e, 4, 2, "mat-chip", 5)(18, X_e, 5, 3, "mat-chip", 6), N(19, "div")(20, "mat-hint", 7), V(21), F(22, "translate"), I(), X(23, Q_e, 3, 3, "mat-error", 8), I(), he(24, "div"), I()(), N(25, "mat-dialog-actions")(26, "button", 9), V(27), F(28, "translate"), I(), N(29, "button", 10), V(30), F(31, "translate"), I()()), i & 2 && (E(), be($(2, 14, "diaryNotesPage.add-note-dialog.title")), E(5), be($(7, 16, "diaryNotesPage.add-note-dialog.field-description")), E(3), Ba("ngModel", a.inputtedData), to(), E(2), ns(" ", a.inputtedData.length, "/319 ", $(12, 18, "diaryNotesPage.add-note-dialog.character-counter"), " "), E(4), be($(16, 20, "diaryNotesPage.add-note-dialog.file-upload-title")), E(2), Q(a.selectedFile ? 17 : 18), E(4), be($(22, 22, "diaryNotesPage.add-note-dialog.file-info")), E(2), Q(a.showSizeError ? 23 : -1), E(4), we(" ", $(28, 24, "diaryNotesPage.add-note-dialog.cancel"), " "), E(2), q("disabled", !a.showSizeError)("disabled", a.inputtedData.length === 0)("mat-dialog-close", ug(28, Z_e, a.inputtedData, a.selectedFile)), E(), we(" ", $(31, 26, "diaryNotesPage.add-note-dialog.confirm"), " "));
33880
+ }), I(), N(10, "mat-hint"), V(11), F(12, "translate"), I()()(), N(13, "div")(14, "h3"), V(15), F(16, "translate"), I(), X(17, K_e, 4, 2, "mat-chip", 5)(18, X_e, 5, 3, "mat-chip", 6), N(19, "div")(20, "mat-hint", 7), V(21), F(22, "translate"), I(), X(23, Q_e, 3, 3, "mat-error", 8), I(), he(24, "div"), I()(), N(25, "mat-dialog-actions")(26, "button", 9), V(27), F(28, "translate"), I(), N(29, "button", 10), V(30), F(31, "translate"), I()()), i & 2 && (E(), be($(2, 14, "diaryNotesPage.add-note-dialog.title")), E(5), be($(7, 16, "diaryNotesPage.add-note-dialog.field-description")), E(3), Ba("ngModel", a.inputtedData), to(), E(2), ns(" ", a.inputtedData.length, "/319 ", $(12, 18, "diaryNotesPage.add-note-dialog.character-counter"), " "), E(4), be($(16, 20, "diaryNotesPage.add-note-dialog.file-upload-title")), E(2), Q(a.selectedFile ? 17 : 18), E(4), be($(22, 22, "diaryNotesPage.add-note-dialog.file-info")), E(2), Q(a.showSizeError ? 23 : -1), E(3), q("disabled", !a.showSizeError)("disabled", a.inputtedData.length === 0)("mat-dialog-close", ug(28, Z_e, a.inputtedData, a.selectedFile)), E(), we(" ", $(28, 24, "diaryNotesPage.add-note-dialog.confirm"), " "), E(3), we(" ", $(31, 26, "diaryNotesPage.add-note-dialog.cancel"), " "));
33881
33881
  }, dependencies: [Kl, Bu, Sm, Xl, zk, fC, ju, pC, lC, Jg, Zl, sX, mo, $a, qn, Ql, tX, Wl, aa], styles: ["[_nghost-%COMP%]{background-color:transparent!important}textarea[_ngcontent-%COMP%]{height:120px!important}.formfield-wrapper[_ngcontent-%COMP%]{width:100%;min-width:50vw}.text-length[_ngcontent-%COMP%]{margin-bottom:16px}input[type=file][_ngcontent-%COMP%]{display:none}.close-button[_ngcontent-%COMP%]{position:absolute;top:1px;right:1px;z-index:1}.file-input-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;cursor:pointer}.file-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;width:100%}.close-file-button[_ngcontent-%COMP%]{padding:0;margin-left:8px}.file-upload-chip[_ngcontent-%COMP%], .file-upload-chip[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}"] });
33882
33882
  let e = t;
33883
33883
  return e;
@@ -36407,7 +36407,7 @@ var Gwe = (() => {
36407
36407
  };
36408
36408
  t.ɵfac = function(i) {
36409
36409
  return new (i || t)();
36410
- }, t.ɵcmp = me({ type: t, selectors: [["ng-component"]], decls: 44, vars: 43, consts: [["dateRangeFrom", "ngModel"], ["fromPicker", ""], ["dateRangeUntil", "ngModel"], ["untilPicker", ""], ["mat-dialog-title", ""], ["id", "filterDiarynoteForm"], ["class", "mh-form-field", 4, "vidisIfViewportSize"], [1, "date-range"], [1, "mh-form-field"], ["for", "fromFilter"], ["appearance", "outline"], ["id", "fromFilter", "matInput", "", "name", "fromPicker", "placeholder", "dd/mm/yyyy", 3, "ngModelChange", "dateChange", "ngModel", "matDatepicker", "max"], ["matSuffix", "", 3, "for"], ["startView", "month", 3, "opened", "startAt"], ["for", "untilDate"], ["id", "untilDate", "matInput", "", "name", "untilPicker", "placeholder", "dd/mm/yyyy", 3, "ngModelChange", "dateChange", "ngModel", "matDatepicker", "min", "max"], ["aria-live", "polite", "id", "calendarLiveRegion", 1, "cdk-visually-hidden"], ["mat-button", "", "mat-dialog-close", ""], ["mat-flat-button", "", "type", "submit", "form", "filterDiarynoteForm", 3, "disabled", "mat-dialog-close"], ["for", "sort"], ["id", "sort", "name", "sort", 3, "ngModelChange", "ngModel"], ["value", "desc"], ["value", "asc"], ["for", "author"], ["id", "author", "name", "author", 3, "ngModelChange", "ngModel"], ["value", ""], [3, "value"], ["matSuffix", "", "mat-icon-button", "", 3, "title"], ["matSuffix", "", "mat-icon-button", "", 3, "click", "title"], ["aria-hidden", "true", "fontIcon", "close"], ["for", "role"], ["id", "role", "name", "role", 3, "ngModelChange", "ngModel"], ["for", "tags"], ["id", "tags", "name", "tags", "multiple", "", 3, "ngModelChange", "ngModel"]], template: function(i, a) {
36410
+ }, t.ɵcmp = me({ type: t, selectors: [["ng-component"]], decls: 44, vars: 43, consts: [["dateRangeFrom", "ngModel"], ["fromPicker", ""], ["dateRangeUntil", "ngModel"], ["untilPicker", ""], ["mat-dialog-title", ""], ["id", "filterDiarynoteForm"], ["class", "mh-form-field", 4, "vidisIfViewportSize"], [1, "date-range"], [1, "mh-form-field"], ["for", "fromFilter"], ["appearance", "outline"], ["id", "fromFilter", "matInput", "", "name", "fromPicker", "placeholder", "dd/mm/yyyy", 3, "ngModelChange", "dateChange", "ngModel", "matDatepicker", "max"], ["matSuffix", "", 3, "for"], ["startView", "month", 3, "opened", "startAt"], ["for", "untilDate"], ["id", "untilDate", "matInput", "", "name", "untilPicker", "placeholder", "dd/mm/yyyy", 3, "ngModelChange", "dateChange", "ngModel", "matDatepicker", "min", "max"], ["aria-live", "polite", "id", "calendarLiveRegion", 1, "cdk-visually-hidden"], ["mat-flat-button", "", "type", "submit", "form", "filterDiarynoteForm", 3, "disabled", "mat-dialog-close"], ["mat-button", "", "mat-dialog-close", ""], ["for", "sort"], ["id", "sort", "name", "sort", 3, "ngModelChange", "ngModel"], ["value", "desc"], ["value", "asc"], ["for", "author"], ["id", "author", "name", "author", 3, "ngModelChange", "ngModel"], ["value", ""], [3, "value"], ["matSuffix", "", "mat-icon-button", "", 3, "title"], ["matSuffix", "", "mat-icon-button", "", 3, "click", "title"], ["aria-hidden", "true", "fontIcon", "close"], ["for", "role"], ["id", "role", "name", "role", 3, "ngModelChange", "ngModel"], ["for", "tags"], ["id", "tags", "name", "tags", "multiple", "", 3, "ngModelChange", "ngModel"]], template: function(i, a) {
36411
36411
  var r, s, l;
36412
36412
  if (i & 1) {
36413
36413
  let c = We();
@@ -36427,7 +36427,7 @@ var Gwe = (() => {
36427
36427
  }
36428
36428
  if (i & 2) {
36429
36429
  let c = Hi(13), d = Hi(17), u = Hi(26), h = Hi(30);
36430
- E(), be($(2, 26, "diaryNotesPage.filters.filter")), E(4), q("vidisIfViewportSize", "S"), E(4), be($(10, 28, "diaryNotesPage.filters.from")), E(3), Ba("ngModel", a.filter.dateRange.from), q("matDatepicker", d)("max", a.filter.dateRange.until ? a.filter.dateRange.until : a.today), de("aria-label", $(14, 30, "diaryNotesPage.accessibility.startDate")), to(), E(3), q("for", d), E(), q("startAt", a.today), E(2), Q(c.hasError("matDatepickerParse") ? 18 : c.hasError("matDatepickerMax") ? 19 : -1), E(4), be($(23, 32, "diaryNotesPage.filters.until")), E(3), Ba("ngModel", a.filter.dateRange.until), q("matDatepicker", h)("min", a.filter.dateRange.from)("max", a.today), de("aria-label", $(27, 34, "diaryNotesPage.accessibility.endDate")), to(), E(3), q("for", h), E(), q("startAt", a.today), E(2), Q(u.hasError("matDatepickerParse") ? 31 : u.hasError("matDatepickerMin") ? 32 : -1), E(3), Q((r = a.authors) != null && r.length ? 34 : -1), E(), Q((s = a.roles) != null && s.length ? 35 : -1), E(), Q((l = a.tags) != null && l.length ? 36 : -1), E(3), we(" ", $(40, 36, "diaryNotesPage.cancel"), " "), E(2), q("disabled", c.invalid || u.invalid)("mat-dialog-close", ug(40, Iwe, a.filter, a.order)), E(), we(" ", $(43, 38, "diaryNotesPage.confirm"), " ");
36430
+ E(), be($(2, 26, "diaryNotesPage.filters.filter")), E(4), q("vidisIfViewportSize", "S"), E(4), be($(10, 28, "diaryNotesPage.filters.from")), E(3), Ba("ngModel", a.filter.dateRange.from), q("matDatepicker", d)("max", a.filter.dateRange.until ? a.filter.dateRange.until : a.today), de("aria-label", $(14, 30, "diaryNotesPage.accessibility.startDate")), to(), E(3), q("for", d), E(), q("startAt", a.today), E(2), Q(c.hasError("matDatepickerParse") ? 18 : c.hasError("matDatepickerMax") ? 19 : -1), E(4), be($(23, 32, "diaryNotesPage.filters.until")), E(3), Ba("ngModel", a.filter.dateRange.until), q("matDatepicker", h)("min", a.filter.dateRange.from)("max", a.today), de("aria-label", $(27, 34, "diaryNotesPage.accessibility.endDate")), to(), E(3), q("for", h), E(), q("startAt", a.today), E(2), Q(u.hasError("matDatepickerParse") ? 31 : u.hasError("matDatepickerMin") ? 32 : -1), E(3), Q((r = a.authors) != null && r.length ? 34 : -1), E(), Q((s = a.roles) != null && s.length ? 35 : -1), E(), Q((l = a.tags) != null && l.length ? 36 : -1), E(2), q("disabled", c.invalid || u.invalid)("mat-dialog-close", ug(40, Iwe, a.filter, a.order)), E(), we(" ", $(40, 36, "diaryNotesPage.confirm"), " "), E(3), we(" ", $(43, 38, "diaryNotesPage.cancel"), " ");
36431
36431
  }
36432
36432
  }, dependencies: [Kl, Bu, fX, xwe, vC, Ru, Xl, Wl, fC, xpe, ju, pC, gpe, Jg, $u, po, vv, sX, Zl, Hg, Ud, zk, Ihe, W_e, Nwe, Lpe, _m, mo, $a, qn, mv, nX, aa, Zu], styles: ["[_nghost-%COMP%]{background-color:transparent!important}@media only screen and (min-width:960px){.date-range[_ngcontent-%COMP%]{display:flex;gap:16px}.date-range[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%}}"] });
36433
36433
  let e = t;
@@ -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:#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}"] });
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}.mat-mdc-table[_ngcontent-%COMP%]{background-color:#fff!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.40",
3
+ "version": "4.2.2-snapshot.42",
4
4
  "description": "Diary notes web component",
5
5
  "main": "diarynote.js",
6
6
  "types": "types/main.d.ts",