import { s, t as d, k as l, h as p, r as m, i as g, a as h } from "./index-RXjJQygZ.js";
const v = ".container{background-color:#fff;display:flex;flex-direction:column;min-width:500px;width:95vw;height:95vh;border-radius:var(--dss-radius-sm);overflow:hidden}.content{display:grid;flex:1;min-height:0;grid-template-columns:1fr;gap:16px;padding:16px}.content>primaria-region[name=import-data-activity-history-region]{display:none}.content>primaria-region{width:100%;height:100%;min-height:0}.content primaria-region>div{width:100%;height:100%;border:1px solid var(--color-neutral-200);border-radius:8px;padding:16px;box-sizing:border-box}.content>primaria-region[name=import-data-region]>div{overflow-y:auto}.content>primaria-region[name=import-data-activity-history-region]>div{display:flex;flex-direction:column;gap:16px;overflow:hidden}.content>primaria-region[name=import-data-activity-history-region]>div>*{flex-shrink:0}.content>primaria-region[name=import-data-activity-history-region]>div>*:last-child{flex:1;min-height:0}.footer{display:flex;flex-direction:row;align-items:center;background:#fff;justify-content:end;gap:12px;height:56px;border-top:1px solid var(--color-neutral-100);padding:var(--dss-spacing-sm)}", f = (i) => l`
    <div class="container">
      <div class="content">
        <primaria-region name="${s.regionManager.regions.shell.importDataActivityHistory}"></primaria-region>
        <primaria-region name="${s.regionManager.regions.shell.importData}"></primaria-region>
      </div>
      <div class="footer">
        <dss-button
          label="${d("importDataManager.actions.cancel")}"
          @click="${() => {
  i.cancel();
}}"
          size="md"
          variant="secondary"
        ></dss-button>
        <dss-button
          label="${d("importDataManager.actions.import")}"
          @click="${() => {
  i._accept();
}}"
          size="md"
          variant="primary"
        ></dss-button>
      </div>
    </div>
  `;
var u = Object.getOwnPropertyDescriptor, x = (i, e, c, n) => {
  for (var r = n > 1 ? void 0 : n ? u(e, c) : e, a = i.length - 1, o; a >= 0; a--)
    (o = i[a]) && (r = o(r) || r);
  return r;
};
let t = class extends p {
  constructor() {
    super(...arguments), this._accept = () => {
      this.confirm();
    };
  }
  render() {
    return l`${f(this)}`;
  }
};
t.styles = g`
    ${m(v)}
  `;
t = x([
  h("import-data-manager-modal")
], t);
export {
  t as ImportDataManagerModal
};
//# sourceMappingURL=component-t8PFluu3.js.map
