/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{a as t}from"./OCJK42MK.js";import"./MBISQ27L.js";import"./XYWNICC6.js";import"./T5HS6V2W.js";import"./UKRALD6X.js";import"./LNLMLBWQ.js";import"./P5YTFAF2.js";import"./YM3BZKEU.js";import"./35D5FZVV.js";import"./HQK5RHHT.js";import"./ZQ37ZZNF.js";import"./5UWT66A7.js";import"./SFG2REQW.js";import"./CUJCDLHI.js";import"./VU3T4WSA.js";import"./W4UTR6WU.js";import"./SE7GHLP3.js";import"./EQUAUHBX.js";import"./YEY4KEHA.js";import"./X5H73PHG.js";import"./OCUMDT2M.js";import"./TUP3HPO4.js";import"./WKMAPRRW.js";import"./OR4HXHSY.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
