@kenyaemr/esm-service-queues-app 7.0.3-pre.88 → 7.0.3-pre.94

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.
Files changed (186) hide show
  1. package/.turbo/turbo-build.log +18 -17
  2. package/dist/130.js +1 -1
  3. package/dist/130.js.map +1 -1
  4. package/dist/199.js +1 -1
  5. package/dist/236.js +1 -0
  6. package/dist/236.js.map +1 -0
  7. package/dist/265.js +1 -0
  8. package/dist/265.js.map +1 -0
  9. package/dist/271.js +1 -1
  10. package/dist/282.js +1 -0
  11. package/dist/282.js.map +1 -0
  12. package/dist/319.js +1 -1
  13. package/dist/366.js +1 -0
  14. package/dist/366.js.map +1 -0
  15. package/dist/392.js +1 -0
  16. package/dist/392.js.map +1 -0
  17. package/dist/460.js +1 -1
  18. package/dist/484.js +2 -0
  19. package/dist/484.js.map +1 -0
  20. package/dist/574.js +1 -1
  21. package/dist/6.js +1 -1
  22. package/dist/604.js +1 -0
  23. package/dist/604.js.map +1 -0
  24. package/dist/644.js +1 -1
  25. package/dist/670.js +1 -0
  26. package/dist/670.js.map +1 -0
  27. package/dist/727.js +1 -0
  28. package/dist/727.js.map +1 -0
  29. package/dist/752.js +1 -1
  30. package/dist/757.js +1 -1
  31. package/dist/760.js +1 -0
  32. package/dist/760.js.map +1 -0
  33. package/dist/788.js +1 -1
  34. package/dist/800.js +1 -1
  35. package/dist/807.js +1 -1
  36. package/dist/818.js +1 -0
  37. package/dist/818.js.map +1 -0
  38. package/dist/828.js +1 -1
  39. package/dist/833.js +1 -1
  40. package/dist/911.js +1 -0
  41. package/dist/911.js.map +1 -0
  42. package/dist/kenyaemr-esm-service-queues-app.js +1 -1
  43. package/dist/kenyaemr-esm-service-queues-app.js.buildmanifest.json +160 -160
  44. package/dist/kenyaemr-esm-service-queues-app.js.map +1 -1
  45. package/dist/main.js +1 -1
  46. package/dist/main.js.map +1 -1
  47. package/dist/routes.json +1 -1
  48. package/package.json +1 -1
  49. package/src/active-visits/active-visits-table.resource.ts +1 -1
  50. package/src/active-visits/change-status-dialog.scss +11 -11
  51. package/src/active-visits/change-status-dialog.test.tsx +36 -31
  52. package/src/add-patient-toqueue/add-patient-toqueue-dialog.scss +10 -10
  53. package/src/add-provider-queue-room/add-provider-queue-room.component.tsx +4 -4
  54. package/src/add-provider-queue-room/add-provider-queue-room.resource.ts +2 -2
  55. package/src/add-provider-queue-room/add-provider-queue-room.scss +6 -6
  56. package/src/add-provider-queue-room/add-provider-queue-room.test.tsx +44 -38
  57. package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.component.tsx +1 -1
  58. package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.scss +2 -3
  59. package/src/clear-queue-entries-dialog/clear-queue-entries-dialog.test.tsx +15 -15
  60. package/src/config-schema.ts +84 -84
  61. package/src/current-visit/current-visit-summary.component.tsx +1 -1
  62. package/src/current-visit/current-visit-summary.test.tsx +12 -11
  63. package/src/current-visit/current-visit.resource.ts +1 -1
  64. package/src/current-visit/current-visit.scss +4 -4
  65. package/src/current-visit/hooks/useVitalsConceptMetadata.tsx +1 -1
  66. package/src/current-visit/visit-details/triage-note.scss +11 -11
  67. package/src/helpers/helpers.test.ts +24 -0
  68. package/src/helpers/helpers.ts +41 -14
  69. package/src/home.test.tsx +10 -12
  70. package/src/hooks/useQueueService.ts +16 -10
  71. package/src/past-visit/past-visit-details/past-visit-summary.scss +8 -8
  72. package/src/past-visit/past-visit.component.tsx +1 -1
  73. package/src/past-visit/past-visit.resource.ts +1 -1
  74. package/src/past-visit/past-visit.scss +17 -17
  75. package/src/past-visit/past-visit.test.tsx +8 -13
  76. package/src/patient-info/appointment-details.scss +7 -7
  77. package/src/patient-info/appointment-details.test.tsx +11 -6
  78. package/src/patient-info/appointments.resource.ts +1 -1
  79. package/src/patient-info/patient-info.scss +9 -9
  80. package/src/patient-info/patient-info.test.tsx +3 -14
  81. package/src/patient-queue-header/patient-queue-header.component.tsx +4 -1
  82. package/src/patient-queue-header/patient-queue-header.scss +11 -11
  83. package/src/patient-queue-metrics/clinic-metrics.component.tsx +1 -1
  84. package/src/patient-queue-metrics/clinic-metrics.resource.ts +2 -2
  85. package/src/patient-queue-metrics/clinic-metrics.scss +4 -4
  86. package/src/patient-queue-metrics/clinic-metrics.test.tsx +40 -45
  87. package/src/patient-queue-metrics/metrics-card.scss +11 -11
  88. package/src/patient-queue-metrics/metrics-header.scss +2 -2
  89. package/src/patient-search/advanced-search.scss +27 -27
  90. package/src/patient-search/advanced-search.test.tsx +6 -9
  91. package/src/patient-search/basic-search.scss +14 -14
  92. package/src/patient-search/basic-search.test.tsx +2 -7
  93. package/src/patient-search/hooks/useDefaultLocation.ts +1 -1
  94. package/src/patient-search/hooks/useQueueLocations.tsx +1 -0
  95. package/src/patient-search/hooks/useScheduledVisits.ts +1 -1
  96. package/src/patient-search/patient-scheduled-visits.component.tsx +4 -4
  97. package/src/patient-search/patient-scheduled-visits.scss +17 -17
  98. package/src/patient-search/patient-scheduled-visits.test.tsx +18 -23
  99. package/src/patient-search/patient-search.scss +7 -7
  100. package/src/patient-search/patient-search.workspace.tsx +4 -4
  101. package/src/patient-search/search-results.scss +11 -11
  102. package/src/patient-search/search-results.test.tsx +2 -10
  103. package/src/patient-search/visit-form/visit-form.scss +12 -13
  104. package/src/patient-search/visit-form/visit-type-selector.component.tsx +9 -11
  105. package/src/patient-search/visit-form/visit-type-selector.scss +13 -13
  106. package/src/patient-search/visit-form/visit-type-selector.test.tsx +4 -3
  107. package/src/patient-search/visit-form-queue-fields/visit-form-queue-fields.scss +1 -3
  108. package/src/patient-search/visit-form-queue-fields/visit-form-queue-fields.test.tsx +15 -9
  109. package/src/queue-entry-table-components/edit-entry.scss +1 -1
  110. package/src/queue-entry-table-components/queue-priority.scss +3 -4
  111. package/src/queue-entry-table-components/transition-entry.scss +1 -1
  112. package/src/queue-patient-linelists/queue-linelist-base-table.scss +16 -17
  113. package/src/queue-patient-linelists/queue-linelist-base-table.test.tsx +7 -8
  114. package/src/queue-patient-linelists/queue-linelist-filter.scss +13 -13
  115. package/src/queue-patient-linelists/queue-linelist-filter.test.tsx +9 -6
  116. package/src/queue-patient-linelists/queue-linelist.resource.ts +4 -4
  117. package/src/queue-patient-linelists/scheduled-appointments-table.test.tsx +10 -7
  118. package/src/queue-rooms/queue-room-form.scss +13 -13
  119. package/src/queue-rooms/queue-room-form.test.tsx +10 -8
  120. package/src/queue-screen/queue-screen.scss +6 -4
  121. package/src/queue-screen/queue-screen.test.tsx +6 -6
  122. package/src/queue-services/queue-service-form.scss +13 -13
  123. package/src/queue-services/queue-service-form.test.tsx +15 -8
  124. package/src/queue-table/cells/queue-table-action-cell.component.tsx +2 -2
  125. package/src/queue-table/cells/queue-table-coming-from-cell.component.tsx +1 -1
  126. package/src/queue-table/default-queue-table.component.tsx +63 -61
  127. package/src/queue-table/default-queue-table.test.tsx +61 -61
  128. package/src/queue-table/queue-entry-actions/queue-entry-actions-modal.scss +36 -0
  129. package/src/queue-table/queue-entry-actions/queue-entry-actions.modal.tsx +30 -10
  130. package/src/queue-table/queue-entry-actions/queue-entry-actions.test.tsx +34 -103
  131. package/src/queue-table/queue-entry-actions/queue-entry-confirm-action.test.tsx +42 -25
  132. package/src/queue-table/queue-entry-actions/queue-entry-undo-actions.test.tsx +19 -14
  133. package/src/queue-table/queue-table-by-status-skeleton.component.tsx +1 -5
  134. package/src/queue-table/queue-table-expanded-row.component.tsx +1 -2
  135. package/src/queue-table/queue-table-metrics-card.scss +7 -7
  136. package/src/queue-table/queue-table-metrics.scss +3 -3
  137. package/src/queue-table/queue-table.component.tsx +8 -11
  138. package/src/queue-table/queue-table.scss +32 -26
  139. package/src/queue-table/queue-table.test.tsx +46 -21
  140. package/src/remove-queue-entry-dialog/remove-queue-entry.resource.ts +1 -1
  141. package/src/remove-queue-entry-dialog/remove-queue-entry.scss +2 -2
  142. package/src/remove-queue-entry-dialog/remove-queue-entry.test.tsx +13 -12
  143. package/src/side-menu/side-menu.test.tsx +0 -1
  144. package/src/transition-queue-entry/transition-queue-entry-dialog.component.tsx +1 -1
  145. package/src/transition-queue-entry/transition-queue-entry-dialog.scss +5 -5
  146. package/src/transition-queue-entry/transition-queue-entry-dialog.test.tsx +33 -44
  147. package/src/views/queue-tables-for-all-statuses.component.tsx +14 -14
  148. package/src/visits-missing-inqueue/visits-missing-inqueue.component.tsx +1 -1
  149. package/src/visits-missing-inqueue/visits-missing-inqueue.resource.ts +1 -1
  150. package/src/visits-missing-inqueue/visits-missing-inqueue.scss +17 -14
  151. package/translations/am.json +4 -2
  152. package/translations/ar.json +4 -2
  153. package/translations/en.json +1 -0
  154. package/translations/es.json +4 -2
  155. package/translations/fr.json +39 -37
  156. package/translations/he.json +4 -2
  157. package/translations/km.json +4 -2
  158. package/translations/zh.json +4 -2
  159. package/translations/zh_CN.json +4 -2
  160. package/dist/276.js +0 -1
  161. package/dist/276.js.map +0 -1
  162. package/dist/384.js +0 -2
  163. package/dist/384.js.map +0 -1
  164. package/dist/401.js +0 -1
  165. package/dist/401.js.map +0 -1
  166. package/dist/430.js +0 -1
  167. package/dist/430.js.map +0 -1
  168. package/dist/60.js +0 -1
  169. package/dist/60.js.map +0 -1
  170. package/dist/600.js +0 -1
  171. package/dist/600.js.map +0 -1
  172. package/dist/647.js +0 -1
  173. package/dist/647.js.map +0 -1
  174. package/dist/650.js +0 -1
  175. package/dist/650.js.map +0 -1
  176. package/dist/669.js +0 -1
  177. package/dist/669.js.map +0 -1
  178. package/dist/764.js +0 -1
  179. package/dist/764.js.map +0 -1
  180. package/dist/877.js +0 -1
  181. package/dist/877.js.map +0 -1
  182. package/dist/917.js +0 -1
  183. package/dist/917.js.map +0 -1
  184. package/src/queue-table/queue-entry-actions/queue-entry-actons-modal.scss +0 -36
  185. package/src/root.scss +0 -15
  186. /package/dist/{384.js.LICENSE.txt → 484.js.LICENSE.txt} +0 -0
