@kenyaemr/esm-service-queues-app 8.1.2-pre.220 → 8.1.2-pre.238

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 (180) hide show
  1. package/.turbo/turbo-build.log +13 -42
  2. package/dist/1091.js +1 -0
  3. package/dist/1091.js.map +1 -0
  4. package/dist/1465.js +1 -0
  5. package/dist/1799.js +1 -0
  6. package/dist/1827.js +1 -0
  7. package/dist/2062.js +1 -0
  8. package/dist/2062.js.map +1 -0
  9. package/dist/2118.js +1 -0
  10. package/dist/2118.js.map +1 -0
  11. package/dist/2163.js +1 -0
  12. package/dist/2163.js.map +1 -0
  13. package/dist/2254.js +1 -0
  14. package/dist/2273.js +1 -0
  15. package/dist/2557.js +1 -0
  16. package/dist/2557.js.map +1 -0
  17. package/dist/2603.js +1 -0
  18. package/dist/2802.js +1 -0
  19. package/dist/2825.js +43 -0
  20. package/dist/2825.js.map +1 -0
  21. package/dist/{1727.js → 286.js} +1 -1
  22. package/dist/286.js.map +1 -0
  23. package/dist/3040.js +1 -0
  24. package/dist/3116.js +1 -0
  25. package/dist/3162.js +1 -0
  26. package/dist/3162.js.map +1 -0
  27. package/dist/3472.js +1 -0
  28. package/dist/3472.js.map +1 -0
  29. package/dist/3549.js +1 -0
  30. package/dist/3566.js +1 -0
  31. package/dist/3631.js +1 -0
  32. package/dist/3700.js +1 -0
  33. package/dist/3700.js.map +1 -0
  34. package/dist/3769.js +1 -0
  35. package/dist/3769.js.map +1 -0
  36. package/dist/4089.js +1 -0
  37. package/dist/4089.js.map +1 -0
  38. package/dist/4541.js +1 -0
  39. package/dist/4541.js.map +1 -0
  40. package/dist/466.js +1 -0
  41. package/dist/466.js.map +1 -0
  42. package/dist/4818.js +1 -0
  43. package/dist/4818.js.map +1 -0
  44. package/dist/4955.js +1 -0
  45. package/dist/4955.js.map +1 -0
  46. package/dist/5177.js +1 -0
  47. package/dist/571.js +1 -0
  48. package/dist/571.js.map +1 -0
  49. package/dist/5882.js +1 -0
  50. package/dist/5917.js +1 -0
  51. package/dist/5917.js.map +1 -0
  52. package/dist/5919.js +15 -0
  53. package/dist/5919.js.map +1 -0
  54. package/dist/6098.js +1 -0
  55. package/dist/6098.js.map +1 -0
  56. package/dist/6114.js +1 -0
  57. package/dist/6114.js.map +1 -0
  58. package/dist/6339.js +1 -0
  59. package/dist/6621.js +1 -0
  60. package/dist/6621.js.map +1 -0
  61. package/dist/689.js +1 -0
  62. package/dist/689.js.map +1 -0
  63. package/dist/7085.js +1 -0
  64. package/dist/7085.js.map +1 -0
  65. package/dist/7127.js +1 -0
  66. package/dist/720.js +1 -0
  67. package/dist/7329.js +1 -0
  68. package/dist/7329.js.map +1 -0
  69. package/dist/7751.js +1 -0
  70. package/dist/8285.js +1 -0
  71. package/dist/8285.js.map +1 -0
  72. package/dist/8298.js +1 -0
  73. package/dist/8298.js.map +1 -0
  74. package/dist/8381.js +1 -0
  75. package/dist/8474.js +1 -0
  76. package/dist/868.js +1 -0
  77. package/dist/8925.js +1 -0
  78. package/dist/9037.js +1 -0
  79. package/dist/9037.js.map +1 -0
  80. package/dist/916.js +1 -0
  81. package/dist/9466.js +1 -0
  82. package/dist/9466.js.map +1 -0
  83. package/dist/9550.js +1 -0
  84. package/dist/9550.js.map +1 -0
  85. package/dist/970.js +1 -0
  86. package/dist/9754.js +1 -0
  87. package/dist/983.js +1 -0
  88. package/dist/983.js.map +1 -0
  89. package/dist/998.js +1 -0
  90. package/dist/998.js.map +1 -0
  91. package/dist/kenyaemr-esm-service-queues-app.js +6 -1
  92. package/dist/kenyaemr-esm-service-queues-app.js.buildmanifest.json +570 -364
  93. package/dist/kenyaemr-esm-service-queues-app.js.map +1 -1
  94. package/dist/main.js +20 -2
  95. package/dist/main.js.map +1 -1
  96. package/dist/routes.json +1 -1
  97. package/package.json +6 -9
  98. package/rspack.config.js +1 -0
  99. package/src/patient-info/patient-info.component.tsx +1 -1
  100. package/dist/1006.js +0 -1
  101. package/dist/1006.js.map +0 -1
  102. package/dist/1060.js +0 -1
  103. package/dist/1060.js.map +0 -1
  104. package/dist/130.js +0 -2
  105. package/dist/130.js.LICENSE.txt +0 -5
  106. package/dist/130.js.map +0 -1
  107. package/dist/1325.js +0 -1
  108. package/dist/1325.js.map +0 -1
  109. package/dist/1644.js +0 -1
  110. package/dist/1727.js.map +0 -1
  111. package/dist/1800.js +0 -1
  112. package/dist/1800.js.map +0 -1
  113. package/dist/2.js +0 -2
  114. package/dist/2.js.LICENSE.txt +0 -9
  115. package/dist/2.js.map +0 -1
  116. package/dist/236.js +0 -1
  117. package/dist/2757.js +0 -1
  118. package/dist/2760.js +0 -1
  119. package/dist/2760.js.map +0 -1
  120. package/dist/2784.js +0 -2
  121. package/dist/2784.js.LICENSE.txt +0 -9
  122. package/dist/2784.js.map +0 -1
  123. package/dist/3199.js +0 -1
  124. package/dist/3199.js.map +0 -1
  125. package/dist/3372.js +0 -1
  126. package/dist/3372.js.map +0 -1
  127. package/dist/3574.js +0 -1
  128. package/dist/3604.js +0 -1
  129. package/dist/3604.js.map +0 -1
  130. package/dist/3652.js +0 -1
  131. package/dist/3760.js +0 -1
  132. package/dist/3760.js.map +0 -1
  133. package/dist/3818.js +0 -1
  134. package/dist/3818.js.map +0 -1
  135. package/dist/3828.js +0 -1
  136. package/dist/3828.js.map +0 -1
  137. package/dist/4272.js +0 -1
  138. package/dist/4378.js +0 -1
  139. package/dist/443.js +0 -1
  140. package/dist/443.js.map +0 -1
  141. package/dist/4460.js +0 -1
  142. package/dist/4705.js +0 -1
  143. package/dist/4911.js +0 -1
  144. package/dist/4911.js.map +0 -1
  145. package/dist/5236.js +0 -1
  146. package/dist/5236.js.map +0 -1
  147. package/dist/5240.js +0 -1
  148. package/dist/5282.js +0 -1
  149. package/dist/5282.js.map +0 -1
  150. package/dist/5336.js +0 -1
  151. package/dist/539.js +0 -1
  152. package/dist/5673.js +0 -1
  153. package/dist/5711.js +0 -1
  154. package/dist/5737.js +0 -1
  155. package/dist/5833.js +0 -1
  156. package/dist/6566.js +0 -1
  157. package/dist/6578.js +0 -2
  158. package/dist/6578.js.LICENSE.txt +0 -65
  159. package/dist/6578.js.map +0 -1
  160. package/dist/6591.js +0 -2
  161. package/dist/6591.js.LICENSE.txt +0 -32
  162. package/dist/6591.js.map +0 -1
  163. package/dist/6670.js +0 -1
  164. package/dist/6670.js.map +0 -1
  165. package/dist/6727.js +0 -1
  166. package/dist/744.js +0 -1
  167. package/dist/752.js +0 -1
  168. package/dist/752.js.map +0 -1
  169. package/dist/7807.js +0 -1
  170. package/dist/8271.js +0 -1
  171. package/dist/8319.js +0 -1
  172. package/dist/8788.js +0 -1
  173. package/dist/899.js +0 -1
  174. package/dist/9261.js +0 -1
  175. package/dist/9392.js +0 -1
  176. package/dist/9392.js.map +0 -1
  177. package/dist/9993.js +0 -1
  178. package/dist/9993.js.map +0 -1
  179. package/dist/main.js.LICENSE.txt +0 -65
  180. package/webpack.config.js +0 -1
