PageSourceSearch

https://flippix.io/assets/RenamePresetDialog-BLLFRmhW.js

js flippix.io collected 2026-09-24 15:05:29 UTC 1,062 bytes, 1 lines download raw bytes

1import{j as e,D as c,a as x,b as h,d as u,e as j,i as p,bk as g,B as i}from"./app-mqWwS7qW.js";import{L as D}from"./label-cdGrEmYY.js";import{I as f}from"./input-B5T_uS3Q.js";function b({isOpen:l,onOpenChange:o,onClose:t,data:a,setData:m,onConfirm:d}){const s=()=>{a?.name.trim()&&(d(),t())};return e.jsx(c,{open:l,onOpenChange:o,children:e.jsxs(x,{className:"max-h-[90vh] max-w-[90vw] sm:max-w-[425px]",children:[e.jsxs(h,{children:[e.jsx(u,{children:"Renommer le filtre"}),e.jsx(j,{children:"Modifiez le nom de votre filtre sauvegardé."})]}),e.jsxs("div",{className:"space-y-2 py-4",children:[e.jsx(D,{htmlFor:"rename-preset",children:"Nom du filtre"}),e.jsx(f,{id:"rename-preset",placeholder:"Nouveau nom...",value:a?.name??"",onChange:r=>m(n=>n?{...n,name:r.target.value}:null),onKeyDown:r=>r.key==="Enter"&&s(),autoFocus:!0})]}),e.jsxs(p,{className:"gap-3",children:[e.jsx(g,{asChild:!0,children:e.jsx(i,{variant:"outline",children:"Annuler"})}),e.jsx(i,{onClick:s,disabled:!a?.name.trim(),children:"Enregistrer"})]})]})})}export{b as RenamePresetDialog};

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.