@openmrs/esm-appointments-app 6.1.1-pre.3204 → 6.1.1-pre.3216
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 +15 -15
- package/dist/309.js +1 -1
- package/dist/4.js +1 -1
- package/dist/57.js +2 -0
- package/dist/57.js.map +1 -0
- package/dist/574.js +1 -1
- package/dist/78.js +1 -0
- package/dist/78.js.map +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-appointments-app.js +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +81 -81
- package/dist/openmrs-esm-appointments-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/appointments/common-components/appointments-actions.component.tsx +2 -1
- package/src/appointments/common-components/checkin-button.component.tsx +2 -7
- package/src/calendar/monthly/monthly-view-workload.scss +49 -10
- package/src/calendar/monthly/monthly-workload-view-expanded.component.tsx +42 -0
- package/src/calendar/monthly/monthly-workload-view.component.tsx +56 -29
- package/translations/en.json +2 -16
- package/dist/520.js +0 -1
- package/dist/520.js.map +0 -1
- package/dist/776.js +0 -2
- package/dist/776.js.map +0 -1
- package/src/patient-queue/visit-form/base-visit-type.component.tsx +0 -78
- package/src/patient-queue/visit-form/base-visit-type.scss +0 -103
- package/src/patient-queue/visit-form/queue.resource.ts +0 -63
- package/src/patient-queue/visit-form/visit-form.component.tsx +0 -370
- package/src/patient-queue/visit-form/visit-form.scss +0 -97
- /package/dist/{776.js.LICENSE.txt → 57.js.LICENSE.txt} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Browserslist: caniuse-lite is outdated. Please run:
|
|
2
2
|
npx update-browserslist-db@latest
|
|
3
3
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
4
|
-
assets by path [1m[32m*.js[39m[22m 3.
|
|
5
|
-
assets by chunk 1.
|
|
6
|
-
assets by status [1m[33m1.
|
|
7
|
-
asset [1m[
|
|
4
|
+
assets by path [1m[32m*.js[39m[22m 3.07 MiB
|
|
5
|
+
assets by chunk 1.77 MiB (id hint: vendors)
|
|
6
|
+
assets by status [1m[33m1.57 MiB[39m[22m [1m[33m[big][39m[22m
|
|
7
|
+
asset [1m[33m57.js[39m[22m [1m[33m813 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 2 related assets
|
|
8
8
|
asset [1m[33m130.js[39m[22m [1m[33m796 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 2 related assets
|
|
9
9
|
asset [1m[32m390.js[39m[22m 96.7 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 2 related assets
|
|
10
10
|
asset [1m[32m591.js[39m[22m 50.8 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 2 related assets
|
|
@@ -16,13 +16,13 @@ assets by path [1m[32m*.js[39m[22m 3.13 MiB
|
|
|
16
16
|
assets by path [1m[32m*.json[39m[22m 16.3 KiB
|
|
17
17
|
asset [1m[32mopenmrs-esm-appointments-app.js.buildmanifest.json[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
|
|
18
18
|
asset [1m[32mroutes.json[39m[22m 2.44 KiB [1m[32m[emitted][39m[22m [from: src/routes.json] [1m[32m[copied][39m[22m
|
|
19
|
-
orphan modules
|
|
20
|
-
runtime modules 41 KiB 28 modules
|
|
21
|
-
built modules 7.
|
|
22
|
-
modules by path [1m../../node_modules/[39m[22m 7.
|
|
23
|
-
modules by path [1m./[39m[22m
|
|
24
|
-
modules by path [1m./src/[39m[22m
|
|
25
|
-
modules by path [1m./translations/[39m[22m 42
|
|
19
|
+
orphan modules 6.82 MiB [1m[33m[orphan][39m[22m 962 modules
|
|
20
|
+
runtime modules 41.1 KiB 28 modules
|
|
21
|
+
built modules 7.81 MiB (javascript) 336 bytes (consume-shared) 294 bytes (share-init) [1m[33m[built][39m[22m
|
|
22
|
+
modules by path [1m../../node_modules/[39m[22m 7.37 MiB 115 modules
|
|
23
|
+
modules by path [1m./[39m[22m 453 KiB
|
|
24
|
+
modules by path [1m./src/[39m[22m 411 KiB 36 modules
|
|
25
|
+
modules by path [1m./translations/[39m[22m 42 KiB 10 modules
|
|
26
26
|
consume-shared-module modules 336 bytes 8 modules
|
|
27
27
|
provide-module modules 294 bytes
|
|
28
28
|
modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
|
|
@@ -33,14 +33,14 @@ built modules 7.78 MiB (javascript) 336 bytes (consume-shared) 294 bytes (share-
|
|
|
33
33
|
[1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
34
34
|
This can impact web performance.
|
|
35
35
|
Assets:
|
|
36
|
-
main.js (1.
|
|
36
|
+
main.js (1.03 MiB)
|
|
37
37
|
130.js (796 KiB)
|
|
38
|
-
|
|
38
|
+
57.js (813 KiB)[39m[22m
|
|
39
39
|
|
|
40
40
|
[1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
41
41
|
Entrypoints:
|
|
42
|
-
main (1.
|
|
42
|
+
main (1.03 MiB)
|
|
43
43
|
main.js
|
|
44
44
|
[39m[22m
|
|
45
45
|
|
|
46
|
-
webpack 5.86.0 compiled with [1m[33m2 warnings[39m[22m in
|
|
46
|
+
webpack 5.86.0 compiled with [1m[33m2 warnings[39m[22m in 121556 ms
|
package/dist/309.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[309],{5309:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var i=n(268),o=n.n(i),s=n(4924),a=n(2870),l=n(
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[309],{5309:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var i=n(268),o=n.n(i),s=n(4924),a=n(2870),l=n(9817),p=n(8527),c=n(3291);const r=function(t){var e=t.patientUuid,n=t.appointmentUuid,i=t.closeModal,r=(0,a.useVisit)(e),u=r.activeVisit,d=r.mutate,m=(0,s.useTranslation)().t,h=(0,c.EJ)().mutateAppointments;return o().createElement("div",null,o().createElement(l.xBx,{closeModal:i,title:m("endAppointmentConfirmation","Are you sure you want to check the patient out for this appointment?")}),o().createElement(l.fef,null,o().createElement("p",null,u?m("endAppointmentAndVisitConfirmationMessage","Checking the patient out will mark the appointment as complete, and close out the active visit for this patient."):m("endAppointmentConfirmationMessage","Checking the patient out will mark the appointment as complete."))),o().createElement(l.mzw,null,o().createElement(l.zxk,{kind:"secondary",onClick:i},m("cancel","Cancel")),o().createElement(l.zxk,{kind:"danger",onClick:function(){return(0,p.q)("Completed",n).then((function(){if(h(),u){var t=new AbortController,e={location:u.location.uuid,startDatetime:(0,a.parseDate)(u.startDatetime),visitType:u.visitType.uuid,stopDatetime:new Date};(0,a.updateVisit)(u.uuid,e,t).toPromise().then((function(){d(),(0,a.showSnackbar)({title:m("appointmentEnded","Appointment ended"),subtitle:m("appointmentEndedAndVisitClosedSuccessfully","Appointment successfully ended and visit successfully closed."),isLowContrast:!0,kind:"success"}),i()})).catch((function(t){i(),(0,a.showSnackbar)({title:m("appointmentEndedButVisitNotClosedError","Appointment ended, but error closing visit"),subtitle:null==t?void 0:t.message,kind:"error",isLowContrast:!0})}))}else i(),(0,a.showSnackbar)({title:m("appointmentEnded","Appointment ended"),subtitle:m("appointmentEndedSuccessfully","Appointment successfully ended."),isLowContrast:!0,kind:"success"})})).catch((function(t){i(),(0,a.showSnackbar)({title:m("appointmentEndError","Error ending appointment"),subtitle:null==t?void 0:t.message,kind:"error",isLowContrast:!0})}))}},m("checkOut","Check Out"))))}}}]);
|
package/dist/4.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[4],{4:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var r=n(268),o=n.n(r),a=n(4924),l=n(
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[4],{4:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var r=n(268),o=n.n(r),a=n(4924),l=n(9817),i=n(2870),c=n(8527);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n,r,o,a,l){try{var i=e[a](l),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,o)}const p=function(e){var t,n,p,f,m=e.closeCancelModal,d=e.appointmentUuid,h=e.patientUuid,y=(0,a.useTranslation)().t,b=(0,c.W)(h,(new Date).toUTCString(),new AbortController).mutate,v=(p=(0,r.useState)(!1),f=2,function(e){if(Array.isArray(e))return e}(p)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],l=!0,i=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(e){i=!0,o=e}finally{try{l||null==n.return||n.return()}finally{if(i)throw o}}return a}}(p,f)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(p,f)||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.")}()),w=v[0],k=v[1],C=(t=function(){return function(e,t){var n,r,o,a,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,r=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!((o=(o=l.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){l=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){l.label=a[1];break}if(6===a[0]&&l.label<o[1]){l.label=o[1],o=a;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(a);break}o[2]&&l.ops.pop(),l.trys.pop();continue}a=t.call(e,l)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}(this,(function(e){return k(!0),(0,c.q)("Cancelled",d).then((function(e){200===e.status&&(b(),m(),(0,i.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:y("appointmentCancelledSuccessfully","Appointment cancelled successfully"),title:y("appointmentCancelled","Appointment cancelled")}))})).catch((function(e){(0,i.showSnackbar)({title:y("appointmentCancelError","Error cancelling appointment"),kind:"error",isLowContrast:!0,subtitle:null==e?void 0:e.message})})),[2]}))},n=function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function l(e){s(a,r,o,l,i,"next",e)}function i(e){s(a,r,o,l,i,"throw",e)}l(void 0)}))},function(){return n.apply(this,arguments)});return o().createElement("div",null,o().createElement(l.xBx,{closeModal:m,title:y("cancelAppointment","Cancel appointment")}),o().createElement(l.fef,null,o().createElement("p",null,y("cancelAppointmentModalConfirmationText","Are you sure you want to cancel this appointment?"))),o().createElement(l.mzw,null,o().createElement(l.zxk,{kind:"secondary",onClick:m},y("discard","Discard")),o().createElement(l.zxk,{kind:"danger",onClick:C,disabled:w},y("cancelAppointment","Cancel appointment"))))}}}]);
|