@kenyaemr/esm-appointments-app 8.1.2-pre.183 → 8.1.2-pre.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +30 -26
- package/dist/111.js +2 -0
- package/dist/111.js.LICENSE.txt +15 -0
- package/dist/111.js.map +1 -0
- package/dist/123.js +2 -0
- package/dist/{457.js.LICENSE.txt → 123.js.LICENSE.txt} +24 -11
- package/dist/123.js.map +1 -0
- package/dist/130.js +2 -0
- package/dist/130.js.map +1 -0
- package/dist/171.js +1 -0
- package/dist/171.js.map +1 -0
- package/dist/174.js +1 -0
- package/dist/174.js.map +1 -0
- package/dist/2.js +2 -0
- package/dist/{216.js.LICENSE.txt → 2.js.LICENSE.txt} +2 -2
- package/dist/2.js.map +1 -0
- package/dist/{241.js → 228.js} +1 -1
- package/dist/{723.js → 236.js} +1 -1
- package/dist/{146.js → 240.js} +1 -1
- package/dist/{173.js → 261.js} +1 -1
- package/dist/269.js +1 -0
- package/dist/269.js.map +1 -0
- package/dist/{879.js → 271.js} +1 -1
- package/dist/{294.js → 272.js} +1 -1
- package/dist/319.js +1 -0
- package/dist/325.js +1 -0
- package/dist/325.js.map +1 -0
- package/dist/336.js +1 -0
- package/dist/372.js +1 -0
- package/dist/372.js.map +1 -0
- package/dist/{679.js → 378.js} +1 -1
- package/dist/443.js +1 -0
- package/dist/443.js.map +1 -0
- package/dist/{132.js → 460.js} +1 -1
- package/dist/529.js +1 -0
- package/dist/{712.js.map → 529.js.map} +1 -1
- package/dist/539.js +1 -0
- package/dist/{468.js → 566.js} +1 -1
- package/dist/574.js +1 -0
- package/dist/581.js +1 -0
- package/dist/581.js.map +1 -0
- package/dist/591.js +2 -0
- package/dist/{913.js.LICENSE.txt → 591.js.LICENSE.txt} +3 -3
- package/dist/591.js.map +1 -0
- package/dist/{661.js → 644.js} +1 -1
- package/dist/652.js +1 -1
- package/dist/673.js +1 -0
- package/dist/705.js +1 -0
- package/dist/711.js +1 -0
- package/dist/711.js.map +1 -0
- package/dist/727.js +1 -0
- package/dist/737.js +1 -0
- package/dist/744.js +1 -0
- package/dist/757.js +1 -0
- package/dist/784.js +2 -0
- package/dist/784.js.map +1 -0
- package/dist/{197.js → 788.js} +1 -1
- package/dist/{335.js → 807.js} +1 -1
- package/dist/833.js +1 -1
- package/dist/899.js +1 -0
- package/dist/923.js +1 -0
- package/dist/923.js.map +1 -0
- package/dist/kenyaemr-esm-appointments-app.js +1 -1
- package/dist/kenyaemr-esm-appointments-app.js.buildmanifest.json +286 -313
- package/dist/kenyaemr-esm-appointments-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +2 -7
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/dashboard.meta.ts +3 -1
- package/src/index.ts +3 -1
- package/dist/144.js +0 -2
- package/dist/144.js.LICENSE.txt +0 -19
- package/dist/144.js.map +0 -1
- package/dist/167.js +0 -1
- package/dist/167.js.map +0 -1
- package/dist/214.js +0 -1
- package/dist/214.js.map +0 -1
- package/dist/216.js +0 -2
- package/dist/216.js.map +0 -1
- package/dist/300.js +0 -1
- package/dist/323.js +0 -1
- package/dist/323.js.map +0 -1
- package/dist/41.js +0 -2
- package/dist/41.js.map +0 -1
- package/dist/442.js +0 -1
- package/dist/449.js +0 -1
- package/dist/449.js.map +0 -1
- package/dist/457.js +0 -2
- package/dist/457.js.map +0 -1
- package/dist/495.js +0 -1
- package/dist/495.js.map +0 -1
- package/dist/538.js +0 -1
- package/dist/55.js +0 -1
- package/dist/618.js +0 -1
- package/dist/651.js +0 -1
- package/dist/651.js.map +0 -1
- package/dist/690.js +0 -1
- package/dist/712.js +0 -1
- package/dist/745.js +0 -1
- package/dist/745.js.map +0 -1
- package/dist/753.js +0 -2
- package/dist/753.js.LICENSE.txt +0 -3
- package/dist/753.js.map +0 -1
- package/dist/830.js +0 -1
- package/dist/830.js.map +0 -1
- package/dist/831.js +0 -2
- package/dist/831.js.map +0 -1
- package/dist/84.js +0 -1
- package/dist/84.js.map +0 -1
- package/dist/840.js +0 -1
- package/dist/859.js +0 -1
- package/dist/876.js +0 -1
- package/dist/876.js.map +0 -1
- package/dist/900.js +0 -1
- package/dist/913.js +0 -2
- package/dist/913.js.map +0 -1
- package/dist/944.js +0 -1
- package/dist/99.js +0 -1
- /package/dist/{831.js.LICENSE.txt → 130.js.LICENSE.txt} +0 -0
- /package/dist/{41.js.LICENSE.txt → 784.js.LICENSE.txt} +0 -0
package/dist/833.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[833],{
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[833],{5833:e=>{e.exports=JSON.parse('{"action":"פעולה","actions":"פעולות","add":"הוספה","age":"גיל","allDay":"כל היום","appointmentCancelError":"שגיאה בביטול התור","appointmentCancelled":"התור בוטל","appointmentCancelledSuccessfully":"התור בוטל בהצלחה","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"צבע התור","appointmentConflict":"סתירת תורים","appointmentEdited":"התור נערך","appointmentEditError":"שגיאה בעריכת תור","appointmentEnded":"התור הסתיים","appointmentEndedAndVisitClosedSuccessfully":"התור הסתיים והביקור נסגר בהצלחה","appointmentEndedButVisitNotClosedError":"התור הסתיים אבל אירעה שגיאה בסגירת הביקור","appointmentEndedSuccessfully":"התור הסתיים בהצלחה.","appointmentEndError":"שגיאה בסיום תור","appointmentFormError":"שגיאה בתזמון התור","appointmentHistory":"היסטוריית התורים","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"מדדי התורים","appointmentMetricsLoadError":"","appointmentNoteLabel":"הצגת הערה נוספ","appointmentNotePlaceholder":"כאן ניתן לכתוב נקודות נוספות","appointmentNotes":"הערות לתור","appointmentNowVisible":"התור מופיע כעת בעמוד התורים","appointments":"תורים","Appointments":"תורים","appointments_lower":"תורים","appointmentsCalendar":"לוח תורים","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":"יצירת קשר עם {{index}}","countMore_one":"עוד {{count}}","countMore_other":"עוד {{count}}","createAppointmentService":"יצירת שירותי תורים","createNewAppointment":"יצירת תור חדש","date":"תאריך","date&Time":"תאריך ושעה","dateAppointmentIssuedCannotBeAfterAppointmentDate":"תאריך התור שהונפק לא יכול להיות אחרי תאריך התור","dateOfBirth":"תאריך לידה","dateScheduled":"הונפק תאריך לתור","dateScheduledDetail":"הונפק תאריך לתור","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":"מזהה","invalidNumber":"המספר שגוי","isRecurringAppointment":"זה תור חוזר?","itemsPerPage":"פריטים בעמוד","loading":"בטעינה","location":"מקום","medications":"תרופות","missed":"הוחמץ","next":"הבא","nextMonth":"חודש הבא","nextPage":"העמוד הבא","no":"לא","noAppointmentsToDisplay":"אין תורים להצגה","noContent":"אין תוכן","noCurrentAppointments":"אין תורים מתוזמנים להצגה עבור מטופל זה ליום הזה","noEncountersFound":"לא נמצאו פגישות","noPastAppointments":"אין תורי עבר להצגה עבור מטופל/ת אלה","noPreviousVisitFound":"לא נמצא ביקור קודם","notArrived":"לא הגיע/ה","note":"הערה","notes":"הערות","noUpcomingAppointments":"לא נמצאו תורים עתידיים","noUpcomingAppointmentsForPatient":"לא נמצאו תורים עתידיים למטפל/ת האלה","pageNumber":"מספר עמוד","past":"עבר","patientDetails":"פרטי המטופל","patientDoubleBooking":"למטופל/ת כבר הוזמן תור במועד הזה","patientName":"שם המטופל","patients":"מטופלים","period":"תקופה","prev":"הקודם","previousMonth":"החודש הקודם","previousPage":"העמוד הקודם","provider":"ספק","providers":"ספקים","providersBooked":"ספקים שהוזמנו: {{time}}","recurringAppointment":"תור חוזר","recurringAppointmentShouldHaveEndDate":"לתור חוזר צריך להיות תאריך סיום","repeatEvery":"חוזר כל","save":"שמירה","saveAndClose":"שמירה וסגירה","scheduled":"מתוזמן","scheduledAppointments":"תורים מתוזמנים","scheduledForToday":"מתוזמן להיום","selectALocation":"בחירת מקום","selectAppointmentStatus":"בחירת מצב","selectAppointmentType":"בחירת סוג תור","selectLocation":"בחירת מקום","selectOption":"בחירת אפשרות","selectProvider":"בחירת ספק","selectService":"בחירת שירות","selectServiceType":"בחירת סוג שירות","service":"שירות","serviceName":"שם השירות","serviceType":"סוג השירות","serviceUnavailable":"זמן התור הוא מחוץ לשעות השירות","startDate":"תאריך התחלה","startTime":"שעת התחלה","status":"מצב","time":"זמן","today":"היום","todays":"להיום","type":"סוג","unscheduled":"לא מתוזמן","unscheduledAppointments":"תורים שאינם מתוזמנים","unscheduledAppointments_lower":"תורים שאינם מתוזמנים","upcoming":"בקרוב","upcomingAppointments":"תורים עתידיים","updateError":"Error updating upcoming appointment","view":"הצגה","vitals":"מדדים","week":"Week","yes":"כן"}')}}]);
|
package/dist/899.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[899],{899: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"}')}}]);
|
package/dist/923.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[923],{6941:(n,e,t)=>{t.d(e,{Z:()=>c});var o=t(5698),r=t.n(o),a=t(9613),l=t.n(a)()(r());l.push([n.id,".-esm-appointments__patient-appointments-cancel__modalHeader___yUwtk .cds--modal-close-button{position:absolute;inset-block-start:0;inset-inline-end:0;margin:0;margin-top:calc(-1 * 1rem)}.-esm-appointments__patient-appointments-cancel__modalHeader___yUwtk .cds--modal-close{background-color:rgba(0,0,0,0)}.-esm-appointments__patient-appointments-cancel__modalHeader___yUwtk .cds--modal-close:hover{background-color:var(--cds-layer-hover)}.-esm-appointments__patient-appointments-cancel__modalHeader___yUwtk .cds--popover--left>.cds--popover>.cds--popover-content{transform:translate(-4rem, 0.85rem)}.-esm-appointments__patient-appointments-cancel__modalHeader___yUwtk .cds--popover--left>.cds--popover>.cds--popover-caret{transform:translate(-3.75rem, 1.25rem)}","",{version:3,sources:["webpack://./src/patient-appointments/patient-appointments-cancel.scss"],names:[],mappings:"AAII,8FACE,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,QAAA,CACA,0BAAA,CAGF,uFACE,8BAAA,CAEA,6FACE,uCAAA,CAIJ,6HACE,mCAAA,CAGF,2HACE,sCAAA",sourcesContent:["@use '@carbon/layout';\n\n.modalHeader {\n :global {\n .cds--modal-close-button {\n position: absolute;\n inset-block-start: 0;\n inset-inline-end: 0;\n margin: 0;\n margin-top: calc(-1 * #{layout.$spacing-05});\n }\n\n .cds--modal-close {\n background-color: rgba(0, 0, 0, 0);\n\n &:hover {\n background-color: var(--cds-layer-hover);\n }\n }\n\n .cds--popover--left > .cds--popover > .cds--popover-content {\n transform: translate(-4rem, 0.85rem);\n }\n\n .cds--popover--left > .cds--popover > .cds--popover-caret {\n transform: translate(-3.75rem, 1.25rem);\n }\n }\n}\n"],sourceRoot:""}]),l.locals={modalHeader:"-esm-appointments__patient-appointments-cancel__modalHeader___yUwtk"};const c=l},2923:(n,e,t)=>{t.r(e),t.d(e,{default:()=>S});var o=t(268),r=t.n(o),a=t(4924),l=t(3531),c=t(7234),s=t(8527),i=t(6062),p=t.n(i),u=t(4036),m=t.n(u),d=t(6793),f=t.n(d),A=t(7892),b=t.n(A),y=t(1173),_=t.n(y),v=t(2464),h=t.n(v),C=t(6941),k={};k.styleTagTransform=h(),k.setAttributes=b(),k.insert=f().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=_(),p()(C.Z,k);const w=C.Z&&C.Z.locals?C.Z.locals:void 0;function g(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=new Array(e);t<e;t++)o[t]=n[t];return o}function E(n,e,t,o,r,a,l){try{var c=n[a](l),s=c.value}catch(n){return void t(n)}c.done?e(s):Promise.resolve(s).then(o,r)}const S=function(n){var e,t,i,p,u=n.closeCancelModal,m=n.appointmentUuid,d=n.patientUuid,f=(0,a.useTranslation)().t,A=(0,s.W)(d,(new Date).toUTCString(),new AbortController).mutate,b=(i=(0,o.useState)(!1),p=2,function(n){if(Array.isArray(n))return n}(i)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a=[],l=!0,c=!1;try{for(t=t.call(n);!(l=(o=t.next()).done)&&(a.push(o.value),!e||a.length!==e);l=!0);}catch(n){c=!0,r=n}finally{try{l||null==t.return||t.return()}finally{if(c)throw r}}return a}}(i,p)||function(n,e){if(n){if("string"==typeof n)return g(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?g(n,e):void 0}}(i,p)||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.")}()),y=b[0],_=b[1],v=(e=function(){return function(n,e){var t,o,r,a,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;l;)try{if(t=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,o=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!((r=(r=l.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){l=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){l.label=a[1];break}if(6===a[0]&&l.label<r[1]){l.label=r[1],r=a;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(a);break}r[2]&&l.ops.pop(),l.trys.pop();continue}a=e.call(n,l)}catch(n){a=[6,n],o=0}finally{t=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}(this,(function(n){return _(!0),(0,s.q)("Cancelled",m).then((function(n){200===n.status&&(A(),u(),(0,c.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:f("appointmentCancelledSuccessfully","Appointment cancelled successfully"),title:f("appointmentCancelled","Appointment cancelled")}))})).catch((function(n){var e;(0,c.showSnackbar)({title:f("appointmentCancelError","Error cancelling appointment"),kind:"error",isLowContrast:!0,subtitle:null===(e=n)||void 0===e?void 0:e.message})})),[2]}))},t=function(){var n=this,t=arguments;return new Promise((function(o,r){var a=e.apply(n,t);function l(n){E(a,o,r,l,c,"next",n)}function c(n){E(a,o,r,l,c,"throw",n)}l(void 0)}))},function(){return t.apply(this,arguments)});return r().createElement("div",null,r().createElement(l.xBx,{className:w.modalHeader,closeModal:u,title:f("cancelAppointment","Cancel appointment")}),r().createElement(l.fef,null,r().createElement("p",null,f("cancelAppointmentModalConfirmationText","Are you sure you want to cancel this appointment?"))),r().createElement(l.mzw,null,r().createElement(l.zxk,{kind:"secondary",onClick:u},f("discard","Discard")),r().createElement(l.zxk,{kind:"danger",onClick:v,disabled:y},f("cancelAppointment","Cancel appointment"))))}}}]);
|
package/dist/923.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"923.js","mappings":"6MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,4vBAA6vB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,yEAAyE,MAAQ,GAAG,SAAW,kIAAkI,eAAiB,CAAC,opBAAopB,WAAa,MAErtDH,EAAwBI,OAAS,CAChC,YAAe,uEAEhB,S,yOCCIC,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQD,OAAS,IAAQA,YAASO,E,mOC4CnE,QAzDoF,Y,YAClFC,EAAAA,EAAAA,iBACAC,EAAAA,EAAAA,gBACAC,EAAAA,EAAAA,YAEM,GAAQC,EAAAA,EAAAA,kBAANC,EACF,GAAaC,EAAAA,EAAAA,GAAuBH,GAAa,IAAII,MAAOC,cAAe,IAAIC,iBAA7EC,OACgCC,G,GAAAA,EAAAA,EAAAA,WAAS,G,EAAA,E,+zBAA1CC,EAAiCD,EAAAA,GAAnBE,EAAmBF,EAAAA,GAElCG,G,EAAe,W,qkCACnBD,GAAgB,IAEhBE,EAAAA,EAAAA,GAAwB,YAAab,GAClCc,MAAK,YACW,MADRC,EAAAA,SAELP,IACAT,KACAiB,EAAAA,EAAAA,cAAa,CACXC,eAAe,EACfC,KAAM,UACNC,SAAUhB,EAAE,mCAAoC,sCAChDiB,MAAOjB,EAAE,uBAAwB,2BAGvC,IACCkB,OAAM,SAACC,G,IAKMA,GAJZN,EAAAA,EAAAA,cAAa,CACXI,MAAOjB,EAAE,yBAA0B,gCACnCe,KAAM,QACND,eAAe,EACfE,SAAUG,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAKC,SAEnB,I,MACJ,E,4NAEA,OACE,kBAACC,MAAAA,KACC,kBAACC,EAAAA,IAAWA,CACVC,UAAWC,EAAOC,YAClBC,WAAY9B,EACZqB,MAAOjB,EAAE,oBAAqB,wBAEhC,kBAAC2B,EAAAA,IAASA,KACR,kBAACC,IAAAA,KAAG5B,EAAE,yCAA0C,uDAElD,kBAAC6B,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACf,KAAK,YAAYgB,QAASnC,GAC/BI,EAAE,UAAW,YAEhB,kBAAC8B,EAAAA,IAAMA,CAACf,KAAK,SAASgB,QAAStB,EAAcuB,SAAUzB,GACpDP,EAAE,oBAAqB,wBAKlC,C","sources":["webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-appointments-cancel.scss","webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-appointments-cancel.scss?ce56","webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-appointments-cancel.modal.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","closeCancelModal","appointmentUuid","patientUuid","useTranslation","t","usePatientAppointments","Date","toUTCString","AbortController","mutate","useState","isSubmitting","setIsSubmitting","handleCancel","changeAppointmentStatus","then","status","showSnackbar","isLowContrast","kind","subtitle","title","catch","err","message","div","ModalHeader","className","styles","modalHeader","closeModal","ModalBody","p","ModalFooter","Button","onClick","disabled"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _kenyaemr_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g
|
|
1
|
+
var _kenyaemr_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g={5605:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(111),t.e(123),t.e(268),t.e(629),t.e(440),t.e(711)]).then((()=>()=>t(5711)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);y.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,y.d(o,a),o},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-appointments-app:",y.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@kenyaemr/esm-appointments-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","6.2.1-pre.2794",(()=>Promise.all([y.e(130),y.e(268)]).then((()=>()=>y(130))))),l("@openmrs/esm-patient-common-lib","9.2.2-pre.6922",(()=>Promise.all([y.e(174),y.e(111),y.e(268),y.e(629),y.e(440),y.e(907)]).then((()=>()=>y(174))))),l("react-i18next","11.18.6",(()=>Promise.all([y.e(443),y.e(268)]).then((()=>()=>y(443))))),l("react-router-dom","6.4.3",(()=>Promise.all([y.e(591),y.e(268)]).then((()=>()=>y(6591))))),l("react","18.2.0",(()=>y.e(784).then((()=>()=>y(2784))))),l("swr/_internal","2.2.5",(()=>Promise.all([y.e(325),y.e(268)]).then((()=>()=>y(1325))))),l("swr/immutable","2.2.5",(()=>Promise.all([y.e(268),y.e(629),y.e(2)]).then((()=>()=>y(3372)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var r=y.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),y.p=e})(),o=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var a=[];for(o=1;o<e.length;o++){var l=e[o];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():i(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,s=!0;;i++,a++){var u,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(u=r[a]))[0]))return!s||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||p<f!=n)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,i--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?l(h,r):!c())}return!!c()},s=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&a(e,r)?r:e),0)},u=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",p=(e,r,t,n)=>{var o=s(e,t);return l(n,o)||f(u(e,t,o,n)),d(e[t][o])},f=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},d=e=>(e.loaded=1,e.get()),c=(e=>function(r,t,n,o){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,n,o)):e(0,y.S[r],t,n,o)})(((e,r,t,n,o)=>r&&y.o(r,t)?p(r,0,t,n):o())),h={},m={268:()=>c("default","react",[1,18],(()=>y.e(784).then((()=>()=>y(2784))))),3629:()=>c("default","swr/_internal",[1,2],(()=>y.e(325).then((()=>()=>y(1325))))),4924:()=>c("default","react-i18next",[1,11],(()=>y.e(443).then((()=>()=>y(443))))),7234:()=>c("default","@openmrs/esm-framework",[1,6],(()=>y.e(130).then((()=>()=>y(130))))),8744:()=>c("default","react-router-dom",[1,6],(()=>y.e(591).then((()=>()=>y(6591))))),9432:()=>c("default","@openmrs/esm-patient-common-lib",[1,9],(()=>Promise.all([y.e(174),y.e(907)]).then((()=>()=>y(174))))),5907:()=>c("default","swr/immutable",[1,2],(()=>y.e(372).then((()=>()=>y(3372)))))},v={268:[268],440:[4924,7234,8744,9432],629:[3629],907:[5907]},y.f.consumes=(e,r)=>{y.o(v,e)&&v[e].forEach((e=>{if(y.o(h,e))return r.push(h[e]);var t=r=>{h[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},n=r=>{delete h[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var o=m[e]();o.then?r.push(h[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={956:0};y.f.j=(r,t)=>{var n=y.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|440|629|907)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in i)y.o(i,n)&&(y.m[n]=i[n]);l&&l(y)}for(r&&r(t);s<a.length;s++)o=a[s],y.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y.nc=void 0;var w=y(5605);_kenyaemr_esm_appointments_app=w})();
|