import "vue";
import { o as i } from "./start-BYfL32Oe.mjs";
import "vue-i18n";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import { B as n } from "./base-CZBAM3Up.mjs";
const o = `${n}Units.`, D = {
  /** activateDeactivateUnits */
  async activateDeactivateUnits(t, s) {
    return i.post(`${o}activateDeactivateUnits`, {
      activate: s,
      units: t.map((a) => ({ id: a }))
    });
  },
  /** Get all units for a specific dimension */
  async getByDimension(t) {
    return i.post(`${o}getByDimension`, {
      dimensionId: t
    });
  }
};
export {
  D as u
};
