"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Vue = require("vue");
let current = 0;
function useId() {
  const vm = Vue.getCurrentInstance();
  const { name = "unknown" } = (vm == null ? void 0 : vm.type) || {};
  return `${name}-${++current}`;
}
exports.useId = useId;
