@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.41 → 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
 
@@ -317,6 +317,7 @@
317
317
  * Resolve display of fullname in the printed prescription
318
318
  * Add accessibility translation to cancel button for pharmacy reservation
319
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
320
321
 
321
322
  ### vidis-diarynote
322
323
  * Redesign journal notes-list table for desktop
@@ -325,6 +326,7 @@
325
326
  * Align NIHDI number to correct format
326
327
  * Fix filter diarynote button for accessibility
327
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
328
330
 
329
331
  ### vidis-delivered-medication-list
330
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-diarynote",
3
- "version": "4.2.2-snapshot.41",
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",