{"version":3,"file":"step_controller-DgAW_gcH.js","sources":["../../../app/javascript/controllers/capture/step_controller.js"],"sourcesContent":["import ApplicationController from '../application_controller'\n\nexport default class extends ApplicationController {\n static targets = [\n 'nameInput',\n 'positionInput',\n ]\n\n updateName({ detail: value }) {\n this.nameInputTarget.value = value\n }\n\n updatePosition({ detail }) {\n const { newIndex } = detail\n this.positionInputTarget.value = newIndex\n }\n}\n"],"names":["step_controller","ApplicationController","value","detail","newIndex","__publicField"],"mappings":"uNAEe,MAAKA,UAASC,CAAsB,CAMjD,WAAW,CAAE,OAAQC,GAAS,CAC5B,KAAK,gBAAgB,MAAQA,CACjC,CAEE,eAAe,CAAE,OAAAC,GAAU,CACzB,KAAM,CAAE,SAAAC,CAAQ,EAAKD,EACrB,KAAK,oBAAoB,MAAQC,CACrC,CACA,CAbEC,EADkBL,EACX,UAAU,CACf,YACA,eACJ"}