@openmrs/esm-appointments-app 8.2.2-pre.4810 → 8.2.2-pre.4813

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 (104) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/dist/1644.js +1 -1
  3. package/dist/1901.js +1 -1
  4. package/dist/2016.js +1 -1
  5. package/dist/236.js +1 -1
  6. package/dist/2753.js +1 -1
  7. package/dist/2753.js.map +1 -1
  8. package/dist/2757.js +1 -1
  9. package/dist/2923.js +1 -1
  10. package/dist/310.js +1 -1
  11. package/dist/3260.js +1 -1
  12. package/dist/3260.js.map +1 -1
  13. package/dist/3574.js +1 -1
  14. package/dist/3581.js +1 -1
  15. package/dist/3652.js +1 -1
  16. package/dist/3952.js +1 -1
  17. package/dist/3952.js.map +1 -1
  18. package/dist/4272.js +1 -1
  19. package/dist/4378.js +1 -1
  20. package/dist/4460.js +1 -1
  21. package/dist/4705.js +1 -1
  22. package/dist/5240.js +1 -1
  23. package/dist/529.js +1 -1
  24. package/dist/5336.js +1 -1
  25. package/dist/539.js +1 -1
  26. package/dist/5673.js +1 -1
  27. package/dist/5711.js +1 -1
  28. package/dist/5737.js +1 -1
  29. package/dist/5833.js +1 -1
  30. package/dist/5910.js +1 -1
  31. package/dist/5962.js +1 -1
  32. package/dist/6179.js +1 -1
  33. package/dist/646.js +1 -1
  34. package/dist/6497.js +1 -1
  35. package/dist/6566.js +1 -1
  36. package/dist/6727.js +1 -1
  37. package/dist/681.js +1 -1
  38. package/dist/681.js.map +1 -1
  39. package/dist/744.js +1 -1
  40. package/dist/7807.js +1 -1
  41. package/dist/8271.js +1 -1
  42. package/dist/8319.js +1 -1
  43. package/dist/8323.js +1 -1
  44. package/dist/8607.js +1 -1
  45. package/dist/8607.js.map +1 -1
  46. package/dist/8615.js +2 -0
  47. package/dist/8615.js.map +1 -0
  48. package/dist/8788.js +1 -1
  49. package/dist/899.js +1 -1
  50. package/dist/9190.js +1 -1
  51. package/dist/9261.js +1 -1
  52. package/dist/9269.js +1 -1
  53. package/dist/9579.js +1 -1
  54. package/dist/main.js +1 -1
  55. package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +146 -146
  56. package/dist/routes.json +1 -1
  57. package/package.json +1 -1
  58. package/src/appointments/appointment-tabs.component.tsx +1 -1
  59. package/src/appointments/common-components/appointments-table.component.tsx +22 -1
  60. package/src/appointments/common-components/appointments-table.scss +26 -0
  61. package/src/appointments/scheduled/appointments-list.component.tsx +9 -2
  62. package/src/appointments/scheduled/early-appointments.component.tsx +1 -1
  63. package/src/appointments/scheduled/scheduled-appointments.component.tsx +2 -2
  64. package/src/appointments/utils.tsx +3 -3
  65. package/src/appointments.component.tsx +2 -2
  66. package/src/appointments.test.tsx +1 -6
  67. package/src/header/appointments-header.component.tsx +26 -17
  68. package/src/header/appointments-header.scss +0 -11
  69. package/src/hooks/useClinicalMetrics.ts +2 -2
  70. package/src/metrics/appointments-metrics.component.tsx +3 -3
  71. package/translations/am.json +2 -2
  72. package/translations/ar.json +2 -2
  73. package/translations/bn.json +2 -2
  74. package/translations/de.json +2 -2
  75. package/translations/en.json +2 -2
  76. package/translations/es.json +2 -2
  77. package/translations/fr.json +2 -2
  78. package/translations/he.json +2 -2
  79. package/translations/hi.json +2 -2
  80. package/translations/hi_IN.json +2 -2
  81. package/translations/id.json +2 -2
  82. package/translations/it.json +2 -2
  83. package/translations/km.json +2 -2
  84. package/translations/ku.json +2 -2
  85. package/translations/lg.json +2 -2
  86. package/translations/ne.json +2 -2
  87. package/translations/pt.json +2 -2
  88. package/translations/pt_BR.json +2 -2
  89. package/translations/qu.json +2 -2
  90. package/translations/ru_RU.json +2 -2
  91. package/translations/si.json +2 -2
  92. package/translations/sw.json +2 -2
  93. package/translations/sw_KE.json +2 -2
  94. package/translations/tr.json +2 -2
  95. package/translations/tr_TR.json +2 -2
  96. package/translations/uk.json +2 -2
  97. package/translations/uz.json +2 -2
  98. package/translations/uz_UZ.json +2 -2
  99. package/translations/vi.json +2 -2
  100. package/translations/zh.json +2 -2
  101. package/translations/zh_CN.json +2 -2
  102. package/dist/8199.js +0 -2
  103. package/dist/8199.js.map +0 -1
  104. /package/dist/{8199.js.LICENSE.txt → 8615.js.LICENSE.txt} +0 -0
