@openmrs/esm-appointments-app 4.2.1-pre.1293 → 4.2.1-pre.1297
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 +2 -2
- package/dist/351.js +1 -1
- package/dist/386.js +1 -1
- package/dist/386.js.map +1 -1
- package/dist/574.js +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +8 -8
- package/package.json +2 -2
- package/src/appointments-tabs/appointments-base-table.component.tsx +1 -1
- package/src/appointments-tabs/scheduled-appointments.component.tsx +4 -4
- package/src/appointments.component.tsx +9 -0
- package/src/hooks/useClinicalMetrics.tsx +3 -2
- package/src/hooks/useUnscheduledAppointments.tsx +1 -1
- package/translations/en.json +2 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -12,7 +12,7 @@ built modules 4.78 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-sh
|
|
|
12
12
|
modules by path [1m../../node_modules/[39m[22m 3.91 MiB 255 modules
|
|
13
13
|
modules by path [1m./[39m[22m 887 KiB
|
|
14
14
|
modules by path [1m./src/[39m[22m 876 KiB 31 modules
|
|
15
|
-
modules by path [1m./translations/[39m[22m 10.
|
|
15
|
+
modules by path [1m./translations/[39m[22m 10.7 KiB 4 modules
|
|
16
16
|
provide-module modules 168 bytes
|
|
17
17
|
[1mprovide shared module (default) @openmrs/esm-framework@4.1.1-pre.549 = ../../node_modules/@openmrs/esm-framework/src/internal.ts[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
18
18
|
+ 3 modules
|
|
@@ -29,4 +29,4 @@ Assets:
|
|
|
29
29
|
858.js (381 KiB)
|
|
30
30
|
723.js (512 KiB)[39m[22m
|
|
31
31
|
|
|
32
|
-
webpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in
|
|
32
|
+
webpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in 132988 ms
|
package/dist/351.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[351],{8179:(e,t,n)=>{"use strict";n.d(t,{J$:()=>i,JB:()=>a}),window.getOpenmrsSpaBase;var a="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ"},1351:(e,t,n)=>{"use strict";n.r(t),n.d(t,{backendDependencies:()=>u,importTranslation:()=>m,setupOpenMRS:()=>y,version:()=>c});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}},s=n(268),p=n.n(s),r=n(8744);function l(e){var t=e.dashboardLinkConfig,n=t.name,i=t.title,o=(0,r.useLocation)(),l="".concat(window.spaBase,"/home"),d=(0,s.useMemo)((function(){var e=o.pathname.split("/"),t=e[e.length-1];return decodeURIComponent(t)}),[o.pathname]);return p().createElement(a.ConfigurableLink,{to:"".concat(l,"/").concat(n),className:"cds--side-nav__link ".concat(n===d&&"active-left-nav-link")},i)}var d={name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"},c="4.2.1-pre.
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[351],{8179:(e,t,n)=>{"use strict";n.d(t,{J$:()=>i,JB:()=>a}),window.getOpenmrsSpaBase;var a="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ"},1351:(e,t,n)=>{"use strict";n.r(t),n.d(t,{backendDependencies:()=>u,importTranslation:()=>m,setupOpenMRS:()=>y,version:()=>c});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}},s=n(268),p=n.n(s),r=n(8744);function l(e){var t=e.dashboardLinkConfig,n=t.name,i=t.title,o=(0,r.useLocation)(),l="".concat(window.spaBase,"/home"),d=(0,s.useMemo)((function(){var e=o.pathname.split("/"),t=e[e.length-1];return decodeURIComponent(t)}),[o.pathname]);return p().createElement(a.ConfigurableLink,{to:"".concat(l,"/").concat(n),className:"cds--side-nav__link ".concat(n===d&&"active-left-nav-link")},i)}var d={name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"},c="4.2.1-pre.1297",m=n(3979),u={"webservices.rest":"^2.2.0"},f="@openmrs/esm-appointments-app",h={featureName:"appointments",moduleName:f};function y(){var e,t="".concat(window.spaBase,"/home/appointments");return(0,a.defineConfigSchema)(f,o),(0,a.registerBreadcrumbs)([{title:"Appointments",path:t,parent:"".concat(window.spaBase,"/home")},{title:"Calendar",path:"".concat(t,"/calendar"),parent:t}]),{extensions:[{name:"home-appointments",slot:"homepage-widgets-slot",order:1,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(723),n.e(456),n.e(924),n.e(320),n.e(280)]).then(n.bind(n,2280))}),h)},{name:"clinical-appointments-dashboard-link",slot:"homepage-dashboard-slot",load:(0,a.getSyncLifecycle)((e=d,function(){return p().createElement(r.BrowserRouter,null,p().createElement(l,{dashboardLinkConfig:e}))}),h),meta:d,online:!0,offline:!0},{name:"clinical-appointments-dashboard",slot:"clinical-appointments-dashboard-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(723),n.e(103),n.e(924),n.e(320),n.e(386)]).then(n.bind(n,7386))}),h),online:!0,offline:!0},{name:"todays-appointments-dashboard",slot:"todays-appointment-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(723),n.e(456),n.e(924),n.e(320),n.e(280)]).then(n.bind(n,2280))}),h),online:!0,offline:!0},{name:"check-in-appointment-modal",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([n.e(723),n.e(924),n.e(497)]).then(n.bind(n,7497))}),h),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}}]);
|