import { NOOP as n } from "../../../../@vue/shared/dist/shared.esm-bundler.mjs";
const r = (t, o) => {
  if (t.install = (l) => {
    for (const n2 of [t, ...Object.values(o ?? {})])
      l.component(n2.name, n2);
  }, o)
    for (const [l, n2] of Object.entries(o))
      t[l] = n2;
  return t;
}, e = (t, o) => (t.install = (l) => {
  l.directive(o, t);
}, t), f = (t) => (t.install = n, t);
export {
  r as withInstall,
  e as withInstallDirective,
  f as withNoopInstall
};
