@openmrs/esm-active-visits-app 8.3.2-pre.5157 → 8.3.2-pre.5159

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.
@@ -17,7 +17,7 @@ runtime modules 42.4 KiB 30 modules
17
17
  built modules 7.43 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-shared) [built]
18
18
  cacheable modules 7.43 MiB
19
19
  javascript modules 7.39 MiB 70 modules
20
- modules by path ./translations/ 36.8 KiB 32 modules
20
+ modules by path ./translations/ 36.9 KiB 32 modules
21
21
  provide-module modules 294 bytes
22
22
  modules by path provide shared module (default) swr/ 84 bytes 2 modules
23
23
  + 5 modules
@@ -32,4 +32,4 @@ This can impact web performance.
32
32
  Assets:
33
33
  130.js (1.55 MiB)
34
34
 
35
- webpack 5.88.0 compiled with 1 warning in 152385 ms
35
+ webpack 5.88.0 compiled with 1 warning in 81687 ms
package/dist/3574.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_active_visits_app=globalThis.webpackChunk_openmrs_esm_active_visits_app||[]).push([[3574],{3574:i=>{i.exports=JSON.parse('{"activeVisits":"Active Visits","age":"Age","allEncounters":"All Encounters","checkFilters":"Check the filters above","diagnoses":"Diagnoses","dose":"Dose","encounterType":"Encounter Type","endDate":"End date","filterTable":"Filter table","gender":"Gender","idNumber":"ID Number","indication":"Indication","medications":"Medications","name":"Name","noActiveVisitsForLocation":"There are no active visits to display for this location.","noDiagnosesFound":"No diagnoses found","noEncountersFound":"No encounters found","noMedicationsFound":"No medications found","noNotesToShowForPatient":"There are no notes to display for this patient","noObservationsFound":"No observations found","notes":"Notes","noVisitsToDisplay":"No visits to display","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","patients":"Patients","provider":"Provider","quantity":"Quantity","refills":"Refills","tests":"Tests","thereIsNoInformationToDisplayHere":"There is no information to display here","time":"Time","totalVisits":"Total Visits Today","visitStartTime":"Visit Time","visitSummary":"Visit Summary","visitType":"Visit Type"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_active_visits_app=globalThis.webpackChunk_openmrs_esm_active_visits_app||[]).push([[3574],{3574:i=>{i.exports=JSON.parse('{"activeVisits":"Active Visits","age":"Age","allEncounters":"All Encounters","checkFilters":"Check the filters above","diagnoses":"Diagnoses","dose":"Dose","encounterType":"Encounter Type","endDate":"End date","filterActiveVisits":"Filter active visits","filterTable":"Filter table","gender":"Gender","idNumber":"ID Number","indication":"Indication","medications":"Medications","name":"Name","noActiveVisitsForLocation":"There are no active visits to display for this location.","noDiagnosesFound":"No diagnoses found","noEncountersFound":"No encounters found","noMedicationsFound":"No medications found","noNotesToShowForPatient":"There are no notes to display for this patient","noObservationsFound":"No observations found","notes":"Notes","noVisitsToDisplay":"No visits to display","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","patients":"Patients","provider":"Provider","quantity":"Quantity","refills":"Refills","tests":"Tests","thereIsNoInformationToDisplayHere":"There is no information to display here","time":"Time","totalVisits":"Total Visits Today","viewPatientChartFor":"View patient chart for {{patientName}}","visitStartTime":"Visit Time","visitSummary":"Visit Summary","visitType":"Visit Type"}')}}]);
package/dist/7401.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_active_visits_app=globalThis.webpackChunk_openmrs_esm_active_visits_app||[]).push([[7401],{4699:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});var i=t(5698),a=t.n(i),s=t(9613),o=t.n(s)()(a());o.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-active-visits__active-visits__container___XDupn{margin:0 1rem}.-esm-active-visits__active-visits__activeVisitsContainer___XAE0K{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw;padding-bottom:0}.-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-active-visits__active-visits__activeVisitsTable___ISQat{width:100%}.-esm-active-visits__active-visits__activeVisitsTable___ISQat th,.-esm-active-visits__active-visits__activeVisitsTable___ISQat td{white-space:nowrap;text-align:left}.-esm-active-visits__active-visits__activeVisitsTable___ISQat tbody tr[data-parent-row]:nth-last-of-type(2)>td{border-bottom:none}.-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc{align-items:center;display:flex;flex:1 1 0%;justify-content:center}.-esm-active-visits__active-visits__tableContainer___27wfu section{position:relative}.-esm-active-visits__active-visits__tableContainer___27wfu a{text-decoration:none}.-esm-active-visits__active-visits__pagination___h8NbE{overflow:hidden}.-esm-active-visits__active-visits__pagination___h8NbE.cds--pagination{border-top:1px solid #e0e0e0}.-esm-active-visits__active-visits__hiddenRow___nho0Q{display:none}.-esm-active-visits__active-visits__emptyRow___jKDsj{padding:0 1rem;display:flex;align-items:center}.-esm-active-visits__active-visits__visitSummaryContainer___mBkXn{width:100%;max-width:48rem;margin:1rem auto}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td{padding:0 2rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td>div{max-height:max-content !important}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO th[colspan] td[colspan]>div:first-child{padding:0 1rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO:last-of-type th[colspan]:last-child{border-bottom:none}.-esm-active-visits__active-visits__action___Kn0CE{margin-bottom:.5rem}.-esm-active-visits__active-visits__content___hF3rN{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:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__active-visits__desktopHeading___3cKg8,.-esm-active-visits__active-visits__tabletHeading___vrNoH{text-align:left;text-transform:capitalize}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4:after,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4:after{content:"";display:block;width:2rem;padding-top:3px;border-bottom:.375rem solid;border-bottom-color:#007d79;border-bottom-color:var(--brand-03)}.-esm-active-visits__active-visits__tile___OJ1Dy{text-align:center}.-esm-active-visits__active-visits__filterEmptyState___lrkdM{display:flex;justify-content:center;align-items:center;padding:1rem;margin:5rem;text-align:center}.-esm-active-visits__active-visits__filterEmptyStateTile___DzW91{margin:auto}.-esm-active-visits__active-visits__filterEmptyStateContent___Lknz\\+{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.5rem}.-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO{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);color:#525252}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{padding:.75rem 1rem .75rem 0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tabletHeading___vrNoH h4{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :first-child svg{left:unset;right:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :last-child{right:unset;left:0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu{overflow-x:auto;text-wrap:nowrap}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu th>div{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td .-esm-active-visits__active-visits__serviceColor___r2uPU{margin-right:0;margin-left:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td button{text-align:right}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/active-visits-widget/active-visits.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,CCzDF,sDACE,aAAA,CAGF,kEACE,qBDNM,CCON,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CAGF,8EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDnBM,CCsBR,8DACE,UAAA,CAEA,kIAEE,kBAAA,C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;\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/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n margin: 0 layout.$spacing-05;\n}\n\n.activeVisitsContainer {\n background-color: $ui-02;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n padding-bottom: 0;\n}\n\n.activeVisitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.activeVisitsTable {\n width: 100%;\n\n th,\n td {\n white-space: nowrap;\n text-align: left;\n }\n\n tbody tr[data-parent-row] {\n // Don't show a bottom border on the last row so we don't end up with a double border from the activeVisitContainer\n &:nth-last-of-type(2) > td {\n border-bottom: none;\n }\n }\n}\n\n.backgroundDataFetchingIndicator {\n align-items: center;\n display: flex;\n flex: 1 1 0%;\n justify-content: center;\n}\n\n.tableContainer section {\n position: relative;\n}\n\n.tableContainer a {\n text-decoration: none;\n}\n\n.pagination {\n overflow: hidden;\n\n &:global(.cds--pagination) {\n border-top: 1px solid $ui-03;\n }\n}\n\n.hiddenRow {\n display: none;\n}\n\n.emptyRow {\n padding: 0 layout.$spacing-05;\n display: flex;\n align-items: center;\n}\n\n.visitSummaryContainer {\n width: 100%;\n max-width: 48rem;\n margin: layout.$spacing-05 auto;\n}\n\n.expandedActiveVisitRow {\n td {\n padding: 0 layout.$spacing-07;\n\n > div {\n max-height: max-content !important;\n }\n }\n\n th[colspan] td[colspan] > div:first-child {\n padding: 0 layout.$spacing-05;\n }\n\n &:last-of-type th[colspan]:last-child {\n border-bottom: none;\n }\n}\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n }\n}\n\n.tile {\n text-align: center;\n}\n\n.filterEmptyState {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: layout.$spacing-05;\n margin: layout.$spacing-11;\n text-align: center;\n}\n\n.filterEmptyStateTile {\n margin: auto;\n}\n\n.filterEmptyStateContent {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-03;\n}\n\n.filterEmptyStateHelper {\n @include type.type-style('body-compact-01');\n color: $text-02;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .activeVisitsContainer {\n .activeVisitsDetailHeaderContainer {\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n }\n\n .desktopHeading,\n .tabletHeading {\n h4 {\n text-align: right;\n }\n }\n\n div[role='search'] {\n & :first-child {\n svg {\n left: unset;\n right: layout.$spacing-03;\n }\n }\n\n & :last-child {\n right: unset;\n left: 0;\n }\n }\n\n .tableContainer {\n overflow-x: auto;\n text-wrap: nowrap;\n\n th > div {\n text-align: right;\n }\n\n td {\n text-align: right;\n\n .serviceColor {\n margin-right: 0;\n margin-left: layout.$spacing-03;\n }\n\n button {\n text-align: right;\n }\n }\n }\n }\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:""}]),o.locals={container:"-esm-active-visits__active-visits__container___XDupn",activeVisitsContainer:"-esm-active-visits__active-visits__activeVisitsContainer___XAE0K",activeVisitsDetailHeaderContainer:"-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu",activeVisitsTable:"-esm-active-visits__active-visits__activeVisitsTable___ISQat",backgroundDataFetchingIndicator:"-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc",tableContainer:"-esm-active-visits__active-visits__tableContainer___27wfu",pagination:"-esm-active-visits__active-visits__pagination___h8NbE",hiddenRow:"-esm-active-visits__active-visits__hiddenRow___nho0Q",emptyRow:"-esm-active-visits__active-visits__emptyRow___jKDsj",visitSummaryContainer:"-esm-active-visits__active-visits__visitSummaryContainer___mBkXn",expandedActiveVisitRow:"-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO",action:"-esm-active-visits__active-visits__action___Kn0CE",content:"-esm-active-visits__active-visits__content___hF3rN",desktopHeading:"-esm-active-visits__active-visits__desktopHeading___3cKg8",tabletHeading:"-esm-active-visits__active-visits__tabletHeading___vrNoH",tile:"-esm-active-visits__active-visits__tile___OJ1Dy",filterEmptyState:"-esm-active-visits__active-visits__filterEmptyState___lrkdM",filterEmptyStateTile:"-esm-active-visits__active-visits__filterEmptyStateTile___DzW91",filterEmptyStateContent:"-esm-active-visits__active-visits__filterEmptyStateContent___Lknz+",filterEmptyStateHelper:"-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO",serviceColor:"-esm-active-visits__active-visits__serviceColor___r2uPU"};const r=o},6824:function(e){e.exports=function(){"use strict";return function(e,n,t){n.prototype.isToday=function(){var e="YYYY-MM-DD",n=t();return this.format(e)===n.format(e)}}}()},7401:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>R});var i=t(5206),a=t.n(i),s=t(9765),o=t(4924),r=t(7234),l=t(8286),c=t(9654),p=t.n(c),d=t(3565),u=t.n(d),g=t(6824),v=t.n(g),f=t(3649);function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function m(e,n,t,i,a,s,o){try{var r=e[s](o),l=r.value}catch(e){return void t(e)}r.done?n(l):Promise.resolve(l).then(i,a)}function y(e){return function(){var n=this,t=arguments;return new Promise((function(i,a){var s=e.apply(n,t);function o(e){m(s,i,a,o,r,"next",e)}function r(e){m(s,i,a,o,r,"throw",e)}o(void 0)}))}}function b(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,n):void 0}}function A(e,n){var t,i,a,s,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function r(s){return function(r){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,i&&(a=2&s[0]?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=n.call(e,o)}catch(e){s=[6,e],i=0}finally{t=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,r])}}}u().extend(v());var $=t(6062),C=t.n($),w=t(4036),k=t.n(w),x=t(6793),E=t.n(x),z=t(7892),D=t.n(z),S=t(1173),M=t.n(S),N=t(2464),V=t.n(N),T=t(4699),B={};B.styleTagTransform=V(),B.setAttributes=D(),B.insert=E().bind(null,"head"),B.domAPI=k(),B.insertStyleElement=M(),C()(T.Z,B);const H=T.Z&&T.Z.locals?T.Z.locals:void 0;function F(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function I(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){I(e,n,t[n])}))}return e}function j(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,s=[],o=!0,r=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(s.push(i.value),!n||s.length!==n);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==t.return||t.return()}finally{if(r)throw a}}return s}}(e,n)||function(e,n){if(e){if("string"==typeof e)return F(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?F(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const R=function(){var e,n,t,c,d,u,g,v,h,m,$=(0,o.useTranslation)().t,C=(0,r.useConfig)(),w=(0,r.useLayoutType)(),k=null!==(v=null===(n=C)||void 0===n||null===(e=n.activeVisits)||void 0===e?void 0:e.pageSizes)&&void 0!==v?v:[10,20,30,40,50],x=j((0,i.useState)(null!==(h=null===(c=C)||void 0===c||null===(t=c.activeVisits)||void 0===t?void 0:t.pageSize)&&void 0!==h?h:10),2),E=x[0],z=x[1],D=function(e){var n,t=(n=y((function(e){var n,t,i;return A(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/concept/").concat(e,"?v=custom:(uuid,display)"))];case 1:return t=a.sent(),[2,null===(n=t)||void 0===n?void 0:n.data];case 2:return i=a.sent(),console.error("Error fetching concept for UUID: ".concat(e),i),[2,null];case 3:return[2]}}))})),function(e){return n.apply(this,arguments)}),a=(0,f.ZP)(e.length>0?["obs-concepts",e]:null,y((function(){return A(this,(function(n){switch(n.label){case 0:return[4,Promise.all(e.map(t))];case 1:return[2,n.sent().filter((function(e){return null!==e}))]}}))}))),s=a.data,o=a.isLoading;return a.error,(0,i.useMemo)((function(){return{obsConcepts:null!=s?s:[],isLoadingObsConcepts:o}}),[s,o])}(C.activeVisits.obs),S=D.obsConcepts,M=D.isLoadingObsConcepts,N=function(){var e,n,t,a,s,o,l,c=(0,r.useSession)(),d=(0,r.useConfig)(),u=null===(t=c)||void 0===t||null===(n=t.sessionLocation)||void 0===n?void 0:n.uuid,g=p()(u?function(e,n){var t,i,a;if(e&&!(null===(a=n)||void 0===a||null===(i=a.data)||void 0===i||null===(t=i.links)||void 0===t?void 0:t.some((function(e){return"next"===e.rel}))))return null;var s="".concat(r.restBaseUrl,"/visit?v=").concat("custom:(uuid,patient:(uuid,identifiers:(identifier,uuid,identifierType:(name,uuid)),person:(age,display,gender,uuid,attributes:(value,attributeType:(uuid,display)))),visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,stopDatetime,encounters:(encounterDatetime,obs:(uuid,concept:(uuid,display),value)))","&"),o=new URLSearchParams;return o.append("includeParentLocations","true"),o.append("includeInactive","false"),o.append("totalCount","true"),o.append("location","".concat(u)),e&&o.append("startIndex","".concat(50*e)),s+o.toString()}:null,r.openmrsFetch),v=g.data,f=g.error,h=g.isLoading,m=g.isValidating,y=g.size,_=g.setSize;(0,i.useEffect)((function(){var e,n,t,i;v&&(null===(i=v)||void 0===i||null===(t=i[y-1])||void 0===t||null===(n=t.data)||void 0===n||null===(e=n.links)||void 0===e?void 0:e.some((function(e){return"next"===e.rel})))&&_((function(e){return e+1}))}),[v,y,_]);var A,$=function(e){var n,t,i,a,s,o,l,c,p,u,g,v,f,h,m,y,_,A,$,C,w,k,x,E,z,D,S,M,N=null===(i=e)||void 0===i||null===(t=i.patient)||void 0===t||null===(n=t.person)||void 0===n?void 0:n.age,V={age:N?String(N):null,id:e.uuid,idNumber:null,gender:null===(o=e)||void 0===o||null===(s=o.patient)||void 0===s||null===(a=s.person)||void 0===a?void 0:a.gender,location:null===(c=e)||void 0===c||null===(l=c.location)||void 0===l?void 0:l.uuid,name:null===(g=e)||void 0===g||null===(u=g.patient)||void 0===u||null===(p=u.person)||void 0===p?void 0:p.display,patientUuid:null===(f=e)||void 0===f||null===(v=f.patient)||void 0===v?void 0:v.uuid,visitStartTime:(0,r.formatDatetime)((0,r.parseDate)(null===(h=e)||void 0===h?void 0:h.startDatetime)),visitType:null===(y=e)||void 0===y||null===(m=y.visitType)||void 0===m?void 0:m.display,visitUuid:e.uuid};(null===(A=d)||void 0===A||null===(_=A.activeVisits)||void 0===_?void 0:_.identifiers)?null===(E=d)||void 0===E||null===(x=E.activeVisits)||void 0===x||null===(k=x.identifiers)||void 0===k||k.map((function(n){var t,i,a,s,o,r=null===(i=e)||void 0===i||null===(t=i.patient)||void 0===t?void 0:t.identifiers.find((function(e){var t,i,a;return(null===(i=e)||void 0===i||null===(t=i.identifierType)||void 0===t?void 0:t.name)===(null===(a=n)||void 0===a?void 0:a.identifierName)}));V[null===(a=n.header)||void 0===a?void 0:a.key]=null!==(o=null===(s=r)||void 0===s?void 0:s.identifier)&&void 0!==o?o:"--"})):V.idNumber=null!==(M=null===(S=e)||void 0===S||null===(D=S.patient)||void 0===D||null===(z=D.identifiers[0])||void 0===z?void 0:z.identifier)&&void 0!==M?M:"--",null===(w=d)||void 0===w||null===(C=w.activeVisits)||void 0===C||null===($=C.attributes)||void 0===$||$.map((function(n){var t,i,a,s,o,r,l=n.display,c=n.header,p=null===(a=e)||void 0===a||null===(i=a.patient)||void 0===i||null===(t=i.person)||void 0===t?void 0:t.attributes.find((function(e){var n,t;return(null===(t=e)||void 0===t||null===(n=t.attributeType)||void 0===n?void 0:n.display)===l}));V[null===(s=c)||void 0===s?void 0:s.key]=null!==(r=null===(o=p)||void 0===o?void 0:o.value)&&void 0!==r?r:"--"}));var T=e.encounters.reduce((function(e,n){return b(e).concat(b(n.obs||[]))}),[]);return V.observations=T.reduce((function(e,n){var t=n.concept.uuid;return e[t]||(e[t]=[]),e[t].push({value:n.value,uuid:n.uuid}),e}),{}),V};return{activeVisits:v?(e=[]).concat.apply(e,b(null===(a=v)||void 0===a?void 0:a.map((function(e){var n,t,i;return null===(i=e)||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.results)||void 0===n?void 0:n.map($)})))):[],error:f,isLoading:h,isValidating:m,totalResults:null!==(A=null===(l=v)||void 0===l||null===(o=l[0])||void 0===o||null===(s=o.data)||void 0===s?void 0:s.totalCount)&&void 0!==A?A:0}}(),V=N.activeVisits,T=N.isLoading,B=N.isValidating,F=N.error,I=j((0,i.useState)(""),2),R=I[0],L=I[1],P=function(e){var n=(0,o.useTranslation)().t,t=(0,r.useConfig)();return(0,i.useMemo)((function(){var i,a,s,o,r,l,c,p,d,u=0,g=[{id:u++,header:n("visitStartTime","Visit Time"),key:"visitStartTime"}];return null===(s=t)||void 0===s||null===(a=s.activeVisits)||void 0===a||null===(i=a.identifiers)||void 0===i||i.forEach((function(e){var t,i,a,s,o,r;g.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(s=e)||void 0===s||null===(a=s.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(o=r.header)||void 0===o?void 0:o.key})})),(null===(r=t)||void 0===r||null===(o=r.activeVisits)||void 0===o?void 0:o.identifiers)||g.push({id:u++,header:n("idNumber","ID Number"),key:"idNumber"}),null===(p=t)||void 0===p||null===(c=p.activeVisits)||void 0===c||null===(l=c.attributes)||void 0===l||l.forEach((function(e){var t,i,a,s,o,r;g.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(s=e)||void 0===s||null===(a=s.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(o=r.header)||void 0===o?void 0:o.key})})),null===(d=e)||void 0===d||d.forEach((function(e){g.push({id:u++,header:e.display,key:"obs-".concat(e.uuid)})})),g.push({id:u++,header:n("name","Name"),key:"name"},{id:u++,header:n("gender","Gender"),key:"gender"},{id:u++,header:n("age","Age"),key:"age"},{id:u++,header:n("visitType","Visit Type"),key:"visitType"}),g}),[n,t,e])}(S),U=(0,i.useCallback)((function(e){var n,t=O({},e);return null===(n=S)||void 0===n||n.forEach((function(n){var i,a,s,o=(null!==(s=null===(a=e)||void 0===a||null===(i=a.observations)||void 0===i?void 0:i[n.uuid])&&void 0!==s?s:[])[0];t["obs-".concat(n.uuid)]=o?"object"==typeof o.value?o.value.display:o.value:"--"})),t}),[S]),G=(0,i.useMemo)((function(){if(void 0!==V&&V.length>0&&R&&""!==R.trim()){var e,n=R.toLowerCase();return null===(e=V)||void 0===e?void 0:e.filter((function(e){return Object.entries(e).some((function(e){var t=j(e,2),i=t[0],a=t[1];return"patientUuid"!==i&&"".concat(a).toLowerCase().includes(n)}))}))}return V.map(U)}),[R,V,U]),K=function(e){var n,t,a=(n=(0,i.useState)({key:"visitStartTime",sortDirection:"DESC"}),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,s=[],o=!0,r=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(s.push(i.value),!n||s.length!==n);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==t.return||t.return()}finally{if(r)throw a}}return s}}(n,t)||_(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],o=a[1],r=function(e,n){if(n.startsWith("obs-")){var t,i,a,s,o=n.replace("obs-",""),r=null===(s=e)||void 0===s||null===(a=s.observations)||void 0===a||null===(i=a[o])||void 0===i||null===(t=i[0])||void 0===t?void 0:t.value;return r?"object"==typeof r&&r.display?r.display.toLowerCase():r:null}var l=e[n];return null==l?null:"visitStartTime"===n?new Date(l).getTime():"age"!==n||isNaN(l)?String(l).toLowerCase():Number(l)};return{sortedRows:(0,i.useMemo)((function(){return"NONE"===s.sortDirection?e:b(e).sort((function(e,n){var t=r(e,s.key),i=r(n,s.key);if(null===t&&null===i)return 0;if(null===t)return 1;if(null===i)return-1;if("number"==typeof t&&"number"==typeof i)return"DESC"===s.sortDirection?i-t:t-i;var a=String(t).localeCompare(String(i),void 0,{numeric:!0});return"DESC"===s.sortDirection?-a:a}))}),[s,e]),sortRow:function(e,n,t){var i=t.key,a=t.sortDirection;o({key:i,sortDirection:a})}}}(G),q=K.sortedRows,W=K.sortRow,X=(0,r.usePagination)(q,E),J=X.paginated,Y=X.goTo,Q=X.results,Z=X.currentPage,ee=(0,i.useCallback)((function(e){Y(1),L(e.target.value)}),[Y,L]);return T||M?a().createElement("div",{className:H.activeVisitsContainer},a().createElement("div",{className:H.activeVisitsDetailHeaderContainer},a().createElement("div",{className:(0,r.isDesktop)(w)?H.desktopHeading:H.tabletHeading},a().createElement("h4",null,$("activeVisits","Active Visits"))),a().createElement("div",{className:H.backgroundDataFetchingIndicator},a().createElement("span",null,B?a().createElement(s.lSo,null):null))),a().createElement(s.olm,{labelText:"",placeholder:$("filterTable","Filter table"),onChange:ee,size:(0,r.isDesktop)(w)?"sm":"lg",disabled:!0}),a().createElement(s.gqd,{rowCount:E,showHeader:!1,showToolbar:!1,zebra:!0,columnCount:null===(m=P)||void 0===m?void 0:m.length,size:(0,r.isDesktop)(w)?"sm":"lg"})):F?a().createElement("div",{className:H.activeVisitsContainer},a().createElement(s.mh4,null,a().createElement(r.ErrorState,{error:F,headerTitle:$("activeVisits","Active Visits")}))):V.length?a().createElement("div",{className:H.activeVisitsContainer},a().createElement("div",{className:H.activeVisitsDetailHeaderContainer},a().createElement("div",{className:(0,r.isDesktop)(w)?H.desktopHeading:H.tabletHeading},a().createElement("h4",null,$("activeVisits","Active Visits"))),a().createElement("div",{className:H.backgroundDataFetchingIndicator},a().createElement("span",null,B?a().createElement(s.lSo,null):null))),a().createElement(s.olm,{labelText:"",placeholder:$("filterTable","Filter table"),onChange:ee,size:(0,r.isDesktop)(w)?"sm":"lg"}),a().createElement(s.wQF,{isSortable:!0,useStaticWidth:!0,rows:Q,headers:P,sortRow:W,size:(0,r.isDesktop)(w)?"sm":"lg",useZebraStyles:(null===(d=V)||void 0===d?void 0:d.length)>1},(function(e){var n=e.rows,t=e.headers,i=e.getHeaderProps,o=e.getTableProps,l=e.getRowProps,c=e.getExpandHeaderProps;return a().createElement(s.xJi,{className:H.tableContainer},a().createElement(s.iA_,O({className:H.activeVisitsTable},o()),a().createElement(s.ssF,null,a().createElement(s.SCH,null,a().createElement(s.MOD,O({enableToggle:!0},c())),t.map((function(e){return a().createElement(s.xDH,i({header:e}),e.header)})))),a().createElement(s.RMI,null,n.map((function(e,n){var i,o,c=V.find((function(n){return n.id===e.id}));return c?a().createElement(a().Fragment,{key:"active-visit-row-".concat(n)},a().createElement(s.RcE,(i=O({},l({row:e})),o=null!=(o={"data-testid":"activeVisitRow".concat(c.patientUuid||"unknown")})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t}(Object(o)).forEach((function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})),i),e.cells.map((function(e){return a().createElement(s.pj1,{key:"active-visit-row-".concat(n,"-cell-").concat(e.id),"data-testid":e.id},"name"===e.info.header&&c.patientUuid?a().createElement(r.ConfigurableLink,{to:"${openmrsSpaBase}/patient/${patientUuid}/chart",templateParams:{patientUuid:c.patientUuid}},e.value):e.value)}))),e.isExpanded?a().createElement(s.SCH,{className:H.expandedActiveVisitRow},a().createElement("th",{colSpan:t.length+2},a().createElement(r.ExtensionSlot,{className:H.visitSummaryContainer,name:"visit-summary-slot",state:{patientUuid:c.patientUuid,visitUuid:c.visitUuid}}))):a().createElement(s.WdL,{className:H.hiddenRow,colSpan:t.length+2})):null})))))})),0===(null===(u=G)||void 0===u?void 0:u.length)&&a().createElement("div",{className:H.filterEmptyState},a().createElement(s.mh4,{level:0},a().createElement(s.n9L,{className:H.filterEmptyStateTile},a().createElement("p",{className:H.filterEmptyStateContent},$("noVisitsToDisplay","No visits to display")),a().createElement("p",{className:H.filterEmptyStateHelper},$("checkFilters","Check the filters above"))))),J&&a().createElement(s.tlE,{forwardText:"Next page",backwardText:"Previous page",page:Z,pageSize:E,pageSizes:k,totalItems:null===(g=G)||void 0===g?void 0:g.length,className:H.pagination,size:(0,r.isDesktop)(w)?"sm":"lg",onChange:function(e){var n=e.pageSize,t=e.page;n!==E&&z(n),t!==Z&&Y(t)}})):a().createElement("div",{className:H.activeVisitsContainer},a().createElement(s.mh4,null,a().createElement(s.n9L,{className:H.tile},a().createElement("div",{className:(0,r.isDesktop)(w)?H.desktopHeading:H.tabletHeading},a().createElement("h4",null,$("activeVisits","Active Visits"))),a().createElement(l.N,null),a().createElement("p",{className:H.content},$("noActiveVisitsForLocation","There are no active visits to display for this location.")))))}},8286:(e,n,t)=>{"use strict";t.d(n,{N:()=>s});var i=t(5206),a=t.n(i),s=function(e){var n=e.width,t=void 0===n?"64":n,i=e.height,s=void 0===i?"64":i;return a().createElement("svg",{width:t,height:s,viewBox:"0 0 64 64"},a().createElement("title",null,"Empty data illustration"),a().createElement("g",{fill:"none",fillRule:"evenodd"},a().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),a().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),a().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),a().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),a().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),a().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),a().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),a().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))}}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_active_visits_app=globalThis.webpackChunk_openmrs_esm_active_visits_app||[]).push([[7401],{4699:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});var i=t(5698),a=t.n(i),s=t(9613),o=t.n(s)()(a());o.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-active-visits__active-visits__container___XDupn{margin:0 1rem}.-esm-active-visits__active-visits__activeVisitsContainer___XAE0K{background-color:#fff;border:1px solid #e0e0e0;width:100%;margin:0 auto;max-width:95vw;padding-bottom:0}.-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0 .75rem 1rem;background-color:#fff}.-esm-active-visits__active-visits__activeVisitsTable___ISQat{width:100%}.-esm-active-visits__active-visits__activeVisitsTable___ISQat th,.-esm-active-visits__active-visits__activeVisitsTable___ISQat td{white-space:nowrap;text-align:left}.-esm-active-visits__active-visits__activeVisitsTable___ISQat tbody tr[data-parent-row]:nth-last-of-type(2)>td{border-bottom:none}.-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc{align-items:center;display:flex;flex:1 1 0%;justify-content:center}.-esm-active-visits__active-visits__tableContainer___27wfu section{position:relative}.-esm-active-visits__active-visits__tableContainer___27wfu a{text-decoration:none}.-esm-active-visits__active-visits__pagination___h8NbE{overflow:hidden}.-esm-active-visits__active-visits__pagination___h8NbE.cds--pagination{border-top:1px solid #e0e0e0}.-esm-active-visits__active-visits__hiddenRow___nho0Q{display:none}.-esm-active-visits__active-visits__emptyRow___jKDsj{padding:0 1rem;display:flex;align-items:center}.-esm-active-visits__active-visits__visitSummaryContainer___mBkXn{width:100%;max-width:48rem;margin:1rem auto}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td{padding:0 2rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO td>div{max-height:max-content !important}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO th[colspan] td[colspan]>div:first-child{padding:0 1rem}.-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO:last-of-type th[colspan]:last-child{border-bottom:none}.-esm-active-visits__active-visits__action___Kn0CE{margin-bottom:.5rem}.-esm-active-visits__active-visits__content___hF3rN{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:#525252;margin-top:1rem;margin-bottom:.5rem}.-esm-active-visits__active-visits__desktopHeading___3cKg8,.-esm-active-visits__active-visits__tabletHeading___vrNoH{text-align:left;text-transform:capitalize}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252}.-esm-active-visits__active-visits__desktopHeading___3cKg8 h4:after,.-esm-active-visits__active-visits__tabletHeading___vrNoH h4:after{content:"";display:block;width:2rem;padding-top:3px;border-bottom:.375rem solid;border-bottom-color:#007d79;border-bottom-color:var(--brand-03)}.-esm-active-visits__active-visits__tile___OJ1Dy{text-align:center}.-esm-active-visits__active-visits__filterEmptyState___lrkdM{display:flex;justify-content:center;align-items:center;padding:1rem;margin:5rem;text-align:center}.-esm-active-visits__active-visits__filterEmptyStateTile___DzW91{margin:auto}.-esm-active-visits__active-visits__filterEmptyStateContent___Lknz\\+{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.5rem}.-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO{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);color:#525252}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu{padding:.75rem 1rem .75rem 0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__desktopHeading___3cKg8 h4,html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tabletHeading___vrNoH h4{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :first-child svg{left:unset;right:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K div[role=search] :last-child{right:unset;left:0}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu{overflow-x:auto;text-wrap:nowrap}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu th>div{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td{text-align:right}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td .-esm-active-visits__active-visits__serviceColor___r2uPU{margin-right:0;margin-left:.5rem}html[dir=rtl] .-esm-active-visits__active-visits__activeVisitsContainer___XAE0K .-esm-active-visits__active-visits__tableContainer___27wfu td button{text-align:right}',"",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/active-visits-widget/active-visits.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,CCzDF,sDACE,aAAA,CAGF,kEACE,qBDNM,CCON,wBAAA,CACA,UAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CAGF,8EACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,4BAAA,CACA,qBDnBM,CCsBR,8DACE,UAAA,CAEA,kIAEE,kBAAA,CACA,eAAA,CAKA,+GACE,kBAAA,CAKN,4EACE,kBAAA,CACA,YAAA,CACA,WAAA,CACA,sBAAA,CAGF,mEACE,iBAAA,CAGF,6DACE,oBAAA,CAGF,uDACE,eAAA,CAEA,uEACE,4BAAA,CAIJ,sDACE,YAAA,CAGF,qDACE,cAAA,CACA,YAAA,CACA,kBAAA,CAGF,kEACE,UAAA,CACA,eAAA,CACA,gBAAA,CAIA,sEACE,cAAA,CAEA,0EACE,iCAAA,CAIJ,2GACE,cAAA,CAGF,uGACE,kBAAA,CAIJ,mDACE,mBC/EW,CDkFb,oDE2vBI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CFzvBF,aDlGQ,CCmGR,eC3EW,CD4EX,mBCtFW,CDyFb,qHAEE,eAAA,CACA,yBAAA,CAEA,2HE+uBE,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF7uBA,aD9GM,CCgHN,uIACE,UAAA,CACA,aAAA,CACA,UCjFO,CDkFP,eAAA,CACA,2BAAA,CD1EJ,2BAAA,CACA,mCAAA,CC+EF,iDACE,iBAAA,CAGF,6DACE,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,YC3GW,CD4GX,WC9EW,CD+EX,iBAAA,CAGF,iEACE,WAAA,CAGF,qEE+sBI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CF7sBF,aD9IQ,CC+IR,mBCjIW,CDoIb,mEEysBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFvsBF,aDpJQ,CC0JN,8JACE,4BAAA,CAKA,2RACE,gBAAA,CAMA,kHACE,UAAA,CACA,WC3JG,CD+JP,6GACE,WAAA,CACA,MAAA,CAIJ,2IACE,eAAA,CACA,gBAAA,CAEA,kJACE,gBAAA,CAGF,8IACE,gBAAA,CAEA,uMACE,cAAA,CACA,iBClLG,CDqLL,qJACE,gBAAA",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/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n margin: 0 layout.$spacing-05;\n}\n\n.activeVisitsContainer {\n background-color: $ui-02;\n border: 1px solid $ui-03;\n width: 100%;\n margin: 0 auto;\n max-width: 95vw;\n padding-bottom: 0;\n}\n\n.activeVisitsDetailHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: layout.$spacing-04 0 layout.$spacing-04 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.activeVisitsTable {\n width: 100%;\n\n th,\n td {\n white-space: nowrap;\n text-align: left;\n }\n\n tbody tr[data-parent-row] {\n // Don't show a bottom border on the last row so we don't end up with a double border from the activeVisitContainer\n &:nth-last-of-type(2) > td {\n border-bottom: none;\n }\n }\n}\n\n.backgroundDataFetchingIndicator {\n align-items: center;\n display: flex;\n flex: 1 1 0%;\n justify-content: center;\n}\n\n.tableContainer section {\n position: relative;\n}\n\n.tableContainer a {\n text-decoration: none;\n}\n\n.pagination {\n overflow: hidden;\n\n &:global(.cds--pagination) {\n border-top: 1px solid $ui-03;\n }\n}\n\n.hiddenRow {\n display: none;\n}\n\n.emptyRow {\n padding: 0 layout.$spacing-05;\n display: flex;\n align-items: center;\n}\n\n.visitSummaryContainer {\n width: 100%;\n max-width: 48rem;\n margin: layout.$spacing-05 auto;\n}\n\n.expandedActiveVisitRow {\n td {\n padding: 0 layout.$spacing-07;\n\n > div {\n max-height: max-content !important;\n }\n }\n\n th[colspan] td[colspan] > div:first-child {\n padding: 0 layout.$spacing-05;\n }\n\n &:last-of-type th[colspan]:last-child {\n border-bottom: none;\n }\n}\n\n.action {\n margin-bottom: layout.$spacing-03;\n}\n\n.content {\n @include type.type-style('heading-compact-01');\n color: $text-02;\n margin-top: layout.$spacing-05;\n margin-bottom: layout.$spacing-03;\n}\n\n.desktopHeading,\n.tabletHeading {\n text-align: left;\n text-transform: capitalize;\n\n h4 {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n\n &:after {\n content: '';\n display: block;\n width: layout.$spacing-07;\n padding-top: 3px;\n border-bottom: 0.375rem solid;\n @include brand-03(border-bottom-color);\n }\n }\n}\n\n.tile {\n text-align: center;\n}\n\n.filterEmptyState {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: layout.$spacing-05;\n margin: layout.$spacing-11;\n text-align: center;\n}\n\n.filterEmptyStateTile {\n margin: auto;\n}\n\n.filterEmptyStateContent {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-03;\n}\n\n.filterEmptyStateHelper {\n @include type.type-style('body-compact-01');\n color: $text-02;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .activeVisitsContainer {\n .activeVisitsDetailHeaderContainer {\n padding: layout.$spacing-04 layout.$spacing-05 layout.$spacing-04 0;\n }\n\n .desktopHeading,\n .tabletHeading {\n h4 {\n text-align: right;\n }\n }\n\n div[role='search'] {\n & :first-child {\n svg {\n left: unset;\n right: layout.$spacing-03;\n }\n }\n\n & :last-child {\n right: unset;\n left: 0;\n }\n }\n\n .tableContainer {\n overflow-x: auto;\n text-wrap: nowrap;\n\n th > div {\n text-align: right;\n }\n\n td {\n text-align: right;\n\n .serviceColor {\n margin-right: 0;\n margin-left: layout.$spacing-03;\n }\n\n button {\n text-align: right;\n }\n }\n }\n }\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:""}]),o.locals={container:"-esm-active-visits__active-visits__container___XDupn",activeVisitsContainer:"-esm-active-visits__active-visits__activeVisitsContainer___XAE0K",activeVisitsDetailHeaderContainer:"-esm-active-visits__active-visits__activeVisitsDetailHeaderContainer___pjwhu",activeVisitsTable:"-esm-active-visits__active-visits__activeVisitsTable___ISQat",backgroundDataFetchingIndicator:"-esm-active-visits__active-visits__backgroundDataFetchingIndicator___YszBc",tableContainer:"-esm-active-visits__active-visits__tableContainer___27wfu",pagination:"-esm-active-visits__active-visits__pagination___h8NbE",hiddenRow:"-esm-active-visits__active-visits__hiddenRow___nho0Q",emptyRow:"-esm-active-visits__active-visits__emptyRow___jKDsj",visitSummaryContainer:"-esm-active-visits__active-visits__visitSummaryContainer___mBkXn",expandedActiveVisitRow:"-esm-active-visits__active-visits__expandedActiveVisitRow___ONSwO",action:"-esm-active-visits__active-visits__action___Kn0CE",content:"-esm-active-visits__active-visits__content___hF3rN",desktopHeading:"-esm-active-visits__active-visits__desktopHeading___3cKg8",tabletHeading:"-esm-active-visits__active-visits__tabletHeading___vrNoH",tile:"-esm-active-visits__active-visits__tile___OJ1Dy",filterEmptyState:"-esm-active-visits__active-visits__filterEmptyState___lrkdM",filterEmptyStateTile:"-esm-active-visits__active-visits__filterEmptyStateTile___DzW91",filterEmptyStateContent:"-esm-active-visits__active-visits__filterEmptyStateContent___Lknz+",filterEmptyStateHelper:"-esm-active-visits__active-visits__filterEmptyStateHelper___z6MPO",serviceColor:"-esm-active-visits__active-visits__serviceColor___r2uPU"};const r=o},6824:function(e){e.exports=function(){"use strict";return function(e,n,t){n.prototype.isToday=function(){var e="YYYY-MM-DD",n=t();return this.format(e)===n.format(e)}}}()},7401:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>R});var i=t(5206),a=t.n(i),s=t(9765),o=t(4924),r=t(7234),l=t(8286),c=t(9654),p=t.n(c),d=t(3565),u=t.n(d),g=t(6824),v=t.n(g),f=t(3649);function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function m(e,n,t,i,a,s,o){try{var r=e[s](o),l=r.value}catch(e){return void t(e)}r.done?n(l):Promise.resolve(l).then(i,a)}function y(e){return function(){var n=this,t=arguments;return new Promise((function(i,a){var s=e.apply(n,t);function o(e){m(s,i,a,o,r,"next",e)}function r(e){m(s,i,a,o,r,"throw",e)}o(void 0)}))}}function b(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,n):void 0}}function A(e,n){var t,i,a,s,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function r(s){return function(r){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,i&&(a=2&s[0]?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=n.call(e,o)}catch(e){s=[6,e],i=0}finally{t=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,r])}}}u().extend(v());var $=t(6062),C=t.n($),w=t(4036),k=t.n(w),x=t(6793),E=t.n(x),z=t(7892),D=t.n(z),S=t(1173),M=t.n(S),V=t(2464),N=t.n(V),T=t(4699),F={};F.styleTagTransform=N(),F.setAttributes=D(),F.insert=E().bind(null,"head"),F.domAPI=k(),F.insertStyleElement=M(),C()(T.Z,F);const B=T.Z&&T.Z.locals?T.Z.locals:void 0;function H(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function I(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){I(e,n,t[n])}))}return e}function j(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,s=[],o=!0,r=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(s.push(i.value),!n||s.length!==n);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==t.return||t.return()}finally{if(r)throw a}}return s}}(e,n)||function(e,n){if(e){if("string"==typeof e)return H(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?H(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const R=function(){var e,n,t,c,d,u,g,v,h,m,$=(0,o.useTranslation)().t,C=(0,r.useConfig)(),w=(0,r.useLayoutType)(),k=null!==(v=null===(n=C)||void 0===n||null===(e=n.activeVisits)||void 0===e?void 0:e.pageSizes)&&void 0!==v?v:[10,20,30,40,50],x=j((0,i.useState)(null!==(h=null===(c=C)||void 0===c||null===(t=c.activeVisits)||void 0===t?void 0:t.pageSize)&&void 0!==h?h:10),2),E=x[0],z=x[1],D=function(e){var n,t=(n=y((function(e){var n,t,i;return A(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/concept/").concat(e,"?v=custom:(uuid,display)"))];case 1:return t=a.sent(),[2,null===(n=t)||void 0===n?void 0:n.data];case 2:return i=a.sent(),console.error("Error fetching concept for UUID: ".concat(e),i),[2,null];case 3:return[2]}}))})),function(e){return n.apply(this,arguments)}),a=(0,f.ZP)(e.length>0?["obs-concepts",e]:null,y((function(){return A(this,(function(n){switch(n.label){case 0:return[4,Promise.all(e.map(t))];case 1:return[2,n.sent().filter((function(e){return null!==e}))]}}))}))),s=a.data,o=a.isLoading;return a.error,(0,i.useMemo)((function(){return{obsConcepts:null!=s?s:[],isLoadingObsConcepts:o}}),[s,o])}(C.activeVisits.obs),S=D.obsConcepts,M=D.isLoadingObsConcepts,V=function(){var e,n,t,a,s,o,l,c=(0,r.useSession)(),d=(0,r.useConfig)(),u=null===(t=c)||void 0===t||null===(n=t.sessionLocation)||void 0===n?void 0:n.uuid,g=p()(u?function(e,n){var t,i,a;if(e&&!(null===(a=n)||void 0===a||null===(i=a.data)||void 0===i||null===(t=i.links)||void 0===t?void 0:t.some((function(e){return"next"===e.rel}))))return null;var s="".concat(r.restBaseUrl,"/visit?v=").concat("custom:(uuid,patient:(uuid,identifiers:(identifier,uuid,identifierType:(name,uuid)),person:(age,display,gender,uuid,attributes:(value,attributeType:(uuid,display)))),visitType:(uuid,name,display),location:(uuid,name,display),startDatetime,stopDatetime,encounters:(encounterDatetime,obs:(uuid,concept:(uuid,display),value)))","&"),o=new URLSearchParams;return o.append("includeParentLocations","true"),o.append("includeInactive","false"),o.append("totalCount","true"),o.append("location","".concat(u)),e&&o.append("startIndex","".concat(50*e)),s+o.toString()}:null,r.openmrsFetch),v=g.data,f=g.error,h=g.isLoading,m=g.isValidating,y=g.size,_=g.setSize;(0,i.useEffect)((function(){var e,n,t,i;v&&(null===(i=v)||void 0===i||null===(t=i[y-1])||void 0===t||null===(n=t.data)||void 0===n||null===(e=n.links)||void 0===e?void 0:e.some((function(e){return"next"===e.rel})))&&_((function(e){return e+1}))}),[v,y,_]);var A,$=function(e){var n,t,i,a,s,o,l,c,p,u,g,v,f,h,m,y,_,A,$,C,w,k,x,E,z,D,S,M,V=null===(i=e)||void 0===i||null===(t=i.patient)||void 0===t||null===(n=t.person)||void 0===n?void 0:n.age,N={age:V?String(V):null,id:e.uuid,idNumber:null,gender:null===(o=e)||void 0===o||null===(s=o.patient)||void 0===s||null===(a=s.person)||void 0===a?void 0:a.gender,location:null===(c=e)||void 0===c||null===(l=c.location)||void 0===l?void 0:l.uuid,name:null===(g=e)||void 0===g||null===(u=g.patient)||void 0===u||null===(p=u.person)||void 0===p?void 0:p.display,patientUuid:null===(f=e)||void 0===f||null===(v=f.patient)||void 0===v?void 0:v.uuid,visitStartTime:(0,r.formatDatetime)((0,r.parseDate)(null===(h=e)||void 0===h?void 0:h.startDatetime)),visitType:null===(y=e)||void 0===y||null===(m=y.visitType)||void 0===m?void 0:m.display,visitUuid:e.uuid};(null===(A=d)||void 0===A||null===(_=A.activeVisits)||void 0===_?void 0:_.identifiers)?null===(E=d)||void 0===E||null===(x=E.activeVisits)||void 0===x||null===(k=x.identifiers)||void 0===k||k.map((function(n){var t,i,a,s,o,r=null===(i=e)||void 0===i||null===(t=i.patient)||void 0===t?void 0:t.identifiers.find((function(e){var t,i,a;return(null===(i=e)||void 0===i||null===(t=i.identifierType)||void 0===t?void 0:t.name)===(null===(a=n)||void 0===a?void 0:a.identifierName)}));N[null===(a=n.header)||void 0===a?void 0:a.key]=null!==(o=null===(s=r)||void 0===s?void 0:s.identifier)&&void 0!==o?o:"--"})):N.idNumber=null!==(M=null===(S=e)||void 0===S||null===(D=S.patient)||void 0===D||null===(z=D.identifiers[0])||void 0===z?void 0:z.identifier)&&void 0!==M?M:"--",null===(w=d)||void 0===w||null===(C=w.activeVisits)||void 0===C||null===($=C.attributes)||void 0===$||$.map((function(n){var t,i,a,s,o,r,l=n.display,c=n.header,p=null===(a=e)||void 0===a||null===(i=a.patient)||void 0===i||null===(t=i.person)||void 0===t?void 0:t.attributes.find((function(e){var n,t;return(null===(t=e)||void 0===t||null===(n=t.attributeType)||void 0===n?void 0:n.display)===l}));N[null===(s=c)||void 0===s?void 0:s.key]=null!==(r=null===(o=p)||void 0===o?void 0:o.value)&&void 0!==r?r:"--"}));var T=e.encounters.reduce((function(e,n){return b(e).concat(b(n.obs||[]))}),[]);return N.observations=T.reduce((function(e,n){var t=n.concept.uuid;return e[t]||(e[t]=[]),e[t].push({value:n.value,uuid:n.uuid}),e}),{}),N};return{activeVisits:v?(e=[]).concat.apply(e,b(null===(a=v)||void 0===a?void 0:a.map((function(e){var n,t,i;return null===(i=e)||void 0===i||null===(t=i.data)||void 0===t||null===(n=t.results)||void 0===n?void 0:n.map($)})))):[],error:f,isLoading:h,isValidating:m,totalResults:null!==(A=null===(l=v)||void 0===l||null===(o=l[0])||void 0===o||null===(s=o.data)||void 0===s?void 0:s.totalCount)&&void 0!==A?A:0}}(),N=V.activeVisits,T=V.isLoading,F=V.isValidating,H=V.error,I=j((0,i.useState)(""),2),R=I[0],L=I[1],P=function(e){var n=(0,o.useTranslation)().t,t=(0,r.useConfig)();return(0,i.useMemo)((function(){var i,a,s,o,r,l,c,p,d,u=0,g=[{id:u++,header:n("visitStartTime","Visit Time"),key:"visitStartTime"}];return null===(s=t)||void 0===s||null===(a=s.activeVisits)||void 0===a||null===(i=a.identifiers)||void 0===i||i.forEach((function(e){var t,i,a,s,o,r;g.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(s=e)||void 0===s||null===(a=s.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(o=r.header)||void 0===o?void 0:o.key})})),(null===(r=t)||void 0===r||null===(o=r.activeVisits)||void 0===o?void 0:o.identifiers)||g.push({id:u++,header:n("idNumber","ID Number"),key:"idNumber"}),null===(p=t)||void 0===p||null===(c=p.activeVisits)||void 0===c||null===(l=c.attributes)||void 0===l||l.forEach((function(e){var t,i,a,s,o,r;g.push({id:u++,header:n(null===(i=e)||void 0===i||null===(t=i.header)||void 0===t?void 0:t.key,null===(s=e)||void 0===s||null===(a=s.header)||void 0===a?void 0:a.default),key:null===(r=e)||void 0===r||null===(o=r.header)||void 0===o?void 0:o.key})})),null===(d=e)||void 0===d||d.forEach((function(e){g.push({id:u++,header:e.display,key:"obs-".concat(e.uuid)})})),g.push({id:u++,header:n("name","Name"),key:"name"},{id:u++,header:n("gender","Gender"),key:"gender"},{id:u++,header:n("age","Age"),key:"age"},{id:u++,header:n("visitType","Visit Type"),key:"visitType"}),g}),[n,t,e])}(S),U=(0,i.useCallback)((function(e){var n,t=O({},e);return null===(n=S)||void 0===n||n.forEach((function(n){var i,a,s,o=(null!==(s=null===(a=e)||void 0===a||null===(i=a.observations)||void 0===i?void 0:i[n.uuid])&&void 0!==s?s:[])[0];t["obs-".concat(n.uuid)]=o?"object"==typeof o.value?o.value.display:o.value:"--"})),t}),[S]),G=(0,i.useMemo)((function(){if(void 0!==N&&N.length>0&&R&&""!==R.trim()){var e,n=R.toLowerCase();return null===(e=N)||void 0===e?void 0:e.filter((function(e){return Object.entries(e).some((function(e){var t=j(e,2),i=t[0],a=t[1];return"patientUuid"!==i&&"".concat(a).toLowerCase().includes(n)}))}))}return N.map(U)}),[R,N,U]),K=function(e){var n,t,a=(n=(0,i.useState)({key:"visitStartTime",sortDirection:"DESC"}),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,a,s=[],o=!0,r=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(s.push(i.value),!n||s.length!==n);o=!0);}catch(e){r=!0,a=e}finally{try{o||null==t.return||t.return()}finally{if(r)throw a}}return s}}(n,t)||_(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],o=a[1],r=function(e,n){if(n.startsWith("obs-")){var t,i,a,s,o=n.replace("obs-",""),r=null===(s=e)||void 0===s||null===(a=s.observations)||void 0===a||null===(i=a[o])||void 0===i||null===(t=i[0])||void 0===t?void 0:t.value;return r?"object"==typeof r&&r.display?r.display.toLowerCase():r:null}var l=e[n];return null==l?null:"visitStartTime"===n?new Date(l).getTime():"age"!==n||isNaN(l)?String(l).toLowerCase():Number(l)};return{sortedRows:(0,i.useMemo)((function(){return"NONE"===s.sortDirection?e:b(e).sort((function(e,n){var t=r(e,s.key),i=r(n,s.key);if(null===t&&null===i)return 0;if(null===t)return 1;if(null===i)return-1;if("number"==typeof t&&"number"==typeof i)return"DESC"===s.sortDirection?i-t:t-i;var a=String(t).localeCompare(String(i),void 0,{numeric:!0});return"DESC"===s.sortDirection?-a:a}))}),[s,e]),sortRow:function(e,n,t){var i=t.key,a=t.sortDirection;o({key:i,sortDirection:a})}}}(G),q=K.sortedRows,W=K.sortRow,X=(0,r.usePagination)(q,E),J=X.paginated,Y=X.goTo,Q=X.results,Z=X.currentPage,ee=(0,i.useCallback)((function(e){Y(1),L(e.target.value)}),[Y,L]);return T||M?a().createElement("div",{className:B.activeVisitsContainer},a().createElement("div",{className:B.activeVisitsDetailHeaderContainer},a().createElement("div",{className:(0,r.isDesktop)(w)?B.desktopHeading:B.tabletHeading},a().createElement("h4",null,$("activeVisits","Active Visits"))),a().createElement("div",{className:B.backgroundDataFetchingIndicator},a().createElement("span",null,F?a().createElement(s.lSo,null):null))),a().createElement(s.olm,{labelText:$("filterActiveVisits","Filter active visits"),placeholder:$("filterTable","Filter table"),onChange:ee,size:(0,r.isDesktop)(w)?"sm":"lg",disabled:!0}),a().createElement(s.gqd,{rowCount:E,showHeader:!1,showToolbar:!1,zebra:!0,columnCount:null===(m=P)||void 0===m?void 0:m.length,size:(0,r.isDesktop)(w)?"sm":"lg"})):H?a().createElement("div",{className:B.activeVisitsContainer},a().createElement(s.mh4,null,a().createElement(r.ErrorState,{error:H,headerTitle:$("activeVisits","Active Visits")}))):N.length?a().createElement("div",{className:B.activeVisitsContainer},a().createElement("div",{className:B.activeVisitsDetailHeaderContainer},a().createElement("div",{className:(0,r.isDesktop)(w)?B.desktopHeading:B.tabletHeading},a().createElement("h4",null,$("activeVisits","Active Visits"))),a().createElement("div",{className:B.backgroundDataFetchingIndicator},a().createElement("span",null,F?a().createElement(s.lSo,null):null))),a().createElement(s.olm,{labelText:$("filterActiveVisits","Filter active visits"),placeholder:$("filterTable","Filter table"),onChange:ee,size:(0,r.isDesktop)(w)?"sm":"lg"}),a().createElement(s.wQF,{isSortable:!0,useStaticWidth:!0,rows:Q,headers:P,sortRow:W,size:(0,r.isDesktop)(w)?"sm":"lg",useZebraStyles:(null===(d=N)||void 0===d?void 0:d.length)>1},(function(e){var n=e.rows,t=e.headers,i=e.getHeaderProps,o=e.getTableProps,l=e.getRowProps,c=e.getExpandHeaderProps;return a().createElement(s.xJi,{className:B.tableContainer},a().createElement(s.iA_,O({className:B.activeVisitsTable},o()),a().createElement(s.ssF,null,a().createElement(s.SCH,null,a().createElement(s.MOD,O({enableToggle:!0},c())),t.map((function(e){return a().createElement(s.xDH,i({header:e}),e.header)})))),a().createElement(s.RMI,null,n.map((function(e,n){var i,o,c=N.find((function(n){return n.id===e.id}));return c?a().createElement(a().Fragment,{key:"active-visit-row-".concat(n)},a().createElement(s.RcE,(i=O({},l({row:e})),o=null!=(o={"data-testid":"activeVisitRow".concat(c.patientUuid||"unknown")})?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t}(Object(o)).forEach((function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})),i),e.cells.map((function(e){return a().createElement(s.pj1,{key:"active-visit-row-".concat(n,"-cell-").concat(e.id),"data-testid":e.id},"name"===e.info.header&&c.patientUuid?a().createElement(r.ConfigurableLink,{to:"${openmrsSpaBase}/patient/${patientUuid}/chart",templateParams:{patientUuid:c.patientUuid},"aria-label":$("viewPatientChartFor","View patient chart for {{patientName}}",{patientName:e.value})},e.value):e.value)}))),e.isExpanded?a().createElement(s.SCH,{className:B.expandedActiveVisitRow},a().createElement("th",{colSpan:t.length+2},a().createElement(r.ExtensionSlot,{className:B.visitSummaryContainer,name:"visit-summary-slot",state:{patientUuid:c.patientUuid,visitUuid:c.visitUuid}}))):a().createElement(s.WdL,{className:B.hiddenRow,colSpan:t.length+2})):null})))))})),0===(null===(u=G)||void 0===u?void 0:u.length)&&a().createElement("div",{className:B.filterEmptyState},a().createElement(s.mh4,{level:0},a().createElement(s.n9L,{className:B.filterEmptyStateTile},a().createElement("p",{className:B.filterEmptyStateContent},$("noVisitsToDisplay","No visits to display")),a().createElement("p",{className:B.filterEmptyStateHelper},$("checkFilters","Check the filters above"))))),J&&a().createElement(s.tlE,{forwardText:"Next page",backwardText:"Previous page",page:Z,pageSize:E,pageSizes:k,totalItems:null===(g=G)||void 0===g?void 0:g.length,className:B.pagination,size:(0,r.isDesktop)(w)?"sm":"lg",onChange:function(e){var n=e.pageSize,t=e.page;n!==E&&z(n),t!==Z&&Y(t)}})):a().createElement("div",{className:B.activeVisitsContainer},a().createElement(s.mh4,null,a().createElement(s.n9L,{className:B.tile},a().createElement("div",{className:(0,r.isDesktop)(w)?B.desktopHeading:B.tabletHeading},a().createElement("h4",null,$("activeVisits","Active Visits"))),a().createElement(l.N,null),a().createElement("p",{className:B.content},$("noActiveVisitsForLocation","There are no active visits to display for this location.")))))}},8286:(e,n,t)=>{"use strict";t.d(n,{N:()=>s});var i=t(5206),a=t.n(i),s=function(e){var n=e.width,t=void 0===n?"64":n,i=e.height,s=void 0===i?"64":i;return a().createElement("svg",{width:t,height:s,viewBox:"0 0 64 64"},a().createElement("title",null,"Empty data illustration"),a().createElement("g",{fill:"none",fillRule:"evenodd"},a().createElement("path",{d:"M38.133 13.186H21.947c-.768.001-1.39.623-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 01-.927-.493L3.664 12.751a.742.742 0 01.492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.741.741 0 01.926.492L38.076 13l.057.186z",fill:"#F4F4F4"}),a().createElement("path",{d:"M41.664 13L38.026 1.117A1.576 1.576 0 0036.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.578 1.578 0 00-1.046 1.97l12.436 40.616a1.58 1.58 0 001.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 01-1.737-.923L.247 12.682a1.39 1.39 0 01.923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 011.737.923L41.47 13l.057.186h.193l-.057-.185z",fill:"#8D8D8D"}),a().createElement("path",{d:"M11.378 11.855a.836.836 0 01-.798-.59L9.385 7.361a.835.835 0 01.554-1.042l16.318-4.996a.836.836 0 011.042.554l1.195 3.902a.836.836 0 01-.554 1.043l-16.318 4.995a.831.831 0 01-.244.037z",fill:"#C6C6C6"}),a().createElement("circle",{fill:"#C6C6C6",cx:17.636,cy:2.314,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:17.636,cy:2.314,r:1.175}),a().createElement("path",{d:"M55.893 53.995H24.544a.79.79 0 01-.788-.789V15.644a.79.79 0 01.788-.788h31.349a.79.79 0 01.788.788v37.562a.79.79 0 01-.788.789z",fill:"#F4F4F4"}),a().createElement("path",{d:"M41.47 13H21.948a1.579 1.579 0 00-1.576 1.577V52.4l.185-.057V14.577c.001-.768.623-1.39 1.391-1.39h19.581L41.471 13zm17.02 0H21.947a1.579 1.579 0 00-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.579 1.579 0 001.576-1.577V14.577a1.579 1.579 0 00-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947c-.768-.001-1.39-.624-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39v42.478z",fill:"#8D8D8D"}),a().createElement("path",{d:"M48.751 17.082H31.686a.836.836 0 01-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08c0 .462-.374.835-.835.836z",fill:"#C6C6C6"}),a().createElement("circle",{fill:"#C6C6C6",cx:40.218,cy:9.755,r:1.855}),a().createElement("circle",{fill:"#FFF",fillRule:"nonzero",cx:40.218,cy:9.755,r:1.13})))}}}]);
package/dist/7401.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"7401.js","mappings":"8MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,8hMAAiiM,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,0DAA0D,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,gxCAAgxC,eAAiB,CAAC,g/DAAg/D,8tHAA8tH,05DAA05D,w8uBAAw8uB,WAAa,MAE1utCH,EAAwBI,OAAS,CAChC,UAAa,uDACb,sBAAyB,mEACzB,kCAAqC,+EACrC,kBAAqB,+DACrB,gCAAmC,6EACnC,eAAkB,4DAClB,WAAc,wDACd,UAAa,uDACb,SAAY,sDACZ,sBAAyB,mEACzB,uBAA0B,oEAC1B,OAAU,oDACV,QAAW,qDACX,eAAkB,4DAClB,cAAiB,2DACjB,KAAQ,kDACR,iBAAoB,8DACpB,qBAAwB,kEACxB,wBAA2B,qEAC3B,uBAA0B,oEAC1B,aAAgB,2DAEjB,S,mBC9BoEF,EAAOG,QAAiJ,WAAY,aAAa,OAAO,SAASC,EAAEC,EAAEC,GAAGD,EAAEE,UAAUC,QAAQ,WAAW,IAAIJ,EAAE,aAAaC,EAAEC,IAAI,OAAOG,KAAKC,OAAON,KAAKC,EAAEK,OAAON,EAAE,CAAC,CAAE,CAAvRC,E,oxECoBnFM,IAAAA,OAAaH,KA4SN,I,4HCrTHI,EA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MAAOC,EAAG,QACjD,kBAACH,SAAAA,CAAOJ,KAAK,OAAOC,SAAS,UAAUI,GAAI,OAAQC,GAAI,MAAOC,EAAG,QAIzE,C","sources":["webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.scss","webpack://@openmrs/esm-active-visits-app/../../node_modules/dayjs/plugin/isToday.js","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.resource.tsx","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.scss?6f87","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.component.tsx","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/empty-data-illustration.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","exports","e","o","t","prototype","isToday","this","format","dayjs","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","config","activeVisits","searchResults","headerData","useTranslation","useConfig","layout","useLayoutType","pageSizes","useState","pageSize","setPageSize","useObsConcepts","uuids","fetchConcept","uuid","response","error","openmrsFetch","restBaseUrl","data","console","useSWR","length","Promise","all","map","filter","concept","isLoading","useMemo","obsConcepts","isLoadingObsConcepts","obs","useActiveVisits","session","useSession","sessionLocation","useSWRInfinite","pageIndex","previousPageData","links","some","link","rel","url","customRepresentation","urlSearchParams","URLSearchParams","append","toString","isValidating","size","setSize","useEffect","pageNumber","currentSize","mapVisitProperties","visit","age","patient","person","String","idNumber","gender","location","name","display","patientUuid","visitStartTime","formatDatetime","parseDate","startDatetime","visitType","visitUuid","identifiers","configIdentifier","visitIdentifier","find","identifierType","identifierName","header","key","identifier","attributes","personAttributes","attributeType","value","allObs","encounters","reduce","accumulator","encounter","observations","concat","res","results","totalResults","totalCount","searchString","setSearchString","headersIndex","headers","forEach","default","attribute","useTableHeaders","transformVisitForDisplay","useCallback","displayData","latestObs","trim","search","toLowerCase","activeVisitRow","Object","entries","includes","useActiveVisitsSorting","tableRows","sortDirection","sortParams","setSortParams","getSortValue","item","startsWith","conceptUuid","replace","obsValue","Date","getTime","isNaN","Number","sortedRows","sort","a","b","valueA","valueB","compareResult","localeCompare","numeric","sortRow","cellA","cellB","usePagination","paginated","goTo","currentPage","handleSearch","target","div","className","styles","activeVisitsContainer","activeVisitsDetailHeaderContainer","isDesktop","desktopHeading","tabletHeading","h4","backgroundDataFetchingIndicator","span","InlineLoading","Search","labelText","placeholder","onChange","disabled","DataTableSkeleton","rowCount","showHeader","showToolbar","zebra","columnCount","Layer","ErrorState","headerTitle","DataTable","isSortable","useStaticWidth","rows","useZebraStyles","getHeaderProps","getTableProps","getRowProps","getExpandHeaderProps","TableContainer","tableContainer","Table","activeVisitsTable","TableHead","TableRow","TableExpandHeader","enableToggle","TableHeader","TableBody","row","index","currentVisit","React","TableExpandRow","data-testid","cells","cell","TableCell","info","ConfigurableLink","to","templateParams","isExpanded","expandedActiveVisitRow","th","colSpan","ExtensionSlot","visitSummaryContainer","state","TableExpandedRow","hiddenRow","filterEmptyState","level","Tile","filterEmptyStateTile","p","filterEmptyStateContent","filterEmptyStateHelper","Pagination","forwardText","backwardText","page","totalItems","pagination","newPageSize","newPage","tile","EmptyDataIllustration","content","width","height","svg","viewBox","title","g","fill","fillRule","path","d","circle","cx","cy","r"],"sourceRoot":""}
1
+ {"version":3,"file":"7401.js","mappings":"8MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,8hMAAiiM,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,0DAA0D,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,gxCAAgxC,eAAiB,CAAC,g/DAAg/D,8tHAA8tH,05DAA05D,w8uBAAw8uB,WAAa,MAE1utCH,EAAwBI,OAAS,CAChC,UAAa,uDACb,sBAAyB,mEACzB,kCAAqC,+EACrC,kBAAqB,+DACrB,gCAAmC,6EACnC,eAAkB,4DAClB,WAAc,wDACd,UAAa,uDACb,SAAY,sDACZ,sBAAyB,mEACzB,uBAA0B,oEAC1B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,WACtB,kBAACC,OAAAA,CACCC,EAAE,2NACFH,KAAK,YAEP,kBAACE,OAAAA,CACCC,EAAE,8WACFH,KAAK,YAEP,kBAACE,OAAAA,CACCC,EAAE,2LACFH,KAAK,YAEP,kBAACI,SAAAA,CAAOJ,KAAK,UAAUK,GAAI,OAAQC,GAAI,MAAOC,EAAG,QACjD,kBAACH,SAAAA,CAAOJ,KAAK,OAAOC,SAAS,UAAUI,GAAI,OAAQC,GAAI,MAAOC,EAAG,QACjE,kBAACL,OAAAA,CACCC,EAAE,kIACFH,KAAK,YAEP,kBAACE,OAAAA,CACCC,EAAE,oaACFH,KAAK,YAEP,kBAACE,OAAAA,CACCC,EAAE,4IACFH,KAAK,YAEP,kBAACI,SAAAA,CAAOJ,KAAK,UAAUK,GAAI,OAAQC,GAAI,MAAOC,EAAG,QACjD,kBAACH,SAAAA,CAAOJ,KAAK,OAAOC,SAAS,UAAUI,GAAI,OAAQC,GAAI,MAAOC,EAAG,QAIzE,C","sources":["webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.scss","webpack://@openmrs/esm-active-visits-app/../../node_modules/dayjs/plugin/isToday.js","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.resource.tsx","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.scss?6f87","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/active-visits.component.tsx","webpack://@openmrs/esm-active-visits-app/./src/active-visits-widget/empty-data-illustration.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","exports","e","o","t","prototype","isToday","this","format","dayjs","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","config","activeVisits","searchResults","headerData","useTranslation","useConfig","layout","useLayoutType","pageSizes","useState","pageSize","setPageSize","useObsConcepts","uuids","fetchConcept","uuid","response","error","openmrsFetch","restBaseUrl","data","console","useSWR","length","Promise","all","map","filter","concept","isLoading","useMemo","obsConcepts","isLoadingObsConcepts","obs","useActiveVisits","session","useSession","sessionLocation","useSWRInfinite","pageIndex","previousPageData","links","some","link","rel","url","customRepresentation","urlSearchParams","URLSearchParams","append","toString","isValidating","size","setSize","useEffect","pageNumber","currentSize","mapVisitProperties","visit","age","patient","person","String","idNumber","gender","location","name","display","patientUuid","visitStartTime","formatDatetime","parseDate","startDatetime","visitType","visitUuid","identifiers","configIdentifier","visitIdentifier","find","identifierType","identifierName","header","key","identifier","attributes","personAttributes","attributeType","value","allObs","encounters","reduce","accumulator","encounter","observations","concat","res","results","totalResults","totalCount","searchString","setSearchString","headersIndex","headers","forEach","default","attribute","useTableHeaders","transformVisitForDisplay","useCallback","displayData","latestObs","trim","search","toLowerCase","activeVisitRow","Object","entries","includes","useActiveVisitsSorting","tableRows","sortDirection","sortParams","setSortParams","getSortValue","item","startsWith","conceptUuid","replace","obsValue","Date","getTime","isNaN","Number","sortedRows","sort","a","b","valueA","valueB","compareResult","localeCompare","numeric","sortRow","cellA","cellB","usePagination","paginated","goTo","currentPage","handleSearch","target","div","className","styles","activeVisitsContainer","activeVisitsDetailHeaderContainer","isDesktop","desktopHeading","tabletHeading","h4","backgroundDataFetchingIndicator","span","InlineLoading","Search","labelText","placeholder","onChange","disabled","DataTableSkeleton","rowCount","showHeader","showToolbar","zebra","columnCount","Layer","ErrorState","headerTitle","DataTable","isSortable","useStaticWidth","rows","useZebraStyles","getHeaderProps","getTableProps","getRowProps","getExpandHeaderProps","TableContainer","tableContainer","Table","activeVisitsTable","TableHead","TableRow","TableExpandHeader","enableToggle","TableHeader","TableBody","row","index","currentVisit","React","TableExpandRow","data-testid","cells","cell","TableCell","info","ConfigurableLink","to","templateParams","aria-label","patientName","isExpanded","expandedActiveVisitRow","th","colSpan","ExtensionSlot","visitSummaryContainer","state","TableExpandedRow","hiddenRow","filterEmptyState","level","Tile","filterEmptyStateTile","p","filterEmptyStateContent","filterEmptyStateHelper","Pagination","forwardText","backwardText","page","totalItems","pagination","newPageSize","newPage","tile","EmptyDataIllustration","content","width","height","svg","viewBox","title","g","fill","fillRule","path","d","circle","cx","cy","r"],"sourceRoot":""}
@@ -52,7 +52,7 @@
52
52
  "auxiliaryFiles": [
53
53
  "main.js.map"
54
54
  ],
55
- "hash": "52857b4a066234b2",
55
+ "hash": "c5cba0e586223fff",
56
56
  "childrenByOrder": {}
57
57
  },
58
58
  {
@@ -407,9 +407,9 @@
407
407
  "initial": false,
408
408
  "entry": false,
409
409
  "recorded": false,
410
- "size": 1173,
410
+ "size": 1280,
411
411
  "sizes": {
412
- "javascript": 1173
412
+ "javascript": 1280
413
413
  },
414
414
  "names": [],
415
415
  "idHints": [],
@@ -421,7 +421,7 @@
421
421
  "3574.js"
422
422
  ],
423
423
  "auxiliaryFiles": [],
424
- "hash": "8418abf7cbedcfee",
424
+ "hash": "dd713a7814cad4d6",
425
425
  "childrenByOrder": {}
426
426
  },
427
427
  {
@@ -903,9 +903,9 @@
903
903
  "initial": false,
904
904
  "entry": false,
905
905
  "recorded": false,
906
- "size": 92499,
906
+ "size": 92764,
907
907
  "sizes": {
908
- "javascript": 92457,
908
+ "javascript": 92722,
909
909
  "consume-shared": 42
910
910
  },
911
911
  "names": [],
@@ -920,7 +920,7 @@
920
920
  "auxiliaryFiles": [
921
921
  "7401.js.map"
922
922
  ],
923
- "hash": "d290ebf1dfab388b",
923
+ "hash": "ccccd1dcfd2def62",
924
924
  "childrenByOrder": {}
925
925
  },
926
926
  {
@@ -1103,7 +1103,7 @@
1103
1103
  "auxiliaryFiles": [
1104
1104
  "8842.js.map"
1105
1105
  ],
1106
- "hash": "ad78e4a549463d63",
1106
+ "hash": "efdf5b25e5ba03f3",
1107
1107
  "childrenByOrder": {}
1108
1108
  },
1109
1109
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"active-visits-widget","slot":"homepage-widgets-slot","component":"activeVisits","order":0},{"name":"visit-summary-widget","slot":"visit-summary-slot","component":"visitDetail"},{"name":"active-visits-tile","slot":"home-metrics-tiles-slot","component":"homeActiveVisitsTile"},{"name":"total-visits-tile","slot":"home-metrics-tiles-slot","component":"homeTotalVisitsTile"}],"pages":[],"version":"8.3.2-pre.5157"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"active-visits-widget","slot":"homepage-widgets-slot","component":"activeVisits","order":0},{"name":"visit-summary-widget","slot":"visit-summary-slot","component":"visitDetail"},{"name":"active-visits-tile","slot":"home-metrics-tiles-slot","component":"homeActiveVisitsTile"},{"name":"total-visits-tile","slot":"home-metrics-tiles-slot","component":"homeTotalVisitsTile"}],"pages":[],"version":"8.3.2-pre.5159"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-active-visits-app",
3
- "version": "8.3.2-pre.5157",
3
+ "version": "8.3.2-pre.5159",
4
4
  "description": "Active visits widget microfrontend for O3",
