@openmrs/esm-implementer-tools-app 3.2.0 → 3.2.1-pre.1015

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/217.js +1 -1
  2. package/dist/217.js.map +1 -1
  3. package/dist/237.js +1 -1
  4. package/dist/237.js.map +1 -1
  5. package/dist/25.js +1 -1
  6. package/dist/25.js.map +1 -1
  7. package/dist/307.js +1 -1
  8. package/dist/307.js.map +1 -1
  9. package/dist/389.js +2 -0
  10. package/dist/389.js.map +1 -0
  11. package/dist/574.js +1 -1
  12. package/dist/597.js +3 -0
  13. package/dist/{682.js.LICENSE.txt → 597.js.LICENSE.txt} +0 -0
  14. package/dist/{682.js.map → 597.js.map} +1 -1
  15. package/dist/664.js +2 -0
  16. package/dist/664.js.map +1 -0
  17. package/dist/743.js +2 -0
  18. package/dist/743.js.map +1 -0
  19. package/dist/788.js +1 -1
  20. package/dist/788.js.map +1 -1
  21. package/dist/839.js +1 -1
  22. package/dist/839.js.map +1 -1
  23. package/dist/865.js +2 -0
  24. package/dist/{185.js.map → 865.js.map} +1 -1
  25. package/dist/openmrs-esm-implementer-tools-app.js +1 -2
  26. package/dist/openmrs-esm-implementer-tools-app.js.buildmanifest.json +101 -101
  27. package/dist/openmrs-esm-implementer-tools-app.js.map +1 -1
  28. package/dist/openmrs-esm-implementer-tools-app.old +2 -0
  29. package/jest.config.js +1 -1
  30. package/package.json +4 -3
  31. package/src/backend-dependencies/backend-dependencies.component.tsx +1 -1
  32. package/src/configuration/config-tree-for-module.component.tsx +2 -2
  33. package/src/configuration/config-tree.component.tsx +22 -25
  34. package/src/configuration/configuration.component.tsx +20 -21
  35. package/src/configuration/configuration.styles.scss +70 -0
  36. package/src/configuration/configuration.test.tsx +19 -13
  37. package/src/configuration/description.component.tsx +20 -6
  38. package/src/configuration/description.styles.scss +23 -0
  39. package/src/configuration/display-value.tsx +21 -9
  40. package/src/configuration/editable-value.component.tsx +19 -15
  41. package/src/configuration/{editable-value.styles.css → editable-value.styles.scss} +11 -0
  42. package/src/configuration/extension-slots-config-tree.tsx +5 -19
  43. package/src/configuration/value-editor.tsx +9 -13
  44. package/src/configuration/value-editors/array-editor.tsx +1 -2
  45. package/src/configuration/value-editors/{concept-search.styles.css → concept-search.styles.scss} +10 -0
  46. package/src/configuration/value-editors/concept-search.tsx +53 -31
  47. package/src/configuration/value-editors/extension-slot-add.tsx +9 -4
  48. package/src/configuration/value-editors/extension-slot-remove.tsx +2 -2
  49. package/src/configuration/value-editors/person-attribute-search.resource.tsx +18 -0
  50. package/src/configuration/value-editors/person-attribute-search.tsx +123 -0
  51. package/src/configuration/value-editors/uuid-search.scss +23 -0
  52. package/src/configuration/value-editors/value-editor-field.tsx +12 -1
  53. package/src/declarations.d.tsx +2 -4
  54. package/src/implementer-tools.button.tsx +3 -7
  55. package/src/implementer-tools.component.tsx +3 -2
  56. package/src/implementer-tools.styles.scss +19 -0
  57. package/src/popup/popup.component.tsx +4 -9
  58. package/src/popup/{popup.styles.css → popup.styles.scss} +10 -17
  59. package/src/ui-editor/ui-editor.tsx +12 -14
  60. package/translations/en.json +7 -1
  61. package/dist/143.js +0 -2
  62. package/dist/143.js.map +0 -1
  63. package/dist/185.js +0 -2
  64. package/dist/682.js +0 -3
  65. package/dist/684.js +0 -2
  66. package/dist/684.js.map +0 -1
  67. package/dist/728.js +0 -2
  68. package/dist/728.js.map +0 -1
  69. package/src/configuration/configuration.styles.css +0 -70
  70. package/src/configuration/description.styles.css +0 -19
  71. package/src/implementer-tools.styles.css +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"openmrs-esm-implementer-tools-app.js","mappings":"6GAAIA,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAgBAC,EAMAC,EAGAC,EAiCAC,EAqCAC,EAYAC,EACAC,EAUAC,E,mBChIJC,EAFuB,WAER,I,eCFf,MAAMC,EAAmB,UAEzBC,EAAQ,EAAiB,SAAwBC,GAY7C,GA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,GAAG6E,EAASG,MAAMtH,GAAgC,IAAxBuG,EAAgBvG,KAAa,CACtD,IAAIF,KAAYsH,EACZxI,EAAoBM,EAAEkI,EAAatH,KACrClB,EAAoBwB,EAAEN,GAAYsH,EAAYtH,IAG7CuH,GAAsBA,EAAQzI,GAGlC,IADGqI,GAA4BA,EAA2BC,GACrD5E,EAAI6E,EAASjJ,OAAQoE,IACzBrB,EAAUkG,EAAS7E,GAChB1D,EAAoBM,EAAEqH,EAAiBtF,IAAYsF,EAAgBtF,IACrEsF,EAAgBtF,GAAS,KAE1BsF,EAAgBY,EAAS7E,IAAM,GAK7BiF,EAAqBC,KAAqD,+CAAIA,KAAqD,gDAAK,GAC5ID,EAAmBhE,QAAQyD,EAAqBtD,KAAK,KAAM,IAC3D6D,EAAmBtF,KAAO+E,EAAqBtD,KAAK,KAAM6D,EAAmBtF,KAAKyB,KAAK6D,K,GClFvF3I,EAAoB,MACMA,EAAoB,O","sources":["webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/load script","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/consumes","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/auto-public-path/index.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/public-path.js","webpack://@openmrs/esm-implementer-tools-app/webpack/container-entry","webpack://@openmrs/esm-implementer-tools-app/webpack/bootstrap","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/__system_context__","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/define property getters","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/global","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/sharing","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/publicPath","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-implementer-tools-app/webpack/startup"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@openmrs/esm-implementer-tools-app:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t6983: () => (loadSingletonVersionCheckFallback(\"default\", \"react\", [1,16], () => (__webpack_require__.e(735).then(() => (() => (__webpack_require__(2735))))))),\n\t2680: () => (loadSingletonVersionCheckFallback(\"default\", \"react-i18next\", [1,11], () => (__webpack_require__.e(684).then(() => (() => (__webpack_require__(8684))))))),\n\t7657: () => (loadSingletonVersionCheckFallback(\"default\", \"@openmrs/esm-framework\", [0,3,1,14,,\"pre\"], () => (__webpack_require__.e(217).then(() => (() => (__webpack_require__(7217))))))),\n\t5412: () => (loadSingletonVersionCheckFallback(\"default\", \"react-dom\", [1,16], () => (__webpack_require__.e(788).then(() => (() => (__webpack_require__(2788))))))),\n\t6240: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-icons\", [1,7], () => (__webpack_require__.e(860).then(() => (() => (__webpack_require__(4860))))))),\n\t7569: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-components\", [1,10], () => (__webpack_require__.e(25).then(() => (() => (__webpack_require__(25))))))),\n\t9784: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-components-react\", [1,7], () => (Promise.all([__webpack_require__.e(682), __webpack_require__.e(412), __webpack_require__.e(199)]).then(() => (() => (__webpack_require__(3682)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"199\": [\n\t\t6240,\n\t\t7569\n\t],\n\t\"307\": [\n\t\t2680,\n\t\t7657\n\t],\n\t\"412\": [\n\t\t5412\n\t],\n\t\"784\": [\n\t\t9784\n\t],\n\t\"983\": [\n\t\t6983\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","const resolveDirectory = require(\"../public-path\").resolveDirectory;\n\nexports.autoPublicPath = function autoPublicPath(rootDirLevel) {\n if (!rootDirLevel) {\n rootDirLevel = 1;\n }\n\n if (typeof __webpack_public_path__ !== \"undefined\") {\n if (typeof __system_context__ === \"undefined\") {\n throw Error(\n \"systemjs-webpack-interop requires webpack@>=5.0.0-beta.15 and output.libraryTarget set to 'system'\"\n );\n }\n\n if (!__system_context__.meta || !__system_context__.meta.url) {\n console.error(\"__system_context__\", __system_context__);\n throw Error(\n \"systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(\n __system_context__.meta.url,\n rootDirLevel\n );\n }\n};\n","require(\"./1\");\n","exports.setPublicPath = function setPublicPath(\n systemjsModuleName,\n rootDirectoryLevel\n) {\n if (!rootDirectoryLevel) {\n rootDirectoryLevel = 1;\n }\n if (\n typeof systemjsModuleName !== \"string\" ||\n systemjsModuleName.trim().length === 0\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName) must be called with a non-empty string 'systemjsModuleName'\"\n );\n }\n\n if (\n typeof rootDirectoryLevel !== \"number\" ||\n rootDirectoryLevel <= 0 ||\n isNaN(rootDirectoryLevel) ||\n !isInteger(rootDirectoryLevel)\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName, rootDirectoryLevel) must be called with a positive integer 'rootDirectoryLevel'\"\n );\n }\n\n var moduleUrl;\n try {\n moduleUrl = window.System.resolve(systemjsModuleName);\n if (!moduleUrl) {\n throw Error();\n }\n } catch (err) {\n throw Error(\n \"systemjs-webpack-interop: There is no such module '\" +\n systemjsModuleName +\n \"' in the SystemJS registry. Did you misspell the name of your module?\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(moduleUrl, rootDirectoryLevel);\n};\n\nfunction resolveDirectory(urlString, rootDirectoryLevel) {\n // Our friend IE11 doesn't support new URL()\n // https://github.com/single-spa/single-spa/issues/612\n // https://gist.github.com/jlong/2428561\n\n var a = document.createElement(\"a\");\n a.href = urlString;\n\n var pathname = a.pathname[0] === \"/\" ? a.pathname : \"/\" + a.pathname;\n var numDirsProcessed = 0,\n index = pathname.length;\n while (numDirsProcessed !== rootDirectoryLevel && index >= 0) {\n var char = pathname[--index];\n if (char === \"/\") {\n numDirsProcessed++;\n }\n }\n\n if (numDirsProcessed !== rootDirectoryLevel) {\n throw Error(\n \"systemjs-webpack-interop: rootDirectoryLevel (\" +\n rootDirectoryLevel +\n \") is greater than the number of directories (\" +\n numDirsProcessed +\n \") in the URL path \" +\n urlString\n );\n }\n\n var finalPath = pathname.slice(0, index + 1);\n\n return a.protocol + \"//\" + a.host + finalPath;\n}\n\nexports.resolveDirectory = resolveDirectory;\n\n// borrowed from https://github.com/parshap/js-is-integer/blob/master/index.js\nvar isInteger =\n Number.isInteger ||\n function isInteger(val) {\n return typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n };\n","var moduleMap = {\n\t\"app\": () => {\n\t\treturn Promise.all([__webpack_require__.e(983), __webpack_require__.e(307)]).then(() => (() => ((__webpack_require__(5307)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar oldScope = __webpack_require__.S[\"default\"];\n\tvar name = \"default\"\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.y = __system_context__;","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"@openmrs/esm-implementer-tools-app\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@openmrs/esm-framework\", \"3.2.0\", () => (__webpack_require__.e(217).then(() => (() => (__webpack_require__(7217))))));\n\t\t\tregister(\"carbon-components-react\", \"7.31.0\", () => (Promise.all([__webpack_require__.e(682), __webpack_require__.e(983), __webpack_require__.e(412), __webpack_require__.e(199), __webpack_require__.e(237)]).then(() => (() => (__webpack_require__(3682))))));\n\t\t\tregister(\"carbon-components\", \"10.31.0\", () => (Promise.all([__webpack_require__.e(25), __webpack_require__.e(1)]).then(() => (() => (__webpack_require__(25))))));\n\t\t\tregister(\"carbon-icons\", \"7.0.7\", () => (__webpack_require__.e(860).then(() => (() => (__webpack_require__(4860))))));\n\t\t\tregister(\"react-dom\", \"16.14.0\", () => (Promise.all([__webpack_require__.e(788), __webpack_require__.e(983)]).then(() => (() => (__webpack_require__(2788))))));\n\t\t\tregister(\"react-i18next\", \"11.11.4\", () => (Promise.all([__webpack_require__.e(684), __webpack_require__.e(983)]).then(() => (() => (__webpack_require__(8684))))));\n\t\t\tregister(\"react\", \"16.14.0\", () => (__webpack_require__.e(735).then(() => (() => (__webpack_require__(2735))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t346: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(199|412|784|983)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_openmrs_esm_implementer_tools_app\"] = self[\"webpackChunk_openmrs_esm_implementer_tools_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(8331);\nvar __webpack_exports__ = __webpack_require__(3055);\n"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingletonVersion","get","loadSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","autoPublicPath","resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","Number","isInteger","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","undefined","init","shareScope","initScope","S","oldScope","name","I","d","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","y","__system_context__","n","getter","__esModule","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","done","push","script","needAttach","scripts","getElementsByTagName","i","s","getAttribute","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","p","str","split","map","exec","apply","b","t","range","pop","replace","requiredVersion","scopeName","warn","entry","promise","fallback","consumes","onFactory","onError","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self"],"sourceRoot":""}
1
+ {"version":3,"file":"openmrs-esm-implementer-tools-app.js","mappings":"6GAAIA,EACAC,ECDAC,EAIAC,EAIAC,EAIAC,EAgBAC,EAMAC,EAOAC,EAiCAC,EA6CAC,EAYAC,EACAC,EAUAC,E,mBC5IJC,EAFuB,WAER,I,eCFf,MAAMC,EAAmB,UAEzBC,EAAQ,EAAiB,SAAwBC,GAY7C,GAXGA,IACHA,EAAe,IAUV,IAAmBC,OAAS,IAAmBA,KAAKC,IAEvD,MADAC,QAAQC,MAAM,qBAAsB,KAC9BC,MACJ,uHAIJ,IAA0BP,EACxB,IAAmBG,KAAKC,IACxBF,K,eCvBN,EAAQ,O,eC8ERD,EAAQ,EAlCR,SAA0BO,EAAWC,GAKnC,IAAIC,EAAIC,SAASC,cAAc,KAC/BF,EAAEG,KAAOL,EAKT,IAHA,IAAIM,EAA6B,MAAlBJ,EAAEI,SAAS,GAAaJ,EAAEI,SAAW,IAAMJ,EAAEI,SAC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BtF,IAAYsF,EAAgBtF,IACrEsF,EAAgBtF,GAAS,KAE1BsF,EAAgBtF,GAAW,GAKzBsG,EAAqBC,KAAqD,+CAAIA,KAAqD,gDAAK,GAC5ID,EAAmBhE,QAAQyD,EAAqBtD,KAAK,KAAM,IAC3D6D,EAAmBtF,KAAO+E,EAAqBtD,KAAK,KAAM6D,EAAmBtF,KAAKyB,KAAK6D,K,GClFvF3I,EAAoB,MACMA,EAAoB,O","sources":["webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/load script","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/consumes","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/auto-public-path/index.js","webpack://@openmrs/esm-implementer-tools-app/../../../node_modules/systemjs-webpack-interop/public-path.js","webpack://@openmrs/esm-implementer-tools-app/webpack/container-entry","webpack://@openmrs/esm-implementer-tools-app/webpack/bootstrap","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/__system_context__","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/define property getters","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/global","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/sharing","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/publicPath","webpack://@openmrs/esm-implementer-tools-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-implementer-tools-app/webpack/startup"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@openmrs/esm-implementer-tools-app:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t6983: () => (loadSingletonVersionCheckFallback(\"default\", \"react\", [1,16], () => (__webpack_require__.e(735).then(() => (() => (__webpack_require__(2735))))))),\n\t2680: () => (loadSingletonVersionCheckFallback(\"default\", \"react-i18next\", [1,11], () => (__webpack_require__.e(743).then(() => (() => (__webpack_require__(5743))))))),\n\t7657: () => (loadSingletonVersionCheckFallback(\"default\", \"@openmrs/esm-framework\", [0,3,1,14,,\"pre\"], () => (__webpack_require__.e(217).then(() => (() => (__webpack_require__(7217))))))),\n\t5412: () => (loadSingletonVersionCheckFallback(\"default\", \"react-dom\", [1,16], () => (__webpack_require__.e(788).then(() => (() => (__webpack_require__(2788))))))),\n\t6240: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-icons\", [1,7], () => (__webpack_require__.e(860).then(() => (() => (__webpack_require__(4860))))))),\n\t7569: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-components\", [1,10], () => (__webpack_require__.e(25).then(() => (() => (__webpack_require__(25))))))),\n\t9784: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-components-react\", [1,7], () => (Promise.all([__webpack_require__.e(597), __webpack_require__.e(412), __webpack_require__.e(199)]).then(() => (() => (__webpack_require__(9597)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"199\": [\n\t\t6240,\n\t\t7569\n\t],\n\t\"307\": [\n\t\t2680,\n\t\t7657\n\t],\n\t\"412\": [\n\t\t5412\n\t],\n\t\"784\": [\n\t\t9784\n\t],\n\t\"983\": [\n\t\t6983\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","const resolveDirectory = require(\"../public-path\").resolveDirectory;\n\nexports.autoPublicPath = function autoPublicPath(rootDirLevel) {\n if (!rootDirLevel) {\n rootDirLevel = 1;\n }\n\n if (typeof __webpack_public_path__ !== \"undefined\") {\n if (typeof __system_context__ === \"undefined\") {\n throw Error(\n \"systemjs-webpack-interop requires webpack@>=5.0.0-beta.15 and output.libraryTarget set to 'system'\"\n );\n }\n\n if (!__system_context__.meta || !__system_context__.meta.url) {\n console.error(\"__system_context__\", __system_context__);\n throw Error(\n \"systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(\n __system_context__.meta.url,\n rootDirLevel\n );\n }\n};\n","require(\"./1\");\n","exports.setPublicPath = function setPublicPath(\n systemjsModuleName,\n rootDirectoryLevel\n) {\n if (!rootDirectoryLevel) {\n rootDirectoryLevel = 1;\n }\n if (\n typeof systemjsModuleName !== \"string\" ||\n systemjsModuleName.trim().length === 0\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName) must be called with a non-empty string 'systemjsModuleName'\"\n );\n }\n\n if (\n typeof rootDirectoryLevel !== \"number\" ||\n rootDirectoryLevel <= 0 ||\n isNaN(rootDirectoryLevel) ||\n !isInteger(rootDirectoryLevel)\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName, rootDirectoryLevel) must be called with a positive integer 'rootDirectoryLevel'\"\n );\n }\n\n var moduleUrl;\n try {\n moduleUrl = window.System.resolve(systemjsModuleName);\n if (!moduleUrl) {\n throw Error();\n }\n } catch (err) {\n throw Error(\n \"systemjs-webpack-interop: There is no such module '\" +\n systemjsModuleName +\n \"' in the SystemJS registry. Did you misspell the name of your module?\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(moduleUrl, rootDirectoryLevel);\n};\n\nfunction resolveDirectory(urlString, rootDirectoryLevel) {\n // Our friend IE11 doesn't support new URL()\n // https://github.com/single-spa/single-spa/issues/612\n // https://gist.github.com/jlong/2428561\n\n var a = document.createElement(\"a\");\n a.href = urlString;\n\n var pathname = a.pathname[0] === \"/\" ? a.pathname : \"/\" + a.pathname;\n var numDirsProcessed = 0,\n index = pathname.length;\n while (numDirsProcessed !== rootDirectoryLevel && index >= 0) {\n var char = pathname[--index];\n if (char === \"/\") {\n numDirsProcessed++;\n }\n }\n\n if (numDirsProcessed !== rootDirectoryLevel) {\n throw Error(\n \"systemjs-webpack-interop: rootDirectoryLevel (\" +\n rootDirectoryLevel +\n \") is greater than the number of directories (\" +\n numDirsProcessed +\n \") in the URL path \" +\n urlString\n );\n }\n\n var finalPath = pathname.slice(0, index + 1);\n\n return a.protocol + \"//\" + a.host + finalPath;\n}\n\nexports.resolveDirectory = resolveDirectory;\n\n// borrowed from https://github.com/parshap/js-is-integer/blob/master/index.js\nvar isInteger =\n Number.isInteger ||\n function isInteger(val) {\n return typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n };\n","var moduleMap = {\n\t\"app\": () => {\n\t\treturn Promise.all([__webpack_require__.e(983), __webpack_require__.e(307)]).then(() => (() => ((__webpack_require__(5307)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.y = __system_context__;","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"@openmrs/esm-implementer-tools-app\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@openmrs/esm-framework\", \"3.2.1-pre.1015\", () => (__webpack_require__.e(217).then(() => (() => (__webpack_require__(7217))))));\n\t\t\tregister(\"carbon-components-react\", \"7.31.0\", () => (Promise.all([__webpack_require__.e(597), __webpack_require__.e(983), __webpack_require__.e(412), __webpack_require__.e(199), __webpack_require__.e(237)]).then(() => (() => (__webpack_require__(9597))))));\n\t\t\tregister(\"carbon-components\", \"10.31.0\", () => (Promise.all([__webpack_require__.e(25), __webpack_require__.e(1)]).then(() => (() => (__webpack_require__(25))))));\n\t\t\tregister(\"carbon-icons\", \"7.0.7\", () => (__webpack_require__.e(860).then(() => (() => (__webpack_require__(4860))))));\n\t\t\tregister(\"react-dom\", \"16.14.0\", () => (Promise.all([__webpack_require__.e(788), __webpack_require__.e(983)]).then(() => (() => (__webpack_require__(2788))))));\n\t\t\tregister(\"react-i18next\", \"11.15.4\", () => (Promise.all([__webpack_require__.e(743), __webpack_require__.e(983)]).then(() => (() => (__webpack_require__(5743))))));\n\t\t\tregister(\"react\", \"16.14.0\", () => (__webpack_require__.e(735).then(() => (() => (__webpack_require__(2735))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t346: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(199|412|784|983)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_openmrs_esm_implementer_tools_app\"] = self[\"webpackChunk_openmrs_esm_implementer_tools_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(8331);\nvar __webpack_exports__ = __webpack_require__(3055);\n"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingletonVersion","get","loadSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","autoPublicPath","resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","Number","isInteger","moduleMap","Promise","all","__webpack_require__","e","then","module","getScope","R","o","resolve","undefined","init","shareScope","initScope","S","name","oldScope","I","d","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","y","__system_context__","n","getter","__esModule","definition","key","Object","defineProperty","enumerable","f","chunkId","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","done","push","script","needAttach","scripts","getElementsByTagName","i","s","getAttribute","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","p","str","split","map","exec","apply","b","t","range","pop","replace","requiredVersion","scopeName","warn","entry","promise","fallback","consumes","onFactory","onError","installedChunks","j","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ System.register("@openmrs/esm-implementer-tools-app",[],(function(e,r){return{execute:function(){e((()=>{var e,t,n,o,a,i,s,l,u,p,f,c,d,h,m={6585:(e,r,t)=>{(0,t(7968).s)(1)},7968:(e,r,t)=>{const n=t(1577).R;r.s=function(e){if(e||(e=1),!t.y.meta||!t.y.meta.url)throw console.error("__system_context__",t.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");t.p=n(t.y.meta.url,e)}},8331:(e,r,t)=>{t(6585)},1577:(e,r,t)=>{r.R=function(e,r){var t=document.createElement("a");t.href=e;for(var n="/"===t.pathname[0]?t.pathname:"/"+t.pathname,o=0,a=n.length;o!==r&&a>=0;)"/"===n[--a]&&o++;if(o!==r)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+r+") is greater than the number of directories ("+o+") in the URL path "+e);var i=n.slice(0,a+1);return t.protocol+"//"+t.host+i};Number.isInteger},3055:(e,r,t)=>{"use strict";var n={app:()=>Promise.all([t.e(983),t.e(307)]).then((()=>()=>t(5307)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},v={};function b(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}return b.m=m,b.c=v,b.y=r,b.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return b.d(r,{a:r}),r},b.d=(e,r)=>{for(var t in r)b.o(r,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((r,t)=>(b.f[t](e,r),r)),[])),b.u=e=>e+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},t="@openmrs/esm-implementer-tools-app:",b.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var i,s;if(void 0!==o)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var p=l[u];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+o){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,b.nc&&i.setAttribute("nonce",b.nc),i.setAttribute("data-webpack",t+o),i.src=r),e[r]=[n];var f=(t,n)=>{i.onerror=i.onload=null,clearTimeout(c);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),s&&document.head.appendChild(i)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{b.S={};var e={},r={};b.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];b.o(b.S,t)||(b.S[t]={});var a=b.S[t],i="@openmrs/esm-implementer-tools-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},l=[];return"default"===t&&(s("@openmrs/esm-framework","3.2.1-pre.1015",(()=>b.e(217).then((()=>()=>b(7217))))),s("carbon-components-react","7.31.0",(()=>Promise.all([b.e(597),b.e(983),b.e(412),b.e(199),b.e(237)]).then((()=>()=>b(9597))))),s("carbon-components","10.31.0",(()=>Promise.all([b.e(25),b.e(1)]).then((()=>()=>b(25))))),s("carbon-icons","7.0.7",(()=>b.e(860).then((()=>()=>b(4860))))),s("react-dom","16.14.0",(()=>Promise.all([b.e(788),b.e(983)]).then((()=>()=>b(2788))))),s("react-i18next","11.15.4",(()=>Promise.all([b.e(743),b.e(983)]).then((()=>()=>b(5743))))),s("react","16.14.0",(()=>b.e(735).then((()=>()=>b(2735)))))),e[t]=l.length?Promise.all(l).then((()=>e[t]=1)):1}}})(),b.p="",n=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=n(e),r=n(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var o=e[t],a=(typeof o)[0];if(t>=r.length)return"u"==a;var i=r[t],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;t++}},a=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(s=e[o]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var i=[];for(o=1;o<e.length;o++){var s=e[o];i.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?i.pop()+" "+i.pop():a(s))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=n(r);var t=e[0],o=t<0;o&&(t=-t-1);for(var a=0,s=1,l=!0;;s++,a++){var u,p,f=s<e.length?(typeof e[s])[0]:"";if(a>=r.length||"o"==(p=(typeof(u=r[a]))[0]))return!l||("u"==f?s>t&&!o:""==f!=o);if("u"==p){if(!l||"u"!=f)return!1}else if(l)if(f==p)if(s<=t){if(u!=e[s])return!1}else{if(o?u>e[s]:u<e[s])return!1;u!=e[s]&&(l=!1)}else if("s"!=f&&"n"!=f){if(o||s<=t)return!1;l=!1,s--}else{if(s<=t||p<f!=o)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,s--)}}var c=[],d=c.pop.bind(c);for(a=1;a<e.length;a++){var h=e[a];c.push(1==h?d()|d():2==h?d()&d():h?i(h,r):!d())}return!!d()},s=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",u=(e,r,t,n)=>{var o=s(e,t);return i(n,o)||"undefined"!=typeof console&&console.warn&&console.warn(l(e,t,o,n)),p(e[t][o])},p=e=>(e.loaded=1,e.get()),f=(e=>function(r,t,n,o){var a=b.I(r);return a&&a.then?a.then(e.bind(e,r,b.S[r],t,n,o)):e(0,b.S[r],t,n,o)})(((e,r,t,n,o)=>r&&b.o(r,t)?u(r,0,t,n):o())),c={},d={6983:()=>f("default","react",[1,16],(()=>b.e(735).then((()=>()=>b(2735))))),2680:()=>f("default","react-i18next",[1,11],(()=>b.e(743).then((()=>()=>b(5743))))),7657:()=>f("default","@openmrs/esm-framework",[0,3,1,14,,"pre"],(()=>b.e(217).then((()=>()=>b(7217))))),5412:()=>f("default","react-dom",[1,16],(()=>b.e(788).then((()=>()=>b(2788))))),6240:()=>f("default","carbon-icons",[1,7],(()=>b.e(860).then((()=>()=>b(4860))))),7569:()=>f("default","carbon-components",[1,10],(()=>b.e(25).then((()=>()=>b(25))))),9784:()=>f("default","carbon-components-react",[1,7],(()=>Promise.all([b.e(597),b.e(412),b.e(199)]).then((()=>()=>b(9597)))))},h={199:[6240,7569],307:[2680,7657],412:[5412],784:[9784],983:[6983]},b.f.consumes=(e,r)=>{b.o(h,e)&&h[e].forEach((e=>{if(b.o(c,e))return r.push(c[e]);var t=r=>{c[e]=0,b.m[e]=t=>{delete b.c[e],t.exports=r()}},n=r=>{delete c[e],b.m[e]=t=>{throw delete b.c[e],r}};try{var o=d[e]();o.then?r.push(c[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={346:0};b.f.j=(r,t)=>{var n=b.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(199|412|784|983)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=b.p+b.u(r),i=new Error;b.l(a,(t=>{if(b.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,s]=t,l=0;if(a.some((r=>0!==e[r]))){for(n in i)b.o(i,n)&&(b.m[n]=i[n]);s&&s(b)}for(r&&r(t);l<a.length;l++)o=a[l],b.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_openmrs_esm_implementer_tools_app=self.webpackChunk_openmrs_esm_implementer_tools_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),b(8331),b(3055)})())}}}));
2
+ //# sourceMappingURL=openmrs-esm-implementer-tools-app.js.map
package/jest.config.js CHANGED
@@ -7,7 +7,7 @@ module.exports = {
7
7
  },
8
8
  moduleNameMapper: {
9
9
  "lodash-es": "lodash",
10
- "\\.(css)$": "identity-obj-proxy",
10
+ "\\.(s?css)$": "identity-obj-proxy",
11
11
  "^@carbon/icons-react/es/(.*)$": "@carbon/icons-react/lib/$1",
12
12
  "^carbon-components-react/es/(.*)$": "carbon-components-react/lib/$1",
13
13
  "@openmrs/esm-framework": "@openmrs/esm-framework/mock.tsx",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-implementer-tools-app",
3
- "version": "3.2.0",
3
+ "version": "3.2.1-pre.1015",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The admin interface for OpenMRS Frontend",
6
6
  "browser": "dist/openmrs-esm-implementer-tools-app.js",
@@ -51,12 +51,13 @@
51
51
  "rxjs": "6.x"
52
52
  },
53
53
  "devDependencies": {
54
- "@openmrs/esm-framework": "^3.2.0",
54
+ "@openmrs/esm-framework": "^3.2.1-pre.1015",
55
+ "@openmrs/webpack-config": "^3.2.1-pre.1015",
55
56
  "@types/carbon-components-react": "^7.24.0",
56
57
  "jest": "^26.6.3",
57
58
  "react": "^16.13.1",
58
59
  "react-dom": "^16.13.1",
59
60
  "rxjs": "^6.5.3"
60
61
  },
61
- "gitHead": "9c4a04089e29ff99321d6fef72294f402deb0f7b"
62
+ "gitHead": "2a10b8956cd63006bd913b18a2a482fa9a0134ec"
62
63
  }
@@ -40,7 +40,7 @@ export const ModuleDiagnostics: React.FC<ModuleDiagnosticsProps> = ({
40
40
  );
41
41
 
42
42
  return (
43
- <div>
43
+ <div style={{ height: "50vh", overflowY: "auto" }}>
44
44
  <DataTable rows={[]} headers={headers}>
45
45
  {({ headers, getTableProps, getHeaderProps }) => (
46
46
  <TableContainer title="">
@@ -16,11 +16,11 @@ export function ConfigTreeForModule({
16
16
  return (
17
17
  <TreeContainer>
18
18
  <ExtensionSlotsConfigTree
19
- extensionsConfig={config.extensions}
19
+ extensionsConfig={config.extensionSlots}
20
20
  moduleName={moduleName}
21
21
  />
22
22
  <ConfigSubtree
23
- config={pickBy(config, (v, key) => key !== "extensions")}
23
+ config={pickBy(config, (v, key) => key !== "extensionSlots")}
24
24
  path={[moduleName]}
25
25
  />
26
26
  </TreeContainer>
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import styles from "./configuration.styles.css";
2
+ import styles from "./configuration.styles.scss";
3
3
  import { Accordion, AccordionItem } from "carbon-components-react";
4
4
  import { ConfigTreeForModule } from "./config-tree-for-module.component";
5
5
 
@@ -9,29 +9,26 @@ export interface ConfigTreeProps {
9
9
 
10
10
  export function ConfigTree({ config }: ConfigTreeProps) {
11
11
  return (
12
- <div>
13
- <Accordion align="start">
14
- {config &&
15
- Object.keys(config)
16
- .sort()
17
- .map((moduleName) => {
18
- const moduleConfig = config[moduleName];
19
- return Object.keys(moduleConfig).length ? (
20
- <AccordionItem
21
- title={<h6 className={styles.moduleName}>{moduleName}</h6>}
22
- className={styles.fullWidthAccordion}
23
- key={`accordion-${moduleName}`}
24
- >
25
- <div key={`${moduleName}-config`}>
26
- <ConfigTreeForModule
27
- config={moduleConfig}
28
- moduleName={moduleName}
29
- />
30
- </div>
31
- </AccordionItem>
32
- ) : null;
33
- })}
34
- </Accordion>
35
- </div>
12
+ <Accordion align="start">
13
+ {config &&
14
+ Object.keys(config)
15
+ .sort()
16
+ .map((moduleName) => {
17
+ const moduleConfig = config[moduleName];
18
+ return Object.keys(moduleConfig).length ? (
19
+ <AccordionItem
20
+ title={<h6 className={styles.moduleName}>{moduleName}</h6>}
21
+ className={styles.fullWidthAccordion}
22
+ key={`accordion-${moduleName}`}
23
+ >
24
+ <ConfigTreeForModule
25
+ config={moduleConfig}
26
+ moduleName={moduleName}
27
+ key={`${moduleName}-config`}
28
+ />
29
+ </AccordionItem>
30
+ ) : null;
31
+ })}
32
+ </Accordion>
36
33
  );
37
34
  }
@@ -9,16 +9,16 @@ import {
9
9
  configInternalStore,
10
10
  implementerToolsConfigStore,
11
11
  temporaryConfigStore,
12
- useExtensionStore,
12
+ useExtensionInternalStore,
13
13
  useStore,
14
14
  } from "@openmrs/esm-framework";
15
15
  import {
16
16
  Button,
17
- Column,
18
- Grid,
19
- Row,
20
17
  TextInput,
21
18
  Toggle,
19
+ Grid,
20
+ Column,
21
+ Row,
22
22
  } from "carbon-components-react";
23
23
  import { useTranslation } from "react-i18next";
24
24
  import { implementerToolsStore, ImplementerToolsStore } from "../store";
@@ -26,7 +26,7 @@ import { ConfigTree } from "./config-tree.component";
26
26
  import { Description } from "./description.component";
27
27
  import cloneDeep from "lodash-es/cloneDeep";
28
28
  import isEmpty from "lodash-es/isEmpty";
29
- import styles from "./configuration.styles.css";
29
+ import styles from "./configuration.styles.scss";
30
30
 
31
31
  function isLeaf(configNode: Config) {
32
32
  return (
@@ -86,7 +86,7 @@ export const Configuration: React.FC<ConfigurationProps> = () => {
86
86
  configActions
87
87
  );
88
88
  const { config } = useStore(implementerToolsConfigStore);
89
- const extensionStore = useExtensionStore();
89
+ const extensionStore = useExtensionInternalStore();
90
90
  const tempConfigStore = useStore(temporaryConfigStore);
91
91
  const [filterText, setFilterText] = useState("");
92
92
  const tempConfig = tempConfigStore.config;
@@ -100,12 +100,12 @@ export const Configuration: React.FC<ConfigurationProps> = () => {
100
100
  const combinedConfig = useMemo(() => {
101
101
  const result = cloneDeep(config);
102
102
  for (let slot of Object.values(extensionStore.slots)) {
103
- for (let moduleName of Object.keys(slot.instances)) {
104
- if (!result[moduleName].extensions) {
105
- result[moduleName].extensions = {};
103
+ if (slot.moduleName) {
104
+ if (!result[slot.moduleName].extensionSlots) {
105
+ result[slot.moduleName].extensionSlots = {};
106
106
  }
107
- if (!result[moduleName].extensions[slot.name]) {
108
- result[moduleName].extensions[slot.name] = {};
107
+ if (!result[slot.moduleName].extensionSlots[slot.name]) {
108
+ result[slot.moduleName].extensionSlots[slot.name] = {};
109
109
  }
110
110
  }
111
111
  }
@@ -137,8 +137,14 @@ export const Configuration: React.FC<ConfigurationProps> = () => {
137
137
  return (
138
138
  <>
139
139
  <div className={styles.tools}>
140
+ <div className={styles.toggleToolbarButton}>
141
+ <OpenOrCloseButton
142
+ isConfigToolbarOpen={isConfigToolbarOpen}
143
+ toggleIsToolbarOpen={toggleIsToolbarOpen}
144
+ />
145
+ </div>
140
146
  {isConfigToolbarOpen ? (
141
- <Grid style={{ margin: "0.25rem", padding: "0.5em 1.5em" }}>
147
+ <Grid style={{ padding: "0.5em 1.5em" }}>
142
148
  <Row>
143
149
  <Column sm={1} md={2}>
144
150
  <TextInput
@@ -193,20 +199,13 @@ export const Configuration: React.FC<ConfigurationProps> = () => {
193
199
  </Row>
194
200
  </Grid>
195
201
  ) : null}
196
- <div className={styles.toggleToolbarButton}>
197
- <OpenOrCloseButton
198
- isConfigToolbarOpen={isConfigToolbarOpen}
199
- toggleIsToolbarOpen={toggleIsToolbarOpen}
200
- />
201
- </div>
202
202
  </div>
203
203
  <div
204
204
  className={styles.mainContent}
205
205
  style={{
206
- marginTop: isConfigToolbarOpen ? "72px" : "25px",
207
206
  height: isConfigToolbarOpen
208
- ? "calc(50vh - 114px)"
209
- : "calc(50vh - 68px)",
207
+ ? "calc(50vh - 7rem)"
208
+ : "calc(50vh - 2rem)",
210
209
  }}
211
210
  >
212
211
  <div className={styles.configTreePane}>
@@ -0,0 +1,70 @@
1
+ @import "../implementer-tools.styles.scss";
2
+
3
+ .tools {
4
+ width: 100%;
5
+ background-color: $ui-03;
6
+ border-bottom: 1px solid $ui-04;
7
+ border-top: 1px solid $color-gray-30;
8
+ z-index: 2;
9
+ position: sticky;
10
+ top: 0;
11
+ }
12
+
13
+ .toolbar {
14
+ padding: $spacing-05 $spacing-05 0;
15
+ display: flex;
16
+ justify-content: space-around;
17
+ align-items: center;
18
+ }
19
+
20
+ .downloadLink {
21
+ text-decoration: none;
22
+ color: inherit;
23
+ }
24
+
25
+ .mainContent {
26
+ max-height: 50vh;
27
+ background-color: $ui-01;
28
+ width: 100%;
29
+ display: flex;
30
+ overflow-y: auto;
31
+ }
32
+
33
+ .configTreePane {
34
+ width: 65%;
35
+ // overflow-wrap: break-word;
36
+ overflow-x: auto;
37
+ overflow-y: auto;
38
+ }
39
+
40
+ .descriptionPane {
41
+ width: 35%;
42
+ background-color: $ui-03;
43
+ color: #424242;
44
+ padding: $spacing-05 2em;
45
+ font-size: 12pt;
46
+ overflow-wrap: break-word;
47
+ overflow-y: auto;
48
+ }
49
+
50
+ .configTreePane :global(.bx--text-input-wrapper) {
51
+ min-width: 8em;
52
+ }
53
+
54
+ .fullWidthAccordion :global(.bx--accordion__content) {
55
+ padding-right: 0;
56
+ }
57
+
58
+ .toggleToolbarButton {
59
+ width: 100%;
60
+ display: flex;
61
+ justify-content: flex-end;
62
+ }
63
+
64
+ .valueEditorButtons {
65
+ margin-top: $spacing-03;
66
+ }
67
+
68
+ .smallListCell {
69
+ padding: $spacing-03;
70
+ }
@@ -123,11 +123,12 @@ describe(`<Configuration />`, () => {
123
123
  expect(rowElement).toBeInTheDocument();
124
124
  if (rowElement) {
125
125
  const row = within(rowElement as HTMLElement);
126
- const valueButton = row.getByText("false");
127
- fireEvent.click(valueButton);
126
+ const value = row.getByText("false");
127
+ const editButton = row.getByText("Edit").parentElement as any;
128
+ fireEvent.click(editButton);
128
129
  const editor = await row.findByRole("checkbox");
129
130
  fireEvent.click(editor);
130
- fireEvent.click(row.getByText("Save").parentElement as any);
131
+ fireEvent.click(row.getByText("Save"));
131
132
  // The mocked temporaryConfigStore.getState seems to be producing something
132
133
  // that doesn't work right, causing the `set` call and consequently this
133
134
  // `setState` call not to work either.
@@ -161,13 +162,14 @@ describe(`<Configuration />`, () => {
161
162
  if (rowElement) {
162
163
  const row = within(rowElement as HTMLElement);
163
164
  const valueButton = row.getByText("38c650cf-85d5-41b4-b0b1-46709248acca");
164
- fireEvent.click(valueButton);
165
+ const editButton = row.getByText("Edit").parentElement as any;
166
+ fireEvent.click(editButton);
165
167
  const editor = await row.findByRole("combobox");
166
168
  userEvent.type(editor, "fed");
167
169
  expect(mockPerformConceptSearch).toHaveBeenCalledWith("fed");
168
170
  const targetConcept = await row.findByText("Fedora");
169
171
  userEvent.click(targetConcept);
170
- userEvent.click(row.getByText("Save").parentElement as any);
172
+ userEvent.click(row.getByText("Save"));
171
173
  expect(temporaryConfigStore.setState).toHaveBeenCalledWith({
172
174
  config: {
173
175
  "@openmrs/mario": { hatUuid: "61523693-72e2-456d-8c64-8c5293febeb6" },
@@ -191,12 +193,13 @@ describe(`<Configuration />`, () => {
191
193
  const row = within(rowElement as HTMLElement);
192
194
  const valueButton = row.getByText("8");
193
195
  expect(valueButton).toBeInTheDocument();
194
- fireEvent.click(valueButton);
196
+ const editButton = row.getByText("Edit").parentElement as any;
197
+ fireEvent.click(editButton);
195
198
  const editor = await row.findByRole("spinbutton");
196
199
  expect(editor).toHaveAttribute("type", "number");
197
200
  userEvent.clear(editor);
198
201
  userEvent.type(editor, "11");
199
- userEvent.click(row.getByText("Save").parentElement as any);
202
+ userEvent.click(row.getByText("Save"));
200
203
  expect(temporaryConfigStore.setState).toHaveBeenCalledWith({
201
204
  config: { "@openmrs/mario": { numberFingers: 11 } },
202
205
  });
@@ -217,11 +220,12 @@ describe(`<Configuration />`, () => {
217
220
  if (rowElement) {
218
221
  const row = within(rowElement as HTMLElement);
219
222
  const valueButton = row.getByText("Waluigi");
220
- fireEvent.click(valueButton);
223
+ const editButton = row.getByText("Edit").parentElement as any;
224
+ fireEvent.click(editButton);
221
225
  const editor = await row.findByRole("textbox");
222
226
  userEvent.clear(editor);
223
227
  userEvent.type(editor, "Bowser");
224
- userEvent.click(row.getByText("Save").parentElement as any);
228
+ userEvent.click(row.getByText("Save"));
225
229
  expect(temporaryConfigStore.setState).toHaveBeenCalledWith({
226
230
  config: { "@openmrs/mario": { nemesisName: "Bowser" } },
227
231
  });
@@ -242,12 +246,13 @@ describe(`<Configuration />`, () => {
242
246
  if (rowElement) {
243
247
  const row = within(rowElement as HTMLElement);
244
248
  const valueButton = row.getByText("181aee4a-5664-42da-8699-c36d28083bd0");
245
- fireEvent.click(valueButton);
249
+ const editButton = row.getByText("Edit").parentElement as any;
250
+ fireEvent.click(editButton);
246
251
  const editor = await row.findByRole("textbox");
247
252
  userEvent.clear(editor);
248
253
  const newUuid = "34f03796-f0e2-4f64-9e9a-28fb49a94baf";
249
254
  userEvent.type(editor, newUuid);
250
- userEvent.click(row.getByText("Save").parentElement as any);
255
+ userEvent.click(row.getByText("Save"));
251
256
  expect(temporaryConfigStore.setState).toHaveBeenCalledWith({
252
257
  config: { "@openmrs/mario": { mustacheUuid: newUuid } },
253
258
  });
@@ -267,8 +272,9 @@ describe(`<Configuration />`, () => {
267
272
  expect(rowElement).toBeInTheDocument();
268
273
  if (rowElement) {
269
274
  const row = within(rowElement as HTMLElement);
270
- const valueButton = row.getByText("4, 12");
271
- userEvent.click(valueButton);
275
+ const valueButton = row.getByText("[ 4, 12 ]");
276
+ const editButton = row.getByText("Edit").parentElement as any;
277
+ fireEvent.click(editButton);
272
278
  const firstValue = row.getByDisplayValue("4");
273
279
  expect(firstValue).toHaveAttribute("type", "number");
274
280
  userEvent.clear(firstValue);