@openmrs/esm-appointments-app 9.2.1-pre.7196 → 9.2.1-pre.7201

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/dist/592.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"592.js","mappings":"8MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,mHAAoH,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,0EAA0E,4DAA4D,MAAQ,GAAG,SAAW,oBAAoB,eAAiB,CAAC,8HAA8H,i1VAAi1V,WAAa,MAEt1WH,EAAwBI,OAAS,CAChC,4BAA+B,yFAEhC,S,mFCPIJ,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,kkCAAmkC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,uDAAuD,6EAA6E,gEAAgE,4DAA4D,MAAQ,GAAG,SAAW,wRAAwR,eAAiB,CAAC,uuBAAuuB,05DAA05D,u8uBAAu8uB,i1VAAi1V,WAAa,MAE7mtCH,EAAwBI,OAAS,CAChC,eAAkB,6DAClB,aAAgB,2DAChB,WAAc,0DAEf,S,mFCTIJ,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,k1KAAm1K,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,8DAA8D,2DAA2D,gEAAgE,8EAA8E,MAAQ,GAAG,SAAW,k+CAAk+C,eAAiB,CAAC,g/DAAg/D,s+GAAs+G,g1VAAg1V,u8uBAAu8uB,25DAA25D,WAAa,MAEr4hDH,EAAwBI,OAAS,CAChC,eAAgB,iEAChB,wBAAyB,0EACzB,YAAe,gEACf,cAAiB,kEACjB,cAAe,gEACf,YAAa,8DACb,YAAe,gEACf,YAAe,gEACf,OAAU,2DACV,aAAgB,iEAChB,aAAgB,iEAChB,IAAO,wDACP,OAAU,2DACV,KAAQ,yDACR,MAAS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IAAMuN,GAAapF,SAAS,EAAG,SAC3C0F,EAAY7N,IAAMuN,GAAalF,IAAI,EAAG,SACxCyF,EAAgB,GAEX/M,EAAI6M,EAAUD,cAAgBF,EAAWhF,MAAQ,EAAG1H,GAAK6M,EAAUD,cAAe5M,IACzF+M,EAAK7O,KAAKe,MAAQ+N,MAAMH,EAAUG,SAASxE,KAAKxI,IAGlD,IAAK,IAAIA,EAAI,EAAGA,GAAKmI,EAAWnI,IAC9B+M,EAAK7O,KAAKsO,EAAYhE,KAAKxI,IAK7B,IAFA,IAAMiN,EAASF,EAAK3G,OAAS,GAAK,EAAI,GAE7BpG,EAAI,EAAGA,EAAIiN,EAASN,EAASjF,MAAO1H,IAC3C+M,EAAK7O,KAAKe,MAAQ+N,MAAMF,EAAUE,SAASxE,KAAKxI,IAElD,OAAO+M,CACT,EAEaG,EAAY,SAACC,EAAQpO,GAChC,OAAQoO,GACN,IAAK,IACH,OAAOpO,EAAE,OAAQ,QACnB,IAAK,IACH,OAAOA,EAAE,SAAU,UACrB,IAAK,IACH,OAAOA,EAAE,QAAS,SACpB,IAAK,IACH,OAAOA,EAAE,UAAW,WACtB,QACE,OAAOoO,EAEb,C","sources":["webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-overview.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/header/calendar-header.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-view-workload.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/appointments-calendar-view-view.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/days-of-week.scss?e03f","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/days-of-week.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/days-of-week.scss","webpack://@openmrs/esm-appointments-app/../../node_modules/dayjs/plugin/isBetween.js","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-header.scss","webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentsCalendar.ts","webpack://@openmrs/esm-appointments-app/./src/calendar/header/calendar-header.scss?0c93","webpack://@openmrs/esm-appointments-app/./src/calendar/header/calendar-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-view-workload.scss?3e01","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-workload-view-expanded.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-workload-view.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-header.scss?f1a6","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/appointments-calendar-view-view.scss?cc79","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-calendar-view.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/appointments-calendar-view.component.tsx","webpack://@openmrs/esm-appointments-app/./src/root.component.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-header.scss?a3b2","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-overview.scss?ec1b","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-overview.component.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-header.scss","webpack://@openmrs/esm-appointments-app/./src/helpers/functions.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","dayOfWeek","useTranslation","t","isToday","dayjs","Date","format","toUpperCase","div","tabIndex","role","className","styles","tileContainer","span","classNames","bold","exports","e","i","prototype","isBetween","s","f","n","o","r","u","this","isAfter","isBefore","useAppointmentsCalendar","forDate","period","evaluateAppointmentCalendarDates","startDate","startOf","omrsDateFormat","endDate","endOf","url","restBaseUrl","useSWR","openmrsFetch","errorRetryCount","data","error","isLoading","calendarEvents","reduce","acc","service","serviceName","appointmentService","name","serviceUuid","uuid","Object","entries","appointmentCountMap","map","key","value","existingEntry","find","entry","appointmentDate","services","count","allAppointmentsCount","useAppointmentsStore","selectedDate","calendarHeaderContainer","titleContainer","Button","backButton","iconDescription","kind","onClick","navigate","to","spaHomePage","renderIcon","ArrowLeft","size","events","dateTime","React","isOpen","setIsOpen","popoverRef","useRef","handleClickOutside","event","current","contains","target","useEffect","document","addEventListener","removeEventListener","Popover","open","align","ref","button","showMoreItems","stopPropagation","prev","PopoverContent","MonthlyWorkloadView","showAllServices","layout","useLayoutType","currentData","useMemo","visibleServices","slice","hasHiddenServices","length","navigateToAppointmentsByDate","isSameMonth","smallDesktop","largeDesktop","totals","User","sum","b","calendarDate","serviceArea","MonthlyWorkloadViewExpanded","DAYS_IN_WEEK","handleSelectPrevMonth","useCallback","setSelectedDate","subtract","handleSelectNextMonth","add","container","aria-label","formatDate","day","time","noToday","workLoadCard","DaysOfWeekCard","calendarViewContainer","MonthlyHeader","wrapper","monthlyCalendar","monthDays","MonthlyViewWorkload","toISOString","params","useParams","date","data-testid","AppointmentsHeader","title","CalendarHeader","MonthlyCalendarView","appointmentsBasename","window","getOpenmrsSpaBase","main","BrowserRouter","basename","Routes","Route","path","element","Appointments","AppointmentsCalendarView","PatientAppointmentsOverview","patient","useNavigate","patientName","getPatientName","header","divider","patientBanner","patientAvatar","PatientPhoto","patientUuid","PatientBannerPatientInfo","response","usePatient","PatientAppointmentContextProvider","PatientAppointmentContextTypes","APPOINTMENTS_APP","DataTableSkeleton","compact","isDesktop","zebra","patientAppointmentsOverview","PatientAppointmentsHeader","PatientAppointmentsBase","WorkspaceContainer","overlay","contextKey","getHighestAppointmentServiceLoad","Math","appointmentSummary","groupedAppointments","countMap","cummulator","currentValue","summary","max","x","flattenAppointmentSummary","appointmentToTransfrom","flatMap","el","getServiceCountByAppointmentType","appointmentType","flat","val","cellDate","currentDate","isSame","monthStart","monthEnd","daysInMonth","lastMonth","nextMonth","days","month","dayLen","getGender","gender"],"sourceRoot":""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AAK7O,KAAKe,MAAQ+N,MAAMH,EAAUG,SAASxE,KAAKxI,IAGlD,IAAK,IAAIA,EAAI,EAAGA,GAAKmI,EAAWnI,IAC9B+M,EAAK7O,KAAKsO,EAAYhE,KAAKxI,IAK7B,IAFA,IAAMiN,EAASF,EAAK3G,OAAS,GAAK,EAAI,GAE7BpG,EAAI,EAAGA,EAAIiN,EAASN,EAASjF,MAAO1H,IAC3C+M,EAAK7O,KAAKe,MAAQ+N,MAAMF,EAAUE,SAASxE,KAAKxI,IAElD,OAAO+M,CACT,EAEaG,EAAY,SAACC,EAAQpO,GAChC,OAAQoO,GACN,IAAK,IACH,OAAOpO,EAAE,OAAQ,QACnB,IAAK,IACH,OAAOA,EAAE,SAAU,UACrB,IAAK,IACH,OAAOA,EAAE,QAAS,SACpB,IAAK,IACH,OAAOA,EAAE,UAAW,WACtB,QACE,OAAOoO,EAEb,C","sources":["webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-overview.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/header/calendar-header.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-view-workload.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/appointments-calendar-view-view.scss","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/days-of-week.scss?e03f","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/days-of-week.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/days-of-week.scss","webpack://@openmrs/esm-appointments-app/../../node_modules/dayjs/plugin/isBetween.js","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-header.scss","webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentsCalendar.ts","webpack://@openmrs/esm-appointments-app/./src/calendar/header/calendar-header.scss?0c93","webpack://@openmrs/esm-appointments-app/./src/calendar/header/calendar-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-view-workload.scss?3e01","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-workload-view-expanded.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-workload-view.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-header.scss?f1a6","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/appointments-calendar-view-view.scss?cc79","webpack://@openmrs/esm-appointments-app/./src/calendar/monthly/monthly-calendar-view.component.tsx","webpack://@openmrs/esm-appointments-app/./src/calendar/appointments-calendar-view.component.tsx","webpack://@openmrs/esm-appointments-app/./src/root.component.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-header.scss?a3b2","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-overview.scss?ec1b","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-overview.component.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments-header.scss","webpack://@openmrs/esm-appointments-app/./src/helpers/functions.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","dayOfWeek","useTranslation","t","isToday","dayjs","Date","format","toUpperCase","div","tabIndex","role","className","styles","tileContainer","span","classNames","bold","exports","e","i","prototype","isBetween","s","f","n","o","r","u","this","isAfter","isBefore","useAppointmentsCalendar","forDate","period","evaluateAppointmentCalendarDates","startDate","startOf","omrsDateFormat","endDate","endOf","url","restBaseUrl","useSWR","openmrsFetch","errorRetryCount","data","error","isLoading","calendarEvents","reduce","acc","service","serviceName","appointmentService","name","serviceUuid","uuid","Object","entries","appointmentCountMap","map","key","value","existingEntry","find","entry","appointmentDate","services","count","allAppointmentsCount","useAppointmentsStore","selectedDate","calendarHeaderContainer","titleContainer","Button","backButton","iconDescription","kind","onClick","navigate","to","spaHomePage","renderIcon","ArrowLeft","size","events","dateTime","React","isOpen","setIsOpen","popoverRef","useRef","handleClickOutside","event","current","contains","target","useEffect","document","addEventListener","removeEventListener","Popover","open","align","ref","button","showMoreItems","stopPropagation","prev","PopoverContent","MonthlyWorkloadView","showAllServices","layout","useLayoutType","currentData","useMemo","visibleServices","slice","hasHiddenServices","length","navigateToAppointmentsByDate","isSameMonth","smallDesktop","largeDesktop","totals","User","sum","b","calendarDate","serviceArea","MonthlyWorkloadViewExpanded","DAYS_IN_WEEK","handleSelectPrevMonth","useCallback","setSelectedDate","subtract","handleSelectNextMonth","add","container","aria-label","formatDate","day","time","noToday","workLoadCard","DaysOfWeekCard","calendarViewContainer","MonthlyHeader","wrapper","monthlyCalendar","monthDays","MonthlyViewWorkload","toISOString","params","useParams","date","data-testid","AppointmentsHeader","title","CalendarHeader","MonthlyCalendarView","appointmentsBasename","window","getOpenmrsSpaBase","main","BrowserRouter","basename","Routes","Route","path","element","Appointments","AppointmentsCalendarView","PatientAppointmentsOverview","patient","useNavigate","patientName","getPatientName","header","divider","patientBanner","patientAvatar","PatientPhoto","patientUuid","PatientBannerPatientInfo","response","usePatient","PatientAppointmentContextProvider","PatientAppointmentContextTypes","APPOINTMENTS_APP","DataTableSkeleton","compact","isDesktop","zebra","patientAppointmentsOverview","PatientAppointmentsHeader","PatientAppointmentsBase","WorkspaceContainer","overlay","contextKey","getHighestAppointmentServiceLoad","Math","appointmentSummary","groupedAppointments","countMap","cummulator","currentValue","summary","max","x","flattenAppointmentSummary","appointmentToTransfrom","flatMap","el","getServiceCountByAppointmentType","appointmentType","flat","val","cellDate","currentDate","isSame","monthStart","monthEnd","daysInMonth","lastMonth","nextMonth","days","month","dayLen","getGender","gender"],"sourceRoot":""}
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,t,n,r,o={57691:(e,t,n)=>{"use strict";n.d(t,{AO:()=>i,BC:()=>o,Je:()=>p,Mq:()=>l,gL:()=>a,i$:()=>s,lw:()=>r}),window.getOpenmrsSpaBase;var r="".concat(window.spaBase,"/home"),o="YYYY-MM-DDTHH:mm:ss.SSSZZ",a="Appointment Location",i="@openmrs/esm-appointments-app",s="DD/MM/YYYY",l=[{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}],p=["patientName","identifier","location","serviceType","status","dateTime","provider"]},76886:(e,t,n)=>{"use strict";var r=n(54440),o=(n(95008),n(1343)),a=n.n(o),i=n(8877),s=function(e){return function(){return a().createElement(i.BrowserRouter,null,a().createElement(r.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}},l={path:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments",basePath:"".concat(window.spaBase,"/home")},p={path:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments calendar",basePath:"".concat(window.spaBase,"/home")},c={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"Appointments",icon:"omrs-icon-event-schedule"};function u(e,t,n,r,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){d(e,t,n[t])})}return e}r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean;var h="@openmrs/esm-appointments-app",y={featureName:"appointments",moduleName:h};n(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(7638),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(7999),n.e(3092),n.e(1431),n.e(592)]).then(n.bind(n,70592))},y),(0,r.getSyncLifecycle)(s(l),y),(0,r.getSyncLifecycle)(s(p),y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(7638),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(1431)]).then(n.bind(n,81431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(3968),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(525),n.e(849)]).then(n.bind(n,50849))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(3968),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(525),n.e(6931)]).then(n.bind(n,86931))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(3968),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(525),n.e(6112)]).then(n.bind(n,16112))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(2339),n.e(5755),n.e(4599)]).then(n.bind(n,94599))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(2339),n.e(5755),n.e(6467)]).then(n.bind(n,76467))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(2339),n.e(5755),n.e(8784)]).then(n.bind(n,68784))},y),(0,r.getAsyncLifecycle)(function(){return n.e(7026).then(n.bind(n,47026))},y),(0,r.getAsyncLifecycle)(function(){return(e=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,function(e){switch(e.label){case 0:return[4,n.e(7999).then(n.t.bind(n,97999,23))];case 1:return[2,{default:e.sent().createDashboardLink((t=f({},c),r={moduleName:h},r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}]}var t,r})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){u(a,r,o,i,s,"next",e)}function s(e){u(a,r,o,i,s,"throw",e)}i(void 0)})})();var e},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(7999),n.e(3092),n.e(7565)]).then(n.bind(n,73098))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(7999),n.e(3092),n.e(449)]).then(n.bind(n,84772))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(7999),n.e(4745)]).then(n.bind(n,34745))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(3431)]).then(n.bind(n,73431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5666),n.e(5434),n.e(2339),n.e(8241),n.e(4889)]).then(n.bind(n,74889))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(9712)]).then(n.bind(n,79712))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(3167)]).then(n.bind(n,13167))},y)},84767:(e,t,n)=>{var r={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./cs.json":[86589,6589],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sq.json":[88371,8371],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879],"./zh_TW.json":[10439,439]};function o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(()=>n(o))}o.keys=()=>Object.keys(r),o.id=84767,e.exports=o},95008:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(54440),o=n(57691),a={allowAllDayAppointments:{_type:r.Type.Boolean,_default:!1,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)"},appointmentStatuses:{_type:r.Type.Array,_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"],_description:"Configurable appointment status (status of appointments)",_elements:{_type:r.Type.String,_description:"Status of an appointment"}},appointmentTypes:{_type:r.Type.Array,_default:["Scheduled"],_description:"Configurable appointment types (types of appointments)",_elements:{_type:r.Type.String,_description:"Type of an appointment"}},checkInButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-in button on the "Appointments" list should be enabled'},showIfActiveVisit:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the check-in button if the patient currently has an active visit"},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-in button (instead of thes start visit form)"}},checkOutButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-out button on the "Appointments" list should be disabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-out button"}},customPatientChartUrl:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_default:!1,_description:"Whether to include phone numbers in the exported Excel spreadsheet"},patientIdentifierType:{_type:r.Type.String,_default:"",_description:"The name of the patient identifier type to be used for the patient identifier field"},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available"},appointmentsTableColumns:{_type:r.Type.Array,_description:"Columns to display in the appointment table. Available options: "+o.Je.join(", "),_default:["patientName","identifier","location","serviceType","status"],_elements:{_type:r.Type.String,_validators:[r.validators.oneOf(o.Je)]}}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.exports}i.m=o,i.c=a,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="@openmrs/esm-appointments-app:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var s,l;if(void 0!==o)for(var p=document.getElementsByTagName("script"),c=0;c<p.length;c++){var u=p[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(r)),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{i.S={};var e={},t={};i.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];i.o(i.S,n)||(i.S[n]={});var a=i.S[n],s="@openmrs/esm-appointments-app",l=(e,t,n,r)=>{var o=a[e]=a[e]||{},i=o[t];(!i||!i.loaded&&(!r!=!i.eager?r:s>i.from))&&(o[t]={get:n,from:s,eager:!!r})},p=[];return"default"===n&&(l("@openmrs/esm-framework","8.0.1-pre.3504",()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(5670),i.e(5434),i.e(2339),i.e(8241),i.e(1343),i.e(4569),i.e(4230)]).then(()=>()=>i(55670))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.9372",()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(9208),i.e(5434),i.e(2339),i.e(8241),i.e(1343),i.e(4569),i.e(4230)]).then(()=>()=>i(99208))),l("react-dom","18.3.1",()=>Promise.all([i.e(3144),i.e(1343)]).then(()=>()=>i(43144))),l("react-i18next","16.0.0",()=>Promise.all([i.e(6336),i.e(1343)]).then(()=>()=>i(16336))),l("react-router-dom","6.30.1",()=>Promise.all([i.e(2913),i.e(8241),i.e(1343)]).then(()=>()=>i(52913))),l("react","18.3.1",()=>i.e(4041).then(()=>()=>i(14041))),l("swr/_internal","2.2.5",()=>Promise.all([i.e(2372),i.e(1343)]).then(()=>()=>i(42372))),l("swr/immutable","2.2.5",()=>Promise.all([i.e(5434),i.e(1343),i.e(7495)]).then(()=>()=>i(29876))),l("swr/infinite","2.2.5",()=>Promise.all([i.e(5434),i.e(1343),i.e(89)]).then(()=>()=>i(52470)))),e[n]=p.length?Promise.all(p).then(()=>e[n]=1):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=e=>{var n=e[0],r="";if(1===e.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,r+="u"==(typeof(s=e[a]))[0]?"-":(o>0?".":"")+(o=2,s);return r}var i=[];for(a=1;a<e.length;a++){var s=e[a];i.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?i.pop()+" "+i.pop():t(s))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],a=o<0;a&&(o=-o-1);for(var i=0,s=1,l=!0;;s++,i++){var p,c,u=s<t.length?(typeof t[s])[0]:"";if(i>=r.length||"o"==(c=(typeof(p=r[i]))[0]))return!l||("u"==u?s>o&&!a:""==u!=a);if("u"==c){if(!l||"u"!=u)return!1}else if(l)if(u==c)if(s<=o){if(p!=t[s])return!1}else{if(a?p>t[s]:p<t[s])return!1;p!=t[s]&&(l=!1)}else if("s"!=u&&"n"!=u){if(a||s<=o)return!1;l=!1,s--}else{if(s<=o||c<u!=a)return!1;l=!1}else"s"!=u&&"n"!=u&&(l=!1,s--)}}var d=[],f=d.pop.bind(d);for(i=1;i<t.length;i++){var h=t[i];d.push(1==h?f()|f():2==h?f()&f():h?n(h,r):!f())}return!!f()},r=(t,n,r)=>{var o=r?(e=>Object.keys(e).reduce((t,n)=>(e[n].eager&&(t[n]=e[n]),t),{}))(t[n]):t[n];return Object.keys(o).reduce((t,n)=>!t||!o[t].loaded&&((t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=t[r],a=(typeof o)[0];if(r>=n.length)return"u"==a;var i=n[r],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;r++}})(t,n)?n:t,0)},o=(e,t,n)=>n?n():((e,t)=>(e=>{throw new Error(e)})("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),a=(e=>function(t,n,r,o,a){var s=i.I(t);return s&&s.then&&!r?s.then(e.bind(e,t,i.S[t],n,!1,o,a)):e(t,i.S[t],n,r,o,a)})((e,a,s,l,p,c)=>{if(!((e,t)=>e&&i.o(e,t))(a,s))return o(e,s,c);var u,d,f=r(a,s,l);return n(p,f)||(d=((e,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&e[n][r].from)+" of shared singleton module "+n+" (required "+t(o)+")")(a,s,f,p),"undefined"!=typeof console&&console.warn&&console.warn(d)),(u=a[s][f]).loaded=1,u.get()}),s={},l={54440:()=>a("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(5670),i.e(5434),i.e(2339),i.e(8241),i.e(4569)]).then(()=>()=>i(55670))),1343:()=>a("default","react",!1,[1,18],()=>i.e(4041).then(()=>()=>i(14041))),8877:()=>a("default","react-router-dom",!1,[1,6],()=>Promise.all([i.e(2913),i.e(8241)]).then(()=>()=>i(52913))),55434:()=>a("default","swr/_internal",!1,[1,2],()=>i.e(2372).then(()=>()=>i(42372))),72339:()=>a("default","react-i18next",!1,[1,16],()=>i.e(6336).then(()=>()=>i(16336))),98241:()=>a("default","react-dom",!1,[1,18],()=>i.e(3144).then(()=>()=>i(43144))),97999:()=>a("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(9208),i.e(5434),i.e(2339),i.e(8241),i.e(4569)]).then(()=>()=>i(99208))),88010:()=>a("default","swr/immutable",!1,[1,2],()=>i.e(9876).then(()=>()=>i(29876))),98394:()=>a("default","swr/infinite",!1,[1,2],()=>i.e(2470).then(()=>()=>i(52470)))};[54440,1343,8877].forEach(e=>{i.m[e]=t=>{s[e]=0,delete i.c[e];var n=l[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}});var p={1343:[1343],2339:[72339],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241],8792:[54440,1343,8877]},c={};i.f.consumes=(e,t)=>{i.o(p,e)&&p[e].forEach(e=>{if(i.o(s,e))return t.push(s[e]);if(!c[e]){var n=t=>{s[e]=0,i.m[e]=n=>{delete i.c[e],n.exports=t()}};c[e]=!0;var r=t=>{delete s[e],i.m[e]=n=>{throw delete i.c[e],t}};try{var o=l[e]();o.then?t.push(s[e]=o.then(n).catch(r)):n(o)}catch(e){r(e)}}})}})(),(()=>{var e={1343:0,4230:0,6886:0,8792:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^((233|456|799)9|1343|4230|5434|8241)$/.test(t))e[t]=0;else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,s,l]=n,p=0;if(a.some(t=>0!==e[t])){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);l&&l(i)}for(t&&t(n);p<a.length;p++)o=a[p],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0,i(76886)})();
1
+ (()=>{var e,t,n,r,o={57691:(e,t,n)=>{"use strict";n.d(t,{AO:()=>i,BC:()=>o,Je:()=>p,Mq:()=>l,gL:()=>a,i$:()=>s,lw:()=>r}),window.getOpenmrsSpaBase;var r="".concat(window.spaBase,"/home"),o="YYYY-MM-DDTHH:mm:ss.SSSZZ",a="Appointment Location",i="@openmrs/esm-appointments-app",s="DD/MM/YYYY",l=[{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}],p=["patientName","identifier","location","serviceType","status","dateTime","provider"]},76886:(e,t,n)=>{"use strict";var r=n(54440),o=(n(95008),n(1343)),a=n.n(o),i=n(8877),s=function(e){return function(){return a().createElement(i.BrowserRouter,null,a().createElement(r.DashboardExtension,{path:e.path,title:e.title,basePath:e.basePath,icon:e.icon}))}},l={path:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments",basePath:"".concat(window.spaBase,"/home")},p={path:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments calendar",basePath:"".concat(window.spaBase,"/home")},c={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"Appointments",icon:"omrs-icon-event-schedule"};function u(e,t,n,r,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){d(e,t,n[t])})}return e}r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean;var h="@openmrs/esm-appointments-app",y={featureName:"appointments",moduleName:h};n(84767),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(7638),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(7999),n.e(3092),n.e(1431),n.e(592)]).then(n.bind(n,70592))},y),(0,r.getSyncLifecycle)(s(l),y),(0,r.getSyncLifecycle)(s(p),y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(7638),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(1431)]).then(n.bind(n,81431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(3968),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(525),n.e(849)]).then(n.bind(n,50849))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(3968),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(525),n.e(6931)]).then(n.bind(n,86931))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(1559),n.e(3968),n.e(5434),n.e(2339),n.e(8241),n.e(5160),n.e(525),n.e(6112)]).then(n.bind(n,16112))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(2339),n.e(5755),n.e(4599)]).then(n.bind(n,94599))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(2339),n.e(5755),n.e(6467)]).then(n.bind(n,76467))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(3379),n.e(5434),n.e(2339),n.e(5755),n.e(8784)]).then(n.bind(n,68784))},y),(0,r.getAsyncLifecycle)(function(){return n.e(7026).then(n.bind(n,47026))},y),(0,r.getAsyncLifecycle)(function(){return(e=function(){return function(e,t){var n,r,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,function(e){switch(e.label){case 0:return[4,n.e(7999).then(n.t.bind(n,97999,23))];case 1:return[2,{default:e.sent().createDashboardLink((t=f({},c),r={moduleName:h},r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}]}var t,r})},function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){u(a,r,o,i,s,"next",e)}function s(e){u(a,r,o,i,s,"throw",e)}i(void 0)})})();var e},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(7999),n.e(3092),n.e(7565)]).then(n.bind(n,73098))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(7999),n.e(3092),n.e(449)]).then(n.bind(n,84772))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(7999),n.e(4745)]).then(n.bind(n,34745))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(3431)]).then(n.bind(n,73431))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5666),n.e(5434),n.e(2339),n.e(8241),n.e(4889)]).then(n.bind(n,74889))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(9712)]).then(n.bind(n,79712))},y),(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(66),n.e(5257),n.e(5434),n.e(2339),n.e(8241),n.e(3167)]).then(n.bind(n,13167))},y)},84767:(e,t,n)=>{var r={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./cs.json":[86589,6589],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sq.json":[88371,8371],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879],"./zh_TW.json":[10439,439]};function o(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(()=>n(o))}o.keys=()=>Object.keys(r),o.id=84767,e.exports=o},95008:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a});var r=n(54440),o=n(57691),a={allowAllDayAppointments:{_type:r.Type.Boolean,_default:!1,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)"},appointmentStatuses:{_type:r.Type.Array,_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"],_description:"Configurable appointment status (status of appointments)",_elements:{_type:r.Type.String,_description:"Status of an appointment"}},appointmentTypes:{_type:r.Type.Array,_default:["Scheduled"],_description:"Configurable appointment types (types of appointments)",_elements:{_type:r.Type.String,_description:"Type of an appointment"}},checkInButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-in button on the "Appointments" list should be enabled'},showIfActiveVisit:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the check-in button if the patient currently has an active visit"},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-in button (instead of thes start visit form)"}},checkOutButton:{enabled:{_type:r.Type.Boolean,_default:!0,_description:'Whether the check-out button on the "Appointments" list should be disabled'},customUrl:{_type:r.Type.String,_default:"",_description:"Custom URL to open when clicking the check-out button"}},customPatientChartUrl:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_default:!1,_description:"Whether to include phone numbers in the exported Excel spreadsheet"},patientIdentifierType:{_type:r.Type.String,_default:"",_description:"The name of the patient identifier type to be used for the patient identifier field"},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available"},appointmentsTableColumns:{_type:r.Type.Array,_description:"Columns to display in the appointment table. Available options: "+o.Je.join(", "),_default:["patientName","identifier","location","serviceType","status"],_elements:{_type:r.Type.String,_validators:[r.validators.oneOf(o.Je)]}}}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={id:e,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.exports}i.m=o,i.c=a,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="@openmrs/esm-appointments-app:",i.l=(e,t,o,a)=>{if(n[e])n[e].push(t);else{var s,l;if(void 0!==o)for(var p=document.getElementsByTagName("script"),c=0;c<p.length;c++){var u=p[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",r+o),s.src=e),n[e]=[t];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(f);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(e=>e(r)),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{i.S={};var e={},t={};i.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];i.o(i.S,n)||(i.S[n]={});var a=i.S[n],s="@openmrs/esm-appointments-app",l=(e,t,n,r)=>{var o=a[e]=a[e]||{},i=o[t];(!i||!i.loaded&&(!r!=!i.eager?r:s>i.from))&&(o[t]={get:n,from:s,eager:!!r})},p=[];return"default"===n&&(l("@openmrs/esm-framework","8.0.1-pre.3504",()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(5670),i.e(5434),i.e(2339),i.e(8241),i.e(1343),i.e(4569),i.e(4230)]).then(()=>()=>i(55670))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.9375",()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(9208),i.e(5434),i.e(2339),i.e(8241),i.e(1343),i.e(4569),i.e(4230)]).then(()=>()=>i(99208))),l("react-dom","18.3.1",()=>Promise.all([i.e(3144),i.e(1343)]).then(()=>()=>i(43144))),l("react-i18next","16.0.0",()=>Promise.all([i.e(6336),i.e(1343)]).then(()=>()=>i(16336))),l("react-router-dom","6.30.1",()=>Promise.all([i.e(2913),i.e(8241),i.e(1343)]).then(()=>()=>i(52913))),l("react","18.3.1",()=>i.e(4041).then(()=>()=>i(14041))),l("swr/_internal","2.2.5",()=>Promise.all([i.e(2372),i.e(1343)]).then(()=>()=>i(42372))),l("swr/immutable","2.2.5",()=>Promise.all([i.e(5434),i.e(1343),i.e(7495)]).then(()=>()=>i(29876))),l("swr/infinite","2.2.5",()=>Promise.all([i.e(5434),i.e(1343),i.e(89)]).then(()=>()=>i(52470)))),e[n]=p.length?Promise.all(p).then(()=>e[n]=1):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map(e=>+e==e?+e:e),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=e=>{var n=e[0],r="";if(1===e.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,r+="u"==(typeof(s=e[a]))[0]?"-":(o>0?".":"")+(o=2,s);return r}var i=[];for(a=1;a<e.length;a++){var s=e[a];i.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?i.pop()+" "+i.pop():t(s))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],a=o<0;a&&(o=-o-1);for(var i=0,s=1,l=!0;;s++,i++){var p,c,u=s<t.length?(typeof t[s])[0]:"";if(i>=r.length||"o"==(c=(typeof(p=r[i]))[0]))return!l||("u"==u?s>o&&!a:""==u!=a);if("u"==c){if(!l||"u"!=u)return!1}else if(l)if(u==c)if(s<=o){if(p!=t[s])return!1}else{if(a?p>t[s]:p<t[s])return!1;p!=t[s]&&(l=!1)}else if("s"!=u&&"n"!=u){if(a||s<=o)return!1;l=!1,s--}else{if(s<=o||c<u!=a)return!1;l=!1}else"s"!=u&&"n"!=u&&(l=!1,s--)}}var d=[],f=d.pop.bind(d);for(i=1;i<t.length;i++){var h=t[i];d.push(1==h?f()|f():2==h?f()&f():h?n(h,r):!f())}return!!f()},r=(t,n,r)=>{var o=r?(e=>Object.keys(e).reduce((t,n)=>(e[n].eager&&(t[n]=e[n]),t),{}))(t[n]):t[n];return Object.keys(o).reduce((t,n)=>!t||!o[t].loaded&&((t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=t[r],a=(typeof o)[0];if(r>=n.length)return"u"==a;var i=n[r],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;r++}})(t,n)?n:t,0)},o=(e,t,n)=>n?n():((e,t)=>(e=>{throw new Error(e)})("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),a=(e=>function(t,n,r,o,a){var s=i.I(t);return s&&s.then&&!r?s.then(e.bind(e,t,i.S[t],n,!1,o,a)):e(t,i.S[t],n,r,o,a)})((e,a,s,l,p,c)=>{if(!((e,t)=>e&&i.o(e,t))(a,s))return o(e,s,c);var u,d,f=r(a,s,l);return n(p,f)||(d=((e,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&e[n][r].from)+" of shared singleton module "+n+" (required "+t(o)+")")(a,s,f,p),"undefined"!=typeof console&&console.warn&&console.warn(d)),(u=a[s][f]).loaded=1,u.get()}),s={},l={54440:()=>a("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(5670),i.e(5434),i.e(2339),i.e(8241),i.e(4569)]).then(()=>()=>i(55670))),1343:()=>a("default","react",!1,[1,18],()=>i.e(4041).then(()=>()=>i(14041))),8877:()=>a("default","react-router-dom",!1,[1,6],()=>Promise.all([i.e(2913),i.e(8241)]).then(()=>()=>i(52913))),55434:()=>a("default","swr/_internal",!1,[1,2],()=>i.e(2372).then(()=>()=>i(42372))),72339:()=>a("default","react-i18next",!1,[1,16],()=>i.e(6336).then(()=>()=>i(16336))),98241:()=>a("default","react-dom",!1,[1,18],()=>i.e(3144).then(()=>()=>i(43144))),97999:()=>a("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([i.e(66),i.e(5257),i.e(3379),i.e(8600),i.e(9208),i.e(5434),i.e(2339),i.e(8241),i.e(4569)]).then(()=>()=>i(99208))),88010:()=>a("default","swr/immutable",!1,[1,2],()=>i.e(9876).then(()=>()=>i(29876))),98394:()=>a("default","swr/infinite",!1,[1,2],()=>i.e(2470).then(()=>()=>i(52470)))};[54440,1343,8877].forEach(e=>{i.m[e]=t=>{s[e]=0,delete i.c[e];var n=l[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}});var p={1343:[1343],2339:[72339],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241],8792:[54440,1343,8877]},c={};i.f.consumes=(e,t)=>{i.o(p,e)&&p[e].forEach(e=>{if(i.o(s,e))return t.push(s[e]);if(!c[e]){var n=t=>{s[e]=0,i.m[e]=n=>{delete i.c[e],n.exports=t()}};c[e]=!0;var r=t=>{delete s[e],i.m[e]=n=>{throw delete i.c[e],t}};try{var o=l[e]();o.then?t.push(s[e]=o.then(n).catch(r)):n(o)}catch(e){r(e)}}})}})(),(()=>{var e={1343:0,4230:0,6886:0,8792:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^((233|456|799)9|1343|4230|5434|8241)$/.test(t))e[t]=0;else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,r[1](s)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,s,l]=n,p=0;if(a.some(t=>0!==e[t])){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);l&&l(i)}for(t&&t(n);p<a.length;p++)o=a[p],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),i.nc=void 0,i(76886)})();
@@ -1 +1 @@
1
- var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,c,d,m,h,v,g,b,y,w,_={43347:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(1343),t.e(4230),t.e(6886)]).then(()=>()=>t(76886))},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})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.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);S.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,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-appointments-app:",S.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,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},c=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)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.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];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/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","8.0.1-pre.3504",()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(5670),S.e(5434),S.e(2339),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(55670))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.9372",()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(9208),S.e(5434),S.e(2339),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(99208))),l("react-dom","18.3.1",()=>Promise.all([S.e(3144),S.e(1343)]).then(()=>()=>S(43144))),l("react-i18next","16.0.0",()=>Promise.all([S.e(6336),S.e(1343)]).then(()=>()=>S(16336))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(2913),S.e(8241),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.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 c=[],d=c.pop.bind(c);for(a=1;a<e.length;a++){var m=e[a];c.push(1==m?d()|d():2==m?d()&d():m?l(m,r):!d())}return!!d()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e,0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",d=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,a)=>{if(!s(r,t))return h(e,t,a);var i=f(r,t,n);return l(o,i)||m(c(r,t,i,o)),u(r[t][i])}),g={},b={55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),72339:()=>v("default","react-i18next",!1,[1,16],()=>S.e(6336).then(()=>()=>S(16336))),98241:()=>v("default","react-dom",!1,[1,18],()=>S.e(3144).then(()=>()=>S(43144))),1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>Promise.all([S.e(2913),S.e(8241)]).then(()=>()=>S(52913))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(5670),S.e(5434),S.e(2339),S.e(8241),S.e(4569)]).then(()=>()=>S(55670))),97999:()=>v("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(9208),S.e(5434),S.e(2339),S.e(8241),S.e(4569)]).then(()=>()=>S(99208)))},y={1343:[1343],2339:[72339],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={3468:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^((233|456|799)9|1343|4230|5434|8241)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.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)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(43347);_openmrs_esm_appointments_app=j})();
1
+ var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,c,d,m,h,v,g,b,y,w,_={43347:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(1343),t.e(4230),t.e(6886)]).then(()=>()=>t(76886))},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})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.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);S.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,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-appointments-app:",S.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,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},c=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)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.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];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/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","8.0.1-pre.3504",()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(5670),S.e(5434),S.e(2339),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(55670))),l("@openmrs/esm-patient-common-lib","11.3.1-pre.9375",()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(9208),S.e(5434),S.e(2339),S.e(8241),S.e(1343),S.e(4569),S.e(4230)]).then(()=>()=>S(99208))),l("react-dom","18.3.1",()=>Promise.all([S.e(3144),S.e(1343)]).then(()=>()=>S(43144))),l("react-i18next","16.0.0",()=>Promise.all([S.e(6336),S.e(1343)]).then(()=>()=>S(16336))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(2913),S.e(8241),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(5434),S.e(1343),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.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 c=[],d=c.pop.bind(c);for(a=1;a<e.length;a++){var m=e[a];c.push(1==m?d()|d():2==m?d()&d():m?l(m,r):!d())}return!!d()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e,0)},c=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",d=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},h=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,a)=>{if(!s(r,t))return h(e,t,a);var i=f(r,t,n);return l(o,i)||m(c(r,t,i,o)),u(r[t][i])}),g={},b={55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),72339:()=>v("default","react-i18next",!1,[1,16],()=>S.e(6336).then(()=>()=>S(16336))),98241:()=>v("default","react-dom",!1,[1,18],()=>S.e(3144).then(()=>()=>S(43144))),1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>Promise.all([S.e(2913),S.e(8241)]).then(()=>()=>S(52913))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(5670),S.e(5434),S.e(2339),S.e(8241),S.e(4569)]).then(()=>()=>S(55670))),97999:()=>v("default","@openmrs/esm-patient-common-lib",!1,[1,11],()=>Promise.all([S.e(66),S.e(5257),S.e(3379),S.e(8600),S.e(9208),S.e(5434),S.e(2339),S.e(8241),S.e(4569)]).then(()=>()=>S(99208)))},y={1343:[1343],2339:[72339],4230:[8877,54440],4569:[88010,98394],5434:[55434],7999:[97999],8241:[98241]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={3468:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^((233|456|799)9|1343|4230|5434|8241)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.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)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(43347);_openmrs_esm_appointments_app=j})();
@@ -78,9 +78,9 @@
78
78
  "initial": false,
