PageSourceSearch

https://tiket.salihara.org/build/assets/page-CH31E-gc.js

js salihara.org collected 2026-10-02 08:17:08 UTC 3,755 bytes, 6 lines download raw bytes

1import{j as e,U as r,h as c,V as p}from"./app-BNHbo-0j.js";import{H as d}from"./headingDasbor-fg2g0bfV.js";import{S as o,D as x}from"./dasbor-Q3Yq1_fl.js";import{P as n}from"./pencil-4WTYNI9B.js";import{c as g}from"./createLucideIcon-CU27gFwd.js";import{X as m}from"./x-DYR6nYLW.js";import{B as h}from"./button-BMPPrRNf.js";import{C as b}from"./clipboard-7sPPFe5i.js";import"./index-D2kXRgUY.js";import"./use-mobile-pLvTH8ci.js";import"./index-BzbWojT1.js";import"./utils-jM7Hu9J5.js";import"./input-CkpQtG3c.js";import"./skeleton-D3X1P2Zt.js";import"./index-DS-BDM22.js";import"./logo-DKgrT-Qg.js";import"./sonner-CDzyEZ_w.js";import"./index-C_TjDfrq.js";/**
2 * @license lucide-react v0.454.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const u=g("FlagTriangleRight",[["path",{d:"M7 22V2l10 5-10 5",key:"17n18y"}]]),f=({survei:l})=>{const t=(s,a)=>{s.preventDefault(),window.confirm("Hapus survei ini? Ini akan menghapus semua laporan serta hasil survei yang diisi pengunjung.")?(console.log(`/dasbor/survei/${a}`),c.delete(`/dasbor/survei/${a}`)):console.log("Hapus dibatalkan.")};return e.jsxs("div",{children:[e.jsxs("div",{className:"flex flex-col items-start gap-y-8 lg:w-8/12 mb-8",children:[e.jsx("h3",{className:"text-lg font-semibold",children:"Survei Per Acara [data pengunjung]"}),e.jsxs("div",{className:"flex gap-x-4",children:[e.jsxs("button",{disabled:!0,className:"relative group inline-flex items-center gap-x-2 text-gray-400",children:[e.jsx("span",{className:"absolute left-0 -bottom-1 h-0.5 w-0 group-hover:w-full transition-all duration-300"}),e.jsx(n,{className:"w-4 h-4"})," Edit Pertanyaan"]}),e.jsxs(r,{href:"/dasbor/survei/pengunjung/acara",className:"relative group inline-flex items-center gap-x-2",children:[e.jsx("span",{className:"absolute left-0 -bottom-1 h-0.5 w-0 bg-black group-hover:w-full transition-all duration-300"}),e.jsx(u,{className:"w-4 h-4"}),"Hasil Survei"]}),e.jsxs("button",{disabled:!0,className:"relative group inline-flex items-center gap-x-2 text-gray-400",children:[e.jsx("span",{className:"absolute left-0 -bottom-1 h-0.5 w-0 group-hover:w-full transition-all duration-300"}),e.jsx(m,{className:"w-4 h-4"}),"Hapus Survei"]})]}),e.jsx(o,{className:"border border-brown-3 rounded-md"})]}),l.map((s,a)=>e.jsxs("div",{className:"flex flex-col items-start gap-y-8 lg:w-8/12 mb-8",children:[e.jsx("h3",{className:"text-lg font-semibold",children:s.nama_survei}),e.jsxs("div",{className:"flex gap-x-4",children:[e.jsxs(r,{href:s.edit_url,className:"relative group inline-flex items-center gap-x-2",children:[e.jsx("span",{className:"absolute left-0 -bottom-1 h-0.5 w-0 bg-black group-hover:w-full transition-all duration-300"}),e.jsx(n,{className:"w-4 h-4"})," Edit Pertanyaan"]}),e.jsxs(r,{href:s.acara_url,className:"relative group inline-flex items-center gap-x-2",children:[e.jsx("span",{className:"absolute left-0 -bottom-1 h-0.5 w-0 bg-black group-hover:w-full transition-all duration-300"}),e.jsx(u,{className:"w-4 h-4"}),"Hasil Survei"]}),e.jsxs("button",{onClick:i=>t(i,s.id),className:"relative group inline-flex items-center gap-x-2",children:[e.jsx("span",{className:"absolute left-0 -bottom-1 h-0.5 w-0 bg-black group-hover:w-full transition-all duration-300"}),e.jsx(m,{className:"w-4 h-4"}),"Hapus Survei"]})]}),e.jsx(o,{className:"border border-brown-3 rounded-md"})]},a))]})};function F(){const{survei:l,pengunjung:t}=p().props;return e.jsx(x,{children:e.jsxs("main",{children:[e.jsx(d,{title:"SURVEI",icon:e.jsx(b,{})}),e.jsx(r,{href:"/dasbor/survei/buat",children:e.jsx(h,{variant:"dasbor-black",className:"mb-12",children:"+ SURVEI"})}),e.jsx(f,{survei:l,pengunjung:t})]})})}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.