package/dist/6098.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([["6098"],{37871:function(e,n,t){t.d(n,{A:()=>l});var a=t(71452),i=t.n(a),o=t(34567),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__remove-queue-entry__modalHeader___WEUV1 .cds--modal-close-button{position:absolute;inset-block-start:0;inset-inline-end:0;margin:0;margin-top:calc(-1*1rem)}.-esm-service-queues__remove-queue-entry__modalHeader___WEUV1 .cds--modal-close{background-color:rgba(0,0,0,0)}.-esm-service-queues__remove-queue-entry__modalHeader___WEUV1 .cds--modal-close:hover{background-color:var(--cds-layer-hover)}.-esm-service-queues__remove-queue-entry__modalHeader___WEUV1 .cds--popover--left>.cds--popover>.cds--popover-content{transform:translate(-4rem, 0.85rem)}.-esm-service-queues__remove-queue-entry__modalHeader___WEUV1 .cds--popover--left>.cds--popover>.cds--popover-caret{transform:translate(-3.75rem, 1.25rem)}#-esm-service-queues__remove-queue-entry__subHeading___Hc9ir{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px);color:#161616}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/remove-queue-entry-dialog/remove-queue-entry.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDE,uFACE,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,QAAA,CACA,wBAAA,CAGF,gFACE,8BAAA,CAEA,sFACE,uCAAA,CAIJ,sHACE,mCAAA,CAGF,oHACE,sCAAA,CAKN,6DCk0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDh0BF,aD5BM",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.modalHeader {\n :global {\n .cds--modal-close-button {\n position: absolute;\n inset-block-start: 0;\n inset-inline-end: 0;\n margin: 0;\n margin-top: calc(-1 * #{layout.$spacing-05});\n }\n\n .cds--modal-close {\n background-color: rgba(0, 0, 0, 0);\n\n &:hover {\n background-color: var(--cds-layer-hover);\n }\n }\n\n .cds--popover--left > .cds--popover > .cds--popover-content {\n transform: translate(-4rem, 0.85rem);\n }\n\n .cds--popover--left > .cds--popover > .cds--popover-caret {\n transform: translate(-3.75rem, 1.25rem);\n }\n }\n}\n\n#subHeading {\n @include type.type-style('heading-compact-01');\n color: $ui-05;\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={modalHeader:"-esm-service-queues__remove-queue-entry__modalHeader___WEUV1",subHeading:"-esm-service-queues__remove-queue-entry__subHeading___Hc9ir"};let l=s},53737:function(e,n,t){t.r(n),t.d(n,{default:()=>B});var a=t(22044),i=t.n(a),o=t(8836),s=t(45681),l=t(99819),r=t(90589),p=t(23464),c=t.n(p),u=t(13624),d=t(96910);function f(e,n,t,a,i,o,s){try{var l=e[o](s),r=l.value}catch(e){t(e);return}l.done?n(r):Promise.resolve(r).then(a,i)}function g(e){return function(){var n=this,t=arguments;return new Promise(function(a,i){var o=e.apply(n,t);function s(e){f(o,a,i,s,l,"next",e)}function l(e){f(o,a,i,s,l,"throw",e)}s(void 0)})}}function h(e,n){var t,a,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=l(0),s.throw=l(1),s.return=l(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function l(l){return function(r){var p=[l,r];if(t)throw TypeError("Generator is already executing.");for(;s&&(s=0,p[0]&&(o=0)),o;)try{if(t=1,a&&(i=2&p[0]?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[2&p[0],i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===p[0]||2===p[0])){o=0;continue}if(3===p[0]&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(6===p[0]&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=n.call(e,o)}catch(e){p=[6,e],a=0}finally{t=i=0}if(5&p[0])throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}}var y=c()(new Date).format(r.BC),b=t(35541),m=t(72591),$=t.n(m),v=t(1740),k=t.n(v),w=t(88128),x=t.n(w),A=t(30855),z=t.n(A),M=t(93051),_=t.n(M),C=t(73656),q=t.n(C),E=t(37871),T={};T.styleTagTransform=q(),T.setAttributes=z(),T.insert=x().bind(null,"head"),T.domAPI=k(),T.insertStyleElement=_(),$()(E.A,T);let H=E.A&&E.A.locals?E.A.locals:void 0,B=function(e){var n,t,p,c,f,m,$,v,k,w,x,A,z,M,_=e.queueEntry,C=e.closeModal,q=(0,o.useTranslation)().t,E=(0,l.useVisit)(_.patientUuid).currentVisit,T=(0,b.fe)().mutateQueueEntries,B=(n=_.patientUuid,t=r.ol,c=new AbortController,f="".concat(l.restBaseUrl,"/appointments/search"),$=(m=(0,u.Ay)(f,function(){return(0,l.openmrsFetch)(f,{method:"POST",signal:c.signal,headers:{"Content-Type":"application/json"},body:{patientUuid:n,startDate:t}})})).data,v=m.error,k=m.isLoading,w=m.isValidating,x=(null==$||null==(p=$.data)?void 0:p.length)?$.data.filter(function(e){return"CheckedIn"===e.status}):null,{data:$?x:null,error:v,isLoading:k,isValidating:w}).data,D=(0,a.useCallback)(function(){var e,n,t,a,i,o={location:null==E||null==(a=E.location)?void 0:a.uuid,startDatetime:(0,l.parseDate)(null==E?void 0:E.startDatetime),visitType:null==E||null==(i=E.visitType)?void 0:i.uuid,stopDatetime:new Date},s=new Date;(e=_.queue.uuid,n=_.queueEntryUuid,t=_.visitUuid,g(function(){var a;return h(this,function(i){switch(i.label){case 0:if(a=new AbortController,!o)return[3,8];if(!(null==B?void 0:B.length))return[3,2];return[4,Promise.all(B.map(function(e){return g(function(){return h(this,function(n){switch(n.label){case 0:var t,a;return[4,(t="Completed",a=e.uuid,g(function(){var e;return h(this,function(n){return e="".concat(l.restBaseUrl,"/appointments/").concat(a,"/status-change"),[2,(0,l.openmrsFetch)(e,{body:{toStatus:t,onDate:y,timeZone:r.eB},method:"POST",headers:{"Content-Type":"application/json"}})]})})())];case 1:return n.sent(),[2]}})})()}))];case 1:i.sent(),i.label=2;case 2:return[4,(0,d.fV)(e,n,s)];case 3:i.sent(),i.label=4;case 4:return i.trys.push([4,6,,7]),[4,(0,l.updateVisit)(t,o,a)];case 5:return[2,i.sent().status];case 6:case 9:case 10:return[2,i.sent()];case 7:return[3,11];case 8:return i.trys.push([8,10,,11]),[4,(0,d.fV)(e,n,s)];case 11:return[2]}})})()).then(function(){C(),T(),(0,l.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:q("queueEntryRemovedSuccessfully","Queue entry removed successfully"),title:q("queueEntryRemoved","Queue entry removed")})}).catch(function(e){(0,l.showSnackbar)({title:q("removeQueueEntryError","Error removing queue entry"),kind:"error",isLowContrast:!1,subtitle:null==e?void 0:e.message})})},[B,C,null==E||null==(A=E.location)?void 0:A.uuid,null==E?void 0:E.startDatetime,null==E||null==(z=E.visitType)?void 0:z.uuid,T,null==_||null==(M=_.queue)?void 0:M.uuid,null==_?void 0:_.queueEntryUuid,null==_?void 0:_.visitUuid,q]);return i().createElement(i().Fragment,null,i().createElement(s.rQ0,{className:H.modalHeader,closeModal:C,label:q("serviceQueue","Service queue"),title:q("removeFromQueueAndEndVisit","Remove patient from queue and end active visit?")}),i().createElement(s.cwr,null,i().createElement("p",{className:H.subHeading,id:"subHeading"},q("endVisitWarningMessage","Ending this visit will remove this patient from the queue and will not allow you to fill another encounter form for this patient"))),i().createElement(s.jlY,null,i().createElement(s.$nd,{kind:"secondary",onClick:C},q("cancel","Cancel")),i().createElement(s.$nd,{kind:"danger",onClick:D},q("endVisit","End visit"))))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"6098.js","sources":["webpack://@kenyaemr/esm-service-queues-app/./src/remove-queue-entry-dialog/remove-queue-entry.scss","webpack://@kenyaemr/esm-service-queues-app/./src/remove-queue-entry-dialog/remove-queue-entry.resource.ts","webpack://@kenyaemr/esm-service-queues-app/./src/remove-queue-entry-dialog/remove-queue-entry.scss?6b9c","webpack://@kenyaemr/esm-service-queues-app/./src/remove-queue-entry-dialog/remove-queue-entry.component.tsx"],"names":["statusChangeTime","dayjs","Date","format","omrsDateFormat","patientUuid","startDate","data","abortController","appointmentsSearchUrl","useSWR","error","isLoading","isValidating","appointments","currentVisit","queueEntry","closeModal","t","useTranslation","useVisit","mutateQueueEntries","useMutateQueueEntries","useCheckedInAppointments","startOfDay","AbortController","restBaseUrl","openmrsFetch","method","signal","headers","body","length","filter","appointment","status","removeQueueEntry","useCallback","queueUuid","queueEntryUuid","visitUuid","endCurrentVisitPayload","location","uuid","startDatetime","parseDate","visitType","stopDatetime","endedAt","endQueueEntry","queue","Promise","all","map","toStatus","appointmentUuid","url","onDate","timeZone","endPatientStatus","updateVisit","response","then","showSnackbar","isLowContrast","kind","subtitle","title","catch","message","ModalHeader","className","styles","label","ModalBody","p","id","ModalFooter","Button","onClick"],"mappings":"6NAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,y2CAA02C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,oEAAoE,gEAAgE,CAAC,MAAQ,EAAE,CAAC,SAA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A,EAAAA,KAAAA,EAAAA,EAAO0D,OAAO,AAC1B,EACF,EACJ,EAAG,CACDvD,EACAG,QACAF,GAAAA,MAAAA,CAAAA,EAAAA,EAAc2B,QAAQ,AAAD,EAArB3B,KAAAA,EAAAA,EAAwB4B,IAAI,CAC5B5B,MAAAA,EAAAA,KAAAA,EAAAA,EAAc6B,aAAa,OAC3B7B,GAAAA,MAAAA,CAAAA,EAAAA,EAAc+B,SAAS,AAAD,EAAtB/B,KAAAA,EAAAA,EAAyB4B,IAAI,CAC7BtB,QACAL,GAAAA,MAAAA,CAAAA,EAAAA,EAAYkC,KAAK,AAAD,EAAhBlC,KAAAA,EAAAA,EAAmB2B,IAAI,CACvB3B,MAAAA,EAAAA,KAAAA,EAAAA,EAAYuB,cAAc,CAC1BvB,MAAAA,EAAAA,KAAAA,EAAAA,EAAYwB,SAAS,CACrBtB,EACD,EAED,OACE,oCACE,kBAACoD,EAAAA,GAAWA,CAAAA,CACVC,UAAWC,EAAAA,WAAkB,CAC7BvD,WAAYA,EACZwD,MAAOvD,EAAE,eAAgB,iBACzBiD,MAAOjD,EAAE,6BAA8B,kD,GAEzC,kBAACwD,EAAAA,GAASA,CAAAA,KACR,kBAACC,IAAAA,CAAEJ,UAAWC,EAAAA,UAAiB,CAAEI,GAAG,Y,EACjC1D,EACC,yBACA,sIAIN,kBAAC2D,EAAAA,GAAWA,CAAAA,KACV,kBAACC,EAAAA,GAAMA,CAAAA,CAACb,KAAK,YAAYc,QAAS9D,C,EAC/BC,EAAE,SAAU,WAEf,kBAAC4D,EAAAA,GAAMA,CAAAA,CAACb,KAAK,SAASc,QAAS3C,C,EAC5BlB,EAAE,WAAY,eAKzB,C"}
package/dist/6114.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([["6114"],{18369:function(e,n,a){a.d(n,{A:()=>r});var t=a(71452),l=a.n(t),i=a(34567),o=a.n(i)()(l());o.push([e.id,".-esm-service-queues__change-status-dialog__radioButtonGroup___QfqBM{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__change-status-dialog__radioButton___PgfLT{padding:.25rem .25rem;margin:.5rem 0}section{margin:.5rem}.-esm-service-queues__change-status-dialog__sectionTitle___edrwy{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__change-status-dialog__modalBody___4DBny{padding-bottom:1rem}.-esm-service-queues__change-status-dialog__inline___9OsoV{display:flex;align-items:center}.-esm-service-queues__change-status-dialog__loading___RhFPr{margin-right:.25rem}.-esm-service-queues__change-status-dialog__error___KYuIU{margin-top:.5rem;color:#da1e28;font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px)}.-esm-service-queues__change-status-dialog__modalHeader___4GXnD .cds--modal-close-button{position:absolute;inset-block-start:0;inset-inline-end:0;margin:0;margin-top:calc(-1*1rem)}.-esm-service-queues__change-status-dialog__modalHeader___4GXnD .cds--modal-close{background-color:rgba(0,0,0,0)}.-esm-service-queues__change-status-dialog__modalHeader___4GXnD .cds--modal-close:hover{background-color:var(--cds-layer-hover)}.-esm-service-queues__change-status-dialog__modalHeader___4GXnD .cds--popover--left>.cds--popover>.cds--popover-content{transform:translate(-4rem, 0.85rem)}.-esm-service-queues__change-status-dialog__modalHeader___4GXnD .cds--popover--left>.cds--popover>.cds--popover-caret{transform:translate(-3.75rem, 1.25rem)}","",{version:3,sources:["webpack://./src/active-visits/change-status-dialog.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAIA,qEACE,YAAA,CACA,qBAAA,CACA,sBAAA,CACA,gBCaW,CDZX,eC+CW,CD9CX,UAAA,CEw1BE,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CFp1BJ,gEACE,qBAAA,CACA,cAAA,CAGF,QACE,YCCW,CDEb,iEE20BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFz0BF,aGuBQ,CHtBR,oBAAA,CAGF,8DACE,mBCCW,CDEb,2DACE,YAAA,CACA,kBAAA,CAGF,4DACE,mBCvBW,CD0Bb,0DACE,gBCtBW,CDuBX,aGqDO,CDiwBL,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFhzBA,yFACE,iBAAA,CACA,mBAAA,CACA,kBAAA,CACA,QAAA,CACA,wBAAA,CAGF,kFACE,8BAAA,CAEA,wFACE,uCAAA,CAIJ,wHACE,mCAAA,CAGF,sHACE,sCAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n@use '@carbon/type';\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: colors.$gray-70;\n margin-bottom: layout.$spacing-04;\n}\n\n.modalBody {\n padding-bottom: layout.$spacing-05;\n}\n\n.inline {\n display: flex;\n align-items: center;\n}\n\n.loading {\n margin-right: layout.$spacing-02;\n}\n\n.error {\n margin-top: layout.$spacing-03;\n color: colors.$red-60;\n @include type.type-style('label-01');\n}\n\n.modalHeader {\n :global {\n .cds--modal-close-button {\n position: absolute;\n inset-block-start: 0;\n inset-inline-end: 0;\n margin: 0;\n margin-top: calc(-1 * #{layout.$spacing-05});\n }\n\n .cds--modal-close {\n background-color: rgba(0, 0, 0, 0);\n\n &:hover {\n background-color: var(--cds-layer-hover);\n }\n }\n\n .cds--popover--left > .cds--popover > .cds--popover-content {\n transform: translate(-4rem, 0.85rem);\n }\n\n .cds--popover--left > .cds--popover > .cds--popover-caret {\n transform: translate(-3.75rem, 1.25rem);\n }\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/colors. 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$black: #000000 !default;\n$white: #ffffff !default;\n\n$black-100: #000000 !default;\n$blue-10: #edf5ff !default;\n$blue-20: #d0e2ff !default;\n$blue-30: #a6c8ff !default;\n$blue-40: #78a9ff !default;\n$blue-50: #4589ff !default;\n$blue-60: #0f62fe !default;\n$blue-70: #0043ce !default;\n$blue-80: #002d9c !default;\n$blue-90: #001d6c !default;\n$blue-100: #001141 !default;\n$cool-gray-10: #f2f4f8 !default;\n$cool-gray-20: #dde1e6 !default;\n$cool-gray-30: #c1c7cd !default;\n$cool-gray-40: #a2a9b0 !default;\n$cool-gray-50: #878d96 !default;\n$cool-gray-60: #697077 !default;\n$cool-gray-70: #4d5358 !default;\n$cool-gray-80: #343a3f !default;\n$cool-gray-90: #21272a !default;\n$cool-gray-100: #121619 !default;\n$cyan-10: #e5f6ff !default;\n$cyan-20: #bae6ff !default;\n$cyan-30: #82cfff !default;\n$cyan-40: #33b1ff !default;\n$cyan-50: #1192e8 !default;\n$cyan-60: #0072c3 !default;\n$cyan-70: #00539a !default;\n$cyan-80: #003a6d !default;\n$cyan-90: #012749 !default;\n$cyan-100: #061727 !default;\n$gray-10: #f4f4f4 !default;\n$gray-20: #e0e0e0 !default;\n$gray-30: #c6c6c6 !default;\n$gray-40: #a8a8a8 !default;\n$gray-50: #8d8d8d !default;\n$gray-60: #6f6f6f !default;\n$gray-70: #525252 !default;\n$gray-80: #393939 !default;\n$gray-90: #262626 !default;\n$gray-100: #161616 !default;\n$green-10: #defbe6 !default;\n$green-20: #a7f0ba !default;\n$green-30: #6fdc8c !default;\n$green-40: #42be65 !default;\n$green-50: #24a148 !default;\n$green-60: #198038 !default;\n$green-70: #0e6027 !default;\n$green-80: #044317 !default;\n$green-90: #022d0d !default;\n$green-100: #071908 !default;\n$magenta-10: #fff0f7 !default;\n$magenta-20: #ffd6e8 !default;\n$magenta-30: #ffafd2 !default;\n$magenta-40: #ff7eb6 !default;\n$magenta-50: #ee5396 !default;\n$magenta-60: #d02670 !default;\n$magenta-70: #9f1853 !default;\n$magenta-80: #740937 !default;\n$magenta-90: #510224 !default;\n$magenta-100: #2a0a18 !default;\n$orange-10: #fff2e8 !default;\n$orange-20: #ffd9be !default;\n$orange-30: #ffb784 !default;\n$orange-40: #ff832b !default;\n$orange-50: #eb6200 !default;\n$orange-60: #ba4e00 !default;\n$orange-70: #8a3800 !default;\n$orange-80: #5e2900 !default;\n$orange-90: #3e1a00 !default;\n$orange-100: #231000 !default;\n$purple-10: #f6f2ff !default;\n$purple-20: #e8daff !default;\n$purple-30: #d4bbff !default;\n$purple-40: #be95ff !default;\n$purple-50: #a56eff !default;\n$purple-60: #8a3ffc !default;\n$purple-70: #6929c4 !default;\n$purple-80: #491d8b !default;\n$purple-90: #31135e !default;\n$purple-100: #1c0f30 !default;\n$red-10: #fff1f1 !default;\n$red-20: #ffd7d9 !default;\n$red-30: #ffb3b8 !default;\n$red-40: #ff8389 !default;\n$red-50: #fa4d56 !default;\n$red-60: #da1e28 !default;\n$red-70: #a2191f !default;\n$red-80: #750e13 !default;\n$red-90: #520408 !default;\n$red-100: #2d0709 !default;\n$teal-10: #d9fbfb !default;\n$teal-20: #9ef0f0 !default;\n$teal-30: #3ddbd9 !default;\n$teal-40: #08bdba !default;\n$teal-50: #009d9a !default;\n$teal-60: #007d79 !default;\n$teal-70: #005d5d !default;\n$teal-80: #004144 !default;\n$teal-90: #022b30 !default;\n$teal-100: #081a1c !default;\n$warm-gray-10: #f7f3f2 !default;\n$warm-gray-20: #e5e0df !default;\n$warm-gray-30: #cac5c4 !default;\n$warm-gray-40: #ada8a8 !default;\n$warm-gray-50: #8f8b8b !default;\n$warm-gray-60: #726e6e !default;\n$warm-gray-70: #565151 !default;\n$warm-gray-80: #3c3838 !default;\n$warm-gray-90: #272525 !default;\n$warm-gray-100: #171414 !default;\n$white-0: #ffffff !default;\n$yellow-10: #fcf4d6 !default;\n$yellow-20: #fddc69 !default;\n$yellow-30: #f1c21b !default;\n$yellow-40: #d2a106 !default;\n$yellow-50: #b28600 !default;\n$yellow-60: #8e6a00 !default;\n$yellow-70: #684e00 !default;\n$yellow-80: #483700 !default;\n$yellow-90: #302400 !default;\n$yellow-100: #1c1500 !default;\n\n$white-hover: #e8e8e8 !default;\n$black-hover: #212121 !default;\n$blue-10-hover: #dbebff !default;\n$blue-20-hover: #b8d3ff !default;\n$blue-30-hover: #8ab6ff !default;\n$blue-40-hover: #5c97ff !default;\n$blue-50-hover: #1f70ff !default;\n$blue-60-hover: #0050e6 !default;\n$blue-70-hover: #0053ff !default;\n$blue-80-hover: #0039c7 !default;\n$blue-90-hover: #00258a !default;\n$blue-100-hover: #001f75 !default;\n$cool-gray-10-hover: #e4e9f1 !default;\n$cool-gray-20-hover: #cdd3da !default;\n$cool-gray-30-hover: #adb5bd !default;\n$cool-gray-40-hover: #9199a1 !default;\n$cool-gray-50-hover: #757b85 !default;\n$cool-gray-60-hover: #585e64 !default;\n$cool-gray-70-hover: #5d646a !default;\n$cool-gray-80-hover: #434a51 !default;\n$cool-gray-90-hover: #2b3236 !default;\n$cool-gray-100-hover: #222a2f !default;\n$cyan-10-hover: #cceeff !default;\n$cyan-20-hover: #99daff !default;\n$cyan-30-hover: #57beff !default;\n$cyan-40-hover: #059fff !default;\n$cyan-50-hover: #0f7ec8 !default;\n$cyan-60-hover: #005fa3 !default;\n$cyan-70-hover: #0066bd !default;\n$cyan-80-hover: #00498a !default;\n$cyan-90-hover: #013360 !default;\n$cyan-100-hover: #0b2947 !default;\n$gray-10-hover: #e8e8e8 !default;\n$gray-20-hover: #d1d1d1 !default;\n$gray-30-hover: #b5b5b5 !default;\n$gray-40-hover: #999999 !default;\n$gray-50-hover: #7a7a7a !default;\n$gray-60-hover: #5e5e5e !default;\n$gray-70-hover: #636363 !default;\n$gray-80-hover: #474747 !default;\n$gray-90-hover: #333333 !default;\n$gray-100-hover: #292929 !default;\n$green-10-hover: #b6f6c8 !default;\n$green-20-hover: #74e792 !default;\n$green-30-hover: #36ce5e !default;\n$green-40-hover: #3bab5a !default;\n$green-50-hover: #208e3f !default;\n$green-60-hover: #166f31 !default;\n$green-70-hover: #11742f !default;\n$green-80-hover: #05521c !default;\n$green-90-hover: #033b11 !default;\n$green-100-hover: #0d300f !default;\n$magenta-10-hover: #ffe0ef !default;\n$magenta-20-hover: #ffbdda !default;\n$magenta-30-hover: #ff94c3 !default;\n$magenta-40-hover: #ff57a0 !default;\n$magenta-50-hover: #e3176f !default;\n$magenta-60-hover: #b0215f !default;\n$magenta-70-hover: #bf1d63 !default;\n$magenta-80-hover: #8e0b43 !default;\n$magenta-90-hover: #68032e !default;\n$magenta-100-hover: #53142f !default;\n$orange-10-hover: #ffe2cc !default;\n$orange-20-hover: #ffc69e !default;\n$orange-30-hover: #ff9d57 !default;\n$orange-40-hover: #fa6800 !default;\n$orange-50-hover: #cc5500 !default;\n$orange-60-hover: #9e4200 !default;\n$orange-70-hover: #a84400 !default;\n$orange-80-hover: #753300 !default;\n$orange-90-hover: #522200 !default;\n$orange-100-hover: #421e00 !default;\n$purple-10-hover: #ede5ff !default;\n$purple-20-hover: #dcc7ff !default;\n$purple-30-hover: #c5a3ff !default;\n$purple-40-hover: #ae7aff !default;\n$purple-50-hover: #9352ff !default;\n$purple-60-hover: #7822fb !default;\n$purple-70-hover: #7c3dd6 !default;\n$purple-80-hover: #5b24ad !default;\n$purple-90-hover: #40197b !default;\n$purple-100-hover: #341c59 !default;\n$red-10-hover: #ffe0e0 !default;\n$red-20-hover: #ffc2c5 !default;\n$red-30-hover: #ff99a0 !default;\n$red-40-hover: #ff6168 !default;\n$red-50-hover: #ee0713 !default;\n$red-60-hover: #b81922 !default;\n$red-70-hover: #c21e25 !default;\n$red-80-hover: #921118 !default;\n$red-90-hover: #66050a !default;\n$red-100-hover: #540d11 !default;\n$teal-10-hover: #acf6f6 !default;\n$teal-20-hover: #57e5e5 !default;\n$teal-30-hover: #25cac8 !default;\n$teal-40-hover: #07aba9 !default;\n$teal-50-hover: #008a87 !default;\n$teal-60-hover: #006b68 !default;\n$teal-70-hover: #007070 !default;\n$teal-80-hover: #005357 !default;\n$teal-90-hover: #033940 !default;\n$teal-100-hover: #0f3034 !default;\n$warm-gray-10-hover: #f0e8e6 !default;\n$warm-gray-20-hover: #d8d0cf !default;\n$warm-gray-30-hover: #b9b3b1 !default;\n$warm-gray-40-hover: #9c9696 !default;\n$warm-gray-50-hover: #7f7b7b !default;\n$warm-gray-60-hover: #605d5d !default;\n$warm-gray-70-hover: #696363 !default;\n$warm-gray-80-hover: #4c4848 !default;\n$warm-gray-90-hover: #343232 !default;\n$warm-gray-100-hover: #2c2626 !default;\n$yellow-10-hover: #f8e6a0 !default;\n$yellow-20-hover: #fccd27 !default;\n$yellow-30-hover: #ddb00e !default;\n$yellow-40-hover: #bc9005 !default;\n$yellow-50-hover: #9e7700 !default;\n$yellow-60-hover: #755800 !default;\n$yellow-70-hover: #806000 !default;\n$yellow-80-hover: #5c4600 !default;\n$yellow-90-hover: #3d2e00 !default;\n$yellow-100-hover: #332600 !default;\n\n/// Colors from the IBM Design Language\n/// @access public\n/// @group @carbon/colors\n$colors: (\n black: (\n 100: #000000,\n ),\n blue: (\n 10: #edf5ff,\n 20: #d0e2ff,\n 30: #a6c8ff,\n 40: #78a9ff,\n 50: #4589ff,\n 60: #0f62fe,\n 70: #0043ce,\n 80: #002d9c,\n 90: #001d6c,\n 100: #001141,\n ),\n cool-gray: (\n 10: #f2f4f8,\n 20: #dde1e6,\n 30: #c1c7cd,\n 40: #a2a9b0,\n 50: #878d96,\n 60: #697077,\n 70: #4d5358,\n 80: #343a3f,\n 90: #21272a,\n 100: #121619,\n ),\n cyan: (\n 10: #e5f6ff,\n 20: #bae6ff,\n 30: #82cfff,\n 40: #33b1ff,\n 50: #1192e8,\n 60: #0072c3,\n 70: #00539a,\n 80: #003a6d,\n 90: #012749,\n 100: #061727,\n ),\n gray: (\n 10: #f4f4f4,\n 20: #e0e0e0,\n 30: #c6c6c6,\n 40: #a8a8a8,\n 50: #8d8d8d,\n 60: #6f6f6f,\n 70: #525252,\n 80: #393939,\n 90: #262626,\n 100: #161616,\n ),\n green: (\n 10: #defbe6,\n 20: #a7f0ba,\n 30: #6fdc8c,\n 40: #42be65,\n 50: #24a148,\n 60: #198038,\n 70: #0e6027,\n 80: #044317,\n 90: #022d0d,\n 100: #071908,\n ),\n magenta: (\n 10: #fff0f7,\n 20: #ffd6e8,\n 30: #ffafd2,\n 40: #ff7eb6,\n 50: #ee5396,\n 60: #d02670,\n 70: #9f1853,\n 80: #740937,\n 90: #510224,\n 100: #2a0a18,\n ),\n orange: (\n 10: #fff2e8,\n 20: #ffd9be,\n 30: #ffb784,\n 40: #ff832b,\n 50: #eb6200,\n 60: #ba4e00,\n 70: #8a3800,\n 80: #5e2900,\n 90: #3e1a00,\n 100: #231000,\n ),\n purple: (\n 10: #f6f2ff,\n 20: #e8daff,\n 30: #d4bbff,\n 40: #be95ff,\n 50: #a56eff,\n 60: #8a3ffc,\n 70: #6929c4,\n 80: #491d8b,\n 90: #31135e,\n 100: #1c0f30,\n ),\n red: (\n 10: #fff1f1,\n 20: #ffd7d9,\n 30: #ffb3b8,\n 40: #ff8389,\n 50: #fa4d56,\n 60: #da1e28,\n 70: #a2191f,\n 80: #750e13,\n 90: #520408,\n 100: #2d0709,\n ),\n teal: (\n 10: #d9fbfb,\n 20: #9ef0f0,\n 30: #3ddbd9,\n 40: #08bdba,\n 50: #009d9a,\n 60: #007d79,\n 70: #005d5d,\n 80: #004144,\n 90: #022b30,\n 100: #081a1c,\n ),\n warm-gray: (\n 10: #f7f3f2,\n 20: #e5e0df,\n 30: #cac5c4,\n 40: #ada8a8,\n 50: #8f8b8b,\n 60: #726e6e,\n 70: #565151,\n 80: #3c3838,\n 90: #272525,\n 100: #171414,\n ),\n white: (\n 0: #ffffff,\n ),\n yellow: (\n 10: #fcf4d6,\n 20: #fddc69,\n 30: #f1c21b,\n 40: #d2a106,\n 50: #b28600,\n 60: #8e6a00,\n 70: #684e00,\n 80: #483700,\n 90: #302400,\n 100: #1c1500,\n ),\n) !default;\n"],sourceRoot:""}]),o.locals={radioButtonGroup:"-esm-service-queues__change-status-dialog__radioButtonGroup___QfqBM",radioButton:"-esm-service-queues__change-status-dialog__radioButton___PgfLT",sectionTitle:"-esm-service-queues__change-status-dialog__sectionTitle___edrwy",modalBody:"-esm-service-queues__change-status-dialog__modalBody___4DBny",inline:"-esm-service-queues__change-status-dialog__inline___9OsoV",loading:"-esm-service-queues__change-status-dialog__loading___RhFPr",error:"-esm-service-queues__change-status-dialog__error___KYuIU",modalHeader:"-esm-service-queues__change-status-dialog__modalHeader___4GXnD"};let r=o},74089:function(e,n,a){a.r(n),a.d(n,{default:()=>q});var t=a(22044),l=a.n(t),i=a(45681),o=a(8836),r=a(74064),s=a(74239),c=a(78855),u=a(99819),d=a(11060),f=a(96910),p=a(35541),g=a(24661),h=a(72591),y=a.n(h),$=a(1740),b=a.n($),m=a(88128),v=a.n(m),w=a(30855),A=a.n(w),_=a(93051),x=a.n(_),k=a(73656),z=a.n(k),C=a(18369),E={};E.styleTagTransform=z(),E.setAttributes=A(),E.insert=v().bind(null,"head"),E.domAPI=b(),E.insertStyleElement=x(),y()(C.A,E);let M=C.A&&C.A.locals?C.A.locals:void 0,q=function(e){var n,a,h,y,$=e.queueEntry,b=e.closeModal,m=(0,o.useTranslation)().t,v=(0,u.useConfig)().concepts,w=null!=(y=$.queue)?y:{},A=w.allowedPriorities,_=w.allowedStatuses,x=(0,t.useMemo)(function(){return s.Ik({location:s.Yj({required_error:m("queueLocationRequired","Queue location is required")}),priority:s.Yj({required_error:m("priorityIsRequired","Priority is required")}),service:s.Yj({required_error:m("serviceIsRequired","Service is required")}),status:s.Yj({required_error:m("statusIsRequired","Status is required")})})},[m]),k=(0,r.mN)({defaultValues:{priority:null==(n=A[1])?void 0:n.uuid},resolver:(0,c.u)(x)}),z=k.control,C=k.handleSubmit,E=k.formState,q=E.isSubmitting,B=E.errors,T=k.getValues,N=(0,d.A)(null==$?void 0:$.queueLocation).queues,D=(0,g.l)().queueLocations,S=(0,p.fe)().mutateQueueEntries;return(null==(a=Object.keys($))?void 0:a.length)===0?l().createElement(i.rQ0,{className:M.modalHeader,closeModal:b,title:m("patientNotInQueue","The patient is not in the queue")}):(null==(h=Object.keys($))?void 0:h.length)>0?l().createElement("div",null,l().createElement(i.lVW,{onSubmit:C(function(e){var n,a=e.priority,t=e.status,l=e.service,i=v.defaultPriorityConceptUuid,o=v.emergencyPriorityConceptUuid,r=new Date;(0,f.hC)(null==$?void 0:$.visitUuid,null==$||null==(n=$.queue)?void 0:n.uuid,l,null==$?void 0:$.queueEntryUuid,null==$?void 0:$.patientUuid,""===a?i:a,t,r,+(a===o)).then(function(){(0,u.showSnackbar)({isLowContrast:!0,title:m("updateEntry","Update entry"),kind:"success",subtitle:m("queueEntryUpdateSuccessfully","Queue Entry Updated Successfully")}),b(),S(),(0,u.navigate)({to:"".concat(window.spaBase,"/home/service-queues")})},function(e){(0,u.showSnackbar)({title:m("queueEntryStatusUpdateFailed","Error updating queue entry status"),kind:"error",subtitle:null==e?void 0:e.message})})},function(e){return console.error(e)})},l().createElement(i.rQ0,{className:M.modalHeader,closeModal:b,title:m("movePatientToNextService","Move patient to the next service?")}),l().createElement(i.cwr,null,l().createElement("div",{className:M.modalBody},l().createElement("h5",null,m("patientInfo","{{name}}{{sexInfo}}{{ageInfo}}",{name:$.name,sexInfo:$.patientSex?" \xb7 ".concat($.patientSex," \xb7 "):"",ageInfo:$.patientAge?"".concat($.patientAge," ").concat(m("years","Years")):""}))),l().createElement(i.BJc,{gap:4},l().createElement("section",null,l().createElement("div",{className:M.sectionTitle},m("queueLocation","Queue location")),l().createElement(r.xI,{name:"location",control:z,render:function(e){var n,a,t=e.field,o=t.onChange,r=t.value;return l().createElement(i.l6P,{labelText:m("selectQueueLocation","Select a queue location"),id:"location",invalid:!!B.location,invalidText:null==(n=B.location)?void 0:n.message,value:r,onChange:function(e){o(e.target.value)}},!(null==(a=T())?void 0:a.location)&&l().createElement(i.ebT,{text:m("selectQueueLocation","Select a queue location"),value:""}),(null==D?void 0:D.length)>0&&D.map(function(e){return l().createElement(i.ebT,{key:e.id,text:e.name,value:e.id},e.name)}))}})),l().createElement("section",{className:M.section},l().createElement("div",{className:M.sectionTitle},m("queueService","Queue service")),l().createElement(r.xI,{name:"service",control:z,render:function(e){var n,a,t=e.field,o=t.onChange,r=t.value;return l().createElement(i.l6P,{labelText:m("selectService","Select a service"),id:"service",invalid:!!B.service,invalidText:null==(n=B.service)?void 0:n.message,value:r,onChange:function(e){return o(e.target.value)}},!(null==(a=T())?void 0:a.service)&&l().createElement(i.ebT,{text:m("selectService","Select a service"),value:""}),(null==N?void 0:N.length)>0&&N.map(function(e){return l().createElement(i.ebT,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))}})),l().createElement("section",{className:M.section},l().createElement("div",{className:M.sectionTitle},m("queueStatus","Queue status")),(null==_?void 0:_.length)?l().createElement(r.xI,{name:"status",control:z,render:function(e){var n,a=e.field,t=a.value,o=a.onChange;return l().createElement(i.zWQ,{className:M.radioButtonWrapper,id:"status",name:"status",invalid:!!B.status,invalidText:null==(n=B.status)?void 0:n.message,defaultSelected:t,onChange:function(e){o(e)}},(null==_?void 0:_.length)>0&&_.map(function(e){var n=e.uuid,a=e.display;return l().createElement(i.aaP,{key:n,labelText:a,value:n})}))}}):l().createElement(i.jeF,{className:M.inlineNotification,kind:"error",lowContrast:!0,subtitle:m("configureStatus","Please configure status to continue."),title:m("noStatusConfigured","No status configured")})),l().createElement("section",{className:M.section},l().createElement("div",{className:M.sectionTitle},m("queuePriority","Queue priority")),l().createElement(r.xI,{control:z,name:"priority",render:function(e){var n=e.field.onChange;return l().createElement(l().Fragment,null,l().createElement(i.Tps,{size:"sm",selectedIndex:1,onChange:function(e){n(e.name)}},(null==A?void 0:A.length)>0?A.map(function(e){var n=e.uuid,a=e.display;return l().createElement(i.dOG,{name:n,text:a,key:n,value:n})}):l().createElement(i.dOG,{name:m("noPriorityFound","No priority found"),text:m("noPriorityFound","No priority found"),value:null})),B.priority&&l().createElement("div",{className:M.error},B.priority.message))}})))),l().createElement(i.jlY,null,l().createElement(i.$nd,{kind:"secondary",onClick:b},m("cancel","Cancel")),l().createElement(i.$nd,{disabled:q,type:"submit"},l().createElement(l().Fragment,null,q?l().createElement("div",{className:M.inline},l().createElement(i.OuH,{status:"active",iconDescription:m("submitting","Submitting"),description:m("submitting","Submitting")})):m("moveToNextService","Move to next service")))))):void 0}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"6114.js","sources":["webpack://@kenyaemr/esm-service-queues-app/./src/active-visits/change-status-dialog.scss","webpack://@kenyaemr/esm-service-queues-app/./src/active-visits/change-status-dialog.scss?231f","webpack://@kenyaemr/esm-service-queues-app/./src/active-visits/change-status-dialog.component.tsx"],"names":["allowedPriorities","Object","queueEntry","closeModal","t","useTranslation","concepts","useConfig","queue","allowedStatuses","schema","useMemo","z","location","required_error","priority","service","status","useForm","defaultValues","uuid","resolver","zodResolver","control","handleSubmit","formState","isSubmitting","errors","getValues","queues","useQueues","queueLocation","queueLocations","useQueueLocations","mutateQueueEntries","useMutateQueueEntries","keys","length","ModalHeader","className","styles","title","div","Form","onSubmit","data","defaultPriority","defaultPriorityConceptUuid","emergencyPriorityConceptUuid","endDate","Date","updateQueueEntry","visitUuid","queueEntryUuid","patientUuid","then","showSnackbar","isLowContrast","kind","subtitle","navigate","to","window","spaBase","error","message","console","ModalBody","h5","name","sexInfo","patientSex","ageInfo","patientAge","Stack","gap","section","Controller","render","field","onChange","value","Select","labelText","id","invalid","invalidText","event","target","SelectItem","text","map","key","display","RadioButtonGroup","defaultSelected","RadioButton","InlineNotification","lowContrast","ContentSwitcher","size","selectedIndex","Switch","ModalFooter","Button","onClick","disabled","type","InlineLoading","iconDescription","description"],"mappings":"6NAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,8mEAA+mE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,0DAA0D,6EAA6E,gEAAgE,2DAA2D,CAAC,MAAQ,EAAE,CAAC,SAAW,6fAA6f,eAAiB,CAAC,2+CAA2+C,05DAA05D,u8uBAAu8uB,g1VAAg1V,CAAC,WAAa,EAAE,EAAE,EAEzoxC,EAAwB,MAAM,CAAG,CAChC,iBAAoB,sEACpB,YAAe,iEACf,aAAgB,kEAChB,UAAa,+DACb,OAAU,4DACV,QAAW,6DACX,MAAS,2DACT,YAAe,gEAChB,EACA,MAAe,C,6TCNX,EAAU,CAAC,CAEf,GAAQ,iBAAiB,CAAG,IAC5B,EAAQ,aAAa,CAAG,IAElB,EAAQ,MAAM,CAAG,QAAa,CAAC,KAAM,QAE3C,EAAQ,MAAM,CAAG,IACjB,EAAQ,kBAAkB,CAAG,IAEhB,IAAI,GAAO,CAAE,GAKnB,MAAe,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jE,EAAE,kBAAmB,qBAC3BsF,KAAMtF,EAAE,kBAAmB,qBAC3B6E,MAAO,I,IAIZtD,EAAOZ,QAAQ,EAAI,kBAAC2B,MAAAA,CAAIH,UAAWC,EAAAA,KAAY,A,EAAGb,EAAOZ,QAAQ,CAACkD,OAAO,E,OAOtF,kBAACsC,EAAAA,GAAWA,CAAAA,KACV,kBAACC,EAAAA,GAAMA,CAAAA,CAAC9C,KAAK,YAAY+C,QAAStG,C,EAC/BC,EAAE,SAAU,WAEf,kBAACoG,EAAAA,GAAMA,CAAAA,CAACE,SAAUhF,EAAciF,KAAK,Q,EACnC,oCACGjF,EACC,kBAACgB,MAAAA,CAAIH,UAAWC,EAAAA,MAAa,A,EAC3B,kBAACoE,EAAAA,GAAaA,CAAAA,CACZ3F,OAAO,SACP4F,gBAAiBzG,EAAE,aAAc,cACjC0G,YAAa1G,EAAE,aAAc,a,IAIjCA,EAAE,oBAAqB,mCASzC,C"}
package/dist/6339.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_service_queues_app=globalThis.webpackChunk_kenyaemr_esm_service_queues_app||[]).push([["6339"],{3646:function(e){e.exports=JSON.parse('{"actions":"Actions","addAProviderQueueRoom":"Add a provider queue room?","addedPatientToQueue":"Added patient 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","age":"Age","alistOfClients":"A list of clients waiting for ","all":"All","and":"And","applyFilters":"Apply filters","averageWaitTime":"Average wait time today","backToSearchResults":"Back to search results","between":"Between","bmi":"Bmi","bp":"Bp","call":"Call","cancel":"Cancel","checkedInPatients":"Checked in patients","checkFilters":"Check the filters above","chooseRoom":"Select a room","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","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 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","errorFetchingVisit":"Error fetching patient visit","errorLoadingQueueEntries":"Error loading queue entries","errorPostingToScreen":"Error posting to screen","femaleLabelText":"Female","filter":"Filter","filterByService":"Filter by service:","filterByStatus":"Filter by status:","filterTable":"Filter table","gender":"Gender","heartRate":"Heart rate","height":"Height","hourAndMinuteFormatted":"{{hours}} hour(s) and {{minutes}} minute(s)","indication":"Indication","invalidQueue":"Invalid Queue","invalidtableConfig":"Invalid table configuration","lastEncounter":"Last encounter","loading":"Loading...","location":"Location","maleLabelText":"Male","medications":"Medications","minuteFormatted":"{{minutes}} minute(s)","minutes":"Minutes","missingLocation":"Missing location","missingQueueName":"Missing queue name","missingQueueRoom":"Please select a queue room","missingQueueRoomName":"Missing queue room name","missingQueueRoomService":"Missing queue room service","missingService":"Missing service","modifyDefaultValue":"Modify default value","movePatientToNextService":"Move patient to the next service?","moveToNextService":"Move to next service","name":"Name","nextPage":"Next page","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","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","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","noVitalsFound":"No vitals found","onTime":"On time","orderDurationAndUnit":"for {{duration}} {{durationUnit}}","orderIndefiniteDuration":"Indefinite duration","patientAge":"Age","patientAttendingService":"Patient attending service","patientInfo":"{{name}}{{sexInfo}}{{ageInfo}}","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","phoneNumber":"Phone number","pleaseSelectLocation":"Please select a location","previousPage":"Previous page","previousVisit":"Previous visit","priority":"Priority","priorityComment":"Priority comment","priorityIsRequired":"Priority is required","provider":"Provider","quantity":"Quantity","queueAddedSuccessfully":"Queue added successfully","queueEntryAddedSuccessfully":"Queue entry added successfully","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 status","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","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","searchThisList":"Search this list","selectALocation":"Select a location","selectAVisitType":"Select visit 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","serve":"Serve","servePatient":"Serve patient","service":"Service","serviceIsRequired":"Service is required","serviceQueue":"Service queue","serviceQueues":"Service queues","sp02":"Sp02","startAgeRangeInvalid":"Start age range is not valid","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","TransitionLatestQueueEntry":"Transition patient to latest queue","transitionPatient":"Transition patient","transitionPatientStatusOrQueue":"Select a new status or queue for patient to transition to.","triageForm":"Triage form","triageNote":"Triage note","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","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"}')}}]);