openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 1.87 kB
JavaScript
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{Ju as t}from"./_4____________________________.js";import{GN as n,JN as r,qN as i}from"./_2_____________________________.js";import{C as a,F as o,O as s,U as c,f as l,j as u,u as d}from"./_6____________________.js";import{n as f,t as p}from"./en-settings-DEvavpke.js";import{f as m,m as h,w as g}from"./settings-controls-runtime-CwXZmgDo.js";import{m as _,y as v}from"./config-form-utils-runtime-CqcGJa6w.js";import{o as y}from"./config-form-analysis-runtime-oVfDtt-o.js";import{n as b,t as x}from"./config-form.node-CrgTELhZ.js";import{n as S,r as C}from"./settings-disclosure-C2Lxm_wL.js";import{n as w,r as T,t as E}from"./setup-schema-DK0FbwGW.js";function D(e){let n=o(()=>e.config.forceAdvancedSection===`wizard`),i=()=>{let n=e.config.formValue?.wizard;return t(n)?n:{}};return u(m,{get children(){return u(S,{id:`config-section-wizard`,class:`config-advanced-disclosure`,get title(){return r(`configForm.sections.wizard.label`)},get description(){return r(`configForm.sections.wizard.description`)},get open(){return n()},get children(){return[u(a,{get each(){return Object.entries(E)},keyed:e=>e[0],children:t=>u(s,{get when(){return e.schema.properties?.[t()[0]]},children:n=>u(x,{get params(){return{schema:{...n(),default:t()[1]},value:i()[t()[0]],path:[`wizard`,t()[0]],hints:e.config.uiHints,unsupported:new Set,disabled:e.disabled,onPatch:e.config.onFormPatch,onRemove:e.config.onFormRemove}}})})}),u(a,{each:w,keyed:e=>e,children:t=>u(s,{get when(){return l(()=>typeof i()[t()]==`string`)()&&i()[t()]},get children(){return u(h,{get title(){return v([`wizard`,t()],e.config.uiHints)?.label??e.schema.properties?.[t()]?.title??_(t())},get description(){return String(i()[t()])}})}})})]}})}})}function O(){return(O=e((()=>{d(),c(),b(),y(),C(),g(),p(),n(),T(),i(f)})))()}O();export{D as SetupSection};