{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/plots/funnel/interactions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,IAAM,qBAAqB,GAAG,uBAAuB,CAAC;AACtD,MAAM,CAAC,IAAM,oBAAoB,GAAG,oBAAoB,CAAC;AACzD,MAAM,CAAC,IAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,UAAG,qBAAqB,YAAS,EAAE,CAAC;AAEtG,cAAc,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;AAC3D,mBAAmB,CAAC,oBAAoB,EAAE;IACxC,KAAK,EAAE,CAAC,gBAAgB,CAAC;CAC1B,CAAC,CAAC","sourcesContent":["import { registerAction, registerInteraction } from '@antv/g2';\nimport { ConversionTagAction } from './funnel-conversion-tag';\n\nconst FUNNEL_CONVERSION_TAG = 'funnel-conversion-tag';\nexport const FUNNEL_LEGEND_FILTER = 'funnel-afterrender';\nexport const interactionStart = { trigger: 'afterrender', action: `${FUNNEL_CONVERSION_TAG}:change` };\n\nregisterAction(FUNNEL_CONVERSION_TAG, ConversionTagAction);\nregisterInteraction(FUNNEL_LEGEND_FILTER, {\n start: [interactionStart],\n});\n"]}