79
79
  "entry": false,
80
80
  "recorded": false,
81
- "size": 33995,
81
+ "size": 33974,
82
82
  "sizes": {
83
- "javascript": 33995
83
+ "javascript": 33974
84
84
  },
85
85
  "names": [],
86
86
  "idHints": [],
@@ -94,7 +94,7 @@
94
94
  "auxiliaryFiles": [
95
95
  "449.js.map"
96
96
  ],
97
- "hash": "ed0288c08fb70885",
97
+ "hash": "587e2d46a9300ffd",
98
98
  "childrenByOrder": {}
99
99
  },
100
100
  {
@@ -127,9 +127,9 @@
127
127
  "initial": false,
128
128
  "entry": false,
129
129
  "recorded": false,
130
- "size": 225887,
130
+ "size": 225866,
131
131
  "sizes": {
132
- "javascript": 225887
132
+ "javascript": 225866
133
133
  },
134
134
  "names": [],
135
135
  "idHints": [],
@@ -143,7 +143,7 @@
143
143
  "auxiliaryFiles": [
144
144
  "592.js.map"
145
145
  ],
146
- "hash": "688db44d48c876a5",
146
+ "hash": "fb842db6a9fdab6a",
147
147
  "childrenByOrder": {}
148
148
  },
149
149
  {
@@ -691,7 +691,7 @@
691
691
  "auxiliaryFiles": [
692
692
  "openmrs-esm-appointments-app.js.map"
693
693
  ],
694
- "hash": "9c7304f61d846845",
694
+ "hash": "3ada10a80a0f4f9b",
695
695
  "childrenByOrder": {}
696
696
  },
