@openmrs/esm-appointments-app 6.0.1-pre.2754 → 6.0.1-pre.2762
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 +3 -3
- package/dist/500.js +1 -1
- package/dist/500.js.map +1 -1
- package/dist/693.js +1 -1
- package/dist/693.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +7 -7
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/admin/appointment-services/appointment-services-hook.ts +2 -2
- package/src/appointments/forms/cancel-form/cancel-appointment.component.tsx +3 -3
- package/src/appointments/forms/forms.resource.ts +3 -3
- package/src/config-schema.ts +2 -2
- package/src/form/appointments-form.resource.ts +7 -7
- package/src/home/check-in-modal/check-in-modal.component.tsx +2 -2
- package/src/home/common.ts +1 -1
- package/src/home/home-appointments.resource.ts +5 -5
- package/src/hooks/useAppointmentList.ts +3 -3
- package/src/hooks/useAppointmentService.ts +2 -2
- package/src/hooks/useAppointments.ts +6 -6
- package/src/hooks/useAppointmentsCalendar.ts +2 -2
- package/src/hooks/useClinicalMetrics.ts +4 -4
- package/src/hooks/usePatientAppointmentHistory.ts +2 -2
- package/src/hooks/useProviders.ts +2 -2
- package/src/hooks/useServiceQueus.ts +2 -2
- package/src/hooks/useUnscheduledAppointments.ts +2 -2
- package/src/hooks/useVisits.ts +2 -2
- package/src/past-visit/past-visit.resource.ts +2 -2
- package/src/patient-queue/visit-form/queue.resource.ts +3 -3
- package/src/workload/workload.resource.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -15,8 +15,8 @@ orphan modules 6.95 MiB [1m[33m[orphan][39m[22m 1155 modules
|
|
|
15
15
|
runtime modules 39.8 KiB 28 modules
|
|
16
16
|
built modules 6.17 MiB (javascript) 294 bytes (consume-shared) 252 bytes (share-init) [1m[33m[built][39m[22m
|
|
17
17
|
modules by path [1m../../node_modules/[39m[22m 5.65 MiB 110 modules
|
|
18
|
-
modules by path [1m./[39m[22m
|
|
19
|
-
modules by path [1m./src/[39m[22m
|
|
18
|
+
modules by path [1m./[39m[22m 539 KiB
|
|
19
|
+
modules by path [1m./src/[39m[22m 493 KiB 39 modules
|
|
20
20
|
modules by path [1m./translations/[39m[22m 45.8 KiB 10 modules
|
|
21
21
|
consume-shared-module modules 294 bytes 7 modules
|
|
22
22
|
provide-module modules 252 bytes
|
|
@@ -38,4 +38,4 @@ Entrypoints:
|
|
|
38
38
|
main.js
|
|
39
39
|
[39m[22m
|
|
40
40
|
|
|
41
|
-
webpack 5.86.0 compiled with [1m[33m2 warnings[39m[22m in
|
|
41
|
+
webpack 5.86.0 compiled with [1m[33m2 warnings[39m[22m in 126505 ms
|
package/dist/500.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[500],{422:(e,n,t)=>{t.d(n,{Z:()=>c});var r=t(272),o=t.n(r),i=t(2609),a=t.n(i)()(o());a.push([e.id,".-esm-appointments__check-in-modal__checkInTime___HhC6O{display:flex;align-items:center}.-esm-appointments__check-in-modal__checkInLabel___sigeA{margin-right:.5rem;font-weight:bold}","",{version:3,sources:["webpack://./src/home/check-in-modal/check-in-modal.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGA,wDACE,YAAA,CACA,kBAAA,CAGF,yDACE,kBCYW,CDXX,gBAAA",sourceRoot:""}]),a.locals={checkInTime:"-esm-appointments__check-in-modal__checkInTime___HhC6O",checkInLabel:"-esm-appointments__check-in-modal__checkInLabel___sigeA"};const c=a},2500:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var r=t(268),o=t.n(r),i=t(8879),a=t.n(i),c=t(7990),l=t(4924),s=t(2870),u=t(505),p=t(
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[500],{422:(e,n,t)=>{t.d(n,{Z:()=>c});var r=t(272),o=t.n(r),i=t(2609),a=t.n(i)()(o());a.push([e.id,".-esm-appointments__check-in-modal__checkInTime___HhC6O{display:flex;align-items:center}.-esm-appointments__check-in-modal__checkInLabel___sigeA{margin-right:.5rem;font-weight:bold}","",{version:3,sources:["webpack://./src/home/check-in-modal/check-in-modal.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGA,wDACE,YAAA,CACA,kBAAA,CAGF,yDACE,kBCYW,CDXX,gBAAA",sourceRoot:""}]),a.locals={checkInTime:"-esm-appointments__check-in-modal__checkInTime___HhC6O",checkInLabel:"-esm-appointments__check-in-modal__checkInLabel___sigeA"};const c=a},2500:(e,n,t)=>{t.r(n),t.d(n,{default:()=>N});var r=t(268),o=t.n(r),i=t(8879),a=t.n(i),c=t(7990),l=t(4924),s=t(2870),u=t(505),p=t(3291),m=t(1375),h=t(1354),d=t.n(h),f=t(1583),k=t.n(f),b=t(7378),y=t.n(b),_=t(5993),A=t.n(_),v=t(4154),g=t.n(v),w=t(8141),C=t.n(w),I=t(422),E={};E.styleTagTransform=C(),E.setAttributes=A(),E.insert=y().bind(null,"head"),E.domAPI=k(),E.insertStyleElement=g(),d()(I.Z,E);const S=I.Z&&I.Z.locals?I.Z.locals:void 0;function T(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function x(e,n,t,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void t(e)}c.done?n(l):Promise.resolve(l).then(r,o)}function L(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,c=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(c)throw o}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return T(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?T(e,n):void 0}}(e,n)||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.")}()}const N=function(e){var n,t,i=e.closeCheckInModal,h=e.appointmentUuid,d=(0,l.useTranslation)().t,f=(0,p.EJ)().mutateAppointments,k=L((0,r.useState)(a()(new Date).format("hh:mm")),2),b=k[0],y=k[1],_=L((0,r.useState)(!1),2),A=_[0],v=_[1],g=(n=function(){return function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,(function(e){switch(e.label){case 0:return v(!0),[4,(0,u.LW)("CheckedIn",h)];case 1:return 200===e.sent().status?(i(),(0,s.showActionableNotification)({critical:!0,kind:"success",actionButtonLabel:d("undo","Undo"),progressActionLabel:d("revertingAppointmentStatus","Reverting appointment status"),onActionButtonClick:function(){return(0,m.NL)(h,f)},subtitle:d("appointmentSuccessfullyCheckedIn","It has been checked-in successfully"),title:d("appointmentCheckedIn","Appointment Checked-in")}),f()):((0,s.showNotification)({title:d("appointmentCheckInError","Error checking in appointment"),kind:"error",critical:!0,description:d("errorCheckingAppoitment","Error checking in the appointment")}),v(!1)),[2]}}))},t=function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){x(i,r,o,a,c,"next",e)}function c(e){x(i,r,o,a,c,"throw",e)}a(void 0)}))},function(){return t.apply(this,arguments)});return o().createElement("div",null,o().createElement(c.xBx,{closeModal:i,title:d("checkInAppointment","Are you sure you want to mark appointment as Checked-in?")}),o().createElement(c.fef,null,o().createElement("div",{className:S.checkInTime},o().createElement("span",{className:S.checkInLabel},d("checkinTime","Check-in time"),":"),o().createElement(c.mh4,null,o().createElement(c.jII,{required:!0,className:S.timePickerInput,pattern:"([\\d]+:[\\d]{2})",onChange:function(e){return y(e.target.value)},value:b,id:"end-time-picker"})))),o().createElement(c.mzw,null,o().createElement(c.zxk,{kind:"secondary",onClick:i},d("no","No")),o().createElement(c.zxk,{onClick:g,disabled:A},d("yes","Yes"))))}}}]);
|
package/dist/500.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"500.js","mappings":"yMAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,wLAAyL,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,0DAA0D,8EAA8E,MAAQ,GAAG,SAAW,yDAAyD,WAAa,MAEjeH,EAAwBI,OAAS,CAChC,YAAe,y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B,EAAAA,EAAAA,kBAAiB,CACfD,MAAOtB,EAAE,0BAA2B,iCACpCgB,KAAM,QACND,UAAU,EACVS,YAAaxB,EAAE,0BAA2B,uCAE5CU,GAAgB,I,OAEpB,E,4NAEA,OACE,kBAACe,MAAAA,KACC,kBAACC,EAAAA,IAAWA,CACVC,WAAY9B,EACZyB,MAAOtB,EAAE,qBAAsB,8DAEjC,kBAAC4B,EAAAA,IAASA,KACR,kBAACH,MAAAA,CAAII,UAAWC,EAAOvB,aACrB,kBAACwB,OAAAA,CAAKF,UAAWC,EAAOE,cAAehC,EAAE,cAAe,iBAAiB,KACzE,kBAACiC,EAAAA,IAAKA,KACJ,kBAACC,EAAAA,IAAUA,CACTC,UAAAA,EACAN,UAAWC,EAAOM,gBAClBC,QAAQ,oBACRC,SAAU,SAACC,G,OAAU/B,EAAe+B,EAAMC,OAAOC,M,EACjDA,MAAOlC,EACPnB,GAAG,uBAKX,kBAACsD,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAAC3B,KAAK,YAAY4B,QAAS/C,GAC/BG,EAAE,KAAM,OAEX,kBAAC2C,EAAAA,IAAMA,CAACC,QAASjC,EAAckC,SAAUpC,GACtCT,EAAE,MAAO,SAKpB,C","sources":["webpack://@openmrs/esm-appointments-app/./src/home/check-in-modal/check-in-modal.scss","webpack://@openmrs/esm-appointments-app/./src/home/check-in-modal/check-in-modal.scss?a95b","webpack://@openmrs/esm-appointments-app/./src/home/check-in-modal/check-in-modal.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","closeCheckInModal","appointmentUuid","useTranslation","t","useMutateAppointments","mutateAppointments","useState","dayjs","Date","format","checkInTime","setCheckInTime","isSubmitting","setIsSubmitting","handleSubmit","updateAppointmentStatus","status","showActionableNotification","critical","kind","actionButtonLabel","progressActionLabel","onActionButtonClick","handleUndoAction","subtitle","title","showNotification","description","div","ModalHeader","closeModal","ModalBody","className","styles","span","checkInLabel","Layer","TimePicker","required","timePickerInput","pattern","onChange","event","target","value","ModalFooter","Button","onClick","disabled"],"sourceRoot":""}
|