@openmrs/esm-service-queues-app 9.2.1-pre.7366 → 9.2.1-pre.7380

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 (54) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/dist/1151.js +1 -1
  3. package/dist/1151.js.map +1 -1
  4. package/dist/1638.js +1 -1
  5. package/dist/1638.js.map +1 -1
  6. package/dist/3386.js +1 -1
  7. package/dist/3386.js.map +1 -1
  8. package/dist/3683.js +1 -1
  9. package/dist/3683.js.map +1 -1
  10. package/dist/370.js +1 -1
  11. package/dist/370.js.map +1 -1
  12. package/dist/4890.js +1 -1
  13. package/dist/4890.js.map +1 -1
  14. package/dist/5228.js +1 -1
  15. package/dist/5228.js.map +1 -1
  16. package/dist/5578.js +1 -1
  17. package/dist/5578.js.map +1 -1
  18. package/dist/6381.js +1 -1
  19. package/dist/6381.js.map +1 -1
  20. package/dist/7067.js +1 -1
  21. package/dist/7067.js.map +1 -1
  22. package/dist/714.js.map +1 -1
  23. package/dist/8233.js +1 -1
  24. package/dist/8233.js.map +1 -1
  25. package/dist/8370.js +1 -1
  26. package/dist/8370.js.map +1 -1
  27. package/dist/8561.js +1 -1
  28. package/dist/8561.js.map +1 -1
  29. package/dist/9707.js +1 -1
  30. package/dist/9707.js.map +1 -1
  31. package/dist/openmrs-esm-service-queues-app.js.buildmanifest.json +43 -43
  32. package/dist/routes.json +1 -1
  33. package/package.json +1 -1
  34. package/src/admin/queue-rooms/queue-room-form.test.tsx +9 -10
  35. package/src/admin/queue-rooms/queue-room-form.workspace.tsx +1 -1
  36. package/src/admin/queue-services/queue-service-form.test.tsx +12 -6
  37. package/src/admin/queue-services/queue-service-form.workspace.tsx +1 -1
  38. package/src/create-queue-entry/create-queue-entry.workspace.tsx +1 -1
  39. package/src/create-queue-entry/queue-fields/queue-fields.component.tsx +1 -1
  40. package/src/declarations.d.ts +0 -4
  41. package/src/home.test.tsx +8 -0
  42. package/src/metrics/metrics-cards/waiting-patients.extension.tsx +1 -0
  43. package/src/modals/queue-entry-actions-modal.component.tsx +18 -10
  44. package/src/modals/queue-entry-actions.test.tsx +37 -27
  45. package/src/modals/queue-entry-confirm-action.modal.tsx +2 -2
  46. package/src/past-visit/past-visit-details/past-visit-summary.component.tsx +36 -30
  47. package/src/past-visit/past-visit.component.tsx +1 -1
  48. package/src/patient-queue-header/patient-queue-header.component.tsx +11 -10
  49. package/src/queue-patient-linelists/queue-linelist-base-table.component.tsx +2 -3
  50. package/src/queue-screen/queue-screen.component.tsx +1 -1
  51. package/src/queue-screen/queue-screen.test.tsx +10 -3
  52. package/src/queue-table/default-queue-table.component.tsx +8 -1
  53. package/src/queue-table/queue-table.component.tsx +1 -1
  54. package/src/types/index.ts +0 -2
