import "vue";
import { s as i } from "./start-CE9SawgU.js";
import "vue-i18n";
import "pinia";
import "./header-Bn1EKnBE.js";
import { B as n } from "./base-B7u32Mej.js";
const s = `${n}Units.`, A = {
  /** activateDeactivateUnits */
  async activateDeactivateUnits(t, o) {
    return i.post(`${s}activateDeactivateUnits`, {
      activate: o,
      units: t.map((a) => ({ id: a }))
    });
  },
  /** Get all units for a specific dimension */
  async getByDimension(t) {
    return i.post(`${s}getByDimension`, {
      dimensionId: t
    });
  }
};
export {
  A as u
};
