@openmrs/esm-appointments-app 4.3.1-pre.1339 → 4.3.1-pre.1342

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.
@@ -9,9 +9,9 @@ assets by chunk 1.3 MiB (id hint: vendors)
9
9
  asset 717.js 985 bytes [emitted] [minimized] (id hint: vendors) 1 related asset
10
10
  asset 456.js 771 bytes [emitted] [minimized] (id hint: vendors) 1 related asset
11
11
  + 17 assets
12
- orphan modules 4.17 MiB [orphan] 1258 modules
12
+ orphan modules 4.18 MiB [orphan] 1258 modules
13
13
  runtime modules 37.9 KiB 28 modules
14
- built modules 6.41 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-shared) [built]
14
+ built modules 6.42 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-shared) [built]
15
15
  modules by path ../../node_modules/ 4.77 MiB 259 modules
16
16
  modules by path ./ 1.65 MiB
17
17
  modules by path ./src/ 1.64 MiB 48 modules
@@ -34,4 +34,4 @@ Assets:
34
34
  155.js (507 KiB)
35
35
  522.js (383 KiB)
36
36
 
37
- webpack 5.74.0 compiled with 1 warning in 171928 ms
37
+ webpack 5.74.0 compiled with 1 warning in 158468 ms
package/dist/437.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[437],{8179:(e,t,n)=>{"use strict";n.d(t,{J$:()=>o,JB:()=>i,sb:()=>a}),window.getOpenmrsSpaBase;var a="/appointments",i="".concat(window.spaBase,"/home"),o="YYYY-MM-DDTHH:mm:ss.SSSZZ"},4437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{backendDependencies:()=>b,importTranslation:()=>h,setupOpenMRS:()=>v,version:()=>y});var a=n(906),i=n(8179),o={concepts:{visitQueueNumberAttributeUuid:{_type:a.Type.String,_description:"The UUID of the visit attribute that contains the visit queue number.",_default:"c61ce16f-272a-41e7-9924-4c555d0932c5"}},appointmentTypes:{_type:a.Type.Array,_description:"Configurable appointment types (types of appointments)",_default:["Scheduled"]},appointmentStatuses:{_type:a.Type.Array,_description:"Configurable appointment status (status of appointments)",_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"]},daysOfTheWeek:{_type:a.Type.Array,_description:"Configurable days of the week",_default:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},useBahmniAppointmentsUI:{_type:a.Type.Boolean,_description:"Open links in Bahmni Appointments UI instead of O3 UI",_default:!1},useFullViewPrivilege:{_type:a.Type.Boolean,_description:"If set to 'false', will always display the full view, disregarding any privilege",_default:!1},fullViewPrivilege:{_type:a.Type.String,_description:"Name of the privilege to display the full view of the Appointments dashboard widget.",_default:"Today's Appointments Widget: Display Full View"},bahmniAppointmentsUiBaseUrl:{_type:a.Type.String,_description:"Configurable base URL that points to the Bahmni Appointments UI",_default:"/appointments"},appointmentsBaseUrl:{_type:a.Type.String,_description:"Configurable alternative URL for the Appointments UI. Eg, the Bahmni Appointments UI URL",_default:"".concat(i.JB)},hiddenFormFields:{_type:a.Type.Array,_description:"Array of form controls to be hidden on form load",_default:[]},showServiceQueueFields:{_type:a.Type.Boolean,_description:"Whether start visit form should display service queue fields`",_default:!1},defaultFacilityUrl:{_type:a.Type.String,_default:"/ws/rest/v1/kenyaemr/default-facility",_description:"Custom URL to load default facility if it is not in the session"}},r=n(268),s=n.n(r),l=n(8744);function p(e){var t=e.dashboardLinkConfig,n=t.name,i=t.title,o=(0,l.useLocation)(),p="".concat(window.spaBase,"/home"),d=(0,r.useMemo)((function(){var e=o.pathname.split("/home"),t=e[e.length-1];return decodeURIComponent(t)}),[o.pathname]);return s().createElement(a.ConfigurableLink,{to:"".concat(p,"/").concat(n),className:"cds--side-nav__link ".concat(d.match(n)&&"active-left-nav-link")},i)}var d=function(e){return function(){return s().createElement(l.BrowserRouter,null,s().createElement(p,{dashboardLinkConfig:e}))}},c=n(9884),u={name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"},m={name:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments Calendar",renderIcon:c.f};function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var y="4.3.1-pre.1339",h=n(3979),b={"webservices.rest":"^2.2.0"},_="@openmrs/esm-appointments-app",g={featureName:"appointments",moduleName:_};function v(){var e="".concat(window.spaBase,"/home/appointments");return(0,a.defineConfigSchema)(_,o),(0,a.registerBreadcrumbs)([{title:"Appointments",path:e,parent:"".concat(window.spaBase,"/home")},{path:"".concat(window.spaBase,"/patient-list/:forDate/:serviceName"),title:function(e){var t,n,a=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,o=[],r=!0,s=!1;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(o.push(a.value),!t||o.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{r||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}(t,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.")}()),i=(a[0],a[1]);return"Patient Lists / ".concat(decodeURI(i))},parent:"".concat(window.spaBase)}]),{pages:[{load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(717),n.e(924),n.e(6),n.e(787)]).then(n.bind(n,8787))}),g),route:/^calendar/,online:!0,offline:!0},{load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(279),n.e(924),n.e(744)]).then(n.bind(n,3744))}),g),route:/^patient-list/,online:!0,offline:!0}],extensions:[{name:"home-appointments",slot:"homepage-widgets-slot",order:1,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(456),n.e(924),n.e(905),n.e(429)]).then(n.bind(n,1429))}),g)},{name:"clinical-appointments-dashboard-link",slot:"homepage-dashboard-slot",load:(0,a.getSyncLifecycle)(d(u),g),meta:u,online:!0,offline:!0},{name:"appointments-calendar-dashboard-link",slot:"calendar-dashboard-slot",load:(0,a.getSyncLifecycle)(d(m),g),online:!0,offline:!0},{name:"clinical-appointments-dashboard",slot:"clinical-appointments-dashboard-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(717),n.e(279),n.e(522),n.e(924),n.e(905),n.e(6),n.e(864)]).then(n.bind(n,3864))}),g),online:!0,offline:!0},{name:"todays-appointments-dashboard",slot:"todays-appointment-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(456),n.e(924),n.e(905),n.e(429)]).then(n.bind(n,1429))}),g),online:!0,offline:!0},{name:"check-in-appointment-modal",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(924),n.e(384)]).then(n.bind(n,384))}),g),online:!0,offline:!1}]}}},3979:(e,t,n)=>{var a={"./en.json":[3574,574],"./es.json":[8319,319],"./km.json":[7807,807]};function i(e){if(!n.o(a,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],i=t[0];return n.e(t[1]).then((()=>n(i)))}i.keys=()=>Object.keys(a),i.id=3979,e.exports=i}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[437],{8179:(e,t,n)=>{"use strict";n.d(t,{J$:()=>o,JB:()=>i,sb:()=>a}),window.getOpenmrsSpaBase;var a="/appointments",i="".concat(window.spaBase,"/home"),o="YYYY-MM-DDTHH:mm:ss.SSSZZ"},4437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{backendDependencies:()=>b,importTranslation:()=>h,setupOpenMRS:()=>v,version:()=>y});var a=n(906),i=n(8179),o={concepts:{visitQueueNumberAttributeUuid:{_type:a.Type.String,_description:"The UUID of the visit attribute that contains the visit queue number.",_default:"c61ce16f-272a-41e7-9924-4c555d0932c5"}},appointmentTypes:{_type:a.Type.Array,_description:"Configurable appointment types (types of appointments)",_default:["Scheduled"]},appointmentStatuses:{_type:a.Type.Array,_description:"Configurable appointment status (status of appointments)",_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"]},daysOfTheWeek:{_type:a.Type.Array,_description:"Configurable days of the week",_default:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},useBahmniAppointmentsUI:{_type:a.Type.Boolean,_description:"Open links in Bahmni Appointments UI instead of O3 UI",_default:!1},useFullViewPrivilege:{_type:a.Type.Boolean,_description:"If set to 'false', will always display the full view, disregarding any privilege",_default:!1},fullViewPrivilege:{_type:a.Type.String,_description:"Name of the privilege to display the full view of the Appointments dashboard widget.",_default:"Today's Appointments Widget: Display Full View"},bahmniAppointmentsUiBaseUrl:{_type:a.Type.String,_description:"Configurable base URL that points to the Bahmni Appointments UI",_default:"/appointments"},appointmentsBaseUrl:{_type:a.Type.String,_description:"Configurable alternative URL for the Appointments UI. Eg, the Bahmni Appointments UI URL",_default:"".concat(i.JB)},hiddenFormFields:{_type:a.Type.Array,_description:"Array of form controls to be hidden on form load",_default:[]},showServiceQueueFields:{_type:a.Type.Boolean,_description:"Whether start visit form should display service queue fields`",_default:!1},defaultFacilityUrl:{_type:a.Type.String,_default:"/ws/rest/v1/kenyaemr/default-facility",_description:"Custom URL to load default facility if it is not in the session"}},r=n(268),s=n.n(r),l=n(8744);function p(e){var t=e.dashboardLinkConfig,n=t.name,i=t.title,o=(0,l.useLocation)(),p="".concat(window.spaBase,"/home"),d=(0,r.useMemo)((function(){var e=o.pathname.split("/home"),t=e[e.length-1];return decodeURIComponent(t)}),[o.pathname]);return s().createElement(a.ConfigurableLink,{to:"".concat(p,"/").concat(n),className:"cds--side-nav__link ".concat(d.match(n)&&"active-left-nav-link")},i)}var d=function(e){return function(){return s().createElement(l.BrowserRouter,null,s().createElement(p,{dashboardLinkConfig:e}))}},c=n(9884),u={name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"},m={name:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments Calendar",renderIcon:c.f};function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var y="4.3.1-pre.1342",h=n(3979),b={"webservices.rest":"^2.2.0"},_="@openmrs/esm-appointments-app",g={featureName:"appointments",moduleName:_};function v(){var e="".concat(window.spaBase,"/home/appointments");return(0,a.defineConfigSchema)(_,o),(0,a.registerBreadcrumbs)([{title:"Appointments",path:e,parent:"".concat(window.spaBase,"/home")},{path:"".concat(window.spaBase,"/patient-list/:forDate/:serviceName"),title:function(e){var t,n,a=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,o=[],r=!0,s=!1;try{for(n=n.call(e);!(r=(a=n.next()).done)&&(o.push(a.value),!t||o.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{r||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}(t,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.")}()),i=(a[0],a[1]);return"Patient Lists / ".concat(decodeURI(i))},parent:"".concat(window.spaBase)}]),{pages:[{load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(717),n.e(924),n.e(6),n.e(787)]).then(n.bind(n,8787))}),g),route:/^calendar/,online:!0,offline:!0},{load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(279),n.e(924),n.e(744)]).then(n.bind(n,3744))}),g),route:/^patient-list/,online:!0,offline:!0}],extensions:[{name:"home-appointments",slot:"homepage-widgets-slot",order:1,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(456),n.e(924),n.e(905),n.e(429)]).then(n.bind(n,1429))}),g)},{name:"clinical-appointments-dashboard-link",slot:"homepage-dashboard-slot",load:(0,a.getSyncLifecycle)(d(u),g),meta:u,online:!0,offline:!0},{name:"appointments-calendar-dashboard-link",slot:"calendar-dashboard-slot",load:(0,a.getSyncLifecycle)(d(m),g),online:!0,offline:!0},{name:"clinical-appointments-dashboard",slot:"clinical-appointments-dashboard-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(717),n.e(279),n.e(522),n.e(924),n.e(905),n.e(6),n.e(864)]).then(n.bind(n,3864))}),g),online:!0,offline:!0},{name:"todays-appointments-dashboard",slot:"todays-appointment-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(456),n.e(924),n.e(905),n.e(429)]).then(n.bind(n,1429))}),g),online:!0,offline:!0},{name:"check-in-appointment-modal",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(155),n.e(924),n.e(384)]).then(n.bind(n,384))}),g),online:!0,offline:!1}]}}},3979:(e,t,n)=>{var a={"./en.json":[3574,574],"./es.json":[8319,319],"./km.json":[7807,807]};function i(e){if(!n.o(a,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],i=t[0];return n.e(t[1]).then((()=>n(i)))}i.keys=()=>Object.keys(a),i.id=3979,e.exports=i}}]);