@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.41 → 4.2.2-snapshot.43
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 +7 -2
- package/diarynote.js +14 -6
- package/package.json +1 -1
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,8 @@
|
|
|
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
|
|
321
|
+
* Bugfix accessibility issue on reservation button for mobile view
|
|
320
322
|
|
|
321
323
|
### vidis-diarynote
|
|
322
324
|
* Redesign journal notes-list table for desktop
|
|
@@ -325,6 +327,8 @@
|
|
|
325
327
|
* Align NIHDI number to correct format
|
|
326
328
|
* Fix filter diarynote button for accessibility
|
|
327
329
|
* Fix desktop table background color by adjusting it to white
|
|
330
|
+
* Reordered the action buttons in dialogs by placing the primary action first and cancel second
|
|
331
|
+
* Make the date picker numeric and prevent the entry of letters
|
|
328
332
|
|
|
329
333
|
### vidis-delivered-medication-list
|
|
330
334
|
* Using /api/v3 instead of /v3 for all requests
|
|
@@ -366,3 +370,4 @@
|
|
|
366
370
|
* Remove leaflet icon for weekly and daily view when leaflet is empty
|
|
367
371
|
* Restore focus and screen reader reading on "Back to today" date button
|
|
368
372
|
* Use darker color for medication intake to improve contrast
|
|
373
|
+
* Remove icon on the datepicker and underlining date
|
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", "", "
|
|
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(
|
|
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;
|
|
@@ -36395,6 +36395,10 @@ var Gwe = (() => {
|
|
|
36395
36395
|
onCalendarOpened() {
|
|
36396
36396
|
this.announceLiveRegion(this.translateService.instant("diaryNotesPage.accessibility.calendarOpen"));
|
|
36397
36397
|
}
|
|
36398
|
+
onDateInputChange(i) {
|
|
36399
|
+
let a = i.target;
|
|
36400
|
+
a.value = a.value.replaceAll(/[^0-9/]/g, "");
|
|
36401
|
+
}
|
|
36398
36402
|
onDateSelected(i) {
|
|
36399
36403
|
if (!i) return;
|
|
36400
36404
|
let a = this.translateService.instant("diaryNotesPage.accessibility.selectedDate", { date: _l(i, "d MMMM y") });
|
|
@@ -36407,17 +36411,21 @@ var Gwe = (() => {
|
|
|
36407
36411
|
};
|
|
36408
36412
|
t.ɵfac = function(i) {
|
|
36409
36413
|
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", "", "
|
|
36414
|
+
}, 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", "inputmode", "numeric", 3, "input", "ngModelChange", "dateChange", "ngModel", "matDatepicker", "max"], ["matSuffix", "", 3, "for"], ["startView", "month", 3, "opened", "startAt"], ["for", "untilDate"], ["id", "untilDate", "matInput", "", "name", "untilPicker", "placeholder", "dd/mm/yyyy", "inputmode", "numeric", 3, "input", "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
36415
|
var r, s, l;
|
|
36412
36416
|
if (i & 1) {
|
|
36413
36417
|
let c = We();
|
|
36414
|
-
N(0, "h2", 4), V(1), F(2, "translate"), I(), N(3, "mat-dialog-content")(4, "form", 5), lt(5, Awe, 12, 12, "div", 6), N(6, "div", 7)(7, "div", 8)(8, "label", 9), V(9), F(10, "translate"), I(), N(11, "mat-form-field", 10)(12, "input", 11, 0), F(14, "translate"), eo(),
|
|
36418
|
+
N(0, "h2", 4), V(1), F(2, "translate"), I(), N(3, "mat-dialog-content")(4, "form", 5), lt(5, Awe, 12, 12, "div", 6), N(6, "div", 7)(7, "div", 8)(8, "label", 9), V(9), F(10, "translate"), I(), N(11, "mat-form-field", 10)(12, "input", 11, 0), F(14, "translate"), eo(), le("input", function(d) {
|
|
36419
|
+
return a.onDateInputChange(d);
|
|
36420
|
+
}), ja("ngModelChange", function(d) {
|
|
36415
36421
|
return xe(c), un(a.filter.dateRange.from, d) || (a.filter.dateRange.from = d), Se(d);
|
|
36416
36422
|
}), le("dateChange", function(d) {
|
|
36417
36423
|
return a.onSelectFromDate(d);
|
|
36418
36424
|
}), I(), he(15, "mat-datepicker-toggle", 12), N(16, "mat-datepicker", 13, 1), le("opened", function() {
|
|
36419
36425
|
return a.onCalendarOpened();
|
|
36420
|
-
}), I(), X(18, Owe, 3, 3, "mat-error")(19, Rwe, 3, 3, "mat-error"), I()(), N(20, "div", 8)(21, "label", 14), V(22), F(23, "translate"), I(), N(24, "mat-form-field", 10)(25, "input", 15, 2), F(27, "translate"), eo(),
|
|
36426
|
+
}), I(), X(18, Owe, 3, 3, "mat-error")(19, Rwe, 3, 3, "mat-error"), I()(), N(20, "div", 8)(21, "label", 14), V(22), F(23, "translate"), I(), N(24, "mat-form-field", 10)(25, "input", 15, 2), F(27, "translate"), eo(), le("input", function(d) {
|
|
36427
|
+
return a.onDateInputChange(d);
|
|
36428
|
+
}), ja("ngModelChange", function(d) {
|
|
36421
36429
|
return xe(c), un(a.filter.dateRange.until, d) || (a.filter.dateRange.until = d), Se(d);
|
|
36422
36430
|
}), le("dateChange", function(d) {
|
|
36423
36431
|
return a.onSelectUntilDate(d);
|
|
@@ -36427,7 +36435,7 @@ var Gwe = (() => {
|
|
|
36427
36435
|
}
|
|
36428
36436
|
if (i & 2) {
|
|
36429
36437
|
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(
|
|
36438
|
+
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
36439
|
}
|
|
36432
36440
|
}, 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
36441
|
let e = t;
|