{"children":[{"children":[{"children":[],"kind":"view-node","props":{"label":"Inventory"},"tag":"SectionEyebrow"},{"children":[],"kind":"view-node","props":{"text":"Inventory","variant":"h1"},"tag":"Text"}],"kind":"view-node","props":{"variant":"app-hero"},"tag":"Section"},{"children":[{"children":[],"kind":"view-node","props":{"columns":[{"key":"item_ref","label":"Item"},{"key":"location_ref","label":"Location"},{"key":"on_hand","label":"On hand"},{"key":"reserved","label":"Reserved"},{"key":"available","label":"Available"}],"emptyLabel":"No stock recorded yet. Receive stock below to get started.","pageSize":12,"rows":{"kind":"data-source","name":"Inventory.Balances","params":{},"source":"connection"}},"tag":"Table"}],"kind":"view-node","props":{"title":"Stock by item × location"},"tag":"Card"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Inventory.Receive","endpoint":"/inventory/receive","fields":[{"default":"receive","kind":"hidden","name":"action"},{"kind":"text","label":"Item","name":"item_ref","required":true},{"hint":"Use an outlet or warehouse identity.","kind":"text","label":"Location","name":"location_ref","required":true},{"kind":"number","label":"Quantity","min":1,"name":"quantity","required":true,"step":1}],"method":"POST","submitLabel":"Receive stock"},"tag":"Form"}],"kind":"view-node","props":{"title":"Receive stock"},"tag":"Card"},{"children":[{"children":[{"children":["Checking view availability…"],"kind":"view-node","props":{},"tag":"Text"}],"kind":"view-node","props":{"aria-label":"View availability","class":"primitive-live-payload","id":"payload-live-content-inventory-inventory-dashboard"},"tag":"Section"}],"kind":"view-node","props":{"id":"payload-live-inventory-inventory-dashboard","patchTarget":"#payload-live-content-inventory-inventory-dashboard","pollIntervalMs":8000,"refreshHref":"/view/payload/patch?app=Inventory&view=inventory.dashboard","streamUrl":"/view/payload/patch?app=Inventory&view=inventory.dashboard","transport":"http","transportStatus":false},"tag":"LiveSlot"}],"data":{"children":[{"children":[{"children":[],"kind":"view-node","props":{"label":"Inventory"},"tag":"SectionEyebrow"},{"children":[],"kind":"view-node","props":{"text":"Inventory","variant":"h1"},"tag":"Text"}],"kind":"view-node","props":{"variant":"app-hero"},"tag":"Section"},{"children":[{"children":[],"kind":"view-node","props":{"columns":[{"key":"item_ref","label":"Item"},{"key":"location_ref","label":"Location"},{"key":"on_hand","label":"On hand"},{"key":"reserved","label":"Reserved"},{"key":"available","label":"Available"}],"emptyLabel":"No stock recorded yet. Receive stock below to get started.","pageSize":12,"rows":{"kind":"data-source","name":"Inventory.Balances","params":{},"source":"connection"}},"tag":"Table"}],"kind":"view-node","props":{"title":"Stock by item × location"},"tag":"Card"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Inventory.Receive","endpoint":"/inventory/receive","fields":[{"default":"receive","kind":"hidden","name":"action"},{"kind":"text","label":"Item","name":"item_ref","required":true},{"hint":"Use an outlet or warehouse identity.","kind":"text","label":"Location","name":"location_ref","required":true},{"kind":"number","label":"Quantity","min":1,"name":"quantity","required":true,"step":1}],"method":"POST","submitLabel":"Receive stock"},"tag":"Form"}],"kind":"view-node","props":{"title":"Receive stock"},"tag":"Card"},{"children":[{"children":[{"children":["Checking view availability…"],"kind":"view-node","props":{},"tag":"Text"}],"kind":"view-node","props":{"aria-label":"View availability","class":"primitive-live-payload","id":"payload-live-content-inventory-inventory-dashboard"},"tag":"Section"}],"kind":"view-node","props":{"id":"payload-live-inventory-inventory-dashboard","patchTarget":"#payload-live-content-inventory-inventory-dashboard","pollIntervalMs":8000,"refreshHref":"/view/payload/patch?app=Inventory&view=inventory.dashboard","streamUrl":"/view/payload/patch?app=Inventory&view=inventory.dashboard","transport":"http","transportStatus":false},"tag":"LiveSlot"}],"kind":"view-node","ok":true,"props":{"id":"inventory"},"tag":"Page"},"kind":"view-node","ok":true,"props":{"id":"inventory"},"tag":"Page"}