@openmrs/esm-appointments-app 9.2.1-pre.7356 → 9.2.1-pre.7362

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.
@@ -33,4 +33,4 @@ Assets:
33
33
  1559.js (279 KiB)
34
34
  8600.js (1.98 MiB)
35
35
 
36
- webpack 5.99.9 compiled with 1 warning in 120406 ms
36
+ webpack 5.99.9 compiled with 1 warning in 119737 ms
package/dist/1431.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[1431],{4120:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,".-esm-appointments__scheduled-appointments__switcher___slfHc{margin:1rem 0;max-width:70%}","",{version:3,sources:["webpack://./src/appointments/scheduled/scheduled-appointments.scss"],names:[],mappings:"AAEA,6DACE,aAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n.switcher {\n margin: layout.$spacing-05 0;\n max-width: 70%;\n}\n"],sourceRoot:""}]),i.locals={switcher:"-esm-appointments__scheduled-appointments__switcher___slfHc"};const s=i},13422:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__metrics-container__cardContainer___PR1\\+O{background-color:#fff;display:flex;padding:0 1rem 2rem 1rem;flex-flow:row wrap;margin-top:-0.5rem;gap:1rem}.-esm-appointments__metrics-container__cardContainer___PR1\\+O>*{flex:1 0 0%;min-width:18.75rem}@media(max-width: 20.75rem){.-esm-appointments__metrics-container__cardContainer___PR1\\+O>*:has(.cardWithChildren){order:999}}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/metrics/metrics-container.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,8DACE,qBDDM,CCEN,YAAA,CACA,wBAAA,CACA,kBAAA,CACA,kBAAA,CACA,QCsBW,CDnBb,gEACE,WAAA,CACA,kBAAA,CAGF,4BACE,uFACE,SAAA,CAAA",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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.cardContainer {\n background-color: $ui-02;\n display: flex;\n padding: 0 layout.$spacing-05 layout.$spacing-07 layout.$spacing-05;\n flex-flow: row wrap;\n margin-top: -(layout.$spacing-03);\n gap: layout.$spacing-05;\n}\n\n.cardContainer > * {\n flex: 1 0 0%;\n min-width: 18.75rem;\n}\n\n@media (max-width: calc(layout.$spacing-05 * 2 + 18.75rem)) {\n .cardContainer > *:has(:global(.cardWithChildren)) {\n order: 999;\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"],sourceRoot:""}]),i.locals={cardContainer:"-esm-appointments__metrics-container__cardContainer___PR1+O"};const s=i},31118:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__metrics-header__metricsContainer___OG6Ft{display:flex;background-color:#fff;height:4rem;align-items:center;padding:0 1rem}.-esm-appointments__metrics-header__link___IyBdE{text-decoration:none;display:flex;align-items:center}.-esm-appointments__metrics-header__viewListBtn___wSvwo{margin:0 0 0 .5rem}.-esm-appointments__metrics-header__metricsContent___2Gebb{display:flex;align-items:center;gap:1rem;margin-left:auto}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/metrics/metrics-header.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,6DACE,YAAA,CACA,qBDHM,CCIN,WCiDW,CDhDX,kBAAA,CACA,cAAA,CAGF,iDACE,oBAAA,CACA,YAAA,CACA,kBAAA,CAGF,wDACE,kBAAA,CAGF,2DACE,YAAA,CACA,kBAAA,CACA,QCMW,CDLX,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.metricsContainer {\n display: flex;\n background-color: $ui-02;\n height: layout.$spacing-10;\n align-items: center;\n padding: 0 layout.$spacing-05;\n}\n\n.link {\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n.viewListBtn {\n margin: 0 0 0 layout.$spacing-03;\n}\n\n.metricsContent {\n display: flex;\n align-items: center;\n gap: layout.$spacing-05;\n margin-left: auto;\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"],sourceRoot:""}]),i.locals={metricsContainer:"-esm-appointments__metrics-header__metricsContainer___OG6Ft",link:"-esm-appointments__metrics-header__link___IyBdE",viewListBtn:"-esm-appointments__metrics-header__viewListBtn___wSvwo",metricsContent:"-esm-appointments__metrics-header__metricsContent___2Gebb"};const s=i},47331:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__appointments-header__header___9TDaZ{background-color:#fff;border-block:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;padding-right:.5rem}.-esm-appointments__appointments-header__rightJustifiedItems___WVWV2{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;margin:0 .5rem;row-gap:.125rem}html[dir=rtl] .-esm-appointments__appointments-header__date-and-location___Fstmf>svg{order:-1}html[dir=rtl] .-esm-appointments__appointments-header__date-and-location___Fstmf>span:nth-child(2){order:-2}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/header/appointments-header.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,wDACE,qBDHM,CCIN,8BAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,mBCUW,CDPb,qEACE,YAAA,CACA,qBAAA,CACA,oBAAA,CACA,wBAAA,CACA,cAAA,CACA,eCTW,CDeT,qFACE,QAAA,CAEF,mGACE,QAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.header {\n background-color: $ui-02;\n border-block: 1px solid $ui-03;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-right: layout.$spacing-03;\n}\n\n.rightJustifiedItems {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: flex-end;\n margin: 0 layout.$spacing-03;\n row-gap: layout.$spacing-01;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .date-and-location {\n & > svg {\n order: -1;\n }\n & > span:nth-child(2) {\n order: -2;\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"],sourceRoot:""}]),i.locals={header:"-esm-appointments__appointments-header__header___9TDaZ",rightJustifiedItems:"-esm-appointments__appointments-header__rightJustifiedItems___WVWV2","date-and-location":"-esm-appointments__appointments-header__date-and-location___Fstmf"};const s=i},47781:(n,e,a)=>{a.d(e,{A:()=>N});var t=a(1343),r=a.n(t),o=a(23464),i=a.n(o),s=a(72339),c=a(35257),p=a(54440),l=a(57691),u=a(71123),d=a(77415),m=a(72591),b=a.n(m),g=a(1740),f=a.n(g),y=a(88128),A=a.n(y),h=a(30855),$=a.n(h),_=a(93051),v=a.n(_),C=a(73656),w=a.n(C),k=a(47331),x={};x.styleTagTransform=w(),x.setAttributes=$(),x.insert=A().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=v(),b()(k.A,x);const E=k.A&&k.A.locals?k.A.locals:void 0,N=function(n){var e,a,o,m,b,g=n.title,f=n.showServiceTypeFilter,y=(0,s.useTranslation)().t,A=(0,d.nS)(),h=A.selectedDate,$=A.appointmentServiceTypes,_=(a=(0,u.Ay)("".concat(p.restBaseUrl,"/appointmentService/all/default"),p.openmrsFetch),o=a.data,m=a.error,b=a.isLoading,{serviceTypes:null!==(e=null==o?void 0:o.data)&&void 0!==e?e:[],isLoading:b,error:m}).serviceTypes,v=(0,t.useCallback)(function(n){var e=n.selectedItems.map(function(n){return n.id});(0,d.If)(e)},[]),C=(0,t.useMemo)(function(){var n;return null!==(n=null==_?void 0:_.map(function(n){return{id:n.uuid,label:n.name}}))&&void 0!==n?n:[]},[_]);return r().createElement(p.PageHeader,{className:E.header,"data-testid":"appointments-header"},r().createElement(p.PageHeaderContent,{illustration:r().createElement(p.AppointmentsPictogram,null),title:g}),r().createElement("div",{className:E.rightJustifiedItems},r().createElement(p.OpenmrsDatePicker,{"data-testid":"appointment-date-picker",id:"appointment-date-picker","aria-label":y("appointmentDate","Appointment date"),onChange:function(n){return(0,d.un)(i()(n).startOf("day").format(l.BC))},value:i()(h).toDate()}),f&&r().createElement(c.KFt,{id:"serviceTypeMultiSelect",items:C,itemToString:function(n){return n?n.label:""},label:y("filterAppointmentsByServiceType","Filter appointments by service type"),onChange:v,type:"inline",selectedItems:C.filter(function(n){return $.includes(n.id)})})))}},81431:(n,e,a)=>{a.r(e),a.d(e,{default:()=>mn});var t=a(1343),r=a.n(t),o=a(23464),i=a.n(o),s=a(72339),c=a(8877),p=a(57691),l=a(35257),u=a(54440),d=a(40515),m=a.n(d),b=a(77415),g=a(72591),f=a.n(g),y=a(1740),A=a.n(y),h=a(88128),$=a.n(h),_=a(30855),v=a.n(_),C=a(93051),w=a.n(C),k=a(73656),x=a.n(k),E=a(4120),N={};N.styleTagTransform=x(),N.setAttributes=v(),N.insert=$().bind(null,"head"),N.domAPI=A(),N.insertStyleElement=w(),f()(E.A,N);const T=E.A&&E.A.locals?E.A.locals:void 0;function B(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}function S(n,e,a){return e in n?Object.defineProperty(n,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[e]=a,n}function D(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,r,o=[],i=!0,s=!1;try{for(a=a.call(n);!(i=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,r=n}finally{try{i||null==a.return||a.return()}finally{if(s)throw r}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return B(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?B(n,e):void 0}}(n,e)||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.")}()}function I(n){return n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n}i().extend(m());var O="scheduled-appointments-panels-slot";function P(n){var e,a,o=n.extension,i=n.currentTab,s=n.appointmentServiceTypes,c=n.date,p=n.dateType,l=n.showExtensionTab,d=n.hideExtensionTab,m=(0,t.useRef)(null),b=(0,t.useRef)(p);return(0,t.useEffect)(function(){(null===m.current||null!==m.current&&!function(n,e){if(Object.is(n,e))return!0;if("object"!==(void 0===n?"undefined":I(n))||null===n||"object"!==(void 0===e?"undefined":I(e))||null===e)return!1;var a=Object.getOwnPropertyNames(n),t=Object.getOwnPropertyNames(e);return a.length===t.length&&a.every(function(a){return n[a]===e[a]})}(m.current,o.config)||b.current!==p)&&(m.current=o.config,b.current=p,function(n,e){if(!n)return!1;switch(e){case"futureDate":var a;return null!==(a=n.showForFutureDate)&&void 0!==a&&a;case"pastDate":var t;return null!==(t=n.showForPastDate)&&void 0!==t&&t;case"today":var r;return null!==(r=n.showForToday)&&void 0!==r&&r}}(null==o?void 0:o.config,p)?l(o.name):d(o.name))},[o,p,l,d]),r().createElement("div",{key:o.name,className:T.container,style:{display:i===o.name?"block":"none"}},r().createElement(u.Extension,{state:{date:c,appointmentServiceTypes:s,status:null===(e=o.config)||void 0===e?void 0:e.status,title:null===(a=o.config)||void 0===a?void 0:a.title}}))}const F=function(n){var e=n.appointmentServiceTypes,a=(0,s.useTranslation)().t,o=(0,b.nS)().selectedDate,c=(0,u.useLayoutType)(),p=(0,u.isDesktop)(c)?"sm":"md",d=D((0,t.useState)(null),2),m=d[0],g=d[1],f=D((0,t.useState)("today"),2),y=f[0],A=f[1],h=(0,u.useConnectedExtensions)(O),$=function(){var n=D((0,t.useReducer)(function(n,e){var a={};switch(e.type){case"show_extension":a[e.extension]=!0;break;case"hide_extension":a[e.extension]=!1}return function(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.forEach(function(e){S(n,e,a[e])})}return n}({},n,a)},{}),2),e=n[0],a=n[1];return{allowedExtensions:e,showExtension:function(n){return a({type:"show_extension",extension:n})},hideExtension:function(n){return a({type:"hide_extension",extension:n})}}}(),_=$.allowedExtensions,v=$.showExtension,C=$.hideExtension,w=(0,t.useCallback)(function(n){var e;return null!==(e=_[n.name])&&void 0!==e&&e},[_]);(0,t.useEffect)(function(){var n=i()(o),e=i()();n.isBefore(e,"date")?A("pastDate"):n.isAfter(e,"date")?A("futureDate"):A("today")},[o]),(0,t.useEffect)(function(){if(_&&(null===m||!_[m])){var n=!0,e=!1,a=void 0;try{for(var t,r=Object.getOwnPropertyNames(_)[Symbol.iterator]();!(n=(t=r.next()).done);n=!0){var o=t.value;if(_[o]){g(o);break}}}catch(n){e=!0,a=n}finally{try{n||null==r.return||r.return()}finally{if(e)throw a}}}},[_,m]);var k,x=h.filter(w);return r().createElement(r().Fragment,null,r().createElement(l.Tps,{className:T.switcher,size:p,onChange:function(n){var e=n.name;return g(e)},selectedIndex:null!==(k=x.findIndex(function(n){return n.name==m}))&&void 0!==k?k:0,selectionMode:"manual"},x.map(function(n){return r().createElement(l.dOG,{key:"panel-".concat(n.name),name:n.name,text:a(n.config.title)})})),r().createElement(u.ExtensionSlot,{name:O},function(n){return r().createElement(P,{appointmentServiceTypes:e,currentTab:m,date:o,dateType:y,extension:n,hideExtensionTab:C,showExtensionTab:v})}))};var j=a(68622),L=a(71123),M=a(95008);var W=a(13219),G=a(70197),V=a(82168);function R(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}function Y(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,r,o=[],i=!0,s=!1;try{for(a=a.call(n);!(i=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,r=n}finally{try{i||null==a.return||a.return()}finally{if(s)throw r}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return R(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?R(n,e):void 0}}(n,e)||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 U=function(){var n,e,a=(0,s.useTranslation)().t,o=Y((0,t.useState)(25),2),i=o[0],c=o[1],p=Y((0,t.useState)(""),2),d=p[0],m=p[1],g=function(){var n,e=(0,b.nS)().selectedDate,a="".concat(u.restBaseUrl,"/appointment/unScheduledAppointment?forDate=").concat(e),t=(0,L.Ay)(a,u.openmrsFetch,{errorRetryCount:2}),r=t.data,o=t.error,i=t.isLoading,s=null==r||null===(n=r.data)||void 0===n?void 0:n.map(function(n){return function(n){var e;return{name:n.name,identifier:null==n||null===(e=n.identifiers)||void 0===e?void 0:e.find(function(n){return n.identifierName===M.Q.patientIdentifierType._default}).identifier,dateTime:null==n?void 0:n.visit.startDateTime,gender:n.gender,phoneNumber:n.phoneNumber,age:n.age,uuid:n.uuid}}(n)});return{isLoading:i,data:null!=s?s:[],error:o}}(),f=g.data,y=g.isLoading,A=(g.error,(0,V.WB)(f,d)),h=(0,u.useConfig)().customPatientChartUrl,$=(0,u.usePagination)(A,i),_=$.results,v=$.currentPage,C=$.goTo,w=null==_?void 0:_.map(function(n){return{id:"".concat(n.uuid),name:r().createElement(u.ConfigurableLink,{style:{textDecoration:"none"},to:h,templateParams:{patientUuid:n.uuid}},n.name),gender:"F"===n.gender?"Female":"Male",phoneNumber:""===n.phoneNumber?"--":n.phoneNumber,identifier:null==n?void 0:n.identifier}});return y?r().createElement(l.OOb,null):(null==f?void 0:f.length)?r().createElement("div",null,r().createElement(l.bQt,{rows:w,headers:[{header:"Patient Name",key:"name"},{header:"Identifier",key:"identifier"},{header:"Gender",key:"gender"},{header:"Phone Number",key:"phoneNumber"}],isSortable:!0},function(n){var e,t=n.rows,o=n.headers,i=n.getHeaderProps,s=n.getTableProps;return r().createElement(l.K3K,{title:"".concat(a("unscheduledAppointments","Unscheduled appointments")," ").concat(f.length),description:"".concat(a("Total ".concat(null!==(e=f.length)&&void 0!==e?e:0)))},r().createElement(l.e1U,null,r().createElement(l.VbH,null,r().createElement(l.w6V,{style:{backgroundColor:"#f4f4f4"},tabIndex:0,onChange:function(n){return m(n.target.value)}}),r().createElement(l.$nd,{size:"lg",kind:"tertiary",renderIcon:j.f5,onClick:function(){return(0,W.K)(f)}},a("download","Download")))),r().createElement(l.XIK,s(),r().createElement(l.ndF,null,r().createElement(l.Hjg,null,o.map(function(n){return r().createElement(l.A0N,i({header:n}),n.header)}))),r().createElement(l.BFY,null,t.map(function(n){return r().createElement(l.Hjg,{key:n.id},n.cells.map(function(n){return r().createElement(l.nA6,{key:n.id},n.value)}))}))))}),r().createElement(l.dKS,{backwardText:"Previous page",forwardText:"Next page",page:v,pageNumberText:"Page Number",pageSize:i,onChange:function(n){var e=n.page,a=n.pageSize;C(e),c(a)},pageSizes:null!==(n=(0,V.uB)(f,i))&&void 0!==n?n:[],totalItems:null!==(e=f.length)&&void 0!==e?e:0})):r().createElement(G.p,{displayText:a("unscheduledAppointments_lower","unscheduled appointments"),headerTitle:a("unscheduledAppointments","Unscheduled appointments")})};var z=a(87228),H={};H.styleTagTransform=x(),H.setAttributes=v(),H.insert=$().bind(null,"head"),H.domAPI=A(),H.insertStyleElement=w(),f()(z.A,H);const q=z.A&&z.A.locals?z.A.locals:void 0;function K(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}const Q=function(n){var e,a,o=n.appointmentServiceTypes,i=(0,s.useTranslation)().t,c=(0,u.useConfig)().showUnscheduledAppointmentsTab,p=(e=(0,t.useState)(0),a=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,r,o=[],i=!0,s=!1;try{for(a=a.call(n);!(i=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,r=n}finally{try{i||null==a.return||a.return()}finally{if(s)throw r}}return o}}(e,a)||function(n,e){if(n){if("string"==typeof n)return K(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?K(n,e):void 0}}(e,a)||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.")}()),d=p[0],m=p[1];return r().createElement("div",{className:q.appointmentList,"data-testid":"appointment-list"},c?r().createElement(l.tUM,{selectedIndex:d,onChange:function(n){var e=n.selectedIndex;m(e)},className:q.tabs},r().createElement(l.wbY,{style:{paddingLeft:"1rem"},"aria-label":"Appointment tabs",contained:!0},r().createElement(l.ozo,{className:q.tab},i("scheduled","Scheduled")),r().createElement(l.ozo,{className:q.tab},i("unscheduled","Unscheduled"))),r().createElement(l.T2N,null,r().createElement(l.KpK,{className:q.tabPanel},r().createElement(F,{appointmentServiceTypes:o})),r().createElement(l.KpK,{className:q.tabPanel},r().createElement(U,null)))):r().createElement(F,{appointmentServiceTypes:o}))};var J=a(47781),X=a(85602),Z=a.n(X),nn=a(58466),en=a(43760),an=a(31118),tn={};tn.styleTagTransform=x(),tn.setAttributes=v(),tn.insert=$().bind(null,"head"),tn.domAPI=A(),tn.insertStyleElement=w(),f()(an.A,tn);const rn=an.A&&an.A.locals?an.A.locals:void 0;var on=a(91831);function sn(n,e,a){return e in n?Object.defineProperty(n,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[e]=a,n}i().extend(Z());const cn=function(){var n=(0,s.useTranslation)().t,e=(0,b.nS)().selectedDate,a=(0,u.useLayoutType)(),t=(0,u.isDesktop)(a)?"sm":"md";return r().createElement("div",{className:rn.metricsContainer},r().createElement("div",{className:rn.metricsContent},r().createElement(l.$nd,{kind:"tertiary",renderIcon:nn.Vv,size:t,onClick:function(){return(0,u.navigate)({to:"".concat(p.lw,"/appointments/calendar/").concat(i()(e).format("YYYY-MM-DD"))})}},n("appointmentsCalendar","Appointments calendar")),r().createElement(l.$nd,{kind:"primary",renderIcon:function(n){return r().createElement(en.vg,function(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.forEach(function(e){sn(n,e,a[e])})}return n}({size:32},n))},size:t,onClick:function(){return(0,on.Xz)(n)}},n("createNewAppointment","Create new appointment"))))};var pn=a(13422),ln={};ln.styleTagTransform=x(),ln.setAttributes=v(),ln.insert=$().bind(null,"head"),ln.domAPI=A(),ln.insertStyleElement=w(),f()(pn.A,ln);const un=pn.A&&pn.A.locals?pn.A.locals:void 0,dn=function(n){return n.appointmentServiceTypes,r().createElement(r().Fragment,null,r().createElement(cn,null),r().createElement(u.ExtensionSlot,{name:"appointments-metrics-slot",className:un.cardContainer}))},mn=function(){var n=(0,s.useTranslation)().t,e=(0,b.nS)().appointmentServiceTypes,a=(0,c.useParams)();return(0,t.useEffect)(function(){a.date&&(0,b.un)(i()(a.date).startOf("day").format(p.BC))},[a.date]),(0,t.useEffect)(function(){a.serviceType&&(0,b.If)([a.serviceType])},[a.serviceType]),r().createElement(r().Fragment,null,r().createElement(J.A,{title:n("appointments","Appointments"),showServiceTypeFilter:!0}),r().createElement(dn,{appointmentServiceTypes:e}),r().createElement(Q,{appointmentServiceTypes:e}))}},87228:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__appointment-tabs__appointmentList___V\\+34V{margin:1rem}.-esm-appointments__appointment-tabs__appointmentList___V\\+34V>div{background-color:#fff}.-esm-appointments__appointment-tabs__tabs___YRM5u{grid-column:span 2}.-esm-appointments__appointment-tabs__tab___cVfyB{min-width:12rem}.-esm-appointments__appointment-tabs__tab___cVfyB:active,.-esm-appointments__appointment-tabs__tab___cVfyB:focus{outline:2px solid var(--brand-03) !important}.-esm-appointments__appointment-tabs__tab___cVfyB[aria-selected=true]{box-shadow:inset 0 2px 0 0 var(--brand-03) !important}.-esm-appointments__appointment-tabs__tabPanel___Zcoyj{padding:0;margin:1rem}.-esm-appointments__appointment-tabs__calendarButton___pQ803{float:right;position:absolute;right:0;height:3rem;min-height:0}.-esm-appointments__appointment-tabs__downloadButton___33-7W{margin:1rem}.-esm-appointments__appointment-tabs__downloadButton___33-7W>button{border:1px solid #0f62fe}.-esm-appointments__appointment-tabs__downloadLink___vfa-q{text-decoration:none;color:inherit}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/appointments/appointment-tabs.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,+DACE,WC0BW,CDxBX,mEACE,qBDLI,CCSR,mDACE,kBAAA,CAGF,kDACE,eAAA,CAEA,iHAEE,4CAAA,CAGF,sEACE,qDAAA,CAIJ,uDACE,SAAA,CACA,WAAA,CAGF,6DACE,WAAA,CACA,iBAAA,CACA,OAAA,CACA,WCaW,CDZX,YAAA,CAGF,6DACE,WCZW,CDaX,oEACE,wBAAA,CAGJ,2DACE,oBAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.appointmentList {\n margin: layout.$spacing-05;\n\n & > div {\n background-color: $ui-02;\n }\n}\n\n.tabs {\n grid-column: span 2;\n}\n\n.tab {\n min-width: 12rem;\n\n &:active,\n &:focus {\n outline: 2px solid var(--brand-03) !important;\n }\n\n &[aria-selected='true'] {\n box-shadow: inset 0 2px 0 0 var(--brand-03) !important;\n }\n}\n\n.tabPanel {\n padding: 0;\n margin: layout.$spacing-05;\n}\n\n.calendarButton {\n float: right;\n position: absolute;\n right: 0;\n height: layout.$spacing-09;\n min-height: 0;\n}\n\n.downloadButton {\n margin: layout.$spacing-05;\n & > button {\n border: 1px solid colors.$blue-60;\n }\n}\n.downloadLink {\n text-decoration: none;\n color: inherit;\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"],sourceRoot:""}]),i.locals={appointmentList:"-esm-appointments__appointment-tabs__appointmentList___V+34V",tabs:"-esm-appointments__appointment-tabs__tabs___YRM5u",tab:"-esm-appointments__appointment-tabs__tab___cVfyB",tabPanel:"-esm-appointments__appointment-tabs__tabPanel___Zcoyj",calendarButton:"-esm-appointments__appointment-tabs__calendarButton___pQ803",downloadButton:"-esm-appointments__appointment-tabs__downloadButton___33-7W",downloadLink:"-esm-appointments__appointment-tabs__downloadLink___vfa-q"};const s=i}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[1431],{4120:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,".-esm-appointments__scheduled-appointments__switcher___slfHc{margin:1rem 0;max-width:70%}","",{version:3,sources:["webpack://./src/appointments/scheduled/scheduled-appointments.scss"],names:[],mappings:"AAEA,6DACE,aAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n.switcher {\n margin: layout.$spacing-05 0;\n max-width: 70%;\n}\n"],sourceRoot:""}]),i.locals={switcher:"-esm-appointments__scheduled-appointments__switcher___slfHc"};const s=i},13422:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__metrics-container__cardContainer___PR1\\+O{background-color:#fff;display:flex;padding:0 1rem 2rem 1rem;flex-flow:row wrap;margin-top:-0.5rem;gap:1rem}.-esm-appointments__metrics-container__cardContainer___PR1\\+O>*{flex:1 0 0%;min-width:18.75rem}@media(max-width: 20.75rem){.-esm-appointments__metrics-container__cardContainer___PR1\\+O>*:has(.cardWithChildren){order:999}}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/metrics/metrics-container.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,8DACE,qBDDM,CCEN,YAAA,CACA,wBAAA,CACA,kBAAA,CACA,kBAAA,CACA,QCsBW,CDnBb,gEACE,WAAA,CACA,kBAAA,CAGF,4BACE,uFACE,SAAA,CAAA",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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.cardContainer {\n background-color: $ui-02;\n display: flex;\n padding: 0 layout.$spacing-05 layout.$spacing-07 layout.$spacing-05;\n flex-flow: row wrap;\n margin-top: -(layout.$spacing-03);\n gap: layout.$spacing-05;\n}\n\n.cardContainer > * {\n flex: 1 0 0%;\n min-width: 18.75rem;\n}\n\n@media (max-width: calc(layout.$spacing-05 * 2 + 18.75rem)) {\n .cardContainer > *:has(:global(.cardWithChildren)) {\n order: 999;\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"],sourceRoot:""}]),i.locals={cardContainer:"-esm-appointments__metrics-container__cardContainer___PR1+O"};const s=i},31118:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__metrics-header__metricsContainer___OG6Ft{display:flex;background-color:#fff;height:4rem;align-items:center;padding:0 1rem}.-esm-appointments__metrics-header__link___IyBdE{text-decoration:none;display:flex;align-items:center}.-esm-appointments__metrics-header__viewListBtn___wSvwo{margin:0 0 0 .5rem}.-esm-appointments__metrics-header__metricsContent___2Gebb{display:flex;align-items:center;gap:1rem;margin-left:auto}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/metrics/metrics-header.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,6DACE,YAAA,CACA,qBDHM,CCIN,WCiDW,CDhDX,kBAAA,CACA,cAAA,CAGF,iDACE,oBAAA,CACA,YAAA,CACA,kBAAA,CAGF,wDACE,kBAAA,CAGF,2DACE,YAAA,CACA,kBAAA,CACA,QCMW,CDLX,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.metricsContainer {\n display: flex;\n background-color: $ui-02;\n height: layout.$spacing-10;\n align-items: center;\n padding: 0 layout.$spacing-05;\n}\n\n.link {\n text-decoration: none;\n display: flex;\n align-items: center;\n}\n\n.viewListBtn {\n margin: 0 0 0 layout.$spacing-03;\n}\n\n.metricsContent {\n display: flex;\n align-items: center;\n gap: layout.$spacing-05;\n margin-left: auto;\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"],sourceRoot:""}]),i.locals={metricsContainer:"-esm-appointments__metrics-header__metricsContainer___OG6Ft",link:"-esm-appointments__metrics-header__link___IyBdE",viewListBtn:"-esm-appointments__metrics-header__viewListBtn___wSvwo",metricsContent:"-esm-appointments__metrics-header__metricsContent___2Gebb"};const s=i},47331:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__appointments-header__header___9TDaZ{background-color:#fff;border-block:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;padding-right:.5rem}.-esm-appointments__appointments-header__rightJustifiedItems___WVWV2{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;margin:0 .5rem;row-gap:.125rem}html[dir=rtl] .-esm-appointments__appointments-header__date-and-location___Fstmf>svg{order:-1}html[dir=rtl] .-esm-appointments__appointments-header__date-and-location___Fstmf>span:nth-child(2){order:-2}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/header/appointments-header.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,wDACE,qBDHM,CCIN,8BAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,mBCUW,CDPb,qEACE,YAAA,CACA,qBAAA,CACA,oBAAA,CACA,wBAAA,CACA,cAAA,CACA,eCTW,CDeT,qFACE,QAAA,CAEF,mGACE,QAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.header {\n background-color: $ui-02;\n border-block: 1px solid $ui-03;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-right: layout.$spacing-03;\n}\n\n.rightJustifiedItems {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: flex-end;\n margin: 0 layout.$spacing-03;\n row-gap: layout.$spacing-01;\n}\n\n// Overriding styles for RTL support\nhtml[dir='rtl'] {\n .date-and-location {\n & > svg {\n order: -1;\n }\n & > span:nth-child(2) {\n order: -2;\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"],sourceRoot:""}]),i.locals={header:"-esm-appointments__appointments-header__header___9TDaZ",rightJustifiedItems:"-esm-appointments__appointments-header__rightJustifiedItems___WVWV2","date-and-location":"-esm-appointments__appointments-header__date-and-location___Fstmf"};const s=i},47781:(n,e,a)=>{a.d(e,{A:()=>N});var t=a(1343),r=a.n(t),o=a(23464),i=a.n(o),s=a(72339),c=a(35257),p=a(54440),l=a(57691),u=a(71123),d=a(77415),m=a(72591),b=a.n(m),g=a(1740),f=a.n(g),y=a(88128),A=a.n(y),h=a(30855),$=a.n(h),_=a(93051),v=a.n(_),C=a(73656),w=a.n(C),k=a(47331),x={};x.styleTagTransform=w(),x.setAttributes=$(),x.insert=A().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=v(),b()(k.A,x);const E=k.A&&k.A.locals?k.A.locals:void 0,N=function(n){var e,a,o,m,b,g=n.title,f=n.showServiceTypeFilter,y=(0,s.useTranslation)().t,A=(0,d.nS)(),h=A.selectedDate,$=A.appointmentServiceTypes,_=(a=(0,u.Ay)("".concat(p.restBaseUrl,"/appointmentService/all/default"),p.openmrsFetch),o=a.data,m=a.error,b=a.isLoading,{serviceTypes:null!==(e=null==o?void 0:o.data)&&void 0!==e?e:[],isLoading:b,error:m}).serviceTypes,v=(0,t.useCallback)(function(n){var e=n.selectedItems.map(function(n){return n.id});(0,d.If)(e)},[]),C=(0,t.useMemo)(function(){var n;return null!==(n=null==_?void 0:_.map(function(n){return{id:n.uuid,label:n.name}}))&&void 0!==n?n:[]},[_]);return r().createElement(p.PageHeader,{className:E.header,"data-testid":"appointments-header"},r().createElement(p.PageHeaderContent,{illustration:r().createElement(p.AppointmentsPictogram,null),title:g}),r().createElement("div",{className:E.rightJustifiedItems},r().createElement(p.OpenmrsDatePicker,{"data-testid":"appointment-date-picker",id:"appointment-date-picker","aria-label":y("appointmentDate","Appointment date"),onChange:function(n){return(0,d.un)(i()(n).startOf("day").format(l.BC))},value:i()(h).toDate()}),f&&r().createElement(c.KFt,{id:"serviceTypeMultiSelect",items:C,itemToString:function(n){return n?n.label:""},label:y("filterAppointmentsByServiceType","Filter appointments by service type"),onChange:v,type:"inline",selectedItems:C.filter(function(n){return $.includes(n.id)})})))}},81431:(n,e,a)=>{a.r(e),a.d(e,{default:()=>mn});var t=a(1343),r=a.n(t),o=a(23464),i=a.n(o),s=a(72339),c=a(8877),p=a(57691),l=a(35257),u=a(54440),d=a(40515),m=a.n(d),b=a(77415),g=a(72591),f=a.n(g),y=a(1740),A=a.n(y),h=a(88128),$=a.n(h),_=a(30855),v=a.n(_),C=a(93051),w=a.n(C),k=a(73656),x=a.n(k),E=a(4120),N={};N.styleTagTransform=x(),N.setAttributes=v(),N.insert=$().bind(null,"head"),N.domAPI=A(),N.insertStyleElement=w(),f()(E.A,N);const T=E.A&&E.A.locals?E.A.locals:void 0;function B(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}function S(n,e,a){return e in n?Object.defineProperty(n,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[e]=a,n}function D(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,r,o=[],i=!0,s=!1;try{for(a=a.call(n);!(i=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,r=n}finally{try{i||null==a.return||a.return()}finally{if(s)throw r}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return B(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?B(n,e):void 0}}(n,e)||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.")}()}function I(n){return n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n}i().extend(m());var O="scheduled-appointments-panels-slot";function P(n){var e,a,o=n.extension,i=n.currentTab,s=n.appointmentServiceTypes,c=n.date,p=n.dateType,l=n.showExtensionTab,d=n.hideExtensionTab,m=(0,t.useRef)(null),b=(0,t.useRef)(p);return(0,t.useEffect)(function(){(null===m.current||null!==m.current&&!function(n,e){if(Object.is(n,e))return!0;if("object"!==(void 0===n?"undefined":I(n))||null===n||"object"!==(void 0===e?"undefined":I(e))||null===e)return!1;var a=Object.getOwnPropertyNames(n),t=Object.getOwnPropertyNames(e);return a.length===t.length&&a.every(function(a){return n[a]===e[a]})}(m.current,o.config)||b.current!==p)&&(m.current=o.config,b.current=p,function(n,e){if(!n)return!1;switch(e){case"futureDate":var a;return null!==(a=n.showForFutureDate)&&void 0!==a&&a;case"pastDate":var t;return null!==(t=n.showForPastDate)&&void 0!==t&&t;case"today":var r;return null!==(r=n.showForToday)&&void 0!==r&&r}}(null==o?void 0:o.config,p)?l(o.name):d(o.name))},[o,p,l,d]),r().createElement("div",{key:o.name,className:T.container,style:{display:i===o.name?"block":"none"}},r().createElement(u.Extension,{state:{date:c,appointmentServiceTypes:s,status:null===(e=o.config)||void 0===e?void 0:e.status,title:null===(a=o.config)||void 0===a?void 0:a.title}}))}const F=function(n){var e=n.appointmentServiceTypes,a=(0,s.useTranslation)().t,o=(0,b.nS)().selectedDate,c=(0,u.useLayoutType)(),p=(0,u.isDesktop)(c)?"sm":"md",d=D((0,t.useState)(null),2),m=d[0],g=d[1],f=D((0,t.useState)("today"),2),y=f[0],A=f[1],h=(0,u.useConnectedExtensions)(O),$=function(){var n=D((0,t.useReducer)(function(n,e){var a={};switch(e.type){case"show_extension":a[e.extension]=!0;break;case"hide_extension":a[e.extension]=!1}return function(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.forEach(function(e){S(n,e,a[e])})}return n}({},n,a)},{}),2),e=n[0],a=n[1];return{allowedExtensions:e,showExtension:function(n){return a({type:"show_extension",extension:n})},hideExtension:function(n){return a({type:"hide_extension",extension:n})}}}(),_=$.allowedExtensions,v=$.showExtension,C=$.hideExtension,w=(0,t.useCallback)(function(n){var e;return null!==(e=_[n.name])&&void 0!==e&&e},[_]);(0,t.useEffect)(function(){var n=i()(o),e=i()();n.isBefore(e,"date")?A("pastDate"):n.isAfter(e,"date")?A("futureDate"):A("today")},[o]),(0,t.useEffect)(function(){if(_&&(null===m||!_[m])){var n=!0,e=!1,a=void 0;try{for(var t,r=Object.getOwnPropertyNames(_)[Symbol.iterator]();!(n=(t=r.next()).done);n=!0){var o=t.value;if(_[o]){g(o);break}}}catch(n){e=!0,a=n}finally{try{n||null==r.return||r.return()}finally{if(e)throw a}}}},[_,m]);var k,x=h.filter(w);return r().createElement(r().Fragment,null,r().createElement(l.Tps,{className:T.switcher,size:p,onChange:function(n){var e=n.name;return g(e)},selectedIndex:null!==(k=x.findIndex(function(n){return n.name==m}))&&void 0!==k?k:0,selectionMode:"manual"},x.map(function(n){return r().createElement(l.dOG,{key:"panel-".concat(n.name),name:n.name,text:a(n.config.title)})})),r().createElement(u.ExtensionSlot,{name:O},function(n){return r().createElement(P,{appointmentServiceTypes:e,currentTab:m,date:o,dateType:y,extension:n,hideExtensionTab:C,showExtensionTab:v})}))};var j=a(68622),L=a(71123),M=a(95008);var W=a(13219),G=a(70197),V=a(82168);function R(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}function Y(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,r,o=[],i=!0,s=!1;try{for(a=a.call(n);!(i=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,r=n}finally{try{i||null==a.return||a.return()}finally{if(s)throw r}}return o}}(n,e)||function(n,e){if(n){if("string"==typeof n)return R(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?R(n,e):void 0}}(n,e)||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 U=function(){var n,e,a=(0,s.useTranslation)().t,o=Y((0,t.useState)(25),2),i=o[0],c=o[1],p=Y((0,t.useState)(""),2),d=p[0],m=p[1],g=function(){var n,e=(0,b.nS)().selectedDate,a="".concat(u.restBaseUrl,"/appointment/unScheduledAppointment?forDate=").concat(e),t=(0,L.Ay)(a,u.openmrsFetch,{errorRetryCount:2}),r=t.data,o=t.error,i=t.isLoading,s=null==r||null===(n=r.data)||void 0===n?void 0:n.map(function(n){return function(n){var e;return{name:n.name,identifier:null==n||null===(e=n.identifiers)||void 0===e?void 0:e.find(function(n){return n.identifierName===M.Q.patientIdentifierType._default}).identifier,dateTime:null==n?void 0:n.visit.startDateTime,gender:n.gender,phoneNumber:n.phoneNumber,age:n.age,uuid:n.uuid}}(n)});return{isLoading:i,data:null!=s?s:[],error:o}}(),f=g.data,y=g.isLoading,A=(g.error,(0,V.WB)(f,d)),h=(0,u.useConfig)().customPatientChartUrl,$=(0,u.usePagination)(A,i),_=$.results,v=$.currentPage,C=$.goTo,w=null==_?void 0:_.map(function(n){return{id:"".concat(n.uuid),name:r().createElement(u.ConfigurableLink,{style:{textDecoration:"none"},to:h,templateParams:{patientUuid:n.uuid}},n.name),gender:"F"===n.gender?"Female":"Male",phoneNumber:""===n.phoneNumber?"--":n.phoneNumber,identifier:null==n?void 0:n.identifier}});return y?r().createElement(l.OOb,null):(null==f?void 0:f.length)?r().createElement("div",null,r().createElement(l.bQt,{rows:w,headers:[{header:"Patient Name",key:"name"},{header:"Identifier",key:"identifier"},{header:"Gender",key:"gender"},{header:"Phone Number",key:"phoneNumber"}],isSortable:!0},function(n){var e,t=n.rows,o=n.headers,i=n.getHeaderProps,s=n.getTableProps;return r().createElement(l.K3K,{title:"".concat(a("unscheduledAppointments","Unscheduled appointments")," ").concat(f.length),description:"".concat(a("Total ".concat(null!==(e=f.length)&&void 0!==e?e:0)))},r().createElement(l.e1U,null,r().createElement(l.VbH,null,r().createElement(l.w6V,{style:{backgroundColor:"#f4f4f4"},tabIndex:0,onChange:function(n,e){return m(null!=e?e:"")}}),r().createElement(l.$nd,{size:"lg",kind:"tertiary",renderIcon:j.f5,onClick:function(){return(0,W.K)(f)}},a("download","Download")))),r().createElement(l.XIK,s(),r().createElement(l.ndF,null,r().createElement(l.Hjg,null,o.map(function(n){return r().createElement(l.A0N,i({header:n}),n.header)}))),r().createElement(l.BFY,null,t.map(function(n){return r().createElement(l.Hjg,{key:n.id},n.cells.map(function(n){return r().createElement(l.nA6,{key:n.id},n.value)}))}))))}),r().createElement(l.dKS,{backwardText:"Previous page",forwardText:"Next page",page:v,pageNumberText:"Page Number",pageSize:i,onChange:function(n){var e=n.page,a=n.pageSize;C(e),c(a)},pageSizes:null!==(n=(0,V.uB)(f,i))&&void 0!==n?n:[],totalItems:null!==(e=f.length)&&void 0!==e?e:0})):r().createElement(G.p,{displayText:a("unscheduledAppointments_lower","unscheduled appointments"),headerTitle:a("unscheduledAppointments","Unscheduled appointments")})};var z=a(87228),H={};H.styleTagTransform=x(),H.setAttributes=v(),H.insert=$().bind(null,"head"),H.domAPI=A(),H.insertStyleElement=w(),f()(z.A,H);const q=z.A&&z.A.locals?z.A.locals:void 0;function K(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,t=new Array(e);a<e;a++)t[a]=n[a];return t}const Q=function(n){var e,a,o=n.appointmentServiceTypes,i=(0,s.useTranslation)().t,c=(0,u.useConfig)().showUnscheduledAppointmentsTab,p=(e=(0,t.useState)(0),a=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var a=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=a){var t,r,o=[],i=!0,s=!1;try{for(a=a.call(n);!(i=(t=a.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,r=n}finally{try{i||null==a.return||a.return()}finally{if(s)throw r}}return o}}(e,a)||function(n,e){if(n){if("string"==typeof n)return K(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?K(n,e):void 0}}(e,a)||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.")}()),d=p[0],m=p[1];return r().createElement("div",{className:q.appointmentList,"data-testid":"appointment-list"},c?r().createElement("div",{className:q.tabs},r().createElement(l.tUM,{selectedIndex:d,onChange:function(n){var e=n.selectedIndex;m(e)}},r().createElement(l.wbY,{style:{paddingLeft:"1rem"},"aria-label":"Appointment tabs",contained:!0},r().createElement(l.ozo,{className:q.tab},i("scheduled","Scheduled")),r().createElement(l.ozo,{className:q.tab},i("unscheduled","Unscheduled"))),r().createElement(l.T2N,null,r().createElement(l.KpK,{className:q.tabPanel},r().createElement(F,{appointmentServiceTypes:o})),r().createElement(l.KpK,{className:q.tabPanel},r().createElement(U,null))))):r().createElement(F,{appointmentServiceTypes:o}))};var J=a(47781),X=a(85602),Z=a.n(X),nn=a(58466),en=a(43760),an=a(31118),tn={};tn.styleTagTransform=x(),tn.setAttributes=v(),tn.insert=$().bind(null,"head"),tn.domAPI=A(),tn.insertStyleElement=w(),f()(an.A,tn);const rn=an.A&&an.A.locals?an.A.locals:void 0;var on=a(91831);function sn(n,e,a){return e in n?Object.defineProperty(n,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[e]=a,n}i().extend(Z());const cn=function(){var n=(0,s.useTranslation)().t,e=(0,b.nS)().selectedDate,a=(0,u.useLayoutType)(),t=(0,u.isDesktop)(a)?"sm":"md";return r().createElement("div",{className:rn.metricsContainer},r().createElement("div",{className:rn.metricsContent},r().createElement(l.$nd,{kind:"tertiary",renderIcon:nn.Vv,size:t,onClick:function(){return(0,u.navigate)({to:"".concat(p.lw,"/appointments/calendar/").concat(i()(e).format("YYYY-MM-DD"))})}},n("appointmentsCalendar","Appointments calendar")),r().createElement(l.$nd,{kind:"primary",renderIcon:function(n){return r().createElement(en.vg,function(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable}))),t.forEach(function(e){sn(n,e,a[e])})}return n}({size:32},n))},size:t,onClick:function(){return(0,on.Xz)(n)}},n("createNewAppointment","Create new appointment"))))};var pn=a(13422),ln={};ln.styleTagTransform=x(),ln.setAttributes=v(),ln.insert=$().bind(null,"head"),ln.domAPI=A(),ln.insertStyleElement=w(),f()(pn.A,ln);const un=pn.A&&pn.A.locals?pn.A.locals:void 0,dn=function(n){return n.appointmentServiceTypes,r().createElement(r().Fragment,null,r().createElement(cn,null),r().createElement(u.ExtensionSlot,{name:"appointments-metrics-slot",className:un.cardContainer}))},mn=function(){var n=(0,s.useTranslation)().t,e=(0,b.nS)().appointmentServiceTypes,a=(0,c.useParams)();return(0,t.useEffect)(function(){a.date&&(0,b.un)(i()(a.date).startOf("day").format(p.BC))},[a.date]),(0,t.useEffect)(function(){a.serviceType&&(0,b.If)([a.serviceType])},[a.serviceType]),r().createElement(r().Fragment,null,r().createElement(J.A,{title:n("appointments","Appointments"),showServiceTypeFilter:!0}),r().createElement(dn,{appointmentServiceTypes:e}),r().createElement(Q,{appointmentServiceTypes:e}))}},87228:(n,e,a)=>{a.d(e,{A:()=>s});var t=a(30977),r=a.n(t),o=a(95924),i=a.n(o)()(r());i.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__appointment-tabs__appointmentList___V\\+34V{margin:1rem}.-esm-appointments__appointment-tabs__appointmentList___V\\+34V>div{background-color:#fff}.-esm-appointments__appointment-tabs__tabs___YRM5u{grid-column:span 2}.-esm-appointments__appointment-tabs__tab___cVfyB{min-width:12rem}.-esm-appointments__appointment-tabs__tab___cVfyB:active,.-esm-appointments__appointment-tabs__tab___cVfyB:focus{outline:2px solid var(--brand-03) !important}.-esm-appointments__appointment-tabs__tab___cVfyB[aria-selected=true]{box-shadow:inset 0 2px 0 0 var(--brand-03) !important}.-esm-appointments__appointment-tabs__tabPanel___Zcoyj{padding:0;margin:1rem}.-esm-appointments__appointment-tabs__calendarButton___pQ803{float:right;position:absolute;right:0;height:3rem;min-height:0}.-esm-appointments__appointment-tabs__downloadButton___33-7W{margin:1rem}.-esm-appointments__appointment-tabs__downloadButton___33-7W>button{border:1px solid #0f62fe}.-esm-appointments__appointment-tabs__downloadLink___vfa-q{text-decoration:none;color:inherit}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/appointments/appointment-tabs.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,+DACE,WC0BW,CDxBX,mEACE,qBDLI,CCSR,mDACE,kBAAA,CAGF,kDACE,eAAA,CAEA,iHAEE,4CAAA,CAGF,sEACE,qDAAA,CAIJ,uDACE,SAAA,CACA,WAAA,CAGF,6DACE,WAAA,CACA,iBAAA,CACA,OAAA,CACA,WCaW,CDZX,YAAA,CAGF,6DACE,WCZW,CDaX,oEACE,wBAAA,CAGJ,2DACE,oBAAA,CACA,aAAA",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.appointmentList {\n margin: layout.$spacing-05;\n\n & > div {\n background-color: $ui-02;\n }\n}\n\n.tabs {\n grid-column: span 2;\n}\n\n.tab {\n min-width: 12rem;\n\n &:active,\n &:focus {\n outline: 2px solid var(--brand-03) !important;\n }\n\n &[aria-selected='true'] {\n box-shadow: inset 0 2px 0 0 var(--brand-03) !important;\n }\n}\n\n.tabPanel {\n padding: 0;\n margin: layout.$spacing-05;\n}\n\n.calendarButton {\n float: right;\n position: absolute;\n right: 0;\n height: layout.$spacing-09;\n min-height: 0;\n}\n\n.downloadButton {\n margin: layout.$spacing-05;\n & > button {\n border: 1px solid colors.$blue-60;\n }\n}\n.downloadLink {\n text-decoration: none;\n color: inherit;\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"],sourceRoot:""}]),i.locals={appointmentList:"-esm-appointments__appointment-tabs__appointmentList___V+34V",tabs:"-esm-appointments__appointment-tabs__tabs___YRM5u",tab:"-esm-appointments__appointment-tabs__tab___cVfyB",tabPanel:"-esm-appointments__appointment-tabs__tabPanel___Zcoyj",calendarButton:"-esm-appointments__appointment-tabs__calendarButton___pQ803",downloadButton:"-esm-appointments__appointment-tabs__downloadButton___33-7W",downloadLink:"-esm-appointments__appointment-tabs__downloadLink___vfa-q"};const s=i}}]);
package/dist/1431.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"1431.js","mappings":"8MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,4FAA6F,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,sEAAsE,MAAQ,GAAG,SAAW,4BAA4B,eAAiB,CAAC,kGAAkG,WAAa,MAE1ZH,EAAwBI,OAAS,CAChC,SAAY,+DAEb,S,sECPIJ,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,ytBAA0tB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,iDAAiD,8EAA8E,MAAQ,GAAG,SAAW,oNAAoN,eAAiB,CAAC,g/DAAg/D,wgBAAwgB,25DAA25D,WAAa,MAEjoLH,EAAwBI,OAAS,CAChC,cAAiB,+DAElB,S,sECPIJ,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,owBAAqwB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,8CAA8C,8EAA8E,MAAQ,GAA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,YAASO,ECRnE,GAT+D,YAC7D,OADgEW,EAAAA,wBAE9D,oCACE,kBAACwN,GAAaA,MACd,kBAAC1G,EAAAA,cAAaA,CAAC/F,KAAK,4BAA4BE,UAAWC,GAAOuM,gBAGxE,ECqBA,GA3B+B,WAC7B,IAAM,GAAQ7N,EAAAA,EAAAA,kBAANC,EACF,GAA8BC,EAAAA,EAAAA,MAA5BE,wBAEF0N,GAASC,EAAAA,EAAAA,aAcf,OAZArK,EAAAA,EAAAA,WAAU,WACJoK,EAAO7L,OACTC,EAAAA,EAAAA,IAAgBC,IAAM2L,EAAO7L,MAAMG,QAAQ,OAAOC,OAAOC,EAAAA,IAE7D,EAAG,CAACwL,EAAO7L,QAEXyB,EAAAA,EAAAA,WAAU,WACJoK,EAAOE,cACTlN,EAAAA,EAAAA,IAA2B,CAACgN,EAAOE,aAEvC,EAAG,CAACF,EAAOE,cAGT,oCACE,kBAACC,EAAAA,EAAkBA,CAACnO,MAAOG,EAAE,eAAgB,gBAAiBF,uBAAAA,IAC9D,kBAACmO,GAAkBA,CAAC9N,wBAAyBA,IAC7C,kBAAC+N,EAAeA,CAAC/N,wBAAyBA,IAGhD,C,sEChCItB,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,q2CAAs2C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,qDAAqD,8EAA8E,MAAQ,GAAG,SAAW,2UAA2U,eAAiB,CAAC,g/DAAg/D,8zBAA8zB,25DAA25D,WAAa,MAE9rNH,EAAwBI,OAAS,CAChC,gBAAmB,+DACnB,KAAQ,oDACR,IAAO,mDACP,SAAY,wDACZ,eAAkB,8DAClB,eAAkB,8DAClB,aAAgB,6DAEjB,S","sources":["webpack://@openmrs/esm-appointments-app/./src/appointments/scheduled/scheduled-appointments.scss","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-container.scss","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-header.scss","webpack://@openmrs/esm-appointments-app/./src/header/appointments-header.scss","webpack://@openmrs/esm-appointments-app/./src/header/appointments-header.scss?a6d7","webpack://@openmrs/esm-appointments-app/./src/header/appointments-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentService.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/scheduled/scheduled-appointments.scss?7861","webpack://@openmrs/esm-appointments-app/./src/appointments/scheduled/scheduled-appointments.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/unscheduled/unscheduled-appointments.component.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useUnscheduledAppointments.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/appointment-tabs.scss?6e03","webpack://@openmrs/esm-appointments-app/./src/appointments/appointment-tabs.component.tsx","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-header.scss?0320","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-container.scss?345c","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-container.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/appointment-tabs.scss"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","data","useSWR","error","isLoading","title","showServiceTypeFilter","useTranslation","t","useAppointmentsStore","selectedDate","appointmentServiceTypes","restBaseUrl","openmrsFetch","serviceTypes","handleChangeServiceTypeFilter","useCallback","selectedUuids","selectedItems","map","item","setAppointmentServiceTypes","serviceTypeOptions","useMemo","uuid","label","name","PageHeader","className","styles","header","data-testid","PageHeaderContent","illustration","AppointmentsPictogram","div","rightJustifiedItems","OpenmrsDatePicker","aria-label","onChange","date","setSelectedDate","dayjs","startOf","format","omrsDateFormat","value","toDate","MultiSelect","items","itemToString","type","filter","includes","isSameOrBefore","scheduledAppointmentsPanelsSlot","ExtensionWrapper","extension","currentTab","dateType","showExtensionTab","hideExtensionTab","currentConfig","useRef","currentDateType","useEffect","current","objA","objB","Object","is","objAKeys","getOwnPropertyNames","objBKeys","length","every","key","shallowEqual","config","showForFutureDate","showForPastDate","showForToday","shouldDisplayExtensionTab","container","style","display","Extension","state","status","layout","useLayoutType","responsiveSize","isDesktop","useState","setCurrentTab","setDateType","scheduledAppointmentPanels","useConnectedExtensions","useAllowedExtensions","useReducer","action","addedState","allowedExtensions","dispatch","showExtension","hideExtension","shouldShowPanel","panel","dayjsDate","now","isBefore","isAfter","panelsToShow","ContentSwitcher","switcher","size","selectedIndex","findIndex","selectionMode","Switch","text","ExtensionSlot","getPageSizes","unscheduledAppointments","pageSize","setPageSize","searchString","setSearchString","useUnscheduledAppointments","url","errorRetryCount","appointments","appointment","identifier","identifiers","find","identifierName","configSchema","patientIdentifierType","_default","dateTime","visit","startDateTime","gender","phoneNumber","age","toAppointmentObject","searchResults","useSearchResults","useConfig","customPatientChartUrl","usePagination","results","currentPage","goTo","rowData","ConfigurableLink","textDecoration","to","templateParams","patientUuid","DataTableSkeleton","DataTable","rows","headers","isSortable","getHeaderProps","getTableProps","TableContainer","description","TableToolbar","TableToolbarContent","TableToolbarSearch","backgroundColor","tabIndex","event","target","Button","kind","renderIcon","Download","onClick","exportUnscheduledAppointmentsToSpreadsheet","Table","TableHead","TableRow","TableHeader","TableBody","row","cells","cell","TableCell","Pagination","backwardText","forwardText","page","pageNumberText","pageSizes","totalItems","EmptyState","displayText","headerTitle","showUnscheduledAppointmentsTab","activeTabIndex","setActiveTabIndex","appointmentList","Tabs","tabs","TabList","paddingLeft","contained","Tab","tab","TabPanels","TabPanel","tabPanel","ScheduledAppointments","UnscheduledAppointments","isToday","metricsContainer","metricsContent","Calendar","navigate","spaHomePage","props","Hospital","launchCreateAppointmentForm","MetricsHeader","cardContainer","params","useParams","serviceType","AppointmentsHeader","AppointmentMetrics","AppointmentTabs"],"sourceRoot":""}
1
+ {"version":3,"file":"1431.js","mappings":"8MAGIA,E,MAA0B,G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OG,EAAE,eAAgB,gBAAiBF,uBAAAA,IAC9D,kBAACkO,GAAkBA,CAAC7N,wBAAyBA,IAC7C,kBAAC8N,EAAeA,CAAC9N,wBAAyBA,IAGhD,C,sEChCItB,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,q2CAAs2C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,qDAAqD,8EAA8E,MAAQ,GAAG,SAAW,2UAA2U,eAAiB,CAAC,g/DAAg/D,8zBAA8zB,25DAA25D,WAAa,MAE9rNH,EAAwBI,OAAS,CAChC,gBAAmB,+DACnB,KAAQ,oDACR,IAAO,mDACP,SAAY,wDACZ,eAAkB,8DAClB,eAAkB,8DAClB,aAAgB,6DAEjB,S","sources":["webpack://@openmrs/esm-appointments-app/./src/appointments/scheduled/scheduled-appointments.scss","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-container.scss","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-header.scss","webpack://@openmrs/esm-appointments-app/./src/header/appointments-header.scss","webpack://@openmrs/esm-appointments-app/./src/header/appointments-header.scss?a6d7","webpack://@openmrs/esm-appointments-app/./src/header/appointments-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useAppointmentService.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/scheduled/scheduled-appointments.scss?7861","webpack://@openmrs/esm-appointments-app/./src/appointments/scheduled/scheduled-appointments.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/unscheduled/unscheduled-appointments.component.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useUnscheduledAppointments.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/appointment-tabs.scss?6e03","webpack://@openmrs/esm-appointments-app/./src/appointments/appointment-tabs.component.tsx","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-header.scss?0320","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-header.component.tsx","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-container.scss?345c","webpack://@openmrs/esm-appointments-app/./src/metrics/metrics-container.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/appointment-tabs.scss"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","data","useSWR","error","isLoading","title","showServiceTypeFilter","useTranslation","t","useAppointmentsStore","selectedDate","appointmentServiceTypes","restBaseUrl","openmrsFetch","serviceTypes","handleChangeServiceTypeFilter","useCallback","selectedUuids","selectedItems","map","item","setAppointmentServiceTypes","serviceTypeOptions","useMemo","uuid","label","name","PageHeader","className","styles","header","data-testid","PageHeaderContent","illustration","AppointmentsPictogram","div","rightJustifiedItems","OpenmrsDatePicker","aria-label","onChange","date","setSelectedDate","dayjs","startOf","format","omrsDateFormat","value","toDate","MultiSelect","items","itemToString","type","filter","includes","isSameOrBefore","scheduledAppointmentsPanelsSlot","ExtensionWrapper","extension","currentTab","dateType","showExtensionTab","hideExtensionTab","currentConfig","useRef","currentDateType","useEffect","current","objA","objB","Object","is","objAKeys","getOwnPropertyNames","objBKeys","length","every","key","shallowEqual","config","showForFutureDate","showForPastDate","showForToday","shouldDisplayExtensionTab","container","style","display","Extension","state","status","layout","useLayoutType","responsiveSize","isDesktop","useState","setCurrentTab","setDateType","scheduledAppointmentPanels","useConnectedExtensions","useAllowedExtensions","useReducer","action","addedState","allowedExtensions","dispatch","showExtension","hideExtension","shouldShowPanel","panel","dayjsDate","now","isBefore","isAfter","panelsToShow","ContentSwitcher","switcher","size","selectedIndex","findIndex","selectionMode","Switch","text","ExtensionSlot","getPageSizes","unscheduledAppointments","pageSize","setPageSize","searchString","setSearchString","useUnscheduledAppointments","url","errorRetryCount","appointments","appointment","identifier","identifiers","find","identifierName","configSchema","patientIdentifierType","_default","dateTime","visit","startDateTime","gender","phoneNumber","age","toAppointmentObject","searchResults","useSearchResults","useConfig","customPatientChartUrl","usePagination","results","currentPage","goTo","rowData","ConfigurableLink","textDecoration","to","templateParams","patientUuid","DataTableSkeleton","DataTable","rows","headers","isSortable","getHeaderProps","getTableProps","TableContainer","description","TableToolbar","TableToolbarContent","TableToolbarSearch","backgroundColor","tabIndex","_","Button","kind","renderIcon","Download","onClick","exportUnscheduledAppointmentsToSpreadsheet","Table","TableHead","TableRow","TableHeader","TableBody","row","cells","cell","TableCell","Pagination","backwardText","forwardText","page","pageNumberText","pageSizes","totalItems","EmptyState","displayText","headerTitle","showUnscheduledAppointmentsTab","activeTabIndex","setActiveTabIndex","appointmentList","tabs","Tabs","TabList","paddingLeft","contained","Tab","tab","TabPanels","TabPanel","tabPanel","ScheduledAppointments","UnscheduledAppointments","isToday","metricsContainer","metricsContent","Calendar","navigate","spaHomePage","props","Hospital","launchCreateAppointmentForm","MetricsHeader","cardContainer","params","useParams","serviceType","AppointmentsHeader","AppointmentMetrics","AppointmentTabs"],"sourceRoot":""}
package/dist/4300.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[4300],{34300:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noEncountersFound":"No encounters found","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","vitals":"Vitals","WED":"WED","week":"Week","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[4300],{34300:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointment":"Appointment","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentConflict":"Appointment conflict","appointmentDate":"Appointment date","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createNewAppointment":"Create new appointment","date":"Date","dateAppointmentIssued":"Date appointment issued","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateAppointmentScheduled":"Date appointment scheduled","dateOfBirth":"Date of birth","dateRange":"Set date range","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","edit":"Edit","editAppointment":"Edit appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","expected":"Expected","failedToLoadMetrics":"Failed to load","filterAppointments":"Filter appointments","filterAppointmentsByServiceType":"Filter appointments by service type","filterTable":"Filter table","FRI":"FRI","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","highestServiceVolumeCardTitle":"Highest volume service","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","metricLoadErrorMessage":"Please contact your system administrator if the problem persists.","missed":"Missed","MON":"MON","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noMatchingAppointments":"No matching appointments found","noPastAppointments":"There are no past appointments to display for this patient","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","SAT":"SAT","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","service":"Service","serviceName":"Service name","serviceType":"Service type","serviceUnavailable":"Appointment time is outside of service hours","status":"Status","SUN":"SUN","THUR":"THUR","time":"Time","today":"Today","todays":"Today\'s","TUE":"TUE","type":"Type","unknownError":"An unknown error occurred","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","WED":"WED","week":"Week","yes":"Yes"}')}}]);