package/dist/3386.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 3386.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_openmrs_esm_service_queues_app=globalThis.webpackChunk_openmrs_esm_service_queues_app||[]).push([[3386],{1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var r=t.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),n.styleTagTransform(a,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},5176:(e,n,t)=>{t.d(n,{A:()=>s});var a=t(30977),i=t.n(a),r=t(95924),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-service-queues__queue-room-form__heading___FzfzX{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);margin:1rem 0 1rem}.-esm-service-queues__queue-room-form__warningContainer___YgREz{background-color:#fa4d56;padding:.75rem;margin:.5rem 0 .5rem;display:flex;justify-content:space-between}.-esm-service-queues__queue-room-form__warningContainer___YgREz .-esm-service-queues__queue-room-form__warning___5OCMR{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}.-esm-service-queues__queue-room-form__form___oQvfE{display:flex;flex-direction:column;justify-content:space-between;height:100%}.-esm-service-queues__queue-room-form__grid___Sjpgs{margin:0 1rem;padding:0}.-esm-service-queues__queue-room-form__input___MRAbK{margin-top:.75rem}.-esm-service-queues__queue-room-form__button___fRUHb{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-service-queues__queue-room-form__tablet___WaPY0{padding:1.5rem 1rem;background-color:#fff}.-esm-service-queues__queue-room-form__desktop___3L23H{padding:0;margin-top:1rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/admin/queue-rooms/queue-room-form.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,uDC41BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BF,kBAAA,CAGF,gEACE,wBDIe,CCHf,cEaW,CFZX,oBAAA,CACA,YAAA,CACA,6BAAA,CACA,uHCi1BE,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD/0BA,aDbI,CCiBR,oDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,WAAA,CAGF,oDACE,aAAA,CACA,SAAA,CAGF,qDACE,iBEVW,CFab,sDACE,WEgBW,CFfX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAGF,sDACE,mBAAA,CACA,qBD9CM,CCiDR,uDACE,SAAA,CACA,eEvBW",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$overlay-header-height: 5.5rem;\n\n.heading {\n @include type.type-style('heading-compact-01');\n margin: layout.$spacing-05 0 layout.$spacing-05;\n}\n\n.warningContainer {\n background-color: $carbon--red-50;\n padding: layout.$spacing-04;\n margin: layout.$spacing-03 0 layout.$spacing-03;\n display: flex;\n justify-content: space-between;\n .warning {\n @include type.type-style('heading-compact-01');\n color: $ui-05;\n }\n}\n\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n}\n\n.grid {\n margin: 0 layout.$spacing-05;\n padding: 0;\n}\n\n.input {\n margin-top: layout.$spacing-04;\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n min-width: 50%;\n}\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.desktop {\n padding: 0;\n margin-top: layout.$spacing-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","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={heading:"-esm-service-queues__queue-room-form__heading___FzfzX",warningContainer:"-esm-service-queues__queue-room-form__warningContainer___YgREz",warning:"-esm-service-queues__queue-room-form__warning___5OCMR",form:"-esm-service-queues__queue-room-form__form___oQvfE",grid:"-esm-service-queues__queue-room-form__grid___Sjpgs",input:"-esm-service-queues__queue-room-form__input___MRAbK",button:"-esm-service-queues__queue-room-form__button___fRUHb",tablet:"-esm-service-queues__queue-room-form__tablet___WaPY0",desktop:"-esm-service-queues__queue-room-form__desktop___3L23H"};const s=o},13386:(e,n,t)=>{t.r(n),t.d(n,{default:()=>I});var a=t(1343),i=t.n(a),r=t(53373),o=t.n(r),s=t(72339),l=t(80824),c=t(71123),u=t(81160),p=t(68580),d=t(15680),f=t(54440),g=t(66985),h=t(50942),y=t(72591),m=t.n(y),b=t(1740),v=t.n(b),$=t(88128),w=t.n($),A=t(30855),k=t.n(A),x=t(93051),_=t.n(x),C=t(73656),q=t.n(C),z=t(5176),E={};E.styleTagTransform=q(),E.setAttributes=k(),E.insert=w().bind(null,"head"),E.domAPI=v(),E.insertStyleElement=_(),m()(z.A,E);const M=z.A&&z.A.locals?z.A.locals:void 0;function S(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void t(e)}s.done?n(l):Promise.resolve(l).then(a,i)}function R(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){R(e,n,t[n])})}return e}function T(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function N(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var j=function(e){return p.Ik({queueRoomName:p.Yj({required_error:e("queueRoomNameIsRequired","Queue room name is required")}).trim().min(1,e("queueRoomNameIsRequired","Queue room name is required")),queueRoomService:p.Yj({required_error:e("queueRoomServiceIsRequired","Queue room service is required")}).trim().min(1,e("queueRoomServiceIsRequired","Queue room service is required")),queueLocation:p.Yj({required_error:e("queueLocationRequired","Queue location is required")}).trim().min(1,e("queueLocationRequired","Queue location is required"))})};const I=function(e){var n=e.closeWorkspace,t=(0,s.useTranslation)().t,a="tablet"===(0,f.useLayoutType)(),r=(0,l.mN)({resolver:(0,u.u)(j(t)),defaultValues:{queueRoomName:"",queueRoomService:"",queueLocation:""}}),p=r.control,y=r.handleSubmit,m=r.watch,b=r.formState,v=b.errors,$=b.isSubmitting,w=m("queueLocation"),A=(0,h.A)(w).queues,k=(0,g.l)().queueLocations;return i().createElement(f.Workspace2,{title:t("addNewQueueServiceRoom","Add new queue service room")},i().createElement(d.lVW,{onSubmit:y(function(e){return(a=function(){var a;return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),[4,(r=e.queueRoomName,o=e.queueRoomService,s=new AbortController,(0,f.openmrsFetch)("".concat(f.restBaseUrl,"/queue-room"),{method:"POST",headers:{"Content-Type":"application/json"},signal:s.signal,body:{name:r,description:"",queue:{uuid:o}}}))];case 1:return i.sent(),(0,f.showSnackbar)({title:t("queueRoomAdded","Queue room added"),kind:"success",subtitle:t("queueRoomCreatedSuccessfully","Queue room created successfully")}),[4,(0,c.Tk)("".concat(f.restBaseUrl,"/queueroom"))];case 2:return i.sent(),n(),[3,4];case 3:return a=i.sent(),(0,f.showSnackbar)({title:t("errorCreatingQueueRoom","Error creating queue room"),kind:"error",isLowContrast:!1,subtitle:null==a?void 0:a.message}),[3,4];case 4:return[2]}var r,o,s})},function(){var e=this,n=arguments;return new Promise(function(t,i){var r=a.apply(e,n);function o(e){S(r,t,i,o,s,"next",e)}function s(e){S(r,t,i,o,s,"throw",e)}o(void 0)})})();var a}),className:M.form},i().createElement(d.BJc,{gap:4,className:M.grid},i().createElement(d.VPZ,null,i().createElement(d.Wdr,{className:M.input},i().createElement(l.xI,{control:p,name:"queueRoomName",render:function(e){var n,a=e.field;return i().createElement(d.ksK,T(O({},a),{id:"queueRoomName",invalid:!!v.queueRoomName,invalidText:null===(n=v.queueRoomName)||void 0===n?void 0:n.message,labelText:t("queueRoomName","Queue room name")}))}}))),i().createElement(d.VPZ,null,i().createElement(d.Wdr,{className:M.input},i().createElement(l.xI,{name:"queueLocation",control:p,render:function(e){var n,a=e.field,r=a.onChange,o=a.value,s=N(e.field,["onChange","value"]);return i().createElement(d.l6P,T(O({},s),{id:"queueRoomLocation",invalid:!!v.queueLocation,invalidText:null===(n=v.queueLocation)||void 0===n?void 0:n.message,labelText:t("queueLocation","Queue location"),onChange:function(e){return r(e.target.value)},value:o||""}),i().createElement(d.ebT,{text:t("selectQueueRoomLocation","Select a queue room location"),value:""}),null==k?void 0:k.map(function(e){return i().createElement(d.ebT,{key:e.id,text:e.name,value:e.id},e.name)}))}}))),i().createElement(d.VPZ,null,i().createElement(d.Wdr,{className:M.input},i().createElement(l.xI,{name:"queueRoomService",control:p,render:function(e){var n,a=e.field,r=a.onChange,o=a.value,s=N(e.field,["onChange","value"]);return i().createElement(d.l6P,T(O({},s),{id:"queueRoomService",invalid:!!v.queueRoomService,invalidText:null===(n=v.queueRoomService)||void 0===n?void 0:n.message,labelText:t("queueRoomService","Queue room service"),onChange:function(e){return r(e.target.value)},value:o||""}),i().createElement(d.ebT,{text:t("selectQueueRoomService","Select a queue room service"),value:""}),null==A?void 0:A.map(function(e){return i().createElement(d.ebT,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))}})))),i().createElement(d.Te$,{className:o()(a?M.tablet:M.desktop)},i().createElement(d.$nd,{className:M.button,kind:"secondary",onClick:n},(0,f.getCoreTranslation)("cancel","Cancel")),i().createElement(d.$nd,{className:M.button,disabled:$,kind:"primary",type:"submit"},$?i().createElement(d.OuH,{description:t("saving","Saving")+"..."}):i().createElement("span",null,(0,f.getCoreTranslation)("save","Save"))," "))))}},30855:(e,n,t)=>{e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},30977:e=>{function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}e.exports=function(e){var t,a,i=(a=4,function(e){if(Array.isArray(e))return e}(t=e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var a,i,r=[],o=!0,s=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(s)throw i}}return r}}(t,a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=i[1],o=i[3];if(!o)return r;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),c="/*# ".concat(l," */"),u=o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")});return[r].concat(u).concat([c]).join("\n")}return[r].join("\n")}},50942:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(54440),i=t(88010),r=t.n(i),o=t(1343);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e){var n,t="".concat(a.restBaseUrl,"/queue?v=").concat("custom:(uuid,display,name,description,service:(uuid,display),allowedPriorities:(uuid,display),allowedStatuses:(uuid,display),location:(uuid,display))")+(e?"&location=".concat(e):""),i=r()(t,a.openmrsFetch),l=i.data,c=function(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(i,["data"]),u=(0,o.useMemo)(function(){var e,n;return null!==(n=null==l||null===(e=l.data)||void 0===e?void 0:e.results.sort(function(e,n){return e.display.localeCompare(n.display,(0,a.getLocale)())}))&&void 0!==n?n:[]},[null==l||null===(n=l.data)||void 0===n?void 0:n.results]);return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){s(e,n,t[n])})}return e}({queues:u},c)}},58139:(e,n,t)=>{e.exports=t(93296)},66985:(e,n,t)=>{t.d(n,{l:()=>r});var a=t(1343),i=t(54440);function r(){var e="".concat(i.fhirBaseUrl,"/Location?_summary=data&_tag=queue location"),n=(0,i.useFhirFetchAll)(e),t=n.data,r=n.error,o=n.isLoading;return{queueLocations:(0,a.useMemo)(function(){var e;return null!==(e=null==t?void 0:t.map(function(e){return e}).sort(function(e,n){return e.name.localeCompare(n.name,(0,i.getLocale)())}))&&void 0!==e?e:[]},[t]),isLoading:o,error:r}}},71123:(e,n,t)=>{t.d(n,{Ay:()=>c,BE:()=>l,Tk:()=>r.mutate});var a=t(1343),i=t(58139),r=t(55434);const o=a.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e)}),s={dedupe:!0},l=r.OBJECT.defineProperty(r.SWRConfig,"defaultValue",{value:r.defaultConfig}),c=(0,r.withArgs)((e,n,t)=>{const{cache:l,compare:c,suspense:u,fallbackData:p,revalidateOnMount:d,revalidateIfStale:f,refreshInterval:g,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:m}=t,[b,v,$,w]=r.SWRGlobalState.get(l),[A,k]=(0,r.serialize)(e),x=(0,a.useRef)(!1),_=(0,a.useRef)(!1),C=(0,a.useRef)(A),q=(0,a.useRef)(n),z=(0,a.useRef)(t),E=()=>z.current,M=()=>E().isVisible()&&E().isOnline(),[S,R,O,T]=(0,r.createCacheHelper)(l,A),N=(0,a.useRef)({}).current,j=(0,r.isUndefined)(p)?t.fallback[A]:p,I=(e,n)=>{for(const t in N){const a=t;if("data"===a){if(!c(e[a],n[a])){if(!(0,r.isUndefined)(e[a]))return!1;if(!c(Q,n[a]))return!1}}else if(n[a]!==e[a])return!1}return!0},L=(0,a.useMemo)(()=>{const e=!!A&&!!n&&((0,r.isUndefined)(d)?!E().isPaused()&&!u&&(!!(0,r.isUndefined)(f)||f):d),t=n=>{const t=(0,r.mergeObjects)(n);return delete t._k,e?{isValidating:!0,isLoading:!0,...t}:t},a=S(),i=T(),o=t(a),s=a===i?o:t(i);let l=o;return[()=>{const e=t(S());return I(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[l,A]),D=(0,i.useSyncExternalStore)((0,a.useCallback)(e=>O(A,(n,t)=>{I(t,n)||e()}),[l,A]),L[0],L[1]),P=!x.current,U=b[A]&&b[A].length>0,B=D.data,V=(0,r.isUndefined)(B)?j:B,F=D.error,W=(0,a.useRef)(V),Q=m?(0,r.isUndefined)(B)?W.current:B:V,Y=!(U&&!(0,r.isUndefined)(F))&&(P&&!(0,r.isUndefined)(d)?d:!E().isPaused()&&(u?!(0,r.isUndefined)(V)&&f:(0,r.isUndefined)(V)||f)),H=!!(A&&n&&P&&Y),G=(0,r.isUndefined)(D.isValidating)?H:D.isValidating,J=(0,r.isUndefined)(D.isLoading)?H:D.isLoading,X=(0,a.useCallback)(async e=>{const n=q.current;if(!A||!n||_.current||E().isPaused())return!1;let a,i,o=!0;const s=e||{},l=!$[A]||!s.dedupe,u=()=>r.IS_REACT_LEGACY?!_.current&&A===C.current&&x.current:A===C.current,p={isValidating:!1,isLoading:!1},d=()=>{R(p)},f=()=>{const e=$[A];e&&e[1]===i&&delete $[A]},g={isValidating:!0};(0,r.isUndefined)(S().data)&&(g.isLoading=!0);try{if(l&&(R(g),t.loadingTimeout&&(0,r.isUndefined)(S().data)&&setTimeout(()=>{o&&u()&&E().onLoadingSlow(A,t)},t.loadingTimeout),$[A]=[n(k),(0,r.getTimestamp)()]),[a,i]=$[A],a=await a,l&&setTimeout(f,t.dedupingInterval),!$[A]||$[A][1]!==i)return l&&u()&&E().onDiscarded(A),!1;p.error=r.UNDEFINED;const e=v[A];if(!(0,r.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return d(),l&&u()&&E().onDiscarded(A),!1;const s=S().data;p.data=c(s,a)?s:a,l&&u()&&E().onSuccess(a,A,t)}catch(e){f();const n=E(),{shouldRetryOnError:t}=n;n.isPaused()||(p.error=e,l&&u()&&(n.onError(e,A,n),(!0===t||(0,r.isFunction)(t)&&t(e))&&(E().revalidateOnFocus&&E().revalidateOnReconnect&&!M()||n.onErrorRetry(e,A,n,e=>{const n=b[A];n&&n[0]&&n[0](r.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return o=!1,d(),!0},[A,l]),Z=(0,a.useCallback)((...e)=>(0,r.internalMutate)(l,C.current,...e),[]);if((0,r.useIsomorphicLayoutEffect)(()=>{q.current=n,z.current=t,(0,r.isUndefined)(B)||(W.current=B)}),(0,r.useIsomorphicLayoutEffect)(()=>{if(!A)return;const e=X.bind(r.UNDEFINED,s);let n=0;const t=(0,r.subscribeCallback)(A,b,(t,a={})=>{if(t==r.revalidateEvents.FOCUS_EVENT){const t=Date.now();E().revalidateOnFocus&&t>n&&M()&&(n=t+E().focusThrottleInterval,e())}else if(t==r.revalidateEvents.RECONNECT_EVENT)E().revalidateOnReconnect&&M()&&e();else{if(t==r.revalidateEvents.MUTATE_EVENT)return X();if(t==r.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(a)}});return _.current=!1,C.current=A,x.current=!0,R({_k:k}),Y&&((0,r.isUndefined)(V)||r.IS_SERVER?e():(0,r.rAF)(e)),()=>{_.current=!0,t()}},[A]),(0,r.useIsomorphicLayoutEffect)(()=>{let e;function n(){const n=(0,r.isFunction)(g)?g(S().data):g;n&&-1!==e&&(e=setTimeout(t,n))}function t(){S().error||!h&&!E().isVisible()||!y&&!E().isOnline()?n():X(s).then(n)}return n(),()=>{e&&(clearTimeout(e),e=-1)}},[g,h,y,A]),(0,a.useDebugValue)(Q),u&&(0,r.isUndefined)(V)&&A){if(!r.IS_REACT_LEGACY&&r.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");q.current=n,z.current=t,_.current=!1;const e=w[A];if(!(0,r.isUndefined)(e)){const n=Z(e);o(n)}if(!(0,r.isUndefined)(F))throw F;{const e=X(s);(0,r.isUndefined)(Q)||(e.status="fulfilled",e.value=!0),o(e)}}return{mutate:Z,get data(){return N.data=!0,Q},get error(){return N.error=!0,F},get isValidating(){return N.isValidating=!0,G},get isLoading(){return N.isLoading=!0,J}}})},72591:e=>{var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var r={},o=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],u=r[c]||0,p="".concat(c," ").concat(u);r[c]=u+1;var d=t(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)n[d].references++,n[d].updater(f);else{var g=i(f,a);a.byIndex=s,n.splice(s,0,{identifier:p,updater:g,references:1})}o.push(p)}return o}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,i){var r=a(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var s=t(r[o]);n[s].references--}for(var l=a(e,i),c=0;c<r.length;c++){var u=t(r[c]);0===n[u].references&&(n[u].updater(),n.splice(u,1))}r=l}}},73656:e=>{e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},88128:e=>{var n={};e.exports=function(e,t){var a=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},93051:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},93296:(e,n,t)=>{var a=t(1343),i="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},r=a.useState,o=a.useEffect,s=a.useLayoutEffect,l=a.useDebugValue;function c(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!i(e,t)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),a=r({inst:{value:t,getSnapshot:n}}),i=a[0].inst,u=a[1];return s(function(){i.value=t,i.getSnapshot=n,c(i)&&u({inst:i})},[e,t,n]),o(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),l(t),t};n.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},95924:e=>{e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t}).join("")},n.i=function(e,t,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&i[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),n.push(l))}},n}}}]);
2
+ "use strict";(globalThis.webpackChunk_openmrs_esm_service_queues_app=globalThis.webpackChunk_openmrs_esm_service_queues_app||[]).push([[3386],{1740:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var a="";t.supports&&(a+="@supports (".concat(t.supports,") {")),t.media&&(a+="@media ".concat(t.media," {"));var i=void 0!==t.layer;i&&(a+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),a+=t.css,i&&(a+="}"),t.media&&(a+="}"),t.supports&&(a+="}");var r=t.sourceMap;r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),n.styleTagTransform(a,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},5176:(e,n,t)=>{t.d(n,{A:()=>s});var a=t(30977),i=t.n(a),r=t(95924),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-service-queues__queue-room-form__heading___FzfzX{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);margin:1rem 0 1rem}.-esm-service-queues__queue-room-form__warningContainer___YgREz{background-color:#fa4d56;padding:.75rem;margin:.5rem 0 .5rem;display:flex;justify-content:space-between}.-esm-service-queues__queue-room-form__warningContainer___YgREz .-esm-service-queues__queue-room-form__warning___5OCMR{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}.-esm-service-queues__queue-room-form__form___oQvfE{display:flex;flex-direction:column;justify-content:space-between;height:100%}.-esm-service-queues__queue-room-form__grid___Sjpgs{margin:0 1rem;padding:0}.-esm-service-queues__queue-room-form__input___MRAbK{margin-top:.75rem}.-esm-service-queues__queue-room-form__button___fRUHb{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-service-queues__queue-room-form__tablet___WaPY0{padding:1.5rem 1rem;background-color:#fff}.-esm-service-queues__queue-room-form__desktop___3L23H{padding:0;margin-top:1rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/admin/queue-rooms/queue-room-form.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,uDC41BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD11BF,kBAAA,CAGF,gEACE,wBDIe,CCHf,cEaW,CFZX,oBAAA,CACA,YAAA,CACA,6BAAA,CACA,uHCi1BE,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CD/0BA,aDbI,CCiBR,oDACE,YAAA,CACA,qBAAA,CACA,6BAAA,CACA,WAAA,CAGF,oDACE,aAAA,CACA,SAAA,CAGF,qDACE,iBEVW,CFab,sDACE,WEgBW,CFfX,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAGF,sDACE,mBAAA,CACA,qBD9CM,CCiDR,uDACE,SAAA,CACA,eEvBW",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$overlay-header-height: 5.5rem;\n\n.heading {\n @include type.type-style('heading-compact-01');\n margin: layout.$spacing-05 0 layout.$spacing-05;\n}\n\n.warningContainer {\n background-color: $carbon--red-50;\n padding: layout.$spacing-04;\n margin: layout.$spacing-03 0 layout.$spacing-03;\n display: flex;\n justify-content: space-between;\n .warning {\n @include type.type-style('heading-compact-01');\n color: $ui-05;\n }\n}\n\n.form {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n height: 100%;\n}\n\n.grid {\n margin: 0 layout.$spacing-05;\n padding: 0;\n}\n\n.input {\n margin-top: layout.$spacing-04;\n}\n\n.button {\n height: layout.$spacing-10;\n display: flex;\n align-content: flex-start;\n align-items: baseline;\n min-width: 50%;\n}\n\n.tablet {\n padding: layout.$spacing-06 layout.$spacing-05;\n background-color: $ui-02;\n}\n\n.desktop {\n padding: 0;\n margin-top: layout.$spacing-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","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={heading:"-esm-service-queues__queue-room-form__heading___FzfzX",warningContainer:"-esm-service-queues__queue-room-form__warningContainer___YgREz",warning:"-esm-service-queues__queue-room-form__warning___5OCMR",form:"-esm-service-queues__queue-room-form__form___oQvfE",grid:"-esm-service-queues__queue-room-form__grid___Sjpgs",input:"-esm-service-queues__queue-room-form__input___MRAbK",button:"-esm-service-queues__queue-room-form__button___fRUHb",tablet:"-esm-service-queues__queue-room-form__tablet___WaPY0",desktop:"-esm-service-queues__queue-room-form__desktop___3L23H"};const s=o},13386:(e,n,t)=>{t.r(n),t.d(n,{default:()=>I});var a=t(1343),i=t.n(a),r=t(53373),o=t.n(r),s=t(72339),l=t(80824),c=t(71123),u=t(81160),p=t(68580),d=t(15680),f=t(54440),g=t(66985),h=t(50942),y=t(72591),m=t.n(y),b=t(1740),v=t.n(b),$=t(88128),w=t.n($),A=t(30855),k=t.n(A),x=t(93051),_=t.n(x),C=t(73656),q=t.n(C),z=t(5176),E={};E.styleTagTransform=q(),E.setAttributes=k(),E.insert=w().bind(null,"head"),E.domAPI=v(),E.insertStyleElement=_(),m()(z.A,E);const M=z.A&&z.A.locals?z.A.locals:void 0;function S(e,n,t,a,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void t(e)}s.done?n(l):Promise.resolve(l).then(a,i)}function R(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){R(e,n,t[n])})}return e}function T(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e}function N(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var j=function(e){return p.Ik({queueRoomName:p.Yj({required_error:e("queueRoomNameIsRequired","Queue room name is required")}).trim().min(1,e("queueRoomNameIsRequired","Queue room name is required")),queueRoomService:p.Yj({required_error:e("queueRoomServiceIsRequired","Queue room service is required")}).trim().min(1,e("queueRoomServiceIsRequired","Queue room service is required")),queueLocation:p.Yj({required_error:e("queueLocationRequired","Queue location is required")}).trim().min(1,e("queueLocationRequired","Queue location is required"))})};const I=function(e){var n=e.closeWorkspace,t=(0,s.useTranslation)().t,a="tablet"===(0,f.useLayoutType)(),r=(0,l.mN)({resolver:(0,u.u)(j(t)),defaultValues:{queueRoomName:"",queueRoomService:"",queueLocation:""}}),p=r.control,y=r.handleSubmit,m=r.watch,b=r.formState,v=b.errors,$=b.isSubmitting,w=m("queueLocation"),A=(0,h.A)(w).queues,k=(0,g.l)().queueLocations;return i().createElement(f.Workspace2,{title:t("addNewQueueServiceRoom","Add new queue service room")},i().createElement(d.lVW,{onSubmit:y(function(e){return(a=function(){var a;return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&s[0]?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){r=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(6===s[0]&&r.label<i[1]){r.label=i[1],i=s;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(s);break}i[2]&&r.ops.pop(),r.trys.pop();continue}s=n.call(e,r)}catch(e){s=[6,e],a=0}finally{t=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),[4,(r=e.queueRoomName,o=e.queueRoomService,s=new AbortController,(0,f.openmrsFetch)("".concat(f.restBaseUrl,"/queue-room"),{method:"POST",headers:{"Content-Type":"application/json"},signal:s.signal,body:{name:r,description:"",queue:{uuid:o}}}))];case 1:return i.sent(),(0,f.showSnackbar)({title:t("queueRoomAdded","Queue room added"),kind:"success",subtitle:t("queueRoomCreatedSuccessfully","Queue room created successfully")}),[4,(0,c.Tk)("".concat(f.restBaseUrl,"/queueroom"))];case 2:return i.sent(),n(),[3,4];case 3:return a=i.sent(),(0,f.showSnackbar)({title:t("errorCreatingQueueRoom","Error creating queue room"),kind:"error",isLowContrast:!1,subtitle:null==a?void 0:a.message}),[3,4];case 4:return[2]}var r,o,s})},function(){var e=this,n=arguments;return new Promise(function(t,i){var r=a.apply(e,n);function o(e){S(r,t,i,o,s,"next",e)}function s(e){S(r,t,i,o,s,"throw",e)}o(void 0)})})();var a}),className:M.form},i().createElement(d.BJc,{gap:4,className:M.grid},i().createElement(d.VPZ,null,i().createElement(d.Wdr,{className:M.input},i().createElement(l.xI,{control:p,name:"queueRoomName",render:function(e){var n,a=e.field;return i().createElement(d.ksK,T(O({},a),{id:"queueRoomName",invalid:!!v.queueRoomName,invalidText:null===(n=v.queueRoomName)||void 0===n?void 0:n.message,labelText:t("queueRoomName","Queue room name")}))}}))),i().createElement(d.VPZ,null,i().createElement(d.Wdr,{className:M.input},i().createElement(l.xI,{name:"queueLocation",control:p,render:function(e){var n,a=e.field,r=a.onChange,o=a.value,s=N(e.field,["onChange","value"]);return i().createElement(d.l6P,T(O({},s),{id:"queueRoomLocation",invalid:!!v.queueLocation,invalidText:null===(n=v.queueLocation)||void 0===n?void 0:n.message,labelText:t("queueLocation","Queue location"),onChange:function(e){return r(e.target.value)},value:o||""}),i().createElement(d.ebT,{text:t("selectQueueRoomLocation","Select a queue room location"),value:""}),null==k?void 0:k.map(function(e){return i().createElement(d.ebT,{key:e.id,text:e.name,value:e.id},e.name)}))}}))),i().createElement(d.VPZ,null,i().createElement(d.Wdr,{className:M.input},i().createElement(l.xI,{name:"queueRoomService",control:p,render:function(e){var n,a=e.field,r=a.onChange,o=a.value,s=N(e.field,["onChange","value"]);return i().createElement(d.l6P,T(O({},s),{id:"queueRoomService",invalid:!!v.queueRoomService,invalidText:null===(n=v.queueRoomService)||void 0===n?void 0:n.message,labelText:t("queueRoomService","Queue room service"),onChange:function(e){return r(e.target.value)},value:o||""}),i().createElement(d.ebT,{text:t("selectQueueRoomService","Select a queue room service"),value:""}),null==A?void 0:A.map(function(e){return i().createElement(d.ebT,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))}})))),i().createElement(d.Te$,{className:o()(a?M.tablet:M.desktop)},i().createElement(d.$nd,{className:M.button,kind:"secondary",onClick:function(){return n()}},(0,f.getCoreTranslation)("cancel","Cancel")),i().createElement(d.$nd,{className:M.button,disabled:$,kind:"primary",type:"submit"},$?i().createElement(d.OuH,{description:t("saving","Saving")+"..."}):i().createElement("span",null,(0,f.getCoreTranslation)("save","Save"))," "))))}},30855:(e,n,t)=>{e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},30977:e=>{function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}e.exports=function(e){var t,a,i=(a=4,function(e){if(Array.isArray(e))return e}(t=e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var a,i,r=[],o=!0,s=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(s)throw i}}return r}}(t,a)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=i[1],o=i[3];if(!o)return r;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),c="/*# ".concat(l," */"),u=o.sources.map(function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")});return[r].concat(u).concat([c]).join("\n")}return[r].join("\n")}},50942:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(54440),i=t(88010),r=t.n(i),o=t(1343);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e){var n,t="".concat(a.restBaseUrl,"/queue?v=").concat("custom:(uuid,display,name,description,service:(uuid,display),allowedPriorities:(uuid,display),allowedStatuses:(uuid,display),location:(uuid,display))")+(e?"&location=".concat(e):""),i=r()(t,a.openmrsFetch),l=i.data,c=function(e,n){if(null==e)return{};var t,a,i=function(e,n){if(null==e)return{};var t,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)t=r[a],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(i,["data"]),u=(0,o.useMemo)(function(){var e,n;return null!==(n=null==l||null===(e=l.data)||void 0===e?void 0:e.results.sort(function(e,n){return e.display.localeCompare(n.display,(0,a.getLocale)())}))&&void 0!==n?n:[]},[null==l||null===(n=l.data)||void 0===n?void 0:n.results]);return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.forEach(function(n){s(e,n,t[n])})}return e}({queues:u},c)}},58139:(e,n,t)=>{e.exports=t(93296)},66985:(e,n,t)=>{t.d(n,{l:()=>r});var a=t(1343),i=t(54440);function r(){var e="".concat(i.fhirBaseUrl,"/Location?_summary=data&_tag=queue location"),n=(0,i.useFhirFetchAll)(e),t=n.data,r=n.error,o=n.isLoading;return{queueLocations:(0,a.useMemo)(function(){var e;return null!==(e=null==t?void 0:t.map(function(e){return e}).sort(function(e,n){return e.name.localeCompare(n.name,(0,i.getLocale)())}))&&void 0!==e?e:[]},[t]),isLoading:o,error:r}}},71123:(e,n,t)=>{t.d(n,{Ay:()=>c,BE:()=>l,Tk:()=>r.mutate});var a=t(1343),i=t(58139),r=t(55434);const o=a.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(n=>{e.status="fulfilled",e.value=n},n=>{e.status="rejected",e.reason=n}),e)}),s={dedupe:!0},l=r.OBJECT.defineProperty(r.SWRConfig,"defaultValue",{value:r.defaultConfig}),c=(0,r.withArgs)((e,n,t)=>{const{cache:l,compare:c,suspense:u,fallbackData:p,revalidateOnMount:d,revalidateIfStale:f,refreshInterval:g,refreshWhenHidden:h,refreshWhenOffline:y,keepPreviousData:m}=t,[b,v,$,w]=r.SWRGlobalState.get(l),[A,k]=(0,r.serialize)(e),x=(0,a.useRef)(!1),_=(0,a.useRef)(!1),C=(0,a.useRef)(A),q=(0,a.useRef)(n),z=(0,a.useRef)(t),E=()=>z.current,M=()=>E().isVisible()&&E().isOnline(),[S,R,O,T]=(0,r.createCacheHelper)(l,A),N=(0,a.useRef)({}).current,j=(0,r.isUndefined)(p)?t.fallback[A]:p,I=(e,n)=>{for(const t in N){const a=t;if("data"===a){if(!c(e[a],n[a])){if(!(0,r.isUndefined)(e[a]))return!1;if(!c(Q,n[a]))return!1}}else if(n[a]!==e[a])return!1}return!0},L=(0,a.useMemo)(()=>{const e=!!A&&!!n&&((0,r.isUndefined)(d)?!E().isPaused()&&!u&&(!!(0,r.isUndefined)(f)||f):d),t=n=>{const t=(0,r.mergeObjects)(n);return delete t._k,e?{isValidating:!0,isLoading:!0,...t}:t},a=S(),i=T(),o=t(a),s=a===i?o:t(i);let l=o;return[()=>{const e=t(S());return I(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[l,A]),D=(0,i.useSyncExternalStore)((0,a.useCallback)(e=>O(A,(n,t)=>{I(t,n)||e()}),[l,A]),L[0],L[1]),P=!x.current,U=b[A]&&b[A].length>0,B=D.data,V=(0,r.isUndefined)(B)?j:B,F=D.error,W=(0,a.useRef)(V),Q=m?(0,r.isUndefined)(B)?W.current:B:V,Y=!(U&&!(0,r.isUndefined)(F))&&(P&&!(0,r.isUndefined)(d)?d:!E().isPaused()&&(u?!(0,r.isUndefined)(V)&&f:(0,r.isUndefined)(V)||f)),H=!!(A&&n&&P&&Y),G=(0,r.isUndefined)(D.isValidating)?H:D.isValidating,J=(0,r.isUndefined)(D.isLoading)?H:D.isLoading,X=(0,a.useCallback)(async e=>{const n=q.current;if(!A||!n||_.current||E().isPaused())return!1;let a,i,o=!0;const s=e||{},l=!$[A]||!s.dedupe,u=()=>r.IS_REACT_LEGACY?!_.current&&A===C.current&&x.current:A===C.current,p={isValidating:!1,isLoading:!1},d=()=>{R(p)},f=()=>{const e=$[A];e&&e[1]===i&&delete $[A]},g={isValidating:!0};(0,r.isUndefined)(S().data)&&(g.isLoading=!0);try{if(l&&(R(g),t.loadingTimeout&&(0,r.isUndefined)(S().data)&&setTimeout(()=>{o&&u()&&E().onLoadingSlow(A,t)},t.loadingTimeout),$[A]=[n(k),(0,r.getTimestamp)()]),[a,i]=$[A],a=await a,l&&setTimeout(f,t.dedupingInterval),!$[A]||$[A][1]!==i)return l&&u()&&E().onDiscarded(A),!1;p.error=r.UNDEFINED;const e=v[A];if(!(0,r.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return d(),l&&u()&&E().onDiscarded(A),!1;const s=S().data;p.data=c(s,a)?s:a,l&&u()&&E().onSuccess(a,A,t)}catch(e){f();const n=E(),{shouldRetryOnError:t}=n;n.isPaused()||(p.error=e,l&&u()&&(n.onError(e,A,n),(!0===t||(0,r.isFunction)(t)&&t(e))&&(E().revalidateOnFocus&&E().revalidateOnReconnect&&!M()||n.onErrorRetry(e,A,n,e=>{const n=b[A];n&&n[0]&&n[0](r.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return o=!1,d(),!0},[A,l]),Z=(0,a.useCallback)((...e)=>(0,r.internalMutate)(l,C.current,...e),[]);if((0,r.useIsomorphicLayoutEffect)(()=>{q.current=n,z.current=t,(0,r.isUndefined)(B)||(W.current=B)}),(0,r.useIsomorphicLayoutEffect)(()=>{if(!A)return;const e=X.bind(r.UNDEFINED,s);let n=0;const t=(0,r.subscribeCallback)(A,b,(t,a={})=>{if(t==r.revalidateEvents.FOCUS_EVENT){const t=Date.now();E().revalidateOnFocus&&t>n&&M()&&(n=t+E().focusThrottleInterval,e())}else if(t==r.revalidateEvents.RECONNECT_EVENT)E().revalidateOnReconnect&&M()&&e();else{if(t==r.revalidateEvents.MUTATE_EVENT)return X();if(t==r.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(a)}});return _.current=!1,C.current=A,x.current=!0,R({_k:k}),Y&&((0,r.isUndefined)(V)||r.IS_SERVER?e():(0,r.rAF)(e)),()=>{_.current=!0,t()}},[A]),(0,r.useIsomorphicLayoutEffect)(()=>{let e;function n(){const n=(0,r.isFunction)(g)?g(S().data):g;n&&-1!==e&&(e=setTimeout(t,n))}function t(){S().error||!h&&!E().isVisible()||!y&&!E().isOnline()?n():X(s).then(n)}return n(),()=>{e&&(clearTimeout(e),e=-1)}},[g,h,y,A]),(0,a.useDebugValue)(Q),u&&(0,r.isUndefined)(V)&&A){if(!r.IS_REACT_LEGACY&&r.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");q.current=n,z.current=t,_.current=!1;const e=w[A];if(!(0,r.isUndefined)(e)){const n=Z(e);o(n)}if(!(0,r.isUndefined)(F))throw F;{const e=X(s);(0,r.isUndefined)(Q)||(e.status="fulfilled",e.value=!0),o(e)}}return{mutate:Z,get data(){return N.data=!0,Q},get error(){return N.error=!0,F},get isValidating(){return N.isValidating=!0,G},get isLoading(){return N.isLoading=!0,J}}})},72591:e=>{var n=[];function t(e){for(var t=-1,a=0;a<n.length;a++)if(n[a].identifier===e){t=a;break}return t}function a(e,a){for(var r={},o=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],u=r[c]||0,p="".concat(c," ").concat(u);r[c]=u+1;var d=t(p),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)n[d].references++,n[d].updater(f);else{var g=i(f,a);a.byIndex=s,n.splice(s,0,{identifier:p,updater:g,references:1})}o.push(p)}return o}function i(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,i){var r=a(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<r.length;o++){var s=t(r[o]);n[s].references--}for(var l=a(e,i),c=0;c<r.length;c++){var u=t(r[c]);0===n[u].references&&(n[u].updater(),n.splice(u,1))}r=l}}},73656:e=>{e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},88128:e=>{var n={};e.exports=function(e,t){var a=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}},93051:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},93296:(e,n,t)=>{var a=t(1343),i="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},r=a.useState,o=a.useEffect,s=a.useLayoutEffect,l=a.useDebugValue;function c(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!i(e,t)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),a=r({inst:{value:t,getSnapshot:n}}),i=a[0].inst,u=a[1];return s(function(){i.value=t,i.getSnapshot=n,c(i)&&u({inst:i})},[e,t,n]),o(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),l(t),t};n.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:u},95924:e=>{e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=e(n);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t}).join("")},n.i=function(e,t,a){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(a)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&i[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),n.push(l))}},n}}}]);
package/dist/3386.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"3386.js","mappings":";wJA4DAA,EAAOC,QAjBP,SAAgBC,GACd,GAAwB,oBAAbC,SACT,MAAO,CACLC,OAAQ,WAAmB,EAC3BC,OAAQ,WAAmB,GAG/B,IAAIC,EAAeJ,EAAQK,mBAAmBL,GAC9C,MAAO,CACLE,OAAQ,SAAgBI,IAjD5B,SAAeF,EAAcJ,EAASM,GACpC,IAAIC,EAAM,GACND,EAAIE,WACND,GAAO,cAAcE,OAAOH,EAAIE,SAAU,QAExCF,EAAII,QACNH,GAAO,UAAUE,OAAOH,EAAII,MAAO,OAErC,IAAIC,OAAiC,IAAdL,EAAIM,MACvBD,IACFJ,GAAO,SAASE,OAAOH,EAAIM,MAAMC,OAAS,EAAI,IAAIJ,OAAOH,EAAIM,OAAS,GAAI,OAE5EL,GAAOD,EAAIC,IACPI,IACFJ,GAAO,KAELD,EAAII,QACNH,GAAO,KAELD,EAAIE,WACND,GAAO,KAET,IAAIO,EAAYR,EAAIQ,UAChBA,GAA6B,oBAATC,OACtBR,GAAO,uDAAuDE,OAAOM,KAAKC,SAASC,mBAAmBC,KAAKC,UAAUL,MAAe,QAKtId,EAAQoB,kBAAkBb,EAAKH,EAAcJ,EAAQA,QACvD,CAoBMqB,CAAMjB,EAAcJ,EAASM,EAC/B,EACAH,OAAQ,YArBZ,SAA4BC,GAE1B,GAAgC,OAA5BA,EAAakB,WACf,OAAO,EAETlB,EAAakB,WAA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MA,GACtD,EACA,CAACI,EAAW3R,EAAOgJ,IAErBoI,EACE,WAEE,OADAE,EAAuBC,IAASM,EAAY,CAAEN,KAAMA,IAC7CI,EAAU,WACfL,EAAuBC,IAASM,EAAY,CAAEN,KAAMA,GACtD,EACF,EACA,CAACI,IAEHxD,EAAcnO,GACPA,CACT,EAoBAxG,EAAQwQ,0BACN,IAAW8G,EAAM9G,qBAAuB8G,EAAM9G,qBAAuB0H,C,YCzDvEnY,EAAOC,QAAU,SAAUsY,GACzB,IAAInD,EAAO,GAuDX,OArDAA,EAAKtL,SAAW,WACd,OAAO0O,KAAKzR,IAAI,SAAUyB,GACxB,IAAI8B,EAAUiO,EAAuB/P,GAErC,OAAIA,EAAK,GACA,UAAU7H,OAAO6H,EAAK,GAAI,MAAM7H,OAAO2J,EAAS,KAGlDA,CACT,GAAGQ,KAAK,GACV,EAIAsK,EAAK/M,EAAI,SAAUoQ,EAASC,EAAYpM,GACf,iBAAZmM,IAETA,EAAU,CAAC,CAAC,KAAMA,EAAS,MAG7B,IAAIE,EAAyB,CAAC,EAE9B,GAAIrM,EACF,IAAK,IAAIjE,EAAI,EAAGA,EAAImQ,KAAKzX,OAAQsH,IAAK,CAEpC,IAAIxG,EAAK2W,KAAKnQ,GAAG,GAEP,MAANxG,IACF8W,EAAuB9W,IAAM,EAEjC,CAGF,IAAK,IAAI+G,EAAK,EAAGA,EAAK6P,EAAQ1X,OAAQ6H,IAAM,CAC1C,IAAIJ,EAAO,GAAG7H,OAAO8X,EAAQ7P,IAEzB0D,GAAUqM,EAAuBnQ,EAAK,MAKtCkQ,IACGlQ,EAAK,GAGRA,EAAK,GAAK,GAAG7H,OAAO+X,EAAY,SAAS/X,OAAO6H,EAAK,IAFrDA,EAAK,GAAKkQ,GAMdtD,EAAKxT,KAAK4G,GACZ,CACF,EAEO4M,CACT,C","sources":["webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room-form.scss","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room-form.scss?9299","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room-form.workspace.tsx","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room.resource.ts","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@openmrs/esm-service-queues-app/./src/hooks/useQueues.ts","webpack://@openmrs/esm-service-queues-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-service-queues-app/./src/create-queue-entry/hooks/useQueueLocations.ts","webpack://@openmrs/esm-service-queues-app/../../node_modules/swr/dist/core/index.mjs","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js"],"names":["module","exports","options","document","update","remove","styleElement","insertStyleElement","obj","css","supports","concat","media","needLayer","layer","length","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","___CSS_LOADER_EXPORT___","push","id","locals","setAttributes","insert","domAPI","undefined","createQueueRoomSchema","t","z","queueRoomName","required_error","trim","min","queueRoomService","queueLocation","closeWorkspace","useTranslation","isTablet","useLayoutType","useForm","resolver","zodResolver","defaultValues","control","handleSubmit","watch","formState","errors","isSubmitting","watchedQueueLocationId","useQueues","queues","useQueueLocations","queueLocations","Workspace2","title","Form","onSubmit","data","error","name","queueUuid","abortController","AbortController","openmrsFetch","restBaseUrl","method","headers","signal","body","description","queue","uuid","showSnackbar","kind","subtitle","mutate","isLowContrast","message","className","styles","form","Stack","gap","grid","Column","Layer","input","Controller","render","field","TextInput","invalid","invalidText","labelText","onChange","value","Select","e","target","SelectItem","text","map","location","key","service","display","ButtonSet","classNames","tablet","desktop","Button","button","onClick","getCoreTranslation","disabled","type","InlineLoading","span","nonce","setAttribute","_arrayLikeToArray","arr","len","i","arr2","Array","item","_item","isArray","_arrayWithHoles","_i","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","toString","slice","constructor","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","content","cssMapping","base64","sourceMapping","sourceURLs","sources","source","sourceRoot","join","locationUuid","apiUrl","customRepresentation","useSWRImmutable","rest","useMemo","results","sort","a","b","localeCompare","getLocale","fhirBaseUrl","useFhirFetchAll","isLoading","response","use","promise","status","reason","then","v","WITH_DEDUPE","dedupe","SWRConfig","OBJECT","defineProperty","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","returnedData","getSnapshot","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","interval","execute","clearTimeout","useDebugValue","Error","req","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","list","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_index","styleSheet","cssText","firstChild","appendChild","createTextNode","memo","style","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","element","createElement","attributes","React","objectIs","is","x","y","useState","useEffect","useLayoutEffect","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","shim","subscribe","_useState","forceUpdate","cssWithMappingToString","this","modules","mediaQuery","alreadyImportedModules"],"sourceRoot":""}
1
+ {"version":3,"file":"3386.js","mappings":";wJA4DAA,EAAOC,QAjBP,SAAgBC,GACd,GAAwB,oBAAbC,SACT,MAAO,CACLC,OAAQ,WAAmB,EAC3BC,OAAQ,WAAmB,GAG/B,IAAIC,EAAeJ,EAAQK,mBAAmBL,GAC9C,MAAO,CACLE,OAAQ,SAAgBI,IAjD5B,SAAeF,EAAcJ,EAASM,GACpC,IAAIC,EAAM,GACND,EAAIE,WACND,GAAO,cAAcE,OAAOH,EAAIE,SAAU,QAExCF,EAAII,QACNH,GAAO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,GAAIrM,EACF,IAAK,IAAIjE,EAAI,EAAGA,EAAImQ,KAAKzX,OAAQsH,IAAK,CAEpC,IAAIxG,EAAK2W,KAAKnQ,GAAG,GAEP,MAANxG,IACF8W,EAAuB9W,IAAM,EAEjC,CAGF,IAAK,IAAI+G,EAAK,EAAGA,EAAK6P,EAAQ1X,OAAQ6H,IAAM,CAC1C,IAAIJ,EAAO,GAAG7H,OAAO8X,EAAQ7P,IAEzB0D,GAAUqM,EAAuBnQ,EAAK,MAKtCkQ,IACGlQ,EAAK,GAGRA,EAAK,GAAK,GAAG7H,OAAO+X,EAAY,SAAS/X,OAAO6H,EAAK,IAFrDA,EAAK,GAAKkQ,GAMdtD,EAAKxT,KAAK4G,GACZ,CACF,EAEO4M,CACT,C","sources":["webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room-form.scss","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room-form.scss?9299","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room-form.workspace.tsx","webpack://@openmrs/esm-service-queues-app/./src/admin/queue-rooms/queue-room.resource.ts","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack://@openmrs/esm-service-queues-app/./src/hooks/useQueues.ts","webpack://@openmrs/esm-service-queues-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-service-queues-app/./src/create-queue-entry/hooks/useQueueLocations.ts","webpack://@openmrs/esm-service-queues-app/../../node_modules/swr/dist/core/index.mjs","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-service-queues-app/../../node_modules/@openmrs/webpack-config/node_modules/css-loader/dist/runtime/api.js"],"names":["module","exports","options","document","update","remove","styleElement","insertStyleElement","obj","css","supports","concat","media","needLayer","layer","length","sourceMap","btoa","unescape","encodeURIComponent","JSON","stringify","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","___CSS_LOADER_EXPORT___","push","id","locals","setAttributes","insert","domAPI","undefined","createQueueRoomSchema","t","z","queueRoomName","required_error","trim","min","queueRoomService","queueLocation","closeWorkspace","useTranslation","isTablet","useLayoutType","useForm","resolver","zodResolver","defaultValues","control","handleSubmit","watch","formState","errors","isSubmitting","watchedQueueLocationId","useQueues","queues","useQueueLocations","queueLocations","Workspace2","title","Form","onSubmit","data","error","name","queueUuid","abortController","AbortController","openmrsFetch","restBaseUrl","method","headers","signal","body","description","queue","uuid","showSnackbar","kind","subtitle","mutate","isLowContrast","message","className","styles","form","Stack","gap","grid","Column","Layer","input","Controller","render","field","TextInput","invalid","invalidText","labelText","onChange","value","Select","e","target","SelectItem","text","map","location","key","service","display","ButtonSet","classNames","tablet","desktop","Button","button","onClick","getCoreTranslation","disabled","type","InlineLoading","span","nonce","setAttribute","_arrayLikeToArray","arr","len","i","arr2","Array","item","_item","isArray","_arrayWithHoles","_i","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","err","_iterableToArrayLimit","o","minLen","n","Object","prototype","toString","slice","constructor","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","content","cssMapping","base64","sourceMapping","sourceURLs","sources","source","sourceRoot","join","locationUuid","apiUrl","customRepresentation","useSWRImmutable","rest","useMemo","results","sort","a","b","localeCompare","getLocale","fhirBaseUrl","useFhirFetchAll","isLoading","response","use","promise","status","reason","then","v","WITH_DEDUPE","dedupe","SWRConfig","OBJECT","defineProperty","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","returnedData","getSnapshot","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","interval","execute","clearTimeout","useDebugValue","Error","req","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","list","idCountMap","identifiers","base","count","indexByIdentifier","references","updater","addElementStyle","byIndex","splice","api","newObj","lastIdentifiers","newList","index","newLastIdentifiers","_index","styleSheet","cssText","firstChild","appendChild","createTextNode","memo","style","styleTarget","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","element","createElement","attributes","React","objectIs","is","x","y","useState","useEffect","useLayoutEffect","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","shim","subscribe","_useState","forceUpdate","cssWithMappingToString","this","modules","mediaQuery","alreadyImportedModules"],"sourceRoot":""}