package/dist/6727.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[6727],{6727:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Appointment color","appointmentConflict":"Appointment conflict","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","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","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","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","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","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"Duration min","edit":"Edit","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","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.","endDate":"End date","endTime":"End Time","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","missed":"Missed","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","noEncountersFound":"No encounters found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","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","save":"Save","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","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"Start Time","status":"Status","time":"Time","today":"Today","todays":"Today\'s","type":"Type","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","view":"View","vitals":"Vitals","week":"Week","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[6727],{6727:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Appointment color","appointmentConflict":"Appointment conflict","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","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","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","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","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","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"Duration min","edit":"Edit","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","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.","endDate":"End date","endTime":"End Time","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","missed":"Missed","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","noEncountersFound":"No encounters found","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","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","save":"Save","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","selectLocation":"Select location","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","startDate":"Start date","startTime":"Start Time","status":"Status","time":"Time","today":"Today","todays":"Today\'s","type":"Type","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","vitals":"Vitals","week":"Week","yes":"Yes"}')}}]);
package/dist/681.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[681],{6549:(e,n,t)=>{t.d(n,{Z:()=>l});var a=t(5698),i=t.n(a),r=t(9613),o=t.n(r)()(i());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__empty-state__content___YmT3T{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-appointments__empty-state__displayText___WjliX{text-transform:lowercase}.-esm-appointments__empty-state__desktopHeading___9ravb h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-appointments__empty-state__tabletHeading___SHY\\+Z h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-appointments__empty-state__desktopHeading___9ravb,.-esm-appointments__empty-state__tabletHeading___SHY\\+Z{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-appointments__empty-state__desktopHeading___9ravb h4:after,.-esm-appointments__empty-state__tabletHeading___SHY\\+Z h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-appointments__empty-state__heading___XX-Rc:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-appointments__empty-state__tile___wbKcN{text-align:center;border:1px solid #e0e0e0}.-esm-appointments__empty-state__header4___63M6c{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);margin-bottom:1rem}html[dir=rtl] .-esm-appointments__empty-state__desktopHeading___9ravb,html[dir=rtl] .-esm-appointments__empty-state__tabletHeading___SHY\\+Z{text-align:right}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/empty-state/empty-state.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,iDC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD51BF,aDDQ,CCER,eEwBW,CFvBX,mBEaW,CFVb,qDACE,wBAAA,CAIA,2DCk1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDh1BA,aDbM,CCkBR,2DC20BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CDz0BA,aDpBM,CCwBV,gHAEE,eAAA,CACA,yBAAA,CACA,kBEFW,CFIX,kIACE,UAAA,CACA,aAAA,CACA,UEGS,CFFT,mBAAA,CACA,2CAAA,CAIJ,uDACE,UAAA,CACA,aAAA,CACA,UENW,CFOX,mBAAA,CACA,2CAAA,CAGF,8CACE,iBAAA,CACA,wBAAA,CAGF,iDCyyBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDvyBF,kBE5BW,CFiCX,4IAEE,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.displayText {\n text-transform: lowercase;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.heading:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\n}\n\n.header4 {\n @include type.type-style('heading-compact-01');\n margin-bottom: layout.$spacing-05;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .desktopHeading,\n .tabletHeading {\n text-align: right;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={content:"-esm-appointments__empty-state__content___YmT3T",displayText:"-esm-appointments__empty-state__displayText___WjliX",desktopHeading:"-esm-appointments__empty-state__desktopHeading___9ravb",tabletHeading:"-esm-appointments__empty-state__tabletHeading___SHY+Z",heading:"-esm-appointments__empty-state__heading___XX-Rc",tile:"-esm-appointments__empty-state__tile___wbKcN",header4:"-esm-appointments__empty-state__header4___63M6c"};const l=o},852:(e,n,t)=>{t.d(n,{Dm:()=>l,jM:()=>r,rs:()=>s,si:()=>o});var a=t(268);function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(!e)return[];var t=Math.ceil(e.length/n);return Array.from({length:t},(function(e,t){return(t+1)*n}))}function o(e,n){return(0,a.useMemo)((function(){if(n&&""!==n.trim()){var t=n.toLowerCase();return e.filter((function(e){return Object.entries(e).some((function(e){var n,a,r=(a=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(n,a)||function(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,n):void 0}}(n,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],l=r[1];return"patientUuid"!==o&&"".concat(l).toLowerCase().includes(t)}))}))}return e}),[n,e])}function l(e,n){return(0,a.useMemo)((function(){if(n&&""!==n.trim()){var t=n.toLowerCase();return e.filter((function(e){var n,a,i,r;return!!(null===(a=e.patient.name)||void 0===a||null===(n=a.toLowerCase())||void 0===n?void 0:n.includes(t))||!!(null===(r=e.patient.identifier)||void 0===r||null===(i=r.toLowerCase())||void 0===i?void 0:i.includes(t))}))}return e}),[n,e])}function s(e,n){return n?e.filter((function(e){var t;return(null===(t=e.service)||void 0===t?void 0:t.uuid)===n})):e}},8179:(e,n,t)=>{t.d(n,{GK:()=>a,J$:()=>i,Yo:()=>r,c1:()=>c,e1:()=>o,eJ:()=>p,rQ:()=>l,vc:()=>s}),window.getOpenmrsSpaBase;var a="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ",r="Appointment Location",o="@openmrs/esm-appointments-app",l="dd/mm/yyyy",s="DD/MM/YYYY",p="d/m/Y",c=[{id:"MONDAY",label:"Monday",labelCode:"monday",order:0},{id:"TUESDAY",label:"Tuesday",labelCode:"tuesday",order:1},{id:"WEDNESDAY",label:"Wednesday",labelCode:"wednesday",order:2},{id:"THURSDAY",label:"Thursday",labelCode:"thursday",order:3},{id:"FRIDAY",label:"Friday",labelCode:"friday",order:4},{id:"SATURDAY",label:"Saturday",labelCode:"saturday",order:5},{id:"SUNDAY",label:"Sunday",labelCode:"sunday",order:6}]},2704:(e,n,t)=>{t.d(n,{u:()=>k});var a=t(268),i=t.n(a),r=t(3531),o=t(4924),l=function(e){var n=e.width,t=void 0===n?"64":n,a=e.height,r=void 0===a?"64":a;return i().createElement("svg",{width:t,height:r,viewBox:"0 0 64 64"},i().createElement("title",null,"Empty data illustration"),i().createElement("g",{fill:"none",fillRule:"evenodd"},i().createElement("path",{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",fill:"#F4F4F4"}),i().createElement("path",{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",fill:"#8D8D8D"}),i().createElement("path",{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",fill:"#C6C6C6"}),i().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),i().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),i().createElement("path",{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",fill:"#F4F4F4"}),i().createElement("path",{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",fill:"#8D8D8D"}),i().createElement("path",{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",fill:"#C6C6C6"}),i().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),i().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},s=t(7234),p=t(6062),c=t.n(p),u=t(4036),d=t.n(u),f=t(6793),g=t.n(f),h=t(7892),y=t.n(h),m=t(1173),b=t.n(m),$=t(2464),v=t.n($),A=t(6549),w={};w.styleTagTransform=v(),w.setAttributes=y(),w.insert=g().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=b(),c()(A.Z,w);const x=A.Z&&A.Z.locals?A.Z.locals:void 0;var k=function(e){var n=e.headerTitle,t=e.displayText,a=(e.launchForm,"tablet"===(0,s.useLayoutType)());return i().createElement(r.mh4,null,i().createElement(r.n9L,{className:x.tile},i().createElement("div",{className:a?x.tabletHeading:x.desktopHeading},i().createElement("h4",null,n)),i().createElement(l,null),i().createElement("p",{className:x.content},i().createElement(o.Trans,{i18nKey:"emptyStateText",displayText:t},"There are no ",i().createElement("span",{className:x.displayText},{displayText:t})," to display"))))}},9997:(e,n,t)=>{t.d(n,{Q:()=>f,j:()=>u});var a=t(4333),i=t(7234),r=t(8179);function o(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function l(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var r=e.apply(n,t);function l(e){o(r,a,i,l,s,"next",e)}function s(e){o(r,a,i,l,s,"throw",e)}l(void 0)}))}}function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){s(e,n,t[n])}))}return e}function c(e,n){var t,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,a&&(i=2&r[0]?a.return:r[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,r[1])).done)return i;switch(a=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,a=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=n.call(e,o)}catch(e){r=[6,e],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}function u(e,n){return d.apply(this,arguments)}function d(){return d=l((function(e,n){var t,o,s,u,d,f,y,m=arguments;return c(this,(function(b){switch(b.label){case 0:return t=m.length>2&&void 0!==m[2]?m[2]:"Appointments",[4,(0,i.getConfig)(r.e1)];case 1:return o=b.sent(),u=null!==(s=o.includePhoneNumberInExcelSpreadsheet)&&void 0!==s&&s,[4,Promise.all(e.map(($=l((function(e){var t,a,r,o,l,s,d,f;return c(this,(function(c){switch(c.label){case 0:return o=n.find((function(n){return n.id===e.uuid})),s=null!==(l=null===(t=o)||void 0===t?void 0:t.identifier)&&void 0!==l?l:e.patient.identifier,[4,(0,i.fetchCurrentPatient)(e.patient.uuid)];case 1:return d=c.sent(),f=u&&(null===(a=d)||void 0===a?void 0:a.telecom)?d.telecom.map((function(e){var n;return null===(n=e)||void 0===n?void 0:n.value})).join(", "):"",[2,p({"Patient name":e.patient.name,Gender:"F"===e.patient.gender?"Female":"Male",Age:e.patient.age,Identifier:s,"Appointment type":null===(r=e.service)||void 0===r?void 0:r.name,Date:(0,i.formatDate)(new Date(e.startDateTime),{mode:"wide"})},u?{"Telephone number":f}:{})]}}))})),function(e){return $.apply(this,arguments)})))];case 2:return d=b.sent(),f=g(d),y=h(f,"Appointment list"),(0,a.NC)(y,"".concat(t,".xlsx"),{compression:!0}),[2]}var $}))})),d.apply(this,arguments)}function f(e){var n,t,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unscheduled appointments ".concat((0,i.formatDate)(new Date,{year:!0,time:!0})),l=h(g(null===(n=e)||void 0===n?void 0:n.map((function(e){return{"Patient name":e.name,Gender:"F"===e.gender?"Female":"Male",Age:e.age,"Phone Number":null!==(t=e.phoneNumber)&&void 0!==t?t:"--",Identifier:null!==(r=e.identifier)&&void 0!==r?r:"--"}}))),"Appointment list");(0,a.NC)(l,"".concat(o,".xlsx"),{compression:!0})}function g(e){var n=e.reduce((function(e,n){return Math.max(e,n["Patient name"].length)}),30),t=a.P6.json_to_sheet(e);return t["!cols"]=[{wch:n}],t}function h(e,n){var t=a.P6.book_new();return a.P6.book_append_sheet(t,e,n),t}},5579:(e,n,t)=>{t.d(n,{g9:()=>l,IF:()=>u,bf:()=>o,vN:()=>s,xj:()=>p,aN:()=>c});var a=t(8879),i=t.n(a);function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}var o=function(){var e,n,t=null===(n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[])||void 0===n?void 0:n.map((function(e){var n=e.countMap;return{serviceName:e.serviceName,count:n.reduce((function(e,n){return e+n.allAppointmentsCount}),0)}}));return t.find((function(n){return n.count===(e=Math).max.apply(e,function(e){if(Array.isArray(e))return r(e)}(a=t.map((function(e){return e.count})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var a}))},l=function(e){return e.flatMap((function(e){return{serviceName:e.appointmentService.name,countMap:Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1]}))}}))},s=function(e,n){return e.map((function(e){return Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1][n]}))})).flat(1).reduce((function(e,n){return e+n}),0)},p=function(e,n){return e.isSame(n,"month")},c=function(e){for(var n=i()(e).startOf("month"),t=i()(e).endOf("month"),a=i()(e).daysInMonth(),r=i()(e).subtract(1,"month"),o=i()(e).add(1,"month"),l=[],s=r.daysInMonth()-n.day()+1;s<=r.daysInMonth();s++)l.push(i()().month(r.month()).date(s));for(var p=1;p<=a;p++)l.push(e.date(p));for(var c=l.length>30?7:14,u=1;u<c-t.day();u++)l.push(i()().month(o.month()).date(u));return l},u=function(e,n){switch(e){case"M":return n("male","Male");case"F":return n("female","Female");case"O":return n("other","Other");case"U":return n("unknown","Unknown");default:return e}}},3628:(e,n,t)=>{t.d(n,{Z:()=>l});var a=t(268),i=t(8879),r=t.n(i),o=t(8179);const l=(0,a.createContext)({selectedDate:r()().startOf("day").format(o.J$),setSelectedDate:function(e){}})},2400:(e,n,t)=>{t.d(n,{_:()=>u,h:()=>c});var a=t(3649),i=t(7234),r=t(8879),o=t.n(r),l=t(268),s=t(3628);function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}var c=function(e,n){var t,r,c=(0,l.useContext)(s.Z).selectedDate,u=n||c,d=o()(u).endOf("day").format("YYYY-MM-DDTHH:mm:ss.SSSZZ"),f="".concat(i.restBaseUrl,"/appointments/search"),g=new AbortController,h=(0,a.ZP)([f,u,d,e],(function(e){var n,t,a=(t=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(n,t)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=a[0],o=a[1],l=a[2],s=a[3];return(0,i.openmrsFetch)(r,{method:"POST",signal:g.signal,headers:{"Content-Type":"application/json"},body:{startDate:o,endDate:l,status:s}})}),{errorRetryCount:2}),y=h.data,m=h.error,b=h.isLoading,$=h.mutate;return{appointmentList:null!==(r=null===(t=y)||void 0===t?void 0:t.data)&&void 0!==r?r:[],isLoading:b,error:m,mutate:$}},u=function(e){var n,t,r=(0,l.useContext)(s.Z).selectedDate,o=e||r,p="".concat(i.restBaseUrl,"/appointment/earlyAppointment?forDate=").concat(o),c=(0,a.ZP)(p,i.openmrsFetch,{errorRetryCount:2}),u=c.data,d=c.error,f=c.isLoading;return{earlyAppointmentList:null!==(t=null===(n=u)||void 0===n?void 0:n.data)&&void 0!==t?t:[],isLoading:f,error:d}}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[681],{6549:(e,n,t)=>{t.d(n,{Z:()=>l});var a=t(5698),i=t.n(a),r=t(9613),o=t.n(r)()(i());o.push([e.id,':root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__empty-state__content___YmT3T{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-appointments__empty-state__displayText___WjliX{text-transform:lowercase}.-esm-appointments__empty-state__desktopHeading___9ravb h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-appointments__empty-state__tabletHeading___SHY\\+Z h4{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0);color:#525252}.-esm-appointments__empty-state__desktopHeading___9ravb,.-esm-appointments__empty-state__tabletHeading___SHY\\+Z{text-align:left;text-transform:capitalize;margin-bottom:1rem}.-esm-appointments__empty-state__desktopHeading___9ravb h4:after,.-esm-appointments__empty-state__tabletHeading___SHY\\+Z h4:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-appointments__empty-state__heading___XX-Rc:after{content:"";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-03)}.-esm-appointments__empty-state__tile___wbKcN{text-align:center;border:1px solid #e0e0e0}.-esm-appointments__empty-state__header4___63M6c{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);margin-bottom:1rem}html[dir=rtl] .-esm-appointments__empty-state__desktopHeading___9ravb,html[dir=rtl] .-esm-appointments__empty-state__tabletHeading___SHY\\+Z{text-align:right}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/empty-state/empty-state.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,iDC81BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD51BF,aDDQ,CCER,eEwBW,CFvBX,mBEaW,CFVb,qDACE,wBAAA,CAIA,2DCk1BE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CDh1BA,aDbM,CCkBR,2DC20BE,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CDz0BA,aDpBM,CCwBV,gHAEE,eAAA,CACA,yBAAA,CACA,kBEFW,CFIX,kIACE,UAAA,CACA,aAAA,CACA,UEGS,CFFT,mBAAA,CACA,2CAAA,CAIJ,uDACE,UAAA,CACA,aAAA,CACA,UENW,CFOX,mBAAA,CACA,2CAAA,CAGF,8CACE,iBAAA,CACA,wBAAA,CAGF,iDCyyBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDvyBF,kBE5BW,CFiCX,4IAEE,gBAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.displayText {\n text-transform: lowercase;\n}\n\n.desktopHeading {\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n }\n}\n\n.tabletHeading {\n h4 {\n @include type.type-style('heading-03');\n color: $text-02;\n }\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n margin-bottom: layout.$spacing-05;\n\n h4:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n }\n}\n\n.heading:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 0.188rem;\n border-bottom: 0.375rem solid var(--brand-03);\n}\n\n.tile {\n text-align: center;\n border: 1px solid $ui-03;\n}\n\n.header4 {\n @include type.type-style('heading-compact-01');\n margin-bottom: layout.$spacing-05;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .desktopHeading,\n .tabletHeading {\n text-align: right;\n }\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={content:"-esm-appointments__empty-state__content___YmT3T",displayText:"-esm-appointments__empty-state__displayText___WjliX",desktopHeading:"-esm-appointments__empty-state__desktopHeading___9ravb",tabletHeading:"-esm-appointments__empty-state__tabletHeading___SHY+Z",heading:"-esm-appointments__empty-state__heading___XX-Rc",tile:"-esm-appointments__empty-state__tile___wbKcN",header4:"-esm-appointments__empty-state__header4___63M6c"};const l=o},852:(e,n,t)=>{t.d(n,{Dm:()=>l,jM:()=>r,rs:()=>s,si:()=>o});var a=t(268);function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(!e)return[];var t=Math.ceil(e.length/n);return Array.from({length:t},(function(e,t){return(t+1)*n}))}function o(e,n){return(0,a.useMemo)((function(){if(n&&""!==n.trim()){var t=n.toLowerCase();return e.filter((function(e){return Object.entries(e).some((function(e){var n,a,r=(a=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(n,a)||function(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,n):void 0}}(n,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],l=r[1];return"patientUuid"!==o&&"".concat(l).toLowerCase().includes(t)}))}))}return e}),[n,e])}function l(e,n){return(0,a.useMemo)((function(){if(n&&""!==n.trim()){var t=n.toLowerCase();return e.filter((function(e){var n,a,i,r;return!!(null===(a=e.patient.name)||void 0===a||null===(n=a.toLowerCase())||void 0===n?void 0:n.includes(t))||!!(null===(r=e.patient.identifier)||void 0===r||null===(i=r.toLowerCase())||void 0===i?void 0:i.includes(t))}))}return e}),[n,e])}function s(e,n){var t;return(null===(t=n)||void 0===t?void 0:t.length)>0?e.filter((function(e){var t=e.service;return n.includes(t.uuid)})):e}},8179:(e,n,t)=>{t.d(n,{GK:()=>a,J$:()=>i,Yo:()=>r,c1:()=>c,e1:()=>o,eJ:()=>p,rQ:()=>l,vc:()=>s}),window.getOpenmrsSpaBase;var a="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ",r="Appointment Location",o="@openmrs/esm-appointments-app",l="dd/mm/yyyy",s="DD/MM/YYYY",p="d/m/Y",c=[{id:"MONDAY",label:"Monday",labelCode:"monday",order:0},{id:"TUESDAY",label:"Tuesday",labelCode:"tuesday",order:1},{id:"WEDNESDAY",label:"Wednesday",labelCode:"wednesday",order:2},{id:"THURSDAY",label:"Thursday",labelCode:"thursday",order:3},{id:"FRIDAY",label:"Friday",labelCode:"friday",order:4},{id:"SATURDAY",label:"Saturday",labelCode:"saturday",order:5},{id:"SUNDAY",label:"Sunday",labelCode:"sunday",order:6}]},2704:(e,n,t)=>{t.d(n,{u:()=>k});var a=t(268),i=t.n(a),r=t(1512),o=t(4924),l=function(e){var n=e.width,t=void 0===n?"64":n,a=e.height,r=void 0===a?"64":a;return i().createElement("svg",{width:t,height:r,viewBox:"0 0 64 64"},i().createElement("title",null,"Empty data illustration"),i().createElement("g",{fill:"none",fillRule:"evenodd"},i().createElement("path",{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",fill:"#F4F4F4"}),i().createElement("path",{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",fill:"#8D8D8D"}),i().createElement("path",{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",fill:"#C6C6C6"}),i().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),i().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),i().createElement("path",{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",fill:"#F4F4F4"}),i().createElement("path",{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",fill:"#8D8D8D"}),i().createElement("path",{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",fill:"#C6C6C6"}),i().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),i().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))},s=t(7234),p=t(6062),c=t.n(p),u=t(4036),d=t.n(u),f=t(6793),g=t.n(f),h=t(7892),y=t.n(h),m=t(1173),b=t.n(m),$=t(2464),v=t.n($),A=t(6549),w={};w.styleTagTransform=v(),w.setAttributes=y(),w.insert=g().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=b(),c()(A.Z,w);const x=A.Z&&A.Z.locals?A.Z.locals:void 0;var k=function(e){var n=e.headerTitle,t=e.displayText,a=(e.launchForm,"tablet"===(0,s.useLayoutType)());return i().createElement(r.mh4,null,i().createElement(r.n9L,{className:x.tile},i().createElement("div",{className:a?x.tabletHeading:x.desktopHeading},i().createElement("h4",null,n)),i().createElement(l,null),i().createElement("p",{className:x.content},i().createElement(o.Trans,{i18nKey:"emptyStateText",displayText:t},"There are no ",i().createElement("span",{className:x.displayText},{displayText:t})," to display"))))}},9997:(e,n,t)=>{t.d(n,{Q:()=>f,j:()=>u});var a=t(4333),i=t(7234),r=t(8179);function o(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function l(e){return function(){var n=this,t=arguments;return new Promise((function(a,i){var r=e.apply(n,t);function l(e){o(r,a,i,l,s,"next",e)}function s(e){o(r,a,i,l,s,"throw",e)}l(void 0)}))}}function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){s(e,n,t[n])}))}return e}function c(e,n){var t,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,a&&(i=2&r[0]?a.return:r[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,r[1])).done)return i;switch(a=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,a=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=n.call(e,o)}catch(e){r=[6,e],a=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}}function u(e,n){return d.apply(this,arguments)}function d(){return d=l((function(e,n){var t,o,s,u,d,f,y,m=arguments;return c(this,(function(b){switch(b.label){case 0:return t=m.length>2&&void 0!==m[2]?m[2]:"Appointments",[4,(0,i.getConfig)(r.e1)];case 1:return o=b.sent(),u=null!==(s=o.includePhoneNumberInExcelSpreadsheet)&&void 0!==s&&s,[4,Promise.all(e.map(($=l((function(e){var t,a,r,o,l,s,d,f;return c(this,(function(c){switch(c.label){case 0:return o=n.find((function(n){return n.id===e.uuid})),s=null!==(l=null===(t=o)||void 0===t?void 0:t.identifier)&&void 0!==l?l:e.patient.identifier,[4,(0,i.fetchCurrentPatient)(e.patient.uuid)];case 1:return d=c.sent(),f=u&&(null===(a=d)||void 0===a?void 0:a.telecom)?d.telecom.map((function(e){var n;return null===(n=e)||void 0===n?void 0:n.value})).join(", "):"",[2,p({"Patient name":e.patient.name,Gender:"F"===e.patient.gender?"Female":"Male",Age:e.patient.age,Identifier:s,"Appointment type":null===(r=e.service)||void 0===r?void 0:r.name,Date:(0,i.formatDate)(new Date(e.startDateTime),{mode:"wide"})},u?{"Telephone number":f}:{})]}}))})),function(e){return $.apply(this,arguments)})))];case 2:return d=b.sent(),f=g(d),y=h(f,"Appointment list"),(0,a.NC)(y,"".concat(t,".xlsx"),{compression:!0}),[2]}var $}))})),d.apply(this,arguments)}function f(e){var n,t,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unscheduled appointments ".concat((0,i.formatDate)(new Date,{year:!0,time:!0})),l=h(g(null===(n=e)||void 0===n?void 0:n.map((function(e){return{"Patient name":e.name,Gender:"F"===e.gender?"Female":"Male",Age:e.age,"Phone Number":null!==(t=e.phoneNumber)&&void 0!==t?t:"--",Identifier:null!==(r=e.identifier)&&void 0!==r?r:"--"}}))),"Appointment list");(0,a.NC)(l,"".concat(o,".xlsx"),{compression:!0})}function g(e){var n=e.reduce((function(e,n){return Math.max(e,n["Patient name"].length)}),30),t=a.P6.json_to_sheet(e);return t["!cols"]=[{wch:n}],t}function h(e,n){var t=a.P6.book_new();return a.P6.book_append_sheet(t,e,n),t}},5579:(e,n,t)=>{t.d(n,{g9:()=>l,IF:()=>u,bf:()=>o,vN:()=>s,xj:()=>p,aN:()=>c});var a=t(8879),i=t.n(a);function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}var o=function(){var e,n,t=null===(n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[])||void 0===n?void 0:n.map((function(e){var n=e.countMap;return{serviceName:e.serviceName,count:n.reduce((function(e,n){return e+n.allAppointmentsCount}),0)}}));return t.find((function(n){return n.count===(e=Math).max.apply(e,function(e){if(Array.isArray(e))return r(e)}(a=t.map((function(e){return e.count})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var a}))},l=function(e){return e.flatMap((function(e){return{serviceName:e.appointmentService.name,countMap:Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1]}))}}))},s=function(e,n){return e.map((function(e){return Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1][n]}))})).flat(1).reduce((function(e,n){return e+n}),0)},p=function(e,n){return e.isSame(n,"month")},c=function(e){for(var n=i()(e).startOf("month"),t=i()(e).endOf("month"),a=i()(e).daysInMonth(),r=i()(e).subtract(1,"month"),o=i()(e).add(1,"month"),l=[],s=r.daysInMonth()-n.day()+1;s<=r.daysInMonth();s++)l.push(i()().month(r.month()).date(s));for(var p=1;p<=a;p++)l.push(e.date(p));for(var c=l.length>30?7:14,u=1;u<c-t.day();u++)l.push(i()().month(o.month()).date(u));return l},u=function(e,n){switch(e){case"M":return n("male","Male");case"F":return n("female","Female");case"O":return n("other","Other");case"U":return n("unknown","Unknown");default:return e}}},3628:(e,n,t)=>{t.d(n,{Z:()=>l});var a=t(268),i=t(8879),r=t.n(i),o=t(8179);const l=(0,a.createContext)({selectedDate:r()().startOf("day").format(o.J$),setSelectedDate:function(e){}})},2400:(e,n,t)=>{t.d(n,{_:()=>u,h:()=>c});var a=t(3649),i=t(7234),r=t(8879),o=t.n(r),l=t(268),s=t(3628);function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}var c=function(e,n){var t,r,c=(0,l.useContext)(s.Z).selectedDate,u=n||c,d=o()(u).endOf("day").format("YYYY-MM-DDTHH:mm:ss.SSSZZ"),f="".concat(i.restBaseUrl,"/appointments/search"),g=new AbortController,h=(0,a.ZP)([f,u,d,e],(function(e){var n,t,a=(t=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(n,t)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=a[0],o=a[1],l=a[2],s=a[3];return(0,i.openmrsFetch)(r,{method:"POST",signal:g.signal,headers:{"Content-Type":"application/json"},body:{startDate:o,endDate:l,status:s}})}),{errorRetryCount:2}),y=h.data,m=h.error,b=h.isLoading,$=h.mutate;return{appointmentList:null!==(r=null===(t=y)||void 0===t?void 0:t.data)&&void 0!==r?r:[],isLoading:b,error:m,mutate:$}},u=function(e){var n,t,r=(0,l.useContext)(s.Z).selectedDate,o=e||r,p="".concat(i.restBaseUrl,"/appointment/earlyAppointment?forDate=").concat(o),c=(0,a.ZP)(p,i.openmrsFetch,{errorRetryCount:2}),u=c.data,d=c.error,f=c.isLoading;return{earlyAppointmentList:null!==(t=null===(n=u)||void 0===n?void 0:n.data)&&void 0!==t?t:[],isLoading:f,error:d}}}}]);
package/dist/681.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"681.js","mappings":"2MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,k7EAAu7E,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,+CAA+C,gEAAgE,8EAA8E,MAAQ,GAAG,SAAW,2kBAA2kB,eAAiB,CAAC,o7DAAo7D,6wCAA6wC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,CACP,eAAgB,oBAElBC,KAAM,CACJb,UAAWA,EACXC,QAASA,EACTO,OAAQA,I,GAOZ,CAAEM,gBAAiB,IAHb5M,EAAmCoM,EAAnCpM,KAAM6M,EAA6BT,EAA7BS,MAAOC,EAAsBV,EAAtBU,UAAWC,EAAWX,EAAXW,OAMhC,MAAO,CAAEjL,gBAA2B,QAAV9B,EAAAA,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAMA,YAANA,IAAAA,EAAAA,EAAc,GAAI8M,UAAAA,EAAWD,MAAAA,EAAOE,OAAAA,EAChE,EAEaC,EAA0B,SAAClB,G,IASP9L,EAAAA,EARzB,GAAmB4L,EAAAA,EAAAA,YAAWC,EAAAA,GAA5BN,aACF0B,EAAUnB,GAAwBP,EAClCc,EAAM,GAAuDY,OAApDhB,EAAAA,YAAY,0CAAgD,OAARgB,GAEhCb,GAAAA,EAAAA,EAAAA,IAAyCC,EAAKE,EAAAA,aAAc,CAC7FK,gBAAiB,IADX5M,EAA2BoM,EAA3BpM,KAAM6M,EAAqBT,EAArBS,MAAOC,EAAcV,EAAdU,UAIrB,MAAO,CAAEI,qBAAgC,QAAVlN,EAAAA,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAMA,YAANA,IAAAA,EAAAA,EAAc,GAAI8M,UAAAA,EAAWD,MAAAA,EAC9D,C","sources":["webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-state.scss","webpack://@openmrs/esm-appointments-app/./src/appointments/utils.tsx","webpack://@openmrs/esm-appointments-app/./src/constants.ts","webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-data-illustration.component.tsx","webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-state.scss?0d51","webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-state.component.tsx","webpack://@openmrs/esm-appointments-app/./src/helpers/excel.ts","webpack://@openmrs/esm-appointments-app/./src/helpers/functions.ts","webpack://@openmrs/esm-appointments-app/./src/hooks/selectedDateContext.ts","webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentList.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","getPageSizes","data","pageSize","numberOfPages","Math","ceil","length","Array","from","_","i","useSearchResults","searchString","useMemo","trim","search","toLowerCase","filter","appointment","Object","entries","some","header","value","includes","useAppointmentSearchResults","lowerCaseSearch","patient","name","identifier","filterByServiceType","appointmentList","appointmentServiceType","service","uuid","window","spaHomePage","spaBase","omrsDateFormat","appointmentLocationTagName","moduleName","datePickerPlaceHolder","dateFormat","datePickerFormat","weekDays","label","labelCode","order","EmptyDataIllustration","width","height","svg","viewBox","title","g","fill","fillRule","path","d","circle","cx","cy","r","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","EmptyState","headerTitle","displayText","isTablet","launchForm","useLayoutType","Layer","Tile","className","styles","tile","div","tabletHeading","desktopHeading","h4","p","content","Trans","i18nKey","span","exportAppointmentsToSpreadsheet","appointments","rowData","fileName","config","includePhoneNumbers","appointmentsJSON","worksheet","workbook","getConfig","includePhoneNumberInExcelSpreadsheet","Promise","all","map","matchingAppointment","patientInfo","phoneNumber","find","row","fetchCurrentPatient","telecom","telecomObj","join","Gender","gender","Age","age","Identifier","Date","formatDate","startDateTime","mode","createWorksheet","createWorkbook","writeFile","compression","exportUnscheduledAppointmentsToSpreadsheet","unscheduledAppointments","year","time","max_width","reduce","w","max","utils","json_to_sheet","wch","sheetName","book_new","book_append_sheet","getHighestAppointmentServiceLoad","appointmentSummary","groupedAppointments","countMap","serviceName","count","cummulator","currentValue","allAppointmentsCount","summary","x","flattenAppointmentSummary","appointmentToTransfrom","flatMap","el","appointmentService","appointmentCountMap","getServiceCountByAppointmentType","appointmentType","flat","val","isSameMonth","cellDate","currentDate","isSame","monthDays","monthStart","dayjs","startOf","monthEnd","endOf","daysInMonth","lastMonth","subtract","nextMonth","add","days","day","month","date","dayLen","getGender","t","createContext","selectedDate","format","setSelectedDate","useAppointmentList","appointmentStatus","useContext","SelectedDateContext","startDate","endDate","searchUrl","restBaseUrl","abortController","AbortController","useSWR","url","status","openmrsFetch","method","signal","headers","body","errorRetryCount","error","isLoading","mutate","useEarlyAppointmentList","forDate","earlyAppointmentList"],"sourceRoot":""}
1
+ {"version":3,"file":"681.js","mappings":"2MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,k7EAAu7E,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,+CAA+C,gEAAgE,8EAA8E,MAAQ,GAAG,SAAW,2kBAA2kB,eAAiB,CAAC,o7DAAo7D,6wCAA6wC,u8uBAAu8uB,25DAA25D,WAAa,MAEn6/BH,EAAwBI,OAAS,CAChC,QAAW,kDACX,YAAe,sDACf,eAAkB,yDAClB,cAAiB,wDACjB,QAAW,kDACX,KAAQ,+CACR,QAAW,mDAEZ,S,oLCJO,SAASC,EAAgBC,G,IAAgBC,EAAAA,UAAAA,OAAAA,QAAAA,IAAAA,UAAAA,GAAAA,UAAAA,GAAmB,GACjE,IAAKD,EACH,MAAO,GAET,IAAME,EAAgBC,KAAKC,KAAKJ,EAAKK,OAASJ,GAC9C,OAAOK,MAAMC,KAAK,CAAEF,OAAQH,IAAiB,SAACM,EAAGC,G,OAAOA,EAAI,GAAKR,C,GACnE,CASO,SAASS,EAAoBV,EAAWW,GAiB7C,OAhBsBC,EAAAA,EAAAA,UAAQ,WAC5B,GAAID,GAAwC,KAAxBA,EAAaE,OAAe,CAC9C,IAAMC,EAASH,EAAaI,cAC5B,OAAOf,EAAKgB,QAAO,SAACC,G,OAClBC,OAAOC,QAAQF,GAAaG,MAAK,Y,g1BAAEC,EAAAA,EAAAA,GAAQC,EAAAA,EAAAA,GACzC,MAAe,gBAAXD,GAGG,GAAS,OAANC,GAAQP,cAAcQ,SAAST,EAC3C,G,GAEJ,CAEA,OAAOd,CACT,GAAG,CAACW,EAAcX,GAGpB,CAYO,SAASwB,EAA4BxB,EAAqBW,GAC/D,OAAOC,EAAAA,EAA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M,UAAAA,EAAWD,MAAAA,EAC9D,C","sources":["webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-state.scss","webpack://@openmrs/esm-appointments-app/./src/appointments/utils.tsx","webpack://@openmrs/esm-appointments-app/./src/constants.ts","webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-data-illustration.component.tsx","webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-state.scss?0d51","webpack://@openmrs/esm-appointments-app/./src/empty-state/empty-state.component.tsx","webpack://@openmrs/esm-appointments-app/./src/helpers/excel.ts","webpack://@openmrs/esm-appointments-app/./src/helpers/functions.ts","webpack://@openmrs/esm-appointments-app/./src/hooks/selectedDateContext.ts","webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentList.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","getPageSizes","data","pageSize","numberOfPages","Math","ceil","length","Array","from","_","i","useSearchResults","searchString","useMemo","trim","search","toLowerCase","filter","appointment","Object","entries","some","header","value","includes","useAppointmentSearchResults","lowerCaseSearch","patient","name","identifier","filterByServiceType","appointmentList","appointmentServiceType","service","uuid","window","spaHomePage","spaBase","omrsDateFormat","appointmentLocationTagName","moduleName","datePickerPlaceHolder","dateFormat","datePickerFormat","weekDays","label","labelCode","order","EmptyDataIllustration","width","height","svg","viewBox","title","g","fill","fillRule","path","d","circle","cx","cy","r","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","EmptyState","headerTitle","displayText","isTablet","launchForm","useLayoutType","Layer","Tile","className","styles","tile","div","tabletHeading","desktopHeading","h4","p","content","Trans","i18nKey","span","exportAppointmentsToSpreadsheet","appointments","rowData","fileName","config","includePhoneNumbers","appointmentsJSON","worksheet","workbook","getConfig","includePhoneNumberInExcelSpreadsheet","Promise","all","map","matchingAppointment","patientInfo","phoneNumber","find","row","fetchCurrentPatient","telecom","telecomObj","join","Gender","gender","Age","age","Identifier","Date","formatDate","startDateTime","mode","createWorksheet","createWorkbook","writeFile","compression","exportUnscheduledAppointmentsToSpreadsheet","unscheduledAppointments","year","time","max_width","reduce","w","max","utils","json_to_sheet","wch","sheetName","book_new","book_append_sheet","getHighestAppointmentServiceLoad","appointmentSummary","groupedAppointments","countMap","serviceName","count","cummulator","currentValue","allAppointmentsCount","summary","x","flattenAppointmentSummary","appointmentToTransfrom","flatMap","el","appointmentService","appointmentCountMap","getServiceCountByAppointmentType","appointmentType","flat","val","isSameMonth","cellDate","currentDate","isSame","monthDays","monthStart","dayjs","startOf","monthEnd","endOf","daysInMonth","lastMonth","subtract","nextMonth","add","days","day","month","date","dayLen","getGender","t","createContext","selectedDate","format","setSelectedDate","useAppointmentList","appointmentStatus","useContext","SelectedDateContext","startDate","endDate","searchUrl","restBaseUrl","abortController","AbortController","useSWR","url","status","openmrsFetch","method","signal","headers","body","errorRetryCount","error","isLoading","mutate","useEarlyAppointmentList","forDate","earlyAppointmentList"],"sourceRoot":""}
package/dist/744.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[744],{744: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","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","appointmentColor":"Màu cuộc hẹn","appointmentConflict":"Xung đột cuộc hẹn","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","appointmentMetrics":"Số liệu cuộc hẹn","appointmentMetricsLoadError":"","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","appointmentService":"Dịch vụ cuộc hẹn","appointmentServiceCreate":"Dịch vụ hẹn đã được tạo thành công","appointmentServiceName":"Tên dịch vụ hẹn gặp","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","createAppointmentService":"Tạo dịch vụ cuộc hẹn","createNewAppointment":"Tạo cuộc hẹn mới","date":"Ngày","date&Time":"Ngày & giờ","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Ngày cấp giấy hẹn không được sau ngày hẹn","dateOfBirth":"Ngày sinh","dateScheduled":"Ngày ban hành cuộc hẹn","dateScheduledDetail":"Ngày ban hành cuộc hẹn","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)","durationMins":"Thời gian tối thiểu","edit":"Chỉnh sửa","editAppointment":"Sửa cuộc hẹn","editAppointments":"Sửa cuộc hẹn","emptyStateText":"Không có 1{{displayText}}1 để hiển thị","encounters":"Cuộc gặp","encounterType":"Loại cuộc gặp","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.","endDate":"Ngày kết thúc","endTime":"Thời gian kết thúc","errorCreatingAppointmentService":"Lỗi khi tạo dịch vụ hẹn gặp","expected":"Kỳ vọng","filterTable":"Bảng lọc","gender":"Giới tính","highestServiceVolume":"Dịch vụ có khối lượng cao nhất: {{hour}}","identifier":"Mã định danh","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í","medications":"Thuốc men","missed":"Bỏ lỡ","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","noEncountersFound":"Không tìm thấy cuộc gặp gỡ nào","noPastAppointments":"Không có cuộc hẹn nào trước đây để hiển thị cho bệnh nhân này","noPreviousVisitFound":"Không tìm thấy lần ghé thăm trước","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","save":"Lưu","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","selectLocation":"Lựa chọn vị trí","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ụ","selectServiceType":"Chọn loại dịch vụ","service":"Dịch vụ","serviceName":"Tên dịch vụ","serviceType":"Loại dịch vụ","serviceUnavailable":"Thời gian hẹn là ngoài giờ làm việc","startDate":"Ngày bắt đầu","startTime":"Ngày kết thúc","status":"Trạng thái","time":"Thời gian","today":"Hôm nay","todays":"Hôm nay","type":"Loại","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","view":"Xem","vitals":"Các yếu tố quan trọng","week":"Tuần","yes":"Có"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[744],{744: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","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","appointmentColor":"Màu cuộc hẹn","appointmentConflict":"Xung đột cuộc hẹn","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","appointmentMetrics":"Số liệu cuộc hẹn","appointmentMetricsLoadError":"","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","appointmentService":"Dịch vụ cuộc hẹn","appointmentServiceCreate":"Dịch vụ hẹn đã được tạo thành công","appointmentServiceName":"Tên dịch vụ hẹn gặp","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","createAppointmentService":"Tạo dịch vụ cuộc hẹn","createNewAppointment":"Tạo cuộc hẹn mới","date":"Ngày","date&Time":"Ngày & giờ","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Ngày cấp giấy hẹn không được sau ngày hẹn","dateOfBirth":"Ngày sinh","dateScheduled":"Ngày ban hành cuộc hẹn","dateScheduledDetail":"Ngày ban hành cuộc hẹn","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)","durationMins":"Thời gian tối thiểu","edit":"Chỉnh sửa","editAppointment":"Sửa cuộc hẹn","editAppointments":"Sửa cuộc hẹn","emptyStateText":"Không có 1{{displayText}}1 để hiển thị","encounters":"Cuộc gặp","encounterType":"Loại cuộc gặp","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.","endDate":"Ngày kết thúc","endTime":"Thời gian kết thúc","errorCreatingAppointmentService":"Lỗi khi tạo dịch vụ hẹn gặp","expected":"Kỳ vọng","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Bảng lọc","gender":"Giới tính","highestServiceVolume":"Dịch vụ có khối lượng cao nhất: {{hour}}","identifier":"Mã định danh","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í","medications":"Thuốc men","missed":"Bỏ lỡ","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","noEncountersFound":"Không tìm thấy cuộc gặp gỡ nào","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","noPreviousVisitFound":"Không tìm thấy lần ghé thăm trước","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","save":"Lưu","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","selectLocation":"Lựa chọn vị trí","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":"Loại dịch vụ","serviceUnavailable":"Thời gian hẹn là ngoài giờ làm việc","startDate":"Ngày bắt đầu","startTime":"Ngày kết thúc","status":"Trạng thái","time":"Thời gian","today":"Hôm nay","todays":"Hôm nay","type":"Loại","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","vitals":"Các yếu tố quan trọng","week":"Tuần","yes":"Có"}')}}]);
package/dist/7807.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[7807],{7807:e=>{e.exports=JSON.parse('{"action":"សកម្មភាព","actions":"សកម្មភាព","add":"បន្ថែម","age":"Age","allDay":"All day","appointmentCancelError":"កំហុសក្នុងការបោះបង់ការណាត់ជួប","appointmentCancelled":"ការណាត់ជួបត្រូវបានលុបចោល","appointmentCancelledSuccessfully":"ការណាត់ជួបបានលុបចោលដោយជោគជ័យ","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"ពណ៌ណាត់ជួប","appointmentConflict":"Appointment conflict","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":"កំហុសក្នុងការកំណត់ពេលណាត់ជួប","appointmentHistory":"ប្រវត្តិនៃការណាត់ជួប","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"មាត្រដ្ឋានណាត់ជួប","appointmentMetricsLoadError":"","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"កំណត់សម្គាល់ការណាត់ជួប","appointmentNowVisible":"ឥឡូវនេះវាអាចមើលឃើញនៅលើទំព័រណាត់ជួប","appointments":"ការណាត់ជួប","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"ការណាត់ជួបតាមកាលវិភាគ","appointmentService":"សេវាកម្មណាត់ជួប","appointmentServiceCreate":"សេវាកម្មណាត់ជួបត្រូវបានបង្កើតដោយជោគជ័យ","appointmentServiceName":"ឈ្មោះសេវាកម្មណាត់ជួប","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"ប្រភេទនៃការណាត់ជួប","appointmentType_title":"ប្រភេទនៃការណាត់ជួប","back":"ត្រឡប់មកវិញ","calendar":"ប្រតិទិន","cameEarly":"Came early","cancel":"បោះបង់","cancelAppointment":"បោះបង់ការណាត់ជួប","cancelAppointmentModalConfirmationText":"តើអ្នកពិតជាចង់លុបចោលការណាត់ជួបនេះមែនទេ?","cancelled":"បានលុបចោល","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"កត់ឈ្មោះចូល","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"ជ្រើសរើសសេវាកម្ម","completed":"បានបញ្ចប់","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"បង្កើតសេវាកម្មណាត់ជួប","createNewAppointment":"Create new appointment","date":"កាលបរិច្ឆេទ","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"បោះបង់","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"រយៈពេលអប្បបរមា","edit":"កែសម្រួល","editAppointment":"កែសម្រួលការណាត់ជួប","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"ការជួប","encounterType":"ប្រភេទជួប","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.","endDate":"End date","endTime":"ពេលវេលាបញ្ចប់","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"អ្នកកំណត់អត្តសញ្ញាណ","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"ទីតាំង","medications":"ថ្នាំ","missed":"ខកខាន","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"ទេ","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"មិនមានការណាត់ជួបសម្រាប់ថ្ងៃនេះ ដើម្បីបង្ហាញអ្នកជំងឺនេះទេ","noEncountersFound":"រកមិនឃើញការជួបគ្នាទេ។","noPastAppointments":"មិនមានការណាត់ជួបពីមុនដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ","noPreviousVisitFound":"រកមិនឃើញការមកពិនិត្យពីលើកមុនទេ។","notArrived":"Not arrived","note":"Note","notes":"កំណត់ចំណាំ","noUpcomingAppointments":"មិនមានការណាត់ជួបនាពេលខាងមុខដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ","noUpcomingAppointmentsForPatient":"មិនមានការណាត់ជួបនាពេលខាងមុខដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ","pageNumber":"Page number","past":"អតីតកាល","patientDetails":"ព័ត៌មានលម្អិតអ្នកជំងឺ","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"ឈ្មោះអ្នកជំងឺ","patients":"អ្នកជំងឺ","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"អ្នកផ្តល់សេវា","providers":"អ្នកផ្តល់សេវា","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","save":"រក្សាទុក","saveAndClose":"Save and close","scheduled":"បានកំណត់ពេល","scheduledAppointments":"ការណាត់ជួបតាមកាលវិភាគ","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"ជ្រើសរើសស្ថានភាព","selectAppointmentType":"ជ្រើសរើសប្រភេទការណាត់ជួប","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"ជ្រើសរើសសេវាកម្ម","selectServiceType":"Select service type","service":"សេវាកម្ម","serviceName":"Service name","serviceType":"ប្រភេទសេវាកម្ម","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"ពេលវេលាចាប់ផ្តើម","status":"Status","time":"ពេលវេលា","today":"ថ្ងៃនេះ","todays":"Today\'s","type":"Type","unscheduled":"មិនបានគ្រោងទុក","unscheduledAppointments":"ការណាត់ជួបដែលមិនបានគ្រោងទុក","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"ការណាត់ជួបនាពេលខាងមុខ","updateError":"Error updating upcoming appointment","view":"ពិនិត្យមើល","vitals":"សញ្ញាជីវិត","week":"Week","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[7807],{7807:e=>{e.exports=JSON.parse('{"action":"សកម្មភាព","actions":"សកម្មភាព","add":"បន្ថែម","age":"Age","allDay":"All day","appointmentCancelError":"កំហុសក្នុងការបោះបង់ការណាត់ជួប","appointmentCancelled":"ការណាត់ជួបត្រូវបានលុបចោល","appointmentCancelledSuccessfully":"ការណាត់ជួបបានលុបចោលដោយជោគជ័យ","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"ពណ៌ណាត់ជួប","appointmentConflict":"Appointment conflict","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":"កំហុសក្នុងការកំណត់ពេលណាត់ជួប","appointmentHistory":"ប្រវត្តិនៃការណាត់ជួប","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"មាត្រដ្ឋានណាត់ជួប","appointmentMetricsLoadError":"","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"កំណត់សម្គាល់ការណាត់ជួប","appointmentNowVisible":"ឥឡូវនេះវាអាចមើលឃើញនៅលើទំព័រណាត់ជួប","appointments":"ការណាត់ជួប","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"ការណាត់ជួបតាមកាលវិភាគ","appointmentService":"សេវាកម្មណាត់ជួប","appointmentServiceCreate":"សេវាកម្មណាត់ជួបត្រូវបានបង្កើតដោយជោគជ័យ","appointmentServiceName":"ឈ្មោះសេវាកម្មណាត់ជួប","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"ប្រភេទនៃការណាត់ជួប","appointmentType_title":"ប្រភេទនៃការណាត់ជួប","back":"ត្រឡប់មកវិញ","calendar":"ប្រតិទិន","cameEarly":"Came early","cancel":"បោះបង់","cancelAppointment":"បោះបង់ការណាត់ជួប","cancelAppointmentModalConfirmationText":"តើអ្នកពិតជាចង់លុបចោលការណាត់ជួបនេះមែនទេ?","cancelled":"បានលុបចោល","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"កត់ឈ្មោះចូល","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"ជ្រើសរើសសេវាកម្ម","completed":"បានបញ្ចប់","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"បង្កើតសេវាកម្មណាត់ជួប","createNewAppointment":"Create new appointment","date":"កាលបរិច្ឆេទ","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"បោះបង់","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"រយៈពេលអប្បបរមា","edit":"កែសម្រួល","editAppointment":"កែសម្រួលការណាត់ជួប","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"ការជួប","encounterType":"ប្រភេទជួប","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.","endDate":"End date","endTime":"ពេលវេលាបញ្ចប់","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"អ្នកកំណត់អត្តសញ្ញាណ","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"ទីតាំង","medications":"ថ្នាំ","missed":"ខកខាន","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"ទេ","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"មិនមានការណាត់ជួបសម្រាប់ថ្ងៃនេះ ដើម្បីបង្ហាញអ្នកជំងឺនេះទេ","noEncountersFound":"រកមិនឃើញការជួបគ្នាទេ។","noMatchingAppointments":"No matching appointments found","noPastAppointments":"មិនមានការណាត់ជួបពីមុនដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ","noPreviousVisitFound":"រកមិនឃើញការមកពិនិត្យពីលើកមុនទេ។","notArrived":"Not arrived","note":"Note","notes":"កំណត់ចំណាំ","noUpcomingAppointments":"មិនមានការណាត់ជួបនាពេលខាងមុខដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ","noUpcomingAppointmentsForPatient":"មិនមានការណាត់ជួបនាពេលខាងមុខដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ","pageNumber":"Page number","past":"អតីតកាល","patientDetails":"ព័ត៌មានលម្អិតអ្នកជំងឺ","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"ឈ្មោះអ្នកជំងឺ","patients":"អ្នកជំងឺ","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"អ្នកផ្តល់សេវា","providers":"អ្នកផ្តល់សេវា","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","save":"រក្សាទុក","saveAndClose":"Save and close","scheduled":"បានកំណត់ពេល","scheduledAppointments":"ការណាត់ជួបតាមកាលវិភាគ","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"ជ្រើសរើសស្ថានភាព","selectAppointmentType":"ជ្រើសរើសប្រភេទការណាត់ជួប","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"ជ្រើសរើសសេវាកម្ម","service":"សេវាកម្ម","serviceName":"Service name","serviceType":"ប្រភេទសេវាកម្ម","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"ពេលវេលាចាប់ផ្តើម","status":"Status","time":"ពេលវេលា","today":"ថ្ងៃនេះ","todays":"Today\'s","type":"Type","unscheduled":"មិនបានគ្រោងទុក","unscheduledAppointments":"ការណាត់ជួបដែលមិនបានគ្រោងទុក","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"ការណាត់ជួបនាពេលខាងមុខ","updateError":"Error updating upcoming appointment","vitals":"សញ្ញាជីវិត","week":"Week","yes":"Yes"}')}}]);
package/dist/8271.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[8271],{8271:e=>{e.exports=JSON.parse('{"action":"操作","actions":"操作","add":"添加","age":"年龄","allDay":"全天","appointmentCancelError":"取消预约时出现错误","appointmentCancelled":"预约已取消","appointmentCancelledSuccessfully":"预约已成功取消","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"预约颜色","appointmentConflict":"Appointment conflict","appointmentEdited":"预约已编辑","appointmentEditError":"编辑预约时出现错误","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":"安排预约时出现错误","appointmentHistory":"预约历史","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"预约指标","appointmentMetricsLoadError":"","appointmentNoteLabel":"输入附加备注","appointmentNotePlaceholder":"在这里输入任何额外的要点备注","appointmentNotes":"预约备注","appointmentNowVisible":"现在在预约页面上可见","appointments":"预约","Appointments":"预约","appointments_lower":"预约","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"预约已安排","appointmentService":"预约服务","appointmentServiceCreate":"预约服务创建成功","appointmentServiceName":"预约服务名称","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":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"创建预约服务","createNewAppointment":"创建新预约","date":"日期","date&Time":"日期&时间","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"出生日期","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"日期&时间","day":"天","daysOfWeek":"星期几","discard":"放弃","download":"下载","durationErrorMessage":"持续时间应大于零","durationInMinutes":"持续时间(分钟)","durationMins":"持续时间(分钟)","edit":"编辑","editAppointment":"编辑预约","editAppointments":"编辑预约","emptyStateText":"没有<1>{{displayText}}</1>可显示","encounters":"问诊","encounterType":"问诊类型","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.","endDate":"结束日期","endTime":"结束时间","errorCreatingAppointmentService":"创建预约服务时出现错误","expected":"预期的","filterTable":"筛选表格","gender":"性别","highestServiceVolume":"最高量服务:{{time}}","identifier":"ID","invalidNumber":"数值无效","isRecurringAppointment":"这是一个定期预约吗?","itemsPerPage":"每页条目数","loading":"加载中","location":"地点","medications":"药物","missed":"未就诊","next":"Next","nextMonth":"Next month","nextPage":"下一页","no":"否","noAppointmentsToDisplay":"没有预约可显示","noContent":"没有内容","noCurrentAppointments":"该患者没有安排在今日的预约","noEncountersFound":"未找到问诊记录","noPastAppointments":"该患者没有历史预约","noPreviousVisitFound":"未找到先前的就诊","notArrived":"未到达","note":"备注","notes":"备注","noUpcomingAppointments":"未找到即将到来的预约","noUpcomingAppointmentsForPatient":"该患者没有即将到来的预约","pageNumber":"页码","past":"过往","patientDetails":"患者详情","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"患者姓名","patients":"患者","period":"周期","prev":"Prev","previousMonth":"Previous month","previousPage":"上一页","provider":"提供者","providers":"提供者","providersBooked":"提供者预订:{{time}}","recurringAppointment":"定期预约","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"重复每","save":"保存","saveAndClose":"保存并关闭","scheduled":"已安排","scheduledAppointments":"已安排的预约","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"选择状态","selectAppointmentType":"选择一个预约类型","selectLocation":"选择地点","selectOption":"选择一个选项","selectProvider":"选择一个提供者","selectService":"选择一个服务","selectServiceType":"选择服务类型","service":"服务","serviceName":"服务名称","serviceType":"服务类型","serviceUnavailable":"Appointment time is outside of service hours","startDate":"开始日期","startTime":"开始时间","status":"状态","time":"时间","today":"今日","todays":"今日","type":"Type","unscheduled":"未安排","unscheduledAppointments":"未安排的预约","unscheduledAppointments_lower":"未安排的预约","upcoming":"即将到来","upcomingAppointments":"即将到来的预约","updateError":"Error updating upcoming appointment","view":"查看","vitals":"生命体征","week":"周","yes":"是"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[8271],{8271:e=>{e.exports=JSON.parse('{"action":"操作","actions":"操作","add":"添加","age":"年龄","allDay":"全天","appointmentCancelError":"取消预约时出现错误","appointmentCancelled":"预约已取消","appointmentCancelledSuccessfully":"预约已成功取消","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"预约颜色","appointmentConflict":"Appointment conflict","appointmentEdited":"预约已编辑","appointmentEditError":"编辑预约时出现错误","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":"安排预约时出现错误","appointmentHistory":"预约历史","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"预约指标","appointmentMetricsLoadError":"","appointmentNoteLabel":"输入附加备注","appointmentNotePlaceholder":"在这里输入任何额外的要点备注","appointmentNotes":"预约备注","appointmentNowVisible":"现在在预约页面上可见","appointments":"预约","Appointments":"预约","appointments_lower":"预约","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"预约已安排","appointmentService":"预约服务","appointmentServiceCreate":"预约服务创建成功","appointmentServiceName":"预约服务名称","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":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"创建预约服务","createNewAppointment":"创建新预约","date":"日期","date&Time":"日期&时间","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"出生日期","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"日期&时间","day":"天","daysOfWeek":"星期几","discard":"放弃","download":"下载","durationErrorMessage":"持续时间应大于零","durationInMinutes":"持续时间(分钟)","durationMins":"持续时间(分钟)","edit":"编辑","editAppointment":"编辑预约","editAppointments":"编辑预约","emptyStateText":"没有<1>{{displayText}}</1>可显示","encounters":"问诊","encounterType":"问诊类型","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.","endDate":"结束日期","endTime":"结束时间","errorCreatingAppointmentService":"创建预约服务时出现错误","expected":"预期的","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"筛选表格","gender":"性别","highestServiceVolume":"最高量服务:{{time}}","identifier":"ID","invalidNumber":"数值无效","isRecurringAppointment":"这是一个定期预约吗?","itemsPerPage":"每页条目数","loading":"加载中","location":"地点","medications":"药物","missed":"未就诊","next":"Next","nextMonth":"Next month","nextPage":"下一页","no":"否","noAppointmentsToDisplay":"没有预约可显示","noContent":"没有内容","noCurrentAppointments":"该患者没有安排在今日的预约","noEncountersFound":"未找到问诊记录","noMatchingAppointments":"No matching appointments found","noPastAppointments":"该患者没有历史预约","noPreviousVisitFound":"未找到先前的就诊","notArrived":"未到达","note":"备注","notes":"备注","noUpcomingAppointments":"未找到即将到来的预约","noUpcomingAppointmentsForPatient":"该患者没有即将到来的预约","pageNumber":"页码","past":"过往","patientDetails":"患者详情","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"患者姓名","patients":"患者","period":"周期","prev":"Prev","previousMonth":"Previous month","previousPage":"上一页","provider":"提供者","providers":"提供者","providersBooked":"提供者预订:{{time}}","recurringAppointment":"定期预约","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"重复每","save":"保存","saveAndClose":"保存并关闭","scheduled":"已安排","scheduledAppointments":"已安排的预约","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"选择状态","selectAppointmentType":"选择一个预约类型","selectLocation":"选择地点","selectOption":"选择一个选项","selectProvider":"选择一个提供者","selectService":"选择一个服务","service":"服务","serviceName":"服务名称","serviceType":"服务类型","serviceUnavailable":"Appointment time is outside of service hours","startDate":"开始日期","startTime":"开始时间","status":"状态","time":"时间","today":"今日","todays":"今日","type":"Type","unscheduled":"未安排","unscheduledAppointments":"未安排的预约","unscheduledAppointments_lower":"未安排的预约","upcoming":"即将到来","upcomingAppointments":"即将到来的预约","updateError":"Error updating upcoming appointment","vitals":"生命体征","week":"周","yes":"是"}')}}]);
package/dist/8319.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[8319],{8319:e=>{e.exports=JSON.parse('{"action":"Acción","actions":"Acciones","add":"Agregar","age":"Edad","allDay":"Todo el día","appointmentCancelError":"Error al cancelar la cita","appointmentCancelled":"Cita Cancelada","appointmentCancelledSuccessfully":"Cita cancelada con éxito","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Color de la cita","appointmentConflict":"Conflicto en las citas","appointmentEdited":"Cita editada","appointmentEditError":"Error al editar la cita","appointmentEnded":"Cita finalizada","appointmentEndedAndVisitClosedSuccessfully":"Cita finalizada exitosamente y consulta cerrada exitosamente","appointmentEndedButVisitNotClosedError":"Cita finalizada, pero hubo un error al cerrar la consulta","appointmentEndedSuccessfully":"Cita finalizada con éxito.","appointmentEndError":"Error al finalizar la cita","appointmentFormError":"Error al programar la cita","appointmentHistory":"Historial de Citas","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"Métricas de citas","appointmentMetricsLoadError":"","appointmentNoteLabel":"Escriba una nota adicional","appointmentNotePlaceholder":"Escriba cualquier punto adicional aquí","appointmentNotes":"Notas de la Cita","appointmentNowVisible":"Ahora es visible en la página de Citas","appointments":"Citas","Appointments":"Citas","appointments_lower":"citas","appointmentsCalendar":"Calendario de citas","appointmentScheduled":"Cita programada","appointmentService":"Servicio de citas","appointmentServiceCreate":"Servicio de citas creado exitosamente","appointmentServiceName":"Nombre del servicio de citas","appointmentsScheduledForToday":"citas agendadas para hoy","appointmentsTable":"Tabla de citas","appointmentStatus":"Estado de la cita","appointmentToFulfill":"Seleccione una cita para completar","appointmentType":"Tipo de cita","appointmentType_title":"Tipo de Cita","back":"Atrás","calendar":"Calendario","cameEarly":"Llegó Temprano","cancel":"Cancelar","cancelAppointment":"Cancelar Cita","cancelAppointmentModalConfirmationText":"¿Está seguro de que desea cancelar esta cita?","cancelled":"Cancelada","checkedIn":"Llegada Registrada","checkedOut":"Salida Registrada","checkFilters":"Revise los filtros arriba","checkIn":"Registrar Entrada","checkOut":"Registrar Salida","chooseAppointmentType":"Elija un tipo de cita","chooseLocation":"Elija una ubicación","chooseProvider":"Elija un proveedor de la salud","chooseService":"Seleccionar servicio","completed":"Completado","Contact":"Contacto {{index}}","countMore_one":"{{count}} más","countMore_other":"{{count}} más","createAppointmentService":"Crear servicios de citas","createNewAppointment":"Crear nueva cita","date":"Fecha","date&Time":"Fecha y hora","dateAppointmentIssuedCannotBeAfterAppointmentDate":"La fecha de emisión de la cita no puede ser posterior a la fecha de la cita","dateOfBirth":"Fecha de nacimiento","dateScheduled":"Fecha de emisión de la cita","dateScheduledDetail":"Fecha de emisión de la cita","dateTime":"Fecha y Hora","day":"Día","daysOfWeek":"Días de la semana","discard":"Descartar","download":"Descargar","durationErrorMessage":"La duración debe ser mayor que cero","durationInMinutes":"Duración (minutos)","durationMins":"Duración (min)","edit":"Editar","editAppointment":"Editar Cita","editAppointments":"Editar Cita","emptyStateText":"No hay <1>{{displayText}}</1> para mostrar","encounters":"Encuentros","encounterType":"Tipo de encuentro","endAppointmentAndVisitConfirmationMessage":"Registrar la salida del paciente marcará la cita como completada y cerrará la consulta activa para este paciente.","endAppointmentConfirmation":"¿Está seguro de que desea registrar la salida del paciente para esta cita?","endAppointmentConfirmationMessage":"Registrar la salida del paciente marcará la cita como completada.","endDate":"Fecha de finalización","endTime":"Hora de finalización","errorCreatingAppointmentService":"Error al crear el servicio de cita","expected":"Esperado","filterTable":"Filtrar tabla","gender":"Género","highestServiceVolume":"Servicio de mayor volumen: {{time}}","identifier":"Identificador","invalidNumber":"El número no es válido","isRecurringAppointment":"¿Esta es una cita recurrente?","itemsPerPage":"Elementos por página","loading":"Cargando","location":"Ubicación","medications":"Medicamentos","missed":"Perdida","next":"Siguiente","nextMonth":"Siguiente mes","nextPage":"Siguiente página","no":"No","noAppointmentsToDisplay":"No hay citas para mostrar","noContent":"No hay Contenido","noCurrentAppointments":"No hay citas programadas para hoy para mostrar para este paciente.","noEncountersFound":"No se encontraron encuentros","noPastAppointments":"No hay citas anteriores para mostrar para este paciente","noPreviousVisitFound":"No se encontraron consultas anteriores","notArrived":"No ha llegado","note":"Nota","notes":"Notas","noUpcomingAppointments":"No se encontraron próximas citas","noUpcomingAppointmentsForPatient":"No hay próximas citas para mostrar para este paciente.","pageNumber":"Número de página","past":"Pasado","patientDetails":"Detalles del Paciente","patientDoubleBooking":"El paciente ya agendó una cita para esta hora","patientName":"Nombre del paciente","patients":"Pacientes","period":"Periodo","prev":"Ant","previousMonth":"Mes anterior","previousPage":"Página anterior","provider":"Proveedor de la Salud","providers":"Personal de la Salud","providersBooked":"Personal de la Salud agendado: {{time}}","recurringAppointment":"Cita Recurrente","recurringAppointmentShouldHaveEndDate":"Una cita recurrente debe tener una fecha de finalización","repeatEvery":"Repetir cada","save":"Guardar","saveAndClose":"Guardar y cerrar","scheduled":"Programada","scheduledAppointments":"Citas programadas","scheduledForToday":"Programada Para Hoy","selectALocation":"Seleccionar una ubicación","selectAppointmentStatus":"Seleccionar estado","selectAppointmentType":"Seleccione un tipo de cita","selectLocation":"Seleccionar ubicación","selectOption":"Seleccione una opción","selectProvider":"Seleccione un proveedor de la salud","selectService":"Seleccione un servicio","selectServiceType":"Seleccionar tipo de servicio","service":"Servicio","serviceName":"Nombre del servicio","serviceType":"Tipo de Servicio","serviceUnavailable":"La hora de la cita está fuera de las horas de servicio","startDate":"Fecha de inicio","startTime":"Hora de inicio","status":"Estado","time":"Tiempo","today":"Hoy","todays":"Hoy día es","type":"Tipo","unscheduled":"No programada","unscheduledAppointments":"Citas no programadas","unscheduledAppointments_lower":"citas no programadas","upcoming":"Próximas","upcomingAppointments":"Próximas citas","updateError":"Error updating upcoming appointment","view":"Ver","vitals":"Signos Vitales","week":"Semana","yes":"Sí"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[8319],{8319:e=>{e.exports=JSON.parse('{"action":"Acción","actions":"Acciones","add":"Agregar","age":"Edad","allDay":"Todo el día","appointmentCancelError":"Error al cancelar la cita","appointmentCancelled":"Cita Cancelada","appointmentCancelledSuccessfully":"Cita cancelada con éxito","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Color de la cita","appointmentConflict":"Conflicto en las citas","appointmentEdited":"Cita editada","appointmentEditError":"Error al editar la cita","appointmentEnded":"Cita finalizada","appointmentEndedAndVisitClosedSuccessfully":"Cita finalizada exitosamente y consulta cerrada exitosamente","appointmentEndedButVisitNotClosedError":"Cita finalizada, pero hubo un error al cerrar la consulta","appointmentEndedSuccessfully":"Cita finalizada con éxito.","appointmentEndError":"Error al finalizar la cita","appointmentFormError":"Error al programar la cita","appointmentHistory":"Historial de Citas","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"Métricas de citas","appointmentMetricsLoadError":"","appointmentNoteLabel":"Escriba una nota adicional","appointmentNotePlaceholder":"Escriba cualquier punto adicional aquí","appointmentNotes":"Notas de la Cita","appointmentNowVisible":"Ahora es visible en la página de Citas","appointments":"Citas","Appointments":"Citas","appointments_lower":"citas","appointmentsCalendar":"Calendario de citas","appointmentScheduled":"Cita programada","appointmentService":"Servicio de citas","appointmentServiceCreate":"Servicio de citas creado exitosamente","appointmentServiceName":"Nombre del servicio de citas","appointmentsScheduledForToday":"citas agendadas para hoy","appointmentsTable":"Tabla de citas","appointmentStatus":"Estado de la cita","appointmentToFulfill":"Seleccione una cita para completar","appointmentType":"Tipo de cita","appointmentType_title":"Tipo de Cita","back":"Atrás","calendar":"Calendario","cameEarly":"Llegó Temprano","cancel":"Cancelar","cancelAppointment":"Cancelar Cita","cancelAppointmentModalConfirmationText":"¿Está seguro de que desea cancelar esta cita?","cancelled":"Cancelada","checkedIn":"Llegada Registrada","checkedOut":"Salida Registrada","checkFilters":"Revise los filtros arriba","checkIn":"Registrar Entrada","checkOut":"Registrar Salida","chooseAppointmentType":"Elija un tipo de cita","chooseLocation":"Elija una ubicación","chooseProvider":"Elija un proveedor de la salud","chooseService":"Seleccionar servicio","completed":"Completado","Contact":"Contacto {{index}}","countMore_one":"{{count}} más","countMore_other":"{{count}} más","createAppointmentService":"Crear servicios de citas","createNewAppointment":"Crear nueva cita","date":"Fecha","date&Time":"Fecha y hora","dateAppointmentIssuedCannotBeAfterAppointmentDate":"La fecha de emisión de la cita no puede ser posterior a la fecha de la cita","dateOfBirth":"Fecha de nacimiento","dateScheduled":"Fecha de emisión de la cita","dateScheduledDetail":"Fecha de emisión de la cita","dateTime":"Fecha y Hora","day":"Día","daysOfWeek":"Días de la semana","discard":"Descartar","download":"Descargar","durationErrorMessage":"La duración debe ser mayor que cero","durationInMinutes":"Duración (minutos)","durationMins":"Duración (min)","edit":"Editar","editAppointment":"Editar Cita","editAppointments":"Editar Cita","emptyStateText":"No hay <1>{{displayText}}</1> para mostrar","encounters":"Encuentros","encounterType":"Tipo de encuentro","endAppointmentAndVisitConfirmationMessage":"Registrar la salida del paciente marcará la cita como completada y cerrará la consulta activa para este paciente.","endAppointmentConfirmation":"¿Está seguro de que desea registrar la salida del paciente para esta cita?","endAppointmentConfirmationMessage":"Registrar la salida del paciente marcará la cita como completada.","endDate":"Fecha de finalización","endTime":"Hora de finalización","errorCreatingAppointmentService":"Error al crear el servicio de cita","expected":"Esperado","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filtrar tabla","gender":"Género","highestServiceVolume":"Servicio de mayor volumen: {{time}}","identifier":"Identificador","invalidNumber":"El número no es válido","isRecurringAppointment":"¿Esta es una cita recurrente?","itemsPerPage":"Elementos por página","loading":"Cargando","location":"Ubicación","medications":"Medicamentos","missed":"Perdida","next":"Siguiente","nextMonth":"Siguiente mes","nextPage":"Siguiente página","no":"No","noAppointmentsToDisplay":"No hay citas para mostrar","noContent":"No hay Contenido","noCurrentAppointments":"No hay citas programadas para hoy para mostrar para este paciente.","noEncountersFound":"No se encontraron encuentros","noMatchingAppointments":"No matching appointments found","noPastAppointments":"No hay citas anteriores para mostrar para este paciente","noPreviousVisitFound":"No se encontraron consultas anteriores","notArrived":"No ha llegado","note":"Nota","notes":"Notas","noUpcomingAppointments":"No se encontraron próximas citas","noUpcomingAppointmentsForPatient":"No hay próximas citas para mostrar para este paciente.","pageNumber":"Número de página","past":"Pasado","patientDetails":"Detalles del Paciente","patientDoubleBooking":"El paciente ya agendó una cita para esta hora","patientName":"Nombre del paciente","patients":"Pacientes","period":"Periodo","prev":"Ant","previousMonth":"Mes anterior","previousPage":"Página anterior","provider":"Proveedor de la Salud","providers":"Personal de la Salud","providersBooked":"Personal de la Salud agendado: {{time}}","recurringAppointment":"Cita Recurrente","recurringAppointmentShouldHaveEndDate":"Una cita recurrente debe tener una fecha de finalización","repeatEvery":"Repetir cada","save":"Guardar","saveAndClose":"Guardar y cerrar","scheduled":"Programada","scheduledAppointments":"Citas programadas","scheduledForToday":"Programada Para Hoy","selectALocation":"Seleccionar una ubicación","selectAppointmentStatus":"Seleccionar estado","selectAppointmentType":"Seleccione un tipo de cita","selectLocation":"Seleccionar ubicación","selectOption":"Seleccione una opción","selectProvider":"Seleccione un proveedor de la salud","selectService":"Seleccione un servicio","service":"Servicio","serviceName":"Nombre del servicio","serviceType":"Tipo de Servicio","serviceUnavailable":"La hora de la cita está fuera de las horas de servicio","startDate":"Fecha de inicio","startTime":"Hora de inicio","status":"Estado","time":"Tiempo","today":"Hoy","todays":"Hoy día es","type":"Tipo","unscheduled":"No programada","unscheduledAppointments":"Citas no programadas","unscheduledAppointments_lower":"citas no programadas","upcoming":"Próximas","upcomingAppointments":"Próximas citas","updateError":"Error updating upcoming appointment","vitals":"Signos Vitales","week":"Semana","yes":"Sí"}')}}]);