@vsleem-realsee-viewer/projection-plugin 2.0.11 → 2.0.12

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.
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as v, ref as _, computed as P, watch as B, createElementBlock as w, openBlock as h, renderSlot as y, normalizeProps as C, guardReactiveProps as g } from "vue";
2
2
  import { Point as i } from "@vsleem-realsee-viewer/shared";
3
- import { y as x } from "./index-Cbdhqpxf.mjs";
3
+ import { y as x } from "./index-CfJj3M35.mjs";
4
4
  const M = { class: "vsleem-bim-control" }, b = /* @__PURE__ */ v({
5
5
  name: "BimControl",
6
6
  __name: "BimControl",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as tn, shallowRef as un, watch as V, onBeforeUnmount as dn, createVNode as u, isVNode as F, cloneVNode as K, ref as E, reactive as pn, onMounted as mn, onUnmounted as vn, unref as T, createElementBlock as U, openBlock as H, createBlock as fn, createCommentVNode as W, createElementVNode as P, withModifiers as gn, withCtx as A, createTextVNode as Y, toDisplayString as R } from "vue";
2
2
  import { utils as N, CanvasElement as hn, CanvasPointElement as q, Point as J, CanvasImageElement as Sn, DataHelper as yn } from "@vsleem-realsee-viewer/shared";
3
- import { z as Cn, D as wn, _ as Q, E as Dn, K as en, G as bn, d as $n, b as Z, f as xn, P as k, H as zn, x as In, n as nn, y as _n } from "./index-Cbdhqpxf.mjs";
4
- import { u as En, S as Tn } from "./resize-DP4qclL9.mjs";
3
+ import { z as Cn, D as wn, _ as Q, E as Dn, K as en, G as bn, d as $n, b as Z, f as xn, P as k, H as zn, x as In, n as nn, y as _n } from "./index-CfJj3M35.mjs";
4
+ import { u as En, S as Tn } from "./resize-B4E5sdm2.mjs";
5
5
  function Mn(n, a, g) {
6
6
  var e = g || {}, t = e.noTrailing, h = t === void 0 ? !1 : t, x = e.noLeading, l = x === void 0 ? !1 : x, f = e.debounceMode, i = f === void 0 ? void 0 : f, o, s = !1, d = 0;
7
7
  function C() {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as K, ref as j, createVNode as f, shallowRef as W, watch as ue, computed as Q, onMounted as Ee, Fragment as qe, nextTick as be, onBeforeUpdate as pt, onBeforeUnmount as Oe, watchEffect as ze, getCurrentInstance as Je, createBlock as mt, openBlock as Ke, unref as $, withCtx as J, onUnmounted as gt, createElementBlock as bt, createElementVNode as xe, createTextVNode as Fe, toDisplayString as Ne } from "vue";
2
2
  import { utils as Ce, Point as ke } from "@vsleem-realsee-viewer/shared";
3
- import { S as Le, u as ht } from "./resize-DP4qclL9.mjs";
4
- import { f as et, _ as M, s as yt, P as le, c as ie, a as H, b as D, o as ne, B as tt, e as je, u as nt, F as ve, g as Be, d as pe, h as xt, i as _e, j as at, C as lt, k as ce, N as Ue, l as Ze, S as Ct, m as wt, n as se, p as re, t as At, w as me, q as St, R as It, I as Re, r as Ot, v as Ve, x as ot, M as Pt, A as De, y as Et } from "./index-Cbdhqpxf.mjs";
3
+ import { S as Le, u as ht } from "./resize-B4E5sdm2.mjs";
4
+ import { f as et, _ as M, s as yt, P as le, c as ie, a as H, b as D, o as ne, B as tt, e as je, u as nt, F as ve, g as Be, d as pe, h as xt, i as _e, j as at, C as lt, k as ce, N as Ue, l as Ze, S as Ct, m as wt, n as se, p as re, t as At, w as me, q as St, R as It, I as Re, r as Ot, v as Ve, x as ot, M as Pt, A as De, y as Et } from "./index-CfJj3M35.mjs";
5
5
  const de = (e) => e != null && (Array.isArray(e) ? et(e).length : !0);
6
6
  function Me(e) {
7
7
  return de(e.prefix) || de(e.suffix) || de(e.allowClear);
@@ -1383,7 +1383,7 @@ const nn = /* @__PURE__ */ K({
1383
1383
  },
1384
1384
  emits: ["update:visible", "success", "cancel"],
1385
1385
  setup(e, { emit: l }) {
1386
- const t = l, n = Ve.Item, a = e, [p] = ot("GeoControl"), s = j(), o = j({
1386
+ const t = Ve.Item, n = l, a = e, [p] = ot("GeoControl"), s = j(), o = j({
1387
1387
  lon: "",
1388
1388
  lat: ""
1389
1389
  });
@@ -1394,11 +1394,11 @@ const nn = /* @__PURE__ */ K({
1394
1394
  }
1395
1395
  );
1396
1396
  function c() {
1397
- t("update:visible", !1), t("cancel");
1397
+ n("update:visible", !1), n("cancel");
1398
1398
  }
1399
1399
  async function d() {
1400
1400
  s.value?.validateFields().then(() => {
1401
- t("update:visible", !1), t("success", o.value);
1401
+ n("update:visible", !1), n("success", o.value);
1402
1402
  });
1403
1403
  }
1404
1404
  return (g, v) => (Ke(), mt($(Pt), {
@@ -1421,7 +1421,7 @@ const nn = /* @__PURE__ */ K({
1421
1421
  style: { "margin-top": "30px" }
1422
1422
  }, {
1423
1423
  default: J(() => [
1424
- f($(n), {
1424
+ f($(t), {
1425
1425
  name: "lon",
1426
1426
  label: $(p)?.longitude,
1427
1427
  rules: [{ required: !0, message: $(p)?.pleaseEnter }]
@@ -1437,7 +1437,7 @@ const nn = /* @__PURE__ */ K({
1437
1437
  ]),
1438
1438
  _: 1
1439
1439
  }, 8, ["label", "rules"]),
1440
- f($(n), {
1440
+ f($(t), {
1441
1441
  name: "lat",
1442
1442
  label: $(p)?.latitude,
1443
1443
  rules: [{ required: !0, message: $(p)?.pleaseEnter }]
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as g, ref as v, computed as m, watch as w, onMounted as y, createElementBlock as C, openBlock as N, createElementVNode as a, createVNode as f, createTextVNode as c, toDisplayString as s, unref as l, withCtx as S } from "vue";
2
2
  import { Point as A } from "@vsleem-realsee-viewer/shared";
3
- import { x as E, A as z, T as L, U, y as V } from "./index-Cbdhqpxf.mjs";
3
+ import { x as E, A as z, T as L, U, y as V } from "./index-CfJj3M35.mjs";
4
4
  const $ = { class: "vsleem-scale-control" }, k = { class: "scale-wrapper" }, B = { class: "title-wrapper" }, P = { style: { color: "#5bb36f" } }, D = { style: { color: "#5bb36f" } }, I = /* @__PURE__ */ g({
5
5
  name: "ScaleControl",
6
6
  __name: "ScaleControl",
@@ -0,0 +1,23 @@
1
+ const t = { pleaseEnter: "Please Enter", pleaseSelect: "Please select" }, e = { locationPoint1: "Location Point 1", locationPoint2: "Location Point 2", distance: "Distance" }, o = { locationPoint1: "Location Point 1", locationPoint2: "Location Point 2", longitude: "Longitude", latitude: "Latitude" }, n = { locationPoint1: "Location Point 1", locationPoint2: "Location Point 2", actualLength: "Actual Length", millimeter: "Millimeter", meter: "Meter" }, i = { selectModel: "Select Model", currentModel: "Current Model" }, a = { currentModel: "Current Model", bindingTarget: "Bind Target" }, c = { currentSpace: "Current Space", mappingTarget: "Map Target" }, l = { heightTips: "The height from the current space to the mapping target", setPointTips: "No position point 1 or position point 2 has been set", millimeter: "Millimeter", meter: "Meter", confirm: "Confirm" }, r = "en-US", s = {
2
+ Global: t,
3
+ CadControl: e,
4
+ GeoControl: o,
5
+ ScaleControl: n,
6
+ TitleControl: i,
7
+ SpaceBindViewer: a,
8
+ SpaceMapViewer: c,
9
+ ProjectionViewer: l,
10
+ locale: r
11
+ };
12
+ export {
13
+ e as CadControl,
14
+ o as GeoControl,
15
+ t as Global,
16
+ l as ProjectionViewer,
17
+ n as ScaleControl,
18
+ a as SpaceBindViewer,
19
+ c as SpaceMapViewer,
20
+ i as TitleControl,
21
+ s as default,
22
+ r as locale
23
+ };