1import{F as t}from"./BTWyZ1vU.js";import"./BP3oiiv_.js";import{bU as o,cm as r,aV as s,aA as e,aM as a,v as i,J as m,w as p,I as n,bc as l,bl as j}from"./rPzCxgu2.js";import"./Bnp5h7tg.js";/* empty css *//* empty css */import"./aW32qWhS.js";/* empty css *//* empty css */import"./CoFGRMWZ.js";/* empty css *//* empty css */import"./KgtIwDoS.js";import d from"./BjEseYgb.js";import"./BvIBVZyP.js";import"./BCo6x5W8.js";import"./CdfE0Y9Q.js";import"./BiVzHQPq.js";import"./B6ZI0tfh.js";import"./CY5NiiWa.js";import"./HEvMX_H5.js";import"./C_yZgWD3.js";import"./BlrgDCg_.js";import"./GBGjezmp.js";import"./BfptCjFN.js";import"./DKpIrpRZ.js";import"./DqfLh4FG.js";import"./DHI79l9r.js";import"./DAdCWcjR.js";import"./BJ1yLGjV.js";import"./Dm9fDV7-.js";import"./BV8cNugr.js";import"./DUW0zxbD.js";import"./CfyHAoLP.js";import"./BNRBXPsD.js";import"./DyA0rmCF.js";import"./BP0Qtch8.js";import"./DH8wk0CJ.js";import"./D1DH0B25.js";import"./z1uGv1XI.js";import"./CwquoYMM.js";import"./B9HCdCam.js";class u extends o{static type="ui-toggler";constructor(t={}){super({...t,type:u.type})}component=function(){return d}}const c={class:"p-box__text"},f={"data-toggler-form-generator-output":""},g={"data-toggler-form-generator-event":""},F=Object.assign({name:"TogglerFormGeneratorTestApp"},{__name:"TogglerFormGeneratorTestApp",setup(o){const d=new r({baseId:"toggler-test",key:"form-generator",prefix:"toggler-test-field-"}).setParams({buttons:[],hasSteps:!1,id:"toggler-form-generator-test"}).addField(u,{name:"notifications-enabled",texts:{label:"ÐолÑÑаÑÑ ÑведомлениÑ"},value:!1}).setup().setReady(),F={dataForm:d.form,functions:d.functions},v=F.dataForm.fields.find(t=>"notifications-enabled"===t.name),b=s("ожидание изменениÑ"),y=s(Boolean(v.data.value));let x=null;const G=t=>{const{FormGenerator:o=null,ctx:r=[]}=t||{};x=o||x;const s=r.find(t=>t.startsWith("FormGeneratorField#"));s&&(b.value=s.split(":").at(-1));const e=o?.fieldData?.({id:v.id})?.field;e&&(y.value=Boolean(e.data.value))};return e(()=>{x?.destroyForm&&x.destroyForm({formId:F.dataForm.params.id})}),(o,r)=>(a(),i("div",null,[m(t,{dataForm:F.dataForm,functions:F.functions,onTrigger:G},null,8,["dataForm","functions"]),p("p",c,[r[0]||(r[0]=n(" Ðоле: ",-1)),p("code",null,l(j(v).type),1),r[1]||(r[1]=n(". ÐÐ¾Ð´ÐµÐ»Ñ FormGenerator: ",-1)),p("output",f,l(y.value),1),r[2]||(r[2]=n(". ÐоÑледнее ÑобÑÑие: ",-1)),p("output",g,l(b.value),1),r[3]||(r[3]=n(". ",-1))])]))}});export{F as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.