@openmrs/esm-appointments-app 10.0.2 → 10.0.3-pre.1
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 +6 -5
- package/dist/1339.js +1 -0
- package/dist/1339.js.map +1 -0
- package/dist/1465.js +1 -0
- package/dist/1465.js.map +1 -0
- package/dist/1480.js +1 -0
- package/dist/1480.js.map +1 -0
- package/dist/1646.js +1 -0
- package/dist/1646.js.map +1 -0
- package/dist/1789.js +1 -0
- package/dist/1789.js.map +1 -0
- package/dist/1869.js +1 -0
- package/dist/1869.js.map +1 -0
- package/dist/1877.js +1 -0
- package/dist/1877.js.map +1 -0
- package/dist/1884.js +1 -0
- package/dist/1884.js.map +1 -0
- package/dist/1962.js +1 -0
- package/dist/1962.js.map +1 -0
- package/dist/2317.js +1 -0
- package/dist/2317.js.map +1 -0
- package/dist/2416.js +1 -0
- package/dist/2416.js.map +1 -0
- package/dist/2495.js +1 -0
- package/dist/2495.js.map +1 -0
- package/dist/2539.js +1 -0
- package/dist/2539.js.map +1 -0
- package/dist/2620.js +1 -0
- package/dist/2620.js.map +1 -0
- package/dist/2717.js +1 -0
- package/dist/2717.js.map +1 -0
- package/dist/282.js +1 -0
- package/dist/282.js.map +1 -0
- package/dist/2881.js +1 -0
- package/dist/2881.js.map +1 -0
- package/dist/3198.js +11 -0
- package/dist/3198.js.map +1 -0
- package/dist/3220.js +1 -0
- package/dist/3220.js.map +1 -0
- package/dist/3378.js +1 -0
- package/dist/3378.js.map +1 -0
- package/dist/3720.js +1 -0
- package/dist/3720.js.map +1 -0
- package/dist/3930.js +1 -0
- package/dist/3930.js.map +1 -0
- package/dist/3963.js +1 -0
- package/dist/3963.js.map +1 -0
- package/dist/3989.js +1 -0
- package/dist/3989.js.map +1 -0
- package/dist/4106.js +1 -0
- package/dist/4106.js.map +1 -0
- package/dist/4111.js +1 -0
- package/dist/4111.js.map +1 -0
- package/dist/4307.js +1 -0
- package/dist/4307.js.map +1 -0
- package/dist/434.js +1 -0
- package/dist/434.js.map +1 -0
- package/dist/4348.js +1 -0
- package/dist/4348.js.map +1 -0
- package/dist/4383.js +1 -0
- package/dist/4383.js.map +1 -0
- package/dist/4658.js +1 -0
- package/dist/4658.js.map +1 -0
- package/dist/466.js +1 -0
- package/dist/466.js.map +1 -0
- package/dist/4928.js +1 -0
- package/dist/4928.js.map +1 -0
- package/dist/5117.js +1 -0
- package/dist/5117.js.map +1 -0
- package/dist/5132.js +1 -0
- package/dist/5132.js.map +1 -0
- package/dist/5145.js +1 -0
- package/dist/5145.js.map +1 -0
- package/dist/5503.js +1 -0
- package/dist/5503.js.map +1 -0
- package/dist/556.js +1 -0
- package/dist/556.js.map +1 -0
- package/dist/5640.js +1 -0
- package/dist/5640.js.map +1 -0
- package/dist/5644.js +1 -0
- package/dist/5644.js.map +1 -0
- package/dist/5940.js +1 -0
- package/dist/5940.js.map +1 -0
- package/dist/6047.js +1 -0
- package/dist/6047.js.map +1 -0
- package/dist/6098.js +38 -0
- package/dist/6098.js.map +1 -0
- package/dist/6236.js +1 -0
- package/dist/6236.js.map +1 -0
- package/dist/635.js +1 -0
- package/dist/635.js.map +1 -0
- package/dist/6371.js +1 -0
- package/dist/6371.js.map +1 -0
- package/dist/6377.js +1 -0
- package/dist/6377.js.map +1 -0
- package/dist/6444.js +1 -0
- package/dist/6444.js.map +1 -0
- package/dist/6508.js +1 -0
- package/dist/6508.js.map +1 -0
- package/dist/6724.js +1 -0
- package/dist/6724.js.map +1 -0
- package/dist/6789.js +1 -0
- package/dist/6789.js.map +1 -0
- package/dist/689.js +1 -0
- package/dist/689.js.map +1 -0
- package/dist/6904.js +1 -0
- package/dist/6904.js.map +1 -0
- package/dist/7045.js +1 -0
- package/dist/7045.js.map +1 -0
- package/dist/7138.js +1 -0
- package/dist/7138.js.map +1 -0
- package/dist/7159.js +1 -0
- package/dist/7159.js.map +1 -0
- package/dist/7175.js +1 -0
- package/dist/7175.js.map +1 -0
- package/dist/7182.js +1 -0
- package/dist/7182.js.map +1 -0
- package/dist/7357.js +1 -0
- package/dist/7357.js.map +1 -0
- package/dist/7609.js +1 -0
- package/dist/7609.js.map +1 -0
- package/dist/7654.js +1 -0
- package/dist/7654.js.map +1 -0
- package/dist/7742.js +1 -0
- package/dist/7742.js.map +1 -0
- package/dist/7912.js +1 -0
- package/dist/7912.js.map +1 -0
- package/dist/8063.js +1 -0
- package/dist/8063.js.map +1 -0
- package/dist/8346.js +1 -0
- package/dist/8346.js.map +1 -0
- package/dist/8358.js +1 -0
- package/dist/8358.js.map +1 -0
- package/dist/8359.js +1 -0
- package/dist/8359.js.map +1 -0
- package/dist/8695.js +1 -0
- package/dist/8695.js.map +1 -0
- package/dist/8937.js +1 -0
- package/dist/8937.js.map +1 -0
- package/dist/8981.js +1 -0
- package/dist/8981.js.map +1 -0
- package/dist/903.js +1 -0
- package/dist/903.js.map +1 -0
- package/dist/9061.js +1 -0
- package/dist/9061.js.map +1 -0
- package/dist/9072.js +1 -0
- package/dist/9072.js.map +1 -0
- package/dist/9282.js +1 -0
- package/dist/9282.js.map +1 -0
- package/dist/9399.js +1 -0
- package/dist/9399.js.map +1 -0
- package/dist/9443.js +1 -0
- package/dist/9443.js.map +1 -0
- package/dist/9581.js +1 -0
- package/dist/9581.js.map +1 -0
- package/dist/9712.js +1 -0
- package/dist/9712.js.map +1 -0
- package/dist/9771.js +1 -0
- package/dist/9771.js.map +1 -0
- package/dist/9806.js +1 -0
- package/dist/9806.js.map +1 -0
- package/dist/main.js +6 -5
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-appointments-app.js +6 -5
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +625 -620
- package/dist/openmrs-esm-appointments-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +3 -2
- package/src/appointments/appointment-tabs.component.tsx +38 -16
- package/src/appointments/common-components/appointments-actions.component.tsx +39 -47
- package/src/appointments/common-components/appointments-actions.test.tsx +52 -99
- package/src/appointments/common-components/appointments-table.component.tsx +109 -135
- package/src/appointments/common-components/appointments-table.scss +10 -6
- package/src/appointments/common-components/appointments-table.test.tsx +2 -9
- package/src/appointments/common-components/batch-change-appointment-statuses.modal.tsx +1 -1
- package/src/appointments/common-components/batch-change-appointment-statuses.test.tsx +8 -6
- package/src/appointments/common-components/checkin-button.component.tsx +60 -29
- package/src/appointments/common-components/end-appointment.modal.tsx +1 -1
- package/src/appointments/common-components/end-appointment.test.tsx +1 -1
- package/src/appointments/scheduled/early-appointments.component.tsx +6 -7
- package/src/appointments/scheduled/scheduled-appointments.component.tsx +26 -206
- package/src/appointments/utils.tsx +29 -16
- package/src/appointments.component.tsx +5 -13
- package/src/appointments.test.tsx +16 -4
- package/src/calendar/appointments-calendar-view.component.tsx +3 -12
- package/src/calendar/appointments-calendar-view.test.tsx +6 -1
- package/src/calendar/header/calendar-header.component.tsx +2 -2
- package/src/calendar/monthly/monthly-calendar-view.component.tsx +2 -2
- package/src/calendar/monthly/monthly-header.component.tsx +9 -8
- package/src/calendar/monthly/monthly-workload-view.component.tsx +2 -2
- package/src/config-schema.ts +17 -9
- package/src/constants.ts +12 -1
- package/src/form/appointments-form.resource.ts +1 -120
- package/src/form/appointments-form.workspace.tsx +15 -18
- package/src/header/appointments-header.component.tsx +27 -9
- package/src/helpers/functions.ts +1 -50
- package/src/home/home-appointments.component.tsx +17 -4
- package/src/hooks/useActiveVisits.ts +14 -0
- package/src/hooks/useAppointmentList.ts +12 -29
- package/src/hooks/useAppointmentService.ts +6 -1
- package/src/hooks/useAppointmentsAppContext.ts +19 -0
- package/src/hooks/useAppointmentsCalendar.ts +2 -1
- package/src/hooks/useMutateAppointments.ts +24 -0
- package/src/hooks/usePatientAppointmentHistory.ts +3 -2
- package/src/hooks/useSelectedDate.ts +24 -0
- package/src/hooks/useUnscheduledAppointments.ts +5 -1
- package/src/index.ts +0 -21
- package/src/metrics/metrics-cards/highest-volume-service.extension.tsx +27 -6
- package/src/metrics/metrics-cards/metrics-card.component.tsx +2 -1
- package/src/metrics/metrics-cards/providers-booked.extension.tsx +14 -6
- package/src/metrics/metrics-cards/scheduled-appointments.extension.tsx +20 -16
- package/src/metrics/metrics-container.component.tsx +1 -5
- package/src/metrics/metrics-header.component.tsx +2 -2
- package/src/patient-appointments/patient-appointments-detailed-summary.extension.tsx +1 -1
- package/src/patient-appointments/patient-upcoming-appointments-card.component.tsx +3 -4
- package/src/routes.json +2 -26
- package/src/store.ts +24 -41
- package/src/types/index.ts +7 -0
- package/src/workload/monthly-view-workload/monthly-view.component.tsx +2 -2
- package/src/workload/workload.component.tsx +3 -3
- package/src/workload/workload.resource.ts +1 -1
- package/translations/am.json +15 -6
- package/translations/ar.json +15 -6
- package/translations/ar_SY.json +15 -6
- package/translations/bn.json +15 -6
- package/translations/cs.json +15 -6
- package/translations/de.json +177 -168
- package/translations/en.json +15 -6
- package/translations/en_US.json +15 -6
- package/translations/es.json +15 -6
- package/translations/es_MX.json +15 -6
- package/translations/fr.json +15 -6
- package/translations/he.json +15 -6
- package/translations/hi.json +15 -6
- package/translations/hi_IN.json +15 -6
- package/translations/id.json +15 -6
- package/translations/it.json +15 -6
- package/translations/ka.json +15 -6
- package/translations/km.json +15 -6
- package/translations/ku.json +15 -6
- package/translations/ky.json +15 -6
- package/translations/lg.json +15 -6
- package/translations/ne.json +15 -6
- package/translations/pl.json +15 -6
- package/translations/pt.json +15 -6
- package/translations/pt_BR.json +15 -6
- package/translations/qu.json +15 -6
- package/translations/ro_RO.json +15 -6
- package/translations/ru_RU.json +15 -6
- package/translations/si.json +15 -6
- package/translations/sq.json +15 -6
- package/translations/sw.json +15 -6
- package/translations/sw_KE.json +15 -6
- package/translations/tr.json +15 -6
- package/translations/tr_TR.json +15 -6
- package/translations/uk.json +15 -6
- package/translations/uz.json +15 -6
- package/translations/uz@Latn.json +15 -6
- package/translations/uz_UZ.json +15 -6
- package/translations/vi.json +15 -6
- package/translations/zh.json +63 -54
- package/translations/zh_CN.json +19 -10
- package/translations/zh_TW.json +15 -6
- package/dist/1187.js +0 -1
- package/dist/1187.js.map +0 -1
- package/dist/126.js +0 -1
- package/dist/1499.js +0 -1
- package/dist/1499.js.map +0 -1
- package/dist/15.js +0 -1
- package/dist/1522.js +0 -1
- package/dist/1522.js.map +0 -1
- package/dist/1564.js +0 -1
- package/dist/1567.js +0 -1
- package/dist/1777.js +0 -1
- package/dist/1777.js.map +0 -1
- package/dist/1845.js +0 -1
- package/dist/1899.js +0 -1
- package/dist/1899.js.map +0 -1
- package/dist/1953.js +0 -1
- package/dist/2056.js +0 -11
- package/dist/2056.js.map +0 -1
- package/dist/2104.js +0 -1
- package/dist/2104.js.map +0 -1
- package/dist/215.js +0 -1
- package/dist/2178.js +0 -1
- package/dist/2417.js +0 -1
- package/dist/2417.js.map +0 -1
- package/dist/2566.js +0 -1
- package/dist/2586.js +0 -1
- package/dist/2586.js.map +0 -1
- package/dist/2759.js +0 -1
- package/dist/276.js +0 -1
- package/dist/276.js.map +0 -1
- package/dist/3089.js +0 -1
- package/dist/3089.js.map +0 -1
- package/dist/3127.js +0 -1
- package/dist/3127.js.map +0 -1
- package/dist/3230.js +0 -1
- package/dist/3277.js +0 -1
- package/dist/3277.js.map +0 -1
- package/dist/3441.js +0 -1
- package/dist/3565.js +0 -1
- package/dist/3571.js +0 -1
- package/dist/3571.js.map +0 -1
- package/dist/3746.js +0 -1
- package/dist/3925.js +0 -1
- package/dist/3946.js +0 -1
- package/dist/4085.js +0 -1
- package/dist/4085.js.map +0 -1
- package/dist/4108.js +0 -1
- package/dist/4108.js.map +0 -1
- package/dist/4448.js +0 -1
- package/dist/4448.js.map +0 -1
- package/dist/4744.js +0 -1
- package/dist/4744.js.map +0 -1
- package/dist/4809.js +0 -1
- package/dist/486.js +0 -1
- package/dist/486.js.map +0 -1
- package/dist/4894.js +0 -1
- package/dist/4970.js +0 -1
- package/dist/4970.js.map +0 -1
- package/dist/5130.js +0 -1
- package/dist/5187.js +0 -1
- package/dist/5218.js +0 -1
- package/dist/5218.js.map +0 -1
- package/dist/5327.js +0 -1
- package/dist/5327.js.map +0 -1
- package/dist/5388.js +0 -1
- package/dist/5388.js.map +0 -1
- package/dist/5491.js +0 -1
- package/dist/5491.js.map +0 -1
- package/dist/5595.js +0 -1
- package/dist/5657.js +0 -38
- package/dist/5657.js.map +0 -1
- package/dist/5961.js +0 -1
- package/dist/6133.js +0 -1
- package/dist/634.js +0 -1
- package/dist/634.js.map +0 -1
- package/dist/6456.js +0 -1
- package/dist/6466.js +0 -1
- package/dist/6613.js +0 -1
- package/dist/6783.js +0 -1
- package/dist/703.js +0 -1
- package/dist/703.js.map +0 -1
- package/dist/7251.js +0 -1
- package/dist/7251.js.map +0 -1
- package/dist/7348.js +0 -1
- package/dist/7433.js +0 -1
- package/dist/7433.js.map +0 -1
- package/dist/7513.js +0 -1
- package/dist/7513.js.map +0 -1
- package/dist/7543.js +0 -1
- package/dist/7607.js +0 -1
- package/dist/772.js +0 -1
- package/dist/8139.js +0 -1
- package/dist/8139.js.map +0 -1
- package/dist/8456.js +0 -1
- package/dist/8456.js.map +0 -1
- package/dist/8588.js +0 -1
- package/dist/8588.js.map +0 -1
- package/dist/8599.js +0 -1
- package/dist/8727.js +0 -1
- package/dist/8847.js +0 -1
- package/dist/8919.js +0 -1
- package/dist/8919.js.map +0 -1
- package/dist/9015.js +0 -1
- package/dist/9051.js +0 -1
- package/dist/9051.js.map +0 -1
- package/dist/906.js +0 -1
- package/dist/9065.js +0 -1
- package/dist/9182.js +0 -1
- package/dist/9260.js +0 -1
- package/dist/9260.js.map +0 -1
- package/dist/9327.js +0 -1
- package/dist/9327.js.map +0 -1
- package/dist/9339.js +0 -1
- package/dist/9453.js +0 -1
- package/dist/9589.js +0 -1
- package/dist/9589.js.map +0 -1
- package/dist/9650.js +0 -1
- package/dist/9650.js.map +0 -1
- package/dist/9833.js +0 -1
- package/dist/9833.js.map +0 -1
- package/dist/9920.js +0 -1
- package/dist/9938.js +0 -1
- package/dist/9943.js +0 -1
- package/dist/9943.js.map +0 -1
- package/src/appointments/scheduled/appointments-list.component.tsx +0 -51
- package/src/hooks/useClinicalMetrics.ts +0 -94
- package/src/hooks/useTodaysVisits.ts +0 -19
- package/src/scheduled-appointments-config-schema.ts +0 -177
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
[1m[33mWARNING[39m[22m in [33m⚠[0m asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
|
|
2
2
|
│ Assets:
|
|
3
|
-
│
|
|
4
|
-
│
|
|
5
|
-
│
|
|
3
|
+
│ 3930.js (273.573 KiB)
|
|
4
|
+
│ 3198.js (314.635 KiB)
|
|
5
|
+
│ 6098.js (1.673 MiB)
|
|
6
|
+
[0m
|
|
6
7
|
|
|
7
|
-
Rspack compiled with
|
|
8
|
+
Rspack compiled with [1m[33m1 warning[39m[22m in 30.05 s
|
package/dist/1339.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1339"],{3296(t,e,n){var u=n(7125),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},r=u.useState,s=u.useEffect,a=u.useLayoutEffect,i=u.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(t){return!0}}var p="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),u=r({inst:{value:n,getSnapshot:e}}),o=u[0].inst,p=u[1];return a(function(){o.value=n,o.getSnapshot=e,c(o)&&p({inst:o})},[t,n,e]),s(function(){return c(o)&&p({inst:o}),t(function(){c(o)&&p({inst:o})})},[t]),i(n),n};e.useSyncExternalStore=void 0!==u.useSyncExternalStore?u.useSyncExternalStore:p},8139(t,e,n){t.exports=n(3296)}}]);
|
package/dist/1339.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1339.js","sources":["webpack://@openmrs/esm-appointments-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-appointments-app/../../node_modules/use-sync-external-store/shim/index.js"],"names":["o","Object","c","n","window","e"],"mappings":"yJAWA,IAAI,EAAQ,EAAQ,MAIhBA,EAAW,YAAe,OAAOC,OAAO,EAAE,CAAGA,OAAO,EAAE,CAH1D,SAAY,CAAC,CAAE,CAAC,EACd,OAAO,AAAC,IAAM,GAAM,KAAM,GAAK,EAAI,GAAM,EAAI,IAAQ,GAAM,GAAK,GAAM,CACxE,EAEE,EAAW,EAAM,QAAQ,CACzB,EAAY,EAAM,SAAS,CAC3B,EAAkB,EAAM,eAAe,CACvC,EAAgB,EAAM,aAAa,CA0BrC,SAASC,EAAuB,CAAI,EAClC,IAAI,EAAoB,EAAK,WAAW,CACxC,EAAO,EAAK,KAAK,CACjB,GAAI,CACF,IAAIC,EAAY,IAChB,MAAO,CAACH,EAAS,EAAMG,EACzB,CAAE,MAAO,EAAO,CACd,MAAO,CAAC,CACV,CACF,CAIA,IAAI,EACF,IAAgB,OAAOC,QACvB,SAAuBA,OAAO,QAAQ,EACtC,SAAuBA,OAAO,QAAQ,CAAC,aAAa,CANtD,SAAgC,CAAS,CAAE,CAAW,EACpD,OAAO,GACT,EArCA,SAAgC,CAAS,CAAE,CAAW,EACpD,IAAI,EAAQ,IACV,EAAY,EAAS,CAAE,KAAM,CAAE,MAAO,EAAO,YAAa,CAAY,CAAE,GACxE,EAAO,CAAS,CAAC,EAAE,CAAC,IAAI,CACxB,EAAc,CAAS,CAAC,EAAE,CAmB5B,OAlBA,EACE,WACE,EAAK,KAAK,CAAG,EACb,EAAK,WAAW,CAAG,EACnBF,EAAuB,IAAS,EAAY,CAAE,KAAM,CAAK,EAC3D,EACA,CAAC,EAAW,EAAO,EAAY,EAEjC,EACE,WAEE,OADAA,EAAuB,IAAS,EAAY,CAAE,KAAM,CAAK,GAClD,EAAU,WACfA,EAAuB,IAAS,EAAY,CAAE,KAAM,CAAK,EAC3D,EACF,EACA,CAAC,EAAU,EAEb,EAAc,GACP,CACT,CAoBAG,CAAAA,EAAQ,oBAAoB,CAC1B,KAAK,IAAM,EAAM,oBAAoB,CAAG,EAAM,oBAAoB,CAAG,C,cC9DrE,EAAO,OAAO,CAAG,EAAjB,K"}
|
package/dist/1465.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1465"],{5602(t){t.exports=function(t,e,n){e.prototype.isToday=function(){var t="YYYY-MM-DD",e=n();return this.format(t)===e.format(t)}}},9648(t,e,n){"use strict";n.r(e),n.d(e,{default:()=>c});var r=n(7125),a=n.n(r),i=n(5921),o=n(6178),s=n(2735),l=n(2845),u=n(5370);let c=function(t){var e=t.patientUuid,n=t.appointmentUuid,c=t.closeModal,p=(0,i.useTranslation)().t,d=(0,s.useVisit)(e),m=d.activeVisit,f=d.mutate,h=(0,u.q)().mutateAppointments,v=(0,r.useCallback)(function(){(0,l.y)("Completed",n).then(function(){if(h(),m){var t=new AbortController,e={stopDatetime:new Date};return(0,s.updateVisit)(m.uuid,e,t).then(function(){(0,s.showSnackbar)({title:p("appointmentEnded","Appointment ended"),subtitle:p("appointmentEndedAndVisitClosedSuccessfully","Appointment successfully ended and visit successfully closed"),isLowContrast:!0,kind:"success"}),f()}).catch(function(t){(0,s.showSnackbar)({title:p("appointmentEndedButVisitNotClosedError","Appointment ended successfully, but there was an error closing the visit."),subtitle:null==t?void 0:t.message,kind:"error",isLowContrast:!0})})}(0,s.showSnackbar)({title:p("appointmentEnded","Appointment ended"),subtitle:p("appointmentEndedSuccessfully","Appointment successfully ended."),isLowContrast:!0,kind:"success"})}).catch(function(t){(0,s.showSnackbar)({title:p("appointmentEndError","Error ending appointment"),subtitle:null==t?void 0:t.message,kind:"error",isLowContrast:!0})}).finally(function(){c()})},[m,n,c,f,h,p]);return a().createElement(a().Fragment,null,a().createElement(o.rQ0,{closeModal:c,title:p("endAppointmentConfirmation","Are you sure you want to check the patient out for this appointment?")}),a().createElement(o.cwr,null,a().createElement("p",null,m?p("endAppointmentAndVisitConfirmationMessage","Checking the patient out will mark the appointment as complete and close out the active visit for this patient."):p("endAppointmentConfirmationMessage","Checking the patient out will mark the appointment as complete."))),a().createElement(o.jlY,null,a().createElement(o.$nd,{kind:"secondary",onClick:c},p("cancel","Cancel")),a().createElement(o.$nd,{kind:"danger",onClick:v},p("checkOut","Check out"))))}},5370(t,e,n){"use strict";n.d(e,{q:()=>s});var r=n(7125),a=n(1123),i=n(2735),o="".concat(i.restBaseUrl,"/appointment");function s(){var t=(0,a.iX)().mutate;return{mutateAppointments:(0,r.useCallback)(function(){return t(function(t){return"string"==typeof t&&t.startsWith(o)||Array.isArray(t)&&t[0].startsWith(o)})},[t])}}},2845(t,e,n){"use strict";n.d(e,{D:()=>p,y:()=>d});var r=n(3464),a=n.n(r),i=n(1123),o=n(2735),s=n(5602),l=n.n(s);function u(t,e,n,r,a,i,o){try{var s=t[i](o),l=s.value}catch(t){n(t);return}s.done?e(l):Promise.resolve(l).then(r,a)}a().extend(l());var c="".concat(o.restBaseUrl,"/appointments/search");function p(t,e,n){var r,s,l,u,p,d,m,f=(0,i.Ay)(c,function(){return(0,o.openmrsFetch)(c,{method:"POST",signal:n.signal,headers:{"Content-Type":"application/json"},body:{patientUuid:t,startDate:e}})}),h=f.data,v=f.error,y=f.isLoading,b=f.isValidating,w=f.mutate,k=(null==h||null==(r=h.data)?void 0:r.length)?h.data:null,g=null==k||null==(l=k.sort(function(t,e){return e.startDateTime>t.startDateTime?1:-1}))||null==(s=l.filter(function(t){return"Cancelled"!==t.status}))?void 0:s.filter(function(t){var e=t.startDateTime;return a()(new Date(e).toISOString()).isBefore(new Date().setHours(0,0,0,0))}),C=null==k||null==(p=k.sort(function(t,e){return t.startDateTime>e.startDateTime?1:-1}))||null==(u=p.filter(function(t){return"Cancelled"!==t.status}))?void 0:u.filter(function(t){var e=t.startDateTime;return a()(new Date(e).toISOString()).isAfter(new Date)}),D=null==k||null==(m=k.sort(function(t,e){return t.startDateTime>e.startDateTime?1:-1}))||null==(d=m.filter(function(t){return"Cancelled"!==t.status}))?void 0:d.filter(function(t){var e=t.startDateTime;return a()(new Date(e).toISOString()).isToday()});return{data:h?{pastAppointments:g,upcomingAppointments:C,todaysAppointments:D}:null,error:v,isLoading:y,isValidating:b,mutate:w}}var d=function(t,e){var n;return(n=function(){var n,r,i;return function(t,e){var n,r,a,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(o,"next",{value:l(0)}),s(o,"throw",{value:l(1)}),s(o,"return",{value:l(2)}),"function"==typeof Symbol&&s(o,Symbol.iterator,{value:function(){return this}}),o;function l(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(a=(a=i.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(6===u[0]&&i.label<a[1]){i.label=a[1],a=u;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(u);break}a[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(s){switch(s.label){case 0:return n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=a()(new Date).format("YYYY-MM-DDTHH:mm:ss.SSSZZ"),i="".concat(o.restBaseUrl,"/appointments/").concat(e,"/status-change"),[4,(0,o.openmrsFetch)(i,{body:{toStatus:t,onDate:r,timeZone:n},method:"POST",headers:{"Content-Type":"application/json"}})];case 1:return[2,s.sent()]}})},function(){var t=this,e=arguments;return new Promise(function(r,a){var i=n.apply(t,e);function o(t){u(i,r,a,o,s,"next",t)}function s(t){u(i,r,a,o,s,"throw",t)}o(void 0)})})()}}}]);
|
package/dist/1465.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1465.js","sources":["webpack://@openmrs/esm-appointments-app/../../node_modules/dayjs/plugin/isToday.js","webpack://@openmrs/esm-appointments-app/./src/appointments/common-components/end-appointment.modal.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useMutateAppointments.ts","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments.resource.ts"],"names":["patientUuid","appointmentUuid","closeModal","t","useTranslation","_useVisit","activeVisit","mutate","mutateAppointments","useMutateAppointments","handleEndAppointment","useCallback","changeAppointmentStatus","abortController","AbortController","endVisitPayload","Date","updateVisit","showSnackbar","error","ModalHeader","ModalBody","ModalFooter","Button","appointmentUrlMatcher","restBaseUrl","useSWRConfig","key","Array","dayjs","isToday","appointmentsSearchUrl","usePatientAppointments","startDate","_data_data","_appointments_sort_filter","_appointments_sort_filter1","_appointments_sort_filter2","_useSWR","openmrsFetch","data","isLoading","isValidating","appointments","pastAppointments","a","b","status","startDateTime","upcomingAppointments","todaysAppointments","toStatus","timeZone","statusChangeTime","url","Intl"],"mappings":"wIAAoE,EAAO,OAAO,CAA0K,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,SAAS,CAAC,OAAO,CAAC,WAAW,IAAI,EAAE,aAAa,EAAE,IAAI,OAAO,IAAI,CAAC,MAAM,CA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s_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1480"],{795(e){e.exports=JSON.parse('{"action":"ქმედება","actions":"ქმედებები","add":"დამატება","addAppointments":"Add Appointments","age":"ასაკი","allDay":"მთელი დღე","appointment":"Appointment","appointmentCancelError":"მიღების გაუქმების შეცდომა","appointmentCancelled":"მიღება გაუქმდა","appointmentCancelledSuccessfully":"მიღება წარმატებით გაუქმდა","appointmentCheckedIn":"Appointment Checked In","appointmentCheckedInWithExistingVisit":"Appointment checked in using existing active visit","appointmentCheckInFailed":"An error occurred while checking in the appointment","appointmentConflict":"მიღების კონფლიქტი","appointmentDate":"Appointment date","appointmentDisplay":"<0>{{patientName}}</0> - {{serviceName}} - {{currentStatus}}","appointmentEdited":"მიღება ჩასწორდა","appointmentEditError":"მიღების ჩასწორების შეცდომა","appointmentEnded":"მიღება დასრულდა","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"მიღება წარმატებით დასრულდა.","appointmentEndError":"მიღების დასრულების შეცდომა","appointmentFormError":"მიღების დაგეგმვის შეცდომა","appointmentHistory":"მიღებების ისტორია","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"დამატებითი შენიშვნის დაწერა","appointmentNotePlaceholder":"დაწერეთ აქ ნებისმიერი დამატებითი აზრი","appointmentNotes":"მიღების შენიშვნები","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"მიღებები","Appointments":"მიღებები","appointments_lower":"მიღება","appointmentsCalendar":"მიღებების კალენდარი","appointmentScheduled":"დაგეგმილი მიღება","appointmentsForDate":"Appointments for: {{date}}","appointmentsTable":"მიღებების ცხრილი","appointmentStatus":"მიღების სტატუსი","appointmentsUpdated":"Appointments updated","appointmentsUpdatedMessage":"Appointments for selected patients have been successfully updated","appointmentsUpdateFailed":"Appointments update failed","appointmentsUpdateFailedMessage":"Appointments update failed for {{patient}}. Reason: {{reason}}","appointmentToFulfill":"აირჩიეთ შესასრულებელი მიღება","appointmentType":"მიღების ტიპი","appointmentType_title":"მიღების ტიპი","back":"უკან","calendar":"კალენდარი","cameEarly":"ადრე მოვიდა","cancel":"გაუქმება","cancelAppointment":"მიღების გაუქმება","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"გაუქმებულია","Cancelled":"Cancelled","changeAppointmentsStatus":"Change appointments status","changeStatus":"Change status","changeStatusForSelectedAppointments":"Change the status for the following appointments.","checkedIn":"რეგისტრირებულია","CheckedIn":"Checked in","checkFilters":"შეამოწმეთ ფილტრები ზემოთ","checkIn":"რეგისტრაცია","checkInFailed":"Check-in failed","checkOut":"რეგისტრაციის გაუქმება","chooseAppointmentType":"აირჩიეთ მიღების ტიპი","chooseLocation":"აირჩიეთ მდებარეობა","chooseProvider":"აირჩიეთ მომწოდებელი","chooseService":"აირჩიეთ სერვისი","completed":"დასრულებულია","Completed":"Completed","Contact":"კონტაქტი {{index}}","countMore_one":"კიდევ {{count}}","countMore_other":"კიდევ {{count}}","createNewAppointment":"ახალი მიღების შექმნა","date":"თარიღი","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"დაბადების დღე","dateRange":"Set date range","dateTime":"Appointment time","day":"დღე","daysOfWeek":"კვირის დღეები","discard":"მოცილება","download":"გადმოწერა","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"ხანგრძლივობა (წთ)","early":"Early","edit":"ჩასწორება","editAppointment":"მიღების ჩასწორება","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","failedToEndActiveVisit":"Failed to end active visit for {{patient}}","failedToLoadMetrics":"Failed to load","failedToUpdateVisit":"Failed to update visit","filterAppointments":"მიღებების გაფილტვრა","filterAppointmentsByServiceType":"Filter appointments by service type","filterAppointmentsByStatus":"Filter appointments by status","filterTable":"ცხრილის გაფილტვრა","FRI":"FRI","gender":"სქესი","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidAppointmentStatusChange":"Cannot transition appointment with status {{currentStatus}} to status {{newStatus}}","invalidNumber":"რიცხვი არასწორია","isRecurringAppointment":"ეს გამეორებადი მიღებაა?","itemsPerPage":"ელემენტი ერთ გვერდზე","loading":"მიმდინარეობს ჩატვირთვა","location":"მდებარეობა","markAppointmentAsCompletedMessage":"Marking appointment as completed will end the active visit of the patient","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"გამოტოვებულია","Missed":"Missed","MON":"MON","next":"შემდეგი","nextMonth":"შემდეგი თვე","nextPage":"შემდეგი გვერდი","no":"არა","noAppointmentsToDisplay":"საჩვენებელი მიღებების გარეშე","noContent":"შემცველობის გარეშე","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"არ მოსულა","note":"შენიშვნა","notes":"შენიშვნები","noUpcomingAppointments":"მომავალი მიღებები აღმოჩენილი არაა","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"გვერდის ნომერი","past":"წარსული","patientDetails":"პაციენტის დეტალები","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"პაციენტის სახელი","patients":"პაციენტები","period":"პერიოდი","prev":"წინა","previousMonth":"წინა თვე","previousPage":"წინა გვერდი","provider":"მომწოდებელი","providers":"მომწოდებლები","providersBooked":"Providers booked: {{time}}","recurringAppointment":"გამეორებადი მიღება","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"მეორდება ყოველ","SAT":"SAT","saveAndClose":"შენახვა და დახურვა","saving":"Saving","scheduled":"დაგეგმილია","Scheduled":"Scheduled","scheduledAppointments":"დაგეგმილი მიღებები","scheduledForToday":"დღეისთვის დაგეგმილი","selectALocation":"აირჩიეთ მდებარეობა","selectAppointmentStatus":"აირჩიეთ სტატუსი","selectAppointmentType":"აირჩიეთ მიღების ტიპი","selectOption":"აირჩიეთ პარამეტრი","selectProvider":"აირჩიეთ მომწოდებელი","selectService":"აირჩიეთ სერვისი","selectStatus":"Select status","service":"სერვისი","serviceName":"სერვისის სახელი","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"სტატუსი","SUN":"SUN","THUR":"THUR","time":"დრო","today":"დღეს","todaysAppointment":"Today\'s Appointments","TUE":"TUE","type":"ტიპი","unknownError":"An unknown error occurred","unscheduled":"დაუგეგმავი","unscheduledAppointments":"დაუგეგმავი მიღებები","unscheduledAppointments_lower":"დაუგეგმავი მიღება","upcoming":"მოახლოებული","upcomingAppointments":"მომავალი მიღებები","updateError":"მომავალი მიღების ჩასწორების შეცდომა","visitStartTime":"Visit start time","WED":"WED","week":"კვირა","yes":"დიახ"}')}}]);
|
package/dist/1480.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1480.js","sources":["webpack://@openmrs/esm-appointments-app/json|/home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-appointments-app/translations/ka.json"],"names":["JSON"],"mappings":"oJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,q4O"}
|
package/dist/1646.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1646"],{8349(e){e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","addAppointments":"Add Appointments","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentCheckedInWithExistingVisit":"Appointment checked in using existing active visit","appointmentCheckInFailed":"An error occurred while checking in the appointment","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentDisplay":"<0>{{patientName}}</0> - {{serviceName}} - {{currentStatus}}","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsForDate":"Appointments for: {{date}}","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentsUpdated":"Appointments updated","appointmentsUpdatedMessage":"Appointments for selected patients have been successfully updated","appointmentsUpdateFailed":"Appointments update failed","appointmentsUpdateFailedMessage":"Appointments update failed for {{patient}}. Reason: {{reason}}","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","Cancelled":"Cancelled","changeAppointmentsStatus":"Change appointments status","changeStatus":"Change status","changeStatusForSelectedAppointments":"Change the status for the following appointments.","checkedIn":"Checked in","CheckedIn":"Checked in","checkFilters":"Check the filters above","checkIn":"Check In","checkInFailed":"Check-in failed","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Appointment time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","early":"Early","edit":"Edit","editAppointment":"Edit appointment","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","failedToEndActiveVisit":"Failed to end active visit for {{patient}}","failedToLoadMetrics":"Failed to load","failedToUpdateVisit":"Failed to update visit","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterAppointmentsByStatus":"Filter appointments by status","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidAppointmentStatusChange":"Cannot transition appointment with status {{currentStatus}} to status {{newStatus}}","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","markAppointmentAsCompletedMessage":"Marking appointment as completed will end the active visit of the patient","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","Missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","saving":"Saving","scheduled":"Scheduled","Scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectStatus":"Select status","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todaysAppointment":"Today\'s Appointments","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","visitStartTime":"Visit start time","WED":"WED","week":"Week","yes":"Yes"}')}}]);
|
package/dist/1646.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1646.js","sources":["webpack://@openmrs/esm-appointments-app/json|/home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-appointments-app/translations/es_MX.json"],"names":["JSON"],"mappings":"qJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,y1O"}
|
package/dist/1789.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1789"],{9002(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},2348(e,t,n){"use strict";let r;n.r(t),n.d(t,{withSSR:()=>K,getDefaults:()=>k,TransWithoutContext:()=>L,initReactI18next:()=>q,withTranslation:()=>U,getI18n:()=>T,useTranslation:()=>B,date:()=>G,composeInitialProps:()=>D,Translation:()=>W,select:()=>J,selectOrdinal:()=>Q,setI18n:()=>S,I18nContext:()=>P,time:()=>X,number:()=>Y,I18nextProvider:()=>H,plural:()=>Z,Trans:()=>F,getInitialProps:()=>z,setDefaults:()=>$,useSSR:()=>M});var a=n(7125),i=n(9002),s=n.n(i),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function o(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(l),i=null;null!==(i=a.exec(e));)if(i[0].trim())if(i[1]){var o=i[1].trim(),u=[o,""];o.indexOf("=")>-1&&(u=o.split("=")),t.attrs[u[0]]=u[1],a.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var u=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,p=Object.create(null);let d=function(e,t){t||(t={}),t.components||(t.components=p);var n,r=[],a=[],i=-1,s=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");r.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(u,function(l,u){if(s){if(l!=="</"+n.name+">")return;s=!1}var p,d="/"!==l.charAt(1),f=l.startsWith("\x3c!--"),m=u+l.length,g=e.charAt(m);if(f){var h=o(l);return i<0?r.push(h):(p=a[i]).children.push(h),r}if(d&&(i++,"tag"===(n=o(l)).type&&t.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!g||"<"===g||n.children.push({type:"text",content:e.slice(m,e.indexOf("<",m))}),0===i&&r.push(n),(p=a[i-1])&&p.children.push(n),a[i]=n),(!d||n.voidElement)&&(i>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(n=-1==--i?r:a[i]),!s&&"<"!==g&&g)){p=-1===i?r:a[i].children;var y=e.indexOf("<",m),N=e.slice(m,-1===y?void 0:y);c.test(N)&&(N=" "),(y>-1&&i+p.length>=0||" "!==N)&&p.push({type:"text",content:N})}}),r},f=(e,t,n,r)=>{let a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);E(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},m={},g=(e,t,n,r)=>{E(n)&&m[n]||(E(n)&&(m[n]=new Date),f(e,t,n,r))},h=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},y=(e,t,n)=>{e.loadNamespaces(t,h(e,n))},N=(e,t,n,r)=>{if(E(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return y(e,n,r);n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,h(e,r))},b=e=>e.displayName||e.name||(E(e)&&e.length>0?e:"Unknown"),E=e=>"string"==typeof e,x=e=>"object"==typeof e&&null!==e,v=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,O={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},I=e=>O[e],w={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(v,I)},$=(e={})=>{w={...w,...e}},k=()=>w,S=e=>{r=e},T=()=>r,A=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},R=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?C(t):t},C=e=>Array.isArray(e)?e:[e],_=(e,t,n,r)=>{if(!e)return"";let i="",s=C(e),l=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((e,s)=>{if(E(e)){i+=`${e}`;return}if((0,a.isValidElement)(e)){let{props:a,type:o}=e,u=Object.keys(a).length,c=l.indexOf(o)>-1,p=a.children;if(!p&&c&&!u){i+=`<${o}/>`;return}if(!p&&(!c||u)||a.i18nIsDynamicList){i+=`<${s}></${s}>`;return}if(c&&1===u&&E(p)){i+=`<${o}>${p}</${o}>`;return}let d=_(p,t,n,r);i+=`<${s}>${d}</${s}>`;return}if(null===e)return void f(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:r});if(x(e)){let{format:t,...a}=e,s=Object.keys(a);if(1===s.length){let e=t?`${s[0]}, ${t}`:s[0];i+=`{{${e}}}`;return}f(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:r,child:e});return}f(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:r,child:e})}),i},j=(e,t,n)=>{let r=e.key||t,i=(0,a.cloneElement)(e,{key:r});return!i.props||!i.props.children||0>n.indexOf(`${t}/>`)&&0>n.indexOf(`${t} />`)?i:(0,a.createElement)(function(){return(0,a.createElement)(a.Fragment,null,i)},{key:r})};function L({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:s={},values:l,defaults:o,components:u,ns:c,i18n:p,t:f,shouldUnescape:m,...h}){let y=p||T();if(!y)return g(y,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:r}),e;let N=f||y.t.bind(y)||(e=>e),b={...k(),...y.options?.react},v=c||N.ns||y.options?.defaultNS;v=E(v)?[v]:v||["translation"];let O=_(e,b,y,r),I=o||O||b.transEmptyNodeValue||r,{hashTransKey:w}=b,$=r||(w?w(O||I):O||I);y.options?.interpolation?.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});let S=!l&&(void 0===t||y.options?.interpolation?.alwaysFormat)&&e?{interpolation:{...s.interpolation,prefix:"#$?",suffix:"?$#"}}:s.interpolation,P={...s,context:i||s.context,count:t,...l,...S,defaultValue:I,ns:v},V=$?N($,P):I,D=((e,t,n,r)=>{if(!e)return null;if(Array.isArray(e))return e.map((e,n)=>j(e,n,t));if(x(e)){let n;return n={},Object.keys(e).forEach(r=>{Object.assign(n,{[r]:j(e[r],r,t)})}),n}return g(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null})(u,V,y,r),z=D||e,F=null;!(!x(D)||Array.isArray(D))&&Object.keys(D).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0)&&(F=D,z=e);let B=((e,t,n,r,i,s,l)=>{if(""===n)return[];let o=i.transKeepBasicHtmlNodesFor||[],u=n&&new RegExp(o.map(e=>`<${e}`).join("|")).test(n);if(!e&&!t&&!u&&!l)return[n];let c=t??{},p=e=>{C(e).forEach(e=>{E(e)||(A(e)?p(R(e)):x(e)&&!(0,a.isValidElement)(e)&&Object.assign(c,e))})};p(e);let f=d(`<0>${n}</0>`),m={...c,...s},g=(e,t,n)=>{let r=R(e),i=y(r,t.children,n);return Array.isArray(r)&&r.every(a.isValidElement)&&0===i.length||e.props?.i18nIsDynamicList?r:i},h=(e,t,n,r,i)=>{e.dummy?(e.children=t,n.push((0,a.cloneElement)(e,{key:r},i?void 0:t))):n.push(...a.Children.map([e],e=>{let n={...e.props};return delete n.i18nIsDynamicList,(0,a.createElement)(e.type,{...n,key:r,ref:e.props.ref??e.ref},i?null:t)}))},y=(e,n,s)=>{let c=C(e);return C(n).reduce((e,n,p)=>{let d=n.children?.[0]?.content&&r.services.interpolator.interpolate(n.children[0].content,m,r.language);if("tag"===n.type){var f,N;let l,b=c[parseInt(n.name,10)];!b&&t&&(b=t[n.name]),1!==s.length||b||(b=s[0][n.name]),b||(b={});let v=0!==Object.keys(n.attrs).length?(f={props:n.attrs},(l={...N=b}).props=Object.assign(f.props,N.props),l):b,O=(0,a.isValidElement)(v),I=O&&A(n,!0)&&!n.voidElement,w=u&&x(v)&&v.dummy&&!O,$=x(t)&&Object.hasOwnProperty.call(t,n.name);if(E(v)){let t=r.services.interpolator.interpolate(v,m,r.language);e.push(t)}else if(A(v)||I){let t=g(v,n,s);h(v,t,e,p)}else if(w)h(v,y(c,n.children,s),e,p);else if(Number.isNaN(parseFloat(n.name)))if($){let t=g(v,n,s);h(v,t,e,p,n.voidElement)}else if(i.transSupportBasicHtmlNodes&&o.indexOf(n.name)>-1)if(n.voidElement)e.push((0,a.createElement)(n.name,{key:`${n.name}-${p}`}));else{let t=y(c,n.children,s);e.push((0,a.createElement)(n.name,{key:`${n.name}-${p}`},t))}else if(n.voidElement)e.push(`<${n.name} />`);else{let t=y(c,n.children,s);e.push(`<${n.name}>${t}</${n.name}>`)}else if(x(v)&&!O){let t=n.children[0]?d:null;t&&e.push(t)}else h(v,d,e,p,1!==n.children.length||!d)}else if("text"===n.type){let t=i.transWrapTextNodes,s=l?i.unescape(r.services.interpolator.interpolate(n.content,m,r.language)):r.services.interpolator.interpolate(n.content,m,r.language);t?e.push((0,a.createElement)(t,{key:`${n.name}-${p}`},s)):e.push(s)}return e},[])};return R(y([{dummy:!0,children:e||[]}],f,C(e||[]))[0])})(z,F,V,y,b,P,m),U=n??b.defaultTransParent;return U?(0,a.createElement)(U,h,B):B}let P=(0,a.createContext)();class V{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let D=e=>async t=>{let n=await e.getInitialProps?.(t)??{},r=z();return{...n,...r}},z=()=>{let e=T(),t=e.reportNamespaces?.getUsedNamespaces()??[],n={},r={};return e.languages.forEach(n=>{r[n]={},t.forEach(t=>{r[n][t]=e.getResourceBundle(n,t)||{}})}),n.initialI18nStore=r,n.initialLanguage=e.language,n};function F({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:s={},values:l,defaults:o,components:u,ns:c,i18n:p,t:d,shouldUnescape:f,...m}){let{i18n:g,defaultNS:h}=(0,a.useContext)(P)||{},y=p||g||T(),N=d||y?.t.bind(y);return L({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:s,values:l,defaults:o,components:u,ns:c||N?.ns||h||y?.options?.defaultNS,i18n:y,t:d,shouldUnescape:f,...m})}let B=(e,t={})=>{var n,r,i;let s,{i18n:l}=t,{i18n:o,defaultNS:u}=(0,a.useContext)(P)||{},c=l||o||T();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new V),!c){g(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>E(t)?t:x(t)&&E(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}c.options.react?.wait&&g(c,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let p={...k(),...c.options.react,...t},{useSuspense:d,keyPrefix:f}=p,m=e||u||c.options?.defaultNS;m=E(m)?[m]:m||["translation"],c.reportNamespaces.addUsedNamespaces?.(m);let h=(c.isInitialized||c.initializedStoreOnce)&&m.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(g(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,c,p)),b=(n=t.lng||null,r="fallback"===p.nsMode?m:m[0],(0,a.useCallback)(c.getFixedT(n,r,f),[c,n,r,f])),v=()=>b,O=()=>{let e,n;return e=t.lng||null,n="fallback"===p.nsMode?m:m[0],c.getFixedT(e,n,f)},[I,w]=(0,a.useState)(v),$=m.join();t.lng&&($=`${t.lng}${$}`);let S=(i=$,s=(0,a.useRef)(),(0,a.useEffect)(()=>{s.current=i},[i,void 0]),s.current),A=(0,a.useRef)(!0);(0,a.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=p;A.current=!0,h||d||(t.lng?N(c,t.lng,m,()=>{A.current&&w(O)}):y(c,m,()=>{A.current&&w(O)})),h&&S&&S!==$&&A.current&&w(O);let r=()=>{A.current&&w(O)};return e&&c?.on(e,r),n&&c?.store.on(n,r),()=>{A.current=!1,c&&e&&e?.split(" ").forEach(e=>c.off(e,r)),n&&c&&n.split(" ").forEach(e=>c.store.off(e,r))}},[c,$]),(0,a.useEffect)(()=>{A.current&&h&&w(v)},[c,f,h]);let R=[I,c,h];if(R.t=I,R.i18n=c,R.ready=h,h||!h&&!d)return R;throw new Promise(e=>{t.lng?N(c,t.lng,m,()=>e()):y(c,m,()=>e())})},U=(e,t={})=>function(n){function r({forwardedRef:i,...s}){let[l,o,u]=B(e,{...s,keyPrefix:t.keyPrefix}),c={...s,t:l,i18n:o,tReady:u};return t.withRef&&i?c.ref=i:!t.withRef&&i&&(c.forwardedRef=i),(0,a.createElement)(n,c)}return r.displayName=`withI18nextTranslation(${b(n)})`,r.WrappedComponent=n,t.withRef?(0,a.forwardRef)((e,t)=>(0,a.createElement)(r,Object.assign({},e,{forwardedRef:t}))):r},W=({ns:e,children:t,...n})=>{let[r,a,i]=B(e,n);return t(r,{i18n:a,lng:a.language},i)};function H({i18n:e,defaultNS:t,children:n}){let r=(0,a.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,a.createElement)(P.Provider,{value:r},n)}let M=(e,t,n={})=>{let{i18n:r}=n,{i18n:i}=(0,a.useContext)(P)||{},s=r||i||T();s.options?.isClone||(e&&!s.initializedStoreOnce&&(s.services.resourceStore.data=e,s.options.ns=Object.values(e).reduce((e,t)=>(Object.keys(t).forEach(t=>{0>e.indexOf(t)&&e.push(t)}),e),s.options.ns),s.initializedStoreOnce=!0,s.isInitialized=!0),t&&!s.initializedLanguageOnce&&(s.changeLanguage(t),s.initializedLanguageOnce=!0))},K=()=>function(e){function t({initialI18nStore:n,initialLanguage:r,...i}){return M(n,r),(0,a.createElement)(e,{...i})}return t.getInitialProps=D(e),t.displayName=`withI18nextSSR(${b(e)})`,t.WrappedComponent=e,t},q={type:"3rdParty",init(e){$(e.options.react),S(e)}},G=()=>"",X=()=>"",Y=()=>"",J=()=>"",Z=()=>"",Q=()=>""}}]);
|
package/dist/1789.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1789.js","sources":["webpack://@openmrs/esm-appointments-app/../../node_modules/void-elements/index.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/i18nInstance.js","webpack://@openmrs/esm-appointments-app/../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/utils.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/unescape.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/defaults.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/TransWithoutContext.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/context.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/Trans.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/useTranslation.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/withTranslation.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/Translation.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/I18nextProvider.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/useSSR.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/withSSR.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/initReactI18next.js","webpack://@openmrs/esm-appointments-app/../../node_modules/react-i18next/dist/es/index.js"],"names":["a","RegExp","o","Object","e","t","r","console","Date","setTimeout","n","Array","Number","i","parseInt","parseFloat","Promise"],"mappings":"wIAKA,EAAO,OAAO,CAAG,CACf,KAAQ,GACR,KAAQ,GACR,GAAM,GACN,IAAO,GACP,MAAS,GACT,GAAM,GACN,IAAO,GACP,MAAS,GACT,KAAQ,GACR,KAAQ,GACR,MAAS,GACT,OAAU,GACV,MAAS,GACT,IAAO,EACT,C,+BCpBI,E,+aCA6B,EAAE,qDAAqD,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,MAAM,KAAK,GAAG,YAAY,CAAC,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,uBAAuB,GAAG,GAAI,GAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,AAAC,IAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,EAAC,GAAK,GAAE,WAAW,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,MAAK,EAAG,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,UAAU,MAAM,CAAC,KAAK,UAAU,QAAQ,KAAK,EAAE,EAAE,KAAK,CAAC,EAAE,GAAG,E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AAmB,GAC7C,GAAK,OAAO,EAAE,UACd,GAAoB,CAAC,EAAK,oBAAoB,GAChD,EAAK,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAG,EACnC,EAAK,OAAO,CAAC,EAAE,CAAGV,OAAO,MAAM,CAAC,GAAkB,MAAM,CAAC,CAAC,EAAK,KAC7DA,OAAO,IAAI,CAAC,GAAc,OAAO,CAAC,IAC5B,AAAkB,EAAlB,EAAI,OAAO,CAAC,IAAS,EAAI,IAAI,CAAC,EACpC,GACO,GACN,EAAK,OAAO,CAAC,EAAE,EAClB,EAAK,oBAAoB,CAAG,GAC5B,EAAK,aAAa,CAAG,IAEnB,GAAmB,CAAC,EAAK,uBAAuB,GAClD,EAAK,cAAc,CAAC,GACpB,EAAK,uBAAuB,CAAG,IAEnC,ECtBa,EAAU,IAAM,SAAgB,CAAgB,EAC3D,SAAS,EAAe,CACtB,kBAAgB,CAChB,iBAAe,CACf,GAAG,EACJ,EAEC,OADA,EAAO,EAAkB,GAClB,oBAAc,EAAkB,CACrC,GAAG,CAAI,AACT,EACF,CAIA,OAHA,EAAe,eAAe,CAAG,EAAoB,GACrD,EAAe,WAAW,CAAG,CAAC,eAAe,EAAE,EAAe,GAAkB,CAAC,CAAC,CAClF,EAAe,gBAAgB,CAAG,EAC3B,CACT,ECjBa,EAAmB,CAC9B,KAAM,WACN,KAAK,CAAQ,EACX,EAAY,EAAS,OAAO,CAAC,KAAK,EAClC,EAAQ,EACV,CACF,ECIa,EAAO,IAAM,GACb,EAAO,IAAM,GACb,EAAS,IAAM,GACf,EAAS,IAAM,GACf,EAAS,IAAM,GACf,EAAgB,IAAM,E"}
|
package/dist/1869.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1869"],{9900(e){e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","addAppointments":"Add Appointments","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentCheckedInWithExistingVisit":"Appointment checked in using existing active visit","appointmentCheckInFailed":"An error occurred while checking in the appointment","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentDisplay":"<0>{{patientName}}</0> - {{serviceName}} - {{currentStatus}}","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsForDate":"Appointments for: {{date}}","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentsUpdated":"Appointments updated","appointmentsUpdatedMessage":"Appointments for selected patients have been successfully updated","appointmentsUpdateFailed":"Appointments update failed","appointmentsUpdateFailedMessage":"Appointments update failed for {{patient}}. Reason: {{reason}}","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","Cancelled":"Cancelled","changeAppointmentsStatus":"Change appointments status","changeStatus":"Change status","changeStatusForSelectedAppointments":"Change the status for the following appointments.","checkedIn":"Checked in","CheckedIn":"Checked in","checkFilters":"Check the filters above","checkIn":"Check In","checkInFailed":"Check-in failed","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Appointment time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","early":"Early","edit":"Edit","editAppointment":"Edit appointment","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","failedToEndActiveVisit":"Failed to end active visit for {{patient}}","failedToLoadMetrics":"Failed to load","failedToUpdateVisit":"Failed to update visit","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterAppointmentsByStatus":"Filter appointments by status","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidAppointmentStatusChange":"Cannot transition appointment with status {{currentStatus}} to status {{newStatus}}","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","markAppointmentAsCompletedMessage":"Marking appointment as completed will end the active visit of the patient","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","Missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","saving":"Saving","scheduled":"Scheduled","Scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectStatus":"Select status","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todaysAppointment":"Today\'s Appointments","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","visitStartTime":"Visit start time","WED":"WED","week":"Week","yes":"Yes"}')}}]);
|
package/dist/1869.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1869.js","sources":["webpack://@openmrs/esm-appointments-app/json|/home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-appointments-app/translations/tr_TR.json"],"names":["JSON"],"mappings":"qJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,y1O"}
|
package/dist/1877.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1877"],{4087(e){e.exports=JSON.parse('{"action":"A\xe7\xe3o","actions":"A\xe7\xf5es","add":"Adicionar","addAppointments":"Add Appointments","age":"Idade","allDay":"Todo o dia","appointment":"Appointment","appointmentCancelError":"Erro ao cancelar agendamento","appointmentCancelled":"Agendamento cancelada","appointmentCancelledSuccessfully":"Agendamento cancelado com sucesso","appointmentCheckedIn":"Check-in da Consulta Realizado","appointmentCheckedInWithExistingVisit":"Appointment checked in using existing active visit","appointmentCheckInFailed":"An error occurred while checking in the appointment","appointmentConflict":"Conflito de Agendamento","appointmentDate":"Appointment date","appointmentDisplay":"<0>{{patientName}}</0> - {{serviceName}} - {{currentStatus}}","appointmentEdited":"Agendamento editado","appointmentEditError":"Erro ao editar Agendamento","appointmentEnded":"Agendamento conclu\xedda","appointmentEndedAndVisitClosedSuccessfully":"Consulta conclu\xedda com sucesso e visita fechada com sucesso","appointmentEndedButVisitNotClosedError":"Consulta conclu\xedda, por\xe9m erro ao fechar visita","appointmentEndedSuccessfully":"Consulta conclu\xedda com sucesso.","appointmentEndError":"Erro ao encerrar consulta","appointmentFormError":"Erro ao marcar consulta","appointmentHistory":"Hist\xf3rico de agendamento","appointmentMarkedChecked":"Check-in da Consulta realizado","appointmentNoteLabel":"Escrever uma nota adicional","appointmentNotePlaceholder":"Escreva pontos adicionais aqui","appointmentNotes":"Notas do Agendamento","appointmentNowVisible":"Est\xe1 agora vis\xedvel na p\xe1gina de Agendamentos","appointments":"Marca\xe7\xe3o de Consultas","Appointments":"Marca\xe7\xe3o de Consultas","appointments_lower":"agendamentos","appointmentsCalendar":"Calend\xe1rio de marca\xe7\xe3o","appointmentScheduled":"Consulta agendada","appointmentsForDate":"Appointments for: {{date}}","appointmentsTable":"Tabela de Consultas","appointmentStatus":"Status do Agendamento","appointmentsUpdated":"Appointments updated","appointmentsUpdatedMessage":"Appointments for selected patients have been successfully updated","appointmentsUpdateFailed":"Appointments update failed","appointmentsUpdateFailedMessage":"Appointments update failed for {{patient}}. Reason: {{reason}}","appointmentToFulfill":"Selecione uma consulta para realizar","appointmentType":"Tipo de consulta","appointmentType_title":"Tipo de Consulta","back":"Voltar","calendar":"Calend\xe1rio","cameEarly":"Chegou Cedo","cancel":"Cancelar","cancelAppointment":"Cancelar Consulta","cancelAppointmentModalConfirmationText":"Tem certeza que deseja cancelar essa consulta?","cancelled":"Cancelado","Cancelled":"Cancelled","changeAppointmentsStatus":"Change appointments status","changeStatus":"Change status","changeStatusForSelectedAppointments":"Change the status for the following appointments.","checkedIn":"Realizado Check-In","CheckedIn":"Checked in","checkFilters":"Verifique os filtros acima","checkIn":"Check-In","checkInFailed":"Check-in failed","checkOut":"Check-Out","chooseAppointmentType":"Escolha um tipo de consulta","chooseLocation":"Escolha um lugar","chooseProvider":"Escolha um profissional","chooseService":"Selecione um servi\xe7o","completed":"Conclu\xeddo","Completed":"Completed","Contact":"Contato {{index}}","countMore_one":"{{count}} mais","countMore_other":"{{count}} mais","createNewAppointment":"Criar novo agendamento","date":"Data","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"A data da emiss\xe3o da consulta n\xe3o pode ser posterior \xe0 data da consulta","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Data de nascimento","dateRange":"Set date range","dateTime":"Appointment time","day":"Dia","daysOfWeek":"Dias da semana","discard":"Descartar","download":"Baixar","durationErrorMessage":"A dura\xe7\xe3o deve ser maior que zero","durationInMinutes":"Dura\xe7\xe3o (minutos)","early":"Early","edit":"Editar","editAppointment":"Edit appointment","endAppointmentAndVisitConfirmationMessage":"Encerrar o atendimento do paciente marcar\xe1 a consulta como conclu\xedda e encerrar\xe1 a visita ativa deste paciente.","endAppointmentConfirmation":"Tem certeza de que deseja retirar o paciente desta consulta?","endAppointmentConfirmationMessage":"A retirada do paciente marcar\xe1 a consulta como conclu\xedda.","failedToEndActiveVisit":"Failed to end active visit for {{patient}}","failedToLoadMetrics":"Failed to load","failedToUpdateVisit":"Failed to update visit","filterAppointments":"Filtrar agendamentos","filterAppointmentsByServiceType":"Filter appointments by service type","filterAppointmentsByStatus":"Filter appointments by status","filterTable":"Filtrar tabela","FRI":"FRI","gender":"Sexo","highestServiceVolume":"Servi\xe7o de maior volume: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidAppointmentStatusChange":"Cannot transition appointment with status {{currentStatus}} to status {{newStatus}}","invalidNumber":"N\xfamero n\xe3o \xe9 v\xe1lido","isRecurringAppointment":"Esta \xe9 uma consulta recorrente?","itemsPerPage":"Itens por p\xe1gina","loading":"Carregando","location":"Localiza\xe7\xe3o","markAppointmentAsCompletedMessage":"Marking appointment as completed will end the active visit of the patient","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Perdido","Missed":"Missed","MON":"MON","next":"Pr\xf3ximo","nextMonth":"Pr\xf3ximo m\xeas","nextPage":"Pr\xf3xima p\xe1gina","no":"N\xe3o","noAppointmentsToDisplay":"Nenhum agendamento para mostrar","noContent":"Sem Conte\xfado","noCurrentAppointments":"N\xe3o h\xe1 consultas marcadas para hoje para esse paciente para mostrar","noPastAppointments":"N\xe3o h\xe1 consultas anteriores por mostrar deste paciente","notArrived":"N\xe3o chegou","note":"Nota","notes":"Notas","noUpcomingAppointments":"Nenhum agendamento futuro encontrado","noUpcomingAppointmentsForPatient":"N\xe3o h\xe1 agendamento futuro deste paciente para mostrar","pageNumber":"N\xfamero da p\xe1gina","past":"Passado","patientDetails":"Detalhes do Paciente","patientDoubleBooking":"Paciente j\xe1 tem uma consulta marcada nesta hora","patientName":"Nome do Paciente","patients":"Pacientes","period":"Per\xedodo","prev":"Anterior","previousMonth":"M\xeas anterior","previousPage":"P\xe1gina anterior","provider":"Profissional","providers":"Profissionais","providersBooked":"Profissionais reservados: {{time}}","recurringAppointment":"Consulta recorrente","recurringAppointmentShouldHaveEndDate":"Uma consulta recorrente deve ter uma data de t\xe9rmino","repeatEvery":"Repetir a cada","SAT":"SAT","saveAndClose":"Salvar e fechar","saving":"Saving","scheduled":"Marcado","Scheduled":"Scheduled","scheduledAppointments":"Consultas marcadas","scheduledForToday":"Marcada para hoje","selectALocation":"Selecione um local","selectAppointmentStatus":"Selecione o status","selectAppointmentType":"Escolha um tipo de consulta","selectOption":"Selecione uma op\xe7\xe3o","selectProvider":"Selecione um profissional","selectService":"Selecione um servi\xe7o","selectStatus":"Select status","service":"Servi\xe7o","serviceName":"Nome do servi\xe7o","serviceType":"Service type","serviceUnavailable":"O hor\xe1rio da consulta est\xe1 fora do hor\xe1rio de atendimento","status":"Status","SUN":"SUN","THUR":"THUR","time":"Hora","today":"Hoje","todaysAppointment":"Today\'s Appointments","TUE":"TUE","type":"Tipo","unknownError":"An unknown error occurred","unscheduled":"N\xe3o marcada","unscheduledAppointments":"Consultas n\xe3o marcadas","unscheduledAppointments_lower":"consultas n\xe3o marcadas","upcoming":"Por vir","upcomingAppointments":"Pr\xf3ximas consultas","updateError":"Erro ao atualizar pr\xf3xima consulta agendada","visitStartTime":"Visit start time","WED":"WED","week":"Semana","yes":"Sim"}')}}]);
|
package/dist/1877.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1877.js","sources":["webpack://@openmrs/esm-appointments-app/json|/home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-appointments-app/translations/pt_BR.json"],"names":["JSON"],"mappings":"qJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,yuP"}
|
package/dist/1884.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1884"],{2567(e,t,n){n.r(t),n.d(t,{default:()=>u});var p=n(7125),a=n.n(p),s=n(5921),r=n(2228),i=n(7422);function u(){var e=(0,s.useTranslation)().t,t=(0,i.g)().appointmentForSelectedDateFilteredByServiceTypes,n=t.length,u=(0,p.useMemo)(function(){var e=t.filter(function(e){return"CheckedIn"===e.status});return{pendingAppointments:t.filter(function(e){return"Scheduled"===e.status}),arrivedAppointments:e}},[t]);return a().createElement(r.A,{count:u,headerLabel:e("scheduledAppointments","Scheduled appointments"),label:e("appointments","Appointments"),value:n})}}}]);
|
package/dist/1884.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1884.js","sources":["webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-cards/scheduled-appointments.extension.tsx"],"names":["ScheduledAppointmentsExtension","t","useTranslation","appointmentForSelectedDateFilteredByServiceTypes","useAppointmentsAppContext","totalScheduledAppointments","count","useMemo","arrivedAppointments","status","pendingAppointments","MetricsCard"],"mappings":"4OAWe,SAASA,IACtB,IAAQC,EAAMC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IAAND,CAAC,CACDE,EAAqDC,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,IAArDD,gDAAgD,CAElDE,EAA6BF,EAAiD,MAAM,CAEpFG,EAAQC,AAAAA,GAAAA,EAAAA,OAAAA,AAAAA,EAAQ,WACpB,IAAMC,EAAsBL,EAAiD,MAAM,CACjF,Y,MAAgBM,AAAW,cAAxBA,EAAAA,MAAM,A,GAMX,MAAO,CAAEC,oBAJmBP,EAAiD,MAAM,CACjF,Y,MAAgBM,AAAW,cAAxBA,EAAAA,MAAM,A,GAGmBD,oBAAAA,CAAoB,CACpD,EAAG,CAACL,EAAiD,EAErD,OACE,kBAACQ,EAAAA,CAAWA,CAAAA,CACV,MAAOL,EACP,YAAaL,EAAE,wBAAyB,0BACxC,MAAOA,EAAE,eAAgB,gBACzB,MAAOI,C,EAGb,C"}
|
package/dist/1962.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["1962"],{4567(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n}).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var u=0;u<t.length;u++){var s=[].concat(t[u]);r&&a[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),e.push(s))}},e}},1452(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}t.exports=function(t){var n=function(t){if(Array.isArray(t))return t}(t)||function(t){var e,n,r=t&&("u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var a=[],o=!0,i=!1;try{for(r=r.call(t);!(o=(e=r.next()).done)&&(a.push(e.value),4!==a.length);o=!0);}catch(t){i=!0,n=t}finally{try{o||null==r.return||r.return()}finally{if(i)throw n}}return a}}(t)||function(t){if(t){if("string"==typeof t)return e(t,4);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,4)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[1],a=n[3];if(!a)return r;if("function"==typeof btoa){var o=btoa(unescape(encodeURIComponent(JSON.stringify(a))));return[r].concat(a.sources.map(function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")})).concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o)," */")]).join("\n")}return[r].join("\n")}},5602(t){t.exports=function(t,e,n){e.prototype.isToday=function(){var t="YYYY-MM-DD",e=n();return this.format(t)===e.format(t)}}},2591(t){"use strict";var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var a={},o=[],i=0;i<t.length;i++){var u=t[i],s=r.base?u[0]+r.base:u[0],c=a[s]||0,l="".concat(s," ").concat(c);a[s]=c+1;var p=n(l),f={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==p)e[p].references++,e[p].updater(f);else{var d=function(t,e){var n=e.domAPI(e);return n.update(t),function(e){e?(e.css!==t.css||e.media!==t.media||e.sourceMap!==t.sourceMap||e.supports!==t.supports||e.layer!==t.layer)&&n.update(t=e):n.remove()}}(f,r);r.byIndex=i,e.splice(i,0,{identifier:l,updater:d,references:1})}o.push(l)}return o}t.exports=function(t,a){var o=r(t=t||[],a=a||{});return function(t){t=t||[];for(var i=0;i<o.length;i++){var u=n(o[i]);e[u].references--}for(var s=r(t,a),c=0;c<o.length;c++){var l=n(o[c]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}o=s}}},8128(t){"use strict";var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},3051(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},855(t,e,n){"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},1740(t){"use strict";t.exports=function(t){if("u"<typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){var r,a,o;r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {")),(a=void 0!==n.layer)&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}"),(o=n.sourceMap)&&"u">typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)},remove:function(){var t;null===(t=e).parentNode||t.parentNode.removeChild(t)}}}},3656(t){"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},2845(t,e,n){"use strict";n.d(e,{D:()=>p,y:()=>f});var r=n(3464),a=n.n(r),o=n(1123),i=n(2735),u=n(5602),s=n.n(u);function c(t,e,n,r,a,o,i){try{var u=t[o](i),s=u.value}catch(t){n(t);return}u.done?e(s):Promise.resolve(s).then(r,a)}a().extend(s());var l="".concat(i.restBaseUrl,"/appointments/search");function p(t,e,n){var r,u,s,c,p,f,d,m=(0,o.Ay)(l,function(){return(0,i.openmrsFetch)(l,{method:"POST",signal:n.signal,headers:{"Content-Type":"application/json"},body:{patientUuid:t,startDate:e}})}),v=m.data,h=m.error,y=m.isLoading,b=m.isValidating,g=m.mutate,T=(null==v||null==(r=v.data)?void 0:r.length)?v.data:null,S=null==T||null==(s=T.sort(function(t,e){return e.startDateTime>t.startDateTime?1:-1}))||null==(u=s.filter(function(t){return"Cancelled"!==t.status}))?void 0:u.filter(function(t){var e=t.startDateTime;return a()(new Date(e).toISOString()).isBefore(new Date().setHours(0,0,0,0))}),w=null==T||null==(p=T.sort(function(t,e){return t.startDateTime>e.startDateTime?1:-1}))||null==(c=p.filter(function(t){return"Cancelled"!==t.status}))?void 0:c.filter(function(t){var e=t.startDateTime;return a()(new Date(e).toISOString()).isAfter(new Date)}),D=null==T||null==(d=T.sort(function(t,e){return t.startDateTime>e.startDateTime?1:-1}))||null==(f=d.filter(function(t){return"Cancelled"!==t.status}))?void 0:f.filter(function(t){var e=t.startDateTime;return a()(new Date(e).toISOString()).isToday()});return{data:v?{pastAppointments:S,upcomingAppointments:w,todaysAppointments:D}:null,error:h,isLoading:y,isValidating:b,mutate:g}}var f=function(t,e){var n;return(n=function(){var n,r,o;return function(t,e){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(i,"next",{value:s(0)}),u(i,"throw",{value:s(1)}),u(i,"return",{value:s(2)}),"function"==typeof Symbol&&u(i,Symbol.iterator,{value:function(){return this}}),i;function s(u){return function(s){var c=[u,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&c[0]?r.return:c[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,c[1])).done)return a;switch(r=0,a&&(c=[2&c[0],a.value]),c[0]){case 0:case 1:a=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!a||c[1]>a[0]&&c[1]<a[3])){o.label=c[1];break}if(6===c[0]&&o.label<a[1]){o.label=a[1],a=c;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(c);break}a[2]&&o.ops.pop(),o.trys.pop();continue}c=e.call(t,o)}catch(t){c=[6,t],r=0}finally{n=a=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(u){switch(u.label){case 0:return n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=a()(new Date).format("YYYY-MM-DDTHH:mm:ss.SSSZZ"),o="".concat(i.restBaseUrl,"/appointments/").concat(e,"/status-change"),[4,(0,i.openmrsFetch)(o,{body:{toStatus:t,onDate:r,timeZone:n},method:"POST",headers:{"Content-Type":"application/json"}})];case 1:return[2,u.sent()]}})},function(){var t=this,e=arguments;return new Promise(function(r,a){var o=n.apply(t,e);function i(t){c(o,r,a,i,u,"next",t)}function u(t){c(o,r,a,i,u,"throw",t)}i(void 0)})})()}}}]);
|
package/dist/1962.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1962.js","sources":["webpack://@openmrs/esm-appointments-app/../../node_modules/@openmrs/rspack-config/node_modules/css-loader/dist/runtime/api.js","webpack://@openmrs/esm-appointments-app/../../node_modules/@openmrs/rspack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@openmrs/esm-appointments-app/../../node_modules/dayjs/plugin/isToday.js","webpack://@openmrs/esm-appointments-app/../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@openmrs/esm-appointments-app/../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@openmrs/esm-appointments-app/../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@openmrs/esm-appointments-app/../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@openmrs/esm-appointments-app/../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@openmrs/esm-appointments-app/../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@openmrs/esm-appointments-app/./src/patient-appointments/patient-appointments.resource.ts"],"names":["a","i","Array","Symbol","n","Object","TypeError","btoa","unescape","encodeURIComponent","JSON","c","t","document","window","Error","e","dayjs","isToday","appointmentsSearchUrl","restBaseUrl","usePatientAppointments","patientUuid","startDate","abortController","_data_data","_appointments_sort_filter","_appointments_sort_filter1","_appointments_sort_filter2","_useSWR","openmrsFetch","data","error","isLoading","isValidating","mutate","appointments","pastAppointments","b","status","startDateTime","Date","upcomingAppointments","todaysAppointments","changeAppointmentStatus","toStatus","appointmentUuid","timeZone","statusChangeTime","url","Intl"],"mappings":"oJAQA,GAAO,OAAO,CAAG,SAAU,CAAsB,EAC/C,IAAI,EAAO,EAAE,CAuDb,OArDA,EAAK,QAAQ,CAAG,WACd,OAAO,IAAI,CAAC,GAAG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AQ,OACR,QAAS,CAAE,eAAgB,kBAAmB,CAChD,G,QAJA,MAAO,C,EAAA,S,GAKT,E"}
|
package/dist/2317.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["2317"],{4652(e){e.exports=JSON.parse('{"action":"פעולה","actions":"פעולות","add":"הוספה","addAppointments":"Add Appointments","age":"גיל","allDay":"כל היום","appointment":"Appointment","appointmentCancelError":"שגיאה בביטול התור","appointmentCancelled":"התור בוטל","appointmentCancelledSuccessfully":"התור בוטל בהצלחה","appointmentCheckedIn":"Appointment Checked In","appointmentCheckedInWithExistingVisit":"Appointment checked in using existing active visit","appointmentCheckInFailed":"An error occurred while checking in the appointment","appointmentConflict":"סתירת תורים","appointmentDate":"Appointment date","appointmentDisplay":"<0>{{patientName}}</0> - {{serviceName}} - {{currentStatus}}","appointmentEdited":"התור נערך","appointmentEditError":"שגיאה בעריכת תור","appointmentEnded":"התור הסתיים","appointmentEndedAndVisitClosedSuccessfully":"התור הסתיים והביקור נסגר בהצלחה","appointmentEndedButVisitNotClosedError":"התור הסתיים אבל אירעה שגיאה בסגירת הביקור","appointmentEndedSuccessfully":"התור הסתיים בהצלחה.","appointmentEndError":"שגיאה בסיום תור","appointmentFormError":"שגיאה בתזמון התור","appointmentHistory":"היסטוריית התורים","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"הצגת הערה נוספ","appointmentNotePlaceholder":"כאן ניתן לכתוב נקודות נוספות","appointmentNotes":"הערות לתור","appointmentNowVisible":"התור מופיע כעת בעמוד התורים","appointments":"תורים","Appointments":"תורים","appointments_lower":"תורים","appointmentsCalendar":"לוח תורים","appointmentScheduled":"התור נקבע","appointmentsForDate":"Appointments for: {{date}}","appointmentsTable":"טבלת תורים","appointmentStatus":"מצב התור","appointmentsUpdated":"Appointments updated","appointmentsUpdatedMessage":"Appointments for selected patients have been successfully updated","appointmentsUpdateFailed":"Appointments update failed","appointmentsUpdateFailedMessage":"Appointments update failed for {{patient}}. Reason: {{reason}}","appointmentToFulfill":"נא לבחור תור למילוי","appointmentType":"סוג התור","appointmentType_title":"סוג התור","back":"חזרה","calendar":"לוח שנה","cameEarly":"הקדמה","cancel":"ביטול","cancelAppointment":"ביטול תור","cancelAppointmentModalConfirmationText":"לבטל את התור הזה?","cancelled":"בוטל","Cancelled":"Cancelled","changeAppointmentsStatus":"Change appointments status","changeStatus":"Change status","changeStatusForSelectedAppointments":"Change the status for the following appointments.","checkedIn":"נרשם","CheckedIn":"Checked in","checkFilters":"נא לסמן את המסננים לעיל","checkIn":"הרשמה","checkInFailed":"Check-in failed","checkOut":"סגירה","chooseAppointmentType":"בחירת סוג תור","chooseLocation":"נא לבחור מקום","chooseProvider":"נא לבחור ספק","chooseService":"בחירת שירות","completed":"הושלם","Completed":"Completed","Contact":"יצירת קשר עם {{index}}","countMore_one":"עוד {{count}}","countMore_other":"עוד {{count}}","createNewAppointment":"יצירת תור חדש","date":"תאריך","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"תאריך התור שהונפק לא יכול להיות אחרי תאריך התור","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"תאריך לידה","dateRange":"Set date range","dateTime":"Appointment time","day":"יום","daysOfWeek":"ימי השבוע","discard":"סגירה מבלי לשמור","download":"הורדה","durationErrorMessage":"המשך צריך להיות גדול מאפס","durationInMinutes":"משך (דקות)","early":"Early","edit":"עריכה","editAppointment":"Edit appointment","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","failedToEndActiveVisit":"Failed to end active visit for {{patient}}","failedToLoadMetrics":"Failed to load","failedToUpdateVisit":"Failed to update visit","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterAppointmentsByStatus":"Filter appointments by status","filterTable":"סינון הטבלה","FRI":"FRI","gender":"מגדר","highestServiceVolume":"השירות הכי עמוס: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidAppointmentStatusChange":"Cannot transition appointment with status {{currentStatus}} to status {{newStatus}}","invalidNumber":"המספר שגוי","isRecurringAppointment":"זה תור חוזר?","itemsPerPage":"פריטים בעמוד","loading":"בטעינה","location":"מקום","markAppointmentAsCompletedMessage":"Marking appointment as completed will end the active visit of the patient","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"הוחמץ","Missed":"Missed","MON":"MON","next":"הבא","nextMonth":"חודש הבא","nextPage":"העמוד הבא","no":"לא","noAppointmentsToDisplay":"אין תורים להצגה","noContent":"אין תוכן","noCurrentAppointments":"אין תורים מתוזמנים להצגה עבור מטופל זה ליום הזה","noPastAppointments":"אין תורי עבר להצגה עבור מטופל/ת אלה","notArrived":"לא הגיע/ה","note":"הערה","notes":"הערות","noUpcomingAppointments":"לא נמצאו תורים עתידיים","noUpcomingAppointmentsForPatient":"לא נמצאו תורים עתידיים למטפל/ת האלה","pageNumber":"מספר עמוד","past":"עבר","patientDetails":"פרטי המטופל","patientDoubleBooking":"למטופל/ת כבר הוזמן תור במועד הזה","patientName":"שם המטופל","patients":"מטופלים","period":"תקופה","prev":"הקודם","previousMonth":"החודש הקודם","previousPage":"העמוד הקודם","provider":"ספק","providers":"ספקים","providersBooked":"ספקים שהוזמנו: {{time}}","recurringAppointment":"תור חוזר","recurringAppointmentShouldHaveEndDate":"לתור חוזר צריך להיות תאריך סיום","repeatEvery":"חוזר כל","SAT":"SAT","saveAndClose":"שמירה וסגירה","saving":"Saving","scheduled":"מתוזמן","Scheduled":"Scheduled","scheduledAppointments":"תורים מתוזמנים","scheduledForToday":"מתוזמן להיום","selectALocation":"בחירת מקום","selectAppointmentStatus":"בחירת מצב","selectAppointmentType":"בחירת סוג תור","selectOption":"בחירת אפשרות","selectProvider":"בחירת ספק","selectService":"בחירת שירות","selectStatus":"Select status","service":"שירות","serviceName":"שם השירות","serviceType":"Service type","serviceUnavailable":"זמן התור הוא מחוץ לשעות השירות","status":"מצב","SUN":"SUN","THUR":"THUR","time":"זמן","today":"היום","todaysAppointment":"Today\'s Appointments","TUE":"TUE","type":"סוג","unknownError":"An unknown error occurred","unscheduled":"לא מתוזמן","unscheduledAppointments":"תורים שאינם מתוזמנים","unscheduledAppointments_lower":"תורים שאינם מתוזמנים","upcoming":"בקרוב","upcomingAppointments":"תורים עתידיים","updateError":"Error updating upcoming appointment","visitStartTime":"Visit start time","WED":"WED","week":"Week","yes":"כן"}')}}]);
|
package/dist/2317.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2317.js","sources":["webpack://@openmrs/esm-appointments-app/json|/home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-appointments-app/translations/he.json"],"names":["JSON"],"mappings":"qJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,wnN"}
|
package/dist/2416.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["2416"],{8163(e){e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","addAppointments":"Add Appointments","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentCheckedInWithExistingVisit":"Appointment checked in using existing active visit","appointmentCheckInFailed":"An error occurred while checking in the appointment","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentDisplay":"<0>{{patientName}}</0> - {{serviceName}} - {{currentStatus}}","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsForDate":"Appointments for: {{date}}","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentsUpdated":"Appointments updated","appointmentsUpdatedMessage":"Appointments for selected patients have been successfully updated","appointmentsUpdateFailed":"Appointments update failed","appointmentsUpdateFailedMessage":"Appointments update failed for {{patient}}. Reason: {{reason}}","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","Cancelled":"Cancelled","changeAppointmentsStatus":"Change appointments status","changeStatus":"Change status","changeStatusForSelectedAppointments":"Change the status for the following appointments.","checkedIn":"Checked in","CheckedIn":"Checked in","checkFilters":"Check the filters above","checkIn":"Check In","checkInFailed":"Check-in failed","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Appointment time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","early":"Early","edit":"Edit","editAppointment":"Edit appointment","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","failedToEndActiveVisit":"Failed to end active visit for {{patient}}","failedToLoadMetrics":"Failed to load","failedToUpdateVisit":"Failed to update visit","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterAppointmentsByStatus":"Filter appointments by status","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidAppointmentStatusChange":"Cannot transition appointment with status {{currentStatus}} to status {{newStatus}}","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","markAppointmentAsCompletedMessage":"Marking appointment as completed will end the active visit of the patient","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","Missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","saving":"Saving","scheduled":"Scheduled","Scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectStatus":"Select status","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todaysAppointment":"Today\'s Appointments","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","visitStartTime":"Visit start time","WED":"WED","week":"Week","yes":"Yes"}')}}]);
|
package/dist/2416.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2416.js","sources":["webpack://@openmrs/esm-appointments-app/json|/home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-appointments-app/translations/ky.json"],"names":["JSON"],"mappings":"qJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,y1O"}
|
package/dist/2495.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["2495"],{1138(e,n,t){t.d(n,{A:()=>r});var a=t(1452),i=t.n(a),o=t(4567),s=t.n(o)()(i());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__metrics-error-card__container___OzW-4{flex-grow:1}.-esm-appointments__metrics-error-card__tileContainer___NVZfm{border:1px solid #e0e0e0;height:7.875rem;padding:1rem;display:flex;justify-content:space-between;flex-direction:column}.-esm-appointments__metrics-error-card__tileHeader___sofym{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.5rem}.-esm-appointments__metrics-error-card__errorHeaderLabel___pBIbe{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:var(--omrs-color-danger)}.-esm-appointments__metrics-error-card__errorMessage___O782O{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/metrics/metrics-cards/metrics-error-card.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,0DACE,WAAA,CAGF,8DACE,wBAAA,CACA,eAAA,CACA,YCmBW,CDlBX,YAAA,CACA,6BAAA,CACA,qBAAA,CAGF,2DACE,YAAA,CACA,6BAAA,CACA,oBAAA,CACA,mBCDW,CDIb,iEEy0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFv0BF,8BAAA,CAGF,6DEo0BI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n flex-grow: 1;\n}\n\n.tileContainer {\n border: 1px solid $ui-03;\n height: 7.875rem;\n padding: layout.$spacing-05;\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n}\n\n.tileHeader {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n margin-bottom: layout.$spacing-03;\n}\n\n.errorHeaderLabel {\n @include type.type-style('heading-compact-01');\n color: var(--omrs-color-danger);\n}\n\n.errorMessage {\n @include type.type-style('body-compact-01');\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={container:"-esm-appointments__metrics-error-card__container___OzW-4",tileContainer:"-esm-appointments__metrics-error-card__tileContainer___NVZfm",tileHeader:"-esm-appointments__metrics-error-card__tileHeader___sofym",errorHeaderLabel:"-esm-appointments__metrics-error-card__errorHeaderLabel___pBIbe",errorMessage:"-esm-appointments__metrics-error-card__errorMessage___O782O"};let r=s},6482(e,n,t){t.r(n),t.d(n,{default:()=>M});var a=t(7125),i=t.n(a),o=t(5921),s=t(2735),r=t(2228),l=t(2591),p=t.n(l),c=t(1740),d=t.n(c),u=t(8128),g=t.n(u),f=t(855),h=t.n(f),y=t(3051),b=t.n(y),m=t(3656),$=t.n(m),v=t(1138),w={};w.styleTagTransform=$(),w.setAttributes=h(),w.insert=g().bind(null,"head"),w.domAPI=d(),w.insertStyleElement=b(),p()(v.A,w);let x=v.A&&v.A.locals?v.A.locals:void 0,k=function(e){var n=e.headerLabel,t=(0,o.useTranslation)().t;return i().createElement("article",{className:x.container},i().createElement("div",{className:x.tileContainer},i().createElement("div",{className:x.tileHeader},i().createElement("div",{className:x.headerLabelContainer},i().createElement("span",{className:x.errorHeaderLabel},t("failedToLoadMetrics","Failed to load")," ",n))),i().createElement("div",{className:x.errorMessage},i().createElement("p",null,t("metricLoadErrorMessage","Please contact your system administrator if the problem persists.")))))};var A=t(7422),z=t(1947);function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function M(){var e,n=(0,o.useTranslation)().t,t=(0,A.g)(),l=t.appointmentForSelectedDateFilteredByServiceTypes,p=t.error,c=(0,z.h)(),d=(0,s.formatDate)((0,s.parseDate)(c),{mode:"standard",time:!1}),u=(0,a.useMemo)(function(){var e=new Map,n=new Map,t=!0,a=!1,i=void 0;try{for(var o,s=l[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r,p,c,d=o.value,u=null==(r=d.service)?void 0:r.uuid,g=null==(p=d.service)?void 0:p.name;u&&g&&(e.set(u,(null!=(c=e.get(u))?c:0)+1),n.set(u,g))}}catch(e){a=!0,i=e}finally{try{t||null==s.return||s.return()}finally{if(a)throw i}}var f=null,h=!0,y=!1,b=void 0;try{for(var m,$=e.entries()[Symbol.iterator]();!(h=(m=$.next()).done);h=!0){var v,w,x=(v=m.value,function(e){if(Array.isArray(e))return e}(v)||function(e){var n,t,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],o=!0,s=!1;try{for(a=a.call(e);!(o=(n=a.next()).done)&&(i.push(n.value),2!==i.length);o=!0);}catch(e){s=!0,t=e}finally{try{o||null==a.return||a.return()}finally{if(s)throw t}}return i}}(v)||function(e){if(e){if("string"==typeof e)return _(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,2)}}(v)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),k=x[0],A=x[1];(!f||A>f.count)&&(f={serviceUuid:k,serviceName:null!=(w=n.get(k))?w:"",count:A})}}catch(e){y=!0,b=e}finally{try{h||null==$.return||$.return()}finally{if(y)throw b}}return f},[l]);return p?i().createElement(k,{headerLabel:n("highestServiceVolumeCardTitle","Highest volume service")}):i().createElement(r.A,{headerLabel:n("highestServiceVolume","Highest volume service: {{time}}",{time:d}),label:u?n(u.serviceName):n("serviceName","Service name"),value:null!=(e=null==u?void 0:u.count)?e:"--"})}}}]);
|
package/dist/2495.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2495.js","sources":["webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-cards/metrics-error-card.scss","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-cards/metrics-error-card.scss?a6af","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-cards/metrics-error-card.component.tsx","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-cards/highest-volume-service.extension.tsx"],"names":["d","headerLabel","t","useTranslation","styles","HighestVolumeServiceExtension","_useAppointmentsAppContext","appointmentForSelectedDateFilteredByServiceTypes","error","selectedDate","useSelectedDate","formattedStartDate","formatDate","parseDate","highestServiceLoad","useMemo","serviceVolumeMap","Map","serviceNameMap","_iteratorError","_appointment_service","_appointment_service1","_serviceVolumeMap_get","appointment","serviceUuid","serviceName","_iteratorError1","_serviceNameMap_get","serviceUuid1","count","MetricsErrorCard","MetricsCard"],"mappings":"2MAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,+1CAAg2C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,gEAAgE,6EAA6E,gEAAgE,CAAC,MAAQ,EAAE,CAAC,SAAW,mVAAmV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,G,uOAAAA,G,mLAAOE,EAAAA,CAAAA,CAAAA,EAAAA,CAAaC,EAAAA,CAAAA,CAAAA,EAAAA,CACnB,EAACf,GAAsBe,EAAQf,EAAmB,KAAK,AAAD,GACxDA,CAAAA,EAAqB,CAAEc,YAAAA,EAAa,YAAa,MAAAD,CAAAA,EAAAA,EAAe,GAAG,CAACC,EAAAA,EAAnBD,EAAmC,GAAIE,MAAAA,CAAM,EAElG,C,UAJKH,EAAAA,GAAAA,EAAAA,C,aAAAA,GAAAA,AAAAA,MAAAA,EAAAA,MAAAA,EAAAA,EAAAA,MAAAA,E,YAAAA,E,MAAAA,C,EAKL,OAAOZ,CACT,EAAG,CAACP,EAAiD,SAErD,AAAIC,EACK,kBAACsB,EAAgBA,CAAC,YAAa5B,EAAE,gCAAiC,yB,GAIzE,kBAAC6B,EAAAA,CAAWA,CAAAA,CACV,YAAa7B,EAAE,uBAAwB,mCAAoC,CAAE,KAAMS,CAAmB,GACtG,MAAOG,EAAqBZ,EAAEY,EAAmB,WAAW,EAAIZ,EAAE,cAAe,gBACjF,MAAK,SAAEY,MAAAA,EAAAA,KAAAA,EAAAA,EAAoB,KAAK,AAAD,EAAC,EAAI,I,EAG1C,C"}
|
package/dist/2539.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([["2539"],{6(r,t,e){e.d(t,{V:()=>u});var n=e(7125),o=e(2735),a=e(1123);function i(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function u(){var r=(0,a.Ay)("".concat(o.restBaseUrl,"/appointmentService/all/default"),o.openmrsFetch),t=r.data,e=r.error,u=r.isLoading;return{serviceTypes:(0,n.useMemo)(function(){var r;return(null==t?void 0:t.data)?((function(r){if(Array.isArray(r))return i(r)})(r=t.data)||function(r){if("u">typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function(r){if(r){if("string"==typeof r)return i(r,void 0);var t=Object.prototype.toString.call(r).slice(8,-1);if("Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(r,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(function(r,t){return r.name.localeCompare(t.name)}):[]},[null==t?void 0:t.data]),isLoading:u,error:e}}}}]);
|
package/dist/2539.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2539.js","sources":["webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentService.ts"],"names":["useAppointmentServices","_useSWR","restBaseUrl","openmrsFetch","data","error","isLoading","useMemo","a","b"],"mappings":"+SAKO,SAASA,IACd,IAAmCC,EAAAA,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,EAChC,GAAc,OAAZC,EAAAA,WAAWA,CAAC,mCACfC,EAAAA,YAAYA,EAFNC,EAA2BH,EAA3BG,IAAI,CAAEC,EAAqBJ,EAArBI,KAAK,CAAEC,EAAcL,EAAdK,SAAS,CAQ9B,MAAO,CAAE,aAJcC,AAAAA,GAAAA,EAAAA,OAAAA,AAAAA,EACrB,e,QAAOH,AAAAA,CAAAA,MAAAA,EAAAA,KAAAA,EAAAA,EAAM,IAAI,AAAD,EAAK,A,kDAAGA,EAAK,IAAI,G,okBAAE,IAAI,CAAC,SAACI,CAAC,CAAEC,CAAC,E,OAAKD,EAAE,IAAI,CAAC,aAAa,CAACC,EAAE,IAAI,C,GAAK,EAAE,A,EACpF,CAACL,MAAAA,EAAAA,KAAAA,EAAAA,EAAM,IAAI,CAAC,EAEyBE,UAAAA,EAAWD,MAAAA,CAAM,CAC1D,C"}
|