@openmrs/esm-appointments-app 4.3.1-pre.1324 → 4.3.1-pre.1328
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 +5 -5
- package/dist/437.js +1 -1
- package/dist/583.js +1 -1
- package/dist/583.js.map +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +5 -5
- package/package.json +2 -2
- package/src/appointments-metrics/appointments-metrics.component.tsx +1 -1
- package/src/appointments-tabs/scheduled-appointments.component.tsx +9 -5
- package/src/hooks/useAppointmentList.tsx +21 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -8,12 +8,12 @@ assets by chunk 1.3 MiB (id hint: vendors)
|
|
|
8
8
|
asset [1m[32m717.js[39m[22m 985 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
9
9
|
asset [1m[32m456.js[39m[22m 771 bytes [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
10
10
|
+ 16 assets
|
|
11
|
-
orphan modules 3.
|
|
11
|
+
orphan modules 3.75 MiB [1m[33m[orphan][39m[22m 804 modules
|
|
12
12
|
runtime modules 37.9 KiB 28 modules
|
|
13
13
|
built modules 6.41 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
14
14
|
modules by path [1m../../node_modules/[39m[22m 4.77 MiB 257 modules
|
|
15
|
-
modules by path [1m./[39m[22m 1.
|
|
16
|
-
modules by path [1m./src/[39m[22m 1.
|
|
15
|
+
modules by path [1m./[39m[22m 1.65 MiB
|
|
16
|
+
modules by path [1m./src/[39m[22m 1.64 MiB 47 modules
|
|
17
17
|
modules by path [1m./translations/[39m[22m 10.8 KiB 4 modules
|
|
18
18
|
provide-module modules 168 bytes
|
|
19
19
|
[1mprovide shared module (default) @openmrs/esm-framework@4.2.1-pre.619 = ../../node_modules/@openmrs/esm-framework/src/internal.ts[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
@@ -28,9 +28,9 @@ built modules 6.41 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-sh
|
|
|
28
28
|
This can impact web performance.
|
|
29
29
|
Assets:
|
|
30
30
|
947.js (757 KiB)
|
|
31
|
-
583.js (
|
|
31
|
+
583.js (353 KiB)
|
|
32
32
|
858.js (381 KiB)
|
|
33
33
|
429.js (506 KiB)
|
|
34
34
|
444.js (389 KiB)[39m[22m
|
|
35
35
|
|
|
36
|
-
webpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in
|
|
36
|
+
webpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in 147004 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,n,t)=>{"use strict";t.d(n,{J$:()=>i,JB:()=>a}),window.getOpenmrsSpaBase;var a="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ"},4437:(e,n,t)=>{"use strict";t.r(n),t.d(n,{backendDependencies:()=>y,importTranslation:()=>h,setupOpenMRS:()=>g,version:()=>f});var a=t(906),i=t(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=t(268),p=t.n(s),r=t(8744);function l(e){var n=e.dashboardLinkConfig,t=n.name,i=n.title,o=(0,r.useLocation)(),l="".concat(window.spaBase,"/home"),d=(0,s.useMemo)((function(){var e=o.pathname.split("/"),n=e[e.length-1];return decodeURIComponent(n)}),[o.pathname]);return p().createElement(a.ConfigurableLink,{to:"".concat(l,"/").concat(t),className:"cds--side-nav__link ".concat(t===d&&"active-left-nav-link")},i)}var d=function(e){return function(){return p().createElement(r.BrowserRouter,null,p().createElement(l,{dashboardLinkConfig:e}))}},c=t(9884),m={name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"},u={name:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments Calendar",renderIcon:c.f},f="4.3.1-pre.
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[437],{8179:(e,n,t)=>{"use strict";t.d(n,{J$:()=>i,JB:()=>a}),window.getOpenmrsSpaBase;var a="".concat(window.spaBase,"/home"),i="YYYY-MM-DDTHH:mm:ss.SSSZZ"},4437:(e,n,t)=>{"use strict";t.r(n),t.d(n,{backendDependencies:()=>y,importTranslation:()=>h,setupOpenMRS:()=>g,version:()=>f});var a=t(906),i=t(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=t(268),p=t.n(s),r=t(8744);function l(e){var n=e.dashboardLinkConfig,t=n.name,i=n.title,o=(0,r.useLocation)(),l="".concat(window.spaBase,"/home"),d=(0,s.useMemo)((function(){var e=o.pathname.split("/"),n=e[e.length-1];return decodeURIComponent(n)}),[o.pathname]);return p().createElement(a.ConfigurableLink,{to:"".concat(l,"/").concat(t),className:"cds--side-nav__link ".concat(t===d&&"active-left-nav-link")},i)}var d=function(e){return function(){return p().createElement(r.BrowserRouter,null,p().createElement(l,{dashboardLinkConfig:e}))}},c=t(9884),m={name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"},u={name:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments Calendar",renderIcon:c.f},f="4.3.1-pre.1328",h=t(3979),y={"webservices.rest":"^2.2.0"},_="@openmrs/esm-appointments-app",b={featureName:"appointments",moduleName:_};function g(){var e="".concat(window.spaBase,"/home/appointments");return(0,a.defineConfigSchema)(_,o),(0,a.registerBreadcrumbs)([{title:"Appointments",path:e,parent:"".concat(window.spaBase,"/home")}]),{pages:[{load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(429),t.e(717),t.e(924),t.e(585),t.e(947)]).then(t.bind(t,6947))}),b),route:/^calendar/,online:!0,offline:!0}],extensions:[{name:"home-appointments",slot:"homepage-widgets-slot",order:1,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(429),t.e(456),t.e(924),t.e(905),t.e(401)]).then(t.bind(t,1429))}),b)},{name:"clinical-appointments-dashboard-link",slot:"homepage-dashboard-slot",load:(0,a.getSyncLifecycle)(d(m),b),meta:m,online:!0,offline:!0},{name:"appointments-calendar-dashboard-link",slot:"calendar-dashboard-slot",load:(0,a.getSyncLifecycle)(d(u),b),online:!0,offline:!0},{name:"clinical-appointments-dashboard",slot:"clinical-appointments-dashboard-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(429),t.e(717),t.e(444),t.e(924),t.e(905),t.e(585),t.e(583)]).then(t.bind(t,583))}),b),online:!0,offline:!0},{name:"todays-appointments-dashboard",slot:"todays-appointment-slot",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(429),t.e(456),t.e(924),t.e(905),t.e(401)]).then(t.bind(t,1429))}),b),online:!0,offline:!0},{name:"check-in-appointment-modal",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(429),t.e(924),t.e(384)]).then(t.bind(t,384))}),b),online:!0,offline:!1}]}}},3979:(e,n,t)=>{var a={"./en.json":[3574,574],"./es.json":[8319,319],"./km.json":[7807,807]};function i(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],i=n[0];return t.e(n[1]).then((()=>t(i)))}i.keys=()=>Object.keys(a),i.id=3979,e.exports=i}}]);
|