<div role="dialog" id="radix-:r32:" aria-describedby="radix-:r34:" aria-labelledby="radix-:r33:" data-state="open" data-replit-metadata="client/src/pages/production-routings.tsx:770:8" data-component-name="DialogContent" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-3 border bg-background p-4 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] max-w-2xl max-h-[90vh] overflow-y-auto" tabindex="-1" style="pointer-events: auto;"><div data-replit-metadata="client/src/pages/production-routings.tsx:771:10" data-component-name="DialogHeader" class="flex flex-col space-y-1 text-center sm:text-left"><h2 id="radix-:r33:" data-replit-metadata="client/src/pages/production-routings.tsx:772:12" data-component-name="DialogTitle" class="text-base font-semibold leading-none tracking-tight">Dodaj Operację</h2><p id="radix-:r34:" data-replit-metadata="client/src/pages/production-routings.tsx:775:12" data-component-name="DialogDescription" class="text-sm text-muted-foreground">Wypełnij formularz aby utworzyć nową operację</p></div><form data-replit-metadata="client/src/pages/production-routings.tsx:782:12" data-component-name="form" class="space-y-4"><div data-replit-metadata="client/src/pages/production-routings.tsx:784:14" data-component-name="div" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:785:16" data-component-name="label" class="text-sm font-medium">Wybierz operację</label><button type="button" role="combobox" aria-controls="radix-:r35:" aria-expanded="false" aria-autocomplete="none" dir="ltr" data-state="closed" data-replit-metadata="client/src/pages/production-routings.tsx:798:18" data-component-name="SelectTrigger" class="flex h-[36px] w-full items-center justify-between border border-input bg-background px-3 py-1.5 text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&amp;&gt;span]:line-clamp-1" data-testid="select-production-operation"><span data-replit-metadata="client/src/pages/production-routings.tsx:799:20" data-component-name="SelectValue" style="pointer-events: none;">Tapicerowanie</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down h-4 w-4 opacity-50" data-replit-metadata="client/src/components/ui/select.tsx:48:6" data-component-name="ChevronDown" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><select aria-hidden="true" tabindex="-1" style="position: absolute; border: 0px; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; overflow-wrap: normal;"><option value="wiercenie 2">Wiercenie 2</option><option value="cutting">Cięcie</option><option value="edging">Oklejanie</option><option value="drilling">Wiercenie</option><option value="drilling_holes">Wiercenie (półki)</option><option value="drilling_mount">Wiercenie (montaż)</option><option value="upholstering">Tapicerowanie</option><option value="assembly">Kompletowanie</option><option value="packing">Pakowanie</option></select><p data-replit-metadata="client/src/pages/production-routings.tsx:811:16" data-component-name="p" class="text-xs text-muted-foreground">Wybierz operację ze słownika</p></div><div data-replit-metadata="client/src/pages/production-routings.tsx:816:14" data-component-name="div" class="grid grid-cols-2 gap-4"><div data-replit-metadata="client/src/pages/production-routings.tsx:821:18" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:822:22" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r36:-form-item">Kod *</label><input data-replit-metadata="client/src/pages/production-routings.tsx:824:24" data-component-name="Input" class="flex h-[36px] w-full border border-input px-3 py-1.5 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 bg-muted cursor-not-allowed" name="code" readonly="" data-testid="input-operation-code" id=":r36:-form-item" aria-describedby=":r36:-form-item-description" aria-invalid="false" value="upholstering"></div><div data-replit-metadata="client/src/pages/production-routings.tsx:834:18" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:835:22" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r37:-form-item">Nazwa *</label><input data-replit-metadata="client/src/pages/production-routings.tsx:837:24" data-component-name="Input" class="flex h-[36px] w-full border border-input px-3 py-1.5 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 bg-muted cursor-not-allowed" name="name" readonly="" data-testid="input-operation-name" id=":r37:-form-item" aria-describedby=":r37:-form-item-description" aria-invalid="false" value="Tapicerowanie"></div></div><div data-replit-metadata="client/src/pages/production-routings.tsx:849:16" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:850:20" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r38:-form-item">Opis</label><textarea data-replit-metadata="client/src/pages/production-routings.tsx:852:22" data-component-name="Textarea" class="flex min-h-[70px] w-full border border-input bg-background px-3 py-1.5 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" name="description" rows="2" data-testid="input-operation-description" id=":r38:-form-item" aria-describedby=":r38:-form-item-description" aria-invalid="false"></textarea></div><div data-replit-metadata="client/src/pages/production-routings.tsx:863:16" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:864:20" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r39:-form-item">Gniazdo Robocze</label><button type="button" role="combobox" aria-controls="radix-:r3a:" aria-expanded="false" aria-autocomplete="none" dir="ltr" data-state="closed" data-replit-metadata="client/src/pages/production-routings.tsx:870:24" data-component-name="SelectTrigger" class="flex h-[36px] w-full items-center justify-between border border-input bg-background px-3 py-1.5 text-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&amp;&gt;span]:line-clamp-1" data-testid="select-operation-workcenter" id=":r39:-form-item" aria-describedby=":r39:-form-item-description" aria-invalid="false"><span data-replit-metadata="client/src/pages/production-routings.tsx:871:26" data-component-name="SelectValue" style="pointer-events: none;">Pakowanie</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down h-4 w-4 opacity-50" data-replit-metadata="client/src/components/ui/select.tsx:48:6" data-component-name="ChevronDown" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button><select aria-hidden="true" tabindex="-1" style="position: absolute; border: 0px; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; overflow-wrap: normal;"><option value="0" selected="">Brak</option><option value="7">Kompletowanie</option><option value="2">Okleiniarka Falit</option><option value="3">Okleiniarka Masterwood</option><option value="8">Pakowanie</option><option value="1">Piła panelowa Masterwood</option><option value="4">Wiertarka Master 1</option><option value="5">Wiertarka Master 2</option><option value="6">Wiertarka Next</option></select></div><div data-replit-metadata="client/src/pages/production-routings.tsx:888:14" data-component-name="div" class="grid grid-cols-2 gap-4"><div data-replit-metadata="client/src/pages/production-routings.tsx:893:18" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:894:22" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r3b:-form-item">Czas Szacowany (min) *</label><input data-replit-metadata="client/src/pages/production-routings.tsx:896:24" data-component-name="Input" type="number" class="flex h-[36px] w-full border border-input bg-background px-3 py-1.5 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" step="0.01" name="estimatedTime" data-testid="input-estimated-time" id=":r3b:-form-item" aria-describedby=":r3b:-form-item-description" aria-invalid="false" value="22"></div><div data-replit-metadata="client/src/pages/production-routings.tsx:912:18" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:913:22" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r3c:-form-item">Czas Przygotowania (min)</label><input data-replit-metadata="client/src/pages/production-routings.tsx:915:24" data-component-name="Input" type="number" class="flex h-[36px] w-full border border-input bg-background px-3 py-1.5 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" step="0.01" name="setupTime" data-testid="input-setup-time" id=":r3c:-form-item" aria-describedby=":r3c:-form-item-description" aria-invalid="false" value="0"></div></div><div data-replit-metadata="client/src/pages/production-routings.tsx:933:16" data-component-name="FormItem" class="space-y-2"><label data-replit-metadata="client/src/pages/production-routings.tsx:934:20" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r3d:-form-item">Instrukcje</label><textarea data-replit-metadata="client/src/pages/production-routings.tsx:936:22" data-component-name="Textarea" class="flex min-h-[70px] w-full border border-input bg-background px-3 py-1.5 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" name="instructions" rows="3" data-testid="input-operation-instructions" id=":r3d:-form-item" aria-describedby=":r3d:-form-item-description" aria-invalid="false"></textarea></div><div data-replit-metadata="client/src/pages/production-routings.tsx:943:14" data-component-name="div" class="space-y-3"><div data-replit-metadata="client/src/pages/production-routings.tsx:948:18" data-component-name="FormItem" class="flex flex-row items-start space-x-3 space-y-0"><button type="button" role="checkbox" aria-checked="false" data-state="unchecked" value="on" data-replit-metadata="client/src/pages/production-routings.tsx:950:24" data-component-name="Checkbox" class="peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground" data-testid="checkbox-allow-parallel" id=":r3e:-form-item" aria-describedby=":r3e:-form-item-description" aria-invalid="false"></button><input type="checkbox" aria-hidden="true" tabindex="-1" value="on" style="transform: translateX(-100%); position: absolute; pointer-events: none; opacity: 0; margin: 0px; width: 14px; height: 14px;"><div data-replit-metadata="client/src/pages/production-routings.tsx:956:22" data-component-name="div" class="space-y-1 leading-none"><label data-replit-metadata="client/src/pages/production-routings.tsx:957:24" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r3e:-form-item">Dopuść równoległe wykonanie</label></div></div><div data-replit-metadata="client/src/pages/production-routings.tsx:967:18" data-component-name="FormItem" class="flex flex-row items-start space-x-3 space-y-0"><button type="button" role="checkbox" aria-checked="false" data-state="unchecked" value="on" data-replit-metadata="client/src/pages/production-routings.tsx:969:24" data-component-name="Checkbox" class="peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground" data-testid="checkbox-quality-check" id=":r3f:-form-item" aria-describedby=":r3f:-form-item-description" aria-invalid="false"></button><input type="checkbox" aria-hidden="true" tabindex="-1" value="on" style="transform: translateX(-100%); position: absolute; pointer-events: none; opacity: 0; margin: 0px; width: 14px; height: 14px;"><div data-replit-metadata="client/src/pages/production-routings.tsx:975:22" data-component-name="div" class="space-y-1 leading-none"><label data-replit-metadata="client/src/pages/production-routings.tsx:976:24" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r3f:-form-item">Wymaga kontroli jakości</label></div></div><div data-replit-metadata="client/src/pages/production-routings.tsx:986:18" data-component-name="FormItem" class="flex flex-row items-start space-x-3 space-y-0"><button type="button" role="checkbox" aria-checked="true" data-state="checked" value="on" data-replit-metadata="client/src/pages/production-routings.tsx:988:24" data-component-name="Checkbox" class="peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground" data-testid="checkbox-operation-active" id=":r3g:-form-item" aria-describedby=":r3g:-form-item-description" aria-invalid="false"><span data-state="checked" data-replit-metadata="client/src/components/ui/checkbox.tsx:38:4" data-component-name="CheckboxPrimitive.Indicator" class="flex items-center justify-center text-current" style="pointer-events: none;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check h-4 w-4" data-replit-metadata="client/src/components/ui/checkbox.tsx:41:6" data-component-name="Check"><path d="M20 6 9 17l-5-5"></path></svg></span></button><input type="checkbox" aria-hidden="true" tabindex="-1" value="on" checked="" style="transform: translateX(-100%); position: absolute; pointer-events: none; opacity: 0; margin: 0px; width: 14px; height: 14px;"><div data-replit-metadata="client/src/pages/production-routings.tsx:994:22" data-component-name="div" class="space-y-1 leading-none"><label data-replit-metadata="client/src/pages/production-routings.tsx:995:24" data-component-name="FormLabel" class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for=":r3g:-form-item">Aktywna</label></div></div></div><div data-replit-metadata="client/src/pages/production-routings.tsx:1002:14" data-component-name="DialogFooter" class="flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2"><button data-replit-metadata="client/src/pages/production-routings.tsx:1003:16" data-component-name="Button" class="inline-flex items-center justify-center gap-1.5 whitespace-nowrap text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg]:size-4 [&amp;_svg]:shrink-0 hover-elevate active-elevate-2 bg-primary text-primary-foreground border border-primary-border min-h-[36px] px-3 py-1.5" type="submit" data-testid="button-submit-operation">Utwórz</button></div></form><button type="button" data-replit-metadata="client/src/components/ui/dialog.tsx:66:6" data-component-name="DialogPrimitive.Close" class="absolute right-4 top-4 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x h-4 w-4" data-replit-metadata="client/src/components/ui/dialog.tsx:67:8" data-component-name="X"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg><span data-replit-metadata="client/src/components/ui/dialog.tsx:68:8" data-component-name="span" class="sr-only">Close</span></button></div>