PageSourceSearch

https://backoffice.nanea.app/assets/TestComponents-DneHUCsx.js

js nanea.app collected 2026-09-24 13:21:27 UTC 1,958 bytes, 1 lines download raw bytes

1import{j as e,bQ as x,T as h,r as o,F as j,R as l,C as p,I as g,z as b}from"./index-DBdCbald.js";/* empty css                  */import{H as v}from"./HappyHoursEditor-NxL9s1d3.js";import{L as f}from"./ListInputField-BszMl-H9.js";import"./SelectField-BPpZAzR2.js";import"./Utils-B6KZlwRK.js";import"./Divider-DdfcK3j0.js";import"./ModifyIcon-CIcqfZbW.js";import"./TrashIcon-CdjDaKD8.js";import"./CheckboxList-C5fBw_gY.js";const y=({children:s})=>e.jsx("h1",{className:"mainTitle",children:s}),S=({elements:s,component:r,onSort:a})=>{const n=t=>{a(t)};return e.jsx(x.ReactSortable,{list:s,setList:n,children:s.map(t=>{const i=r;return e.jsx(i,{...t.props},t.id)})})},w=({title:s})=>e.jsxs("div",{className:"flex items-center bg-gray-100 rounded-md px-5 py-4 mb-2",children:[e.jsx("p",{className:"flex-grow",children:s}),e.jsxs("div",{className:"flex flex-col justify-center gap-1 w-6 cursor-move",children:[e.jsx("div",{className:"h-1 bg-gray-400"}),e.jsx("div",{className:"h-1 bg-gray-400"})]})]}),k=()=>{const r=h()("page.testbase.basicform");o.useState({visibletimes:{}});const[a,n]=o.useState({}),t=[{value:"one",label:"Option one"},{value:"two",label:"Option two"},{value:"three",label:"Option three"}],[i,c]=o.useState([]),[m,u]=o.useState([{id:"one",props:{title:"First value"}},{id:"two",props:{title:"Second value"}},{id:"three",props:{title:"Third value"}}]),[d,N]=o.useState({});return e.jsxs(e.Fragment,{children:[e.jsx(y,{children:r}),e.jsx(j,{initialValues:d,action:"",successMessage:"hello world",debugMode:!1,children:({values:E})=>e.jsxs(e.Fragment,{children:[e.jsx(l,{children:e.jsx(p,{children:e.jsx(g,{type:"text",name:"genericInput",placeholder:"afk"})})}),e.jsx(l,{children:e.jsx(p,{children:e.jsx(v,{name:"happyhour",happyHours:a,onNewHappyHours:n})})}),e.jsx(l,{children:e.jsx(p,{children:e.jsx(f,{options:t,values:i,onChange:c})})}),e.jsx(S,{component:w,elements:m,onSort:u}),e.jsx(b,{children:"Salva"})]})})]})};export{k 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.