@openmrs/esm-appointments-app 4.5.1-pre.1669 → 4.5.1-pre.1673

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.
@@ -15,7 +15,7 @@ runtime modules 37.9 KiB 28 modules
15
15
  built modules 6.11 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-shared) [built]
16
16
  modules by path ../../node_modules/ 4.46 MiB 91 modules
17
17
  modules by path ./ 1.65 MiB
18
- modules by path ./src/ 1.63 MiB 43 modules
18
+ modules by path ./src/ 1.64 MiB 43 modules
19
19
  modules by path ./translations/ 15.3 KiB 5 modules
20
20
  provide-module modules 168 bytes
21
21
  provide shared module (default) @openmrs/esm-framework@4.2.1-pre.619 = ../../node_modules/@openmrs/esm-framework/src/internal.ts 42 bytes [built] [code generated]
@@ -34,4 +34,4 @@ Assets:
34
34
  729.js (490 KiB)
35
35
  781.js (310 KiB)
36
36
 
37
- webpack 5.74.0 compiled with 1 warning in 157121 ms
37
+ webpack 5.74.0 compiled with 1 warning in 140438 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:()=>_,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"},patientIdentifierType:{_type:a.Type.String,_description:"The name of the patient identifier type to be used for the patient identifier field",_default:"OpenMRS ID"}},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.5.1-pre.1669",h=n(3979),_={"webservices.rest":"^2.2.0"},b="@openmrs/esm-appointments-app",g={featureName:"appointments",moduleName:b};function v(){var e="".concat(window.spaBase,"/home/appointments");return(0,a.defineConfigSchema)(b,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)}]),{extensions:[{name:"home-appointments",slot:"homepage-widgets-slot",order:1,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(729),n.e(456),n.e(924),n.e(905),n.e(204)]).then(n.bind(n,7204))}),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(729),n.e(456),n.e(781),n.e(924),n.e(905),n.e(75)]).then(n.bind(n,7075))}),g),online:!0,offline:!0},{name:"todays-appointments-dashboard",slot:"todays-appointment-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(729),n.e(456),n.e(924),n.e(905),n.e(204)]).then(n.bind(n,7204))}),g),online:!0,offline:!0},{name:"check-in-appointment-modal",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(729),n.e(924),n.e(903)]).then(n.bind(n,6903))}),g),online:!0,offline:!1}]}}},3979:(e,t,n)=>{var a={"./en.json":[3574,574],"./es.json":[8319,319],"./he.json":[5833,833],"./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:()=>_,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"},patientIdentifierType:{_type:a.Type.String,_description:"The name of the patient identifier type to be used for the patient identifier field",_default:"OpenMRS ID"}},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.5.1-pre.1673",h=n(3979),_={"webservices.rest":"^2.2.0"},b="@openmrs/esm-appointments-app",g={featureName:"appointments",moduleName:b};function v(){var e="".concat(window.spaBase,"/home/appointments");return(0,a.defineConfigSchema)(b,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)}]),{extensions:[{name:"home-appointments",slot:"homepage-widgets-slot",order:1,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(729),n.e(456),n.e(924),n.e(905),n.e(204)]).then(n.bind(n,7204))}),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(729),n.e(456),n.e(781),n.e(924),n.e(905),n.e(75)]).then(n.bind(n,7075))}),g),online:!0,offline:!0},{name:"todays-appointments-dashboard",slot:"todays-appointment-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(729),n.e(456),n.e(924),n.e(905),n.e(204)]).then(n.bind(n,7204))}),g),online:!0,offline:!0},{name:"check-in-appointment-modal",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(729),n.e(924),n.e(903)]).then(n.bind(n,6903))}),g),online:!0,offline:!1}]}}},3979:(e,t,n)=>{var a={"./en.json":[3574,574],"./es.json":[8319,319],"./he.json":[5833,833],"./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}}]);