@openmrs/esm-appointments-app 5.2.2-pre.2529 → 5.2.2-pre.2539

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.
@@ -80,10 +80,10 @@
80
80
  "initial": true,
81
81
  "entry": true,
82
82
  "recorded": false,
83
- "size": 4540608,
83
+ "size": 4540859,
84
84
  "sizes": {
85
85
  "consume-shared": 252,
86
- "javascript": 4519686,
86
+ "javascript": 4519937,
87
87
  "share-init": 252,
88
88
  "runtime": 20418
89
89
  },
@@ -100,7 +100,7 @@
100
100
  "auxiliaryFiles": [
101
101
  "main.js.map"
102
102
  ],
103
- "hash": "0c24efecd662965a",
103
+ "hash": "10a10d83a9e69f3d",
104
104
  "childrenByOrder": {}
105
105
  },
106
106
  {
@@ -490,9 +490,9 @@
490
490
  "initial": false,
491
491
  "entry": false,
492
492
  "recorded": false,
493
- "size": 482161,
493
+ "size": 482412,
494
494
  "sizes": {
495
- "javascript": 481993,
495
+ "javascript": 482244,
496
496
  "consume-shared": 168
497
497
  },
498
498
  "names": [],
@@ -506,7 +506,7 @@
506
506
  "auxiliaryFiles": [
507
507
  "799.js.map"
508
508
  ],
509
- "hash": "49e78e6df13f8a3a",
509
+ "hash": "d45aa494f7825f6d",
510
510
  "childrenByOrder": {}
511
511
  },
512
512
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2529"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2539"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "5.2.2-pre.2529",
3
+ "version": "5.2.2-pre.2539",
4
4
  "description": "Appointments front-end module for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-appointments-app.js",
6
6
  "main": "src/index.ts",
@@ -1,4 +1,4 @@
1
- import { Type } from '@openmrs/esm-framework';
1
+ import { Type, validators } from '@openmrs/esm-framework';
2
2
  import { spaBasePath } from './constants';
3
3
 
4
4
  export const configSchema = {
@@ -68,9 +68,11 @@ export const configSchema = {
68
68
  },
69
69
  customPatientChartUrl: {
70
70
  _type: Type.String,
71
- _description:
72
- 'Template URL that will be used when clicking on the patient name in the appointment list. Available argument: patientUuid',
71
+ _description: `Template URL that will be used when clicking on the patient name in the queues table.
72
+ Available argument: patientUuid, openmrsSpaBase, openBase
73
+ (openmrsSpaBase and openBase are available to any <ConfigurableLink>)`,
73
74
  _default: '${openmrsSpaBase}/patient/${patientUuid}/chart',
75
+ _validators: [validators.isUrlWithTemplateParameters(['patientUuid'])],
74
76
  },
75
77
  patientIdentifierType: {
76
78
  _type: Type.String,