5
5
  "browser": "dist/openmrs-esm-active-visits-app.js",
6
6
  "main": "src/index.ts",
@@ -109,7 +109,7 @@ const ActiveVisitsTable = () => {
109
109
  </div>
110
110
  </div>
111
111
  <Search
112
- labelText=""
112
+ labelText={t('filterActiveVisits', 'Filter active visits')}
113
113
  placeholder={t('filterTable', 'Filter table')}
114
114
  onChange={handleSearch}
115
115
  size={isDesktop(layout) ? 'sm' : 'lg'}
@@ -166,7 +166,7 @@ const ActiveVisitsTable = () => {
166
166
  </div>
167
167
  </div>
168
168
  <Search
169
- labelText=""
169
+ labelText={t('filterActiveVisits', 'Filter active visits')}
170
170
  placeholder={t('filterTable', 'Filter table')}
171
171
  onChange={handleSearch}
172
172
  size={isDesktop(layout) ? 'sm' : 'lg'}
@@ -210,7 +210,10 @@ const ActiveVisitsTable = () => {
210
210
  {cell.info.header === 'name' && currentVisit.patientUuid ? (
211
211
  <ConfigurableLink
212
212
  to={patientChartUrl}
213
- templateParams={{ patientUuid: currentVisit.patientUuid }}>
213
+ templateParams={{ patientUuid: currentVisit.patientUuid }}
214
+ aria-label={t('viewPatientChartFor', 'View patient chart for {{patientName}}', {
215
+ patientName: cell.value,
216
+ })}>
214
217
  {cell.value}
215
218
  </ConfigurableLink>
216
219
  ) : (
@@ -7,6 +7,7 @@
7
7
  "dose": "Dose",
8
8
  "encounterType": "Encounter Type",
9
9
  "endDate": "End date",
10
+ "filterActiveVisits": "Filter active visits",
10
11
  "filterTable": "Filter table",
11
12
  "gender": "Gender",
12
13
  "idNumber": "ID Number",
@@ -31,6 +32,7 @@
31
32
  "thereIsNoInformationToDisplayHere": "There is no information to display here",
32
33
  "time": "Time",
33
34
  "totalVisits": "Total Visits Today",
35
+ "viewPatientChartFor": "View patient chart for {{patientName}}",
34
36
  "visitStartTime": "Visit Time",
35
37
  "visitSummary": "Visit Summary",
36
38
  "visitType": "Visit Type"