@openmrs/esm-form-builder-app 3.1.1-pre.2142 → 3.1.1-pre.2147

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/dist/8091.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[8091],{26738:(e,n,o)=>{var t={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function r(e){if(!o.o(t,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=t[e],r=n[0];return o.e(n[1]).then((()=>o(r)))}r.keys=()=>Object.keys(t),r.id=26738,e.exports=r},38091:(e,n,o)=>{"use strict";o.r(n),o.d(n,{addFormReferenceModal:()=>h,deleteFormModal:()=>g,deletePageModal:()=>f,deleteQuestionModal:()=>b,deleteSectionModal:()=>m,editTranslationModal:()=>A,importTranslation:()=>a,newFormModal:()=>d,newPageModal:()=>u,newSectionModal:()=>p,questionModal:()=>y,restoreDraftSchemaModal:()=>j,root:()=>l,startupApp:()=>k,systemAdministrationFormBuilderCardLink:()=>c,unpublishFormModal:()=>_});var t=o(25987),r={questionTypes:{_type:t.Type.Array,_description:"Provides information that the processor uses to render a field",_default:["control","encounterDatetime","encounterLocation","encounterProvider","encounterRole","obs","obsGroup","patientIdentifier","personAttribute","testOrder","programState"]},fieldTypes:{_type:t.Type.Array,_description:"An array of available field types. A question can have only one field type, and the field type determines how the question is rendered.",_default:["date","drug","field-set","file","group","checkbox","checkbox-searchable","number","problem","radio","repeating","select","text","textarea","ui-select-extended","toggle","markdown"]},showSchemaSaveWarning:{_type:t.Type.Boolean,_default:!0,_description:"Whether to show a warning about possibly losing data in the forms dashboard"},dataTypeToRenderingMap:{_description:"A map used to match concept datatypes to rendering types",_type:t.Type.Object,_default:{Numeric:["number","fixed-value"],Coded:["select","checkbox","checkbox-searchable","radio","content-switcher","fixed-value","markdown","ui-select-extended","drug","problem","encounter-provider","encounter-location","select-concept-answers","encounter-role","multiCheckbox"],Text:["text","textarea","fixed-value"],Date:["date","fixed-value"],Datetime:["datetime","fixed-value"],Boolean:["toggle","select","radio","content-switcher","fixed-value"],Rule:["repeating","group"],"N/A":[],Complex:["file"]}},enableFormValidation:{_type:t.Type.Boolean,_default:!1,_description:"Whether to enable form validation"},blockRenderingWithErrors:{_type:t.Type.Boolean,_default:!1,_description:"Whether to enable form validation"}},i="@openmrs/esm-form-builder-app",s={featureName:"form-builder",moduleName:i},a=o(26738),l=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6104),o.e(7761),o.e(3356),o.e(3073),o.e(9789),o.e(6072),o.e(8488),o.e(3083),o.e(1208)]).then(o.bind(o,61208))}),s),c=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(4192)]).then(o.bind(o,4192))}),s),d=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(3896)]).then(o.bind(o,23896))}),s),u=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(1637)]).then(o.bind(o,11637))}),s),f=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(7140)]).then(o.bind(o,37140))}),s),p=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(8776)]).then(o.bind(o,88776))}),s),m=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(9544)]).then(o.bind(o,69544))}),s),h=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6104),o.e(6072),o.e(8488),o.e(3017)]).then(o.bind(o,73017))}),s),y=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6104),o.e(7761),o.e(3073),o.e(2629),o.e(6072),o.e(8488),o.e(5874)]).then(o.bind(o,85874))}),s),b=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(5328)]).then(o.bind(o,95328))}),s),j=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(7146)]).then(o.bind(o,37146))}),s),_=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(9852)]).then(o.bind(o,9852))}),s),g=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(6306)]).then(o.bind(o,76306))}),s),A=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(8295)]).then(o.bind(o,58295))}),s);function k(){(0,t.defineConfigSchema)(i,r)}}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[8091],{26738:(e,n,o)=>{var t={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function r(e){if(!o.o(t,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=t[e],r=n[0];return o.e(n[1]).then((()=>o(r)))}r.keys=()=>Object.keys(t),r.id=26738,e.exports=r},38091:(e,n,o)=>{"use strict";o.r(n),o.d(n,{addFormReferenceModal:()=>h,deleteFormModal:()=>g,deletePageModal:()=>f,deleteQuestionModal:()=>b,deleteSectionModal:()=>m,editTranslationModal:()=>A,importTranslation:()=>a,newFormModal:()=>d,newPageModal:()=>u,newSectionModal:()=>p,questionModal:()=>y,restoreDraftSchemaModal:()=>j,root:()=>l,startupApp:()=>k,systemAdministrationFormBuilderCardLink:()=>c,unpublishFormModal:()=>_});var t=o(25987),r={questionTypes:{_type:t.Type.Array,_description:"Provides information that the processor uses to render a field",_default:["control","encounterDatetime","encounterLocation","encounterProvider","encounterRole","obs","obsGroup","patientIdentifier","personAttribute","testOrder","programState"]},fieldTypes:{_type:t.Type.Array,_description:"An array of available field types. A question can have only one field type, and the field type determines how the question is rendered.",_default:["date","drug","field-set","file","group","checkbox","checkbox-searchable","number","problem","radio","repeating","select","text","textarea","ui-select-extended","toggle","markdown"]},showSchemaSaveWarning:{_type:t.Type.Boolean,_default:!0,_description:"Whether to show a warning about possibly losing data in the forms dashboard"},dataTypeToRenderingMap:{_description:"A map used to match concept datatypes to rendering types",_type:t.Type.Object,_default:{Numeric:["number","fixed-value"],Coded:["select","checkbox","checkbox-searchable","radio","content-switcher","fixed-value","markdown","ui-select-extended","drug","problem","encounter-provider","encounter-location","select-concept-answers","encounter-role","multiCheckbox"],Text:["text","textarea","fixed-value"],Date:["date","fixed-value"],Datetime:["datetime","fixed-value"],Boolean:["toggle","select","radio","content-switcher","fixed-value"],Rule:["repeating","group"],"N/A":[],Complex:["file"]}},enableFormValidation:{_type:t.Type.Boolean,_default:!1,_description:"Whether to enable form validation"},blockRenderingWithErrors:{_type:t.Type.Boolean,_default:!1,_description:"Whether to enable form validation"}},i="@openmrs/esm-form-builder-app",s={featureName:"form-builder",moduleName:i},a=o(26738),l=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6104),o.e(7761),o.e(3356),o.e(3073),o.e(6708),o.e(6072),o.e(8488),o.e(3083),o.e(1208)]).then(o.bind(o,61208))}),s),c=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(4192)]).then(o.bind(o,4192))}),s),d=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(3896)]).then(o.bind(o,23896))}),s),u=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(1637)]).then(o.bind(o,11637))}),s),f=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(7140)]).then(o.bind(o,37140))}),s),p=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(8776)]).then(o.bind(o,88776))}),s),m=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(9544)]).then(o.bind(o,69544))}),s),h=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6104),o.e(6072),o.e(8488),o.e(3017)]).then(o.bind(o,73017))}),s),y=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6104),o.e(7761),o.e(3073),o.e(2629),o.e(6072),o.e(8488),o.e(5874)]).then(o.bind(o,85874))}),s),b=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(5328)]).then(o.bind(o,95328))}),s),j=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(7146)]).then(o.bind(o,37146))}),s),_=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(9852)]).then(o.bind(o,9852))}),s),g=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(6306)]).then(o.bind(o,76306))}),s),A=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(8045),o.e(6072),o.e(8488),o.e(8295)]).then(o.bind(o,58295))}),s);function k(){(0,t.defineConfigSchema)(i,r)}}}]);
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,r,n,t,o={26738:(e,r,n)=>{var t={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function o(e){if(!n.o(t,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=t[e],o=r[0];return n.e(r[1]).then((()=>n(o)))}o.keys=()=>Object.keys(t),o.id=26738,e.exports=o},38091:(e,r,n)=>{"use strict";var t=n(25987),o={featureName:"form-builder",moduleName:(t.Type.Array,t.Type.Array,t.Type.Boolean,t.Type.Object,t.Type.Boolean,t.Type.Boolean,"@openmrs/esm-form-builder-app")};n(26738),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6104),n.e(7761),n.e(3356),n.e(3073),n.e(9789),n.e(6072),n.e(8488),n.e(3083),n.e(1208)]).then(n.bind(n,61208))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(4192)]).then(n.bind(n,4192))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(3896)]).then(n.bind(n,23896))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(1637)]).then(n.bind(n,11637))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(7140)]).then(n.bind(n,37140))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(8776)]).then(n.bind(n,88776))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(9544)]).then(n.bind(n,69544))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6104),n.e(6072),n.e(8488),n.e(3017)]).then(n.bind(n,73017))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6104),n.e(7761),n.e(3073),n.e(2629),n.e(6072),n.e(8488),n.e(5874)]).then(n.bind(n,85874))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(5328)]).then(n.bind(n,95328))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(7146)]).then(n.bind(n,37146))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(9852)]).then(n.bind(n,9852))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(6306)]).then(n.bind(n,76306))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(8295)]).then(n.bind(n,58295))}),o)}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.c=i,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,t){if(1&t&&(n=this(n)),8&t)return n;if("object"==typeof n&&n){if(4&t&&n.__esModule)return n;if(16&t&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,r({}),r([]),r(r)];for(var s=2&t&&n;"object"==typeof s&&!~e.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,a.d(o,i),o},a.d=(e,r)=>{for(var n in r)a.o(r,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,n)=>(a.f[n](e,r),r)),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n={},t="@openmrs/esm-form-builder-app:",a.l=(e,r,o,i)=>{if(n[e])n[e].push(r);else{var s,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var f=u[c];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+o),s.src=e),n[e]=[r];var d=(r,t)=>{s.onerror=s.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(t))),r)return r(t)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{a.S={};var e={},r={};a.I=(n,t)=>{t||(t=[]);var o=r[n];if(o||(o=r[n]={}),!(t.indexOf(o)>=0)){if(t.push(o),e[n])return e[n];a.o(a.S,n)||(a.S[n]={});var i=a.S[n],s="@openmrs/esm-form-builder-app",l=(e,r,n,t)=>{var o=i[e]=i[e]||{},a=o[r];(!a||!a.loaded&&(!t!=!a.eager?t:s>a.from))&&(o[r]={get:n,from:s,eager:!!t})},u=[];return"default"===n&&(l("@openmrs/esm-framework","6.3.1-pre.3149",(()=>Promise.all([a.e(8045),a.e(6104),a.e(7761),a.e(3356),a.e(8043),a.e(6072),a.e(8488),a.e(3083),a.e(5987)]).then((()=>()=>a(68043))))),l("react-dom","18.3.1",(()=>Promise.all([a.e(961),a.e(6072)]).then((()=>()=>a(40961))))),l("react-i18next","11.18.6",(()=>Promise.all([a.e(6072),a.e(1033)]).then((()=>()=>a(93414))))),l("react","18.3.1",(()=>a.e(6540).then((()=>()=>a(96540))))),l("rxjs","6.6.7",(()=>a.e(3184).then((()=>()=>a(63184)))))),e[n]=u.length?Promise.all(u).then((()=>e[n]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var r=a.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var n=r.getElementsByTagName("script");if(n.length)for(var t=n.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=n[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=n[1]?r(n[1]):[];return n[2]&&(t.length++,t.push.apply(t,r(n[2]))),n[3]&&(t.push([]),t.push.apply(t,r(n[3]))),t},r=e=>{var n=e[0],t="";if(1===e.length)return"*";if(n+.5){t+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,t+="u"==(typeof(s=e[i]))[0]?"-":(o>0?".":"")+(o=2,s);return t}var a=[];for(i=1;i<e.length;i++){var s=e[i];a.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?a.pop()+" "+a.pop():r(s))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},n=(r,t)=>{if(0 in r){t=e(t);var o=r[0],i=o<0;i&&(o=-o-1);for(var a=0,s=1,l=!0;;s++,a++){var u,c,f=s<r.length?(typeof r[s])[0]:"";if(a>=t.length||"o"==(c=(typeof(u=t[a]))[0]))return!l||("u"==f?s>o&&!i:""==f!=i);if("u"==c){if(!l||"u"!=f)return!1}else if(l)if(f==c)if(s<=o){if(u!=r[s])return!1}else{if(i?u>r[s]:u<r[s])return!1;u!=r[s]&&(l=!1)}else if("s"!=f&&"n"!=f){if(i||s<=o)return!1;l=!1,s--}else{if(s<=o||c<f!=i)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,s--)}}var d=[],p=d.pop.bind(d);for(a=1;a<r.length;a++){var h=r[a];d.push(1==h?p()|p():2==h?p()&p():h?n(h,t):!p())}return!!p()},t=(r,n,t)=>{var o=t?(e=>Object.keys(e).reduce(((r,n)=>(e[n].eager&&(r[n]=e[n]),r)),{}))(r[n]):r[n];return Object.keys(o).reduce(((r,n)=>!r||!o[r].loaded&&((r,n)=>{r=e(r),n=e(n);for(var t=0;;){if(t>=r.length)return t<n.length&&"u"!=(typeof n[t])[0];var o=r[t],i=(typeof o)[0];if(t>=n.length)return"u"==i;var a=n[t],s=(typeof a)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;t++}})(r,n)?n:r),0)},o=(e,r,n)=>n?n():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),i=(e=>function(r,n,t,o,i){var s=a.I(r);return s&&s.then&&!t?s.then(e.bind(e,r,a.S[r],n,!1,o,i)):e(r,a.S[r],n,t,o,i)})(((e,i,s,l,u,c)=>{if(!((e,r)=>e&&a.o(e,r))(i,s))return o(e,s,c);var f,d,p=t(i,s,l);return n(u,p)||(d=((e,n,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[n][t].from)+" of shared singleton module "+n+" (required "+r(o)+")")(i,s,p,u),"undefined"!=typeof console&&console.warn&&console.warn(d)),(f=i[s][p]).loaded=1,f.get()})),s={},l={25987:()=>i("default","@openmrs/esm-framework",!1,[0],(()=>Promise.all([a.e(8045),a.e(6104),a.e(7761),a.e(3356),a.e(8043),a.e(6072),a.e(8488),a.e(3083)]).then((()=>()=>a(68043))))),16072:()=>i("default","react",!1,[1,18],(()=>a.e(6540).then((()=>()=>a(96540))))),53941:()=>i("default","react-i18next",!1,[1,11],(()=>a.e(3414).then((()=>()=>a(93414))))),92646:()=>i("default","react-dom",!1,[1,18],(()=>a.e(961).then((()=>()=>a(40961))))),53083:()=>i("default","rxjs",!1,[1,6],(()=>a.e(3184).then((()=>()=>a(63184)))))};[25987].forEach((e=>{a.m[e]=r=>{s[e]=0,delete a.c[e];var n=l[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=n()}}));var u={3083:[53083],5987:[25987],6072:[16072],8488:[53941,92646],8792:[25987]},c={};a.f.consumes=(e,r)=>{a.o(u,e)&&u[e].forEach((e=>{if(a.o(s,e))return r.push(s[e]);if(!c[e]){var n=r=>{s[e]=0,a.m[e]=n=>{delete a.c[e],n.exports=r()}};c[e]=!0;var t=r=>{delete s[e],a.m[e]=n=>{throw delete a.c[e],r}};try{var o=l[e]();o.then?r.push(s[e]=o.then(n).catch(t)):n(o)}catch(e){t(e)}}}))}})(),(()=>{var e={5987:0,8091:0,8792:0};a.f.j=(r,n)=>{var t=a.o(e,r)?e[r]:void 0;if(0!==t)if(t)n.push(t[2]);else if(/^(3083|5987|6072|8488)$/.test(r))e[r]=0;else{var o=new Promise(((n,o)=>t=e[r]=[n,o]));n.push(t[2]=o);var i=a.p+a.u(r),s=new Error;a.l(i,(n=>{if(a.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,t[1](s)}}),"chunk-"+r,r)}};var r=(r,n)=>{var t,o,[i,s,l]=n,u=0;if(i.some((r=>0!==e[r]))){for(t in s)a.o(s,t)&&(a.m[t]=s[t]);l&&l(a)}for(r&&r(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),a.nc=void 0,a(38091)})();
1
+ (()=>{var e,r,n,t,o={26738:(e,r,n)=>{var t={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function o(e){if(!n.o(t,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=t[e],o=r[0];return n.e(r[1]).then((()=>n(o)))}o.keys=()=>Object.keys(t),o.id=26738,e.exports=o},38091:(e,r,n)=>{"use strict";var t=n(25987),o={featureName:"form-builder",moduleName:(t.Type.Array,t.Type.Array,t.Type.Boolean,t.Type.Object,t.Type.Boolean,t.Type.Boolean,"@openmrs/esm-form-builder-app")};n(26738),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6104),n.e(7761),n.e(3356),n.e(3073),n.e(6708),n.e(6072),n.e(8488),n.e(3083),n.e(1208)]).then(n.bind(n,61208))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(4192)]).then(n.bind(n,4192))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(3896)]).then(n.bind(n,23896))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(1637)]).then(n.bind(n,11637))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(7140)]).then(n.bind(n,37140))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(8776)]).then(n.bind(n,88776))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(9544)]).then(n.bind(n,69544))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6104),n.e(6072),n.e(8488),n.e(3017)]).then(n.bind(n,73017))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6104),n.e(7761),n.e(3073),n.e(2629),n.e(6072),n.e(8488),n.e(5874)]).then(n.bind(n,85874))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(5328)]).then(n.bind(n,95328))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(7146)]).then(n.bind(n,37146))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(9852)]).then(n.bind(n,9852))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(6306)]).then(n.bind(n,76306))}),o),(0,t.getAsyncLifecycle)((function(){return Promise.all([n.e(8045),n.e(6072),n.e(8488),n.e(8295)]).then(n.bind(n,58295))}),o)}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.c=i,a.amdD=function(){throw new Error("define cannot be used indirect")},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,t){if(1&t&&(n=this(n)),8&t)return n;if("object"==typeof n&&n){if(4&t&&n.__esModule)return n;if(16&t&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,r({}),r([]),r(r)];for(var s=2&t&&n;"object"==typeof s&&!~e.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,a.d(o,i),o},a.d=(e,r)=>{for(var n in r)a.o(r,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,n)=>(a.f[n](e,r),r)),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n={},t="@openmrs/esm-form-builder-app:",a.l=(e,r,o,i)=>{if(n[e])n[e].push(r);else{var s,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var f=u[c];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+o),s.src=e),n[e]=[r];var d=(r,t)=>{s.onerror=s.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(t))),r)return r(t)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{a.S={};var e={},r={};a.I=(n,t)=>{t||(t=[]);var o=r[n];if(o||(o=r[n]={}),!(t.indexOf(o)>=0)){if(t.push(o),e[n])return e[n];a.o(a.S,n)||(a.S[n]={});var i=a.S[n],s="@openmrs/esm-form-builder-app",l=(e,r,n,t)=>{var o=i[e]=i[e]||{},a=o[r];(!a||!a.loaded&&(!t!=!a.eager?t:s>a.from))&&(o[r]={get:n,from:s,eager:!!t})},u=[];return"default"===n&&(l("@openmrs/esm-framework","6.3.1-pre.3149",(()=>Promise.all([a.e(8045),a.e(6104),a.e(7761),a.e(3356),a.e(8043),a.e(6072),a.e(8488),a.e(3083),a.e(5987)]).then((()=>()=>a(68043))))),l("react-dom","18.3.1",(()=>Promise.all([a.e(961),a.e(6072)]).then((()=>()=>a(40961))))),l("react-i18next","11.18.6",(()=>Promise.all([a.e(6072),a.e(1033)]).then((()=>()=>a(93414))))),l("react","18.3.1",(()=>a.e(6540).then((()=>()=>a(96540))))),l("rxjs","6.6.7",(()=>a.e(3184).then((()=>()=>a(63184)))))),e[n]=u.length?Promise.all(u).then((()=>e[n]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var r=a.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var n=r.getElementsByTagName("script");if(n.length)for(var t=n.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=n[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),t=n[1]?r(n[1]):[];return n[2]&&(t.length++,t.push.apply(t,r(n[2]))),n[3]&&(t.push([]),t.push.apply(t,r(n[3]))),t},r=e=>{var n=e[0],t="";if(1===e.length)return"*";if(n+.5){t+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,t+="u"==(typeof(s=e[i]))[0]?"-":(o>0?".":"")+(o=2,s);return t}var a=[];for(i=1;i<e.length;i++){var s=e[i];a.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?a.pop()+" "+a.pop():r(s))}return l();function l(){return a.pop().replace(/^\((.+)\)$/,"$1")}},n=(r,t)=>{if(0 in r){t=e(t);var o=r[0],i=o<0;i&&(o=-o-1);for(var a=0,s=1,l=!0;;s++,a++){var u,c,f=s<r.length?(typeof r[s])[0]:"";if(a>=t.length||"o"==(c=(typeof(u=t[a]))[0]))return!l||("u"==f?s>o&&!i:""==f!=i);if("u"==c){if(!l||"u"!=f)return!1}else if(l)if(f==c)if(s<=o){if(u!=r[s])return!1}else{if(i?u>r[s]:u<r[s])return!1;u!=r[s]&&(l=!1)}else if("s"!=f&&"n"!=f){if(i||s<=o)return!1;l=!1,s--}else{if(s<=o||c<f!=i)return!1;l=!1}else"s"!=f&&"n"!=f&&(l=!1,s--)}}var d=[],p=d.pop.bind(d);for(a=1;a<r.length;a++){var h=r[a];d.push(1==h?p()|p():2==h?p()&p():h?n(h,t):!p())}return!!p()},t=(r,n,t)=>{var o=t?(e=>Object.keys(e).reduce(((r,n)=>(e[n].eager&&(r[n]=e[n]),r)),{}))(r[n]):r[n];return Object.keys(o).reduce(((r,n)=>!r||!o[r].loaded&&((r,n)=>{r=e(r),n=e(n);for(var t=0;;){if(t>=r.length)return t<n.length&&"u"!=(typeof n[t])[0];var o=r[t],i=(typeof o)[0];if(t>=n.length)return"u"==i;var a=n[t],s=(typeof a)[0];if(i!=s)return"o"==i&&"n"==s||"s"==s||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;t++}})(r,n)?n:r),0)},o=(e,r,n)=>n?n():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),i=(e=>function(r,n,t,o,i){var s=a.I(r);return s&&s.then&&!t?s.then(e.bind(e,r,a.S[r],n,!1,o,i)):e(r,a.S[r],n,t,o,i)})(((e,i,s,l,u,c)=>{if(!((e,r)=>e&&a.o(e,r))(i,s))return o(e,s,c);var f,d,p=t(i,s,l);return n(u,p)||(d=((e,n,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[n][t].from)+" of shared singleton module "+n+" (required "+r(o)+")")(i,s,p,u),"undefined"!=typeof console&&console.warn&&console.warn(d)),(f=i[s][p]).loaded=1,f.get()})),s={},l={25987:()=>i("default","@openmrs/esm-framework",!1,[0],(()=>Promise.all([a.e(8045),a.e(6104),a.e(7761),a.e(3356),a.e(8043),a.e(6072),a.e(8488),a.e(3083)]).then((()=>()=>a(68043))))),16072:()=>i("default","react",!1,[1,18],(()=>a.e(6540).then((()=>()=>a(96540))))),53941:()=>i("default","react-i18next",!1,[1,11],(()=>a.e(3414).then((()=>()=>a(93414))))),92646:()=>i("default","react-dom",!1,[1,18],(()=>a.e(961).then((()=>()=>a(40961))))),53083:()=>i("default","rxjs",!1,[1,6],(()=>a.e(3184).then((()=>()=>a(63184)))))};[25987].forEach((e=>{a.m[e]=r=>{s[e]=0,delete a.c[e];var n=l[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=n()}}));var u={3083:[53083],5987:[25987],6072:[16072],8488:[53941,92646],8792:[25987]},c={};a.f.consumes=(e,r)=>{a.o(u,e)&&u[e].forEach((e=>{if(a.o(s,e))return r.push(s[e]);if(!c[e]){var n=r=>{s[e]=0,a.m[e]=n=>{delete a.c[e],n.exports=r()}};c[e]=!0;var t=r=>{delete s[e],a.m[e]=n=>{throw delete a.c[e],r}};try{var o=l[e]();o.then?r.push(s[e]=o.then(n).catch(t)):n(o)}catch(e){t(e)}}}))}})(),(()=>{var e={5987:0,8091:0,8792:0};a.f.j=(r,n)=>{var t=a.o(e,r)?e[r]:void 0;if(0!==t)if(t)n.push(t[2]);else if(/^(3083|5987|6072|8488)$/.test(r))e[r]=0;else{var o=new Promise(((n,o)=>t=e[r]=[n,o]));n.push(t[2]=o);var i=a.p+a.u(r),s=new Error;a.l(i,(n=>{if(a.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,t[1](s)}}),"chunk-"+r,r)}};var r=(r,n)=>{var t,o,[i,s,l]=n,u=0;if(i.some((r=>0!==e[r]))){for(t in s)a.o(s,t)&&(a.m[t]=s[t]);l&&l(a)}for(r&&r(n);u<i.length;u++)o=i[u],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})(),a.nc=void 0,a(38091)})();