@openmrs/esm-form-builder-app 2.2.2-pre.651 → 2.2.2-pre.658

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/153.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[153],{59153:(e,r,o)=>{"use strict";o.r(r),o.d(r,{importTranslation:()=>s,root:()=>d,startupApp:()=>l,systemAdministrationFormBuilderCardLink:()=>p});var t=o(81132),n={questionTypes:{_type:t.Type.Array,_description:"Provides information that the processor uses to render a field",_default:["complex-obs","control","encounterDatetime","encounterLocation","encounterProvider","obs","obsGroup","personAttribute","testOrder","patientIdentifier"]},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","multiCheckbox","number","problem","radio","repeating","select","text","textarea","ui-select-extended"]},showSchemaSaveWarning:{_type:t.Type.Boolean,_default:!0,_description:"Whether to show a warning about possibly losing data in the forms dashboard"}},i="@openmrs/esm-form-builder-app",a={featureName:"form-builder",moduleName:i},s=o(82920),d=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(501),o.e(127),o.e(223),o.e(672),o.e(144),o.e(259)]).then(o.bind(o,84124))}),a),p=(0,t.getAsyncLifecycle)((function(){return Promise.all([o.e(501),o.e(672),o.e(144),o.e(447)]).then(o.bind(o,31447))}),a);function l(){(0,t.defineConfigSchema)(i,n),(0,t.registerBreadcrumbs)([{path:"".concat(window.spaBase,"/form-builder"),title:"Form Builder",parent:"".concat(window.spaBase,"/home")},{path:"".concat(window.spaBase,"/form-builder/new"),title:"Form Editor",parent:"".concat(window.spaBase,"/form-builder")},{path:"".concat(window.spaBase,"/form-builder/edit/:uuid"),title:"Form Editor",parent:"".concat(window.spaBase,"/form-builder")}])}},82920:(e,r,o)=>{var t={"./am.json":[68788,788],"./en.json":[13574,574],"./es.json":[98319,319],"./fr.json":[22757,757],"./he.json":[35833,833],"./km.json":[27807,807]};function n(e){if(!o.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],n=r[0];return o.e(r[1]).then((()=>o(n)))}n.keys=()=>Object.keys(t),n.id=82920,e.exports=n}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[153],{59153:(e,r,t)=>{"use strict";t.r(r),t.d(r,{importTranslation:()=>a,root:()=>d,startupApp:()=>p,systemAdministrationFormBuilderCardLink:()=>l});var o=t(81132),n={questionTypes:{_type:o.Type.Array,_description:"Provides information that the processor uses to render a field",_default:["complex-obs","control","encounterDatetime","encounterLocation","encounterProvider","obs","obsGroup","personAttribute","testOrder","patientIdentifier"]},fieldTypes:{_type:o.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","multiCheckbox","number","problem","radio","repeating","select","text","textarea","ui-select-extended"]},showSchemaSaveWarning:{_type:o.Type.Boolean,_default:!0,_description:"Whether to show a warning about possibly losing data in the forms dashboard"}},i="@openmrs/esm-form-builder-app",s={featureName:"form-builder",moduleName:i},a=t(82920),d=(0,o.getAsyncLifecycle)((function(){return Promise.all([t.e(565),t.e(127),t.e(626),t.e(672),t.e(144),t.e(729)]).then(t.bind(t,94073))}),s),l=(0,o.getAsyncLifecycle)((function(){return Promise.all([t.e(565),t.e(672),t.e(144),t.e(447)]).then(t.bind(t,31447))}),s);function p(){(0,o.defineConfigSchema)(i,n)}},82920:(e,r,t)=>{var o={"./am.json":[68788,788],"./en.json":[13574,574],"./es.json":[98319,319],"./fr.json":[22757,757],"./he.json":[35833,833],"./km.json":[27807,807]};function n(e){if(!t.o(o,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=o[e],n=r[0];return t.e(r[1]).then((()=>t(n)))}n.keys=()=>Object.keys(o),n.id=82920,e.exports=n}}]);
package/dist/153.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"153.js","mappings":"2RAEaA,EAAe,CAC1BC,cAAe,CACbC,MAAOC,EAAAA,KAAKC,MACZC,aAAc,iEACdC,SAAU,CACR,cACA,UACA,oBACA,oBACA,oBACA,MACA,WACA,kBACA,YACA,sBAGJC,WAAY,CACVL,MAAOC,EAAAA,KAAKC,MACZC,aACE,0IACFC,SAAU,CACR,OACA,OACA,YACA,OACA,QACA,gBACA,SACA,UACA,QACA,YACA,SACA,OACA,WACA,uBAGJE,sBAAuB,CACrBN,MAAOC,EAAAA,KAAKM,QACZH,UAAU,EACVD,aAAc,gFCxCZK,EAAa,gCAEbC,EAAU,CACdC,YAAa,eACbF,WAAAA,GAGWG,EAAoBC,EAAAA,OAEpBC,GAAOC,EAAAA,EAAAA,oBAAkB,W,OAAM,0F,GAA4BL,GAE3DM,GAA0CD,EAAAA,EAAAA,oBACrD,W,OAAM,wE,GACNL,GAGK,SAASO,KACdC,EAAAA,EAAAA,oBAAmBT,EAAYV,IAE/BoB,EAAAA,EAAAA,qBAAoB,CAClB,CACEC,KAAM,GAAkB,OAAfC,OAAOC,QAAQ,iBACxBC,MAAO,eACPC,OAAQ,GAAkB,OAAfH,OAAOC,QAAQ,UAE5B,CACEF,KAAM,GAAkB,OAAfC,OAAOC,QAAQ,qBACxBC,MAAO,cACPC,OAAQ,GAAkB,OAAfH,OAAOC,QAAQ,kBAE5B,CACEF,KAAM,GAAkB,OAAfC,OAAOC,QAAQ,4BACxBC,MAAO,cACPC,OAAQ,GAAkB,OAAfH,OAAOC,QAAQ,mBAGhC,C,kBCvCA,IAAIG,EAAM,CACT,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBS,IAE7B,CACAX,EAAoBY,KAAO,IAAOC,OAAOD,KAAKb,GAC9CC,EAAoBW,GAAK,MACzBG,EAAOC,QAAUf,C","sources":["webpack://@openmrs/esm-form-builder-app/./src/config-schema.ts","webpack://@openmrs/esm-form-builder-app/./src/index.ts","webpack://@openmrs/esm-form-builder-app/./translations/ lazy .json$"],"names":["configSchema","questionTypes","_type","Type","Array","_description","_default","fieldTypes","showSchemaSaveWarning","Boolean","moduleName","options","featureName","importTranslation","require","root","getAsyncLifecycle","systemAdministrationFormBuilderCardLink","startupApp","defineConfigSchema","registerBreadcrumbs","path","window","spaBase","title","parent","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports"],"sourceRoot":""}
1
+ {"version":3,"file":"153.js","mappings":"2RAEaA,EAAe,CAC1BC,cAAe,CACbC,MAAOC,EAAAA,KAAKC,MACZC,aAAc,iEACdC,SAAU,CACR,cACA,UACA,oBACA,oBACA,oBACA,MACA,WACA,kBACA,YACA,sBAGJC,WAAY,CACVL,MAAOC,EAAAA,KAAKC,MACZC,aACE,0IACFC,SAAU,CACR,OACA,OACA,YACA,OACA,QACA,gBACA,SACA,UACA,QACA,YACA,SACA,OACA,WACA,uBAGJE,sBAAuB,CACrBN,MAAOC,EAAAA,KAAKM,QACZH,UAAU,EACVD,aAAc,gFCxCZK,EAAa,gCAEbC,EAAU,CACdC,YAAa,eACbF,WAAAA,GAGWG,EAAoBC,EAAAA,OAEpBC,GAAOC,EAAAA,EAAAA,oBAAkB,W,OAAM,0F,GAA4BL,GAE3DM,GAA0CD,EAAAA,EAAAA,oBACrD,W,OAAM,wE,GACNL,GAGK,SAASO,KACdC,EAAAA,EAAAA,oBAAmBT,EAAYV,EACjC,C,kBCrBA,IAAIoB,EAAM,CACT,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,KAED,YAAa,CACZ,MACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBS,IAE7B,CACAX,EAAoBY,KAAO,IAAOC,OAAOD,KAAKb,GAC9CC,EAAoBW,GAAK,MACzBG,EAAOC,QAAUf,C","sources":["webpack://@openmrs/esm-form-builder-app/./src/config-schema.ts","webpack://@openmrs/esm-form-builder-app/./src/index.ts","webpack://@openmrs/esm-form-builder-app/./translations/ lazy .json$"],"names":["configSchema","questionTypes","_type","Type","Array","_description","_default","fieldTypes","showSchemaSaveWarning","Boolean","moduleName","options","featureName","importTranslation","require","root","getAsyncLifecycle","systemAdministrationFormBuilderCardLink","startupApp","defineConfigSchema","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports"],"sourceRoot":""}
package/dist/256.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[256],{32249:(e,l,o)=>{o.d(l,{Z:()=>r});var n=o(87537),s=o.n(n),a=o(23645),t=o.n(a)()(s());t.push([e.id,".-esm-form-builder__ohri-section-collapsible-toggle__toggleContainer___DwhXO{margin-right:.5rem}","",{version:3,sources:["webpack://./node_modules/@openmrs/openmrs-form-engine-lib/src/components/section-collapsible-toggle/ohri-section-collapsible-toggle.scss"],names:[],mappings:"AAAA,6EACE,kBAAA",sourceRoot:""}]),t.locals={toggleContainer:"-esm-form-builder__ohri-section-collapsible-toggle__toggleContainer___DwhXO"};const r=t},92256:(e,l,o)=>{o.r(l),o.d(l,{default:()=>E});var n=o(81672),s=o.n(n),a=o(63397),t=o(34501),r=o(81132),i=o(87410),g=o.n(i),c=o(44766),p=o.n(c),m=o(51991),d=o.n(m),_=o(33702),u=o.n(_),b=o(12434),h=o.n(b),A=o(81422),f=o.n(A),C=o(32249),v={};v.styleTagTransform=f(),v.setAttributes=u(),v.insert=d().bind(null,"head"),v.domAPI=p(),v.insertStyleElement=h(),g()(C.Z,v);const k=C.Z&&C.Z.locals?C.Z.locals:void 0,E=function(){var e,l=(0,a.useTranslation)().t,o=null===(e=(0,r.useExtensionSlotMeta)("patient-chart-workspace-header-slot")["ohri-form-header-toggle-ext"])||void 0===e?void 0:e.handleCollapse;return s().createElement("div",{className:k.toggleContainer},s().createElement(t.ZDl,{size:"sm","aria-label":"toggle button",defaultToggled:!0,id:"collapsable-toggle",labelA:l("expandAll","Expand all"),labelB:l("collapseAll","Collapse all"),onToggle:function(e){o&&o(e)}}))}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[256],{32249:(e,l,o)=>{o.d(l,{Z:()=>r});var n=o(87537),s=o.n(n),a=o(23645),t=o.n(a)()(s());t.push([e.id,".-esm-form-builder__ohri-section-collapsible-toggle__toggleContainer___DwhXO{margin-right:.5rem}","",{version:3,sources:["webpack://./node_modules/@openmrs/openmrs-form-engine-lib/src/components/section-collapsible-toggle/ohri-section-collapsible-toggle.scss"],names:[],mappings:"AAAA,6EACE,kBAAA",sourceRoot:""}]),t.locals={toggleContainer:"-esm-form-builder__ohri-section-collapsible-toggle__toggleContainer___DwhXO"};const r=t},92256:(e,l,o)=>{o.r(l),o.d(l,{default:()=>E});var n=o(81672),s=o.n(n),a=o(63397),t=o(62565),r=o(81132),i=o(87410),g=o.n(i),c=o(44766),p=o.n(c),m=o(51991),d=o.n(m),_=o(33702),u=o.n(_),b=o(12434),h=o.n(b),A=o(81422),f=o.n(A),C=o(32249),v={};v.styleTagTransform=f(),v.setAttributes=u(),v.insert=d().bind(null,"head"),v.domAPI=p(),v.insertStyleElement=h(),g()(C.Z,v);const k=C.Z&&C.Z.locals?C.Z.locals:void 0,E=function(){var e,l=(0,a.useTranslation)().t,o=null===(e=(0,r.useExtensionSlotMeta)("patient-chart-workspace-header-slot")["ohri-form-header-toggle-ext"])||void 0===e?void 0:e.handleCollapse;return s().createElement("div",{className:k.toggleContainer},s().createElement(t.ZDl,{size:"sm","aria-label":"toggle button",defaultToggled:!0,id:"collapsable-toggle",labelA:l("expandAll","Expand all"),labelB:l("collapseAll","Collapse all"),onToggle:function(e){o&&o(e)}}))}}}]);
package/dist/319.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[319],{98319:e=>{e.exports=JSON.parse('{"addPage":"Add Page","addQuestion":"Add Question","addSection":"Add Section","auditDetails":"Audit Details","autogeneratedUuid":"UUID (auto-generated","cancel":"Cancel","cancelButtonText":"Cancel","checkFilters":"Check the filters above","chooseEncounterType":"Choose an encounter type to link your form to","chooseFieldType":"Choose a field type","chooseQuestionType":"Choose a question type","close":"Close","code":"Code","conceptDoesNotExist":"The linked concept does not exist in your dictionary.","conceptSearchHelpText":"Can\'t find a concept?","confirm":"Confirm","copySchema":"Copy schema","createdBy":"","createForm":"Create Form","createNewForm":"Create a new form","createNewPage":"Create a new page","createNewQuestion":"Create a new question","createNewSection":"Create a new section","delete":"Delete","deleteForm":"Delete form","deleteFormConfirmation":"Are you sure you want to delete this form?","deletePage":"Delete page","deletePageConfirmation":"Are you sure you want to delete this page?","deletePageExplainerText":"Deleting this page will delete all the sections and questions associated with it. This action cannot be undone.","deleteQuestion":"Delete question","deleteQuestionConfirmation":"Are you sure you want to delete this question?","deleteQuestionExplainerText":"This action cannot be undone.","deleteSchema":"Delete schema","deleteSection":"Delete section","deleteSectionConfirmation":"Are you sure you want to delete this section?","deleteSectionExplainerText":"Deleting this section will delete all the questions associated with it. This action cannot be undone.","deleting":"Deleting","description":"Description","descriptionPlaceholderText":"e.g. A form used to collect encounter data for clients in the Express Care program.","downloadSchema":"Download schema","duplicated":"Duplicated","duplicateQuestion":"Duplicate question","editButton":"Edit {{elementType}}","editQuestion":"Edit question","editSchema":"Edit schema","encounterType":"Encounter Type","enterPageTitle":"Enter a title for your new page","enterSectionTitle":"Enter a section title","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingForm":"Error creating form","errorCreatingPage":"Error creating page","errorCreatingQuestion":"Error creating question","errorCreatingSection":"Error creating section","errorDeletingForm":"Error deleting form","errorDeletingPage":"Error deleting page","errorDeletingQuestion":"Error deleting question","errorDeletingSection":"Error deleting section","errorDuplicatingQuestion":"Error duplicating question","errorFetchingConceptName":"Couldn\'t resolve concept name","errorPublishingForm":"Error publishing form","errorRenamingForm":"Error renaming form","errorRenamingPage":"Error renaming page","errorRenamingSection":"Error renaming section","errorSavingForm":"Unable to save form","errorUnpublishingForm":"Error unpublishing form","errorUpdatingForm":"Error updating form","errorUpdatingQuestion":"Error updating question","expandSectionExplainer":"Below are the sections linked to this page. Expand each section to add questions to it.","fieldType":"Field type","filterBy":"Filter by","formBuilder":"Form Builder","formBuilderDocs":"form builder documentation","formCreated":"New form created","formDeleted":"Form deleted","formDeletedSuccessfully":"deleted successfully","formDescription":"Form description","formDescriptionPlaceholder":"A short description of the form e.g. A form for collecting COVID-19 symptoms","formError":"Error loading form metadata","formName":"Form name","formNamePlaceholder":"e.g. OHRI Express Care Patient Encounter Form","formPublished":"Form published","formPublishedSuccessfully":"form was published successfully","formRenamed":"Form renamed","formRendererHelperText":"Load a form schema in the Schema Editor to the left to see it rendered here by the Form Engine.","forms":"Forms","formUnpublished":"Form unpublished","formUnpublishedSuccessfully":"form was unpublished successfully","formUuid":"Form UUID","import":"Import","inputDummySchema":"Input dummy schema","interactiveBuilder":"Interactive Builder","interactiveBuilderHelperText":"The Interactive Builder lets you build your form schema without writing JSON code. The Preview tab automatically updates as you build your form. When done, click Save Form to save your form.","invalidVersionWarning":"Version can only start with with a number","isQuestionRequiredOrOptional":"Is this question a required or optional field? Required fields must be answered before the form can be submitted.","labelPlaceholder":"e.g. Type of Anaesthesia","lastEditedBy":"Last Edited By","loadDraft":"Load draft","loading":"Loading","loadingSchema":"Loading schema","manageForms":"Manage Forms","mappings":"Mappings","name":"Name","namePlaceholder":"What the form is called in the system","no":"No","noFormsToDisplay":"There are no forms to display.","noMatchingConcepts":"No concepts were found that match","noMatchingFormsToDisplay":"No matching forms to display","noSchemaLoaded":"No schema loaded","optional":"Optional","pageCreated":"New page created","pageDeleted":"Page deleted","pageExplainer":"Pages typically have one or more sections. Click the button below to add a section to your page.","pageRenamed":"Page renamed","preview":"Preview","problemLoadingPreview":"There was a problem loading the schema preview","published":"Published","publishForm":"Publish form","publishing":"Publishing","questionCreated":"New question created","QuestionDeleted":"Question deleted","questionDuplicated":"Question duplicated. Please change the duplicated question\'s ID to a unique, camelcased value","questionId":"Question ID (prefer using camel-case for IDs)","questionIdExists":"This question ID already exists in your schema","questionIdPlaceholder":"Enter a unique ID e.g. \\"anaesthesiaType\\" for a question asking about the type of anaesthesia.","questionLabel":"Label","questionType":"Question type","questionUpdated":"Question updated","relationship":"Relationship","renderChanges":"Render changes","reorderQuestion":"Reorder question","required":"Required","retired":"Retired","rows":"Rows","save":"Save","saveAsModal":"A version of the form you\'re working on already exists on the server. Do you want to update the form or to save it as a new version?","saveAsNewForm":"Save as a new","saveButtonText":"Save","saveConfirmation":"Save or Update form","saveError":"There was a problem saving your form. Try saving again. To ensure you don’t lose your changes, copy them, reload the page and then paste them back into the editor.","saveExplainerText":"Clicking the Save button saves your form schema to the database. To see your form in your frontend, you first need to publish it. Click the Publish button to publish your form.","saveForm":"Save form","saveFormToServer":"Save form to server","saveSuccess":"was updated successfully","saveSuccessMessage":"was created successfully. It is now visible on the Forms dashboard.","saving":"Saving","schemaActions":"Schema actions","schemaEditor":"Schema Editor","schemaError":"There\'s an error in your schema.","schemaLoadError":"Error loading schema","schemaNotFound":"Schema not found","schemaNotFoundText":"The schema originally associated with this form could not be found. A draft schema was found saved in your browser\'s local storage. Would you like to load it instead?","schemaSaveWarningMessage":"The dev3 server is ephemeral at best and can\'t be relied upon to save your schemas permanently. To avoid losing your work, please save your schemas to your local machine. Alternatively, upload your schema to the distro repo to have it persisted across server resets.","searchConcept":"Search using a concept name or UUID","searchForBackingConcept":"Search for a backing concept","searching":"Searching","searchInOCL":"Search in OCL","searchThisList":"Search this list","sectionCreated":"New section created","SectionDeleted":"Section deleted","sectionExplainer":"A section will typically contain one or more questions. Click the button below to add a question to this section.","sectionRenamed":"Section renamed","selectAnswersToDisplay":"Select answers to display","source":"Source","startBuilding":"Start building","success":"Success!","tryAgain":"Try again","typeRequired":"Type is required","uneditedFormMsg":"This form has never been edited","unknownUser":"Unknown","unpublishConfirmation":"Are you sure you want to unpublish this form?","unpublishExplainerText":"Unpublishing a form means you can no longer access it from your frontend. Unpublishing forms does not delete their associated schemas, it only affects whether or not you can access them in your frontend.","unpublishForm":"Unpublish form","unpublishing":"Unpublishing","updateExistingForm":"Update existing version","validFieldTypeRequired":"A valid field type value is required","version":"Version","welcomeExplainer":"Add pages, sections and questions to your form. The Preview tab automatically updates as you build your form. For a detailed explanation of what constitutes an OpenMRS form schema, please read through the ","welcomeHeading":"Welcome to the Interactive Schema builder","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[319],{98319:e=>{e.exports=JSON.parse('{"addPage":"Add Page","addQuestion":"Add Question","addSection":"Add Section","auditDetails":"Audit Details","autogeneratedUuid":"UUID (auto-generated","backToDashboard":"Back to dashboard","cancel":"Cancel","cancelButtonText":"Cancel","checkFilters":"Check the filters above","chooseEncounterType":"Choose an encounter type to link your form to","chooseFieldType":"Choose a field type","chooseQuestionType":"Choose a question type","close":"Close","code":"Code","conceptDoesNotExist":"The linked concept does not exist in your dictionary.","conceptSearchHelpText":"Can\'t find a concept?","confirm":"Confirm","copySchema":"Copy schema","createdBy":"","createForm":"Create Form","createNewForm":"Create a new form","createNewPage":"Create a new page","createNewQuestion":"Create a new question","createNewSection":"Create a new section","delete":"Delete","deleteForm":"Delete form","deleteFormConfirmation":"Are you sure you want to delete this form?","deletePage":"Delete page","deletePageConfirmation":"Are you sure you want to delete this page?","deletePageExplainerText":"Deleting this page will delete all the sections and questions associated with it. This action cannot be undone.","deleteQuestion":"Delete question","deleteQuestionConfirmation":"Are you sure you want to delete this question?","deleteQuestionExplainerText":"This action cannot be undone.","deleteSchema":"Delete schema","deleteSection":"Delete section","deleteSectionConfirmation":"Are you sure you want to delete this section?","deleteSectionExplainerText":"Deleting this section will delete all the questions associated with it. This action cannot be undone.","deleting":"Deleting","description":"Description","descriptionPlaceholderText":"e.g. A form used to collect encounter data for clients in the Express Care program.","downloadSchema":"Download schema","duplicated":"Duplicated","duplicateQuestion":"Duplicate question","editButton":"Edit {{elementType}}","editQuestion":"Edit question","editSchema":"Edit schema","encounterType":"Encounter Type","enterPageTitle":"Enter a title for your new page","enterSectionTitle":"Enter a section title","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorCreatingForm":"Error creating form","errorCreatingPage":"Error creating page","errorCreatingQuestion":"Error creating question","errorCreatingSection":"Error creating section","errorDeletingForm":"Error deleting form","errorDeletingPage":"Error deleting page","errorDeletingQuestion":"Error deleting question","errorDeletingSection":"Error deleting section","errorDuplicatingQuestion":"Error duplicating question","errorFetchingConceptName":"Couldn\'t resolve concept name","errorPublishingForm":"Error publishing form","errorRenamingForm":"Error renaming form","errorRenamingPage":"Error renaming page","errorRenamingSection":"Error renaming section","errorSavingForm":"Unable to save form","errorUnpublishingForm":"Error unpublishing form","errorUpdatingForm":"Error updating form","errorUpdatingQuestion":"Error updating question","expandSectionExplainer":"Below are the sections linked to this page. Expand each section to add questions to it.","fieldType":"Field type","filterBy":"Filter by","formBuilder":"Form Builder","formBuilderDocs":"form builder documentation","formCreated":"New form created","formDeleted":"Form deleted","formDeletedSuccessfully":"deleted successfully","formDescription":"Form description","formDescriptionPlaceholder":"A short description of the form e.g. A form for collecting COVID-19 symptoms","formError":"Error loading form metadata","formName":"Form name","formNamePlaceholder":"e.g. OHRI Express Care Patient Encounter Form","formPublished":"Form published","formPublishedSuccessfully":"form was published successfully","formRenamed":"Form renamed","formRendererHelperText":"Load a form schema in the Schema Editor to the left to see it rendered here by the Form Engine.","forms":"Forms","formUnpublished":"Form unpublished","formUnpublishedSuccessfully":"form was unpublished successfully","formUuid":"Form UUID","home":"Home","import":"Import","inputDummySchema":"Input dummy schema","interactiveBuilder":"Interactive Builder","interactiveBuilderHelperText":"The Interactive Builder lets you build your form schema without writing JSON code. The Preview tab automatically updates as you build your form. When done, click Save Form to save your form.","invalidVersionWarning":"Version can only start with with a number","isQuestionRequiredOrOptional":"Is this question a required or optional field? Required fields must be answered before the form can be submitted.","labelPlaceholder":"e.g. Type of Anaesthesia","lastEditedBy":"Last Edited By","loadDraft":"Load draft","loading":"Loading","loadingSchema":"Loading schema","manageForms":"Manage Forms","mappings":"Mappings","name":"Name","namePlaceholder":"What the form is called in the system","no":"No","noFormsToDisplay":"There are no forms to display.","noMatchingConcepts":"No concepts were found that match","noMatchingFormsToDisplay":"No matching forms to display","noSchemaLoaded":"No schema loaded","optional":"Optional","pageCreated":"New page created","pageDeleted":"Page deleted","pageExplainer":"Pages typically have one or more sections. Click the button below to add a section to your page.","pageRenamed":"Page renamed","preview":"Preview","problemLoadingPreview":"There was a problem loading the schema preview","published":"Published","publishForm":"Publish form","publishing":"Publishing","questionCreated":"New question created","QuestionDeleted":"Question deleted","questionDuplicated":"Question duplicated. Please change the duplicated question\'s ID to a unique, camelcased value","questionId":"Question ID (prefer using camel-case for IDs)","questionIdExists":"This question ID already exists in your schema","questionIdPlaceholder":"Enter a unique ID e.g. \\"anaesthesiaType\\" for a question asking about the type of anaesthesia.","questionLabel":"Label","questionType":"Question type","questionUpdated":"Question updated","relationship":"Relationship","renderChanges":"Render changes","reorderQuestion":"Reorder question","required":"Required","retired":"Retired","rows":"Rows","save":"Save","saveAsModal":"A version of the form you\'re working on already exists on the server. Do you want to update the form or to save it as a new version?","saveAsNewForm":"Save as a new","saveButtonText":"Save","saveConfirmation":"Save or Update form","saveError":"There was a problem saving your form. Try saving again. To ensure you don’t lose your changes, copy them, reload the page and then paste them back into the editor.","saveExplainerText":"Clicking the Save button saves your form schema to the database. To see your form in your frontend, you first need to publish it. Click the Publish button to publish your form.","saveForm":"Save form","saveFormToServer":"Save form to server","saveSuccess":"was updated successfully","saveSuccessMessage":"was created successfully. It is now visible on the Forms dashboard.","saving":"Saving","schemaActions":"Schema actions","schemaEditor":"Schema editor","schemaError":"There\'s an error in your schema.","schemaLoadError":"Error loading schema","schemaNotFound":"Schema not found","schemaNotFoundText":"The schema originally associated with this form could not be found. A draft schema was found saved in your browser\'s local storage. Would you like to load it instead?","schemaSaveWarningMessage":"The dev3 server is ephemeral at best and can\'t be relied upon to save your schemas permanently. To avoid losing your work, please save your schemas to your local machine. Alternatively, upload your schema to the distro repo to have it persisted across server resets.","searchConcept":"Search using a concept name or UUID","searchForBackingConcept":"Search for a backing concept","searching":"Searching","searchInOCL":"Search in OCL","searchThisList":"Search this list","sectionCreated":"New section created","SectionDeleted":"Section deleted","sectionExplainer":"A section will typically contain one or more questions. Click the button below to add a question to this section.","sectionRenamed":"Section renamed","selectAnswersToDisplay":"Select answers to display","source":"Source","startBuilding":"Start building","success":"Success!","tryAgain":"Try again","typeRequired":"Type is required","uneditedFormMsg":"This form has never been edited","unknownUser":"Unknown","unpublishConfirmation":"Are you sure you want to unpublish this form?","unpublishExplainerText":"Unpublishing a form means you can no longer access it from your frontend. Unpublishing forms does not delete their associated schemas, it only affects whether or not you can access them in your frontend.","unpublishForm":"Unpublish form","unpublishing":"Unpublishing","updateExistingForm":"Update existing version","validFieldTypeRequired":"A valid field type value is required","version":"Version","welcomeExplainer":"Add pages, sections and questions to your form. The Preview tab automatically updates as you build your form. For a detailed explanation of what constitutes an OpenMRS form schema, please read through the ","welcomeHeading":"Welcome to the Interactive Schema builder","yes":"Yes"}')}}]);
package/dist/447.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[447],{31447:(e,r,a)=>{a.r(r),a.d(r,{default:()=>o});var n=a(81672),l=a.n(n),t=a(63397),m=a(34501),s=a(17141);const o=function(){var e=(0,t.useTranslation)().t,r=e("manageForms","Manage Forms");return l().createElement(m.mh4,null,l().createElement(m.Ohc,{href:"".concat(window.spaBase,"/form-builder"),target:"_blank",rel:"noopener noreferrer"},l().createElement("div",null,l().createElement("div",{className:"heading"},r),l().createElement("div",{className:"content"},e("formBuilder","Form Builder"))),l().createElement("div",{className:"iconWrapper"},l().createElement(s.ol,{size:16}))))}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[447],{31447:(e,r,a)=>{a.r(r),a.d(r,{default:()=>o});var n=a(81672),l=a.n(n),t=a(63397),m=a(62565),s=a(17141);const o=function(){var e=(0,t.useTranslation)().t,r=e("manageForms","Manage Forms");return l().createElement(m.mh4,null,l().createElement(m.Ohc,{href:"".concat(window.spaBase,"/form-builder"),target:"_blank",rel:"noopener noreferrer"},l().createElement("div",null,l().createElement("div",{className:"heading"},r),l().createElement("div",{className:"content"},e("formBuilder","Form Builder"))),l().createElement("div",{className:"iconWrapper"},l().createElement(s.ol,{size:16}))))}}}]);