@bimdata/viewer 2.8.0-beta.2 → 2.8.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130030,6 +130030,13 @@ async function Ghi(i, {
130030
130030
  const { api: s, localContext: r } = i.$viewer;
130031
130031
  let o = r.loadedModels[0];
130032
130032
  if (o) {
130033
+ if (o.type !== "PDF") {
130034
+ r.hub.emit("alert", {
130035
+ type: "warning",
130036
+ message: i.$t("plan.pdfExport.noPdfLoaded")
130037
+ });
130038
+ return;
130039
+ }
130033
130040
  o.parent_id && (o = i.pdfPages[0]);
130034
130041
  try {
130035
130042
  r.spinner = {
@@ -130627,13 +130634,13 @@ function Xhi(i, e, t, n, s, r) {
130627
130634
  const $hi = /* @__PURE__ */ K(qhi, [["render", Xhi], ["__scopeId", "data-v-13178392"]]), e0i = "Kartenbetrachter", t0i = { loadingMsg: "PDF-Dokument erzeugen ...", loadingSubMsg: "( Seite {page} von {total} )" }, i0i = {
130628
130635
  window_label: e0i,
130629
130636
  pdfExport: t0i
130630
- }, n0i = "Viewer Plan", s0i = { loadingMsg: "Generating PDF document...", loadingSubMsg: "( page {page} of {total} )" }, o0i = {
130637
+ }, n0i = "Viewer Plan", s0i = { noPdfLoaded: "The currently loaded model is not a PDF.", loadingMsg: "Generating PDF document...", loadingSubMsg: "( page {page} of {total} )" }, o0i = {
130631
130638
  window_label: n0i,
130632
130639
  pdfExport: s0i
130633
130640
  }, r0i = "Plano de la vista", a0i = { loadingMsg: "Generando documento en PDF...", loadingSubMsg: "( página {page} de {total} )" }, l0i = {
130634
130641
  window_label: r0i,
130635
130642
  pdfExport: a0i
130636
- }, c0i = "Visionneuse Plan", u0i = { loadingMsg: "Génération du document PDF...", loadingSubMsg: "( page {page} sur {total} )" }, A0i = {
130643
+ }, c0i = "Visionneuse Plan", u0i = { noPdfLoaded: "Le modèle chargé n'est pas un PDF.", loadingMsg: "Génération du document PDF...", loadingSubMsg: "( page {page} sur {total} )" }, A0i = {
130637
130644
  window_label: c0i,
130638
130645
  pdfExport: u0i
130639
130646
  }, d0i = "Piano del visualizzatore", h0i = {
@@ -190237,7 +190244,7 @@ let ATi = class {
190237
190244
  );
190238
190245
  }
190239
190246
  };
190240
- const dTi = "2.8.0-beta.2", hTi = {
190247
+ const dTi = "2.8.0-beta.3", hTi = {
190241
190248
  version: dTi
190242
190249
  };
190243
190250
  class fTi {