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

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": 4540409,
83
+ "size": 4540608,
84
84
  "sizes": {
85
85
  "consume-shared": 252,
86
- "javascript": 4519487,
86
+ "javascript": 4519686,
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": "87e85aa9b99f60b6",
103
+ "hash": "0c24efecd662965a",
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": 481962,
493
+ "size": 482161,
494
494
  "sizes": {
495
- "javascript": 481794,
495
+ "javascript": 481993,
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": "06147ac6909e4d2a",
509
+ "hash": "49e78e6df13f8a3a",
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.2521"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "5.2.2-pre.2521",
3
+ "version": "5.2.2-pre.2529",
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",
@@ -60,6 +60,7 @@ const CancelAppointment: React.FC<CancelAppointmentProps> = ({ appointment }) =>
60
60
  state={{
61
61
  patient,
62
62
  patientUuid: appointment.patientUuid,
63
+ hideActionsOverflow: true,
63
64
  }}
64
65
  />
65
66
  )}
@@ -157,7 +157,7 @@ const AppointmentForm: React.FC<AppointmentFormProps> = ({ appointment, patientU
157
157
  }, [currentAppointmentDate, patientAppointment, t]);
158
158
 
159
159
  return (
160
- <Form className={styles.form}>
160
+ <Form className={styles.form} onClick={(e) => e.preventDefault()}>
161
161
  <section>
162
162
  {isLoading ? (
163
163
  <div className={styles.loaderContainer}>
@@ -170,6 +170,7 @@ const AppointmentForm: React.FC<AppointmentFormProps> = ({ appointment, patientU
170
170
  state={{
171
171
  patient,
172
172
  patientUuid: patientAppointment.patientUuid,
173
+ hideActionsOverflow: false,
173
174
  }}
174
175
  />
175
176
  </div>
@@ -192,6 +192,7 @@ const VisitForm: React.FC<VisitFormProps> = ({ patientUuid, appointment }) => {
192
192
  state={{
193
193
  patient,
194
194
  patientUuid: appointment.patientUuid,
195
+ hideActionsOverflow: true,
195
196
  }}
196
197
  />
197
198
  )}