PageSourceSearch

https://despiecehobel.vercel.app/assets/actions-helpers-Dw_dWaSw.js

js despiecehobel.vercel.app collected 2026-10-03 06:43:03 UTC 1,694 bytes, 1 lines download raw bytes

1import{n as e,r as t}from"./state-KfO3gdx5.js";import{a as n}from"./catalog-migrate-CwlAVqox.js";import{r}from"./parts-Dv5_RQLh.js";import{c as i}from"./rules-interval-L4V929ED.js";import{n as a,p as o}from"./export-purchase-pSMk_KbV.js";import{s}from"./apply-rules-CaIqhyPH.js";import{r as c}from"./list-derive-B8cIiAtt.js";import{n as l}from"./totals-Mg7PeSiO.js";import{n as u}from"./stock-store-CUbHn8hu.js";s();function d(){let e=t.project.hardwareList;if(!e||e.length===0)return null;let n=i(),r=c(e,n),a=l(r).total;return a<=0?null:{rows:r.map(e=>({skuCode:e.line.skuCode,displayName:e.displayName,qty:e.line.qty,unit:e.unit,unitCost:e.unitCost,subtotal:e.subtotal})),total:a}}function f(){let e=t.project.linearResult;if(!e)return null;let r=new Map(u().map(e=>[e.id,e])),i=a(e,(e,t)=>{let i=r.get(e);return i?n(i,t):null});return i.length===0?null:{rows:i,total:o(i).total}}function p(){let e=t.model;return e.kind===`loaded`?{model:e,options:{modelName:e.label,explosionPercent:e.explosionPercent,quantityMultiplier:t.settings.projectMultiplier}}:null}function m(e){let n=t.settings;return{parts:e,nestResult:t.nesting.lastResult,stockBoards:t.nesting.stockBoards,quantityMultiplier:n.projectMultiplier,edgeScrapFactor:n.edgeScrapFactor,edgeCostPerM_045:n.edgeCostPerM_045>0?n.edgeCostPerM_045:null,edgeCostPerM_2:n.edgeCostPerM_2>0?n.edgeCostPerM_2:null}}function h(){let n=t.model;if(n.kind!==`loaded`)return null;let i=r(n.model.parts);return i.length===0?(e(t.settings.exportVisibleOnly?`No hay piezas visibles para exportar (mostrá piezas o desactivá “Solo visibles” en Configuración)`:`No hay piezas para exportar`,4e3),null):i}export{m as a,h as i,d as n,f as r,p as t};

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.