@openmrs/esm-implementer-tools-app 10.0.1-pre.5322 → 10.0.1-pre.5364
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.
- package/.turbo/turbo-build.log +3 -3
- package/dist/1389.js +1 -1
- package/dist/1389.js.map +1 -1
- package/dist/2920.js +4 -1
- package/dist/2920.js.map +1 -1
- package/dist/3038.js +1 -1
- package/dist/3038.js.map +1 -1
- package/dist/8088.js +1 -1
- package/dist/8088.js.map +1 -1
- package/dist/9893.js +32 -1
- package/dist/9893.js.map +1 -1
- package/dist/main.js +3 -3
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-implementer-tools-app.js +3 -3
- package/dist/openmrs-esm-implementer-tools-app.js.buildmanifest.json +21 -21
- package/dist/openmrs-esm-implementer-tools-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
package/dist/1389.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1389.js","sources":["webpack://@openmrs/esm-implementer-tools-app/./src/configuration/json-editor/json-editor.scss","webpack://@openmrs/esm-implementer-tools-app/./src/configuration/json-editor/json-editor.scss?8535","webpack://@openmrs/esm-implementer-tools-app/./src/configuration/json-editor/json-editor.component.tsx"],"names":["JsonEditor","
|
|
1
|
+
{"version":3,"file":"1389.js","sources":["webpack://@openmrs/esm-implementer-tools-app/./src/configuration/json-editor/json-editor.scss","webpack://@openmrs/esm-implementer-tools-app/./src/configuration/json-editor/json-editor.scss?8535","webpack://@openmrs/esm-implementer-tools-app/./src/configuration/json-editor/json-editor.component.tsx"],"names":["JsonEditor","height","t","useTranslation","temporaryConfig","useStore","temporaryConfigStore","editorValue","setEditorValue","useState","error","setError","key","setKey","updateTemporaryConfig","useCallback","config","JSON","e","Error","clearConfigErrors","useEffect","k","AceEditor","v","styles","Button","classNames","ace","URL"],"mappings":"wNAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC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,AAACY,GAAMhB,EAAegB,GAChC,cACA,gBAAiB,GACjB,QAAS,EACT,MAAM,UACN,MAAM,O,GAER,kBAAC,OAAI,UAAWC,EAAAA,OAAc,A,EAC5B,kBAACC,EAAAA,MAAMA,CAAAA,CAAC,KAAK,KAAK,KAAK,SAAS,QAASZ,C,EACtCZ,EAAE,eAAgB,kBAErB,kBAAC,OACC,UAAWyB,IAAWF,EAAAA,KAAY,CAAE,CAClC,CAACA,EAAAA,eAAsB,CAAC,CAAEf,CAC5B,E,EAECA,IAKX,CAjEAkB,A,SAAAA,MAAAA,CAAAA,YAAuB,CACrB,uBACA,IAAIC,IAAI,YAA2D,EAAE,IAAI,C"}
|
package/dist/2920.js
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
(globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([["2920"],{99446(e,n,t){"use strict";t.d(n,{A:()=>a});var o=t(41109),r=t.n(o),l=t(75248),s=t.n(l)()(r());s.push([e.id,".-esm-implementer-tools__styles__slotOverlay___QGVgS{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__blueScheme___Wk7\\+U{border:1px dashed rgba(0,67,206,.6);background-color:rgba(0,67,206,.1)}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__blueScheme___Wk7\\+U.-esm-implementer-tools__styles__slotOverlayHover___crYhy{border-color:rgba(0,67,206,.9);background-color:rgba(0,67,206,.15)}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__greenScheme___Ay-Pi{border:1px dashed rgba(14,96,39,.6);background-color:rgba(14,96,39,.1)}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__greenScheme___Ay-Pi.-esm-implementer-tools__styles__slotOverlayHover___crYhy{border-color:rgba(14,96,39,.9);background-color:rgba(14,96,39,.15)}.-esm-implementer-tools__styles__slotName___bfgAW{background-color:hsla(0,0%,100%,.95);border:1px solid rgba(0,67,206,.8);color:#393939;cursor:pointer;position:absolute;padding:.5rem;z-index:99999;font-size:.75rem;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:all .2s ease}.-esm-implementer-tools__styles__slotName___bfgAW:nth-child(even){border-color:rgba(14,96,39,.8)}.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8{position:absolute;top:0;left:0;width:100%;height:100%;background:none;border:none}.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8:hover{background-color:rgba(43,43,185,.1)}.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8:focus .-esm-implementer-tools__styles__extensionTooltip___Iqy2g,.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8:hover .-esm-implementer-tools__styles__extensionTooltip___Iqy2g{visibility:visible;opacity:1}.-esm-implementer-tools__styles__extensionTooltip___Iqy2g{visibility:hidden;width:auto;background-color:hsla(0,0%,100%,.85);text-align:center;padding:1rem;border:1px solid rgba(43,43,185,.4);position:absolute;top:0;left:0}.-esm-implementer-tools__styles__exitButton___Rp9rH{position:fixed !important;top:4rem;right:1rem;z-index:999999}","",{version:3,sources:["webpack://./src/ui-editor/styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGA,qDACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,mBAAA,CAEA,yGACE,mCAAA,CACA,kCAAA,CAEA,kKACE,8BAAA,CACA,mCAAA,CAIJ,yGACE,mCAAA,CACA,kCAAA,CAEA,kKACE,8BAAA,CACA,mCAAA,CAKN,kDACE,oCAAA,CACA,kCAAA,CACA,aAAA,CACA,cAAA,CACA,iBAAA,CACA,aCjBW,CDkBX,aAAA,CACA,gBCdW,CDeX,mCAAA,CACA,uBAAA,CAEA,kEACE,8BAAA,CAIJ,2DACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,WAAA,CAGF,iEACE,mCAAA,CAGF,sPAEE,kBAAA,CACA,SAAA,CAGF,0DACE,iBAAA,CACA,UAAA,CACA,oCAAA,CACA,iBAAA,CACA,YC3CW,CD4CX,mCAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CAGF,oDACE,yBAAA,CACA,QC3BW,CD4BX,UCrDW,CDsDX,cAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n\n.slotOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n\n &.blueScheme {\n border: 1px dashed rgba(colors.$blue-70, 0.6);\n background-color: rgba(colors.$blue-70, 0.1);\n\n &.slotOverlayHover {\n border-color: rgba(colors.$blue-70, 0.9);\n background-color: rgba(colors.$blue-70, 0.15);\n }\n }\n\n &.greenScheme {\n border: 1px dashed rgba(colors.$green-70, 0.6);\n background-color: rgba(colors.$green-70, 0.1);\n\n &.slotOverlayHover {\n border-color: rgba(colors.$green-70, 0.9);\n background-color: rgba(colors.$green-70, 0.15);\n }\n }\n}\n\n.slotName {\n background-color: rgba(255, 255, 255, 0.95);\n border: 1px solid rgba(colors.$blue-70, 0.8);\n color: #393939;\n cursor: pointer;\n position: absolute;\n padding: layout.$spacing-03;\n z-index: 99999;\n font-size: layout.$spacing-04;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);\n transition: all 0.2s ease;\n\n &:nth-child(even) {\n border-color: rgba(colors.$green-70, 0.8);\n }\n}\n\n.extensionOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: none;\n border: none;\n}\n\n.extensionOverlay:hover {\n background-color: rgba(43, 43, 185, 0.1);\n}\n\n.extensionOverlay:focus .extensionTooltip,\n.extensionOverlay:hover .extensionTooltip {\n visibility: visible;\n opacity: 1;\n}\n\n.extensionTooltip {\n visibility: hidden;\n width: auto;\n background-color: rgb(255, 255, 255, 0.85);\n text-align: center;\n padding: layout.$spacing-05;\n border: 1px solid rgba(43, 43, 185, 0.4);\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.exitButton {\n position: fixed !important;\n top: layout.$spacing-10;\n right: layout.$spacing-05;\n z-index: 999999;\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:""}]),s.locals={slotOverlay:"-esm-implementer-tools__styles__slotOverlay___QGVgS",blueScheme:"-esm-implementer-tools__styles__blueScheme___Wk7+U",slotOverlayHover:"-esm-implementer-tools__styles__slotOverlayHover___crYhy",greenScheme:"-esm-implementer-tools__styles__greenScheme___Ay-Pi",slotName:"-esm-implementer-tools__styles__slotName___bfgAW",extensionOverlay:"-esm-implementer-tools__styles__extensionOverlay___+4bp8",extensionTooltip:"-esm-implementer-tools__styles__extensionTooltip___Iqy2g",exitButton:"-esm-implementer-tools__styles__exitButton___Rp9rH"};let a=s},7099(e,n,t){"use strict";t.r(n),t.d(n,{ExitButton:()=>W,default:()=>M,SlotOverlay:()=>U,getExtensionOverlayTargets:()=>T});var o=t(46925),r=t.n(o),l=t(55530),s=t.n(l),a=t(99737),i=t(18326),c=t(3658),u=t(22065);function m(e){var n=e.el,t=e.children;return n?(0,u.createPortal)(t,n):null}var p=t(97478),A=t.n(p),_=t(27135),b=t.n(_),g=t(61301),d=t.n(g),y=t(49222),f=t.n(y),C=t(6626),v=t.n(C),h=t(88279),x=t.n(h),E=t(99446),S={};S.styleTagTransform=x(),S.setAttributes=f(),S.insert=d().bind(null,"head"),S.domAPI=b(),S.insertStyleElement=v(),A()(E.A,S);let O=E.A&&E.A.locals?E.A.locals:void 0;function N(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t<n;t++)o[t]=e[t];return o}function $(e){var n,t=e.extensionName,l=e.slotModuleName,s=e.slotName,a=e.domElement,i=function(e){if(Array.isArray(e))return e}(n=(0,o.useState)())||function(e){var n,t,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r=[],l=!0,s=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(r.push(n.value),2!==r.length);l=!0);}catch(e){s=!0,t=e}finally{try{l||null==o.return||o.return()}finally{if(s)throw t}}return r}}(n)||function(e){if(e){if("string"==typeof e)return N(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=i[0],u=i[1];return(0,o.useEffect)(function(){if(null==a?void 0:a.parentElement){var e=document.createElement("div");return a.parentElement.appendChild(e),u(e),function(){e.remove(),u(void 0)}}},[a]),c?r().createElement(m,{key:"extension-overlay-".concat(l,"-").concat(s,"-").concat(t),el:c},r().createElement(k,{extensionId:t})):null}function k(e){var n=e.extensionId;return r().createElement("button",{className:O.extensionOverlay},r().createElement("span",{className:O.extensionTooltip},n))}var I=t(43639);function B(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=Array(n);t<n;t++)o[t]=e[t];return o}function w(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach(function(n){w(e,n,t[n])})}return e}function P(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 D(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,o,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var l=[],s=!0,a=!1;try{for(r=r.call(e);!(s=(t=r.next()).done)&&(l.push(t.value),!n||l.length!==n);s=!0);}catch(e){a=!0,o=e}finally{try{s||null==r.return||r.return()}finally{if(a)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return B(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return B(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e){var n;return Array.from(null!=(n=null==e?void 0:e.values())?n:[],function(e){return{extensionName:e.extensionName,slotModuleName:e.slotModuleName,slotName:e.slotName,extensionRendering:e}})}function M(){var e=(0,a.useTranslation)().t,n=(0,c.useStore)((0,c.getExtensionInternalStore)()),t=n.slots,l=n.extensions,s=(0,c.useStore)((0,c.getExtensionRenderingsStore)());(0,c.useStore)(I.bB).isOpen;var i=function(e,n){if(!l||!n)return 0;var o=null==t?void 0:t[e];return o&&Array.isArray(o.attachedIds)?o.attachedIds.length:0},u=(0,o.useMemo)(function(){return t?Object.entries(t).map(function(e){var n=D(e,2),t=n[0],o=n[1];return t?{slotName:t,slotInfo:o,element:document.querySelector('*[data-extension-slot-name="'.concat(t,'"][data-extension-slot-module-name="').concat(o.moduleName,'"]'))}:null}).filter(function(e){return!!e}):[]},[t]),p=(0,o.useMemo)(function(){return T(s.renderings).map(function(e){return P(j({},e),{element:document.querySelector('*[data-extension-rendering-id="'.concat(CSS.escape(e.extensionRendering.renderingId),'"]'))})})},[s]);return r().createElement(r().Fragment,null,r().createElement(W,{t:e}),u.map(function(n,t){var o,l,s=n.slotName,a=n.slotInfo,c=n.element;return c&&r().createElement(m,{key:"slot-overlay-".concat(a.moduleName,"-").concat(s),el:c},r().createElement(U,{extensionCount:i(s,null!=(o=a.moduleName)?o:""),moduleName:null!=(l=a.moduleName)?l:"",slotName:s,t:e,colorScheme:t%2==0?"blue":"green"}))}),p.map(function(e){var n=e.extensionName,t=e.slotModuleName,o=e.slotName,l=e.extensionRendering,s=e.element;return s&&r().createElement($,{domElement:s,extensionName:n,key:l.renderingId,slotModuleName:t,slotName:o})}))}function U(e){var n,t,l=e.slotName,a=e.moduleName,i=e.extensionCount,u=void 0===i?0:i,m=e.colorScheme,p=(0,c.useStore)((0,c.getExtensionInternalStore)()).slots,A=D((0,o.useState)(!1),2),_=A[0],b=A[1],g=s()(O.slotOverlay,(w(n={},O.blueScheme,"blue"===m),w(n,O.greenScheme,"green"===m),w(n,O.slotOverlayHover,_),n)),d=s()(O.slotName,(w(t={},O.blueScheme,"blue"===m),w(t,O.greenScheme,"green"===m),t)),y=function(e,n){I.bB.getState().configPathBeingEdited||I.bB.setState({uiSelectedPath:[e,"extensionSlots",n],isOpen:!0})};return r().createElement(r().Fragment,null,r().createElement("div",{className:g}),r().createElement("button",{className:d,onClick:function(e){e.preventDefault(),a&&l&&y(a,l)},onMouseEnter:function(){return b(!0)},onMouseLeave:function(){return b(!1)},title:function(){var e="Slot: ".concat(l,"\nModule: ").concat(a);if(u>0){var n,t=null==p?void 0:p[l];(null==t||null==(n=t.attachedIds)?void 0:n.length)&&(e+="\nExtensions (".concat(u,"):\n- ").concat(t.attachedIds.join("\n- ")))}return e}()},l))}function W(e){var n=e.t,t=(0,c.useStoreWithActions)(I.bB,G).toggleIsUIEditorEnabled;return r().createElement(i.Button,{className:O.exitButton,hasIconOnly:!0,iconDescription:n("exitUIEditor","Exit UI Editor"),kind:"danger",onClick:t,renderIcon:function(e){return r().createElement(c.CloseIcon,P(j({},e),{size:16}))},size:"sm",tooltipPosition:"left"})}var G={toggleIsUIEditorEnabled:function(e){return{isUIEditorEnabled:!e.isUIEditorEnabled}}}},55530(e){!function(){"use strict";var n={}.hasOwnProperty;function t(){for(var e="",r=0;r<arguments.length;r++){var l=arguments[r];l&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return t.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var l in e)n.call(e,l)&&e[l]&&(r=o(r,l));return r}(l)))}return e}function o(e,n){return n?e?e+" "+n:e+n:e}e.exports?(t.default=t,e.exports=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}()}}]);
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([["2920"],{99446(e,n,t){"use strict";t.d(n,{A:()=>a});var o=t(41109),r=t.n(o),s=t(75248),l=t.n(s)()(r());l.push([e.id,".-esm-implementer-tools__styles__slotOverlay___QGVgS{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__blueScheme___Wk7\\+U{border:1px dashed rgba(0,67,206,.6);background-color:rgba(0,67,206,.1)}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__blueScheme___Wk7\\+U.-esm-implementer-tools__styles__slotOverlayHover___crYhy{border-color:rgba(0,67,206,.9);background-color:rgba(0,67,206,.15)}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__greenScheme___Ay-Pi{border:1px dashed rgba(14,96,39,.6);background-color:rgba(14,96,39,.1)}.-esm-implementer-tools__styles__slotOverlay___QGVgS.-esm-implementer-tools__styles__greenScheme___Ay-Pi.-esm-implementer-tools__styles__slotOverlayHover___crYhy{border-color:rgba(14,96,39,.9);background-color:rgba(14,96,39,.15)}.-esm-implementer-tools__styles__slotName___bfgAW{background-color:hsla(0,0%,100%,.95);border:1px solid rgba(0,67,206,.8);color:#393939;cursor:pointer;position:absolute;padding:.5rem;z-index:99999;font-size:.75rem;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:all .2s ease}.-esm-implementer-tools__styles__slotName___bfgAW:nth-child(even){border-color:rgba(14,96,39,.8)}.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8{position:absolute;top:0;left:0;width:100%;height:100%;background:none;border:none}.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8:hover{background-color:rgba(43,43,185,.1)}.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8:focus .-esm-implementer-tools__styles__extensionTooltip___Iqy2g,.-esm-implementer-tools__styles__extensionOverlay___\\+4bp8:hover .-esm-implementer-tools__styles__extensionTooltip___Iqy2g{visibility:visible;opacity:1}.-esm-implementer-tools__styles__extensionTooltip___Iqy2g{visibility:hidden;width:auto;background-color:hsla(0,0%,100%,.85);text-align:center;padding:1rem;border:1px solid rgba(43,43,185,.4);position:absolute;top:0;left:0}.-esm-implementer-tools__styles__exitButton___Rp9rH{position:fixed !important;top:4rem;right:1rem;z-index:999999}","",{version:3,sources:["webpack://./src/ui-editor/styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAGA,qDACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,mBAAA,CAEA,yGACE,mCAAA,CACA,kCAAA,CAEA,kKACE,8BAAA,CACA,mCAAA,CAIJ,yGACE,mCAAA,CACA,kCAAA,CAEA,kKACE,8BAAA,CACA,mCAAA,CAKN,kDACE,oCAAA,CACA,kCAAA,CACA,aAAA,CACA,cAAA,CACA,iBAAA,CACA,aCjBW,CDkBX,aAAA,CACA,gBCdW,CDeX,mCAAA,CACA,uBAAA,CAEA,kEACE,8BAAA,CAIJ,2DACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,eAAA,CACA,WAAA,CAGF,iEACE,mCAAA,CAGF,sPAEE,kBAAA,CACA,SAAA,CAGF,0DACE,iBAAA,CACA,UAAA,CACA,oCAAA,CACA,iBAAA,CACA,YC3CW,CD4CX,mCAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CAGF,oDACE,yBAAA,CACA,QC3BW,CD4BX,UCrDW,CDsDX,cAAA",sourcesContent:["@use '@carbon/colors';\n@use '@carbon/layout';\n\n.slotOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n\n &.blueScheme {\n border: 1px dashed rgba(colors.$blue-70, 0.6);\n background-color: rgba(colors.$blue-70, 0.1);\n\n &.slotOverlayHover {\n border-color: rgba(colors.$blue-70, 0.9);\n background-color: rgba(colors.$blue-70, 0.15);\n }\n }\n\n &.greenScheme {\n border: 1px dashed rgba(colors.$green-70, 0.6);\n background-color: rgba(colors.$green-70, 0.1);\n\n &.slotOverlayHover {\n border-color: rgba(colors.$green-70, 0.9);\n background-color: rgba(colors.$green-70, 0.15);\n }\n }\n}\n\n.slotName {\n background-color: rgba(255, 255, 255, 0.95);\n border: 1px solid rgba(colors.$blue-70, 0.8);\n color: #393939;\n cursor: pointer;\n position: absolute;\n padding: layout.$spacing-03;\n z-index: 99999;\n font-size: layout.$spacing-04;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);\n transition: all 0.2s ease;\n\n &:nth-child(even) {\n border-color: rgba(colors.$green-70, 0.8);\n }\n}\n\n.extensionOverlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: none;\n border: none;\n}\n\n.extensionOverlay:hover {\n background-color: rgba(43, 43, 185, 0.1);\n}\n\n.extensionOverlay:focus .extensionTooltip,\n.extensionOverlay:hover .extensionTooltip {\n visibility: visible;\n opacity: 1;\n}\n\n.extensionTooltip {\n visibility: hidden;\n width: auto;\n background-color: rgb(255, 255, 255, 0.85);\n text-align: center;\n padding: layout.$spacing-05;\n border: 1px solid rgba(43, 43, 185, 0.4);\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.exitButton {\n position: fixed !important;\n top: layout.$spacing-10;\n right: layout.$spacing-05;\n z-index: 999999;\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:""}]),l.locals={slotOverlay:"-esm-implementer-tools__styles__slotOverlay___QGVgS",blueScheme:"-esm-implementer-tools__styles__blueScheme___Wk7+U",slotOverlayHover:"-esm-implementer-tools__styles__slotOverlayHover___crYhy",greenScheme:"-esm-implementer-tools__styles__greenScheme___Ay-Pi",slotName:"-esm-implementer-tools__styles__slotName___bfgAW",extensionOverlay:"-esm-implementer-tools__styles__extensionOverlay___+4bp8",extensionTooltip:"-esm-implementer-tools__styles__extensionTooltip___Iqy2g",exitButton:"-esm-implementer-tools__styles__exitButton___Rp9rH"};let a=l},7099(e,n,t){"use strict";t.r(n),t.d(n,{ExitButton:()=>D,default:()=>I,SlotOverlay:()=>T,getExtensionOverlayTargets:()=>B});var o=t(46925),r=t.n(o),s=t(55530),l=t.n(s),a=t(99737),i=t(18326),c=t(3658),A=t(22065);function m({el:e,children:n}){return e?(0,A.createPortal)(n,e):null}var u=t(97478),p=t.n(u),_=t(27135),g=t.n(_),d=t(61301),b=t.n(d),y=t(49222),C=t.n(y),h=t(6626),f=t.n(h),v=t(88279),x=t.n(v),E=t(99446),$={};$.styleTagTransform=x(),$.setAttributes=C(),$.insert=b().bind(null,"head"),$.domAPI=g(),$.insertStyleElement=f(),p()(E.A,$);let S=E.A&&E.A.locals?E.A.locals:void 0;function N({extensionName:e,slotModuleName:n,slotName:t,domElement:s}){let[l,a]=(0,o.useState)();return(0,o.useEffect)(()=>{if(!s?.parentElement)return;let e=document.createElement("div");return s.parentElement.appendChild(e),a(e),()=>{e.remove(),a(void 0)}},[s]),l?r().createElement(m,{key:`extension-overlay-${n}-${t}-${e}`,el:l},r().createElement(k,{extensionId:e})):null}function k({extensionId:e}){return r().createElement("button",{className:S.extensionOverlay},r().createElement("span",{className:S.extensionTooltip},e))}var O=t(43639);function B(e){return Array.from(e?.values()??[],e=>({extensionName:e.extensionName,slotModuleName:e.slotModuleName,slotName:e.slotName,extensionRendering:e}))}function I(){let{t:e}=(0,a.useTranslation)(),{slots:n,extensions:t}=(0,c.useStore)((0,c.getExtensionInternalStore)()),s=(0,c.useStore)((0,c.getExtensionRenderingsStore)()),{isOpen:l}=(0,c.useStore)(O.bB),i=(0,o.useMemo)(()=>n?Object.entries(n).map(([e,n])=>e?{slotName:e,slotInfo:n,element:document.querySelector(`*[data-extension-slot-name="${e}"][data-extension-slot-module-name="${n.moduleName}"]`)}:null).filter(e=>!!e):[],[n]),A=(0,o.useMemo)(()=>B(s.renderings).map(e=>({...e,element:document.querySelector(`*[data-extension-rendering-id="${CSS.escape(e.extensionRendering.renderingId)}"]`)})),[s]);return r().createElement(r().Fragment,null,r().createElement(D,{t:e}),i.map(({slotName:o,slotInfo:s,element:l},a)=>l&&r().createElement(m,{key:`slot-overlay-${s.moduleName}-${o}`,el:l},r().createElement(T,{extensionCount:((e,o)=>{if(!t||!o)return 0;let r=n?.[e];return r&&Array.isArray(r.attachedIds)?r.attachedIds.length:0})(o,s.moduleName??""),moduleName:s.moduleName??"",slotName:o,t:e,colorScheme:a%2==0?"blue":"green"}))),A.map(({extensionName:e,slotModuleName:n,slotName:t,extensionRendering:o,element:s})=>s&&r().createElement(N,{domElement:s,extensionName:e,key:o.renderingId,slotModuleName:n,slotName:t})))}function T({slotName:e,moduleName:n,extensionCount:t=0,colorScheme:s}){let{slots:a}=(0,c.useStore)((0,c.getExtensionInternalStore)()),[i,A]=(0,o.useState)(!1),m=l()(S.slotOverlay,{[S.blueScheme]:"blue"===s,[S.greenScheme]:"green"===s,[S.slotOverlayHover]:i}),u=l()(S.slotName,{[S.blueScheme]:"blue"===s,[S.greenScheme]:"green"===s});return r().createElement(r().Fragment,null,r().createElement("div",{className:m}),r().createElement("button",{className:u,onClick:t=>{t.preventDefault(),n&&e&&(O.bB.getState().configPathBeingEdited||O.bB.setState({uiSelectedPath:[n,"extensionSlots",e],isOpen:!0}))},onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),title:(()=>{let o=`Slot: ${e}
|
|
2
|
+
Module: ${n}`;if(t>0){let n=a?.[e];n?.attachedIds?.length&&(o+=`
|
|
3
|
+
Extensions (${t}):
|
|
4
|
+
- ${n.attachedIds.join("\n- ")}`)}return o})()},e))}function D({t:e}){let{toggleIsUIEditorEnabled:n}=(0,c.useStoreWithActions)(O.bB,w);return r().createElement(i.Button,{className:S.exitButton,hasIconOnly:!0,iconDescription:e("exitUIEditor","Exit UI Editor"),kind:"danger",onClick:n,renderIcon:e=>r().createElement(c.CloseIcon,{...e,size:16}),size:"sm",tooltipPosition:"left"})}let w={toggleIsUIEditorEnabled:({isUIEditorEnabled:e})=>({isUIEditorEnabled:!e})}},55530(e){!function(){"use strict";var n={}.hasOwnProperty;function t(){for(var e="",r=0;r<arguments.length;r++){var s=arguments[r];s&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return t.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var s in e)n.call(e,s)&&e[s]&&(r=o(r,s));return r}(s)))}return e}function o(e,n){return n?e?e+" "+n:e+n:e}e.exports?(t.default=t,e.exports=t):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return t}):window.classNames=t}()}}]);
|
package/dist/2920.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2920.js","sources":["webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/styles.scss","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/portal.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/styles.scss?6965","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/extension-overlay.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/ui-editor.tsx","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/classnames/index.js"],"names":["Portal","
|
|
1
|
+
{"version":3,"file":"2920.js","sources":["webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/styles.scss","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/portal.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/styles.scss?6965","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/extension-overlay.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/ui-editor/ui-editor.tsx","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/classnames/index.js"],"names":["Portal","el","children","createPortal","ExtensionOverlay","extensionName","slotModuleName","slotName","domElement","overlayDomElement","setOverlayDomElement","useState","useEffect","newOverlayDomElement","document","undefined","Content","extensionId","styles","getExtensionOverlayTargets","renderings","Array","extensionRendering","UiEditor","t","useTranslation","slots","extensions","useStore","getExtensionInternalStore","renderingsState","getExtensionRenderingsStore","areImplementerToolsOpen","implementerToolsStore","slotElements","useMemo","Object","slotInfo","x","Boolean","extensionElements","target","CSS","ExitButton","element","index","SlotOverlay","getExtensionCount","moduleName","slot","extensionCount","colorScheme","isHovering","setIsHovering","overlayClass","classNames","buttonClass","event","getTooltipContent","content","toggleIsUIEditorEnabled","useStoreWithActions","actions","Button","props","CloseIcon","isUIEditorEnabled","arguments","n","define","window"],"mappings":"wNAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,ynEAA0nE,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wCAAwC,gFAAgF,CAAC,MAAQ,EAAE,CAAC,SAAW,4kBAA4kB,eAAiB,CAAC,40DAA40D,05DAA05D,CAAC,WAAa,EAAE,EAAE,EAEnqN,EAAwB,MAAM,CAAG,CAChC,YAAe,sDACf,WAAc,qDACd,iBAAoB,2DACpB,YAAe,sDACf,SAAY,mDACZ,iBAAoB,2DACpB,iBAAoB,2DACpB,WAAc,oDACf,EACA,MAAe,C,oNCfR,SAASA,EAAO,CAAEC,GAAAA,CAAE,CAAEC,SAAAA,CAAQ,CAAE,EACrC,OAAOD,EAAKE,AAAAA,GAAAA,EAAAA,YAAAA,AAAAA,EAAaD,EAAUD,GAAM,IAC3C,C,sICOI,EAAU,CAAC,CAEf,GAAQ,iBAAiB,CAAG,IAC5B,EAAQ,aAAa,CAAG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"}
|
package/dist/3038.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([["3038"],{95877(e,A,n){"use strict";n.d(A,{A:()=>i});var t=n(41109),r=n.n(t),o=n(75248),s=n.n(o)()(r());s.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a{background-color:rgba(0,0,0,0)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv{position:fixed;bottom:0;left:calc(50vw - 1rem)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67{border:none;padding:0;font:inherit;color:inherit;background-color:#fff;width:2rem;height:1.5rem;display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:.125rem;transition:all .3s ease-in-out}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67:hover{transform:translateY(-3px)}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv{--cds-ai-aura-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-background: #474747;--cds-ai-aura-hover-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-start: rgba(69, 137, 255, 0.4);--cds-ai-aura-start: rgba(69, 137, 255, 0.1);--cds-ai-aura-start-sm: rgba(69, 137, 255, 0.16);--cds-ai-border-end: #4589ff;--cds-ai-border-start: rgba(166, 200, 255, 0.36);--cds-ai-border-strong: #78a9ff;--cds-ai-drop-shadow: rgba(0, 0, 0, 0.28);--cds-ai-inner-shadow: rgba(69, 137, 255, 0.16);--cds-ai-overlay: rgba(0, 0, 0, 0.5);--cds-ai-popover-background: #161616;--cds-ai-popover-caret-bottom: #4589ff;--cds-ai-popover-caret-bottom-background: #202d45;--cds-ai-popover-caret-bottom-background-actions: #1e283a;--cds-ai-popover-caret-center: #4870b5;--cds-ai-popover-shadow-outer-01: rgba(0, 0, 0, 0.12);--cds-ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.08);--cds-ai-skeleton-background: rgba(120, 169, 255, 0.5);--cds-ai-skeleton-element-background: rgba(120, 169, 255, 0.3);--cds-background: #262626;--cds-background-active: rgba(141, 141, 141, 0.4);--cds-background-brand: #0f62fe;--cds-background-hover: rgba(141, 141, 141, 0.16);--cds-background-inverse: #f4f4f4;--cds-background-inverse-hover: #e8e8e8;--cds-background-selected: rgba(141, 141, 141, 0.24);--cds-background-selected-hover: rgba(141, 141, 141, 0.32);--cds-border-disabled: rgba(141, 141, 141, 0.5);--cds-border-interactive: #4589ff;--cds-border-inverse: #f4f4f4;--cds-border-strong-01: #8d8d8d;--cds-border-strong-02: #a8a8a8;--cds-border-strong-03: #c6c6c6;--cds-border-subtle-00: #525252;--cds-border-subtle-01: #6f6f6f;--cds-border-subtle-02: #8d8d8d;--cds-border-subtle-03: #8d8d8d;--cds-border-subtle-selected-01: #8d8d8d;--cds-border-subtle-selected-02: #a8a8a8;--cds-border-subtle-selected-03: #a8a8a8;--cds-border-tile-01: #6f6f6f;--cds-border-tile-02: #8d8d8d;--cds-border-tile-03: #a8a8a8;--cds-chat-avatar-agent: #c6c6c6;--cds-chat-avatar-bot: #8d8d8d;--cds-chat-avatar-user: #4589ff;--cds-chat-bubble-agent: #262626;--cds-chat-bubble-border: #525252;--cds-chat-bubble-user: #393939;--cds-chat-button: #78a9ff;--cds-chat-button-active: rgba(141, 141, 141, 0.4);--cds-chat-button-hover: rgba(141, 141, 141, 0.16);--cds-chat-button-selected: rgba(141, 141, 141, 0.24);--cds-chat-button-text-hover: #a6c8ff;--cds-chat-button-text-selected: #c6c6c6;--cds-chat-header-background: #262626;--cds-chat-prompt-background: #161616;--cds-chat-prompt-border-end: rgba(38, 38, 38, 0);--cds-chat-prompt-border-start: #262626;--cds-chat-shell-background: #262626;--cds-field-01: #393939;--cds-field-02: #525252;--cds-field-03: #6f6f6f;--cds-field-hover-01: #474747;--cds-field-hover-02: #636363;--cds-field-hover-03: #5e5e5e;--cds-focus: #ffffff;--cds-focus-inset: #161616;--cds-focus-inverse: #0f62fe;--cds-highlight: #002d9c;--cds-icon-disabled: rgba(244, 244, 244, 0.25);--cds-icon-interactive: #ffffff;--cds-icon-inverse: #161616;--cds-icon-on-color: #ffffff;--cds-icon-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-icon-primary: #f4f4f4;--cds-icon-secondary: #c6c6c6;--cds-interactive: #4589ff;--cds-layer-01: #393939;--cds-layer-02: #525252;--cds-layer-03: #6f6f6f;--cds-layer-accent-01: #525252;--cds-layer-accent-02: #6f6f6f;--cds-layer-accent-03: #8d8d8d;--cds-layer-accent-active-01: #8d8d8d;--cds-layer-accent-active-02: #393939;--cds-layer-accent-active-03: #525252;--cds-layer-accent-hover-01: #636363;--cds-layer-accent-hover-02: #5e5e5e;--cds-layer-accent-hover-03: #7a7a7a;--cds-layer-active-01: #6f6f6f;--cds-layer-active-02: #8d8d8d;--cds-layer-active-03: #393939;--cds-layer-background-01: #262626;--cds-layer-background-02: #393939;--cds-layer-background-03: #525252;--cds-layer-hover-01: #474747;--cds-layer-hover-02: #636363;--cds-layer-hover-03: #5e5e5e;--cds-layer-selected-01: #525252;--cds-layer-selected-02: #6f6f6f;--cds-layer-selected-03: #525252;--cds-layer-selected-disabled: #a8a8a8;--cds-layer-selected-hover-01: #636363;--cds-layer-selected-hover-02: #5e5e5e;--cds-layer-selected-hover-03: #636363;--cds-layer-selected-inverse: #f4f4f4;--cds-link-inverse: #0f62fe;--cds-link-inverse-active: #161616;--cds-link-inverse-hover: #0043ce;--cds-link-inverse-visited: #8a3ffc;--cds-link-primary: #78a9ff;--cds-link-primary-hover: #a6c8ff;--cds-link-secondary: #a6c8ff;--cds-link-visited: #be95ff;--cds-overlay: rgba(0, 0, 0, 0.65);--cds-shadow: rgba(0, 0, 0, 0.8);--cds-skeleton-background: #333333;--cds-skeleton-element: #525252;--cds-support-caution-major: #ff832b;--cds-support-caution-minor: #f1c21b;--cds-support-caution-undefined: #a56eff;--cds-support-error: #ff8389;--cds-support-error-inverse: #da1e28;--cds-support-info: #4589ff;--cds-support-info-inverse: #0043ce;--cds-support-success: #42be65;--cds-support-success-inverse: #24a148;--cds-support-warning: #f1c21b;--cds-support-warning-inverse: #f1c21b;--cds-text-disabled: rgba(244, 244, 244, 0.25);--cds-text-error: #ffb3b8;--cds-text-helper: #c6c6c6;--cds-text-inverse: #161616;--cds-text-on-color: #ffffff;--cds-text-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-text-placeholder: rgba(244, 244, 244, 0.4);--cds-text-primary: #f4f4f4;--cds-text-secondary: #c6c6c6;--cds-toggle-off: #8d8d8d;--cds-spacing-01: 0.125rem;--cds-spacing-02: 0.25rem;--cds-spacing-03: 0.5rem;--cds-spacing-04: 0.75rem;--cds-spacing-05: 1rem;--cds-spacing-06: 1.5rem;--cds-spacing-07: 2rem;--cds-spacing-08: 2.5rem;--cds-spacing-09: 3rem;--cds-spacing-10: 4rem;--cds-spacing-11: 5rem;--cds-spacing-12: 6rem;--cds-spacing-13: 10rem;--cds-fluid-spacing-01: 0;--cds-fluid-spacing-02: 2vw;--cds-fluid-spacing-03: 5vw;--cds-fluid-spacing-04: 10vw;--cds-caption-01-font-size: 0.75rem;--cds-caption-01-font-weight: 400;--cds-caption-01-line-height: 1.33333;--cds-caption-01-letter-spacing: 0.32px;--cds-caption-02-font-size: 0.875rem;--cds-caption-02-font-weight: 400;--cds-caption-02-line-height: 1.28572;--cds-caption-02-letter-spacing: 0.32px;--cds-label-01-font-size: 0.75rem;--cds-label-01-font-weight: 400;--cds-label-01-line-height: 1.33333;--cds-label-01-letter-spacing: 0.32px;--cds-label-02-font-size: 0.875rem;--cds-label-02-font-weight: 400;--cds-label-02-line-height: 1.28572;--cds-label-02-letter-spacing: 0.16px;--cds-helper-text-01-font-size: 0.75rem;--cds-helper-text-01-line-height: 1.33333;--cds-helper-text-01-letter-spacing: 0.32px;--cds-helper-text-02-font-size: 0.875rem;--cds-helper-text-02-font-weight: 400;--cds-helper-text-02-line-height: 1.28572;--cds-helper-text-02-letter-spacing: 0.16px;--cds-body-short-01-font-size: 0.875rem;--cds-body-short-01-font-weight: 400;--cds-body-short-01-line-height: 1.28572;--cds-body-short-01-letter-spacing: 0.16px;--cds-body-short-02-font-size: 1rem;--cds-body-short-02-font-weight: 400;--cds-body-short-02-line-height: 1.375;--cds-body-short-02-letter-spacing: 0;--cds-body-long-01-font-size: 0.875rem;--cds-body-long-01-font-weight: 400;--cds-body-long-01-line-height: 1.42857;--cds-body-long-01-letter-spacing: 0.16px;--cds-body-long-02-font-size: 1rem;--cds-body-long-02-font-weight: 400;--cds-body-long-02-line-height: 1.5;--cds-body-long-02-letter-spacing: 0;--cds-code-01-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-01-font-size: 0.75rem;--cds-code-01-font-weight: 400;--cds-code-01-line-height: 1.33333;--cds-code-01-letter-spacing: 0.32px;--cds-code-02-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-02-font-size: 0.875rem;--cds-code-02-font-weight: 400;--cds-code-02-line-height: 1.42857;--cds-code-02-letter-spacing: 0.32px;--cds-heading-01-font-size: 0.875rem;--cds-heading-01-font-weight: 600;--cds-heading-01-line-height: 1.42857;--cds-heading-01-letter-spacing: 0.16px;--cds-heading-02-font-size: 1rem;--cds-heading-02-font-weight: 600;--cds-heading-02-line-height: 1.5;--cds-heading-02-letter-spacing: 0;--cds-productive-heading-01-font-size: 0.875rem;--cds-productive-heading-01-font-weight: 600;--cds-productive-heading-01-line-height: 1.28572;--cds-productive-heading-01-letter-spacing: 0.16px;--cds-productive-heading-02-font-size: 1rem;--cds-productive-heading-02-font-weight: 600;--cds-productive-heading-02-line-height: 1.375;--cds-productive-heading-02-letter-spacing: 0;--cds-productive-heading-03-font-size: 1.25rem;--cds-productive-heading-03-font-weight: 400;--cds-productive-heading-03-line-height: 1.4;--cds-productive-heading-03-letter-spacing: 0;--cds-productive-heading-04-font-size: 1.75rem;--cds-productive-heading-04-font-weight: 400;--cds-productive-heading-04-line-height: 1.28572;--cds-productive-heading-04-letter-spacing: 0;--cds-productive-heading-05-font-size: 2rem;--cds-productive-heading-05-font-weight: 400;--cds-productive-heading-05-line-height: 1.25;--cds-productive-heading-05-letter-spacing: 0;--cds-productive-heading-06-font-size: 2.625rem;--cds-productive-heading-06-font-weight: 300;--cds-productive-heading-06-line-height: 1.199;--cds-productive-heading-06-letter-spacing: 0;--cds-productive-heading-07-font-size: 3.375rem;--cds-productive-heading-07-font-weight: 300;--cds-productive-heading-07-line-height: 1.19;--cds-productive-heading-07-letter-spacing: 0;--cds-expressive-paragraph-01-font-size: 1.5rem;--cds-expressive-paragraph-01-font-weight: 300;--cds-expressive-paragraph-01-line-height: 1.334;--cds-expressive-paragraph-01-letter-spacing: 0;--cds-expressive-heading-01-font-size: 0.875rem;--cds-expressive-heading-01-font-weight: 600;--cds-expressive-heading-01-line-height: 1.42857;--cds-expressive-heading-01-letter-spacing: 0.16px;--cds-expressive-heading-02-font-size: 1rem;--cds-expressive-heading-02-font-weight: 600;--cds-expressive-heading-02-line-height: 1.5;--cds-expressive-heading-02-letter-spacing: 0;--cds-expressive-heading-03-font-size: 1.25rem;--cds-expressive-heading-03-font-weight: 400;--cds-expressive-heading-03-line-height: 1.4;--cds-expressive-heading-03-letter-spacing: 0;--cds-expressive-heading-04-font-size: 1.75rem;--cds-expressive-heading-04-font-weight: 400;--cds-expressive-heading-04-line-height: 1.28572;--cds-expressive-heading-04-letter-spacing: 0;--cds-expressive-heading-05-font-size: 2rem;--cds-expressive-heading-05-font-weight: 400;--cds-expressive-heading-05-line-height: 1.25;--cds-expressive-heading-05-letter-spacing: 0;--cds-expressive-heading-06-font-size: 2rem;--cds-expressive-heading-06-font-weight: 600;--cds-expressive-heading-06-line-height: 1.25;--cds-expressive-heading-06-letter-spacing: 0;--cds-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-01-font-size: 1.25rem;--cds-quotation-01-font-weight: 400;--cds-quotation-01-line-height: 1.3;--cds-quotation-01-letter-spacing: 0;--cds-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-02-font-size: 2rem;--cds-quotation-02-font-weight: 300;--cds-quotation-02-line-height: 1.25;--cds-quotation-02-letter-spacing: 0;--cds-display-01-font-size: 2.625rem;--cds-display-01-font-weight: 300;--cds-display-01-line-height: 1.19;--cds-display-01-letter-spacing: 0;--cds-display-02-font-size: 2.625rem;--cds-display-02-font-weight: 600;--cds-display-02-line-height: 1.19;--cds-display-02-letter-spacing: 0;--cds-display-03-font-size: 2.625rem;--cds-display-03-font-weight: 300;--cds-display-03-line-height: 1.19;--cds-display-03-letter-spacing: 0;--cds-display-04-font-size: 2.625rem;--cds-display-04-font-weight: 300;--cds-display-04-line-height: 1.19;--cds-display-04-letter-spacing: 0;--cds-legal-01-font-size: 0.75rem;--cds-legal-01-font-weight: 400;--cds-legal-01-line-height: 1.33333;--cds-legal-01-letter-spacing: 0.32px;--cds-legal-02-font-size: 0.875rem;--cds-legal-02-font-weight: 400;--cds-legal-02-line-height: 1.28572;--cds-legal-02-letter-spacing: 0.16px;--cds-body-compact-01-font-size: 0.875rem;--cds-body-compact-01-font-weight: 400;--cds-body-compact-01-line-height: 1.28572;--cds-body-compact-01-letter-spacing: 0.16px;--cds-body-compact-02-font-size: 1rem;--cds-body-compact-02-font-weight: 400;--cds-body-compact-02-line-height: 1.375;--cds-body-compact-02-letter-spacing: 0;--cds-heading-compact-01-font-size: 0.875rem;--cds-heading-compact-01-font-weight: 600;--cds-heading-compact-01-line-height: 1.28572;--cds-heading-compact-01-letter-spacing: 0.16px;--cds-heading-compact-02-font-size: 1rem;--cds-heading-compact-02-font-weight: 600;--cds-heading-compact-02-line-height: 1.375;--cds-heading-compact-02-letter-spacing: 0;--cds-body-01-font-size: 0.875rem;--cds-body-01-font-weight: 400;--cds-body-01-line-height: 1.42857;--cds-body-01-letter-spacing: 0.16px;--cds-body-02-font-size: 1rem;--cds-body-02-font-weight: 400;--cds-body-02-line-height: 1.5;--cds-body-02-letter-spacing: 0;--cds-heading-03-font-size: 1.25rem;--cds-heading-03-font-weight: 400;--cds-heading-03-line-height: 1.4;--cds-heading-03-letter-spacing: 0;--cds-heading-04-font-size: 1.75rem;--cds-heading-04-font-weight: 400;--cds-heading-04-line-height: 1.28572;--cds-heading-04-letter-spacing: 0;--cds-heading-05-font-size: 2rem;--cds-heading-05-font-weight: 400;--cds-heading-05-line-height: 1.25;--cds-heading-05-letter-spacing: 0;--cds-heading-06-font-size: 2.625rem;--cds-heading-06-font-weight: 300;--cds-heading-06-line-height: 1.199;--cds-heading-06-letter-spacing: 0;--cds-heading-07-font-size: 3.375rem;--cds-heading-07-font-weight: 300;--cds-heading-07-line-height: 1.19;--cds-heading-07-letter-spacing: 0;--cds-fluid-heading-03-font-size: 1.25rem;--cds-fluid-heading-03-font-weight: 400;--cds-fluid-heading-03-line-height: 1.4;--cds-fluid-heading-03-letter-spacing: 0;--cds-fluid-heading-04-font-size: 1.75rem;--cds-fluid-heading-04-font-weight: 400;--cds-fluid-heading-04-line-height: 1.28572;--cds-fluid-heading-04-letter-spacing: 0;--cds-fluid-heading-05-font-size: 2rem;--cds-fluid-heading-05-font-weight: 400;--cds-fluid-heading-05-line-height: 1.25;--cds-fluid-heading-05-letter-spacing: 0;--cds-fluid-heading-06-font-size: 2rem;--cds-fluid-heading-06-font-weight: 600;--cds-fluid-heading-06-line-height: 1.25;--cds-fluid-heading-06-letter-spacing: 0;--cds-fluid-paragraph-01-font-size: 1.5rem;--cds-fluid-paragraph-01-font-weight: 300;--cds-fluid-paragraph-01-line-height: 1.334;--cds-fluid-paragraph-01-letter-spacing: 0;--cds-fluid-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-01-font-size: 1.25rem;--cds-fluid-quotation-01-font-weight: 400;--cds-fluid-quotation-01-line-height: 1.3;--cds-fluid-quotation-01-letter-spacing: 0;--cds-fluid-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-02-font-size: 2rem;--cds-fluid-quotation-02-font-weight: 300;--cds-fluid-quotation-02-line-height: 1.25;--cds-fluid-quotation-02-letter-spacing: 0;--cds-fluid-display-01-font-size: 2.625rem;--cds-fluid-display-01-font-weight: 300;--cds-fluid-display-01-line-height: 1.19;--cds-fluid-display-01-letter-spacing: 0;--cds-fluid-display-02-font-size: 2.625rem;--cds-fluid-display-02-font-weight: 600;--cds-fluid-display-02-line-height: 1.19;--cds-fluid-display-02-letter-spacing: 0;--cds-fluid-display-03-font-size: 2.625rem;--cds-fluid-display-03-font-weight: 300;--cds-fluid-display-03-line-height: 1.19;--cds-fluid-display-03-letter-spacing: 0;--cds-fluid-display-04-font-size: 2.625rem;--cds-fluid-display-04-font-weight: 300;--cds-fluid-display-04-line-height: 1.19;--cds-fluid-display-04-letter-spacing: 0;--cds-layer:var(--cds-layer-01, #f4f4f4);--cds-layer-active:var(--cds-layer-active-01, #c6c6c6);--cds-layer-background:var(--cds-layer-background-01, #ffffff);--cds-layer-hover:var(--cds-layer-hover-01, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01, #a8a8a8);--cds-field:var(--cds-field-01, #f4f4f4);--cds-field-hover:var(--cds-field-hover-01, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01, #c6c6c6);--cds-border-strong:var(--cds-border-strong-01, #8d8d8d);--cds-border-tile:var(--cds-border-tile-01, #c6c6c6)}@media screen and (-ms-high-contrast: active),(forced-colors: active){.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv{--cds-icon-primary:ButtonText;--cds-icon-secondary:ButtonText;--cds-icon-interactive:ButtonText;--cds-icon-disabled:GrayText;--cds-icon-on-color-disabled:GrayText;--cds-icon-inverse:SelectedItemText;--cds-icon-on-color:SelectedItemText;--cds-button-disabled:GrayText;--cds-interactive:ButtonText;--cds-link-primary:LinkText;--cds-link-primary-hover:LinkText;--cds-link-secondary:LinkText;--cds-link-inverse:SelectedItemText;--cds-link-inverse-hover:SelectedItemText;--cds-link-inverse-visited:SelectedItemText;--cds-link-visited:VisitedText;--cds-background-selected:SelectedItem;--cds-background-selected-hover:SelectedItem;--cds-background-inverse:SelectedItem;--cds-layer-selected-inverse:SelectedItem}}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv .cds--content-switcher-btn.cds--content-switcher--selected{background-color:#f4f4f4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/implementer-tools.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/themes/scss/_theme.scss","webpack://./../../../node_modules/@carbon/styles/scss/utilities/_custom-property.scss","webpack://./../../../node_modules/@carbon/styles/scss/_theme.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,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#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/react/scss/themes';\n@use '@carbon/react/scss/theme';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.toolStyles {\n background-color: transparent;\n}\n\n.chevronImplementerToolsButton {\n position: fixed;\n bottom: 0;\n left: calc(50vw - layout.$spacing-07 / 2);\n\n .implementerToolsButton {\n border: none;\n padding: 0;\n font: inherit;\n color: inherit;\n\n background-color: $ui-02;\n width: layout.$spacing-07;\n height: layout.$spacing-06;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: layout.$spacing-01;\n transition: all 0.3s ease-in-out;\n }\n\n .implementerToolsButton:hover {\n transform: translateY(-3px);\n }\n}\n\n.darkTheme {\n @include theme.theme(themes.$g90);\n\n :global(.cds--content-switcher-btn.cds--content-switcher--selected) {\n background-color: $ui-01;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@use 'sass:map';\n@use 'sass:meta';\n@use 'config';\n@use 'themes';\n\n/// Specify the fallback theme, used as a catch-all for tokens that you may not\n/// have defined in your custom theme\n$fallback: themes.$white !default;\n\n/// Specify the current theme. This can override existing tokens, or add new\n/// tokens. If you are adding new tokens, it's recommended that you set the\n/// fallback for your current theme\n$theme: () !default;\n$theme: map.merge($fallback, $theme);\n\n/// Local component tokens that can be updated with `@mixin add-component-tokens`.\n$-component-tokens: ();\n\n/// Include the CSS Custom Properties for the active theme or a given theme on\n/// a selector\n@mixin theme($active-theme: $theme, $component-tokens...) {\n @each $token, $value in $active-theme {\n @include -custom-property($token, $value);\n }\n\n @each $group in $component-tokens {\n @each $token, $value in $group {\n @include -custom-property($token, $value);\n }\n }\n\n @each $token, $value in $-component-tokens {\n @include -custom-property(\n $token,\n -resolve-token-value($active-theme, $value)\n );\n }\n}\n\n/// Retrieve the value for the given $token from the current $theme\n/// @param {String} $token\n@function get($token) {\n @if map.has-key($theme, $token) {\n @return map.get($theme, $token);\n }\n @error \"Unable to find token: #{$token} in current $theme\";\n}\n\n/// Compare two themes to see if the second theme is a superset of the first\n/// theme. In other words, this function will return true if every token in the\n/// first theme is available in the second theme and has the same value. The\n/// second theme is allowed to have additional values and it will still match.\n/// @param {Map} $a\n/// @param {Map} $b\n/// @returns {Boolean}\n@function matches($a, $b) {\n @each $key, $value in $a {\n @if map.has-key($b, $key) == false {\n @return false;\n }\n\n @if map.get($b, $key) != $value {\n @return false;\n }\n }\n\n @return true;\n}\n\n/// Add component tokens which will be included any time the theme mixin is\n/// called\n@mixin add-component-tokens($token-map) {\n $-component-tokens: map.merge($-component-tokens, $token-map) !global;\n}\n\n/// Determine the value from a component token that matches the given theme.\n/// This is helpful when a component token may change depending on what theme the\n/// component is being rendered in.\n@function -resolve-token-value($active-theme: $theme, $token-value) {\n @if meta.type-of($token-value) == map and map.has-key($token-value, values) {\n $fallback: map.get($token-value, fallback);\n $theme-values: map.get($token-value, values);\n\n @each $theme-value in $theme-values {\n $theme-to-match: map.get($theme-value, theme);\n $value: map.get($theme-value, value);\n\n @if matches($theme-to-match, $active-theme) {\n @return $value;\n }\n }\n\n @return $fallback;\n }\n\n @return $token-value;\n}\n\n/// @access private\n/// @group @carbon/themes\n@mixin -custom-property($name, $value) {\n @if meta.type-of($value) == map {\n @each $property, $property-value in $value {\n // Only support one-level of depth for values that are maps. This is to\n // avoid bringing properties like `breakpoints` on type tokens\n @if type-of($property-value) != map {\n @include -custom-property('#{$name}-#{$property}', $property-value);\n }\n }\n } @else {\n --#{config.$prefix}-#{$name}: #{$value};\n }\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@use '../config';\n\n// Some CSS Custom Property terminology\n// @see https://www.w3.org/TR/css-variables-1/\n//\n// <custom-property-name>:\n// Any valid identifer that starts with two dashes (--)\n//\n// A declaration:\n// CSS Custom Properties can be used as declarations in a CSS selector. They\n// take on the form of:\n//\n// <custom-property-name>: <declaration-value>;\n//\n// The var() notation:\n// You can use a CSS Custom Property as a substitute for a value of another\n// property using the var() function. This function has the following syntax:\n//\n// var( <custom-property-name> [, <declarative-value> ]? )\n//\n// This function takes in an optional fallback value if the CSS Custom\n// Property has not been previously defined\n\n/// Get the <custom-property-name> for a given string\n/// @param {String} $name\n/// @returns {String}\n@function get-name($name) {\n @return --#{config.$prefix}-#{$name};\n}\n\n/// Get the var() representation for a given token\n/// @param {String} $name\n/// @param {Any} $fallback\n/// @returns var()\n@function get-var($name, $fallback: false) {\n @if $fallback {\n @return var(--#{config.$prefix}-#{$name}, #{$fallback});\n }\n @return var(--#{config.$prefix}-#{$name});\n}\n\n/// Emit a declaration which sets the value of a CSS Custom Property using the\n/// $name as the <custom-property-name> and the $value as the\n/// <declaration-value>\n/// @param {String} $name\n/// @param {any} $value\n@mixin declaration($name, $value) {\n #{get-name($name)}: #{$value};\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@forward './theme/theme' hide theme;\n@use './theme/theme';\n@use './layer/layer-tokens';\n@use './utilities/custom-property';\n\n/// Include the CSS Custom Properties for the active theme or a given theme on\n/// a selector\n@mixin theme($args...) {\n @include theme.theme($args...);\n\n // If the system is in high-contrast mode, use the system defined colors. This mostly happens automatically, but\n // we need to do it manually for icons and selected backgrounds. Importantly, the custom properties we set here\n // need to override the CSS custom properties set above. See:\n // - https://github.com/carbon-design-system/carbon/issues/19015\n // - https://developer.mozilla.org/en-US/docs/Web/CSS/system-color.\n // - https://carbondesignsystem.com/elements/color/tokens/#icon\n @media screen and (-ms-high-contrast: active), (forced-colors: active) {\n // Icon colors specified by \"fill\".\n @include custom-property.declaration('icon-primary', ButtonText);\n @include custom-property.declaration('icon-secondary', ButtonText);\n @include custom-property.declaration('icon-interactive', ButtonText);\n @include custom-property.declaration('icon-disabled', GrayText);\n @include custom-property.declaration('icon-on-color-disabled', GrayText);\n\n // Since icon-inverse and icon-on-color are generally used to indicated selected icons, use SelectedItemText.\n @include custom-property.declaration('icon-inverse', SelectedItemText);\n @include custom-property.declaration('icon-on-color', SelectedItemText);\n\n // Some components currently set these values for fill, although unclear if that's valid.\n @include custom-property.declaration('button-disabled', GrayText);\n @include custom-property.declaration('interactive', ButtonText);\n @include custom-property.declaration('link-primary', LinkText);\n @include custom-property.declaration('link-primary-hover', LinkText);\n @include custom-property.declaration('link-secondary', LinkText);\n @include custom-property.declaration('link-inverse', SelectedItemText);\n @include custom-property.declaration(\n 'link-inverse-hover',\n SelectedItemText\n );\n @include custom-property.declaration(\n 'link-inverse-visited',\n SelectedItemText\n );\n @include custom-property.declaration('link-visited', VisitedText);\n\n // Force a background-color for selected buttons etc., otherwise the user won't know they are selected.\n @include custom-property.declaration('background-selected', SelectedItem);\n @include custom-property.declaration(\n 'background-selected-hover',\n SelectedItem\n );\n @include custom-property.declaration('background-inverse', SelectedItem);\n @include custom-property.declaration(\n 'layer-selected-inverse',\n SelectedItem\n );\n }\n\n // Note: we need to re-emit the contextual layer tokens as part of the theme\n // mixin. Otherwise, the layer tokens are defined at the :root level and will\n // not pick up the theme-specific, or zone-specific, value from the first\n // layer.\n //\n // For example, in this situation:\n //\n // ```\n // :root {\n // --layer-one: #000000;\n // --layer: var(--layer-one);\n // }\n // ```\n //\n // This will always evaluate to the value of `--layer-one` at the `:root`\n // selector, even if `--layer-one` is redefined layer on in the cascade.\n //\n // ```\n // .zone {\n // --layer-one: #ffffff;\n // }\n // ```\n //\n // Even though you would expect `--layer` to be redefined, it will keep the\n // value defined at the `:root` level.\n //\n // @see https://github.com/carbon-design-system/carbon/issues/11138\n @include layer-tokens.emit-layer-tokens(1);\n}\n"],sourceRoot:""}]),s.locals={toolStyles:"-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a",chevronImplementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv",implementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67",darkTheme:"-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv"};let i=s},84767(e,A,n){var t={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./sq.json":["88371","4928"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./zh_TW.json":["10439","556"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./cs.json":["86589","7182"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function r(e){if(!n.o(t,e))return Promise.resolve().then(function(){var A=Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A});var A=t[e],r=A[0];return n.e(A[1]).then(function(){return n(r)})}r.keys=()=>Object.keys(t),r.id=84767,e.exports=r},95917(e,A,n){"use strict";n.r(A),n.d(A,{implementerTools:()=>Z,globalImplementerTools:()=>ee,ConfigEditButton:()=>Y,implementerToolsButton:()=>eA,importTranslation:()=>Q});var t,r=n(43004),o=n(46925),s=n.n(o),i=n(99737),a=n(43639),c=n(71917);let l=function(e,A,n,t){for(var r=e.length,o=n+(t?1:-1);t?o--:++o<r;)if(A(e[o],o,e))return o;return -1},d=function(e){return e!=e},u=function(e,A,n){for(var t=n-1,r=e.length;++t<r;)if(e[t]===A)return t;return -1},p=function(e,A){return!!(null==e?0:e.length)&&(A==A?u(e,A,0):l(e,d,0))>-1},C=function(e,A,n){for(var t=-1,r=null==e?0:e.length;++t<r;)if(n(A,e[t]))return!0;return!1};var m=n(77184),h=n(16105),f=n(95199);let g=function(e,A,n,t){var r=-1,o=p,s=!0,i=e.length,a=[],l=A.length;if(!i)return a;n&&(A=(0,m.A)(A,(0,h.A)(n))),t?(o=C,s=!1):A.length>=200&&(o=f.A,s=!1,A=new c.A(A));e:for(;++r<i;){var d=e[r],u=null==n?d:n(d);if(d=t||0!==d?d:0,s&&u==u){for(var g=l;g--;)if(A[g]===u)continue e;a.push(d)}else o(A,u,t)||a.push(d)}return a};var y=n(15076),b=n(89698),v=n(31937),k=(0,b.A)(function(e,A){return(0,v.A)(e)?g(e,(0,y.A)(A,1,v.A,!0)):[]});function w(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=Array(A);n<A;n++)t[n]=e[n];return t}function $(e,A,n,t,r,o,s){try{var i=e[o](s),a=i.value}catch(e){n(e);return}i.done?A(a):Promise.resolve(a).then(t,r)}function B(e){return function(){var A=this,n=arguments;return new Promise(function(t,r){var o=e.apply(A,n);function s(e){$(o,t,r,s,i,"next",e)}function i(e){$(o,t,r,s,i,"throw",e)}s(void 0)})}}function x(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||S(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,A){if(e){if("string"==typeof e)return w(e,A);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,A)}}function T(e,A){var n,t,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),i=Object.defineProperty;return i(s,"next",{value:a(0)}),i(s,"throw",{value:a(1)}),i(s,"return",{value:a(2)}),"function"==typeof Symbol&&i(s,Symbol.iterator,{value:function(){return this}}),s;function a(i){return function(a){var c=[i,a];if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(o=0)),o;)try{if(n=1,t&&(r=2&c[0]?t.return:c[0]?t.throw||((r=t.return)&&r.call(t),0):t.next)&&!(r=r.call(t,c[1])).done)return r;switch(t=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,t=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=(r=o.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=A.call(e,o)}catch(e){c=[6,e],t=0}finally{n=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function _(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=Array(A);n<A;n++)t[n]=e[n];return t}var I=n(97478),O=n.n(I),j=n(27135),E=n.n(j),z=n(61301),D=n.n(z),q=n(49222),P=n.n(q),N=n(6626),M=n.n(N),U=n(88279),F=n.n(U),G=n(95877),L={};L.styleTagTransform=F(),L.setAttributes=P(),L.insert=D().bind(null,"head"),L.domAPI=E(),L.insertStyleElement=M(),O()(G.A,L);let R=G.A&&G.A.locals?G.A.locals:void 0;function J(e,A){(null==A||A>e.length)&&(A=e.length);for(var n=0,t=Array(A);n<A;n++)t[n]=e[n];return t}var H=s().lazy(function(){return Promise.all([n.e("7487"),n.e("9270"),n.e("6923"),n.e("7143"),n.e("8088")]).then(n.bind(n,84955))}),K=s().lazy(function(){return Promise.all([n.e("4234"),n.e("7143"),n.e("2920")]).then(n.bind(n,7099))});function V(){var e,A,n,c,l,d=(0,o.useMemo)(function(){var e;return(null!=(e=window.installedModules)?e:[]).filter(function(e){return!!e&&!!e[1]}).map(function(e){var A,n;return A=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.forEach(function(A){var t;t=n[A],A in e?Object.defineProperty(e,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[A]=t})}return e}({},e[1]),n=n={name:e[0]},Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(n)):(function(e){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);A.push.apply(A,n)}return A})(Object(n)).forEach(function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(n,e))}),A})},[]),u=(n=(A=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var A,n,t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r=[],o=!0,s=!1;try{for(t=t.call(e);!(o=(A=t.next()).done)&&(r.push(A.value),2!==r.length);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==t.return||t.return()}finally{if(s)throw n}}return r}}(e)||function(e){if(e){if("string"==typeof e)return _(e,2);var A=Object.prototype.toString.call(e).slice(8,-1);if("Object"===A&&e.constructor&&(A=e.constructor.name),"Map"===A||"Set"===A)return Array.from(A);if("Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return _(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],c=A[1],(0,o.useEffect)(function(){B(function(){var e,A,n;return T(this,function(o){switch(o.label){case 0:if(t)return[3,2];return A=(null!=(e=window.installedModules)?e:[]).filter(function(e){var A,n;return!!((null==(A=e[1])?void 0:A.backendDependencies)||(null==(n=e[1])?void 0:n.optionalBackendDependencies))}).map(function(e){var A;return{backendDependencies:e[1].backendDependencies,optionalBackendDependencies:Object.fromEntries(Object.entries(null!=(A=e[1].optionalBackendDependencies)?A:{}).map(function(e){var A=function(e){if(Array.isArray(e))return e}(e)||function(e){var A,n,t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r=[],o=!0,s=!1;try{for(t=t.call(e);!(o=(A=t.next()).done)&&(r.push(A.value),2!==r.length);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==t.return||t.return()}finally{if(s)throw n}}return r}}(e)||S(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=A[0],t=A[1];return"string"==typeof t||void 0===t?[n,t]:[n,t.version]})),moduleName:e[0]}}),[4,B(function(){return T(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,B(function(){var e,A,n,t,o,s,i,a,c,l;return T(this,function(d){switch(d.label){case 0:e=[],A="".concat(r.restBaseUrl,"/module?v=custom:(uuid,version)"),n=0,t=function(e){return e?/^https?:\/\//i.test(e)||e.startsWith("/")?e:"".concat(r.restBaseUrl,"/").concat(e.replace(/^\/?/,"")):null},d.label=1;case 1:if(!(A&&n<50))return[3,6];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,(0,r.openmrsFetch)(A,{method:"GET"})];case 3:return a=Array.isArray(null==(i=d.sent().data)?void 0:i.results)?i.results:[],(o=e).push.apply(o,x(a)),c=(Array.isArray(null==i?void 0:i.links)?i.links:[]).find(function(e){return"next"===(e.rel||"").toLowerCase()}),A=t(null!=(s=null==c?void 0:c.uri)?s:null),n+=1,[3,5];case 4:var u;throw l=d.sent(),console.error("Failed to fetch backend modules on request ".concat(n+1," (URL: ").concat(A,")"),l),Error("Failed to fetch backend modules: ".concat((null!=(u=Error)&&"u">typeof Symbol&&u[Symbol.hasInstance]?!!u[Symbol.hasInstance](l):l instanceof u)?l.message:"Unknown error"));case 5:return[3,1];case 6:return A&&n>=50&&console.warn("Reached maximum page limit (".concat(50,") while fetching backend modules. There may be more data available at: ").concat(A)),[2,e]}})})()];case 1:return[2,e.sent()];case 2:return console.error(e.sent()),[3,3];case 3:return[2,[]]}})})()];case 1:n=o.sent(),t=A.map(function(e){var A,t,o,s,i;return A=[],s=e.backendDependencies,i=n,t=s?k(Object.keys(s),i.map(function(e){return e.uuid})).map(function(e){return{uuid:e,version:s[e]}}):[],o=function(e,A,n){if(!e)return[];var t=function(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.forEach(function(A){var t;t=n[A],A in e?Object.defineProperty(e,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[A]=t})}return e}({},A,e),r=Object.keys(t).map(function(e){return{uuid:e,version:t[e]}}),o=new Set(n.map(function(e){return e.uuid}));return r.filter(function(e){return o.has(e.uuid)})}(e.backendDependencies,e.optionalBackendDependencies,n),A.push.apply(A,x(t.map(function(e){return{name:e.uuid,requiredVersion:e.version,type:"missing"}})).concat(x(o.map(function(e){var A,t,o,s,i,a,c,l=e.version,d=(A=e,t=n,i=A.uuid,null!=(o=null==(s=t.find(function(e){return e.uuid===i}))?void 0:s.version)?o:"");return{name:e.uuid,requiredVersion:l,installedVersion:d,type:(a=l,c=d,(0,r.isVersionSatisfied)(a,c)?"okay":"version-mismatch")}})))),{name:e.moduleName,dependencies:A}}),o.label=2;case 2:return[2,t]}})})().then(c)},[]),n),p=function(e){if(Array.isArray(e))return e}(l=(0,o.useState)(!1))||function(e){var A,n,t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r=[],o=!0,s=!1;try{for(t=t.call(e);!(o=(A=t.next()).done)&&(r.push(A.value),2!==r.length);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==t.return||t.return()}finally{if(s)throw n}}return r}}(l)||function(e){if(e){if("string"==typeof e)return J(e,2);var A=Object.prototype.toString.call(e).slice(8,-1);if("Object"===A&&e.constructor&&(A=e.constructor.name),"Map"===A||"Set"===A)return Array.from(A);if("Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return J(e,2)}}(l)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),C=p[0],m=p[1],h=(0,i.useTranslation)().t;(0,o.useEffect)(function(){m(function(e){return e||u.some(function(e){return e.dependencies.some(function(e){return"okay"!==e.type})})})},[u]),(0,o.useEffect)(function(){C&&(0,r.showToast)({critical:!1,kind:"error",description:h("checkImplementerToolsMessage","Check the Backend Modules tab in the Implementer Tools for more details"),title:h("modulesWithMissingDependenciesWarning","Some modules have unresolved backend dependencies"),actionButtonLabel:h("viewModules","View modules"),onActionButtonClick:a.s5})},[h,C]);var f=(0,r.useStore)(a.bB),g=f.isOpen,y=f.isUIEditorEnabled,b=f.openTabIndex;return s().createElement("div",{className:R.darkTheme},g?s().createElement(H,{close:a.xq,frontendModules:d,backendDependencies:u,visibleTabIndex:b}):null,y?s().createElement(K,null):null)}var W=n(18326);function Y(e){var A=e.configPath,n=(0,i.useTranslation)().t;return s().createElement("button",{onClick:function(){a.bB.setState({configPathBeingEdited:A})}},n("edit","Edit"))}var Q=n(84767),X={featureName:"Implementer Tools",moduleName:"@openmrs/esm-implementer-tools-app"},Z=(0,r.getSyncLifecycle)(function(){return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement(V,null))},X),ee=(0,r.getSyncLifecycle)(function(){var e=(0,r.useStore)(a.bB).isOpen,A=(0,i.useTranslation)().t;return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement("div",{className:R.chevronImplementerToolsButton,"data-testid":"globalImplementerToolsButton"},s().createElement("button",{type:"button",onClick:a.xq,"aria-label":A("toggleImplementerTools","Toggle Implementer Tools"),className:R.implementerToolsButton},e?s().createElement(r.ChevronDownIcon,{size:16}):s().createElement(r.ChevronUpIcon,{size:16}))))},X),eA=(0,r.getSyncLifecycle)(function(){var e=(0,i.useTranslation)().t,A=(0,r.useStore)(a.bB).isOpen;return s().createElement(r.UserHasAccess,{privilege:"O3 Implementer Tools"},s().createElement(W.HeaderGlobalAction,{"aria-label":e("implementerTools","Implementer Tools"),"aria-labelledby":"Implementer Tools",className:R.toolStyles,onClick:a.xq},A?s().createElement(r.CloseIcon,{size:20}):s().createElement(r.ToolsIcon,{size:20})))},X)},43639(e,A,n){"use strict";function t(e){for(var A=1;A<arguments.length;A++){var n=null!=arguments[A]?arguments[A]:{},t=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.forEach(function(A){var t;t=n[A],A in e?Object.defineProperty(e,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[A]=t})}return e}function r(e,A){return A=null!=A?A:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(A)):(function(e){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);A.push.apply(A,n)}return A})(Object(A)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(A,n))}),e}n.d(A,{bB:()=>o,s5:()=>i,xq:()=>s});var o=(0,n(43004).createGlobalStore)("implementer-tools",{activeItemDescription:null,configPathBeingEdited:null,isOpen:u(),hasAlert:!1,openTabIndex:0,isConfigToolbarOpen:p(),isUIEditorEnabled:C(),isJsonModeEnabled:m(),uiSelectedPath:null}),s=function(){return o.setState(function(e){return r(t({},e),{isOpen:!e.isOpen,openTabIndex:0})})},i=function(){return o.setState(function(e){return r(t({},e),{isOpen:!0,openTabIndex:2})})},a=u(),c=p(),l=C(),d=m();function u(){var e;return null!=(e=JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsAreOpen")||"false"))&&e}function p(){var e;return null==(e=JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsConfigOpen")||"true"))||e}function C(){var e;return null!=(e=JSON.parse(localStorage.getItem("openmrs:isUIEditorEnabled")||"false"))&&e}function m(){var e;return null!=(e=JSON.parse(localStorage.getItem("openmrs:getIsJsonModeEnabled")||"false"))&&e}o.subscribe(function(e){var A,n,t,r;e.isOpen!=a&&(A=e.isOpen,localStorage.setItem("openmrs:openmrsImplementerToolsAreOpen",JSON.stringify(A)),a=e.isOpen),e.isUIEditorEnabled!=l&&(n=e.isUIEditorEnabled,localStorage.setItem("openmrs:isUIEditorEnabled",JSON.stringify(n)),l=e.isUIEditorEnabled),e.isConfigToolbarOpen!=c&&(t=e.isConfigToolbarOpen,localStorage.setItem("openmrs:openmrsImplementerToolsConfigOpen",JSON.stringify(t)),c=e.isConfigToolbarOpen),e.isJsonModeEnabled!=d&&(r=e.isJsonModeEnabled,localStorage.setItem("openmrs:getIsJsonModeEnabled",JSON.stringify(r)),d=e.isJsonModeEnabled)})}}]);
|
|
1
|
+
(globalThis.webpackChunk_openmrs_esm_implementer_tools_app=globalThis.webpackChunk_openmrs_esm_implementer_tools_app||[]).push([["3038"],{95877(e,A,n){"use strict";n.d(A,{A:()=>r});var t=n(41109),s=n.n(t),o=n(75248),i=n.n(o)()(s());i.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-implementer-tools__implementer-tools-styles__toolStyles___g9u4a{background-color:rgba(0,0,0,0)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv{position:fixed;bottom:0;left:calc(50vw - 1rem)}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67{border:none;padding:0;font:inherit;color:inherit;background-color:#fff;width:2rem;height:1.5rem;display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:.125rem;transition:all .3s ease-in-out}.-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv .-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67:hover{transform:translateY(-3px)}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv{--cds-ai-aura-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-background: #474747;--cds-ai-aura-hover-end: rgba(0, 0, 0, 0);--cds-ai-aura-hover-start: rgba(69, 137, 255, 0.4);--cds-ai-aura-start: rgba(69, 137, 255, 0.1);--cds-ai-aura-start-sm: rgba(69, 137, 255, 0.16);--cds-ai-border-end: #4589ff;--cds-ai-border-start: rgba(166, 200, 255, 0.36);--cds-ai-border-strong: #78a9ff;--cds-ai-drop-shadow: rgba(0, 0, 0, 0.28);--cds-ai-inner-shadow: rgba(69, 137, 255, 0.16);--cds-ai-overlay: rgba(0, 0, 0, 0.5);--cds-ai-popover-background: #161616;--cds-ai-popover-caret-bottom: #4589ff;--cds-ai-popover-caret-bottom-background: #202d45;--cds-ai-popover-caret-bottom-background-actions: #1e283a;--cds-ai-popover-caret-center: #4870b5;--cds-ai-popover-shadow-outer-01: rgba(0, 0, 0, 0.12);--cds-ai-popover-shadow-outer-02: rgba(0, 0, 0, 0.08);--cds-ai-skeleton-background: rgba(120, 169, 255, 0.5);--cds-ai-skeleton-element-background: rgba(120, 169, 255, 0.3);--cds-background: #262626;--cds-background-active: rgba(141, 141, 141, 0.4);--cds-background-brand: #0f62fe;--cds-background-hover: rgba(141, 141, 141, 0.16);--cds-background-inverse: #f4f4f4;--cds-background-inverse-hover: #e8e8e8;--cds-background-selected: rgba(141, 141, 141, 0.24);--cds-background-selected-hover: rgba(141, 141, 141, 0.32);--cds-border-disabled: rgba(141, 141, 141, 0.5);--cds-border-interactive: #4589ff;--cds-border-inverse: #f4f4f4;--cds-border-strong-01: #8d8d8d;--cds-border-strong-02: #a8a8a8;--cds-border-strong-03: #c6c6c6;--cds-border-subtle-00: #525252;--cds-border-subtle-01: #6f6f6f;--cds-border-subtle-02: #8d8d8d;--cds-border-subtle-03: #8d8d8d;--cds-border-subtle-selected-01: #8d8d8d;--cds-border-subtle-selected-02: #a8a8a8;--cds-border-subtle-selected-03: #a8a8a8;--cds-border-tile-01: #6f6f6f;--cds-border-tile-02: #8d8d8d;--cds-border-tile-03: #a8a8a8;--cds-chat-avatar-agent: #c6c6c6;--cds-chat-avatar-bot: #8d8d8d;--cds-chat-avatar-user: #4589ff;--cds-chat-bubble-agent: #262626;--cds-chat-bubble-border: #525252;--cds-chat-bubble-user: #393939;--cds-chat-button: #78a9ff;--cds-chat-button-active: rgba(141, 141, 141, 0.4);--cds-chat-button-hover: rgba(141, 141, 141, 0.16);--cds-chat-button-selected: rgba(141, 141, 141, 0.24);--cds-chat-button-text-hover: #a6c8ff;--cds-chat-button-text-selected: #c6c6c6;--cds-chat-header-background: #262626;--cds-chat-prompt-background: #161616;--cds-chat-prompt-border-end: rgba(38, 38, 38, 0);--cds-chat-prompt-border-start: #262626;--cds-chat-shell-background: #262626;--cds-field-01: #393939;--cds-field-02: #525252;--cds-field-03: #6f6f6f;--cds-field-hover-01: #474747;--cds-field-hover-02: #636363;--cds-field-hover-03: #5e5e5e;--cds-focus: #ffffff;--cds-focus-inset: #161616;--cds-focus-inverse: #0f62fe;--cds-highlight: #002d9c;--cds-icon-disabled: rgba(244, 244, 244, 0.25);--cds-icon-interactive: #ffffff;--cds-icon-inverse: #161616;--cds-icon-on-color: #ffffff;--cds-icon-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-icon-primary: #f4f4f4;--cds-icon-secondary: #c6c6c6;--cds-interactive: #4589ff;--cds-layer-01: #393939;--cds-layer-02: #525252;--cds-layer-03: #6f6f6f;--cds-layer-accent-01: #525252;--cds-layer-accent-02: #6f6f6f;--cds-layer-accent-03: #8d8d8d;--cds-layer-accent-active-01: #8d8d8d;--cds-layer-accent-active-02: #393939;--cds-layer-accent-active-03: #525252;--cds-layer-accent-hover-01: #636363;--cds-layer-accent-hover-02: #5e5e5e;--cds-layer-accent-hover-03: #7a7a7a;--cds-layer-active-01: #6f6f6f;--cds-layer-active-02: #8d8d8d;--cds-layer-active-03: #393939;--cds-layer-background-01: #262626;--cds-layer-background-02: #393939;--cds-layer-background-03: #525252;--cds-layer-hover-01: #474747;--cds-layer-hover-02: #636363;--cds-layer-hover-03: #5e5e5e;--cds-layer-selected-01: #525252;--cds-layer-selected-02: #6f6f6f;--cds-layer-selected-03: #525252;--cds-layer-selected-disabled: #a8a8a8;--cds-layer-selected-hover-01: #636363;--cds-layer-selected-hover-02: #5e5e5e;--cds-layer-selected-hover-03: #636363;--cds-layer-selected-inverse: #f4f4f4;--cds-link-inverse: #0f62fe;--cds-link-inverse-active: #161616;--cds-link-inverse-hover: #0043ce;--cds-link-inverse-visited: #8a3ffc;--cds-link-primary: #78a9ff;--cds-link-primary-hover: #a6c8ff;--cds-link-secondary: #a6c8ff;--cds-link-visited: #be95ff;--cds-overlay: rgba(0, 0, 0, 0.65);--cds-shadow: rgba(0, 0, 0, 0.8);--cds-skeleton-background: #333333;--cds-skeleton-element: #525252;--cds-support-caution-major: #ff832b;--cds-support-caution-minor: #f1c21b;--cds-support-caution-undefined: #a56eff;--cds-support-error: #ff8389;--cds-support-error-inverse: #da1e28;--cds-support-info: #4589ff;--cds-support-info-inverse: #0043ce;--cds-support-success: #42be65;--cds-support-success-inverse: #24a148;--cds-support-warning: #f1c21b;--cds-support-warning-inverse: #f1c21b;--cds-text-disabled: rgba(244, 244, 244, 0.25);--cds-text-error: #ffb3b8;--cds-text-helper: #c6c6c6;--cds-text-inverse: #161616;--cds-text-on-color: #ffffff;--cds-text-on-color-disabled: rgba(255, 255, 255, 0.25);--cds-text-placeholder: rgba(244, 244, 244, 0.4);--cds-text-primary: #f4f4f4;--cds-text-secondary: #c6c6c6;--cds-toggle-off: #8d8d8d;--cds-spacing-01: 0.125rem;--cds-spacing-02: 0.25rem;--cds-spacing-03: 0.5rem;--cds-spacing-04: 0.75rem;--cds-spacing-05: 1rem;--cds-spacing-06: 1.5rem;--cds-spacing-07: 2rem;--cds-spacing-08: 2.5rem;--cds-spacing-09: 3rem;--cds-spacing-10: 4rem;--cds-spacing-11: 5rem;--cds-spacing-12: 6rem;--cds-spacing-13: 10rem;--cds-fluid-spacing-01: 0;--cds-fluid-spacing-02: 2vw;--cds-fluid-spacing-03: 5vw;--cds-fluid-spacing-04: 10vw;--cds-caption-01-font-size: 0.75rem;--cds-caption-01-font-weight: 400;--cds-caption-01-line-height: 1.33333;--cds-caption-01-letter-spacing: 0.32px;--cds-caption-02-font-size: 0.875rem;--cds-caption-02-font-weight: 400;--cds-caption-02-line-height: 1.28572;--cds-caption-02-letter-spacing: 0.32px;--cds-label-01-font-size: 0.75rem;--cds-label-01-font-weight: 400;--cds-label-01-line-height: 1.33333;--cds-label-01-letter-spacing: 0.32px;--cds-label-02-font-size: 0.875rem;--cds-label-02-font-weight: 400;--cds-label-02-line-height: 1.28572;--cds-label-02-letter-spacing: 0.16px;--cds-helper-text-01-font-size: 0.75rem;--cds-helper-text-01-line-height: 1.33333;--cds-helper-text-01-letter-spacing: 0.32px;--cds-helper-text-02-font-size: 0.875rem;--cds-helper-text-02-font-weight: 400;--cds-helper-text-02-line-height: 1.28572;--cds-helper-text-02-letter-spacing: 0.16px;--cds-body-short-01-font-size: 0.875rem;--cds-body-short-01-font-weight: 400;--cds-body-short-01-line-height: 1.28572;--cds-body-short-01-letter-spacing: 0.16px;--cds-body-short-02-font-size: 1rem;--cds-body-short-02-font-weight: 400;--cds-body-short-02-line-height: 1.375;--cds-body-short-02-letter-spacing: 0;--cds-body-long-01-font-size: 0.875rem;--cds-body-long-01-font-weight: 400;--cds-body-long-01-line-height: 1.42857;--cds-body-long-01-letter-spacing: 0.16px;--cds-body-long-02-font-size: 1rem;--cds-body-long-02-font-weight: 400;--cds-body-long-02-line-height: 1.5;--cds-body-long-02-letter-spacing: 0;--cds-code-01-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-01-font-size: 0.75rem;--cds-code-01-font-weight: 400;--cds-code-01-line-height: 1.33333;--cds-code-01-letter-spacing: 0.32px;--cds-code-02-font-family: 'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace;--cds-code-02-font-size: 0.875rem;--cds-code-02-font-weight: 400;--cds-code-02-line-height: 1.42857;--cds-code-02-letter-spacing: 0.32px;--cds-heading-01-font-size: 0.875rem;--cds-heading-01-font-weight: 600;--cds-heading-01-line-height: 1.42857;--cds-heading-01-letter-spacing: 0.16px;--cds-heading-02-font-size: 1rem;--cds-heading-02-font-weight: 600;--cds-heading-02-line-height: 1.5;--cds-heading-02-letter-spacing: 0;--cds-productive-heading-01-font-size: 0.875rem;--cds-productive-heading-01-font-weight: 600;--cds-productive-heading-01-line-height: 1.28572;--cds-productive-heading-01-letter-spacing: 0.16px;--cds-productive-heading-02-font-size: 1rem;--cds-productive-heading-02-font-weight: 600;--cds-productive-heading-02-line-height: 1.375;--cds-productive-heading-02-letter-spacing: 0;--cds-productive-heading-03-font-size: 1.25rem;--cds-productive-heading-03-font-weight: 400;--cds-productive-heading-03-line-height: 1.4;--cds-productive-heading-03-letter-spacing: 0;--cds-productive-heading-04-font-size: 1.75rem;--cds-productive-heading-04-font-weight: 400;--cds-productive-heading-04-line-height: 1.28572;--cds-productive-heading-04-letter-spacing: 0;--cds-productive-heading-05-font-size: 2rem;--cds-productive-heading-05-font-weight: 400;--cds-productive-heading-05-line-height: 1.25;--cds-productive-heading-05-letter-spacing: 0;--cds-productive-heading-06-font-size: 2.625rem;--cds-productive-heading-06-font-weight: 300;--cds-productive-heading-06-line-height: 1.199;--cds-productive-heading-06-letter-spacing: 0;--cds-productive-heading-07-font-size: 3.375rem;--cds-productive-heading-07-font-weight: 300;--cds-productive-heading-07-line-height: 1.19;--cds-productive-heading-07-letter-spacing: 0;--cds-expressive-paragraph-01-font-size: 1.5rem;--cds-expressive-paragraph-01-font-weight: 300;--cds-expressive-paragraph-01-line-height: 1.334;--cds-expressive-paragraph-01-letter-spacing: 0;--cds-expressive-heading-01-font-size: 0.875rem;--cds-expressive-heading-01-font-weight: 600;--cds-expressive-heading-01-line-height: 1.42857;--cds-expressive-heading-01-letter-spacing: 0.16px;--cds-expressive-heading-02-font-size: 1rem;--cds-expressive-heading-02-font-weight: 600;--cds-expressive-heading-02-line-height: 1.5;--cds-expressive-heading-02-letter-spacing: 0;--cds-expressive-heading-03-font-size: 1.25rem;--cds-expressive-heading-03-font-weight: 400;--cds-expressive-heading-03-line-height: 1.4;--cds-expressive-heading-03-letter-spacing: 0;--cds-expressive-heading-04-font-size: 1.75rem;--cds-expressive-heading-04-font-weight: 400;--cds-expressive-heading-04-line-height: 1.28572;--cds-expressive-heading-04-letter-spacing: 0;--cds-expressive-heading-05-font-size: 2rem;--cds-expressive-heading-05-font-weight: 400;--cds-expressive-heading-05-line-height: 1.25;--cds-expressive-heading-05-letter-spacing: 0;--cds-expressive-heading-06-font-size: 2rem;--cds-expressive-heading-06-font-weight: 600;--cds-expressive-heading-06-line-height: 1.25;--cds-expressive-heading-06-letter-spacing: 0;--cds-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-01-font-size: 1.25rem;--cds-quotation-01-font-weight: 400;--cds-quotation-01-line-height: 1.3;--cds-quotation-01-letter-spacing: 0;--cds-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-quotation-02-font-size: 2rem;--cds-quotation-02-font-weight: 300;--cds-quotation-02-line-height: 1.25;--cds-quotation-02-letter-spacing: 0;--cds-display-01-font-size: 2.625rem;--cds-display-01-font-weight: 300;--cds-display-01-line-height: 1.19;--cds-display-01-letter-spacing: 0;--cds-display-02-font-size: 2.625rem;--cds-display-02-font-weight: 600;--cds-display-02-line-height: 1.19;--cds-display-02-letter-spacing: 0;--cds-display-03-font-size: 2.625rem;--cds-display-03-font-weight: 300;--cds-display-03-line-height: 1.19;--cds-display-03-letter-spacing: 0;--cds-display-04-font-size: 2.625rem;--cds-display-04-font-weight: 300;--cds-display-04-line-height: 1.19;--cds-display-04-letter-spacing: 0;--cds-legal-01-font-size: 0.75rem;--cds-legal-01-font-weight: 400;--cds-legal-01-line-height: 1.33333;--cds-legal-01-letter-spacing: 0.32px;--cds-legal-02-font-size: 0.875rem;--cds-legal-02-font-weight: 400;--cds-legal-02-line-height: 1.28572;--cds-legal-02-letter-spacing: 0.16px;--cds-body-compact-01-font-size: 0.875rem;--cds-body-compact-01-font-weight: 400;--cds-body-compact-01-line-height: 1.28572;--cds-body-compact-01-letter-spacing: 0.16px;--cds-body-compact-02-font-size: 1rem;--cds-body-compact-02-font-weight: 400;--cds-body-compact-02-line-height: 1.375;--cds-body-compact-02-letter-spacing: 0;--cds-heading-compact-01-font-size: 0.875rem;--cds-heading-compact-01-font-weight: 600;--cds-heading-compact-01-line-height: 1.28572;--cds-heading-compact-01-letter-spacing: 0.16px;--cds-heading-compact-02-font-size: 1rem;--cds-heading-compact-02-font-weight: 600;--cds-heading-compact-02-line-height: 1.375;--cds-heading-compact-02-letter-spacing: 0;--cds-body-01-font-size: 0.875rem;--cds-body-01-font-weight: 400;--cds-body-01-line-height: 1.42857;--cds-body-01-letter-spacing: 0.16px;--cds-body-02-font-size: 1rem;--cds-body-02-font-weight: 400;--cds-body-02-line-height: 1.5;--cds-body-02-letter-spacing: 0;--cds-heading-03-font-size: 1.25rem;--cds-heading-03-font-weight: 400;--cds-heading-03-line-height: 1.4;--cds-heading-03-letter-spacing: 0;--cds-heading-04-font-size: 1.75rem;--cds-heading-04-font-weight: 400;--cds-heading-04-line-height: 1.28572;--cds-heading-04-letter-spacing: 0;--cds-heading-05-font-size: 2rem;--cds-heading-05-font-weight: 400;--cds-heading-05-line-height: 1.25;--cds-heading-05-letter-spacing: 0;--cds-heading-06-font-size: 2.625rem;--cds-heading-06-font-weight: 300;--cds-heading-06-line-height: 1.199;--cds-heading-06-letter-spacing: 0;--cds-heading-07-font-size: 3.375rem;--cds-heading-07-font-weight: 300;--cds-heading-07-line-height: 1.19;--cds-heading-07-letter-spacing: 0;--cds-fluid-heading-03-font-size: 1.25rem;--cds-fluid-heading-03-font-weight: 400;--cds-fluid-heading-03-line-height: 1.4;--cds-fluid-heading-03-letter-spacing: 0;--cds-fluid-heading-04-font-size: 1.75rem;--cds-fluid-heading-04-font-weight: 400;--cds-fluid-heading-04-line-height: 1.28572;--cds-fluid-heading-04-letter-spacing: 0;--cds-fluid-heading-05-font-size: 2rem;--cds-fluid-heading-05-font-weight: 400;--cds-fluid-heading-05-line-height: 1.25;--cds-fluid-heading-05-letter-spacing: 0;--cds-fluid-heading-06-font-size: 2rem;--cds-fluid-heading-06-font-weight: 600;--cds-fluid-heading-06-line-height: 1.25;--cds-fluid-heading-06-letter-spacing: 0;--cds-fluid-paragraph-01-font-size: 1.5rem;--cds-fluid-paragraph-01-font-weight: 300;--cds-fluid-paragraph-01-line-height: 1.334;--cds-fluid-paragraph-01-letter-spacing: 0;--cds-fluid-quotation-01-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-01-font-size: 1.25rem;--cds-fluid-quotation-01-font-weight: 400;--cds-fluid-quotation-01-line-height: 1.3;--cds-fluid-quotation-01-letter-spacing: 0;--cds-fluid-quotation-02-font-family: 'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif;--cds-fluid-quotation-02-font-size: 2rem;--cds-fluid-quotation-02-font-weight: 300;--cds-fluid-quotation-02-line-height: 1.25;--cds-fluid-quotation-02-letter-spacing: 0;--cds-fluid-display-01-font-size: 2.625rem;--cds-fluid-display-01-font-weight: 300;--cds-fluid-display-01-line-height: 1.19;--cds-fluid-display-01-letter-spacing: 0;--cds-fluid-display-02-font-size: 2.625rem;--cds-fluid-display-02-font-weight: 600;--cds-fluid-display-02-line-height: 1.19;--cds-fluid-display-02-letter-spacing: 0;--cds-fluid-display-03-font-size: 2.625rem;--cds-fluid-display-03-font-weight: 300;--cds-fluid-display-03-line-height: 1.19;--cds-fluid-display-03-letter-spacing: 0;--cds-fluid-display-04-font-size: 2.625rem;--cds-fluid-display-04-font-weight: 300;--cds-fluid-display-04-line-height: 1.19;--cds-fluid-display-04-letter-spacing: 0;--cds-layer:var(--cds-layer-01, #f4f4f4);--cds-layer-active:var(--cds-layer-active-01, #c6c6c6);--cds-layer-background:var(--cds-layer-background-01, #ffffff);--cds-layer-hover:var(--cds-layer-hover-01, #e8e8e8);--cds-layer-selected:var(--cds-layer-selected-01, #e0e0e0);--cds-layer-selected-hover:var(--cds-layer-selected-hover-01, #d1d1d1);--cds-layer-accent:var(--cds-layer-accent-01, #e0e0e0);--cds-layer-accent-hover:var(--cds-layer-accent-hover-01, #d1d1d1);--cds-layer-accent-active:var(--cds-layer-accent-active-01, #a8a8a8);--cds-field:var(--cds-field-01, #f4f4f4);--cds-field-hover:var(--cds-field-hover-01, #e8e8e8);--cds-border-subtle:var(--cds-border-subtle-00, #e0e0e0);--cds-border-subtle-selected:var(--cds-border-subtle-selected-01, #c6c6c6);--cds-border-strong:var(--cds-border-strong-01, #8d8d8d);--cds-border-tile:var(--cds-border-tile-01, #c6c6c6)}@media screen and (-ms-high-contrast: active),(forced-colors: active){.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv{--cds-icon-primary:ButtonText;--cds-icon-secondary:ButtonText;--cds-icon-interactive:ButtonText;--cds-icon-disabled:GrayText;--cds-icon-on-color-disabled:GrayText;--cds-icon-inverse:SelectedItemText;--cds-icon-on-color:SelectedItemText;--cds-button-disabled:GrayText;--cds-interactive:ButtonText;--cds-link-primary:LinkText;--cds-link-primary-hover:LinkText;--cds-link-secondary:LinkText;--cds-link-inverse:SelectedItemText;--cds-link-inverse-hover:SelectedItemText;--cds-link-inverse-visited:SelectedItemText;--cds-link-visited:VisitedText;--cds-background-selected:SelectedItem;--cds-background-selected-hover:SelectedItem;--cds-background-inverse:SelectedItem;--cds-layer-selected-inverse:SelectedItem}}.-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv .cds--content-switcher-btn.cds--content-switcher--selected{background-color:#f4f4f4}","",{version:3,sources:["webpack://./../../framework/esm-styleguide/src/_vars.scss","webpack://./src/implementer-tools.styles.scss","webpack://./../../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../../node_modules/@carbon/themes/scss/_theme.scss","webpack://./../../../node_modules/@carbon/styles/scss/utilities/_custom-property.scss","webpack://./../../../node_modules/@carbon/styles/scss/_theme.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCxDF,sEACE,8BAAA,CAGF,yFACE,cAAA,CACA,QAAA,CACA,sBAAA,CAEA,2KACE,WAAA,CACA,SAAA,CACA,YAAA,CACA,aAAA,CAEA,qBDjBI,CCkBJ,UCoBS,CDnBT,aCcS,CDbT,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,cAAA,CACA,qBChBS,CDiBT,8BAAA,CAGF,iLACE,0BAAA,CAIJ,qEEiFI,mCAAA,CAAA,uCAAA,CAAA,yCAA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AA,gIAAA,CAAA,wCAAA,CAAA,yCAAA,CAAA,0CAAA,CAAA,0CAAA,CAAA,0CAAA,CAAA,uCAAA,CAAA,wCAAA,CAAA,wCAAA,CAAA,0CAAA,CAAA,uCAAA,CAAA,wCAAA,CAAA,wCAAA,CAAA,0CAAA,CAAA,uCAAA,CAAA,wCAAA,CAAA,wCAAA,CAAA,0CAAA,CAAA,uCAAA,CAAA,wCAAA,CAAA,wCAAA,CC/DF,wCAAA,CAAA,sDAAA,CAAA,8DAAA,CAAA,oDAAA,CAAA,0DAAA,CAAA,sEAAA,CAAA,sDAAA,CAAA,kEAAA,CAAA,oEAAA,CAAA,wCAAA,CAAA,oDAAA,CAAA,wDAAA,CAAA,0EAAA,CAAA,wDAAA,CAAA,oDAAA,CC/BA,sEJaF,qEGkBE,6BAAA,CAAA,+BAAA,CAAA,iCAAA,CAAA,4BAAA,CAAA,qCAAA,CAAA,mCAAA,CAAA,oCAAA,CAAA,8BAAA,CAAA,4BAAA,CAAA,2BAAA,CAAA,iCAAA,CAAA,6BAAA,CAAA,mCAAA,CAAA,yCAAA,CAAA,2CAAA,CAAA,8BAAA,CAAA,sCAAA,CAAA,4CAAA,CAAA,qCAAA,CAAA,yCAAA,CAAA,CHfA,gIACE,wBDtCI",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/react/scss/themes';\n@use '@carbon/react/scss/theme';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.toolStyles {\n background-color: transparent;\n}\n\n.chevronImplementerToolsButton {\n position: fixed;\n bottom: 0;\n left: calc(50vw - layout.$spacing-07 / 2);\n\n .implementerToolsButton {\n border: none;\n padding: 0;\n font: inherit;\n color: inherit;\n\n background-color: $ui-02;\n width: layout.$spacing-07;\n height: layout.$spacing-06;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n border-radius: layout.$spacing-01;\n transition: all 0.3s ease-in-out;\n }\n\n .implementerToolsButton:hover {\n transform: translateY(-3px);\n }\n}\n\n.darkTheme {\n @include theme.theme(themes.$g90);\n\n :global(.cds--content-switcher-btn.cds--content-switcher--selected) {\n background-color: $ui-01;\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n@use 'sass:map';\n@use 'sass:meta';\n@use 'config';\n@use 'themes';\n\n/// Specify the fallback theme, used as a catch-all for tokens that you may not\n/// have defined in your custom theme\n$fallback: themes.$white !default;\n\n/// Specify the current theme. This can override existing tokens, or add new\n/// tokens. If you are adding new tokens, it's recommended that you set the\n/// fallback for your current theme\n$theme: () !default;\n$theme: map.merge($fallback, $theme);\n\n/// Local component tokens that can be updated with `@mixin add-component-tokens`.\n$-component-tokens: ();\n\n/// Include the CSS Custom Properties for the active theme or a given theme on\n/// a selector\n@mixin theme($active-theme: $theme, $component-tokens...) {\n @each $token, $value in $active-theme {\n @include -custom-property($token, $value);\n }\n\n @each $group in $component-tokens {\n @each $token, $value in $group {\n @include -custom-property($token, $value);\n }\n }\n\n @each $token, $value in $-component-tokens {\n @include -custom-property(\n $token,\n -resolve-token-value($active-theme, $value)\n );\n }\n}\n\n/// Retrieve the value for the given $token from the current $theme\n/// @param {String} $token\n@function get($token) {\n @if map.has-key($theme, $token) {\n @return map.get($theme, $token);\n }\n @error \"Unable to find token: #{$token} in current $theme\";\n}\n\n/// Compare two themes to see if the second theme is a superset of the first\n/// theme. In other words, this function will return true if every token in the\n/// first theme is available in the second theme and has the same value. The\n/// second theme is allowed to have additional values and it will still match.\n/// @param {Map} $a\n/// @param {Map} $b\n/// @returns {Boolean}\n@function matches($a, $b) {\n @each $key, $value in $a {\n @if map.has-key($b, $key) == false {\n @return false;\n }\n\n @if map.get($b, $key) != $value {\n @return false;\n }\n }\n\n @return true;\n}\n\n/// Add component tokens which will be included any time the theme mixin is\n/// called\n@mixin add-component-tokens($token-map) {\n $-component-tokens: map.merge($-component-tokens, $token-map) !global;\n}\n\n/// Determine the value from a component token that matches the given theme.\n/// This is helpful when a component token may change depending on what theme the\n/// component is being rendered in.\n@function -resolve-token-value($active-theme: $theme, $token-value) {\n @if meta.type-of($token-value) == map and map.has-key($token-value, values) {\n $fallback: map.get($token-value, fallback);\n $theme-values: map.get($token-value, values);\n\n @each $theme-value in $theme-values {\n $theme-to-match: map.get($theme-value, theme);\n $value: map.get($theme-value, value);\n\n @if matches($theme-to-match, $active-theme) {\n @return $value;\n }\n }\n\n @return $fallback;\n }\n\n @return $token-value;\n}\n\n/// @access private\n/// @group @carbon/themes\n@mixin -custom-property($name, $value) {\n @if meta.type-of($value) == map {\n @each $property, $property-value in $value {\n // Only support one-level of depth for values that are maps. This is to\n // avoid bringing properties like `breakpoints` on type tokens\n @if type-of($property-value) != map {\n @include -custom-property('#{$name}-#{$property}', $property-value);\n }\n }\n } @else {\n --#{config.$prefix}-#{$name}: #{$value};\n }\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@use '../config';\n\n// Some CSS Custom Property terminology\n// @see https://www.w3.org/TR/css-variables-1/\n//\n// <custom-property-name>:\n// Any valid identifer that starts with two dashes (--)\n//\n// A declaration:\n// CSS Custom Properties can be used as declarations in a CSS selector. They\n// take on the form of:\n//\n// <custom-property-name>: <declaration-value>;\n//\n// The var() notation:\n// You can use a CSS Custom Property as a substitute for a value of another\n// property using the var() function. This function has the following syntax:\n//\n// var( <custom-property-name> [, <declarative-value> ]? )\n//\n// This function takes in an optional fallback value if the CSS Custom\n// Property has not been previously defined\n\n/// Get the <custom-property-name> for a given string\n/// @param {String} $name\n/// @returns {String}\n@function get-name($name) {\n @return --#{config.$prefix}-#{$name};\n}\n\n/// Get the var() representation for a given token\n/// @param {String} $name\n/// @param {Any} $fallback\n/// @returns var()\n@function get-var($name, $fallback: false) {\n @if $fallback {\n @return var(--#{config.$prefix}-#{$name}, #{$fallback});\n }\n @return var(--#{config.$prefix}-#{$name});\n}\n\n/// Emit a declaration which sets the value of a CSS Custom Property using the\n/// $name as the <custom-property-name> and the $value as the\n/// <declaration-value>\n/// @param {String} $name\n/// @param {any} $value\n@mixin declaration($name, $value) {\n #{get-name($name)}: #{$value};\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@forward './theme/theme' hide theme;\n@use './theme/theme';\n@use './layer/layer-tokens';\n@use './utilities/custom-property';\n\n/// Include the CSS Custom Properties for the active theme or a given theme on\n/// a selector\n@mixin theme($args...) {\n @include theme.theme($args...);\n\n // If the system is in high-contrast mode, use the system defined colors. This mostly happens automatically, but\n // we need to do it manually for icons and selected backgrounds. Importantly, the custom properties we set here\n // need to override the CSS custom properties set above. See:\n // - https://github.com/carbon-design-system/carbon/issues/19015\n // - https://developer.mozilla.org/en-US/docs/Web/CSS/system-color.\n // - https://carbondesignsystem.com/elements/color/tokens/#icon\n @media screen and (-ms-high-contrast: active), (forced-colors: active) {\n // Icon colors specified by \"fill\".\n @include custom-property.declaration('icon-primary', ButtonText);\n @include custom-property.declaration('icon-secondary', ButtonText);\n @include custom-property.declaration('icon-interactive', ButtonText);\n @include custom-property.declaration('icon-disabled', GrayText);\n @include custom-property.declaration('icon-on-color-disabled', GrayText);\n\n // Since icon-inverse and icon-on-color are generally used to indicated selected icons, use SelectedItemText.\n @include custom-property.declaration('icon-inverse', SelectedItemText);\n @include custom-property.declaration('icon-on-color', SelectedItemText);\n\n // Some components currently set these values for fill, although unclear if that's valid.\n @include custom-property.declaration('button-disabled', GrayText);\n @include custom-property.declaration('interactive', ButtonText);\n @include custom-property.declaration('link-primary', LinkText);\n @include custom-property.declaration('link-primary-hover', LinkText);\n @include custom-property.declaration('link-secondary', LinkText);\n @include custom-property.declaration('link-inverse', SelectedItemText);\n @include custom-property.declaration(\n 'link-inverse-hover',\n SelectedItemText\n );\n @include custom-property.declaration(\n 'link-inverse-visited',\n SelectedItemText\n );\n @include custom-property.declaration('link-visited', VisitedText);\n\n // Force a background-color for selected buttons etc., otherwise the user won't know they are selected.\n @include custom-property.declaration('background-selected', SelectedItem);\n @include custom-property.declaration(\n 'background-selected-hover',\n SelectedItem\n );\n @include custom-property.declaration('background-inverse', SelectedItem);\n @include custom-property.declaration(\n 'layer-selected-inverse',\n SelectedItem\n );\n }\n\n // Note: we need to re-emit the contextual layer tokens as part of the theme\n // mixin. Otherwise, the layer tokens are defined at the :root level and will\n // not pick up the theme-specific, or zone-specific, value from the first\n // layer.\n //\n // For example, in this situation:\n //\n // ```\n // :root {\n // --layer-one: #000000;\n // --layer: var(--layer-one);\n // }\n // ```\n //\n // This will always evaluate to the value of `--layer-one` at the `:root`\n // selector, even if `--layer-one` is redefined layer on in the cascade.\n //\n // ```\n // .zone {\n // --layer-one: #ffffff;\n // }\n // ```\n //\n // Even though you would expect `--layer` to be redefined, it will keep the\n // value defined at the `:root` level.\n //\n // @see https://github.com/carbon-design-system/carbon/issues/11138\n @include layer-tokens.emit-layer-tokens(1);\n}\n"],sourceRoot:""}]),i.locals={toolStyles:"-esm-implementer-tools__implementer-tools-styles__toolStyles___g9u4a",chevronImplementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__chevronImplementerToolsButton___NhGOv",implementerToolsButton:"-esm-implementer-tools__implementer-tools-styles__implementerToolsButton___1RK67",darkTheme:"-esm-implementer-tools__implementer-tools-styles__darkTheme___HKnAv"};let r=i},84767(e,A,n){var t={"./uk.json":["60723","9072"],"./ar.json":["14132","7045"],"./ru_RU.json":["60986","8359"],"./uz_UZ.json":["70890","7175"],"./fr.json":["94055","6508"],"./sw_KE.json":["88618","903"],"./uz.json":["43584","6377"],"./en.json":["34300","5117"],"./ky.json":["88163","2416"],"./pl.json":["41119","6724"],"./sq.json":["88371","4928"],"./ka.json":["70795","1480"],"./si.json":["56859","6904"],"./zh_TW.json":["10439","556"],"./de.json":["34944","5145"],"./lg.json":["64618","8695"],"./vi.json":["79214","6371"],"./tr.json":["55241","434"],"./es_MX.json":["88349","1646"],"./tr_TR.json":["99900","1869"],"./zh_CN.json":["99879","5644"],"./en_US.json":["59569","4106"],"./he.json":["84652","2317"],"./id.json":["72690","6047"],"./ku.json":["9895","4348"],"./es.json":["93099","7912"],"./ne.json":["12146","5503"],"./ar_SY.json":["37617","282"],"./uz@Latn.json":["27097","4658"],"./bn.json":["77159","6444"],"./cs.json":["86589","7182"],"./zh.json":["35661","7742"],"./hi_IN.json":["55442","4383"],"./pt_BR.json":["36468","1877"],"./qu.json":["35173","8358"],"./ro_RO.json":["46022","3963"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./pt.json":["96679","5132"],"./it.json":["9538","4111"],"./km.json":["54335","5940"],"./hi.json":["36840","2881"]};function s(e){if(!n.o(t,e))return Promise.resolve().then(function(){var A=Error("Cannot find module '"+e+"'");throw A.code="MODULE_NOT_FOUND",A});var A=t[e],s=A[0];return n.e(A[1]).then(function(){return n(s)})}s.keys=()=>Object.keys(t),s.id=84767,e.exports=s},95917(e,A,n){"use strict";let t;n.r(A),n.d(A,{implementerTools:()=>W,globalImplementerTools:()=>Y,ConfigEditButton:()=>J,implementerToolsButton:()=>V,importTranslation:()=>H});var s=n(43004),o=n(46925),i=n.n(o),r=n(99737),a=n(43639),c=n(71917);let d=function(e,A,n,t){for(var s=e.length,o=n+(t?1:-1);t?o--:++o<s;)if(A(e[o],o,e))return o;return -1},l=function(e){return e!=e},C=function(e,A,n){for(var t=n-1,s=e.length;++t<s;)if(e[t]===A)return t;return -1},p=function(e,A){return!!(null==e?0:e.length)&&(A==A?C(e,A,0):d(e,l,0))>-1},u=function(e,A,n){for(var t=-1,s=null==e?0:e.length;++t<s;)if(n(A,e[t]))return!0;return!1};var m=n(77184),h=n(16105),g=n(95199);let f=function(e,A,n,t){var s=-1,o=p,i=!0,r=e.length,a=[],d=A.length;if(!r)return a;n&&(A=(0,m.A)(A,(0,h.A)(n))),t?(o=u,i=!1):A.length>=200&&(o=g.A,i=!1,A=new c.A(A));e:for(;++s<r;){var l=e[s],C=null==n?l:n(l);if(l=t||0!==l?l:0,i&&C==C){for(var f=d;f--;)if(A[f]===C)continue e;a.push(l)}else o(A,C,t)||a.push(l)}return a};var b=n(15076),y=n(89698),v=n(31937),k=(0,y.A)(function(e,A){return(0,v.A)(e)?f(e,(0,b.A)(A,1,v.A,!0)):[]});async function $(){try{return await w()}catch(e){console.error(e)}return[]}async function w(){let e=[],A=`${s.restBaseUrl}/module?v=custom:(uuid,version)`,n=0,t=e=>e?/^https?:\/\//i.test(e)||e.startsWith("/")?e:`${s.restBaseUrl}/${e.replace(/^\/?/,"")}`:null;for(;A&&n<50;)try{let{data:o}=await (0,s.openmrsFetch)(A,{method:"GET"}),i=Array.isArray(o?.results)?o.results:[];e.push(...i);let r=(Array.isArray(o?.links)?o.links:[]).find(e=>"next"===(e.rel||"").toLowerCase());A=t(r?.uri??null),n+=1}catch(e){throw console.error(`Failed to fetch backend modules on request ${n+1} (URL: ${A})`,e),Error(`Failed to fetch backend modules: ${e instanceof Error?e.message:"Unknown error"}`)}return A&&n>=50&&console.warn(`Reached maximum page limit (50) while fetching backend modules. There may be more data available at: ${A}`),e}async function B(){if(!t){let e=(window.installedModules??[]).filter(e=>!!(e[1]?.backendDependencies||e[1]?.optionalBackendDependencies)).map(e=>({backendDependencies:e[1].backendDependencies,optionalBackendDependencies:Object.fromEntries(Object.entries(e[1].optionalBackendDependencies??{}).map(([e,A])=>"string"==typeof A||void 0===A?[e,A]:[e,A.version])),moduleName:e[0]})),A=await $();t=e.map(e=>{var n,t;let o,i,r;return o=[],n=e.backendDependencies,t=A,i=n?k(Object.keys(n),t.map(e=>e.uuid)).map(e=>({uuid:e,version:n[e]})):[],r=function(e,A,n){if(!e)return[];let t={...A,...e},s=Object.keys(t).map(e=>({uuid:e,version:t[e]})),o=new Set(n.map(e=>e.uuid));return s.filter(e=>o.has(e.uuid))}(e.backendDependencies,e.optionalBackendDependencies,A),o.push(...i.map(e=>({name:e.uuid,requiredVersion:e.version,type:"missing"})),...r.map(e=>{var n,t,o,i;let r,a=e.version,c=(n=e,t=A,r=n.uuid,t.find(e=>e.uuid===r)?.version??"");return{name:e.uuid,requiredVersion:a,installedVersion:c,type:(o=a,i=c,(0,s.isVersionSatisfied)(o,i)?"okay":"version-mismatch")}})),{name:e.moduleName,dependencies:o}})}return t}var x=n(97478),T=n.n(x),_=n(27135),S=n.n(_),I=n(61301),E=n.n(I),z=n(49222),D=n.n(z),q=n(6626),j=n.n(q),N=n(88279),O=n.n(N),M=n(95877),F={};F.styleTagTransform=O(),F.setAttributes=D(),F.insert=E().bind(null,"head"),F.domAPI=S(),F.insertStyleElement=j(),T()(M.A,F);let U=M.A&&M.A.locals?M.A.locals:void 0,G=i().lazy(()=>Promise.all([n.e("7487"),n.e("9270"),n.e("6923"),n.e("7143"),n.e("8088")]).then(n.bind(n,84955))),L=i().lazy(()=>Promise.all([n.e("4234"),n.e("7143"),n.e("2920")]).then(n.bind(n,7099)));function P(){let e=(0,o.useMemo)(()=>(window.installedModules??[]).filter(e=>!!e&&!!e[1]).map(e=>({...e[1],name:e[0]})),[]),A=function(){let[e,A]=(0,o.useState)([]);return(0,o.useEffect)(()=>{B().then(A)},[]),e}(),[n,t]=(0,o.useState)(!1),{t:c}=(0,r.useTranslation)();(0,o.useEffect)(()=>{t(e=>e||A.some(e=>e.dependencies.some(e=>"okay"!==e.type)))},[A]),(0,o.useEffect)(()=>{n&&(0,s.showToast)({critical:!1,kind:"error",description:c("checkImplementerToolsMessage","Check the Backend Modules tab in the Implementer Tools for more details"),title:c("modulesWithMissingDependenciesWarning","Some modules have unresolved backend dependencies"),actionButtonLabel:c("viewModules","View modules"),onActionButtonClick:a.s5})},[c,n]);let{isOpen:d,isUIEditorEnabled:l,openTabIndex:C}=(0,s.useStore)(a.bB);return i().createElement("div",{className:U.darkTheme},d?i().createElement(G,{close:a.xq,frontendModules:e,backendDependencies:A,visibleTabIndex:C}):null,l?i().createElement(L,null):null)}var R=n(18326);function J({configPath:e}){let{t:A}=(0,r.useTranslation)();return i().createElement("button",{onClick:()=>{a.bB.setState({configPathBeingEdited:e})}},A("edit","Edit"))}let H=n(84767),K={featureName:"Implementer Tools",moduleName:"@openmrs/esm-implementer-tools-app"},W=(0,s.getSyncLifecycle)(function(){return i().createElement(s.UserHasAccess,{privilege:"O3 Implementer Tools"},i().createElement(P,null))},K),Y=(0,s.getSyncLifecycle)(()=>{let{isOpen:e}=(0,s.useStore)(a.bB),{t:A}=(0,r.useTranslation)();return i().createElement(s.UserHasAccess,{privilege:"O3 Implementer Tools"},i().createElement("div",{className:U.chevronImplementerToolsButton,"data-testid":"globalImplementerToolsButton"},i().createElement("button",{type:"button",onClick:a.xq,"aria-label":A("toggleImplementerTools","Toggle Implementer Tools"),className:U.implementerToolsButton},e?i().createElement(s.ChevronDownIcon,{size:16}):i().createElement(s.ChevronUpIcon,{size:16}))))},K),V=(0,s.getSyncLifecycle)(()=>{let{t:e}=(0,r.useTranslation)(),{isOpen:A}=(0,s.useStore)(a.bB);return i().createElement(s.UserHasAccess,{privilege:"O3 Implementer Tools"},i().createElement(R.HeaderGlobalAction,{"aria-label":e("implementerTools","Implementer Tools"),"aria-labelledby":"Implementer Tools",className:U.toolStyles,onClick:a.xq},A?i().createElement(s.CloseIcon,{size:20}):i().createElement(s.ToolsIcon,{size:20})))},K)},43639(e,A,n){"use strict";n.d(A,{bB:()=>t,s5:()=>o,xq:()=>s});let t=(0,n(43004).createGlobalStore)("implementer-tools",{activeItemDescription:null,configPathBeingEdited:null,isOpen:d(),hasAlert:!1,openTabIndex:0,isConfigToolbarOpen:l(),isUIEditorEnabled:C(),isJsonModeEnabled:p(),uiSelectedPath:null}),s=()=>t.setState(e=>({...e,isOpen:!e.isOpen,openTabIndex:0})),o=()=>t.setState(e=>({...e,isOpen:!0,openTabIndex:2})),i=d(),r=l(),a=C(),c=p();function d(){return JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsAreOpen")||"false")??!1}function l(){return JSON.parse(localStorage.getItem("openmrs:openmrsImplementerToolsConfigOpen")||"true")??!0}function C(){return JSON.parse(localStorage.getItem("openmrs:isUIEditorEnabled")||"false")??!1}function p(){return JSON.parse(localStorage.getItem("openmrs:getIsJsonModeEnabled")||"false")??!1}t.subscribe(e=>{var A,n,t,s;e.isOpen!=i&&(A=e.isOpen,localStorage.setItem("openmrs:openmrsImplementerToolsAreOpen",JSON.stringify(A)),i=e.isOpen),e.isUIEditorEnabled!=a&&(n=e.isUIEditorEnabled,localStorage.setItem("openmrs:isUIEditorEnabled",JSON.stringify(n)),a=e.isUIEditorEnabled),e.isConfigToolbarOpen!=r&&(t=e.isConfigToolbarOpen,localStorage.setItem("openmrs:openmrsImplementerToolsConfigOpen",JSON.stringify(t)),r=e.isConfigToolbarOpen),e.isJsonModeEnabled!=c&&(s=e.isJsonModeEnabled,localStorage.setItem("openmrs:getIsJsonModeEnabled",JSON.stringify(s)),c=e.isJsonModeEnabled)})}}]);
|
package/dist/3038.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3038.js","sources":["webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.styles.scss","webpack://@openmrs/esm-implementer-tools-app/./translations|lazy|nonrecursive|/.json$/","webpack://@openmrs/esm-implementer-tools-app/./src/backend-dependencies/openmrs-backend-dependencies.ts","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseFindIndex.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseIsNaN.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_strictIndexOf.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_arrayIncludes.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseIndexOf.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_arrayIncludesWith.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseDifference.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/difference.js","webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.styles.scss?8586","webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/backend-dependencies/useBackendDependencies.ts","webpack://@openmrs/esm-implementer-tools-app/./src/hooks.ts","webpack://@openmrs/esm-implementer-tools-app/./src/config-edit-button/config-edit-button.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/index.ts","webpack://@openmrs/esm-implementer-tools-app/./src/global-implementer-tools.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.button.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/store.ts"],"names":["Promise","Error","Object","cachedFrontendModules","b","Popup","React","UiEditor","PopupHandler","_useState","modulesWithMissingBackendModules","setModulesWithMissingBackendModules","frontendModules","useMemo","_window_installedModules","module","Boolean","backendDependencies","useEffect","checkModules","modules","installedBackendModules","_module_","_module_1","_module__optionalBackendDependencies","key","value","collected","nextUrl","safetyCounter","resolveNext","_collected","data","pageResults","nextLink","e","restBaseUrl","url","openmrsFetch","Array","links","l","console","_instanceof","err","m","dependencies","missingBackendModule","installedAndRequiredModules","requiredBackendModules","missingModules","difference","res","getInstalledAndRequiredBackendModules","optionalBackendModules","declaredBackendModules","requiredModules","installedUuids","Set","requiredModule","_dependencies","installedAndRequiredBackendModule","_installedBackendModules_find","moduleName","requiredVersion","installedVersion","mod","isVersionSatisfied","shouldShowNotification","setShouldShowNotification","t","useTranslation","alreadyShowing","n","showToast","showModuleDiagnostics","_useStore","implementerToolsStore","isOpen","isUIEditorEnabled","openTabIndex","styles","togglePopup","ConfigEditButton","param","configPath","onClick","importTranslation","require","options","implementerTools","getSyncLifecycle","UserHasAccess","globalImplementerTools","useStore","ChevronDownIcon","ChevronUpIcon","implementerToolsButton","HeaderGlobalAction","CloseIcon","ToolsIcon","createGlobalStore","getIsImplementerToolsOpen","getIsConfigToolbarOpen","getIsUIEditorEnabled","getIsJsonModeEnabled","state","lastValueOfIsOpen","lastValueOfConfigToolbarOpen","lastValueOfIsUiEditorEnabled","lastValueOfIsJsonModeEnabled","_JSON_parse","localStorage","enabled","JSON"],"mappings":"wNAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,otkBAAqtkB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,4DAA4D,gDAAgD,gFAAgF,oEAAoE,wFAAwF,oEAAoE,CAAC,MAAQ,EAAE,CAAC,SAAW,k+JAAk+J,eAAiB,CAAC,g/DAAg/D,o7BAAo7B,05DAA05D,0oHAA0oH,0sDAA0sD,o2HAAo2H,CAAC,WAAa,EAAE,EAAE,EAExsrC,EAAwB,MAAM,CAAG,CAChC,WAAc,uEACd,8BAAiC,0FACjC,uBAA0B,mFAC1B,UAAa,qEACd,EACA,MAAe,C,eCbf,IAAI,EAAM,CACR,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,MACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,MACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,MACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,Q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,KAAK,SAAS,CAACxF,IArB/EkF,EAA+BF,EAAM,mBAAmB,EAEtDA,EAAM,iBAAiB,EAAII,IAkCHG,EAjCLP,EAAM,iBAAiB,CAkC9CM,aAAa,OAAO,CAAC,+BAAgCE,KAAK,SAAS,CAACD,IAjClEH,EAA+BJ,EAAM,iBAAiB,CAE1D,E"}
|
|
1
|
+
{"version":3,"file":"3038.js","sources":["webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.styles.scss","webpack://@openmrs/esm-implementer-tools-app/./translations|lazy|nonrecursive|/.json$/","webpack://@openmrs/esm-implementer-tools-app/./src/backend-dependencies/openmrs-backend-dependencies.ts","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseFindIndex.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseIsNaN.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_strictIndexOf.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_arrayIncludes.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseIndexOf.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_arrayIncludesWith.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/_baseDifference.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/lodash-es/difference.js","webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.styles.scss?8586","webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/hooks.ts","webpack://@openmrs/esm-implementer-tools-app/./src/backend-dependencies/useBackendDependencies.ts","webpack://@openmrs/esm-implementer-tools-app/./src/config-edit-button/config-edit-button.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/index.ts","webpack://@openmrs/esm-implementer-tools-app/./src/global-implementer-tools.component.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/implementer-tools.button.tsx","webpack://@openmrs/esm-implementer-tools-app/./src/store.ts"],"names":["Promise","Error","Object","cachedFrontendModules","i","b","initInstalledBackendModules","fetchInstalledBackendModules","err","console","collected","nextUrl","restBaseUrl","safetyCounter","resolveNext","url","data","openmrsFetch","pageResults","Array","nextLink","links","l","e","checkModules","modules","window","module","Boolean","key","value","installedBackendModules","m","requiredBackendModules","dependencies","missingBackendModule","installedAndRequiredModules","missingModules","difference","res","getInstalledAndRequiredBackendModules","optionalBackendModules","declaredBackendModules","requiredModules","installedUuids","Set","requiredModule","installedAndRequiredBackendModule","requiredVersion","installedVersion","moduleName","mod","isVersionSatisfied","Popup","React","UiEditor","PopupHandler","frontendModules","useMemo","backendDependencies","useBackendDependencies","modulesWithMissingBackendModules","setModulesWithMissingBackendModules","useState","useEffect","shouldShowNotification","setShouldShowNotification","t","useTranslation","alreadyShowing","n","showToast","showModuleDiagnostics","isOpen","isUIEditorEnabled","openTabIndex","useStore","implementerToolsStore","styles","togglePopup","ConfigEditButton","configPath","importTranslation","require","options","implementerTools","getSyncLifecycle","UserHasAccess","globalImplementerTools","ChevronDownIcon","ChevronUpIcon","implementerToolsButton","HeaderGlobalAction","CloseIcon","ToolsIcon","createGlobalStore","getIsImplementerToolsOpen","getIsConfigToolbarOpen","getIsUIEditorEnabled","getIsJsonModeEnabled","state","lastValueOfIsOpen","lastValueOfConfigToolbarOpen","lastValueOfIsUiEditorEnabled","lastValueOfIsJsonModeEnabled","JSON","localStorage","enabled"],"mappings":"wNAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,otkBAAqtkB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,4DAA4D,gDAAgD,gFAAgF,oEAAoE,wFAAwF,oEAAoE,CAAC,MAAQ,EAAE,CAAC,SAAW,k+JAAk+J,eAAiB,CAAC,g/DAAg/D,o7BAAo7B,05DAA05D,0oHAA0oH,0sDAA0sD,o2HAAo2H,CAAC,WAAa,EAAE,EAAE,EAExsrC,EAAwB,MAAM,CAAG,CAChC,WAAc,uEACd,8BAAiC,0FACjC,uBAA0B,mFAC1B,UAAa,qEACd,EACA,MAAe,C,eCbf,IAAI,EAAM,CACR,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,MACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,MACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,MACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,OACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,MACD,CACD,iBAAkB,CAChB,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,eAAgB,CACd,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,OACA,OACD,CACD,YAAa,CACX,QACA,OACD,CACD,YAAa,CACX,QACA,OACD,AACH,EACA,SAAS,EAAuB,CAAG,EACjC,GAAG,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