@openmrs/esm-appointments-app 5.2.2-pre.2602 → 5.2.2-pre.2609

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/.turbo/turbo-build.log +15 -14
  2. package/dist/588.js +1 -0
  3. package/dist/588.js.map +1 -0
  4. package/dist/595.js +2 -0
  5. package/dist/{530.js.LICENSE.txt → 595.js.LICENSE.txt} +8 -5
  6. package/dist/595.js.map +1 -0
  7. package/dist/636.js +1 -0
  8. package/dist/636.js.map +1 -0
  9. package/dist/80.js +1 -1
  10. package/dist/80.js.map +1 -1
  11. package/dist/main.js +1 -1
  12. package/dist/main.js.LICENSE.txt +9 -6
  13. package/dist/main.js.map +1 -1
  14. package/dist/openmrs-esm-appointments-app.js +1 -1
  15. package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +62 -83
  16. package/dist/openmrs-esm-appointments-app.js.map +1 -1
  17. package/dist/routes.json +1 -1
  18. package/package.json +2 -2
  19. package/src/appointments/common-components/appointments-actions.component.tsx +3 -4
  20. package/src/appointments/common-components/appointments-actions.test.tsx +5 -4
  21. package/src/appointments-calendar/calendar-view.component.tsx +2 -2
  22. package/src/appointments-calendar/daily/daily-calendar-view.component.tsx +7 -5
  23. package/src/appointments-calendar/daily/daily-header.component.tsx +1 -4
  24. package/src/appointments-calendar/daily/{daily-view-workload.component.tsx → daily-workload-view.component.tsx} +8 -9
  25. package/src/appointments-calendar/daily/{daily-view-workload.test.tsx → daily-workload-view.test.tsx} +13 -11
  26. package/src/appointments-calendar/header/calendar-header.component.tsx +2 -20
  27. package/src/appointments-calendar/monthly/monthly-calendar-view.component.tsx +4 -4
  28. package/src/appointments-calendar/monthly/{monthly-view-workload.component.tsx → monthly-workload-view.component.tsx} +14 -8
  29. package/src/appointments-calendar/weekly/weekly-calendar-view.component.tsx +7 -6
  30. package/src/appointments-calendar/weekly/weekly-header.component.tsx +0 -3
  31. package/src/appointments-calendar/weekly/{weekly-view-workload.component.tsx → weekly-workload-view.component.tsx} +8 -9
  32. package/src/appointments-calendar/weekly/{weekly-view-workload.test.tsx → weekly-workload-view.test.tsx} +13 -11
  33. package/src/appointments-header/appointments-header.component.tsx +1 -1
  34. package/src/home-appointments/appointment-actions.component.tsx +1 -1
  35. package/src/hooks/useAppointmentsCalendar.ts +28 -20
  36. package/src/types/index.ts +8 -0
  37. package/dist/469.js +0 -1
  38. package/dist/469.js.map +0 -1
  39. package/dist/530.js +0 -2
  40. package/dist/530.js.map +0 -1
  41. package/dist/610.js +0 -1
  42. package/dist/610.js.map +0 -1
  43. package/dist/799.js +0 -1
  44. package/dist/799.js.map +0 -1
