@smals-belgium-shared/vidis-diarynote 4.2.2-snapshot.42 → 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 +3 -0
- package/diarynote.js +11 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -318,6 +318,7 @@
|
|
|
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
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
|
|
321
322
|
|
|
322
323
|
### vidis-diarynote
|
|
323
324
|
* Redesign journal notes-list table for desktop
|
|
@@ -327,6 +328,7 @@
|
|
|
327
328
|
* Fix filter diarynote button for accessibility
|
|
328
329
|
* Fix desktop table background color by adjusting it to white
|
|
329
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
|
|
330
332
|
|
|
331
333
|
### vidis-delivered-medication-list
|
|
332
334
|
* Using /api/v3 instead of /v3 for all requests
|
|
@@ -368,3 +370,4 @@
|
|
|
368
370
|
* Remove leaflet icon for weekly and daily view when leaflet is empty
|
|
369
371
|
* Restore focus and screen reader reading on "Back to today" date button
|
|
370
372
|
* Use darker color for medication intake to improve contrast
|
|
373
|
+
* Remove icon on the datepicker and underlining date
|
package/diarynote.js
CHANGED
|
@@ -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-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) {
|
|
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);
|