package/dist/282.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[282],{8051:(e,n,t)=>{t.d(n,{Z:()=>r});var a=t(5698),i=t.n(a),o=t(9613),s=t.n(o)()(i());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-service-queues__queue-entry-actions-modal__radioButtonGroup___CC\\+6c{display:flex;flex-direction:column;align-items:flex-start;margin-top:.5rem;min-height:4rem;width:100%;font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-service-queues__queue-entry-actions-modal__radioButton___-BIil{padding:.25rem .25rem;margin:.5rem 0}section{margin:.5rem}.-esm-service-queues__queue-entry-actions-modal__sectionTitle___z8gWz{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.75rem}.-esm-service-queues__queue-entry-actions-modal__queueEntryActionModalBody___T7-Gm{padding-bottom:1rem}.-esm-service-queues__queue-entry-actions-modal__dateTimeFields___MRdmA{display:flex}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/queue-table/queue-entry-actions/queue-entry-actions-modal.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,2EACE,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,gBCaW,CDZX,eC+CW,CD9CX,UAAA,CEw1BE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFp1BJ,qEACE,qBAAA,CACA,cAAA,CAGF,QACE,YCCW,CDEb,sEE20BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFz0BF,aDpBQ,CCqBR,oBAAA,CAGF,mFACE,mBCCW,CDEb,wEACE,YAAA",sourcesContent:["$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: 4rem;\n --workspace-header-height: 3rem;\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.radioButtonGroup {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-top: layout.$spacing-03;\n min-height: layout.$spacing-10;\n width: 100%;\n @include type.type-style('body-compact-01');\n}\n\n.radioButton {\n padding: layout.$spacing-02 layout.$spacing-02;\n margin: layout.$spacing-03 0;\n}\n\nsection {\n margin: layout.$spacing-03;\n}\n\n.sectionTitle {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-04;\n}\n\n.queueEntryActionModalBody {\n padding-bottom: layout.$spacing-05;\n}\n\n.dateTimeFields {\n display: flex;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={radioButtonGroup:"-esm-service-queues__queue-entry-actions-modal__radioButtonGroup___CC+6c",radioButton:"-esm-service-queues__queue-entry-actions-modal__radioButton___-BIil",sectionTitle:"-esm-service-queues__queue-entry-actions-modal__sectionTitle___z8gWz",queueEntryActionModalBody:"-esm-service-queues__queue-entry-actions-modal__queueEntryActionModalBody___T7-Gm",dateTimeFields:"-esm-service-queues__queue-entry-actions-modal__dateTimeFields___MRdmA"};const r=s},9363:(e,n,t)=>{t.d(n,{Z:()=>B});var a=t(5206),i=t.n(a),o=t(8879),s=t.n(o),r=t(7773),l=t(4924),c=t(2870),p=t(8179),u=t(88),d=t(1325),g=t(2312),f=t(6062),y=t.n(f),h=t(4036),m=t.n(h),b=t(6793),$=t.n(b),v=t(7892),w=t.n(v),x=t(1173),k=t.n(x),A=t(2464),z=t.n(A),C=t(8051),T={};T.styleTagTransform=z(),T.setAttributes=w(),T.insert=$().bind(null,"head"),T.domAPI=m(),T.insertStyleElement=k(),y()(C.Z,T);const M=C.Z&&C.Z.locals?C.Z.locals:void 0;function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function E(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function q(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){E(e,n,t[n])}))}return e}function D(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}function S(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,o=[],s=!0,r=!1;try{for(t=t.call(e);!(s=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);s=!0);}catch(e){r=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(r)throw i}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return _(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const B=function(e){var n,t,o,f,y,h,m,b=e.queueEntry,$=e.closeModal,v=e.modalParams,w=(0,l.useTranslation)().t,x=(0,d.Qd)().mutateQueueEntries,k=v.modalTitle,A=v.modalInstruction,z=v.submitButtonText,C=v.submitSuccessTitle,T=v.submitSuccessText,_=v.submitFailureTitle,E=v.submitAction,B=v.disableSubmit,P=v.isTransition?new Date:new Date(b.startedAt),F=S((0,a.useState)({selectedQueue:b.queue.uuid,selectedPriority:b.priority.uuid,selectedStatus:b.status.uuid,prioritycomment:null!==(m=b.priorityComment)&&void 0!==m?m:"",modifyDefaultTransitionDateTime:!1,transitionDate:P,transitionTime:s()(P).format("hh:mm"),transitionTimeFormat:s()(P).hour()<12?"AM":"PM"}),2),N=F[0],O=F[1],I=(0,g.y)().queues,j=S((0,a.useState)(!1),2),Q=j[0],G=j[1],U=I.find((function(e){return e.uuid==N.selectedQueue})),V=null===(n=U)||void 0===n?void 0:n.allowedStatuses,W=U&&0==V.length,R=null===(t=U)||void 0===t?void 0:t.allowedPriorities,Z=U&&0==R.length,L=(0,a.useMemo)((function(){var e,n=new Date,t=new Date(N.transitionDate),a=S((0,u.A)(N.transitionTime,N.transitionTimeFormat),2),i=a[0],o=a[1];t.setHours(i,o,0,0);var s=null===(e=b.previousQueueEntry)||void 0===e?void 0:e.startedAt,r=s?new Date(s):null;return t>n?w("timeCannotBeInFuture","Time cannot be in the future"):t<=r?w("timeCannotBePriorToPreviousQueueEntry","Time cannot be before start of previous queue entry: {{time}}",{time:r.toLocaleString(),interpolation:{escapeValue:!1}}):null}),[N.transitionDate,N.transitionTime,N.transitionTimeFormat,w]),H=null===(o=R)||void 0===o?void 0:o.findIndex((function(e){return e.uuid==N.selectedPriority}));return i().createElement(i().Fragment,null,i().createElement(r.xBx,{closeModal:$,title:k}),i().createElement(r.fef,null,i().createElement("div",{className:M.queueEntryActionModalBody},i().createElement(r.Kqy,{gap:4},i().createElement("h5",null,b.display),i().createElement("p",null,A),i().createElement("section",{className:M.section},i().createElement("div",{className:M.sectionTitle},w("serviceQueue","Service queue")),i().createElement(r.PhF,{labelText:w("selectQueue","Select a queue"),id:"queue",invalidText:"Required",value:N.selectedQueue,onChange:function(e){return n=e.target.value,o=(i=I.find((function(e){return e.uuid==n}))).allowedStatuses,s=i.allowedPriorities,r=o.find((function(e){return e.uuid==N.selectedStatus})),l=s.find((function(e){return e.uuid==N.selectedPriority})),void O(D(q({},N),{selectedQueue:n,selectedStatus:r?N.selectedStatus:null===(t=o[0])||void 0===t?void 0:t.uuid,selectedPriority:l?N.selectedPriority:null===(a=s[0])||void 0===a?void 0:a.uuid}));var n,t,a,i,o,s,r,l}},null===(f=I)||void 0===f?void 0:f.map((function(e){var n,t,a=e.uuid,o=e.display,s=e.location;return i().createElement(r.QlF,{key:a,text:a==b.queue.uuid?w("currentValueFormatted","{{value}} (Current)",{value:"".concat(o," - ").concat(null===(n=s)||void 0===n?void 0:n.display),interpolation:{escapeValue:!1}}):"".concat(o," - ").concat(null===(t=s)||void 0===t?void 0:t.display),value:a})})))),i().createElement("section",null,i().createElement("div",{className:M.sectionTitle},w("queueStatus","Queue status")),W?i().createElement(r.K0D,{kind:"error",lowContrast:!0,subtitle:w("configureStatus","Please configure status to continue."),title:w("noStatusConfigured","No status configured")}):i().createElement(r.SYO,{name:"status",valueSelected:N.selectedStatus,onChange:function(e){var n;n=e,O(D(q({},N),{selectedStatus:n}))}},null===(y=V)||void 0===y?void 0:y.map((function(e){var n=e.uuid,t=e.display;return i().createElement(r.EUY,{key:n,name:t,labelText:n==b.status.uuid?w("currentValueFormatted","{{value}} (Current)",{value:t,interpolation:{escapeValue:!1}}):t,value:n})})))),i().createElement("section",{className:M.section},i().createElement("div",{className:M.sectionTitle},w("queuePriority","Queue priority")),Z?i().createElement(r.K0D,{className:M.inlineNotification,kind:"error",lowContrast:!0,subtitle:w("configurePriorities","Please configure priorities to continue."),title:w("noPrioritiesConfigured","No priorities configured")}):i().createElement(r.GHR,{size:"sm",selectedIndex:H,onChange:function(e){var n;n=e.name,O(D(q({},N),{selectedPriority:n}))}},null===(h=R)||void 0===h?void 0:h.map((function(e){var n=e.uuid,t=e.display;return i().createElement(r.rsf,{role:"radio",name:n,text:n==b.priority.uuid?w("currentValueFormatted","{{value}} (Current)",{value:t,interpolation:{escapeValue:!1}}):t,key:n,value:n})})))),i().createElement("section",{className:M.section},i().createElement("div",{className:M.sectionTitle},w("priorityComment","Priority comment")),i().createElement(r.Kx8,{labelText:"",value:N.prioritycomment,onChange:function(e){return n=e.target.value,void O(D(q({},N),{prioritycomment:n}));var n},placeholder:w("enterCommentHere","Enter comment here")})),i().createElement("section",{className:M.section},i().createElement("div",{className:M.sectionTitle},w("timeOfTransition","Time of transition")),i().createElement(r.XZJ,{labelText:w("modifyDefaultValue","Modify default value"),id:"modifyTransitionTime",checked:N.modifyDefaultTransitionDateTime,onChange:function(e,n){var t;t=n.checked,O(D(q({},N),{modifyDefaultTransitionDateTime:t}))}}),i().createElement("div",{className:M.dateTimeFields},i().createElement(r.Mtg,{datePickerType:"single",dateFormat:p.eJ,value:N.transitionDate,maxDate:(new Date).setHours(23,59,59,59),onChange:function(e){var n;n=S(e,1)[0],O(D(q({},N),{transitionDate:n}))}},i().createElement(r.aj6,{id:"datePickerInput",labelText:w("date","Date"),placeholder:p.rQ,disabled:!N.modifyDefaultTransitionDateTime})),i().createElement(r.jII,{labelText:w("time","Time"),onChange:function(e){return n=e.target.value,void O(D(q({},N),{transitionTime:n}));var n},pattern:p.ox,value:N.transitionTime,invalid:null!=L,invalidText:L,disabled:!N.modifyDefaultTransitionDateTime},i().createElement(r.M6n,{id:"visitStartTimeSelect",onChange:function(e){return n=e.target.value,void O(D(q({},N),{transitionTimeFormat:n}));var n},value:N.transitionTimeFormat,labelText:w("time","Time"),"aria-label":w("time","Time")},i().createElement(r.QlF,{value:"AM",text:"AM"}),i().createElement(r.QlF,{value:"PM",text:"PM"})))))))),i().createElement(r.mzw,null,i().createElement(r.zxk,{kind:"secondary",onClick:$},w("cancel","Cancel")),i().createElement(r.zxk,{disabled:Q||B(b,N),onClick:function(e){e.preventDefault(),G(!0),E(b,N).then((function(e){if(200!==e.status)throw{message:w("unexpectedServerResponse","Unexpected Server Response")};(0,c.showSnackbar)({isLowContrast:!0,title:C,kind:"success",subtitle:T}),x(),$()})).catch((function(e){var n;(0,c.showSnackbar)({title:_,kind:"error",subtitle:null===(n=e)||void 0===n?void 0:n.message})})).finally((function(){G(!1)}))}},z)))}},7702:(e,n,t)=>{t.d(n,{VK:()=>s,hu:()=>r,rf:()=>i,zI:()=>o});var a=t(2870);function i(e,n){var t;return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/queue-entry/transition"),{method:"POST",headers:{"Content-Type":"application/json"},signal:null===(t=n)||void 0===t?void 0:t.signal,body:e})}function o(e,n,t){var i;return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/queue-entry/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},signal:null===(i=t)||void 0===i?void 0:i.signal,body:n})}function s(e,n){var t;return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/queue-entry/transition"),{method:"DELETE",headers:{"Content-Type":"application/json"},signal:null===(t=n)||void 0===t?void 0:t.signal,body:e})}function r(e,n){var t;return(0,a.openmrsFetch)("".concat(a.restBaseUrl,"/queue-entry/").concat(e),{method:"DELETE",headers:{"Content-Type":"application/json"},signal:null===(t=n)||void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AA,YAAY,2BAA0B,CAC3DC,OAAQ,SACRC,QAAS,CACP,eAAgB,oBAElBC,OAAQL,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAiBK,OACzBC,KAAMP,GAEV,CAEO,SAASW,EAAeF,EAAwBR,G,IAM3CA,EALV,OAAOC,EAAAA,EAAAA,cAAa,GAA8BO,OAA3BN,EAAAA,YAAY,iBAA8B,OAAfM,GAAkB,CAClEL,OAAQ,SACRC,QAAS,CACP,eAAgB,oBAElBC,OAAQL,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAiBK,QAE7B,C","sources":["webpack://@kenyaemr/esm-service-queues-app/./src/queue-table/queue-entry-actions/queue-entry-actions-modal.scss","webpack://@kenyaemr/esm-service-queues-app/./src/queue-table/queue-entry-actions/queue-entry-actions-modal.scss?b5e1","webpack://@kenyaemr/esm-service-queues-app/./src/queue-table/queue-entry-actions/queue-entry-actions.modal.tsx","webpack://@kenyaemr/esm-service-queues-app/./src/queue-table/queue-entry-actions/queue-entry-actions.resource.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","selectedQueue","priorities","queues","statuses","queueEntry","closeModal","modalParams","useTranslation","t","useMutateQueueEntries","mutateQueueEntries","modalTitle","modalInstruction","submitButtonText","submitSuccessTitle","submitSuccessText","submitFailureTitle","submitAction","disableSubmit","initialTransitionDate","isTransition","Date","startedAt","useState","queue","uuid","selectedPriority","priority","selectedStatus","status","prioritycomment","priorityComment","modifyDefaultTransitionDateTime","transitionDate","transitionTime","dayjs","format","transitionTimeFormat","hour","formState","setFormState","useQueues","isSubmitting","setIsSubmitting","find","q","allowedStatuses","hasNoStatusesConfigured","length","allowedPriorities","hasNoPrioritiesConfigured","timeInvalidMessage","useMemo","now","startAtDate","convertTime12to24","minute","setHours","previousQueueEntryStartTimeStr","previousQueueEntry","previousQueueEntryStartTime","time","toLocaleString","interpolation","escapeValue","selectedPriorityIndex","findIndex","p","ModalHeader","title","ModalBody","div","className","styles","queueEntryActionModalBody","Stack","gap","h5","display","section","sectionTitle","Select","labelText","invalidText","value","onChange","event","selectedQueueUuid","target","newSelectedQueue","newQueueHasCurrentStatus","s","newQueueHasCurrentPriority","map","location","SelectItem","key","text","InlineNotification","kind","lowContrast","subtitle","RadioButtonGroup","name","valueSelected","selectedStatusUuid","RadioButton","inlineNotification","ContentSwitcher","size","selectedIndex","selectedPriorityUuid","Switch","role","TextArea","e","placeholder","Checkbox","checked","_","dateTimeFields","DatePicker","datePickerType","dateFormat","datePickerFormat","maxDate","date","DatePickerInput","datePickerPlaceHolder","disabled","TimePicker","pattern","time12HourFormatRegexPattern","invalid","TimePickerSelect","aria-label","ModalFooter","Button","onClick","preventDefault","then","message","showSnackbar","isLowContrast","catch","error","finally","transitionQueueEntry","params","abortController","openmrsFetch","restBaseUrl","method","headers","signal","body","updateQueueEntry","queueEntryUuid","undoTransition","voidQueueEntry"],"sourceRoot":""}
package/dist/319.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[319],{8319:e=>{e.exports=JSON.parse('{"actions":"Actions","activeVisits":"Active Visits","activeVisitsNotInQueue":"Active visits not in queue","addAProviderQueueRoom":"Add a provider queue room?","addEntry":"Add entry","addisitToQueueTooltip":"Add to queue","addNewQueueService":"Add New Queue Service","addNewQueueServiceRoom":"Add new queue service room","addNewService":"Add new service","addNewServiceRoom":"Add new service room","addPatientToQueue":"Add patient to queue","addProviderQueueRoom":"Add provider queue room","addQueue":"Add queue","addQueueName":"Please add a queue name","addQueueRoom":"Add queue room","addQueueRoomName":"Please add a queue room name","addQueueRoomService":"Please add a queue room service","addRoom":"Add room","addToQueue":"Add to queue","addVisitToQueue":"Add Visit To Queue?","advancedSearch":"Advanced search","age":"Age","alistOfClients":"A list of clients waiting for ","all":"All","and":"And","anotherVisitType":"Start another visit type","any":"Any","applyFilters":"Apply filters","averageWaitTime":"Average wait time today","backToScheduledVisits":"Back to scheduled visits","backToSearchResults":"Back to search results","backToSimpleSearch":"Back to simple search","between":"Between","bmi":"Bmi","bp":"Bp","call":"Call","cancel":"Cancel","checkedInPatients":"Checked in patients","checkFilters":"Check the filters above","chooseRoom":"Select a room","chooseService":"Select a service","clearAllQueueEntries":"Clear all queue entries?","clearAllQueueEntriesWarningMessage":"Clearing all queue entries will remove all the patients from the queues","clearQueue":"Clear queue","clinicMetrics":"Clinic metrics","configurePriorities":"Please configure priorities to continue.","configureServices":"Please configure services to continue.","configureStatus":"Please configure status to continue.","confirmDeleteQueueEntry":"Are you sure you want to delete this queue entry?","confirmMoveBackQueueAndStatus":"Are you sure you want to move patient back to queue \\"{{queue}}\\" with status \\"{{status}}\\"?","confirmMoveBackStatus":"Are you sure you want to move patient back to status \\"{{status}}\\"?","confirmRemovePatientFromQueue":"Are you sure you want to remove this patient from this queue?","currentValueFormatted":"{{value}} (Current)","currentVisit":"Current visit","date":"Date","date&Time":"Date & time","dateAndTimeOfVisit":"Date and time of visit","dateOfBirth":"Date of birth","delete":"Delete","deleteQueueEntry":"Delete queue entry","discard":"Discard","dose":"Dose","edit":"Edit","editPatientDetails":"Edit patient details","editQueueEntry":"Edit queue entry","editQueueEntryInstruction":"Edit fields of existing queue entry","encounterType":"Encounter type","endAgeRangeInvalid":"End age range is not valid","endDate":"End date","endVisit":"End Visit","endVisitWarningMessage":"Ending this visit will remove this patient from the queue and will not allow you to fill another encounter form for this patient","enterCommentHere":"Enter Comment here","errorAddingQueue":"Error adding queue","errorAddingQueueRoom":"Error adding queue room","errorClearingQueues":"Error clearing queues","errorFetchingAppointments":"Error fetching appointments","errorLoadingQueueEntries":"Error loading queue entries","errorPostingToScreen":"Error posting to screen","facility":"Facility","failedToLoadRecommendedVisitTypes":"Failed to load recommended visit types","female":"Female","femaleLabelText":"Female","fields":"of the following fields","filter":"Filter (1)","filterTable":"Filter table","firstName":"First name","firstNameSort":"First name (a-z)","futureScheduledVisits_one":"{{count}} visit scheduled for dates in the future","futureScheduledVisits_other":"{{count}} visits scheduled for dates in the future","gender":"Gender","heartRate":"Heart rate","height":"Height","home":"Home","hourAndMinuteFormatted":"{{hours}} hour(s) and {{minutes}} minute(s)","idNumber":"ID Number","indication":"Indication","invalidQueue":"Invalid Queue","invalidtableConfig":"Invalid table configuration","lastEncounter":"Last encounter","lastName":"Last name","lastNameSort":"Last name (a-z)","lastVisit":"Last visit","lastVisitDate":"Date","loading":"Loading...","location":"Location","male":"Male","maleLabelText":"Male","match":"Match","medications":"Medications","middleName":"Middle name","minuteFormatted":"{{minutes}} minute(s)","minutes":"Minutes","missingLocation":"Missing location","missingPriority":"Please select a priority","missingQueueName":"Missing queue name","missingQueueRoom":"Please select a queue room","missingQueueRoomName":"Missing queue room name","missingQueueRoomService":"Missing queue room service","missingService":"Missing service","missingVisitType":"Missing visit type","modifyDefaultValue":"Modify default value","movePatientToNextService":"Move patient to the next service?","moveToNextService":"Move to next service","name":"Name","nextPage":"Next page","noActiveVisitsForLocation":"There are no active visits to display for this location.","noAppointmentsFound":"No appointments found","noColumnsDefined":"No table columns defined. Check Configuration","noEncountersFound":"No encounters found","noLastEncounter":"There is no last encounter to display for this patient","noLocationsAvailable":"No locations available","noMedicationsFound":"No medications found","noNotesFound":"No notes found","noPatientFoundMessage":"Sorry, no patient has been found","noPatientsToDisplay":"No patients to display","noPreviousVisitFound":"No previous visit found","noPrioritiesConfigured":"No priorities configured","noPrioritiesForService":"The selected service does not have any allowed priorities. This is an error in configuration. Please contact your system administrator.","noPrioritiesForServiceTitle":"No priorities available","noPriorityFound":"No priority found","noResultsFound":"No results found","noReturnDate":"There is no return date to display for this patient","noServicesAvailable":"No services available","noServicesConfigured":"No services configured","noStatusConfigured":"No status configured","notableConfig":"No table configuration","notes":"Notes","noVisitsNotInQueueFound":"No visits currently not in queue found","noVisitTypesMatchingSearch":"There are no visit types matching this search text","noVitalsFound":"No vitals found","oldest":"Oldest first","onTime":"On time","or":"Or","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","orInProperFormat":"Or","orPatientName":"OR the patient\'s name(s)","patientAge":"Age","patientAlreadyInQueue":"Patient is already in the queue","patientAttendingService":"Patient attending service","patientHasActiveVisit":"The patient already has an active visit","patientList":"Patient list","patientName":"Patient name","patientNotInQueue":"The patient is not in the queue","patientRemoved":"Patient removed","patientRemovedFailed":"Error removing patient from queue","patientRemovedSuccessfully":"Paient removed from queue successfully","patientRequeued":"Patient has been requeued","patients":"Patients","patientsCurrentlyInQueue":"Patients currently in queue","personalDetails":"Personal details","phoneNumber":"Phone Number","pleaseSelectLocation":"Please select a location","pleaseSelectService":"Please select a service","postCode":"Post code","previousPage":"Previous page","previousVisit":"Previous visit","primaryHelperText":"Search for a patient","priority":"Priority","priorityComment":"Priority comment","priorityIsRequired":"Priority is required","program":"Program","provider":"Provider","quantity":"Quantity","queueAddedSuccessfully":"Queue added successfully","queueEntryAddedSuccessfully":"Queue entry added successfully","queueEntryAddFailed":"Error adding queue entry status","queueEntryDeleteFailed":"Error deleting queue entry","queueEntryDeleteSuccessful":"Queue entry deleted successfully","queueEntryEdited":"Queue entry edited","queueEntryEditedSuccessfully":"Queue entry edited successfully","queueEntryEditingFailed":"Error editing queue entry","queueEntryError":"Error adding patient to the queue","queueEntryRemoved":"Queue entry removed","queueEntryRemovedSuccessfully":"","queueEntryStatusUpdateFailed":"Error updating queue entry status","queueEntryTransitioned":"Queue entry transitioned","queueEntryTransitionedSuccessfully":"Queue entry transitioned successfully","queueEntryTransitionFailed":"Error transitioning queue entry","queueEntryTransitionUndoFailed":"Error undoing transition","queueEntryTransitionUndoSuccessful":"Queue entry transition undo success","queueEntryUpdateFailed":"Error updating queue entry","queueEntryUpdateSuccessfully":"Queue Entry Updated Successfully","queueLocation":"Queue Location","queueLocationRequired":"Queue location is required","queueName":"Queue name","queuePriority":"Queue priority","queueRoom":"Queue room","queueRoomAddedSuccessfully":"Queue room added successfully","queueRoomAddFailed":"Error adding queue room","queueRoomName":"Queue room name","queueRoomUpdatedSuccessfully":"Queue room updated successfully","queuesClearedSuccessfully":"Queues cleared successfully","queueScreen":"Queue screen","queueService":"Queue service","queueStatus":"Queue status","recentScheduledVisits_one":"{{count}} visit scheduled for +/- 7 days","recentScheduledVisits_other":"{{count}} visits scheduled for +/- 7 days","recommended":"Recommended","refills":"Refills","removeFromQueueAndEndVisit":"Remove patient from queue and end active visit?","removePatient":"Remove patient","removePatientFromQueue":"Remove patient from queue","removeQueueEntryError":"Error removing queue entry","requeue":"Requeue","retainLocation":"Retain location","returnDate":"Return Date","room":"Room","rRate":"R. Rate","save":"Save","scheduledAppointmentsList":"Scheduled appointments patient list","scheduledToday":"Scheduled for today","search":"Search","searchboxPlaceholder":"Search for a patient name or ID number","searchForAVisitType":"Search for a visit type","searchForPatient":"Search for a patient","searchPatient":"Search Patient","searchThisList":"Search this list","secondaryHelperText":"Type the patient\'s name or unique ID number","selectALocation":"Select a location","selectAVisitType":"Select visit type","selectFacility":"Select a facility","selectOption":"Select an option","selectProgramType":"Select program type","selectQueue":"Select a queue","selectQueueLocation":"Select a queue location","selectQueueService":"Select a queue service","selectRoom":"Select a room","selectService":"Select a service","selectServiceType":"Select a service type","selectVisitType":"Please select a Visit Type","serve":"Serve","servePatient":"Serve patient","service":"Service","serviceIsRequired":"Status is required","serviceQueue":"Service queue","serviceQueues":"Service queues","sex":"Sex","showPatientsWaitingFor":"Show patients waiting for","sortBy":"Sort by","sortWeight":"Sort weight","sp02":"Sp02","startAgeRangeInvalid":"Start age range is not valid","startAVisit":"Start a visit","startVisit":"Start visit","startVisitError":"Error starting visit","startVisitQueueSuccessfully":"Patient has been added to active visits list and queue.","status":"Status","statusIsRequired":"Status is required","submitting":"Submitting","success":"Success","temperature":"Temperature","ticketNumber":"Ticket number","time":"Time","timeCannotBeInFuture":"Time cannot be in the future","timeOfTransition":"Time of transition","tirageNotYetCompleted":"Triage has not yet been completed","today":"Today","totalPatients":"Total Patients","transition":"Transition","transitionPatient":"Transition patient","transitionPatientStatusOrQueue":"Select a new status or queue for patient to transition to.","triageForm":"Triage form","triageNote":"Triage note","trySearchWithPatientUniqueID":"Try searching with the patient\'s unique ID number","undoQueueEntryTransitionSuccess":"Undo transition success","undoTransition":"Undo transition","unexpectedServerResponse":"Unexpected Server Response","unknown":"Unknown","updateEntry":"Update entry","updateRoom":"Update room","useTodaysDate":"Use today\'s date","visitQueueNumberAttributeUuid not configured":"visitQueueNumberAttributeUuid not configured","visitStartTime":"Visit Time","visitTabs":"Visit tabs","visitType":"Visit Type","vitals":"Vitals","vitalsForm":"Vitals form","vitalsNotRecordedForVisit":"Vitals has not been recorded for this patient for this visit","waitingFor":"Waiting for","weight":"Weight","years":"Years","youngest":"Youngest first"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[319],{8319:e=>{e.exports=JSON.parse('{"actions":"Actions","activeVisits":"Active Visits","activeVisitsNotInQueue":"Active visits not in queue","addAProviderQueueRoom":"Add a provider queue room?","addEntry":"Add entry","addisitToQueueTooltip":"Add to queue","addNewQueueService":"Add New Queue Service","addNewQueueServiceRoom":"Add new queue service room","addNewService":"Add new service","addNewServiceRoom":"Add new service room","addPatientToQueue":"Add patient to queue","addProviderQueueRoom":"Add provider queue room","addQueue":"Add queue","addQueueName":"Please add a queue name","addQueueRoom":"Add queue room","addQueueRoomName":"Please add a queue room name","addQueueRoomService":"Please add a queue room service","addRoom":"Add room","addToQueue":"Add to queue","addVisitToQueue":"Add Visit To Queue?","advancedSearch":"Advanced search","age":"Age","alistOfClients":"A list of clients waiting for ","all":"All","and":"And","anotherVisitType":"Start another visit type","any":"Any","applyFilters":"Apply filters","averageWaitTime":"Average wait time today","backToScheduledVisits":"Back to scheduled visits","backToSearchResults":"Back to search results","backToSimpleSearch":"Back to simple search","between":"Between","bmi":"Bmi","bp":"Bp","call":"Call","cancel":"Cancel","checkedInPatients":"Checked in patients","checkFilters":"Check the filters above","chooseRoom":"Select a room","chooseService":"Select a service","clearAllQueueEntries":"Clear all queue entries?","clearAllQueueEntriesWarningMessage":"Clearing all queue entries will remove all the patients from the queues","clearQueue":"Clear queue","clinicMetrics":"Clinic metrics","configurePriorities":"Please configure priorities to continue.","configureServices":"Please configure services to continue.","configureStatus":"Please configure status to continue.","confirmDeleteQueueEntry":"Are you sure you want to delete this queue entry?","confirmMoveBackQueueAndStatus":"Are you sure you want to move patient back to queue \\"{{queue}}\\" with status \\"{{status}}\\"?","confirmMoveBackStatus":"Are you sure you want to move patient back to status \\"{{status}}\\"?","confirmRemovePatientFromQueue":"Are you sure you want to remove this patient from this queue?","currentValueFormatted":"{{value}} (Current)","currentVisit":"Current visit","date":"Date","date&Time":"Date & time","dateAndTimeOfVisit":"Date and time of visit","dateOfBirth":"Date of birth","delete":"Delete","deleteQueueEntry":"Delete queue entry","discard":"Discard","dose":"Dose","edit":"Edit","editPatientDetails":"Edit patient details","editQueueEntry":"Edit queue entry","editQueueEntryInstruction":"Edit fields of existing queue entry","encounterType":"Encounter type","endAgeRangeInvalid":"End age range is not valid","endDate":"End date","endVisit":"End Visit","endVisitWarningMessage":"Ending this visit will remove this patient from the queue and will not allow you to fill another encounter form for this patient","enterCommentHere":"Enter Comment here","errorAddingQueue":"Error adding queue","errorAddingQueueRoom":"Error adding queue room","errorClearingQueues":"Error clearing queues","errorFetchingAppointments":"Error fetching appointments","errorLoadingQueueEntries":"Error loading queue entries","errorPostingToScreen":"Error posting to screen","facility":"Facility","failedToLoadRecommendedVisitTypes":"Failed to load recommended visit types","female":"Female","femaleLabelText":"Female","fields":"of the following fields","filter":"Filter (1)","filterByService":"Filter by service :","filterByStatus":"Filter by status :","filterTable":"Filter table","firstName":"First name","firstNameSort":"First name (a-z)","futureScheduledVisits_one":"{{count}} visit scheduled for dates in the future","futureScheduledVisits_other":"{{count}} visits scheduled for dates in the future","gender":"Gender","heartRate":"Heart rate","height":"Height","home":"Home","hourAndMinuteFormatted":"{{hours}} hour(s) and {{minutes}} minute(s)","idNumber":"ID Number","indication":"Indication","invalidQueue":"Invalid Queue","invalidtableConfig":"Invalid table configuration","lastEncounter":"Last encounter","lastName":"Last name","lastNameSort":"Last name (a-z)","lastVisit":"Last visit","lastVisitDate":"Date","loading":"Loading...","location":"Location","male":"Male","maleLabelText":"Male","match":"Match","medications":"Medications","middleName":"Middle name","minuteFormatted":"{{minutes}} minute(s)","minutes":"Minutes","missingLocation":"Missing location","missingPriority":"Please select a priority","missingQueueName":"Missing queue name","missingQueueRoom":"Please select a queue room","missingQueueRoomName":"Missing queue room name","missingQueueRoomService":"Missing queue room service","missingService":"Missing service","missingVisitType":"Missing visit type","modifyDefaultValue":"Modify default value","movePatientToNextService":"Move patient to the next service?","moveToNextService":"Move to next service","name":"Name","nextPage":"Next page","noActiveVisitsForLocation":"There are no active visits to display for this location.","noAppointmentsFound":"No appointments found","noColumnsDefined":"No table columns defined. Check Configuration","noEncountersFound":"No encounters found","noLastEncounter":"There is no last encounter to display for this patient","noLocationsAvailable":"No locations available","noMedicationsFound":"No medications found","noNotesFound":"No notes found","noPatientFoundMessage":"Sorry, no patient has been found","noPatientsToDisplay":"No patients to display","noPreviousVisitFound":"No previous visit found","noPrioritiesConfigured":"No priorities configured","noPrioritiesForService":"The selected service does not have any allowed priorities. This is an error in configuration. Please contact your system administrator.","noPrioritiesForServiceTitle":"No priorities available","noPriorityFound":"No priority found","noResultsFound":"No results found","noReturnDate":"There is no return date to display for this patient","noServicesAvailable":"No services available","noServicesConfigured":"No services configured","noStatusConfigured":"No status configured","notableConfig":"No table configuration","notes":"Notes","noVisitsNotInQueueFound":"No visits currently not in queue found","noVisitTypesMatchingSearch":"There are no visit types matching this search text","noVitalsFound":"No vitals found","oldest":"Oldest first","onTime":"On time","or":"Or","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","orInProperFormat":"Or","orPatientName":"OR the patient\'s name(s)","patientAge":"Age","patientAlreadyInQueue":"Patient is already in the queue","patientAttendingService":"Patient attending service","patientHasActiveVisit":"The patient already has an active visit","patientList":"Patient list","patientName":"Patient name","patientNotInQueue":"The patient is not in the queue","patientRemoved":"Patient removed","patientRemovedFailed":"Error removing patient from queue","patientRemovedSuccessfully":"Paient removed from queue successfully","patientRequeued":"Patient has been requeued","patients":"Patients","patientsCurrentlyInQueue":"Patients currently in queue","personalDetails":"Personal details","phoneNumber":"Phone Number","pleaseSelectLocation":"Please select a location","pleaseSelectService":"Please select a service","postCode":"Post code","previousPage":"Previous page","previousVisit":"Previous visit","primaryHelperText":"Search for a patient","priority":"Priority","priorityComment":"Priority comment","priorityIsRequired":"Priority is required","program":"Program","provider":"Provider","quantity":"Quantity","queueAddedSuccessfully":"Queue added successfully","queueEntryAddedSuccessfully":"Queue entry added successfully","queueEntryAddFailed":"Error adding queue entry status","queueEntryDeleteFailed":"Error deleting queue entry","queueEntryDeleteSuccessful":"Queue entry deleted successfully","queueEntryEdited":"Queue entry edited","queueEntryEditedSuccessfully":"Queue entry edited successfully","queueEntryEditingFailed":"Error editing queue entry","queueEntryError":"Error adding patient to the queue","queueEntryRemoved":"Queue entry removed","queueEntryRemovedSuccessfully":"","queueEntryStatusUpdateFailed":"Error updating queue entry status","queueEntryTransitioned":"Queue entry transitioned","queueEntryTransitionedSuccessfully":"Queue entry transitioned successfully","queueEntryTransitionFailed":"Error transitioning queue entry","queueEntryTransitionUndoFailed":"Error undoing transition","queueEntryTransitionUndoSuccessful":"Queue entry transition undo success","queueEntryUpdateFailed":"Error updating queue entry","queueEntryUpdateSuccessfully":"Queue Entry Updated Successfully","queueLocation":"Queue Location","queueLocationRequired":"Queue location is required","queueName":"Queue name","queuePriority":"Queue priority","queueRoom":"Queue room","queueRoomAddedSuccessfully":"Queue room added successfully","queueRoomAddFailed":"Error adding queue room","queueRoomName":"Queue room name","queueRoomUpdatedSuccessfully":"Queue room updated successfully","queuesClearedSuccessfully":"Queues cleared successfully","queueScreen":"Queue screen","queueService":"Queue service","queueStatus":"Queue status","recentScheduledVisits_one":"{{count}} visit scheduled for +/- 7 days","recentScheduledVisits_other":"{{count}} visits scheduled for +/- 7 days","recommended":"Recommended","refills":"Refills","removeFromQueueAndEndVisit":"Remove patient from queue and end active visit?","removePatient":"Remove patient","removePatientFromQueue":"Remove patient from queue","removeQueueEntryError":"Error removing queue entry","requeue":"Requeue","retainLocation":"Retain location","returnDate":"Return Date","room":"Room","rRate":"R. Rate","save":"Save","scheduledAppointmentsList":"Scheduled appointments patient list","scheduledToday":"Scheduled for today","search":"Search","searchboxPlaceholder":"Search for a patient name or ID number","searchForAVisitType":"Search for a visit type","searchForPatient":"Search for a patient","searchPatient":"Search Patient","searchThisList":"Search this list","secondaryHelperText":"Type the patient\'s name or unique ID number","selectALocation":"Select a location","selectAVisitType":"Select visit type","selectFacility":"Select a facility","selectOption":"Select an option","selectProgramType":"Select program type","selectQueue":"Select a queue","selectQueueLocation":"Select a queue location","selectQueueService":"Select a queue service","selectRoom":"Select a room","selectService":"Select a service","selectServiceType":"Select a service type","selectVisitType":"Please select a Visit Type","serve":"Serve","servePatient":"Serve patient","service":"Service","serviceIsRequired":"Status is required","serviceQueue":"Service queue","serviceQueues":"Service queues","sex":"Sex","sortBy":"Sort by","sortWeight":"Sort weight","sp02":"Sp02","startAgeRangeInvalid":"Start age range is not valid","startAVisit":"Start a visit","startVisit":"Start visit","startVisitError":"Error starting visit","startVisitQueueSuccessfully":"Patient has been added to active visits list and queue.","status":"Status","statusIsRequired":"Status is required","submitting":"Submitting...","success":"Success","temperature":"Temperature","ticketNumber":"Ticket number","time":"Time","timeCannotBeInFuture":"Time cannot be in the future","timeCannotBePriorToPreviousQueueEntry":"Time cannot be before start of previous queue entry: {{time}}","timeOfTransition":"Time of transition","tirageNotYetCompleted":"Triage has not yet been completed","today":"Today","totalPatients":"Total Patients","transition":"Transition","transitionPatient":"Transition patient","transitionPatientStatusOrQueue":"Select a new status or queue for patient to transition to.","triageForm":"Triage form","triageNote":"Triage note","trySearchWithPatientUniqueID":"Try searching with the patient\'s unique ID number","undoQueueEntryTransitionSuccess":"Undo transition success","undoTransition":"Undo transition","unexpectedServerResponse":"Unexpected Server Response","unknown":"Unknown","updateEntry":"Update entry","updateRoom":"Update room","useTodaysDate":"Use today\'s date","visitQueueNumberAttributeUuid not configured":"visitQueueNumberAttributeUuid not configured","visitStartTime":"Visit Time","visitTabs":"Visit tabs","visitType":"Visit Type","vitals":"Vitals","vitalsForm":"Vitals form","vitalsNotRecordedForVisit":"Vitals has not been recorded for this patient for this visit","waitingFor":"Waiting for","weight":"Weight","years":"Years","youngest":"Youngest first"}')}}]);
package/dist/366.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[366],{1762:(e,n,t)=>{t.d(n,{Z:()=>s});var a=t(5698),i=t.n(a),o=t(9613),l=t.n(o)()(i());l.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-service-queues__add-patient-toqueue-dialog__radioButtonGroup___J3F5l{display:flex;flex-direction:column;align-items:flex-start;margin-top:.5rem;min-height:4rem;width:100%;font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-service-queues__add-patient-toqueue-dialog__radioButton___4dXj7{padding:.25rem .25rem;margin:.5rem 0}section{margin:.5rem}.-esm-service-queues__add-patient-toqueue-dialog__sectionTitle___vCMq1{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.75rem}.-esm-service-queues__add-patient-toqueue-dialog__modalBody___oRd54{padding-bottom:1rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/add-patient-toqueue/add-patient-toqueue-dialog.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,2EACE,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,gBCaW,CDZX,eC+CW,CD9CX,UAAA,CEw1BE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFp1BJ,sEACE,qBAAA,CACA,cAAA,CAGF,QACE,YCCW,CDEb,uEE20BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFz0BF,aDpBQ,CCqBR,oBAAA,CAGF,oEACE,mBCCW",sourcesContent:["$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: 4rem;\n --workspace-header-height: 3rem;\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.radioButtonGroup {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-top: layout.$spacing-03;\n min-height: layout.$spacing-10;\n width: 100%;\n @include type.type-style('body-compact-01');\n}\n\n.radioButton {\n padding: layout.$spacing-02 layout.$spacing-02;\n margin: layout.$spacing-03 0;\n}\n\nsection {\n margin: layout.$spacing-03;\n}\n\n.sectionTitle {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-04;\n}\n\n.modalBody {\n padding-bottom: layout.$spacing-05;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),l.locals={radioButtonGroup:"-esm-service-queues__add-patient-toqueue-dialog__radioButtonGroup___J3F5l",radioButton:"-esm-service-queues__add-patient-toqueue-dialog__radioButton___4dXj7",sectionTitle:"-esm-service-queues__add-patient-toqueue-dialog__sectionTitle___vCMq1",modalBody:"-esm-service-queues__add-patient-toqueue-dialog__modalBody___oRd54"};const s=l},366:(e,n,t)=>{t.r(n),t.d(n,{default:()=>E});var a=t(5206),i=t.n(a),o=t(4924),l=t(7773),s=t(2870),r=t(8053),p=t(1995),c=t(2312),u=t(1325),d=t(6062),g=t.n(d),f=t(4036),h=t.n(f),y=t(6793),b=t.n(y),m=t(7892),$=t.n(m),v=t(1173),k=t.n(v),w=t(2464),x=t.n(w),A=t(1762),z={};z.styleTagTransform=x(),z.setAttributes=$(),z.insert=b().bind(null,"head"),z.domAPI=h(),z.insertStyleElement=k(),g()(A.Z,z);const C=A.Z&&A.Z.locals?A.Z.locals:void 0;function M(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function _(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,o=[],l=!0,s=!1;try{for(t=t.call(e);!(l=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);l=!0);}catch(e){s=!0,i=e}finally{try{l||null==t.return||t.return()}finally{if(s)throw i}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return M(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?M(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const E=function(e){var n,t,d,g,f,h,y,b,m,$,v,k=e.visitDetails,w=e.closeModal,x=(0,o.useTranslation)().t,A=null===(n=k)||void 0===n?void 0:n.visitUuid,z=_((0,a.useState)(""),2),M=z[0],E=z[1],q=null===(t=k)||void 0===t?void 0:t.patientUuid,S=null===(d=k)||void 0===d?void 0:d.name,B=null===(g=k)||void 0===g?void 0:g.age,T=null===(f=k)||void 0===f?void 0:f.gender,N=_((0,a.useState)(""),2),D=N[0],F=N[1],Q=(0,c.y)(D),I=Q.queues,P=Q.isLoading,U=(0,p.J)(),L=U.queueLocations,W=U.isLoading,O=_((0,a.useState)(!1),2),G=O[0],j=O[1],R=_((0,a.useState)(!1),2),Y=R[0],Z=R[1],J=(0,s.useConfig)(),X=(0,u.Qd)().mutateQueueEntries,K=_((0,a.useState)(J.concepts.defaultPriorityConceptUuid),2),V=K[0],H=K[1],ee=null!==(v=null===(h=I.find((function(e){return e.uuid===M})))||void 0===h?void 0:h.allowedPriorities)&&void 0!==v?v:[],ne=(0,a.useCallback)((function(){if(M)if(Z(!1),V){j(!1);var e=J.concepts.emergencyPriorityConceptUuid,n=V===e?1:0,t=J.concepts.defaultStatusConceptUuid,a=J.visitQueueNumberAttributeUuid;(0,r.kQ)(A,M,q,V,t,n,D,a).then((function(e){201===e.status&&((0,s.showSnackbar)({isLowContrast:!0,title:x("addEntry","Add entry"),kind:"success",subtitle:x("queueEntryAddedSuccessfully","Queue entry added successfully")}),w(),X())}),(function(e){var n;(0,s.showSnackbar)({title:x("queueEntryAddFailed","Error adding queue entry status"),kind:"error",isLowContrast:!1,subtitle:null===(n=e)||void 0===n?void 0:n.message})}))}else j(!0);else Z(!0)}),[M,V,J.concepts.emergencyPriorityConceptUuid,J.concepts.defaultStatusConceptUuid,J.visitQueueNumberAttributeUuid,A,q,D,x,w,X]);return i().createElement("div",null,i().createElement(l.xBx,{closeModal:w,title:x("addVisitToQueue","Add Visit To Queue?")}),i().createElement(l.fef,null,i().createElement(l.l09,{onSubmit:ne},i().createElement("div",{className:C.modalBody},i().createElement("h5",null,S,"   ·  ",T,"   ·  ",B," ",x("years","Years"))),i().createElement("section",null,W?i().createElement(l.xNL,null):i().createElement(l.PhF,{labelText:x("selectQueueLocation","Select a queue location"),id:"location",invalidText:"Required",value:D,onChange:function(e){return F(e.target.value)}},D?null:i().createElement(l.QlF,{text:x("selectQueueLocation","Select a queue location"),value:""}),(null===(y=L)||void 0===y?void 0:y.length)>0&&L.map((function(e){return i().createElement(l.QlF,{key:e.id,text:e.name,value:e.id},e.name)})))),i().createElement("section",{className:C.section},i().createElement("div",{className:C.sectionTitle},x("queueService","Queue service")),P?i().createElement(l.xNL,null):i().createElement(l.PhF,{labelText:x("selectService","Select a service"),id:"service",invalidText:"Required",value:M,onChange:function(e){return E(e.target.value)}},M?null:i().createElement(l.QlF,{text:x("chooseService","Select a service"),value:""}),(null===(b=I)||void 0===b?void 0:b.length)>0&&I.map((function(e){return i().createElement(l.QlF,{key:e.uuid,text:e.display,value:e.uuid},e.display)})))),Y&&i().createElement("section",null,i().createElement(l.K0D,{style:{margin:"0",minWidth:"100%"},kind:"error",lowContrast:!0,title:x("pleaseSelectService","Please select a service")})),i().createElement("section",{className:C.section},i().createElement("div",{className:C.sectionTitle},x("queueStatus","Queue status")),P?i().createElement(l.SYO,null,i().createElement(l.CMh,null),i().createElement(l.CMh,null),i().createElement(l.CMh,null)):(null===(m=ee)||void 0===m?void 0:m.length)?i().createElement(l.SYO,{className:C.radioButtonWrapper,name:"priority",defaultSelected:V,onChange:function(e){H(e)}},(null===($=ee)||void 0===$?void 0:$.length)>0&&ee.map((function(e){var n=e.uuid,t=e.display;return i().createElement(l.EUY,{key:n,labelText:t,value:n})}))):i().createElement(l.K0D,{className:C.inlineNotification,kind:"error",lowContrast:!0,subtitle:x("configurePriorities","Please configure priorities to continue."),title:x("noPriorityFound","No priority found")})),G&&i().createElement("section",null,i().createElement(l.K0D,{style:{margin:"0",minWidth:"100%"},kind:"error",lowContrast:!0,title:x("missingPriority","Please select a priority")})))),i().createElement(l.mzw,null,i().createElement(l.zxk,{kind:"secondary",onClick:w},x("cancel","Cancel")),i().createElement(l.zxk,{onClick:ne},x("save","Save"))))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"366.js","mappings":"iNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,gyCAAiyC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,sEAAsE,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,qVAAqV,eAAiB,CAAC,o7DAAo7D,8pBAA8pB,05DAA05D,w8uBAAw8uB,WAAa,MAE/77BH,EAAwBI,OAAS,CAChC,iBAAoB,4EACpB,YAAe,uEACf,aAAgB,wEAChB,UAAa,sEAEd,S,uQCFIC,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQD,OAAS,IAAQA,YAASO,E,+7BCyMnE,QArM8D,Y,IAG1CC,EAEEA,EACAA,EACDA,EACAA,EASAC,EAuFJC,EAsBAD,EA4BAE,EAgBAA,EAzJIF,EAjB4CD,EAAAA,EAAAA,aAAcI,EAAAA,EAAAA,WACvE,GAAQC,EAAAA,EAAAA,kBAANC,EAEFC,EAAYP,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAcO,UACEC,EAAAA,GAAAA,EAAAA,EAAAA,UAAS,OAApCC,EAA2BD,EA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AAAA,IAAmBA,QAEnBvF,QAAAA,EAAAA,UAAAA,IAAAA,OAAAA,EAAAA,EAAYyE,QASf,kBAACa,EAAAA,IAAgBA,CACf7B,UAAWC,EAAO8B,mBAClB9E,KAAK,WACL+E,gBAAiB3D,EACjBsC,SAAU,SAAClC,GACTH,EAAYG,EACd,IACClC,QAAAA,EAAAA,UAAAA,IAAAA,OAAAA,EAAAA,EAAYyE,QAAS,GACpBzE,GAAW0E,KAAI,Y,IAAGxC,EAAAA,EAAAA,KAAM8C,EAAAA,EAAAA,Q,OAAc,kBAACU,EAAAA,IAAWA,CAACd,IAAK1C,EAAM+B,UAAWe,EAASb,MAAOjC,G,KAhB7F,kBAAC+C,EAAAA,IAAkBA,CACjBxB,UAAWC,EAAOiC,mBAClB3C,KAAM,QACNqC,aAAAA,EACApC,SAAU9C,EAAE,sBAAuB,4CACnC4C,MAAO5C,EAAE,kBAAmB,wBAejCiB,GACC,kBAACyC,UAAAA,KACC,kBAACoB,EAAAA,IAAkBA,CACjBC,MAAO,CAAEC,OAAQ,IAAKC,SAAU,QAChCpC,KAAK,QACLqC,aAAa,EACbtC,MAAO5C,EAAE,kBAAmB,iCAMtC,kBAACyF,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAAC7C,KAAK,YAAY8C,QAAS7F,GAC/BE,EAAE,SAAU,WAEf,kBAAC0F,EAAAA,IAAMA,CAACC,QAAS1D,IAAkBjC,EAAE,OAAQ,UAIrD,C","sources":["webpack://@kenyaemr/esm-service-queues-app/./src/add-patient-toqueue/add-patient-toqueue-dialog.scss","webpack://@kenyaemr/esm-service-queues-app/./src/add-patient-toqueue/add-patient-toqueue-dialog.scss?ba0f","webpack://@kenyaemr/esm-service-queues-app/./src/add-patient-toqueue/add-patient-toqueue-dialog.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","visitDetails","queues","queueLocations","priorities","closeModal","useTranslation","t","visitUuid","useState","queueUuid","setQueueUuid","patientUuid","patientName","name","patientAge","age","patientSex","gender","selectedQueueLocation","setSelectedQueueLocation","useQueues","isLoading","useQueueLocations","isMissingPriority","setIsMissingPriority","isMissingService","setIsMissingService","config","useConfig","useMutateQueueEntries","mutateQueueEntries","concepts","defaultPriorityConceptUuid","priority","setPriority","find","q","uuid","allowedPriorities","addVisitToQueue","useCallback","emergencyPriorityConceptUuid","sortWeight","status","defaultStatusConceptUuid","visitQueueNumberAttributeUuid","postQueueEntry","then","showSnackbar","isLowContrast","title","kind","subtitle","error","message","div","ModalHeader","ModalBody","Form","onSubmit","className","styles","modalBody","h5","section","isLoadingQueueLocations","SelectSkeleton","Select","labelText","invalidText","value","onChange","event","target","SelectItem","text","length","map","location","key","sectionTitle","isLoadingQueues","service","display","InlineNotification","style","margin","minWidth","lowContrast","RadioButtonGroup","RadioButtonSkeleton","radioButtonWrapper","defaultSelected","RadioButton","inlineNotification","ModalFooter","Button","onClick"],"sourceRoot":""}
package/dist/392.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[392],{5055:(e,n,t)=>{t.d(n,{Z:()=>l});var a=t(5698),i=t.n(a),o=t(9613),s=t.n(o)()(i());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-service-queues__add-provider-queue-room__section___2E-Ye{margin:.5rem}.-esm-service-queues__add-provider-queue-room__sectionTitle___HvRIG{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0);color:#525252;margin-bottom:.75rem}.-esm-service-queues__add-provider-queue-room__checkbox___YsZAn{padding-top:.75rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/add-provider-queue-room/add-provider-queue-room.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,+DACE,YCgBW,CDbb,oEE01BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFx1BF,aDLQ,CCMR,oBCeW,CDZb,gEACE,kBCWW",sourcesContent:["$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: 4rem;\n --workspace-header-height: 3rem;\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.section {\n margin: layout.$spacing-03;\n}\n\n.sectionTitle {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin-bottom: layout.$spacing-04;\n}\n\n.checkbox {\n padding-top: layout.$spacing-04;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),s.locals={section:"-esm-service-queues__add-provider-queue-room__section___2E-Ye",sectionTitle:"-esm-service-queues__add-provider-queue-room__sectionTitle___HvRIG",checkbox:"-esm-service-queues__add-provider-queue-room__checkbox___YsZAn"};const l=s},9392:(e,n,t)=>{t.r(n),t.d(n,{default:()=>S});var a=t(5206),i=t.n(a),o=t(4924),s=t(7773),l=t(2870),r=t(1995),p=t(3255);function c(e){var n,t,a="".concat(l.restBaseUrl,"/roomprovidermap?provider=").concat(e),i=(0,p.ZP)(e?a:null,l.openmrsFetch),o=i.data,s=i.error,r=i.isLoading,c=i.mutate;return{providerRoom:o?null===(t=o)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.results:[],error:s,isLoading:r,mutate:c}}var u=t(3670),d=t(7060),g=t(6062),f=t.n(g),h=t(4036),y=t.n(h),m=t(6793),b=t.n(m),$=t(7892),v=t.n($),k=t(1173),w=t.n(k),x=t(2464),z=t.n(x),A=t(5055),M={};M.styleTagTransform=z(),M.setAttributes=v(),M.insert=b().bind(null,"head"),M.domAPI=y(),M.insertStyleElement=w(),f()(A.Z,M);const C=A.Z&&A.Z.locals?A.Z.locals:void 0;function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function q(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,o=[],s=!0,l=!1;try{for(t=t.call(e);!(s=(a=t.next()).done)&&(o.push(a.value),!n||o.length!==n);s=!0);}catch(e){l=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(l)throw i}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return _(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const S=function(e){var n,t,g,f,h,y=e.providerUuid,m=e.closeModal,b=(0,o.useTranslation)().t,$=(0,u.wJ)(),v=(0,u.SY)(),k=(0,u.Dv)(),w=(0,u.Hp)(),x=c(y).providerRoom,z=q((0,a.useState)(""),2),A=z[0],M=z[1],_=q((0,a.useState)(""),2),S=_[0],E=_[1];(0,a.useEffect)((function(){var e,n,t,a;(null===(e=x)||void 0===e?void 0:e.length)>0&&(M(null===(t=x)||void 0===t||null===(n=t[0].queueRoom)||void 0===n?void 0:n.uuid),E(null===(a=x)||void 0===a?void 0:a[0].uuid))}),[x]);var T,I,N,R,B,D,L,U,F,Q=c(y).mutate,O=(0,d.Z)().services,Z=(T=v,I=null===(n=k)||void 0===n?void 0:n.serviceUuid,B=I?"".concat(l.restBaseUrl,"/queueroom?location=").concat(T,"&queue=").concat(I):"".concat(l.restBaseUrl,"/queueroom?location=").concat(T),D=(0,p.ZP)(T?B:null,l.openmrsFetch),L=D.data,U=D.error,F=D.isLoading,{rooms:L?null===(R=L)||void 0===R||null===(N=R.data)||void 0===N?void 0:N.results:[],error:U,isLoading:F}).rooms,P=(0,r.J)().queueLocations,W=q((0,a.useState)(!1),2),j=W[0],G=W[1],Y=(0,a.useCallback)((function(){var e;A?(G(!1),(null===(e=x)||void 0===e?void 0:e.length)>0?function(e,n,t){var a=new AbortController;return(0,l.openmrsFetch)("".concat(l.restBaseUrl,"/roomprovidermap/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},signal:a.signal,body:{queueRoom:{uuid:n},provider:{uuid:t}}})}(S,A,y).then((function(e){200===e.status&&((0,l.showSnackbar)({isLowContrast:!0,title:b("updateRoom","Update room"),kind:"success",subtitle:b("queueRoomUpdatedSuccessfully","Queue room updated successfully")}),m(),localStorage.setItem("lastUpdatedQueueRoomTimestamp",(new Date).toString()),(0,u.By)(new Date),Q())}),(function(e){var n;(0,l.showSnackbar)({title:b("queueRoomAddFailed","Error adding queue room"),kind:"error",isLowContrast:!1,subtitle:null===(n=e)||void 0===n?void 0:n.message}),m()})):function(e,n){var t=new AbortController;return(0,l.openmrsFetch)("".concat(l.restBaseUrl,"/roomprovidermap"),{method:"POST",headers:{"Content-Type":"application/json"},signal:t.signal,body:{queueRoom:{uuid:e},provider:{uuid:n}}})}(A,y).then((function(e){201===e.status&&((0,l.showSnackbar)({isLowContrast:!0,title:b("addRoom","Add room"),kind:"success",subtitle:b("queueRoomAddedSuccessfully","Queue room added successfully")}),m(),localStorage.setItem("lastUpdatedQueueRoomTimestamp",(new Date).toString()),(0,u.By)(new Date),Q())}),(function(e){var n;(0,l.showSnackbar)({title:b("queueRoomAddFailed","Error adding queue room"),kind:"error",isLowContrast:!1,subtitle:null===(n=e)||void 0===n?void 0:n.message})}))):G(!0)}),[A,null===(t=x)||void 0===t?void 0:t.length,S,y,b,m,Q]);return i().createElement("div",null,i().createElement(s.xBx,{closeModal:m,title:b("addAProviderQueueRoom","Add a provider queue room?")}),i().createElement(s.fef,null,i().createElement(s.l09,{onSubmit:Y},i().createElement("section",{className:C.section},i().createElement(s.Ltx,{id:"queueLocation","aria-label":b("selectQueueLocation","Select a queue location"),label:"",titleText:b("queueLocation","Queue location"),type:"default",items:P,itemToString:function(e){return e?e.name:""},onChange:function(e){var n=e.selectedItem;localStorage.setItem("queueLocationUuid",n.id),localStorage.setItem("queueLocationName",n.name),(0,u.yl)(n.name),(0,u._j)(n.id)},size:"md",initialSelectedItem:{uuid:v,name:$}})),i().createElement("section",{className:C.section},i().createElement(s.Ltx,{id:"service","aria-label":b("selectService","Select a service"),type:"default",label:"",titleText:b("queueService","Queue service"),items:null!=O?O:[],itemToString:function(e){return e?e.display:""},onChange:function(e){var n=e.selectedItem;localStorage.setItem("queueServiceName",n.name),localStorage.setItem("queueService",n.uuid),(0,u.G$)(n.uuid,n.name)},size:"md",initialSelectedItem:{uuid:null===(g=k)||void 0===g?void 0:g.serviceUuid,display:null===(f=k)||void 0===f?void 0:f.serviceDisplay}})),i().createElement("section",{className:C.section},i().createElement("div",{className:C.sectionTitle},b("queueRoom","Queue room")),i().createElement("div",{className:C.filterContainer},i().createElement(s.PhF,{labelText:b("selectRoom","Select a room"),id:"service",invalidText:"Required",value:A,defaultValue:A,onChange:function(e){M(e.target.value),localStorage.setItem("lastUpdatedQueueRoomTimestamp",(new Date).toString())}},A?null:i().createElement(s.QlF,{text:b("chooseRoom","Select a room"),value:""}),(null===(h=Z)||void 0===h?void 0:h.length)>0&&Z.map((function(e){return i().createElement(s.QlF,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))))),j&&i().createElement("section",null,i().createElement(s.K0D,{style:{margin:"0",minWidth:"100%"},kind:"error",lowContrast:!0,title:b("missingQueueRoom","Please select a queue room")})),i().createElement("section",{className:C.section},i().createElement(s.XZJ,{onChange:function(e){localStorage.setItem("isPermanentProviderQueueRoom",JSON.parse(e.target.checked)),(0,u.wE)(JSON.parse(e.target.checked))},checked:w,labelText:b("retainLocation","Retain location"),id:"retianLocation",className:C.checkbox})))),i().createElement(s.mzw,null,i().createElement(s.zxk,{kind:"secondary",onClick:m},b("cancel","Cancel")),i().createElement(s.zxk,{onClick:Y},b("save","Save"))))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"392.js","mappings":"iNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,q0BAAs0B,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,uEAAuE,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,mMAAmM,eAAiB,CAAC,o7DAAo7D,yUAAyU,05DAA05D,w8uBAAw8uB,WAAa,MAE9/5BH,EAAwBI,OAAS,CAChC,QAAW,gEACX,aAAgB,qEAChB,SAAY,kEAEb,S,wHCiDO,SAASC,EAAsBC,G,IASbC,EAAAA,EARjBC,EAAS,GAA2CF,OAAxCG,EAAAA,YAAY,8BAAyC,OAAbH,GAEfI,GAAAA,EAAAA,EAAAA,IACzCJ,EAAeE,EAAS,KACxBG,EAAAA,cAFMJ,EAAmCG,EAAnCH,KAAMK,EAA6BF,EAA7BE,MAAOC,EAAsBH,EAAtBG,UAAWC,EAAWJ,EAAXI,OAKhC,MAAO,CACLC,aAAcR,EAAOA,QAAAA,EAAAA,SAAAA,IA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B,mBAC/BzB,GAAG,iBACHgF,UAAWC,EAAO4C,cAK1B,kBAACC,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAAC7D,KAAK,YAAY8D,QAASzG,GAC/BE,EAAE,SAAU,WAEf,kBAACsG,EAAAA,IAAMA,CAACC,QAAS7E,GAAW1B,EAAE,OAAQ,UAI9C,C","sources":["webpack://@kenyaemr/esm-service-queues-app/./src/add-provider-queue-room/add-provider-queue-room.scss","webpack://@kenyaemr/esm-service-queues-app/./src/add-provider-queue-room/add-provider-queue-room.resource.ts","webpack://@kenyaemr/esm-service-queues-app/./src/add-provider-queue-room/add-provider-queue-room.scss?e313","webpack://@kenyaemr/esm-service-queues-app/./src/add-provider-queue-room/add-provider-queue-room.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","useProvidersQueueRoom","providerUuid","data","apiUrl","restBaseUrl","useSWR","openmrsFetch","error","isLoading","mutate","providerRoom","results","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","currentService","rooms","closeModal","useTranslation","t","currentLocationName","useSelectedQueueLocationName","currentLocationUuid","useSelectedQueueLocationUuid","useSelectedService","currentIsPermanentProviderQueueRoom","useIsPermanentProviderQueueRoom","useState","queueRoomUuid","setQueueRoomUuid","queueProviderMapUuid","setQueueProviderMapUuid","useEffect","length","queueRoom","uuid","location","queueUuid","useQueueServices","services","serviceUuid","useQueueLocations","queueLocations","isMissingQueueRoom","setIsMissingQueueRoom","onSubmit","useCallback","abortController","AbortController","method","headers","signal","body","provider","updateProviderToQueueRoom","then","status","showSnackbar","isLowContrast","title","kind","subtitle","localStorage","setItem","Date","toString","updatedSelectedQueueRoomTimestamp","message","addProviderToQueueRoom","div","ModalHeader","ModalBody","Form","section","className","styles","Dropdown","aria-label","label","titleText","type","items","itemToString","item","name","onChange","selectedItem","updateSelectedQueueLocationName","updateSelectedQueueLocationUuid","size","initialSelectedItem","display","updateSelectedService","serviceDisplay","sectionTitle","filterContainer","Select","labelText","invalidText","value","defaultValue","event","target","SelectItem","text","map","room","key","InlineNotification","style","margin","minWidth","lowContrast","Checkbox","e","JSON","parse","checked","updateIsPermanentProviderQueueRoom","checkbox","ModalFooter","Button","onClick"],"sourceRoot":""}
package/dist/460.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[460],{4460:e=>{e.exports=JSON.parse('{"actions":"الإجراءات","activeVisits":"الزيارات النشطة","activeVisitsNotInQueue":"الزيارات النشطة التي ليست في الطابور","addAProviderQueueRoom":"Add a provider queue room?","addEntry":"أضف مدخل","addisitToQueueTooltip":"أضف إلى الطابور","addNewQueueService":"Add New Queue Service","addNewQueueServiceRoom":"أضف غرفة خدمة طابور جديدة","addNewService":"أضف خدمة جديدة","addNewServiceRoom":"أضف غرفة خدمة جديدة","addPatientToQueue":"أضف المريض إلى الطابور","addProviderQueueRoom":"Add provider queue room","addQueue":"أضف طابور","addQueueName":"يرجى إضافة اسم الطابور","addQueueRoom":"أضف غرفة طابور","addQueueRoomName":"يرجى إضافة اسم غرفة الطابور","addQueueRoomService":"يرجى إضافة خدمة غرفة الطابور","addRoom":"أضف غرفة","addToQueue":"أضف إلى الطابور","addVisitToQueue":"أضف الزيارة إلى الطابور؟","advancedSearch":"بحث متقدم","age":"العمر","alistOfClients":"قائمة بالعملاء في انتظار","all":"الكل","and":"و","anotherVisitType":"ابدأ نوع زيارة آخر","any":"أي","applyFilters":"Apply filters","averageWaitTime":"متوسط وقت الانتظار اليوم","backToScheduledVisits":"العودة إلى الزيارات المجدولة","backToSearchResults":"Back to search results","backToSimpleSearch":"العودة إلى البحث البسيط","between":"بين","bmi":"مؤشر كتلة الجسم","bp":"ضغط الدم","call":"اتصل","cancel":"إلغاء","checkedInPatients":"المرضى المسجلين","checkFilters":"تحقق من الفلاتر أعلاه","chooseRoom":"اختر غرفة","chooseService":"اختر خدمة","clearAllQueueEntries":"مسح جميع مدخلات الطابور؟","clearAllQueueEntriesWarningMessage":"Clearing all queue entries will remove all the patients from the queues","clearQueue":"مسح الطابور","clinicMetrics":"مقاييس العيادة","configurePriorities":"يرجى تكوين الأولويات للمتابعة.","configureServices":"يرجى تكوين الخدمات للمتابعة.","configureStatus":"يرجى تكوين الحالة للمتابعة.","confirmDeleteQueueEntry":"Are you sure you want to delete this queue entry?","confirmMoveBackQueueAndStatus":"Are you sure you want to move patient back to queue \\"{{queue}}\\" with status \\"{{status}}\\"?","confirmMoveBackStatus":"Are you sure you want to move patient back to status \\"{{status}}\\"?","confirmRemovePatientFromQueue":"Are you sure you want to remove this patient from this queue?","currentValueFormatted":"{{value}} (Current)","currentVisit":"الزيارة الحالية","date":"التاريخ","date&Time":"Date & time","dateAndTimeOfVisit":"تاريخ ووقت الزيارة","dateOfBirth":"تاريخ الميلاد","delete":"Delete","deleteQueueEntry":"Delete queue entry","discard":"تجاهل","dose":"الجرعة","edit":"Edit","editPatientDetails":"تعديل تفاصيل المريض","editQueueEntry":"Edit queue entry","editQueueEntryInstruction":"Edit fields of existing queue entry","encounterType":"نوع المواجهة","endAgeRangeInvalid":"نطاق العمر النهائي غير صالح","endDate":"تاريخ الانتهاء","endVisit":"إنهاء الزيارة","endVisitWarningMessage":"سيؤدي إنهاء هذه الزيارة إلى إزالة هذا المريض من الطابور ولن يسمح لك بملء نموذج مواجهة آخر لهذا المريض","enterCommentHere":"Enter Comment here","errorAddingQueue":"خطأ في إضافة الطابور","errorAddingQueueRoom":"خطأ في إضافة غرفة الطابور","errorClearingQueues":"خطأ في مسح الطوابير","errorFetchingAppointments":"Error fetching appointments","errorLoadingQueueEntries":"Error loading queue entries","errorPostingToScreen":"خطأ في النشر على الشاشة","facility":"المنشأة","failedToLoadRecommendedVisitTypes":"Failed to load recommended visit types","female":"أنثى","femaleLabelText":"أنثى","fields":"من الحقول التالية","filter":"تصفية (1)","filterTable":"جدول التصفية","firstName":"الاسم الأول","firstNameSort":"الاسم الأول (أ-ي)","futureScheduledVisits_one":"{{count}} زيارة/زيارات مجدولة لتواريخ في المستقبل","futureScheduledVisits_other":"{{count}} زيارة/زيارات مجدولة لتواريخ في المستقبل","gender":"الجنس","heartRate":"معدل ضربات القلب","height":"الطول","home":"المنزل","hourAndMinuteFormatted":"{{hours}} hour(s) and {{minutes}} minute(s)","idNumber":"رقم الهوية","indication":"الدلالة","invalidQueue":"Invalid Queue","invalidtableConfig":"Invalid table configuration","lastEncounter":"آخر مواجهة","lastName":"اسم العائلة","lastNameSort":"اسم العائلة (أ-ي)","lastVisit":"آخر زيارة","lastVisitDate":"التاريخ","loading":"جار التحميل...","location":"Location","male":"ذكر","maleLabelText":"ذكر","match":"مطابقة","medications":"الأدوية","middleName":"الاسم الأوسط","minuteFormatted":"{{minutes}} minute(s)","minutes":"دقائق","missingLocation":"الموقع مفقود","missingPriority":"يرجى اختيار الأولوية","missingQueueName":"اسم الطابور مفقود","missingQueueRoom":"يرجى اختيار غرفة الطابور","missingQueueRoomName":"اسم غرفة الطابور مفقود","missingQueueRoomService":"خدمة غرفة الطابور مفقودة","missingService":"Missing service","missingVisitType":"نوع الزيارة مفقود","modifyDefaultValue":"Modify default value","movePatientToNextService":"نقل المريض إلى الخدمة التالية؟","moveToNextService":"الانتقال إلى الخدمة التالية","name":"الاسم","nextPage":"Next page","noActiveVisitsForLocation":"لا توجد زيارات نشطة لعرضها لهذا الموقع.","noAppointmentsFound":"لم يتم العثور على مواعيد","noColumnsDefined":"No table columns defined. Check Configuration","noEncountersFound":"لم يتم العثور على مواجهات","noLastEncounter":"لا توجد آخر مواجهة لعرضها لهذا المريض","noLocationsAvailable":"لا توجد مواقع متاحة","noMedicationsFound":"لم يتم العثور على أدوية","noNotesFound":"لم يتم العثور على ملاحظات","noPatientFoundMessage":"عذرًا، لم يتم العثور على المريض","noPatientsToDisplay":"لا يوجد مرضى للعرض","noPreviousVisitFound":"لم يتم العثور على زيارة سابقة","noPrioritiesConfigured":"لم يتم تكوين أولويات","noPrioritiesForService":"The selected service does not have any allowed priorities. This is an error in configuration. Please contact your system administrator.","noPrioritiesForServiceTitle":"No priorities available","noPriorityFound":"لم يتم العثور على الأولوية","noResultsFound":"لم يتم العثور على نتائج","noReturnDate":"لا يوجد تاريخ عودة لعرضه لهذا المريض","noServicesAvailable":"لا توجد خدمات متاحة","noServicesConfigured":"لم يتم تكوين الخدمات","noStatusConfigured":"لم يتم تكوين الحالة","notableConfig":"No table configuration","notes":"ملاحظات","noVisitsNotInQueueFound":"لم يتم العثور على زيارات حالياً خارج الطابور","noVisitTypesMatchingSearch":"There are no visit types matching this search text","noVitalsFound":"لم يتم العثور على العلامات الحيوية","oldest":"الأقدم أولاً","onTime":"في الوقت المحدد","or":"أو","orderDurationAndUnit":"لمدة {{duration}} {{durationUnit}}","orderIndefiniteDuration":"مدة غير محددة","orInProperFormat":"Or","orPatientName":"أو اسم المريض/الأسماء","patientAge":"Age","patientAlreadyInQueue":"Patient is already in the queue","patientAttendingService":"المريض الذي يحضر الخدمة","patientHasActiveVisit":"لدى المريض زيارة نشطة بالفعل","patientList":"قائمة المرضى","patientName":"اسم المريض","patientNotInQueue":"المريض ليس في الطابور","patientRemoved":"Patient removed","patientRemovedFailed":"Error removing patient from queue","patientRemovedSuccessfully":"Paient removed from queue successfully","patientRequeued":"تمت إعادة المريض إلى الطابور","patients":"المرضى","patientsCurrentlyInQueue":"المرضى الموجودين حاليًا في الطابور","personalDetails":"التفاصيل الشخصية","phoneNumber":"رقم الهاتف","pleaseSelectLocation":"Please select a location","pleaseSelectService":"Please select a service","postCode":"الرمز البريدي","previousPage":"Previous page","previousVisit":"الزيارة السابقة","primaryHelperText":"ابحث عن مريض","priority":"الأولوية","priorityComment":"Priority comment","priorityIsRequired":"Priority is required","program":"البرنامج","provider":"مقدم الخدمة","quantity":"الكمية","queueAddedSuccessfully":"Queue added successfully","queueEntryAddedSuccessfully":"Queue entry added successfully","queueEntryAddFailed":"خطأ في إضافة حالة دخول الطابور","queueEntryDeleteFailed":"Error deleting queue entry","queueEntryDeleteSuccessful":"Queue entry deleted successfully","queueEntryEdited":"Queue entry edited","queueEntryEditedSuccessfully":"Queue entry edited successfully","queueEntryEditingFailed":"Error editing queue entry","queueEntryError":"خطأ في إضافة المريض إلى الطابور","queueEntryRemoved":"تمت إزالة دخول الطابور","queueEntryRemovedSuccessfully":"","queueEntryStatusUpdateFailed":"Error updating queue entry status","queueEntryTransitioned":"Queue entry transitioned","queueEntryTransitionedSuccessfully":"Queue entry transitioned successfully","queueEntryTransitionFailed":"Error transitioning queue entry","queueEntryTransitionUndoFailed":"Error undoing transition","queueEntryTransitionUndoSuccessful":"Queue entry transition undo success","queueEntryUpdateFailed":"خطأ في تحديث دخول الطابور","queueEntryUpdateSuccessfully":"تم تحديث دخول الطابور بنجاح","queueLocation":"موقع الطابور","queueLocationRequired":"Queue location is required","queueName":"اسم الطابور","queuePriority":"أولوية الطابور","queueRoom":"غرفة الانتظار","queueRoomAddedSuccessfully":"Queue room added successfully","queueRoomAddFailed":"خطأ في إضافة غرفة الانتظار","queueRoomName":"اسم غرفة الانتظار","queueRoomUpdatedSuccessfully":"تم تحديث غرفة الانتظار بنجاح","queuesClearedSuccessfully":"تم مسح الطوابير بنجاح","queueScreen":"شاشة الطابور","queueService":"خدمة الطابور","queueStatus":"حالة الطابور","recentScheduledVisits_one":"{{count}} زيارة/زيارات مجدولة لمدة +/- 7 أيام","recentScheduledVisits_other":"{{count}} زيارة/زيارات مجدولة لمدة +/- 7 أيام","recommended":"موصى به","refills":"إعادة التعبئة","removeFromQueueAndEndVisit":"هل تريد إزالة المريض من الطابور وإنهاء الزيارة النشطة؟","removePatient":"Remove patient","removePatientFromQueue":"Remove patient from queue","removeQueueEntryError":"خطأ في إزالة دخول الطابور","requeue":"إعادة الطابور","retainLocation":"الاحتفاظ بالموقع","returnDate":"تاريخ العودة","room":"الغرفة","rRate":"معدل التنفس","save":"حفظ","scheduledAppointmentsList":"قائمة المواعيد المجدولة للمرضى","scheduledToday":"مجدول لليوم","search":"بحث","searchboxPlaceholder":"ابحث عن اسم المريض أو رقم الهوية","searchForAVisitType":"ابحث عن نوع الزيارة","searchForPatient":"ابحث عن مريض","searchPatient":"Search Patient","searchThisList":"ابحث في هذه القائمة","secondaryHelperText":"اكتب اسم المريض أو رقم الهوية الفريد","selectALocation":"Select a location","selectAVisitType":"اختر نوع الزيارة","selectFacility":"اختر المنشأة","selectOption":"اختر خيارًا","selectProgramType":"اختر نوع البرنامج","selectQueue":"Select a queue","selectQueueLocation":"اختر موقع الطابور","selectQueueService":"Select a queue service","selectRoom":"اختر غرفة","selectService":"اختر خدمة","selectServiceType":"اختر نوع الخدمة","selectVisitType":"يرجى اختيار نوع الزيارة","serve":"خدمة","servePatient":"خدمة المريض","service":"خدمة","serviceIsRequired":"Status is required","serviceQueue":"طابور الخدمة","serviceQueues":"طوابير الخدمة","sex":"الجنس","showPatientsWaitingFor":"عرض المرضى في الانتظار لـ","sortBy":"ترتيب حسب","sortWeight":"ترتيب حسب الوزن","sp02":"Sp02","startAgeRangeInvalid":"نطاق العمر الابتدائي غير صالح","startAVisit":"Start a visit","startVisit":"بدء الزيارة","startVisitError":"خطأ أثناء بدء الزيارة","startVisitQueueSuccessfully":"تمت إضافة المريض إلى قائمة الزيارات النشطة والطابور.","status":"الحالة","statusIsRequired":"Status is required","submitting":"Submitting","success":"نجاح","temperature":"درجة الحرارة","ticketNumber":"رقم التذكرة","time":"الوقت","timeCannotBeInFuture":"Time cannot be in the future","timeOfTransition":"Time of transition","tirageNotYetCompleted":"لم يتم الانتهاء من الترياج بعد","today":"اليوم","totalPatients":"Total Patients","transition":"Transition","transitionPatient":"Transition patient","transitionPatientStatusOrQueue":"Select a new status or queue for patient to transition to.","triageForm":"نموذج الترياج","triageNote":"ملاحظة الترياج","trySearchWithPatientUniqueID":"حاول البحث باستخدام رقم المريض المميز","undoQueueEntryTransitionSuccess":"Undo transition success","undoTransition":"Undo transition","unexpectedServerResponse":"Unexpected Server Response","unknown":"غير معروف","updateEntry":"تحديث الإدخال","updateRoom":"تحديث الغرفة","useTodaysDate":"استخدم تاريخ اليوم","visitQueueNumberAttributeUuid not configured":"visitQueueNumberAttributeUuid not configured","visitStartTime":"وقت الزيارة","visitTabs":"Visit tabs","visitType":"نوع الزيارة","vitals":"العلامات الحيوية","vitalsForm":"نموذج العلامات الحيوية","vitalsNotRecordedForVisit":"لم يتم تسجيل العلامات الحيوية لهذا المريض خلال هذه الزيارة","waitingFor":"في انتظار","weight":"الوزن","years":"سنوات","youngest":"الأصغر سنًا أولاً"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([[460],{4460:e=>{e.exports=JSON.parse('{"actions":"الإجراءات","activeVisits":"الزيارات النشطة","activeVisitsNotInQueue":"الزيارات النشطة التي ليست في الطابور","addAProviderQueueRoom":"Add a provider queue room?","addEntry":"أضف مدخل","addisitToQueueTooltip":"أضف إلى الطابور","addNewQueueService":"Add New Queue Service","addNewQueueServiceRoom":"أضف غرفة خدمة طابور جديدة","addNewService":"أضف خدمة جديدة","addNewServiceRoom":"أضف غرفة خدمة جديدة","addPatientToQueue":"أضف المريض إلى الطابور","addProviderQueueRoom":"Add provider queue room","addQueue":"أضف طابور","addQueueName":"يرجى إضافة اسم الطابور","addQueueRoom":"أضف غرفة طابور","addQueueRoomName":"يرجى إضافة اسم غرفة الطابور","addQueueRoomService":"يرجى إضافة خدمة غرفة الطابور","addRoom":"أضف غرفة","addToQueue":"أضف إلى الطابور","addVisitToQueue":"أضف الزيارة إلى الطابور؟","advancedSearch":"بحث متقدم","age":"العمر","alistOfClients":"قائمة بالعملاء في انتظار","all":"الكل","and":"و","anotherVisitType":"ابدأ نوع زيارة آخر","any":"أي","applyFilters":"Apply filters","averageWaitTime":"متوسط وقت الانتظار اليوم","backToScheduledVisits":"العودة إلى الزيارات المجدولة","backToSearchResults":"Back to search results","backToSimpleSearch":"العودة إلى البحث البسيط","between":"بين","bmi":"مؤشر كتلة الجسم","bp":"ضغط الدم","call":"اتصل","cancel":"إلغاء","checkedInPatients":"المرضى المسجلين","checkFilters":"تحقق من الفلاتر أعلاه","chooseRoom":"اختر غرفة","chooseService":"اختر خدمة","clearAllQueueEntries":"مسح جميع مدخلات الطابور؟","clearAllQueueEntriesWarningMessage":"Clearing all queue entries will remove all the patients from the queues","clearQueue":"مسح الطابور","clinicMetrics":"مقاييس العيادة","configurePriorities":"يرجى تكوين الأولويات للمتابعة.","configureServices":"يرجى تكوين الخدمات للمتابعة.","configureStatus":"يرجى تكوين الحالة للمتابعة.","confirmDeleteQueueEntry":"Are you sure you want to delete this queue entry?","confirmMoveBackQueueAndStatus":"Are you sure you want to move patient back to queue \\"{{queue}}\\" with status \\"{{status}}\\"?","confirmMoveBackStatus":"Are you sure you want to move patient back to status \\"{{status}}\\"?","confirmRemovePatientFromQueue":"Are you sure you want to remove this patient from this queue?","currentValueFormatted":"{{value}} (Current)","currentVisit":"الزيارة الحالية","date":"التاريخ","date&Time":"Date & time","dateAndTimeOfVisit":"تاريخ ووقت الزيارة","dateOfBirth":"تاريخ الميلاد","delete":"Delete","deleteQueueEntry":"Delete queue entry","discard":"تجاهل","dose":"الجرعة","edit":"Edit","editPatientDetails":"تعديل تفاصيل المريض","editQueueEntry":"Edit queue entry","editQueueEntryInstruction":"Edit fields of existing queue entry","encounterType":"نوع المواجهة","endAgeRangeInvalid":"نطاق العمر النهائي غير صالح","endDate":"تاريخ الانتهاء","endVisit":"إنهاء الزيارة","endVisitWarningMessage":"سيؤدي إنهاء هذه الزيارة إلى إزالة هذا المريض من الطابور ولن يسمح لك بملء نموذج مواجهة آخر لهذا المريض","enterCommentHere":"Enter Comment here","errorAddingQueue":"خطأ في إضافة الطابور","errorAddingQueueRoom":"خطأ في إضافة غرفة الطابور","errorClearingQueues":"خطأ في مسح الطوابير","errorFetchingAppointments":"Error fetching appointments","errorLoadingQueueEntries":"Error loading queue entries","errorPostingToScreen":"خطأ في النشر على الشاشة","facility":"المنشأة","failedToLoadRecommendedVisitTypes":"Failed to load recommended visit types","female":"أنثى","femaleLabelText":"أنثى","fields":"من الحقول التالية","filter":"تصفية (1)","filterByService":"Filter by service :","filterByStatus":"Filter by status :","filterTable":"جدول التصفية","firstName":"الاسم الأول","firstNameSort":"الاسم الأول (أ-ي)","futureScheduledVisits_one":"{{count}} زيارة/زيارات مجدولة لتواريخ في المستقبل","futureScheduledVisits_other":"{{count}} زيارة/زيارات مجدولة لتواريخ في المستقبل","gender":"الجنس","heartRate":"معدل ضربات القلب","height":"الطول","home":"المنزل","hourAndMinuteFormatted":"{{hours}} hour(s) and {{minutes}} minute(s)","idNumber":"رقم الهوية","indication":"الدلالة","invalidQueue":"Invalid Queue","invalidtableConfig":"Invalid table configuration","lastEncounter":"آخر مواجهة","lastName":"اسم العائلة","lastNameSort":"اسم العائلة (أ-ي)","lastVisit":"آخر زيارة","lastVisitDate":"التاريخ","loading":"جار التحميل...","location":"Location","male":"ذكر","maleLabelText":"ذكر","match":"مطابقة","medications":"الأدوية","middleName":"الاسم الأوسط","minuteFormatted":"{{minutes}} minute(s)","minutes":"دقائق","missingLocation":"الموقع مفقود","missingPriority":"يرجى اختيار الأولوية","missingQueueName":"اسم الطابور مفقود","missingQueueRoom":"يرجى اختيار غرفة الطابور","missingQueueRoomName":"اسم غرفة الطابور مفقود","missingQueueRoomService":"خدمة غرفة الطابور مفقودة","missingService":"Missing service","missingVisitType":"نوع الزيارة مفقود","modifyDefaultValue":"Modify default value","movePatientToNextService":"نقل المريض إلى الخدمة التالية؟","moveToNextService":"الانتقال إلى الخدمة التالية","name":"الاسم","nextPage":"Next page","noActiveVisitsForLocation":"لا توجد زيارات نشطة لعرضها لهذا الموقع.","noAppointmentsFound":"لم يتم العثور على مواعيد","noColumnsDefined":"No table columns defined. Check Configuration","noEncountersFound":"لم يتم العثور على مواجهات","noLastEncounter":"لا توجد آخر مواجهة لعرضها لهذا المريض","noLocationsAvailable":"لا توجد مواقع متاحة","noMedicationsFound":"لم يتم العثور على أدوية","noNotesFound":"لم يتم العثور على ملاحظات","noPatientFoundMessage":"عذرًا، لم يتم العثور على المريض","noPatientsToDisplay":"لا يوجد مرضى للعرض","noPreviousVisitFound":"لم يتم العثور على زيارة سابقة","noPrioritiesConfigured":"لم يتم تكوين أولويات","noPrioritiesForService":"The selected service does not have any allowed priorities. This is an error in configuration. Please contact your system administrator.","noPrioritiesForServiceTitle":"No priorities available","noPriorityFound":"لم يتم العثور على الأولوية","noResultsFound":"لم يتم العثور على نتائج","noReturnDate":"لا يوجد تاريخ عودة لعرضه لهذا المريض","noServicesAvailable":"لا توجد خدمات متاحة","noServicesConfigured":"لم يتم تكوين الخدمات","noStatusConfigured":"لم يتم تكوين الحالة","notableConfig":"No table configuration","notes":"ملاحظات","noVisitsNotInQueueFound":"لم يتم العثور على زيارات حالياً خارج الطابور","noVisitTypesMatchingSearch":"There are no visit types matching this search text","noVitalsFound":"لم يتم العثور على العلامات الحيوية","oldest":"الأقدم أولاً","onTime":"في الوقت المحدد","or":"أو","orderDurationAndUnit":"لمدة {{duration}} {{durationUnit}}","orderIndefiniteDuration":"مدة غير محددة","orInProperFormat":"Or","orPatientName":"أو اسم المريض/الأسماء","patientAge":"Age","patientAlreadyInQueue":"Patient is already in the queue","patientAttendingService":"المريض الذي يحضر الخدمة","patientHasActiveVisit":"لدى المريض زيارة نشطة بالفعل","patientList":"قائمة المرضى","patientName":"اسم المريض","patientNotInQueue":"المريض ليس في الطابور","patientRemoved":"Patient removed","patientRemovedFailed":"Error removing patient from queue","patientRemovedSuccessfully":"Paient removed from queue successfully","patientRequeued":"تمت إعادة المريض إلى الطابور","patients":"المرضى","patientsCurrentlyInQueue":"المرضى الموجودين حاليًا في الطابور","personalDetails":"التفاصيل الشخصية","phoneNumber":"رقم الهاتف","pleaseSelectLocation":"Please select a location","pleaseSelectService":"Please select a service","postCode":"الرمز البريدي","previousPage":"Previous page","previousVisit":"الزيارة السابقة","primaryHelperText":"ابحث عن مريض","priority":"الأولوية","priorityComment":"Priority comment","priorityIsRequired":"Priority is required","program":"البرنامج","provider":"مقدم الخدمة","quantity":"الكمية","queueAddedSuccessfully":"Queue added successfully","queueEntryAddedSuccessfully":"Queue entry added successfully","queueEntryAddFailed":"خطأ في إضافة حالة دخول الطابور","queueEntryDeleteFailed":"Error deleting queue entry","queueEntryDeleteSuccessful":"Queue entry deleted successfully","queueEntryEdited":"Queue entry edited","queueEntryEditedSuccessfully":"Queue entry edited successfully","queueEntryEditingFailed":"Error editing queue entry","queueEntryError":"خطأ في إضافة المريض إلى الطابور","queueEntryRemoved":"تمت إزالة دخول الطابور","queueEntryRemovedSuccessfully":"","queueEntryStatusUpdateFailed":"Error updating queue entry status","queueEntryTransitioned":"Queue entry transitioned","queueEntryTransitionedSuccessfully":"Queue entry transitioned successfully","queueEntryTransitionFailed":"Error transitioning queue entry","queueEntryTransitionUndoFailed":"Error undoing transition","queueEntryTransitionUndoSuccessful":"Queue entry transition undo success","queueEntryUpdateFailed":"خطأ في تحديث دخول الطابور","queueEntryUpdateSuccessfully":"تم تحديث دخول الطابور بنجاح","queueLocation":"موقع الطابور","queueLocationRequired":"Queue location is required","queueName":"اسم الطابور","queuePriority":"أولوية الطابور","queueRoom":"غرفة الانتظار","queueRoomAddedSuccessfully":"Queue room added successfully","queueRoomAddFailed":"خطأ في إضافة غرفة الانتظار","queueRoomName":"اسم غرفة الانتظار","queueRoomUpdatedSuccessfully":"تم تحديث غرفة الانتظار بنجاح","queuesClearedSuccessfully":"تم مسح الطوابير بنجاح","queueScreen":"شاشة الطابور","queueService":"خدمة الطابور","queueStatus":"حالة الطابور","recentScheduledVisits_one":"{{count}} زيارة/زيارات مجدولة لمدة +/- 7 أيام","recentScheduledVisits_other":"{{count}} زيارة/زيارات مجدولة لمدة +/- 7 أيام","recommended":"موصى به","refills":"إعادة التعبئة","removeFromQueueAndEndVisit":"هل تريد إزالة المريض من الطابور وإنهاء الزيارة النشطة؟","removePatient":"Remove patient","removePatientFromQueue":"Remove patient from queue","removeQueueEntryError":"خطأ في إزالة دخول الطابور","requeue":"إعادة الطابور","retainLocation":"الاحتفاظ بالموقع","returnDate":"تاريخ العودة","room":"الغرفة","rRate":"معدل التنفس","save":"حفظ","scheduledAppointmentsList":"قائمة المواعيد المجدولة للمرضى","scheduledToday":"مجدول لليوم","search":"بحث","searchboxPlaceholder":"ابحث عن اسم المريض أو رقم الهوية","searchForAVisitType":"ابحث عن نوع الزيارة","searchForPatient":"ابحث عن مريض","searchPatient":"Search Patient","searchThisList":"ابحث في هذه القائمة","secondaryHelperText":"اكتب اسم المريض أو رقم الهوية الفريد","selectALocation":"Select a location","selectAVisitType":"اختر نوع الزيارة","selectFacility":"اختر المنشأة","selectOption":"اختر خيارًا","selectProgramType":"اختر نوع البرنامج","selectQueue":"Select a queue","selectQueueLocation":"اختر موقع الطابور","selectQueueService":"Select a queue service","selectRoom":"اختر غرفة","selectService":"اختر خدمة","selectServiceType":"اختر نوع الخدمة","selectVisitType":"يرجى اختيار نوع الزيارة","serve":"خدمة","servePatient":"خدمة المريض","service":"خدمة","serviceIsRequired":"Status is required","serviceQueue":"طابور الخدمة","serviceQueues":"طوابير الخدمة","sex":"الجنس","sortBy":"ترتيب حسب","sortWeight":"ترتيب حسب الوزن","sp02":"Sp02","startAgeRangeInvalid":"نطاق العمر الابتدائي غير صالح","startAVisit":"Start a visit","startVisit":"بدء الزيارة","startVisitError":"خطأ أثناء بدء الزيارة","startVisitQueueSuccessfully":"تمت إضافة المريض إلى قائمة الزيارات النشطة والطابور.","status":"الحالة","statusIsRequired":"Status is required","submitting":"Submitting...","success":"نجاح","temperature":"درجة الحرارة","ticketNumber":"رقم التذكرة","time":"الوقت","timeCannotBeInFuture":"Time cannot be in the future","timeCannotBePriorToPreviousQueueEntry":"Time cannot be before start of previous queue entry: {{time}}","timeOfTransition":"Time of transition","tirageNotYetCompleted":"لم يتم الانتهاء من الترياج بعد","today":"اليوم","totalPatients":"Total Patients","transition":"Transition","transitionPatient":"Transition patient","transitionPatientStatusOrQueue":"Select a new status or queue for patient to transition to.","triageForm":"نموذج الترياج","triageNote":"ملاحظة الترياج","trySearchWithPatientUniqueID":"حاول البحث باستخدام رقم المريض المميز","undoQueueEntryTransitionSuccess":"Undo transition success","undoTransition":"Undo transition","unexpectedServerResponse":"Unexpected Server Response","unknown":"غير معروف","updateEntry":"تحديث الإدخال","updateRoom":"تحديث الغرفة","useTodaysDate":"استخدم تاريخ اليوم","visitQueueNumberAttributeUuid not configured":"visitQueueNumberAttributeUuid not configured","visitStartTime":"وقت الزيارة","visitTabs":"Visit tabs","visitType":"نوع الزيارة","vitals":"العلامات الحيوية","vitalsForm":"نموذج العلامات الحيوية","vitalsNotRecordedForVisit":"لم يتم تسجيل العلامات الحيوية لهذا المريض خلال هذه الزيارة","waitingFor":"في انتظار","weight":"الوزن","years":"سنوات","youngest":"الأصغر سنًا أولاً"}')}}]);