@openmrs/esm-appointments-app 9.2.1-pre.7387 → 9.2.1-pre.7408

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.
Files changed (274) hide show
  1. package/.turbo/turbo-build.log +6 -35
  2. package/dist/126.js +1 -0
  3. package/dist/1499.js +1 -0
  4. package/dist/1499.js.map +1 -0
  5. package/dist/15.js +1 -0
  6. package/dist/1522.js +1 -0
  7. package/dist/1522.js.map +1 -0
  8. package/dist/1564.js +1 -0
  9. package/dist/1567.js +1 -0
  10. package/dist/1777.js +1 -0
  11. package/dist/1777.js.map +1 -0
  12. package/dist/1845.js +1 -0
  13. package/dist/1899.js +1 -0
  14. package/dist/1899.js.map +1 -0
  15. package/dist/1953.js +1 -0
  16. package/dist/2104.js +1 -0
  17. package/dist/2104.js.map +1 -0
  18. package/dist/215.js +1 -0
  19. package/dist/2178.js +1 -0
  20. package/dist/2417.js +1 -0
  21. package/dist/2417.js.map +1 -0
  22. package/dist/2566.js +1 -0
  23. package/dist/2586.js +1 -0
  24. package/dist/2586.js.map +1 -0
  25. package/dist/2759.js +1 -0
  26. package/dist/276.js +1 -0
  27. package/dist/276.js.map +1 -0
  28. package/dist/3089.js +1 -0
  29. package/dist/3089.js.map +1 -0
  30. package/dist/3127.js +1 -0
  31. package/dist/3127.js.map +1 -0
  32. package/dist/3230.js +1 -0
  33. package/dist/3277.js +1 -0
  34. package/dist/3277.js.map +1 -0
  35. package/dist/3441.js +1 -0
  36. package/dist/3565.js +1 -0
  37. package/dist/3571.js +1 -0
  38. package/dist/3571.js.map +1 -0
  39. package/dist/3746.js +1 -0
  40. package/dist/3925.js +1 -0
  41. package/dist/3946.js +1 -0
  42. package/dist/4085.js +1 -0
  43. package/dist/4085.js.map +1 -0
  44. package/dist/4108.js +1 -0
  45. package/dist/4108.js.map +1 -0
  46. package/dist/4448.js +1 -0
  47. package/dist/4448.js.map +1 -0
  48. package/dist/4744.js +1 -0
  49. package/dist/4744.js.map +1 -0
  50. package/dist/4809.js +1 -0
  51. package/dist/486.js +1 -0
  52. package/dist/486.js.map +1 -0
  53. package/dist/4894.js +1 -0
  54. package/dist/4970.js +1 -0
  55. package/dist/4970.js.map +1 -0
  56. package/dist/5130.js +1 -0
  57. package/dist/5187.js +1 -0
  58. package/dist/5327.js +1 -0
  59. package/dist/5327.js.map +1 -0
  60. package/dist/5388.js +1 -0
  61. package/dist/5388.js.map +1 -0
  62. package/dist/5491.js +1 -0
  63. package/dist/5491.js.map +1 -0
  64. package/dist/5595.js +1 -0
  65. package/dist/5961.js +1 -0
  66. package/dist/6133.js +1 -0
  67. package/dist/634.js +1 -0
  68. package/dist/634.js.map +1 -0
  69. package/dist/6456.js +1 -0
  70. package/dist/6466.js +1 -0
  71. package/dist/6613.js +1 -0
  72. package/dist/6672.js +38 -0
  73. package/dist/6672.js.map +1 -0
  74. package/dist/6783.js +1 -0
  75. package/dist/703.js +1 -0
  76. package/dist/703.js.map +1 -0
  77. package/dist/7251.js +1 -0
  78. package/dist/7251.js.map +1 -0
  79. package/dist/7348.js +1 -0
  80. package/dist/7433.js +1 -0
  81. package/dist/7433.js.map +1 -0
  82. package/dist/7513.js +1 -0
  83. package/dist/7513.js.map +1 -0
  84. package/dist/7543.js +1 -0
  85. package/dist/7607.js +1 -0
  86. package/dist/772.js +1 -0
  87. package/dist/8139.js +1 -0
  88. package/dist/8139.js.map +1 -0
  89. package/dist/8456.js +1 -0
  90. package/dist/8456.js.map +1 -0
  91. package/dist/8588.js +1 -0
  92. package/dist/8588.js.map +1 -0
  93. package/dist/8599.js +1 -0
  94. package/dist/8727.js +1 -0
  95. package/dist/8847.js +1 -0
  96. package/dist/8919.js +1 -0
  97. package/dist/8919.js.map +1 -0
  98. package/dist/9015.js +1 -0
  99. package/dist/9051.js +1 -0
  100. package/dist/9051.js.map +1 -0
  101. package/dist/906.js +1 -0
  102. package/dist/9065.js +1 -0
  103. package/dist/9098.js +1 -0
  104. package/dist/9098.js.map +1 -0
  105. package/dist/9182.js +1 -0
  106. package/dist/9260.js +1 -0
  107. package/dist/9260.js.map +1 -0
  108. package/dist/9327.js +1 -0
  109. package/dist/9327.js.map +1 -0
  110. package/dist/9339.js +1 -0
  111. package/dist/9453.js +1 -0
  112. package/dist/9589.js +1 -0
  113. package/dist/9589.js.map +1 -0
  114. package/dist/9650.js +1 -0
  115. package/dist/9650.js.map +1 -0
  116. package/dist/9785.js +11 -0
  117. package/dist/9785.js.map +1 -0
  118. package/dist/9833.js +1 -0
  119. package/dist/9833.js.map +1 -0
  120. package/dist/9920.js +1 -0
  121. package/dist/9938.js +1 -0
  122. package/dist/9943.js +1 -0
  123. package/dist/9943.js.map +1 -0
  124. package/dist/main.js +5 -1
  125. package/dist/main.js.map +1 -1
  126. package/dist/openmrs-esm-appointments-app.js +5 -1
  127. package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +678 -679
  128. package/dist/openmrs-esm-appointments-app.js.map +1 -1
  129. package/dist/routes.json +1 -1
  130. package/package.json +6 -6
  131. package/rspack.config.js +1 -0
  132. package/src/appointments/common-components/appointments-table.component.tsx +2 -2
  133. package/src/appointments/unscheduled/unscheduled-appointments.component.tsx +2 -3
  134. package/src/index.ts +5 -4
  135. package/src/patient-appointments/patient-appointments-detailed-summary.extension.tsx +13 -8
  136. package/src/patient-appointments/patient-appointments-detailed-summary.test.tsx +1 -1
  137. package/src/patient-appointments/patient-appointments-table.component.tsx +2 -3
  138. package/src/patient-appointments/patient-upcoming-appointments-card.component.tsx +2 -3
  139. package/translations/en.json +0 -1
  140. package/dist/1119.js +0 -1
  141. package/dist/1197.js +0 -1
  142. package/dist/1431.js +0 -1
  143. package/dist/1431.js.map +0 -1
  144. package/dist/1559.js +0 -2
  145. package/dist/1559.js.LICENSE.txt +0 -3
  146. package/dist/1559.js.map +0 -1
  147. package/dist/2146.js +0 -1
  148. package/dist/2265.js +0 -1
  149. package/dist/2265.js.map +0 -1
  150. package/dist/2372.js +0 -1
  151. package/dist/2372.js.map +0 -1
  152. package/dist/2470.js +0 -1
  153. package/dist/2470.js.map +0 -1
  154. package/dist/2690.js +0 -1
  155. package/dist/2891.js +0 -1
  156. package/dist/2891.js.map +0 -1
  157. package/dist/2913.js +0 -2
  158. package/dist/2913.js.LICENSE.txt +0 -32
  159. package/dist/2913.js.map +0 -1
  160. package/dist/3099.js +0 -1
  161. package/dist/3144.js +0 -2
  162. package/dist/3144.js.LICENSE.txt +0 -19
  163. package/dist/3144.js.map +0 -1
  164. package/dist/3167.js +0 -1
  165. package/dist/3167.js.map +0 -1
  166. package/dist/3379.js +0 -1
  167. package/dist/3379.js.map +0 -1
  168. package/dist/3431.js +0 -1
  169. package/dist/3431.js.map +0 -1
  170. package/dist/3584.js +0 -1
  171. package/dist/3968.js +0 -1
  172. package/dist/3968.js.map +0 -1
  173. package/dist/4036.js +0 -1
  174. package/dist/4036.js.map +0 -1
  175. package/dist/4041.js +0 -2
  176. package/dist/4041.js.LICENSE.txt +0 -9
  177. package/dist/4041.js.map +0 -1
  178. package/dist/4055.js +0 -1
  179. package/dist/4132.js +0 -1
  180. package/dist/4300.js +0 -1
  181. package/dist/4335.js +0 -1
  182. package/dist/439.js +0 -1
  183. package/dist/449.js +0 -1
  184. package/dist/449.js.map +0 -1
  185. package/dist/4515.js +0 -1
  186. package/dist/4515.js.map +0 -1
  187. package/dist/4599.js +0 -1
  188. package/dist/4599.js.map +0 -1
  189. package/dist/4618.js +0 -1
  190. package/dist/4652.js +0 -1
  191. package/dist/4745.js +0 -1
  192. package/dist/4745.js.map +0 -1
  193. package/dist/4889.js +0 -1
  194. package/dist/4889.js.map +0 -1
  195. package/dist/4944.js +0 -1
  196. package/dist/5173.js +0 -1
  197. package/dist/5241.js +0 -1
  198. package/dist/525.js +0 -1
  199. package/dist/525.js.map +0 -1
  200. package/dist/5257.js +0 -2
  201. package/dist/5257.js.LICENSE.txt +0 -39
  202. package/dist/5257.js.map +0 -1
  203. package/dist/5442.js +0 -1
  204. package/dist/5661.js +0 -1
  205. package/dist/5666.js +0 -1
  206. package/dist/5666.js.map +0 -1
  207. package/dist/5670.js +0 -1
  208. package/dist/5670.js.map +0 -1
  209. package/dist/5755.js +0 -1
  210. package/dist/5755.js.map +0 -1
  211. package/dist/592.js +0 -1
  212. package/dist/592.js.map +0 -1
  213. package/dist/6022.js +0 -1
  214. package/dist/6112.js +0 -1
  215. package/dist/6112.js.map +0 -1
  216. package/dist/6336.js +0 -1
  217. package/dist/6336.js.map +0 -1
  218. package/dist/6467.js +0 -1
  219. package/dist/6467.js.map +0 -1
  220. package/dist/6468.js +0 -1
  221. package/dist/6589.js +0 -1
  222. package/dist/66.js +0 -2
  223. package/dist/66.js.LICENSE.txt +0 -9
  224. package/dist/66.js.map +0 -1
  225. package/dist/6679.js +0 -1
  226. package/dist/6840.js +0 -1
  227. package/dist/6859.js +0 -1
  228. package/dist/6886.js +0 -1
  229. package/dist/6886.js.map +0 -1
  230. package/dist/6931.js +0 -1
  231. package/dist/6931.js.map +0 -1
  232. package/dist/7097.js +0 -1
  233. package/dist/7159.js +0 -1
  234. package/dist/723.js +0 -1
  235. package/dist/7294.js +0 -1
  236. package/dist/7294.js.map +0 -1
  237. package/dist/7495.js +0 -2
  238. package/dist/7495.js.LICENSE.txt +0 -9
  239. package/dist/7495.js.map +0 -1
  240. package/dist/7617.js +0 -1
  241. package/dist/7638.js +0 -1
  242. package/dist/7638.js.map +0 -1
  243. package/dist/795.js +0 -1
  244. package/dist/8163.js +0 -1
  245. package/dist/8349.js +0 -1
  246. package/dist/8371.js +0 -1
  247. package/dist/849.js +0 -1
  248. package/dist/849.js.map +0 -1
  249. package/dist/8600.js +0 -2
  250. package/dist/8600.js.LICENSE.txt +0 -29
  251. package/dist/8600.js.map +0 -1
  252. package/dist/8618.js +0 -1
  253. package/dist/8784.js +0 -1
  254. package/dist/8784.js.map +0 -1
  255. package/dist/89.js +0 -2
  256. package/dist/89.js.LICENSE.txt +0 -9
  257. package/dist/89.js.map +0 -1
  258. package/dist/890.js +0 -1
  259. package/dist/9214.js +0 -1
  260. package/dist/9538.js +0 -1
  261. package/dist/9569.js +0 -1
  262. package/dist/9712.js +0 -1
  263. package/dist/9712.js.map +0 -1
  264. package/dist/986.js +0 -1
  265. package/dist/9876.js +0 -1
  266. package/dist/9876.js.map +0 -1
  267. package/dist/9879.js +0 -1
  268. package/dist/9895.js +0 -1
  269. package/dist/9900.js +0 -1
  270. package/dist/9913.js +0 -1
  271. package/src/empty-state/empty-data-illustration.component.tsx +0 -39
  272. package/src/empty-state/empty-state.component.tsx +0 -32
  273. package/src/empty-state/empty-state.scss +0 -69
  274. package/webpack.config.js +0 -1