697
697
  {
@@ -1900,7 +1900,7 @@
1900
1900
  "auxiliaryFiles": [
1901
1901
  "main.js.map"
1902
1902
  ],
1903
- "hash": "0571f3664c930e12",
1903
+ "hash": "362761170b9407eb",
1904
1904
  "childrenByOrder": {}
1905
1905
  },
1906
1906
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"},"order":2},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-dashboard","slot":"appointments-dashboard-slot","component":"appointmentsDashboard"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"Appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"search-patient","component":"searchPatient"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"},{"name":"metrics-card-scheduled-appointments","component":"metricsCardScheduledAppointments","slot":"appointments-metrics-slot","order":1},{"name":"metrics-card-highest-volume-service","component":"metricsCardHighestVolumeService","slot":"appointments-metrics-slot","order":2},{"name":"metrics-card-providers-booked","component":"metricsCardProvidersBooked","slot":"appointments-metrics-slot","order":3}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"}],"workspaces":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","title":"createNewAppointment","type":"form"}],"version":"9.2.1-pre.7196"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"},"order":2},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-dashboard","slot":"appointments-dashboard-slot","component":"appointmentsDashboard"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"Appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"search-patient","component":"searchPatient"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"},{"name":"metrics-card-scheduled-appointments","component":"metricsCardScheduledAppointments","slot":"appointments-metrics-slot","order":1},{"name":"metrics-card-highest-volume-service","component":"metricsCardHighestVolumeService","slot":"appointments-metrics-slot","order":2},{"name":"metrics-card-providers-booked","component":"metricsCardProvidersBooked","slot":"appointments-metrics-slot","order":3}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"}],"workspaces":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","title":"createNewAppointment","type":"form"}],"version":"9.2.1-pre.7201"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "9.2.1-pre.7196",
3
+ "version": "9.2.1-pre.7201",
4
4
  "description": "Appointments front-end module for O3",
5
5
  "browser": "dist/openmrs-esm-appointments-app.js",
6
6
  "main": "src/index.ts",
@@ -30,7 +30,7 @@ const PatientAppointmentsHeader: React.FC<PatientAppointmentsHeaderProps> = ({ p
30
30
  </div>
31
31
  <div className={styles.divider}></div>
32
32
  <div className={styles.patientBanner}>
33
- <div className={styles.patientAvatar} role="img">
33
+ <div className={styles.patientAvatar}>
34
34
  <PatientPhoto patientUuid={patient.id} patientName={patientName} />
35
35
  </div>
36
36
  <PatientBannerPatientInfo patient={patient}></PatientBannerPatientInfo>