@@ -1 +1 @@
1
- var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m={5605:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(255),t.e(530),t.e(268),t.e(325),t.e(799)]).then((()=>()=>t(4799)))},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})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-appointments-app:",g.l=(t,n,o,a)=>{if(e[t])e[t].push(n);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")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,g.nc&&i.setAttribute("nonce",g.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.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];g.o(g.S,t)||(g.S[t]={});var a=g.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","5.3.3-pre.1347",(()=>Promise.all([g.e(130),g.e(268)]).then((()=>()=>g(130))))),l("react-i18next","11.18.6",(()=>Promise.all([g.e(268),g.e(610)]).then((()=>()=>g(610))))),l("react-router-dom","6.4.3",(()=>Promise.all([g.e(591),g.e(268)]).then((()=>()=>g(6591))))),l("react","18.2.0",(()=>g.e(784).then((()=>()=>g(2784))))),l("swr/_internal","2.0.1",(()=>Promise.all([g.e(729),g.e(268)]).then((()=>()=>g(4729))))),l("swr/immutable","2.0.1",(()=>Promise.all([g.e(255),g.e(268),g.e(325),g.e(152)]).then((()=>()=>g(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;g.g.importScripts&&(e=g.g.location+"");var r=g.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=e})(),t=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},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=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,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():o(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!o:""==f!=o);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=o)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",s=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||u(l(e,t,o,n)),p(e[t][o])},u=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},p=e=>(e.loaded=1,e.get()),f=(e=>function(r,t,n,o){var a=g.I(r);return a&&a.then?a.then(e.bind(e,r,g.S[r],t,n,o)):e(0,g.S[r],t,n,o)})(((e,r,t,n,o)=>r&&g.o(r,t)?s(r,0,t,n):o())),d={},c={268:()=>f("default","react",[1,18],(()=>g.e(784).then((()=>()=>g(2784))))),3325:()=>f("default","swr/_internal",[1,2],(()=>g.e(729).then((()=>()=>g(4729))))),2870:()=>f("default","@openmrs/esm-framework",[1,5],(()=>g.e(130).then((()=>()=>g(130))))),4924:()=>f("default","react-i18next",[1,11],(()=>g.e(469).then((()=>()=>g(610))))),8744:()=>f("default","react-router-dom",[1,6],(()=>g.e(591).then((()=>()=>g(6591))))),9198:()=>f("default","swr/immutable",[1,2],(()=>g.e(303).then((()=>()=>g(2303)))))},h={268:[268],325:[3325],799:[2870,4924,8744,9198]},g.f.consumes=(e,r)=>{g.o(h,e)&&h[e].forEach((e=>{if(g.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,g.m[e]=t=>{delete g.c[e],t.exports=r()}},n=r=>{delete d[e],g.m[e]=t=>{throw delete g.c[e],r}};try{var o=c[e]();o.then?r.push(d[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={529:0};g.f.j=(r,t)=>{var n=g.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|325)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=g.p+g.u(r),i=new Error;g.l(a,(t=>{if(g.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)g.o(i,n)&&(g.m[n]=i[n]);l&&l(g)}for(r&&r(t);s<a.length;s++)o=a[s],g.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))})(),g.nc=void 0;var b=g(5605);_openmrs_esm_appointments_app=b})();
1
+ var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m={5605:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(255),t.e(595),t.e(268),t.e(325),t.e(636)]).then((()=>()=>t(8636)))},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})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-appointments-app:",g.l=(t,n,o,a)=>{if(e[t])e[t].push(n);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")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,g.nc&&i.setAttribute("nonce",g.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.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];g.o(g.S,t)||(g.S[t]={});var a=g.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","5.3.3-pre.1347",(()=>Promise.all([g.e(130),g.e(268)]).then((()=>()=>g(130))))),l("react-i18next","11.18.6",(()=>Promise.all([g.e(588),g.e(268)]).then((()=>()=>g(6588))))),l("react-router-dom","6.4.3",(()=>Promise.all([g.e(591),g.e(268)]).then((()=>()=>g(6591))))),l("react","18.2.0",(()=>g.e(784).then((()=>()=>g(2784))))),l("swr/_internal","2.0.1",(()=>Promise.all([g.e(729),g.e(268)]).then((()=>()=>g(4729))))),l("swr/immutable","2.0.1",(()=>Promise.all([g.e(255),g.e(268),g.e(325),g.e(152)]).then((()=>()=>g(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;g.g.importScripts&&(e=g.g.location+"");var r=g.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=e})(),t=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},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=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,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():o(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!o:""==f!=o);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=o)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",s=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||u(l(e,t,o,n)),p(e[t][o])},u=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},p=e=>(e.loaded=1,e.get()),f=(e=>function(r,t,n,o){var a=g.I(r);return a&&a.then?a.then(e.bind(e,r,g.S[r],t,n,o)):e(0,g.S[r],t,n,o)})(((e,r,t,n,o)=>r&&g.o(r,t)?s(r,0,t,n):o())),d={},c={268:()=>f("default","react",[1,18],(()=>g.e(784).then((()=>()=>g(2784))))),3325:()=>f("default","swr/_internal",[1,2],(()=>g.e(729).then((()=>()=>g(4729))))),2870:()=>f("default","@openmrs/esm-framework",[1,5],(()=>g.e(130).then((()=>()=>g(130))))),4924:()=>f("default","react-i18next",[1,11],(()=>g.e(588).then((()=>()=>g(6588))))),8744:()=>f("default","react-router-dom",[1,6],(()=>g.e(591).then((()=>()=>g(6591))))),9198:()=>f("default","swr/immutable",[1,2],(()=>g.e(303).then((()=>()=>g(2303)))))},h={268:[268],325:[3325],636:[2870,4924,8744,9198]},g.f.consumes=(e,r)=>{g.o(h,e)&&h[e].forEach((e=>{if(g.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,g.m[e]=t=>{delete g.c[e],t.exports=r()}},n=r=>{delete d[e],g.m[e]=t=>{throw delete g.c[e],r}};try{var o=c[e]();o.then?r.push(d[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={529:0};g.f.j=(r,t)=>{var n=g.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|325)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=g.p+g.u(r),i=new Error;g.l(a,(t=>{if(g.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)g.o(i,n)&&(g.m[n]=i[n]);l&&l(g)}for(r&&r(t);s<a.length;s++)o=a[s],g.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))})(),g.nc=void 0;var b=g(5605);_openmrs_esm_appointments_app=b})();
@@ -5,9 +5,9 @@
5
5
  "initial": false,
6
6
  "entry": false,
7
7
  "recorded": false,
8
- "size": 12590,
8
+ "size": 12562,
9
9
  "sizes": {
10
- "javascript": 12590
10
+ "javascript": 12562
11
11
  },
12
12
  "names": [],
13
13
  "idHints": [],
@@ -21,7 +21,7 @@
21
21
  "auxiliaryFiles": [
22
22
  "80.js.map"
23
23
  ],
24
- "hash": "90b8e73b63c2dafe",
24
+ "hash": "7fd50807fb42fb85",
25
25
  "childrenByOrder": {}
26
26
  },
27
27
  {
@@ -80,12 +80,12 @@
80
80
  "initial": true,
81
81
  "entry": true,
82
82
  "recorded": false,
83
- "size": 4539740,
83
+ "size": 4544704,
84
84
  "sizes": {
85
85
  "consume-shared": 252,
86
- "javascript": 4518818,
86
+ "javascript": 4523780,
87
87
  "share-init": 252,
88
- "runtime": 20418
88
+ "runtime": 20420
89
89
  },
90
90
  "names": [
91
91
  "main"
@@ -100,7 +100,7 @@
100
100
  "auxiliaryFiles": [
101
101
  "main.js.map"
102
102
  ],
103
- "hash": "b7df301a4da6b1fe",
103
+ "hash": "bf5152ba3b49ae46",
104
104
  "childrenByOrder": {}
105
105
  },
106
106
  {
@@ -262,40 +262,16 @@
262
262
  "hash": "20523c05dc47d5d2",
263
263
  "childrenByOrder": {}
264
264
  },
265
- {
266
- "rendered": true,
267
- "initial": false,
268
- "entry": false,
269
- "recorded": false,
270
- "size": 38928,
271
- "sizes": {
272
- "javascript": 38928
273
- },
274
- "names": [],
275
- "idHints": [],
276
- "runtime": [
277
- "@openmrs/esm-appointments-app",
278
- "main"
279
- ],
280
- "files": [
281
- "469.js"
282
- ],
283
- "auxiliaryFiles": [
284
- "469.js.map"
285
- ],
286
- "hash": "417aa4883f47984f",
287
- "childrenByOrder": {}
288
- },
289
265
  {
290
266
  "rendered": true,
291
267
  "initial": true,
292
268
  "entry": true,
293
269
  "recorded": false,
294
- "size": 20309,
270
+ "size": 20311,
295
271
  "sizes": {
296
272
  "javascript": 42,
297
273
  "share-init": 252,
298
- "runtime": 20015
274
+ "runtime": 20017
299
275
  },
300
276
  "names": [
301
277
  "@openmrs/esm-appointments-app"
@@ -310,7 +286,7 @@
310
286
  "auxiliaryFiles": [
311
287
  "openmrs-esm-appointments-app.js.map"
312
288
  ],
313
- "hash": "281ae93cb00bc924",
289
+ "hash": "42e7b4f5e4fcfb34",
314
290
  "childrenByOrder": {}
315
291
  },
316
292
  {
@@ -318,25 +294,21 @@
318
294
  "initial": false,
319
295
  "entry": false,
320
296
  "recorded": false,
321
- "reason": "split chunk (cache group: defaultVendors)",
322
- "size": 4016025,
297
+ "size": 5291,
323
298
  "sizes": {
324
- "javascript": 4016025
299
+ "javascript": 5291
325
300
  },
326
301
  "names": [],
327
- "idHints": [
328
- "vendors"
329
- ],
302
+ "idHints": [],
330
303
  "runtime": [
331
- "@openmrs/esm-appointments-app"
304
+ "@openmrs/esm-appointments-app",
305
+ "main"
332
306
  ],
333
307
  "files": [
334
- "530.js"
335
- ],
336
- "auxiliaryFiles": [
337
- "530.js.map"
308
+ "574.js"
338
309
  ],
339
- "hash": "6e79a40cee2d7d9a",
310
+ "auxiliaryFiles": [],
311
+ "hash": "5d83471ff383c29e",
340
312
  "childrenByOrder": {}
341
313
  },
342
314
  {
@@ -344,21 +316,26 @@
344
316
  "initial": false,
345
317
  "entry": false,
346
318
  "recorded": false,
347
- "size": 5291,
319
+ "reason": "reused as split chunk (cache group: defaultVendors)",
320
+ "size": 39276,
348
321
  "sizes": {
349
- "javascript": 5291
322
+ "javascript": 39276
350
323
  },
351
324
  "names": [],
352
- "idHints": [],
325
+ "idHints": [
326
+ "vendors"
327
+ ],
353
328
  "runtime": [
354
329
  "@openmrs/esm-appointments-app",
355
330
  "main"
356
331
  ],
357
332
  "files": [
358
- "574.js"
333
+ "588.js"
359
334
  ],
360
- "auxiliaryFiles": [],
361
- "hash": "5d83471ff383c29e",
335
+ "auxiliaryFiles": [
336
+ "588.js.map"
337
+ ],
338
+ "hash": "0e50ef10f51484b8",
362
339
  "childrenByOrder": {}
363
340
  },
364
341
  {
@@ -393,23 +370,49 @@
393
370
  "initial": false,
394
371
  "entry": false,
395
372
  "recorded": false,
396
- "size": 39276,
373
+ "reason": "split chunk (cache group: defaultVendors)",
374
+ "size": 4021869,
397
375
  "sizes": {
398
- "javascript": 39276
376
+ "javascript": 4021869
377
+ },
378
+ "names": [],
379
+ "idHints": [
380
+ "vendors"
381
+ ],
382
+ "runtime": [
383
+ "@openmrs/esm-appointments-app"
384
+ ],
385
+ "files": [
386
+ "595.js"
387
+ ],
388
+ "auxiliaryFiles": [
389
+ "595.js.map"
390
+ ],
391
+ "hash": "2bc2bc33b23d6fd1",
392
+ "childrenByOrder": {}
393
+ },
394
+ {
395
+ "rendered": true,
396
+ "initial": false,
397
+ "entry": false,
398
+ "recorded": false,
399
+ "size": 480411,
400
+ "sizes": {
401
+ "javascript": 480243,
402
+ "consume-shared": 168
399
403
  },
400
404
  "names": [],
401
405
  "idHints": [],
402
406
  "runtime": [
403
- "@openmrs/esm-appointments-app",
404
- "main"
407
+ "@openmrs/esm-appointments-app"
405
408
  ],
406
409
  "files": [
407
- "610.js"
410
+ "636.js"
408
411
  ],
409
412
  "auxiliaryFiles": [
410
- "610.js.map"
413
+ "636.js.map"
411
414
  ],
412
- "hash": "d711d096d0748a99",
415
+ "hash": "be2f88036054c3be",
413
416
  "childrenByOrder": {}
414
417
  },
415
418
  {
@@ -529,30 +532,6 @@
529
532
  "hash": "8586d3ab3d3eed3b",
530
533
  "childrenByOrder": {}
531
534
  },
532
- {
533
- "rendered": true,
534
- "initial": false,
535
- "entry": false,
536
- "recorded": false,
537
- "size": 481293,
538
- "sizes": {
539
- "javascript": 481125,
540
- "consume-shared": 168
541
- },
542
- "names": [],
543
- "idHints": [],
544
- "runtime": [
545
- "@openmrs/esm-appointments-app"
546
- ],
547
- "files": [
548
- "799.js"
549
- ],
550
- "auxiliaryFiles": [
551
- "799.js.map"
552
- ],
553
- "hash": "c96afbde19255af5",
554
- "childrenByOrder": {}
555
- },
556
535
  {
557
536
  "rendered": true,
558
537
  "initial": false,
@@ -1 +1 @@
1
- {"version":3,"file":"openmrs-esm-appointments-app.js","mappings":"yDAAIA,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAgBAC,EAMAC,EAOAC,EA8BAC,EAMAC,EA6CAC,EAYAC,EACAC,EASAC,E,kBChJJ,IAAIC,EAAY,CACf,UAAW,IACHC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,OAAOC,MAAK,IAAM,IAASF,EAAoB,SAGvMR,EAAM,CAACW,EAAQC,KAClBJ,EAAoBK,EAAID,EACxBA,EACCJ,EAAoBM,EAAET,EAAWM,GAC9BN,EAAUM,KACVL,QAAQS,UAAUL,MAAK,KACxB,MAAM,IAAIM,MAAM,WAAaL,EAAS,iCAAiC,IAG1EH,EAAoBK,OAAII,EACjBL,GAEJM,EAAO,CAACC,EAAYC,KACvB,GAAKZ,EAAoBa,EAAzB,CACA,IAAIC,EAAO,UACPC,EAAWf,EAAoBa,EAAEC,GACrC,GAAGC,GAAYA,IAAaJ,EAAY,MAAM,IAAIH,MAAM,mGAExD,OADAR,EAAoBa,EAAEC,GAAQH,EACvBX,EAAoBgB,EAAEF,EAAMF,EALD,CAKW,EAI9CZ,EAAoBiB,EAAEC,EAAS,CAC9B1B,IAAK,IAAM,EACXkB,KAAM,IAAM,G,GC5BTS,EAA2B,CAAC,EAGhC,SAASnB,EAAoBoB,GAE5B,IAAIC,EAAeF,EAAyBC,GA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AAYX,EAAMW,MAChEwD,EAAUnE,GAASA,EAAMY,QAAUZ,EAAMY,OAAOf,IACpD+D,EAAMQ,QAAU,iBAAmBvG,EAAU,cAAgBqG,EAAY,KAAOC,EAAU,IAC1FP,EAAMvH,KAAO,iBACbuH,EAAMjD,KAAOuD,EACbN,EAAMS,QAAUF,EAChBJ,EAAmB,GAAGH,EACvB,CACD,GAEwC,SAAW/F,EAASA,EAC9D,CAEF,EAcF,IAAIyG,EAAuB,CAACC,EAA4BC,KACvD,IAGI7H,EAAUkB,GAHT4G,EAAUC,EAAaC,GAAWH,EAGhBpF,EAAI,EAC3B,GAAGqF,EAASG,MAAM/H,GAAgC,IAAxBgH,EAAgBhH,KAAa,CACtD,IAAIF,KAAY+H,EACZnJ,EAAoBM,EAAE6I,EAAa/H,KACrCpB,EAAoB0B,EAAEN,GAAY+H,EAAY/H,IAG7CgI,GAAsBA,EAAQpJ,EAClC,CAEA,IADGgJ,GAA4BA,EAA2BC,GACrDpF,EAAIqF,EAASpF,OAAQD,IACzBvB,EAAU4G,EAASrF,GAChB7D,EAAoBM,EAAEgI,EAAiBhG,IAAYgG,EAAgBhG,IACrEgG,EAAgBhG,GAAS,KAE1BgG,EAAgBhG,GAAW,CAC5B,EAIGgH,EAAqB1G,WAAsD,0CAAIA,WAAsD,2CAAK,GAC9I0G,EAAmBtE,QAAQ+D,EAAqB5D,KAAK,KAAM,IAC3DmE,EAAmB/F,KAAOwF,EAAqB5D,KAAK,KAAMmE,EAAmB/F,KAAK4B,KAAKmE,G,KCrFvFtJ,EAAoBoE,QAAK3D,ECGzB,IAAI8I,EAAsBvJ,EAAoB,M","sources":["webpack://@openmrs/esm-appointments-app/webpack/runtime/load script","webpack://@openmrs/esm-appointments-app/webpack/runtime/consumes","webpack://@openmrs/esm-appointments-app/webpack/container-entry","webpack://@openmrs/esm-appointments-app/webpack/bootstrap","webpack://@openmrs/esm-appointments-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-appointments-app/webpack/runtime/define property getters","webpack://@openmrs/esm-appointments-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-appointments-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-appointments-app/webpack/runtime/global","webpack://@openmrs/esm-appointments-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-appointments-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-appointments-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-appointments-app/webpack/runtime/sharing","webpack://@openmrs/esm-appointments-app/webpack/runtime/publicPath","webpack://@openmrs/esm-appointments-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-appointments-app/webpack/runtime/nonce","webpack://@openmrs/esm-appointments-app/webpack/startup"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingletonVersion","warn","get","loadSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","replace","p","str","split","map","exec","apply","b","t","range","pop","requiredVersion","scopeName","msg","console","entry","promise","fallback","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}
1
+ {"version":3,"file":"openmrs-esm-appointments-app.js","mappings":"yDAAIA,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAgBAC,EAMAC,EAOAC,EA8BAC,EAMAC,EA6CAC,EAYAC,EACAC,EASAC,E,kBChJJ,IAAIC,EAAY,CACf,UAAW,IACHC,QAAQC,IAAI,CAACC,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,KAAMD,EAAoBC,EAAE,OAAOC,MAAK,IAAM,IAASF,EAAoB,SAGvMR,EAAM,CAACW,EAAQC,KAClBJ,EAAoBK,EAAID,EACxBA,EACCJ,EAAoBM,EAAET,EAAWM,GAC9BN,EAAUM,KACVL,QAAQS,UAAUL,MAAK,KACxB,MAAM,IAAIM,MAAM,WAAaL,EAAS,iCAAiC,IAG1EH,EAAoBK,OAAII,EACjBL,GAEJM,EAAO,CAACC,EAAYC,KACvB,GAAKZ,EAAoBa,EAAzB,CACA,IAAIC,EAAO,UACPC,EAAWf,EAAoBa,EAAEC,GACrC,GAAGC,GAAYA,IAAaJ,EAAY,MAAM,IAAIH,MAAM,mGAExD,OADAR,EAAoBa,EAAEC,GAAQH,EACvBX,EAAoBgB,EAAEF,EAAMF,EALD,CAKW,EAI9CZ,EAAoBiB,EAAEC,EAAS,CAC9B1B,IAAK,IAAM,EACXkB,KAAM,IAAM,G,GC5BTS,EAA2B,CAAC,EAGhC,SAASnB,EAAoBoB,GAE5B,IAAIC,EAAeF,EAAyBC,GAC5C,QAAqBX,IAAjBY,EACH,OAAOA,EAAaH,QAGrB,IAAIf,EAASgB,EAAyBC,GAAY,CACjDE,GAAIF,EACJG,QAAQ,EACRL,QAAS,CAAC,GAUX,OANAM,EAAoBJ,GAAUK,KAAKtB,EAAOe,QAASf,EAAQA,EAAOe,QAASlB,GAG3EG,EAAOoB,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EAAmB,GAAGH,EACvB,CACD,GAEwC,SAAW/F,EAASA,EAC9D,CAEF,EAcF,IAAIyG,EAAuB,CAACC,EAA4BC,KACvD,IAGI7H,EAAUkB,GAHT4G,EAAUC,EAAaC,GAAWH,EAGhBpF,EAAI,EAC3B,GAAGqF,EAASG,MAAM/H,GAAgC,IAAxBgH,EAAgBhH,KAAa,CACtD,IAAIF,KAAY+H,EACZnJ,EAAoBM,EAAE6I,EAAa/H,KACrCpB,EAAoB0B,EAAEN,GAAY+H,EAAY/H,IAG7CgI,GAAsBA,EAAQpJ,EAClC,CAEA,IADGgJ,GAA4BA,EAA2BC,GACrDpF,EAAIqF,EAASpF,OAAQD,IACzBvB,EAAU4G,EAASrF,GAChB7D,EAAoBM,EAAEgI,EAAiBhG,IAAYgG,EAAgBhG,IACrEgG,EAAgBhG,GAAS,KAE1BgG,EAAgBhG,GAAW,CAC5B,EAIGgH,EAAqB1G,WAAsD,0CAAIA,WAAsD,2CAAK,GAC9I0G,EAAmBtE,QAAQ+D,EAAqB5D,KAAK,KAAM,IAC3DmE,EAAmB/F,KAAOwF,EAAqB5D,KAAK,KAAMmE,EAAmB/F,KAAK4B,KAAKmE,G,KCrFvFtJ,EAAoBoE,QAAK3D,ECGzB,IAAI8I,EAAsBvJ,EAAoB,M","sources":["webpack://@openmrs/esm-appointments-app/webpack/runtime/load script","webpack://@openmrs/esm-appointments-app/webpack/runtime/consumes","webpack://@openmrs/esm-appointments-app/webpack/container-entry","webpack://@openmrs/esm-appointments-app/webpack/bootstrap","webpack://@openmrs/esm-appointments-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-appointments-app/webpack/runtime/define property getters","webpack://@openmrs/esm-appointments-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-appointments-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-appointments-app/webpack/runtime/global","webpack://@openmrs/esm-appointments-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-appointments-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-appointments-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-appointments-app/webpack/runtime/sharing","webpack://@openmrs/esm-appointments-app/webpack/runtime/publicPath","webpack://@openmrs/esm-appointments-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-appointments-app/webpack/runtime/nonce","webpack://@openmrs/esm-appointments-app/webpack/startup"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingletonVersion","warn","get","loadSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","Error","undefined","init","shareScope","initScope","S","name","oldScope","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","n","getter","__esModule","a","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","scriptUrl","importScripts","location","currentScript","replace","p","str","split","map","exec","apply","b","t","range","pop","requiredVersion","scopeName","msg","console","entry","promise","fallback","consumes","onFactory","onError","error","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}
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"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2602"}
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"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2609"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "5.2.2-pre.2602",
3
+ "version": "5.2.2-pre.2609",
4
4
  "description": "Appointments front-end module for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-appointments-app.js",
6
6
  "main": "src/index.ts",
@@ -37,7 +37,7 @@
37
37
  "url": "https://github.com/openmrs/openmrs-esm-patient-management/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@carbon/react": "^1.12.0",
40
+ "@carbon/react": "~1.37.0",
41
41
  "formik": "^2.2.9",
42
42
  "lodash-es": "^4.17.15",
43
43
  "yup": "^0.32.11"
@@ -5,13 +5,12 @@ import utc from 'dayjs/plugin/utc';
5
5
  import { Button, OverflowMenu, OverflowMenuItem } from '@carbon/react';
6
6
  import { TaskComplete } from '@carbon/react/icons';
7
7
  import { useTranslation } from 'react-i18next';
8
-
9
8
  import { launchOverlay } from '../../hooks/useOverlay';
10
- import AppointmentForm from '../forms/create-edit-form/appointments-form.component';
11
- import CheckInButton from './checkin-button.component';
12
9
  import { type MappedAppointment } from '../../types';
13
10
  import { showModal } from '@openmrs/esm-framework';
14
11
  import { useVisits } from '../../hooks/useVisits';
12
+ import AppointmentForm from '../forms/create-edit-form/appointments-form.component';
13
+ import CheckInButton from './checkin-button.component';
15
14
  import DefaulterTracingForm from '../forms/defaulter-tracing-form/default-tracing-form.component';
16
15
 
17
16
  dayjs.extend(utc);
@@ -100,7 +99,7 @@ const AppointmentActions: React.FC<AppointmentActionsProps> = ({ visits, appoint
100
99
  <div style={{ display: 'flex', alignItems: 'center' }}>
101
100
  {renderVisitStatus()}
102
101
  {isFutureAppointment || (isTodayAppointment && (!handleCheckout || !hasActiveVisit)) ? (
103
- <OverflowMenu ariaLabel="Actions" size="sm" flipped>
102
+ <OverflowMenu aria-label="Actions" size="sm" flipped>
104
103
  <OverflowMenuItem
105
104
  itemText={t('editAppointments', 'Edit Appointment')}
106
105
  onClick={() =>
@@ -14,7 +14,8 @@ describe('AppointmentActions', () => {
14
14
  };
15
15
 
16
16
  beforeAll(() => {
17
- jest.useFakeTimers('modern');
17
+ jest.useFakeTimers();
18
+
18
19
  const currentDateTime = new Date();
19
20
  currentDateTime.setHours(12);
20
21
  currentDateTime.setMinutes(0);
@@ -57,21 +58,21 @@ describe('AppointmentActions', () => {
57
58
  it('renders the correct button when today is the appointment date and the schedule type is pending', () => {
58
59
  const props = { ...defaultProps, scheduleType: 'Pending' };
59
60
  render(<AppointmentActions {...props} />);
60
- const button = screen.getByRole('button', { name: 'Actions' });
61
+ const button = screen.getByRole('button', { name: /options/i });
61
62
  expect(button).toBeInTheDocument();
62
63
  });
63
64
 
64
65
  it('renders the correct button when today is the appointment date and the schedule type is not pending', () => {
65
66
  const props = { ...defaultProps, scheduleType: 'Confirmed' };
66
67
  render(<AppointmentActions {...props} />);
67
- const button = screen.getByRole('button', { name: 'Actions' });
68
+ const button = screen.getByRole('button', { name: /options/i });
68
69
  expect(button).toBeInTheDocument();
69
70
  });
70
71
 
71
72
  it('renders the correct button when the appointment is in the past or has not been scheduled', () => {
72
73
  const props = { ...defaultProps, appointment: { ...defaultProps.appointment, dateTime: '2022-01-01' } };
73
74
  render(<AppointmentActions {...props} />);
74
- const button = screen.getByRole('button', { name: 'Follow up' });
75
+ const button = screen.getByRole('button', { name: /follow up/i });
75
76
  expect(button).toBeInTheDocument();
76
77
  });
77
78
  });
@@ -2,11 +2,11 @@ import React from 'react';
2
2
  import DailyCalendarView from './daily/daily-calendar-view.component';
3
3
  import MonthlyCalendarView from './monthly/monthly-calendar-view.component';
4
4
  import WeeklyCalendarView from './weekly/weekly-calendar-view.component';
5
- import { type CalendarType } from '../types';
5
+ import { type CalendarType, type DailyAppointmentsCountByService } from '../types';
6
6
 
7
7
  const CalendarView: React.FC<{
8
8
  calendarView: CalendarType;
9
- events: any;
9
+ events: Array<DailyAppointmentsCountByService>;
10
10
  currentDate: any;
11
11
  setCurrentDate: any;
12
12
  }> = ({ calendarView, events, currentDate, setCurrentDate }) => {
@@ -2,15 +2,15 @@ import React from 'react';
2
2
  import dayjs, { type Dayjs } from 'dayjs';
3
3
  import isBetween from 'dayjs/plugin/isBetween';
4
4
  import styles from './daily-calendar.scss';
5
- import { type CalendarType } from '../../types';
5
+ import { type CalendarType, type DailyAppointmentsCountByService } from '../../types';
6
6
  import { dailyHours } from '../../helpers';
7
7
  import DailyHeader from './daily-header.component';
8
- import DailyWorkloadView from './daily-view-workload.component';
8
+ import DailyWorkloadView from './daily-workload-view.component';
9
9
  dayjs.extend(isBetween);
10
10
 
11
11
  interface DailyCalendarViewProps {
12
12
  type: CalendarType;
13
- events: { appointmentDate: string; service: Array<any>; [key: string]: any }[];
13
+ events: Array<DailyAppointmentsCountByService>;
14
14
  currentDate: Dayjs;
15
15
  setCurrentDate: (date) => void;
16
16
  }
@@ -23,7 +23,7 @@ const DailyCalendarView: React.FC<DailyCalendarViewProps> = ({
23
23
  }) => {
24
24
  return (
25
25
  <div className={styles.container}>
26
- <DailyHeader type={type} currentDate={currentDate} setCurrentDate={setCurrentDate} events={events} />
26
+ <DailyHeader type={type} currentDate={currentDate} setCurrentDate={setCurrentDate} />
27
27
  <div className={styles.wrapper}>
28
28
  <>
29
29
  <p className={styles['containerRow']}>
@@ -33,6 +33,8 @@ const DailyCalendarView: React.FC<DailyCalendarViewProps> = ({
33
33
  </p>
34
34
  </>
35
35
  </p>
36
+
37
+ {/* displays hours of day but commented out because showing the appts by hour is not currently implemented within this code
36
38
  <p className={styles['daily-calendar-all']}>
37
39
  {dailyHours(currentDate).map((dateTime, i) => (
38
40
  <>
@@ -44,7 +46,7 @@ const DailyCalendarView: React.FC<DailyCalendarViewProps> = ({
44
46
  </div>
45
47
  </>
46
48
  ))}
47
- </p>
49
+ </p>*/}
48
50
  </>
49
51
  </div>
50
52
  </div>
@@ -1,5 +1,5 @@
1
1
  import { Button } from '@carbon/react';
2
- import dayjs, { type Dayjs } from 'dayjs';
2
+ import { type Dayjs } from 'dayjs';
3
3
  import React from 'react';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { type CalendarType } from '../../types';
@@ -12,17 +12,14 @@ const Format = {
12
12
  } as const;
13
13
  const dateFormat = 'MMMM DD, YYYY';
14
14
  const yearFormat = 'YYYY';
15
- const now = dayjs();
16
15
  function DailyHeader({
17
16
  type,
18
17
  currentDate,
19
18
  setCurrentDate,
20
- events,
21
19
  }: {
22
20
  type: CalendarType;
23
21
  currentDate: Dayjs;
24
22
  setCurrentDate: (date: Dayjs) => void;
25
- events: { appointmentDate: string; service: Array<any>; [key: string]: any }[];
26
23
  }) {
27
24
  const { t } = useTranslation();
28
25
  return (
@@ -2,25 +2,24 @@ import dayjs, { type Dayjs } from 'dayjs';
2
2
  import classNames from 'classnames';
3
3
  import styles from './daily-workload-module.scss';
4
4
  import React from 'react';
5
- import { navigate, useLayoutType } from '@openmrs/esm-framework';
5
+ import { navigate } from '@openmrs/esm-framework';
6
6
  import { useTranslation } from 'react-i18next';
7
7
  import { spaBasePath } from '../../constants';
8
8
  import { isSameMonth } from '../../helpers';
9
- import { type CalendarType } from '../../types';
9
+ import { type CalendarType, type DailyAppointmentsCountByService } from '../../types';
10
10
 
11
11
  interface WeeklyCellProps {
12
12
  type: CalendarType;
13
13
  dateTime: Dayjs;
14
14
  currentDate: Dayjs;
15
- events: Array<any>;
15
+ events: Array<DailyAppointmentsCountByService>;
16
16
  }
17
17
 
18
18
  const DailyWorkloadView: React.FC<WeeklyCellProps> = ({ type, dateTime, currentDate, events }) => {
19
- const layout = useLayoutType();
20
19
  const currentData = events?.find(
21
20
  (event) => dayjs(event.appointmentDate).format('YYYY-MM-DD') === dayjs(dateTime).format('YYYY-MM-DD'),
22
21
  );
23
- const colorCoding = { HIV: 'red', 'Lab testing': 'purple', Refill: 'blue' };
22
+
24
23
  const { t } = useTranslation();
25
24
 
26
25
  return (
@@ -38,11 +37,11 @@ const DailyWorkloadView: React.FC<WeeklyCellProps> = ({ type, dateTime, currentD
38
37
  <>
39
38
  <div className={styles.allDayComponent}>
40
39
  <small className={styles.allDay}>All Day</small>
41
- {currentData?.service && (
40
+ {currentData?.services && (
42
41
  <div className={styles.currentData}>
43
- {currentData?.service.map(({ serviceName, count, i }) => (
42
+ {currentData?.services.map(({ serviceName, count }) => (
44
43
  <div
45
- className={classNames(styles.serviceArea, styles[colorCoding[serviceName]])}
44
+ className={classNames(styles.serviceArea)}
46
45
  key={serviceName}
47
46
  role="button"
48
47
  tabIndex={0}
@@ -57,7 +56,7 @@ const DailyWorkloadView: React.FC<WeeklyCellProps> = ({ type, dateTime, currentD
57
56
  tabIndex={0}
58
57
  onClick={() => navigate({ to: `${spaBasePath}/appointments/list/${dateTime}/Total` })}>
59
58
  <span>{t('total', 'Total')}</span>
60
- <span>{currentData?.service.reduce((sum, currentValue) => sum + currentValue?.count ?? 0, 0)}</span>
59
+ <span>{currentData?.services.reduce((sum, currentValue) => sum + currentValue?.count ?? 0, 0)}</span>
61
60
  </div>
62
61
  </div>
63
62
  )}
@@ -3,9 +3,9 @@ import dayjs from 'dayjs';
3
3
  import userEvent from '@testing-library/user-event';
4
4
  import { render, screen } from '@testing-library/react';
5
5
  import { navigate } from '@openmrs/esm-framework';
6
+ import DailyWorkloadView from './daily-workload-view.component';
6
7
  import { spaBasePath } from '../../constants';
7
- import { type CalendarType } from '../../types';
8
- import DailyWorkloadView from './daily-view-workload.component';
8
+ import { type CalendarType, type DailyAppointmentsCountByService } from '../../types';
9
9
 
10
10
  jest.mock('@openmrs/esm-framework', () => ({
11
11
  ...jest.requireActual('@openmrs/esm-framework'),
@@ -14,19 +14,21 @@ jest.mock('@openmrs/esm-framework', () => ({
14
14
  }));
15
15
 
16
16
  describe('DailyWorkloadView Component', () => {
17
+ const events: Array<DailyAppointmentsCountByService> = [
18
+ {
19
+ appointmentDate: '2023-08-18',
20
+ services: [
21
+ { serviceName: 'HIV', count: 2 },
22
+ { serviceName: 'Lab testing', count: 3 },
23
+ ],
24
+ },
25
+ ];
26
+
17
27
  const mockData = {
18
28
  type: 'daily' as CalendarType,
19
29
  dateTime: dayjs('2023-08-18'),
20
30
  currentDate: dayjs('2023-08-18'),
21
- events: [
22
- {
23
- appointmentDate: '2023-08-18',
24
- service: [
25
- { serviceName: 'HIV', count: 2 },
26
- { serviceName: 'Lab testing', count: 3 },
27
- ],
28
- },
29
- ],
31
+ events: events,
30
32
  };
31
33
 
32
34
  it('renders properly when type is "daily"', () => {