package/dist/8618.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[8618],{88618:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
package/dist/8784.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[8784],{68784:(e,a,r)=>{r.r(a),r.d(a,{default:()=>l});var t=r(1343),s=r.n(t),o=r(8050),n=r(72339),p=r(84850),i=r(54440),d=r(77415);function l(){var e=(0,n.useTranslation)().t,a=(0,p._I)().totalProviders,r=(0,d.nS)().selectedDate,t=(0,i.formatDate)((0,i.parseDate)(r),{mode:"standard",time:!1});return s().createElement(o.A,{headerLabel:e("providersBooked","Providers booked: {{time}}",{time:t}),label:e("providers","Providers"),value:a})}}}]);
package/dist/8784.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"8784.js","mappings":"sQAOe,SAASA,IACtB,IAAM,GAAQC,EAAAA,EAAAA,kBAANC,EACF,GAAqBC,EAAAA,EAAAA,MAAnBC,eACF,GAAmBC,EAAAA,EAAAA,MAAjBC,aACFC,GAAqBC,EAAAA,EAAAA,aAAWC,EAAAA,EAAAA,WAAUH,GAAe,CAAEI,KAAM,WAAYC,MAAM,IAEzF,OACE,kBAACC,EAAAA,EAAWA,CACVC,YAAaX,EAAE,kBAAmB,6BAA8B,CAAES,KAAMJ,IACxEO,MAAOZ,EAAE,YAAa,aACtBa,MAAOX,GAGb,C","sources":["webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-cards/providers-booked.extension.tsx"],"names":["ProvidersBookedExtension","useTranslation","t","useAllAppointmentsByDate","totalProviders","useAppointmentsStore","selectedDate","formattedStartDate","formatDate","parseDate","mode","time","MetricsCard","headerLabel","label","value"],"sourceRoot":""}
package/dist/89.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 89.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[89,2470],{52470:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E,infinite:()=>f,unstable_serialize:()=>l});var r=n(1343),i=n(58139),a=n(55434);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),u={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});const o=(0,a.withArgs)((e,t,n)=>{const{cache:o,compare:d,suspense:l,fallbackData:c,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:p,refreshWhenOffline:h,keepPreviousData:v}=n,[_,U,m,R]=a.SWRGlobalState.get(o),[S,b]=(0,a.serialize)(e),C=(0,r.useRef)(!1),y=(0,r.useRef)(!1),I=(0,r.useRef)(S),T=(0,r.useRef)(t),V=(0,r.useRef)(n),w=()=>V.current,k=()=>w().isVisible()&&w().isOnline(),[L,N,D,F]=(0,a.createCacheHelper)(o,S),O=(0,r.useRef)({}).current,A=(0,a.isUndefined)(c)?n.fallback[S]:c,P=(e,t)=>{for(const n in O){const r=n;if("data"===r){if(!d(e[r],t[r])){if(!(0,a.isUndefined)(e[r]))return!1;if(!d(Y,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},z=(0,r.useMemo)(()=>{const e=!!S&&!!t&&((0,a.isUndefined)(f)?!w().isPaused()&&!l&&(!!(0,a.isUndefined)(E)||E):f),n=t=>{const n=(0,a.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=L(),i=F(),s=n(r),u=r===i?s:n(i);let o=s;return[()=>{const e=n(L());return P(e,o)?(o.data=e.data,o.isLoading=e.isLoading,o.isValidating=e.isValidating,o.error=e.error,o):(o=e,e)},()=>u]},[o,S]),H=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>D(S,(t,n)=>{P(n,t)||e()}),[o,S]),z[0],z[1]),x=!C.current,M=_[S]&&_[S].length>0,j=H.data,W=(0,a.isUndefined)(j)?A:j,G=H.error,X=(0,r.useRef)(W),Y=v?(0,a.isUndefined)(j)?X.current:j:W,q=!(M&&!(0,a.isUndefined)(G))&&(x&&!(0,a.isUndefined)(f)?f:!w().isPaused()&&(l?!(0,a.isUndefined)(W)&&E:(0,a.isUndefined)(W)||E)),B=!!(S&&t&&x&&q),J=(0,a.isUndefined)(H.isValidating)?B:H.isValidating,K=(0,a.isUndefined)(H.isLoading)?B:H.isLoading,Q=(0,r.useCallback)(async e=>{const t=T.current;if(!S||!t||y.current||w().isPaused())return!1;let r,i,s=!0;const u=e||{},o=!m[S]||!u.dedupe,l=()=>a.IS_REACT_LEGACY?!y.current&&S===I.current&&C.current:S===I.current,c={isValidating:!1,isLoading:!1},f=()=>{N(c)},E=()=>{const e=m[S];e&&e[1]===i&&delete m[S]},g={isValidating:!0};(0,a.isUndefined)(L().data)&&(g.isLoading=!0);try{if(o&&(N(g),n.loadingTimeout&&(0,a.isUndefined)(L().data)&&setTimeout(()=>{s&&l()&&w().onLoadingSlow(S,n)},n.loadingTimeout),m[S]=[t(b),(0,a.getTimestamp)()]),[r,i]=m[S],r=await r,o&&setTimeout(E,n.dedupingInterval),!m[S]||m[S][1]!==i)return o&&l()&&w().onDiscarded(S),!1;c.error=a.UNDEFINED;const e=U[S];if(!(0,a.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),o&&l()&&w().onDiscarded(S),!1;const u=L().data;c.data=d(u,r)?u:r,o&&l()&&w().onSuccess(r,S,n)}catch(e){E();const t=w(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,o&&l()&&(t.onError(e,S,t),(!0===n||(0,a.isFunction)(n)&&n(e))&&(w().revalidateOnFocus&&w().revalidateOnReconnect&&!k()||t.onErrorRetry(e,S,t,e=>{const t=_[S];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0}))))}return s=!1,f(),!0},[S,o]),Z=(0,r.useCallback)((...e)=>(0,a.internalMutate)(o,I.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{T.current=t,V.current=n,(0,a.isUndefined)(j)||(X.current=j)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!S)return;const e=Q.bind(a.UNDEFINED,u);let t=0;const n=(0,a.subscribeCallback)(S,_,(n,r={})=>{if(n==a.revalidateEvents.FOCUS_EVENT){const n=Date.now();w().revalidateOnFocus&&n>t&&k()&&(t=n+w().focusThrottleInterval,e())}else if(n==a.revalidateEvents.RECONNECT_EVENT)w().revalidateOnReconnect&&k()&&e();else{if(n==a.revalidateEvents.MUTATE_EVENT)return Q();if(n==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return Q(r)}});return y.current=!1,I.current=S,C.current=!0,N({_k:b}),q&&((0,a.isUndefined)(W)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{y.current=!0,n()}},[S]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){const t=(0,a.isFunction)(g)?g(L().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){L().error||!p&&!w().isVisible()||!h&&!w().isOnline()?t():Q(u).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[g,p,h,S]),(0,r.useDebugValue)(Y),l&&(0,a.isUndefined)(W)&&S){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");T.current=t,V.current=n,y.current=!1;const e=R[S];if(!(0,a.isUndefined)(e)){const t=Z(e);s(t)}if(!(0,a.isUndefined)(G))throw G;{const e=Q(u);(0,a.isUndefined)(Y)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:Z,get data(){return O.data=!0,Y},get error(){return O.error=!0,G},get isValidating(){return O.isValidating=!0,J},get isLoading(){return O.isLoading=!0,K}}}),d=e=>(0,a.serialize)(e?e(0,null):null)[0],l=e=>a.INFINITE_PREFIX+d(e),c=Promise.resolve(),f=e=>(t,n,s)=>{const u=(0,r.useRef)(!1),{cache:o,initialSize:l=1,revalidateAll:f=!1,persistSize:E=!1,revalidateFirstPage:g=!0,revalidateOnMount:p=!1,parallel:h=!1}=s,[,,,v]=a.SWRGlobalState.get(a.cache);let _;try{_=d(t),_&&(_=a.INFINITE_PREFIX+_)}catch(e){}const[U,m,R]=(0,a.createCacheHelper)(o,_),S=(0,r.useCallback)(()=>(0,a.isUndefined)(U()._l)?l:U()._l,[o,_,l]);(0,i.useSyncExternalStore)((0,r.useCallback)(e=>_?R(_,()=>{e()}):()=>{},[o,_]),S,S);const b=(0,r.useCallback)(()=>{const e=U()._l;return(0,a.isUndefined)(e)?l:e},[_,l]),C=(0,r.useRef)(b());(0,a.useIsomorphicLayoutEffect)(()=>{u.current?_&&m({_l:E?C.current:b()}):u.current=!0},[_,o]);const y=p&&!u.current,I=e(_,async e=>{const r=U()._i,i=U()._r;m({_r:a.UNDEFINED});const u=[],d=b(),[l]=(0,a.createCacheHelper)(o,e),c=l().data,E=[];let p=null;for(let e=0;e<d;++e){const[d,l]=(0,a.serialize)(t(e,h?null:p));if(!d)break;const[_,U]=(0,a.createCacheHelper)(o,d);let m=_().data;const R=f||r||(0,a.isUndefined)(m)||g&&!e&&!(0,a.isUndefined)(c)||y||c&&!(0,a.isUndefined)(c[e])&&!s.compare(c[e],m);if(n&&("function"==typeof i?i(m,l):R)){const t=async()=>{if(d in v){const e=v[d];delete v[d],m=await e}else m=await n(l);U({data:m,_k:l}),u[e]=m};h?E.push(t):await t()}else u[e]=m;h||(p=m)}return h&&await Promise.all(E.map(e=>e())),m({_i:a.UNDEFINED}),u},s),T=(0,r.useCallback)(function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==n.revalidate;return _?(r&&((0,a.isUndefined)(e)?m({_i:!0,_r:n.revalidate}):m({_i:!1,_r:n.revalidate})),arguments.length?I.mutate(e,{...n,revalidate:r}):I.mutate()):c},[_,o]),V=(0,r.useCallback)(e=>{if(!_)return c;const[,n]=(0,a.createCacheHelper)(o,_);let r;if((0,a.isFunction)(e)?r=e(b()):"number"==typeof e&&(r=e),"number"!=typeof r)return c;n({_l:r}),C.current=r;const i=[],[s]=(0,a.createCacheHelper)(o,_);let u=null;for(let e=0;e<r;++e){const[n]=(0,a.serialize)(t(e,u)),[r]=(0,a.createCacheHelper)(o,n),d=n?r().data:a.UNDEFINED;if((0,a.isUndefined)(d))return T(s().data);i.push(d),u=d}return T(i)},[_,o,T,b]);return{size:b(),setSize:V,mutate:T,get data(){return I.data},get error(){return I.error},get isValidating(){return I.isValidating},get isLoading(){return I.isLoading}}},E=(0,a.withMiddleware)(o,f)},58139:(e,t,n)=>{e.exports=n(93296)},93296:(e,t,n)=>{var r=n(1343),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,s=r.useEffect,u=r.useLayoutEffect,o=r.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return u(function(){i.value=n,i.getSnapshot=t,d(i)&&l({inst:i})},[e,n,t]),s(function(){return d(i)&&l({inst:i}),e(function(){d(i)&&l({inst:i})})},[e]),o(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l}}]);
@@ -1,9 +0,0 @@
1
- /**
2
- * @license React
3
- * use-sync-external-store-shim.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
package/dist/89.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"89.js","mappings":";wQAMA,MAAMA,EAAM,OAAoB,CAAEC,IAC9B,GAAuB,YAAnBA,EAAQC,OACR,MAAMD,EACH,GAAuB,cAAnBA,EAAQC,OACf,OAAOD,EAAQE,MACZ,KAAuB,aAAnBF,EAAQC,OACTD,EAAQG,QAEdH,EAAQC,OAAS,UACjBD,EAAQI,KAAMC,IACVL,EAAQC,OAAS,YACjBD,EAAQE,MAAQG,GAChBC,IACAN,EAAQC,OAAS,WACjBD,EAAQG,OAASG,IAEfN,EAEb,GACKO,EAAc,CAChBC,QAAQ,GA6eZ,EAAAC,OAAOC,eAAe,EAAAC,UAAW,eAAgB,CAC7CT,MAAO,EA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8J,EAAuBC,IAASS,EAAY,CAAET,KAAMA,GACtD,EACA,CAACO,EAAWjO,EAAO2D,IAErB4J,EACE,WAEE,OADAE,EAAuBC,IAASS,EAAY,CAAET,KAAMA,IAC7CO,EAAU,WACfR,EAAuBC,IAASS,EAAY,CAAET,KAAMA,GACtD,EACF,EACA,CAACO,IAEH3E,EAActJ,GACPA,CACT,EAoBA+M,EAAQhI,0BACN,IAAWiI,EAAMjI,qBAAuBiI,EAAMjI,qBAAuB8I,C","sources":["webpack://@openmrs/esm-appointments-app/../../node_modules/swr/dist/infinite/index.mjs","webpack://@openmrs/esm-appointments-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-appointments-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"names":["use","promise","status","value","reason","then","v","e","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","getSnapshot","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","useDebugValue","Error","req","mutate","getFirstPageKey","getKey","unstable_serialize","INFINITE_PREFIX","EMPTY_PROMISE","Promise","resolve","infinite","useSWRNext","fn","didMountRef","cache$1","initialSize","revalidateAll","persistSize","revalidateFirstPage","parallel","infiniteKey","set","_l","resolvePageSize","cachedPageSize","lastPageSizeRef","shouldRevalidateOnMount","swr","forceRevalidateAll","_i","shouldRevalidatePage","_r","pageSize","previousPageData","i","pageKey","pageArg","getSWRCache","setSWRCache","pageData","shouldFetchPage","push","all","map","r","options","shouldRevalidate","arguments","setSize","arg","changeSize","size","getInfiniteCache","useSWRInfinite","withMiddleware","module","exports","React","objectIs","Object","is","x","y","useState","useEffect","useLayoutEffect","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","shim","window","document","createElement","subscribe","_useState","forceUpdate"],"sourceRoot":""}
package/dist/890.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[890],{70890:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
package/dist/9214.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9214],{79214:n=>{n.exports=JSON.parse('{"action":"Hành động","actions":"Hành động","add":"Thêm","age":"Tuổi","allDay":"Tất cả các ngày","appointment":"Appointment","appointmentCancelError":"Lỗi khi hủy cuộc hẹn","appointmentCancelled":"Cuộc hẹn dã hủy","appointmentCancelledSuccessfully":"Hủy cuộc hẹn thành công","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Xung đột cuộc hẹn","appointmentDate":"Appointment date","appointmentEdited":"Cuộc hẹn đã được chỉnh sửa","appointmentEditError":"Lỗi khi chỉnh sửa cuộc hẹn","appointmentEnded":"Cuộc hẹn Đã kết thúc","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Cuộc hẹn đã kết thúc, nhưng lỗi đóng lượt khám","appointmentEndedSuccessfully":"Cuộc hẹn đã kết thúc thành công.","appointmentEndError":"Lỗi khi kết thúc cuộc hẹn","appointmentFormError":"Lỗi khi lên lịch hẹn","appointmentHistory":"Lịch sử cuộc hẹn","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Viết thêm một ghi chú","appointmentNotePlaceholder":"Viết thêm bất kỳ điểm nào ở đây","appointmentNotes":"Ghi chú cuộc hẹn","appointmentNowVisible":"Bây giờ nó có thể nhìn thấy trên trang Cuộc hẹn","appointments":"Cuộc hẹn","Appointments":"Cuộc hẹn","appointments_lower":"cuộc hẹn","appointmentsCalendar":"Lịch hẹn","appointmentScheduled":"Đã lên lịch hẹn","appointmentsScheduledForToday":"cuộc hẹn đã lên lịch cho hôm nay","appointmentsTable":"Bàn hẹn","appointmentStatus":"Trạng thái cuộc hẹn","appointmentToFulfill":"Chọn cuộc hẹn để thực hiện","appointmentType":"Loại cuộc hẹn","appointmentType_title":"Loại cuộc hẹn","back":"Quay lại","calendar":"Lịch","cameEarly":"Đến sớm","cancel":"Hủy","cancelAppointment":"Hủy cuộc hẹn","cancelAppointmentModalConfirmationText":"Bạn có chắc chắn muốn hủy cuộc hẹn này không?","cancelled":"Đã hủy","checkedIn":"Đã kiểm tra","checkedOut":"Đã trả phòng","checkFilters":"Kiểm tra các bộ lọc ở trên","checkIn":"Đăng ký vào","checkOut":"Đăng ký ra","chooseAppointmentType":"Chọn loại cuộc hẹn","chooseLocation":"Chọn một vị trí","chooseProvider":"Chọn một nhà cung cấp","chooseService":"Chọn dịch vụ","completed":"Hoàn thành","Contact":"Liên hệ {{index}}","countMore_one":"{{count}} nữa","countMore_other":"{{count}} nữa","createNewAppointment":"Tạo cuộc hẹn mới","date":"Ngày","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Ngày cấp giấy hẹn không được sau ngày hẹn","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Ngày sinh","dateRange":"Set date range","dateTime":"Ngày & giờ","day":"Ngày","daysOfWeek":"Các ngày trong tuần","discard":"bỏ đi","download":"Tải xuống","durationErrorMessage":"Thời lượng phải lớn hơn 0","durationInMinutes":"Thời lượng (phút)","edit":"Chỉnh sửa","editAppointment":"Edit appointment","emptyStateText":"Không có 1{{displayText}}1 để hiển thị","endAppointmentAndVisitConfirmationMessage":"Việc kiểm tra bệnh nhân sẽ đánh dấu cuộc hẹn đã hoàn tất và kết thúc chuyến thăm khám đang diễn ra của bệnh nhân này.","endAppointmentConfirmation":"Bạn có chắc chắn muốn cho bệnh nhân ra ngoài cuộc hẹn này không?","endAppointmentConfirmationMessage":"Việc trả phòng cho bệnh nhân sẽ đánh dấu cuộc hẹn đã hoàn tất.","expected":"Kỳ vọng","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Bảng lọc","FRI":"FRI","gender":"Giới tính","highestServiceVolume":"Dịch vụ có khối lượng cao nhất: {{hour}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Số không hợp lệ","isRecurringAppointment":"Đây có phải là cuộc hẹn định kỳ không?","itemsPerPage":"Số mục trên mỗi trang","loading":"Đang tải","location":"Vị trí","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Bỏ lỡ","MON":"MON","next":"Kế tiếp","nextMonth":"Tháng tới","nextPage":"Trang tiếp theo","no":"Số","noAppointmentsToDisplay":"Không có cuộc hẹn nào để hiển thị","noContent":"Không có nội dung","noCurrentAppointments":"Không có cuộc hẹn nào được lên lịch cho hôm nay để hiển thị cho bệnh nhân này","noMatchingAppointments":"No matching appointments found","noPastAppointments":"Không có cuộc hẹn nào trước đây để hiển thị cho bệnh nhân này","notArrived":"Không đến","note":"Ghi chú","notes":"Ghi chú","noUpcomingAppointments":"Không tìm thấy cuộc hẹn sắp tới","noUpcomingAppointmentsForPatient":"Không có cuộc hẹn sắp tới nào để hiển thị cho bệnh nhân này","pageNumber":"Số trang","past":"Quá khứ","patientDetails":"Chi tiết bệnh nhân","patientDoubleBooking":"Bệnh nhân đã đặt lịch hẹn vào thời điểm này","patientName":"Tên bệnh nhân","patients":"Bệnh nhân","period":"Giai đoan","prev":"Trước đó","previousMonth":"Tháng trước","previousPage":"Trang trước","provider":"Nhà cung cấp","providers":"Nhà cung cấp","providersBooked":"Nhà cung cấp đã đặt: {{time}}","recurringAppointment":"Cuộc hẹn định kỳ","recurringAppointmentShouldHaveEndDate":"Một cuộc hẹn định kỳ phải có ngày kết thúc","repeatEvery":"Lặp lại mỗi","SAT":"SAT","saveAndClose":"Lưu và đóng","scheduled":"Đã lên lịch","scheduledAppointments":"Cuộc hẹn đã lên lịch","scheduledForToday":"Đã lên lịch cho hôm nay","selectALocation":"Lựa chọn vị trí","selectAppointmentStatus":"Chọn trạng thái","selectAppointmentType":"Chọn một loại cuộc hẹn","selectOption":"Chọn một tùy chọn","selectProvider":"Chọn một nhà cung cấp","selectService":"Chọn một dịch vụ","service":"Dịch vụ","serviceName":"Tên dịch vụ","serviceType":"Service type","serviceUnavailable":"Thời gian hẹn là ngoài giờ làm việc","status":"Trạng thái","SUN":"SUN","THUR":"THUR","time":"Thời gian","today":"Hôm nay","todays":"Hôm nay","TUE":"TUE","type":"Loại","unknownError":"An unknown error occurred","unscheduled":"Không theo lịch trình","unscheduledAppointments":"Cuộc hẹn không theo lịch trình","unscheduledAppointments_lower":"cuộc hẹn không theo lịch trình","upcoming":"Sắp tới","upcomingAppointments":"Cuộc hẹn sắp tới","updateError":"Error updating upcoming appointment","WED":"WED","week":"Tuần","yes":"Có"}')}}]);
package/dist/9538.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9538],{9538:e=>{e.exports=JSON.parse('{"action":"Azione","actions":"Azioni","add":"Aggiungi","age":"Età","allDay":"Tutto il giorno","appointment":"Appointment","appointmentCancelError":"Errore nell\'annullamento dell\'appuntamento","appointmentCancelled":"Appuntamento annullato","appointmentCancelledSuccessfully":"Appuntamento annullato con successo","appointmentCheckedIn":"Paziente registrato all\'appuntamento","appointmentConflict":"Conflitto di appuntamenti","appointmentDate":"Appointment date","appointmentEdited":"Appuntamento modificato","appointmentEditError":"Errore nella modifica dell\'appuntamento","appointmentEnded":"Appuntamento concluso","appointmentEndedAndVisitClosedSuccessfully":"Appuntamento concluso e visita chiusa con successo","appointmentEndedButVisitNotClosedError":"Appuntamento concluso, ma errore nella chiusura della visita","appointmentEndedSuccessfully":"Appuntamento concluso con successo","appointmentEndError":"Errore nella conclusione dell\'appuntamento","appointmentFormError":"Errore nella programmazione dell\'appuntamento","appointmentHistory":"Storico appuntamenti","appointmentMarkedChecked":"Appuntamento contrassegnato come registrato","appointmentNoteLabel":"Scrivi una nota aggiuntiva","appointmentNotePlaceholder":"Inserisci eventuali informazioni aggiuntive qui","appointmentNotes":"Note appuntamento","appointmentNowVisible":"Ora è visibile nella pagina degli appuntamenti","appointments":"Appuntamenti","Appointments":"Appuntamenti","appointments_lower":"appuntamenti","appointmentsCalendar":"Calendario appuntamenti","appointmentScheduled":"Appuntamento programmato","appointmentsScheduledForToday":"Appuntamenti programmati per oggi","appointmentsTable":"Tabella appuntamenti","appointmentStatus":"Stato appuntamento","appointmentToFulfill":"Seleziona un appuntamento da completare","appointmentType":"Tipologia appuntamento","appointmentType_title":"Tipologia appuntamento","back":"Indietro","calendar":"Calendario","cameEarly":"Arrivato in anticipo","cancel":"Annulla","cancelAppointment":"Annulla appuntamento","cancelAppointmentModalConfirmationText":"Sei sicuro di voler annullare questo appuntamento?","cancelled":"Annullato","checkedIn":"Entrato","checkedOut":"Uscito","checkFilters":"Verifica i filtri sopra","checkIn":"Registrazione ingresso","checkOut":"Registrazione uscita","chooseAppointmentType":"Scegli il tipo di appuntamento","chooseLocation":"Scegli una sede","chooseProvider":"Scegli un operatore","chooseService":"Seleziona un servizio","completed":"Completato","Contact":"Contatto {{index}}","countMore_one":"{{count}} in più","countMore_other":"{{count}} in più","createNewAppointment":"Crea nuovo appuntamento","date":"Data","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"La data di emissione dell\'appuntamento non può essere successiva alla data dell\'appuntamento","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Data di nascita","dateRange":"Imposta intervallo di date","dateTime":"Data e ora","day":"Giorno","daysOfWeek":"Giorni della settimana","discard":"Scarta","download":"Scarica","durationErrorMessage":"La durata deve essere maggiore di zero","durationInMinutes":"Durata (minuti)","edit":"Modifica","editAppointment":"Modifica appuntamento","emptyStateText":"Non ci sono <1>{{displayText}}</1> da mostrare","endAppointmentAndVisitConfirmationMessage":"Chiudere l\'appuntamento segnerà la visita come completata e chiuderà la cartella clinica del paziente.","endAppointmentConfirmation":"Sei sicuro di voler chiudere l\'appuntamento per questo paziente?","endAppointmentConfirmationMessage":"Chiudendo l\'appuntamento, verrà segnato come completato.","expected":"Previsto","failedToLoadMetrics":"Caricamento non riuscito","filterAppointments":"Filtra appuntamenti","filterAppointmentsByServiceType":"Filtra appuntamenti per tipo di servizio","filterTable":"Filtra tabella","FRI":"VEN","gender":"Sesso","highestServiceVolume":"Servizio con maggior volume: {{time}}","highestServiceVolumeCardTitle":"Servizio con maggior volume","identifier":"Identifier","invalidNumber":"Numero non valido","isRecurringAppointment":"È un appuntamento ricorrente?","itemsPerPage":"Elementi per pagina","loading":"Caricamento...","location":"Sede","metricLoadErrorMessage":"Contatta l\'amministratore di sistema se il problema persiste.","missed":"Mancato","MON":"LUN","next":"Avanti","nextMonth":"Mese successivo","nextPage":"Pagina successiva","no":"No","noAppointmentsToDisplay":"Nessun appuntamento da mostrare","noContent":"Nessun contenuto","noCurrentAppointments":"Nessun appuntamento programmato per oggi per questo paziente","noMatchingAppointments":"Nessun appuntamento corrispondente trovato","noPastAppointments":"Nessun appuntamento passato da mostrare per questo paziente","notArrived":"Non arrivato","note":"Nota","notes":"Note","noUpcomingAppointments":"Nessun appuntamento futuro trovato","noUpcomingAppointmentsForPatient":"Nessun appuntamento futuro da mostrare per questo paziente","pageNumber":"Numero pagina","past":"Passato","patientDetails":"Dettagli paziente","patientDoubleBooking":"Il paziente ha già un appuntamento in questo orario","patientName":"Nome paziente","patients":"Pazienti","period":"Periodo","prev":"Precedente","previousMonth":"Mese precedente","previousPage":"Pagina precedente","provider":"Personale sanitario","providers":"Operatori","providersBooked":"Operatori prenotati: {{time}}","recurringAppointment":"Appuntamento ricorrente","recurringAppointmentShouldHaveEndDate":"Un appuntamento ricorrente deve avere una data di fine","repeatEvery":"Ripeti ogni","SAT":"SAB","saveAndClose":"Salva e chiudi","scheduled":"Programmato","scheduledAppointments":"Appuntamenti programmati","scheduledForToday":"Programmato per oggi","selectALocation":"Seleziona una sede","selectAppointmentStatus":"Seleziona stato","selectAppointmentType":"Seleziona un tipo di appuntamento","selectOption":"Seleziona un\'opzione","selectProvider":"Seleziona un operatore","selectService":"Seleziona un servizio","service":"Servizio","serviceName":"Nome del servizio","serviceType":"Service type","serviceUnavailable":"L\'orario dell\'appuntamento è al di fuori degli orari di servizio","status":"Stato","SUN":"DOM","THUR":"GIOV","time":"Ora","today":"Oggi","todays":"Di oggi","TUE":"MAR","type":"Tipologia","unknownError":"Si è verificato un errore sconosciuto","unscheduled":"Non programmato","unscheduledAppointments":"Appuntamenti non programmati","unscheduledAppointments_lower":"appuntamenti non programmati","upcoming":"Prossimi","upcomingAppointments":"Prossimi appuntamenti","updateError":"Errore nell\'aggiornamento dell\'appuntamento futuro","WED":"MER","week":"Settimana","yes":"Sì"}')}}]);
package/dist/9569.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9569],{59569:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
package/dist/9712.js DELETED
@@ -1 +0,0 @@
1
- (globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9712],{19862:(t,e,n)=>{"use strict";n.d(e,{Fy:()=>y,KQ:()=>h,RA:()=>v,q4:()=>m,wQ:()=>b});var r=n(1343),o=n(23464),i=n.n(o),a=n(85602),s=n.n(a),u=n(71123),l=n(54440);function c(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){p(t,e,n[e])})}return t}i().extend(s());var f="".concat(l.restBaseUrl,"/appointment");function m(){var t=(0,u.iX)().mutate;return{mutateAppointments:(0,r.useCallback)(function(){return t(function(t){return"string"==typeof t&&t.startsWith(f)||Array.isArray(t)&&t[0].startsWith(f)})},[t])}}function h(){var t=(0,u.Ay)("".concat(l.restBaseUrl,"/appointmentService/all/full"),l.openmrsFetch),e=t.data,n=t.error,r=t.isLoading;return{data:e?e.data:null,error:n,isLoading:r}}function y(t,e){return(0,l.openmrsFetch)("".concat(l.restBaseUrl,"/appointment"),{method:"POST",signal:e.signal,headers:{"Content-Type":"application/json"},body:t})}function v(t,e){return(0,l.openmrsFetch)("".concat(l.restBaseUrl,"/recurring-appointments"),{method:"POST",signal:e.signal,headers:{"Content-Type":"application/json"},body:t})}"".concat(l.restBaseUrl,"/appointments/search");var b=function(t){return(e=function(){return function(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}(this,function(e){switch(e.label){case 0:return[4,(0,l.openmrsFetch)("".concat(l.restBaseUrl,"/appointments/conflicts"),{method:"POST",body:d({patientUuid:t.patientUuid,serviceUuid:t.serviceUuid,startDateTime:t.startDateTime,endDateTime:t.endDateTime,providers:[],locationUuid:t.locationUuid,appointmentKind:t.appointmentKind},t.uuid&&{uuid:t.uuid}),headers:{"Content-Type":"application/json"}})];case 1:return[2,e.sent()]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(t){c(i,r,o,a,s,"next",t)}function s(t){c(i,r,o,a,s,"throw",t)}a(void 0)})})();var e}},30493:(t,e,n)=>{"use strict";n.d(e,{D:()=>p,y:()=>d});var r=n(23464),o=n.n(r),i=n(71123),a=n(54440),s=n(85602),u=n.n(s);function l(t,e,n,r,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,o)}o().extend(u());var c="".concat(a.restBaseUrl,"/appointments/search");function p(t,e,n){var r,s,u,l,p,d,f,m=(0,i.Ay)(c,function(){return(0,a.openmrsFetch)(c,{method:"POST",signal:n.signal,headers:{"Content-Type":"application/json"},body:{patientUuid:t,startDate:e}})}),h=m.data,y=m.error,v=m.isLoading,b=m.isValidating,w=m.mutate,g=(null==h||null===(r=h.data)||void 0===r?void 0:r.length)?h.data:null,k=null==g||null===(u=g.sort(function(t,e){return e.startDateTime>t.startDateTime?1:-1}))||void 0===u||null===(s=u.filter(function(t){return"Cancelled"!==t.status}))||void 0===s?void 0:s.filter(function(t){var e=t.startDateTime;return o()(new Date(e).toISOString()).isBefore((new Date).setHours(0,0,0,0))}),T=null==g||null===(p=g.sort(function(t,e){return t.startDateTime>e.startDateTime?1:-1}))||void 0===p||null===(l=p.filter(function(t){return"Cancelled"!==t.status}))||void 0===l?void 0:l.filter(function(t){var e=t.startDateTime;return o()(new Date(e).toISOString()).isAfter(new Date)}),D=null==g||null===(f=g.sort(function(t,e){return t.startDateTime>e.startDateTime?1:-1}))||void 0===f||null===(d=f.filter(function(t){return"Cancelled"!==t.status}))||void 0===d?void 0:d.filter(function(t){var e=t.startDateTime;return o()(new Date(e).toISOString()).isToday()});return{data:h?{pastAppointments:k,upcomingAppointments:T,todaysAppointments:D}:null,error:y,isLoading:v,isValidating:b,mutate:w}}var d=function(t,e){return(n=function(){var n,r,i;return function(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}(this,function(s){switch(s.label){case 0:return n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=o()(new Date).format("YYYY-MM-DDTHH:mm:ss.SSSZZ"),i="".concat(a.restBaseUrl,"/appointments/").concat(e,"/status-change"),[4,(0,a.openmrsFetch)(i,{body:{toStatus:t,onDate:r,timeZone:n},method:"POST",headers:{"Content-Type":"application/json"}})];case 1:return[2,s.sent()]}})},function(){var t=this,e=arguments;return new Promise(function(r,o){var i=n.apply(t,e);function a(t){l(i,r,o,a,s,"next",t)}function s(t){l(i,r,o,a,s,"throw",t)}a(void 0)})})();var n}},79712:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(1343),o=n.n(r),i=n(72339),a=n(35257),s=n(54440),u=n(30493),l=n(19862);const c=function(t){var e=t.patientUuid,n=t.appointmentUuid,c=t.closeModal,p=(0,i.useTranslation)().t,d=(0,s.useVisit)(e),f=d.activeVisit,m=d.mutate,h=(0,l.q4)().mutateAppointments,y=(0,r.useCallback)(function(){(0,u.y)("Completed",n).then(function(){if(h(),f){var t=new AbortController,e={stopDatetime:new Date};return(0,s.updateVisit)(f.uuid,e,t).then(function(){(0,s.showSnackbar)({title:p("appointmentEnded","Appointment ended"),subtitle:p("appointmentEndedAndVisitClosedSuccessfully","Appointment successfully ended and visit successfully closed"),isLowContrast:!0,kind:"success"}),m()}).catch(function(t){(0,s.showSnackbar)({title:p("appointmentEndedButVisitNotClosedError","Appointment ended successfully, but there was an error closing the visit."),subtitle:null==t?void 0:t.message,kind:"error",isLowContrast:!0})})}(0,s.showSnackbar)({title:p("appointmentEnded","Appointment ended"),subtitle:p("appointmentEndedSuccessfully","Appointment successfully ended."),isLowContrast:!0,kind:"success"})}).catch(function(t){(0,s.showSnackbar)({title:p("appointmentEndError","Error ending appointment"),subtitle:null==t?void 0:t.message,kind:"error",isLowContrast:!0})}).finally(function(){c()})},[f,n,c,m,h,p]);return o().createElement(o().Fragment,null,o().createElement(a.rQ0,{closeModal:c,title:p("endAppointmentConfirmation","Are you sure you want to check the patient out for this appointment?")}),o().createElement(a.cwr,null,o().createElement("p",null,f?p("endAppointmentAndVisitConfirmationMessage","Checking the patient out will mark the appointment as complete and close out the active visit for this patient."):p("endAppointmentConfirmationMessage","Checking the patient out will mark the appointment as complete."))),o().createElement(a.jlY,null,o().createElement(a.$nd,{kind:"secondary",onClick:c},p("cancel","Cancel")),o().createElement(a.$nd,{kind:"danger",onClick:y},p("checkOut","Check out"))))}},85602:function(t){t.exports=function(){"use strict";return function(t,e,n){e.prototype.isToday=function(){var t="YYYY-MM-DD",e=n();return this.format(t)===e.format(t)}}}()}}]);
package/dist/9712.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"9712.js","mappings":"k1BAWAA,IAAAA,OAAaC,KAEb,IAAMC,EAAwB,GAAe,OAAZC,EAAAA,YAAY,gBAGtC,SAASC,IACd,IAAM,GAAaC,EAAAA,EAAAA,MAAXC,OAaR,MAAO,CACLC,oBAZyBC,EAAAA,EAAAA,aACzB,W,OACEF,EAAO,SAACG,GACN,MACkB,iBAARA,GAAoBA,EAAIC,WAAWR,IAC1CS,MAAMC,QAAQH,IAAQA,EAAI,GAAGC,WAAWR,EAE7C,E,EACF,CAACI,IAML,CAqDO,SAASO,IAC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AAOV,EAAE,mBAAoB,qBAC7BW,SAAUX,EACR,6CACA,gEAEFY,eAAe,EACfC,KAAM,YAER7E,GACF,GACC8E,MAAM,SAACnE,IACN8D,EAAAA,EAAAA,cAAa,CACXC,MAAOV,EACL,yCACA,6EAEFW,SAAUhE,aAAAA,EAAAA,EAAOoE,QACjBF,KAAM,QACND,eAAe,GAEnB,EACJ,EACEH,EAAAA,EAAAA,cAAa,CACXC,MAAOV,EAAE,mBAAoB,qBAC7BW,SAAUX,EAAE,+BAAgC,mCAC5CY,eAAe,EACfC,KAAM,WAGZ,GACCC,MAAM,SAACnE,IACN8D,EAAAA,EAAAA,cAAa,CACXC,MAAOV,EAAE,sBAAuB,4BAChCW,SAAUhE,aAAAA,EAAAA,EAAOoE,QACjBF,KAAM,QACND,eAAe,GAEnB,GACCI,QAAQ,WACPlB,GACF,EACJ,EAAG,CAACI,EAAab,EAAiBS,EAAY9D,EAAQC,EAAoB+D,IAE1E,OACE,oCACE,kBAACiB,EAAAA,IAAWA,CACVnB,WAAYA,EACZY,MAAOV,EAAE,6BAA8B,0EAEzC,kBAACkB,EAAAA,IAASA,KACR,kBAACC,IAAAA,KACEjB,EACGF,EACE,4CACA,mHAEFA,EAAE,oCAAqC,qEAG/C,kBAACoB,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACR,KAAK,YAAYS,QAASxB,GAC/BE,EAAE,SAAU,WAEf,kBAACqB,EAAAA,IAAMA,CAACR,KAAK,SAASS,QAASnB,GAC5BH,EAAE,WAAY,eAKzB,C,oBClGoEuB,EAAOC,QAAiJ,WAAY,aAAa,OAAO,SAASC,EAAEC,EAAE1B,GAAG0B,EAAEC,UAAUhG,QAAQ,WAAW,IAAI8F,EAAE,aAAaC,EAAE1B,IAAI,OAAO4B,KAAKhC,OAAO6B,KAAKC,EAAE9B,OAAO6B,EAAE,CAAC,CAAE,CAAvRC,E","sources":["webpack://@openmrs/esm-appointments-app/./src/form/appointments-form.resource.ts","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments.resource.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/common-components/end-appointment.modal.tsx","webpack://@openmrs/esm-appointments-app/../../node_modules/dayjs/plugin/isToday.js"],"names":["dayjs","isToday","appointmentUrlMatcher","restBaseUrl","useMutateAppointments","useSWRConfig","mutate","mutateAppointments","useCallback","key","startsWith","Array","isArray","useAppointmentService","useSWR","openmrsFetch","data","error","isLoading","saveAppointment","appointment","abortController","method","signal","headers","body","saveRecurringAppointments","recurringAppointments","checkAppointmentConflict","appointmentPayload","patientUuid","serviceUuid","startDateTime","endDateTime","providers","locationUuid","appointmentKind","uuid","appointmentsSearchUrl","usePatientAppointments","startDate","appointments","isValidating","length","pastAppointments","sort","a","b","filter","status","Date","toISOString","isBefore","setHours","upcomingAppointments","isAfter","todaysAppointments","changeAppointmentStatus","toStatus","appointmentUuid","timeZone","statusChangeTime","url","Intl","DateTimeFormat","resolvedOptions","format","onDate","closeModal","useTranslation","t","useVisit","activeVisit","handleEndAppointment","then","AbortController","endVisitPayload","stopDatetime","updateVisit","showSnackbar","title","subtitle","isLowContrast","kind","catch","message","finally","ModalHeader","ModalBody","p","ModalFooter","Button","onClick","module","exports","e","o","prototype","this"],"sourceRoot":""}
package/dist/986.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[986],{60986:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
package/dist/9876.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9876],{29876:(e,n,t)=>{t.r(n),t.d(n,{default:()=>l,immutable:()=>o});var r=t(1343),i=t(58139),s=t(55434);const a=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e)}),d={dedupe:!0};s.OBJECT.defineProperty(s.SWRConfig,"defaultValue",{value:s.defaultConfig});const u=(0,s.withArgs)((e,n,t)=>{const{cache:u,compare:o,suspense:l,fallbackData:c,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:R,refreshWhenOffline:p,keepPreviousData:h}=t,[v,U,m,T]=s.SWRGlobalState.get(u),[_,V]=(0,s.serialize)(e),b=(0,r.useRef)(!1),C=(0,r.useRef)(!1),S=(0,r.useRef)(_),L=(0,r.useRef)(n),O=(0,r.useRef)(t),I=()=>O.current,k=()=>I().isVisible()&&I().isOnline(),[w,D,y,A]=(0,s.createCacheHelper)(u,_),N=(0,r.useRef)({}).current,F=(0,s.isUndefined)(c)?t.fallback[_]:c,P=(e,n)=>{for(const t in N){const r=t;if("data"===r){if(!o(e[r],n[r])){if(!(0,s.isUndefined)(e[r]))return!1;if(!o(z,n[r]))return!1}}else if(n[r]!==e[r])return!1}return!0},M=(0,r.useMemo)(()=>{const e=!!_&&!!n&&((0,s.isUndefined)(f)?!I().isPaused()&&!l&&(!!(0,s.isUndefined)(E)||E):f),t=n=>{const t=(0,s.mergeObjects)(n);return delete t._k,e?{isValidating:!0,isLoading:!0,...t}:t},r=w(),i=A(),a=t(r),d=r===i?a:t(i);let u=a;return[()=>{const e=t(w());return P(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>d]},[u,_]),W=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>y(_,(n,t)=>{P(t,n)||e()}),[u,_]),M[0],M[1]),j=!b.current,G=v[_]&&v[_].length>0,H=W.data,Y=(0,s.isUndefined)(H)?F:H,q=W.error,x=(0,r.useRef)(Y),z=h?(0,s.isUndefined)(H)?x.current:H:Y,B=!(G&&!(0,s.isUndefined)(q))&&(j&&!(0,s.isUndefined)(f)?f:!I().isPaused()&&(l?!(0,s.isUndefined)(Y)&&E:(0,s.isUndefined)(Y)||E)),J=!!(_&&n&&j&&B),K=(0,s.isUndefined)(W.isValidating)?J:W.isValidating,Q=(0,s.isUndefined)(W.isLoading)?J:W.isLoading,X=(0,r.useCallback)(async e=>{const n=L.current;if(!_||!n||C.current||I().isPaused())return!1;let r,i,a=!0;const d=e||{},u=!m[_]||!d.dedupe,l=()=>s.IS_REACT_LEGACY?!C.current&&_===S.current&&b.current:_===S.current,c={isValidating:!1,isLoading:!1},f=()=>{D(c)},E=()=>{const e=m[_];e&&e[1]===i&&delete m[_]},g={isValidating:!0};(0,s.isUndefined)(w().data)&&(g.isLoading=!0);try{if(u&&(D(g),t.loadingTimeout&&(0,s.isUndefined)(w().data)&&setTimeout(()=>{a&&l()&&I().onLoadingSlow(_,t)},t.loadingTimeout),m[_]=[n(V),(0,s.getTimestamp)()]),[r,i]=m[_],r=await r,u&&setTimeout(E,t.dedupingInterval),!m[_]||m[_][1]!==i)return u&&l()&&I().onDiscarded(_),!1;c.error=s.UNDEFINED;const e=U[_];if(!(0,s.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),u&&l()&&I().onDiscarded(_),!1;const d=w().data;c.data=o(d,r)?d:r,u&&l()&&I().onSuccess(r,_,t)}catch(e){E();const n=I(),{shouldRetryOnError:t}=n;n.isPaused()||(c.error=e,u&&l()&&(n.onError(e,_,n),(!0===t||(0,s.isFunction)(t)&&t(e))&&(I().revalidateOnFocus&&I().revalidateOnReconnect&&!k()||n.onErrorRetry(e,_,n,e=>{const n=v[_];n&&n[0]&&n[0](s.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(d.retryCount||0)+1,dedupe:!0}))))}return a=!1,f(),!0},[_,u]),Z=(0,r.useCallback)((...e)=>(0,s.internalMutate)(u,S.current,...e),[]);if((0,s.useIsomorphicLayoutEffect)(()=>{L.current=n,O.current=t,(0,s.isUndefined)(H)||(x.current=H)}),(0,s.useIsomorphicLayoutEffect)(()=>{if(!_)return;const e=X.bind(s.UNDEFINED,d);let n=0;const t=(0,s.subscribeCallback)(_,v,(t,r={})=>{if(t==s.revalidateEvents.FOCUS_EVENT){const t=Date.now();I().revalidateOnFocus&&t>n&&k()&&(n=t+I().focusThrottleInterval,e())}else if(t==s.revalidateEvents.RECONNECT_EVENT)I().revalidateOnReconnect&&k()&&e();else{if(t==s.revalidateEvents.MUTATE_EVENT)return X();if(t==s.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(r)}});return C.current=!1,S.current=_,b.current=!0,D({_k:V}),B&&((0,s.isUndefined)(Y)||s.IS_SERVER?e():(0,s.rAF)(e)),()=>{C.current=!0,t()}},[_]),(0,s.useIsomorphicLayoutEffect)(()=>{let e;function n(){const n=(0,s.isFunction)(g)?g(w().data):g;n&&-1!==e&&(e=setTimeout(t,n))}function t(){w().error||!R&&!I().isVisible()||!p&&!I().isOnline()?n():X(d).then(n)}return n(),()=>{e&&(clearTimeout(e),e=-1)}},[g,R,p,_]),(0,r.useDebugValue)(z),l&&(0,s.isUndefined)(Y)&&_){if(!s.IS_REACT_LEGACY&&s.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");L.current=n,O.current=t,C.current=!1;const e=T[_];if(!(0,s.isUndefined)(e)){const n=Z(e);a(n)}if(!(0,s.isUndefined)(q))throw q;{const e=X(d);(0,s.isUndefined)(z)||(e.status="fulfilled",e.value=!0),a(e)}}return{mutate:Z,get data(){return N.data=!0,z},get error(){return N.error=!0,q},get isValidating(){return N.isValidating=!0,K},get isLoading(){return N.isLoading=!0,Q}}}),o=e=>(n,t,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(n,t,r)),l=(0,s.withMiddleware)(u,o)}}]);
package/dist/9876.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"9876.js","mappings":"6OAMA,MAAMA,EAAM,OAAoB,CAAEC,IAC9B,GAAuB,YAAnBA,EAAQC,OACR,MAAMD,EACH,GAAuB,cAAnBA,EAAQC,OACf,OAAOD,EAAQE,MACZ,KAAuB,aAAnBF,EAAQC,OACTD,EAAQG,QAEdH,EAAQC,OAAS,UACjBD,EAAQI,KAAMC,IACVL,EAAQC,OAAS,YACjBD,EAAQE,MAAQG,GAChBC,IACAN,EAAQC,OAAS,WACjBD,EAAQG,OAASG,IAEfN,EAEb,GACKO,EAAc,CAChBC,QAAQ,GA6eZ,EAAAC,OAAOC,eAAe,EAAAC,UAAW,eAAgB,CAC7CT,MAAO,EAAAU,gBAgBP,MAAMC,GAAS,IAAAC,UA5fG,CAACC,EAAMC,EAASC,KAClC,MAAM,MAAEC,EAAK,QAAEC,EAAO,SAAEC,EAAQ,aAAEC,EAAY,kBAAEC,EAAiB,kBAAEC,EAAiB,gBAAEC,EAAe,kBAAEC,EAAiB,mBAAEC,EAAkB,iBAAEC,GAAqBV,GAC5JW,EAAoBC,EAAUC,EAAOC,GAAW,EAAAC,eAAeC,IAAIf,IAKnEgB,EAAKC,IAAS,IAAAC,WAAUrB,GAEzBsB,GAAoB,IAAAC,SAAO,GAG3BC,GAAe,IAAAD,SAAO,GAEtBE,GAAS,IAAAF,QAAOJ,GAChBO,GAAa,IAAAH,QAAOtB,GACpB0B,GAAY,IAAAJ,QAAOrB,GACnB0B,EAAY,IAAID,EAAUE,QAC1BC,EAAW,IAAIF,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@openmrs/esm-appointments-app/../../node_modules/swr/dist/immutable/index.mjs"],"names":["use","promise","status","value","reason","then","v","e","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","getSnapshot","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","useDebugValue","Error","req","mutate","immutable","useSWRNext","useSWRImmutable","withMiddleware"],"sourceRoot":""}
package/dist/9879.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9879],{99879:e=>{e.exports=JSON.parse('{"action":"操作","actions":"操作","add":"添加","age":"年龄","allDay":"全天","appointment":"Appointment","appointmentCancelError":"取消预约时出现错误","appointmentCancelled":"预约已取消","appointmentCancelledSuccessfully":"预约已成功取消","appointmentCheckedIn":"预约已签到","appointmentConflict":"预约冲突","appointmentDate":"Appointment date","appointmentEdited":"预约已编辑","appointmentEditError":"编辑预约时出现错误","appointmentEnded":"预约已完成","appointmentEndedAndVisitClosedSuccessfully":"预约已成功结束,问诊已成功结束","appointmentEndedButVisitNotClosedError":"预约已结束,但关闭问诊时出错","appointmentEndedSuccessfully":"预约已成功结束","appointmentEndError":"结束预约时错误","appointmentFormError":"安排预约时出现错误","appointmentHistory":"预约历史","appointmentMarkedChecked":"预约标记为已签到","appointmentNoteLabel":"输入附加备注","appointmentNotePlaceholder":"在这里输入任何额外的要点备注","appointmentNotes":"预约备注","appointmentNowVisible":"现在在预约页面上可见","appointments":"预约","Appointments":"预约","appointments_lower":"预约","appointmentsCalendar":"预约日历","appointmentScheduled":"预约已安排","appointmentsScheduledForToday":"今日预约","appointmentsTable":"预约表","appointmentStatus":"预约状态","appointmentToFulfill":"选择要履行的预约","appointmentType":"预约类型","appointmentType_title":"预约类型","back":"返回","calendar":"日历","cameEarly":"提前到达","cancel":"取消","cancelAppointment":"取消预约","cancelAppointmentModalConfirmationText":"您确定要取消这个预约吗?","cancelled":"已取消","checkedIn":"已签到","checkedOut":"已结账","checkFilters":"检查上方的筛选条件","checkIn":"签到","checkOut":"结账","chooseAppointmentType":"选择预约类型","chooseLocation":"选择一个地点","chooseProvider":"选择一个提供者","chooseService":"选择服务","completed":"已完成","Contact":"联系{{index}}","countMore_one":"{{count}} 更多","countMore_other":"{{count}} 更多","createNewAppointment":"创建新预约","date":"日期","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"发出预约的日期不能晚于预约日期","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"出生日期","dateRange":"设置日期区间","dateTime":"日期&时间","day":"天","daysOfWeek":"星期几","discard":"放弃","download":"下载","durationErrorMessage":"持续时间应大于零","durationInMinutes":"持续时间(分钟)","edit":"编辑","editAppointment":"编辑预约","emptyStateText":"没有<1>{{displayText}}</1>可显示","endAppointmentAndVisitConfirmationMessage":"检出患者将预约标记为已完成,并结束该患者的活动就诊。","endAppointmentConfirmation":"您确定要为患者预约检出吗?","endAppointmentConfirmationMessage":"检出患者将标志着预约已完成。","expected":"预期的","failedToLoadMetrics":"加载失败","filterAppointments":"过滤预约","filterAppointmentsByServiceType":"按服务类型过滤预约","filterTable":"筛选表格","FRI":"周五","gender":"性别","highestServiceVolume":"最高量服务:{{time}}","highestServiceVolumeCardTitle":"最高规格的服务","identifier":"Identifier","invalidNumber":"数值无效","isRecurringAppointment":"这是一个定期预约吗?","itemsPerPage":"每页条目数","loading":"加载中","location":"地点","metricLoadErrorMessage":"如果问题仍然存在,请与系统管理员联系。","missed":"未就诊","MON":"周一","next":"下一步","nextMonth":"下个月","nextPage":"下一页","no":"否","noAppointmentsToDisplay":"没有预约可显示","noContent":"没有内容","noCurrentAppointments":"该患者没有安排在今日的预约","noMatchingAppointments":"没有发现匹配的预约","noPastAppointments":"该患者没有历史预约","notArrived":"未到达","note":"备注","notes":"备注","noUpcomingAppointments":"未找到即将到来的预约","noUpcomingAppointmentsForPatient":"该患者没有即将到来的预约","pageNumber":"页码","past":"过往","patientDetails":"患者详情","patientDoubleBooking":"患者此时已预约","patientName":"患者姓名","patients":"患者","period":"周期","prev":"前一步","previousMonth":"上个月","previousPage":"上一页","provider":"提供者","providers":"提供者","providersBooked":"提供者预订:{{time}}","recurringAppointment":"定期预约","recurringAppointmentShouldHaveEndDate":"定期预约应该有一个结束日期","repeatEvery":"重复每","SAT":"周六","saveAndClose":"保存并关闭","scheduled":"已安排","scheduledAppointments":"已安排的预约","scheduledForToday":"今日已安排","selectALocation":"选择地点","selectAppointmentStatus":"选择状态","selectAppointmentType":"选择一个预约类型","selectOption":"选择一个选项","selectProvider":"选择一个提供者","selectService":"选择一个服务","service":"服务","serviceName":"服务名称","serviceType":"Service type","serviceUnavailable":"预约时间不在服务时间内","status":"状态","SUN":"周日","THUR":"周四","time":"时间","today":"今日","todays":"今日","TUE":"周二","type":"类型","unknownError":"An unknown error occurred","unscheduled":"未安排","unscheduledAppointments":"未安排的预约","unscheduledAppointments_lower":"未安排的预约","upcoming":"即将到来","upcomingAppointments":"即将到来的预约","updateError":"更新即将到来的预约时出现错误","WED":"周三","week":"周","yes":"是"}')}}]);
package/dist/9895.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9895],{9895:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
package/dist/9900.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9900],{99900:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
package/dist/9913.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[9913],{89913:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
-
3
- export const EmptyDataIllustration = ({ width = '64', height = '64' }) => {
4
- return (
5
- <svg width={width} height={height} viewBox="0 0 64 64">
6
- <title>Empty data illustration</title>
7
- <g fill="none" fillRule="evenodd">
8
- <path
9
- d="M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z"
10
- fill="#F4F4F4"
11
- />
12
- <path
13
- d="M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z"
14
- fill="#8D8D8D"
15
- />
16
- <path
17
- d="M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z"
18
- fill="#C6C6C6"
19
- />
20
- <circle fill="#C6C6C6" cx={17.636} cy={2.314} r={1.855} />
21
- <circle fill="#FFF" fillRule="nonzero" cx={17.636} cy={2.314} r={1.175} />
22
- <path
23
- d="M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z"
24
- fill="#F4F4F4"
25
- />
26
- <path
27
- d="M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z"
28
- fill="#8D8D8D"
29
- />
30
- <path
31
- d="M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z"
32
- fill="#C6C6C6"
33
- />
34
- <circle fill="#C6C6C6" cx={40.218} cy={9.755} r={1.855} />
35
- <circle fill="#FFF" fillRule="nonzero" cx={40.218} cy={9.755} r={1.13} />
36
- </g>
37
- </svg>
38
- );
39
- };
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import { Layer, Tile } from '@carbon/react';
3
- import { Trans } from 'react-i18next';
4
- import { EmptyDataIllustration } from './empty-data-illustration.component';
5
- import { useLayoutType } from '@openmrs/esm-framework';
6
- import styles from './empty-state.scss';
7
-
8
- export interface EmptyStateProps {
9
- displayText: string;
10
- headerTitle: string;
11
- launchForm?(): void;
12
- }
13
-
14
- export const EmptyState: React.FC<EmptyStateProps> = ({ headerTitle, displayText, launchForm }) => {
15
- const isTablet = useLayoutType() === 'tablet';
16
-
17
- return (
18
- <Layer>
19
- <Tile className={styles.tile}>
20
- <div className={isTablet ? styles.tabletHeading : styles.desktopHeading}>
21
- <h4>{headerTitle}</h4>
22
- </div>
23
- <EmptyDataIllustration />
24
- <p className={styles.content}>
25
- <Trans i18nKey="emptyStateText" displayText={displayText}>
26
- There are no <span className={styles.displayText}>{{ displayText } as any}</span> to display
27
- </Trans>
28
- </p>
29
- </Tile>
30
- </Layer>
31
- );
32
- };
@@ -1,69 +0,0 @@
1
- @use '@carbon/layout';
2
- @use '@carbon/type';
3
- @use '@openmrs/esm-styleguide/src/vars' as *;
4
-
5
- .content {
6
- @include type.type-style('heading-compact-01');
7
- color: $text-02;
8
- margin-top: layout.$spacing-05;
9
- margin-bottom: layout.$spacing-03;
10
- }
11
-
12
- .displayText {
13
- text-transform: lowercase;
14
- }
15
-
16
- .desktopHeading {
17
- h4 {
18
- @include type.type-style('heading-compact-02');
19
- color: $text-02;
20
- }
21
- }
22
-
23
- .tabletHeading {
24
- h4 {
25
- @include type.type-style('heading-03');
26
- color: $text-02;
27
- }
28
- }
29
-
30
- .desktopHeading,
31
- .tabletHeading {
32
- text-align: left;
33
- text-transform: capitalize;
34
- margin-bottom: layout.$spacing-05;
35
-
36
- h4:after {
37
- content: '';
38
- display: block;
39
- width: layout.$spacing-07;
40
- padding-top: 0.188rem;
41
- border-bottom: 0.375rem solid var(--brand-03);
42
- }
43
- }
44
-
45
- .heading:after {
46
- content: '';
47
- display: block;
48
- width: layout.$spacing-07;
49
- padding-top: 0.188rem;
50
- border-bottom: 0.375rem solid var(--brand-03);
51
- }
52
-
53
- .tile {
54
- text-align: center;
55
- border: 1px solid $ui-03;
56
- }
57
-
58
- .header4 {
59
- @include type.type-style('heading-compact-01');
60
- margin-bottom: layout.$spacing-05;
61
- }
62
-
63
- // Overriding styles for RTL support
64
- html[dir='rtl'] {
65
- .desktopHeading,
66
- .tabletHeading {
67
- text-align: right;
68
- }
69
- }
package/webpack.config.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('openmrs/default-webpack-config');