import "../../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
import { useChartEditStore } from "../../../../../store/modules/chartEditStore/chartEditStore.mjs";
import { computed } from "../../../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
const useTargetData = () => {
  const chartEditStore = useChartEditStore();
  const targetData = computed(() => {
    const list = chartEditStore.getComponentList;
    const targetIndex = chartEditStore.fetchTargetIndex();
    return list[targetIndex];
  });
  return { targetData, chartEditStore };
};
export {
  useTargetData
};
