@vsleem-realsee-viewer/projection-plugin 2.0.21 → 2.0.22

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 C, normalizeProps as g, guardReactiveProps as x } from "vue";
2
2
  import { Point as i } from "@vsleem-realsee-viewer/shared";
3
- import { D as y } from "./index-CgqxI5qL.mjs";
3
+ import { D as y } from "./index-DYxPfqJ8.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 en, shallowRef as dn, watch as V, onBeforeUnmount as pn, createVNode as f, isVNode as j, cloneVNode as K, ref as z, watchEffect as mn, unref as E, onUnmounted as tn, reactive as vn, onMounted as fn, createElementBlock as U, openBlock as G, createBlock as gn, createCommentVNode as q, createElementVNode as P, withModifiers as hn, withCtx as H, createTextVNode as J, toDisplayString as L } from "vue";
2
2
  import { utils as N, CanvasElement as Sn, CanvasPointElement as W, Point as Y, CanvasImageElement as yn, DataHelper as wn } from "@vsleem-realsee-viewer/shared";
3
- import { E as Cn, G as bn, _ as Q, H as Dn, K as on, J as $n, d as xn, b as Z, f as zn, P as k, L as In, x as _n, n as nn, D as En } from "./index-CgqxI5qL.mjs";
4
- import { S as Tn } from "./index-DSggKI_y.mjs";
3
+ import { E as Cn, G as bn, _ as Q, H as Dn, K as on, J as $n, d as xn, b as Z, f as zn, P as k, L as In, x as _n, n as nn, D as En } from "./index-DYxPfqJ8.mjs";
4
+ import { S as Tn } from "./index-DpKLjrUh.mjs";
5
5
  function Mn(n, l, p) {
6
6
  var i = p || {}, e = i.noTrailing, r = e === void 0 ? !1 : e, c = i.noLeading, s = c === void 0 ? !1 : c, m = i.debounceMode, o = m === void 0 ? void 0 : m, a, t = !1, u = 0;
7
7
  function C() {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Zt, ref as vt, createVNode as E, shallowRef as Mt, watch as fe, computed as Tt, onMounted as Ki, Fragment as Yi, nextTick as ni, onBeforeUpdate as cr, onBeforeUnmount as Vi, watchEffect as Xi, getCurrentInstance as zo, createBlock as dr, openBlock as ji, unref as ot, withCtx as zt, createTextVNode as Ui, toDisplayString as Gi, onUnmounted as fr, createElementBlock as po, createElementVNode as Ni, createCommentVNode as _r } from "vue";
2
2
  import { utils as mo, Point as vo } from "@vsleem-realsee-viewer/shared";
3
- import { f as Oo, _ as at, s as pr, P as qt, c as ie, a as bt, b as wt, o as jt, B as Eo, e as go, u as Io, F as ke, g as Ji, d as Ae, h as mr, i as Qi, j as ko, C as Ao, k as Oe, N as yo, l as wo, S as vr, m as gr, n as Me, p as ee, t as yr, w as ei, q as wr, R as xr, I as tn, r as br, v as xo, x as Bo, M as Pr, A as Di, y as Lr, z as Tr, D as Cr } from "./index-CgqxI5qL.mjs";
4
- import { S as bo } from "./index-DSggKI_y.mjs";
3
+ import { f as Oo, _ as at, s as pr, P as qt, c as ie, a as bt, b as wt, o as jt, B as Eo, e as go, u as Io, F as ke, g as Ji, d as Ae, h as mr, i as Qi, j as ko, C as Ao, k as Oe, N as yo, l as wo, S as vr, m as gr, n as Me, p as ee, t as yr, w as ei, q as wr, R as xr, I as tn, r as br, v as xo, x as Bo, M as Pr, A as Di, y as Lr, z as Tr, D as Cr } from "./index-DYxPfqJ8.mjs";
4
+ import { S as bo } from "./index-DpKLjrUh.mjs";
5
5
  function Sr(a) {
6
6
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
7
7
  }
@@ -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 V, V as z, W as L, D as $ } from "./index-CgqxI5qL.mjs";
3
+ import { x as E, A as V, V as z, W as L, D as $ } from "./index-DYxPfqJ8.mjs";
4
4
  const k = { class: "vsleem-scale-control" }, B = { class: "scale-wrapper" }, D = { class: "title-wrapper" }, P = { style: { color: "#5bb36f" } }, U = { style: { color: "#5bb36f" } }, I = /* @__PURE__ */ g({
5
5
  name: "ScaleControl",
6
6
  __name: "ScaleControl",
@@ -8,6 +8,7 @@ declare function __VLS_template(): {
8
8
  };
9
9
  refs: {
10
10
  SpaceBindViewerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
11
+ appSetting: import('..').AppSetting;
11
12
  bindModel: CADModel;
12
13
  coordinateTree?: Coordinate;
13
14
  }> & Readonly<{}>, {
@@ -60,6 +61,7 @@ declare function __VLS_template(): {
60
61
  M: {};
61
62
  Defaults: {};
62
63
  }, Readonly<{
64
+ appSetting: import('..').AppSetting;
63
65
  bindModel: CADModel;
64
66
  coordinateTree?: Coordinate;
65
67
  }> & Readonly<{}>, {
@@ -76,8 +78,10 @@ declare function __VLS_template(): {
76
78
  readonly mapSetting?: import('..').MapSetting | undefined;
77
79
  readonly srcCoordinate: Coordinate;
78
80
  readonly dstCoordinate: Coordinate;
79
- readonly srcMappingData?: ProjectionModel | undefined;
80
- readonly differenceHeight?: number | undefined;
81
+ readonly srcModelType?: number[] | undefined;
82
+ readonly dstModelType?: number[] | undefined;
83
+ readonly srcMapping?: ProjectionModel | undefined;
84
+ readonly srcHeight?: number | undefined;
81
85
  readonly onSubmit?: ((...args: any[]) => any) | undefined;
82
86
  readonly onChangeModel?: ((...args: any[]) => any) | undefined;
83
87
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -103,8 +107,10 @@ declare function __VLS_template(): {
103
107
  mapSetting?: import('..').MapSetting;
104
108
  srcCoordinate: Coordinate;
105
109
  dstCoordinate: Coordinate;
106
- srcMappingData?: ProjectionModel;
107
- differenceHeight?: number;
110
+ srcModelType?: number[];
111
+ dstModelType?: number[];
112
+ srcMapping?: ProjectionModel;
113
+ srcHeight?: number;
108
114
  }> & Readonly<{
109
115
  onSubmit?: ((...args: any[]) => any) | undefined;
110
116
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -138,8 +144,10 @@ declare function __VLS_template(): {
138
144
  mapSetting?: import('..').MapSetting;
139
145
  srcCoordinate: Coordinate;
140
146
  dstCoordinate: Coordinate;
141
- srcMappingData?: ProjectionModel;
142
- differenceHeight?: number;
147
+ srcModelType?: number[];
148
+ dstModelType?: number[];
149
+ srcMapping?: ProjectionModel;
150
+ srcHeight?: number;
143
151
  }> & Readonly<{
144
152
  onSubmit?: ((...args: any[]) => any) | undefined;
145
153
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -163,6 +171,7 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
163
171
  onProjectionSubmit?: ((...args: any[]) => any) | undefined;
164
172
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
165
173
  SpaceBindViewerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
174
+ appSetting: import('..').AppSetting;
166
175
  bindModel: CADModel;
167
176
  coordinateTree?: Coordinate;
168
177
  }> & Readonly<{}>, {
@@ -215,6 +224,7 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
215
224
  M: {};
216
225
  Defaults: {};
217
226
  }, Readonly<{
227
+ appSetting: import('..').AppSetting;
218
228
  bindModel: CADModel;
219
229
  coordinateTree?: Coordinate;
220
230
  }> & Readonly<{}>, {
@@ -231,8 +241,10 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
231
241
  readonly mapSetting?: import('..').MapSetting | undefined;
232
242
  readonly srcCoordinate: Coordinate;
233
243
  readonly dstCoordinate: Coordinate;
234
- readonly srcMappingData?: ProjectionModel | undefined;
235
- readonly differenceHeight?: number | undefined;
244
+ readonly srcModelType?: number[] | undefined;
245
+ readonly dstModelType?: number[] | undefined;
246
+ readonly srcMapping?: ProjectionModel | undefined;
247
+ readonly srcHeight?: number | undefined;
236
248
  readonly onSubmit?: ((...args: any[]) => any) | undefined;
237
249
  readonly onChangeModel?: ((...args: any[]) => any) | undefined;
238
250
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -258,8 +270,10 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
258
270
  mapSetting?: import('..').MapSetting;
259
271
  srcCoordinate: Coordinate;
260
272
  dstCoordinate: Coordinate;
261
- srcMappingData?: ProjectionModel;
262
- differenceHeight?: number;
273
+ srcModelType?: number[];
274
+ dstModelType?: number[];
275
+ srcMapping?: ProjectionModel;
276
+ srcHeight?: number;
263
277
  }> & Readonly<{
264
278
  onSubmit?: ((...args: any[]) => any) | undefined;
265
279
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -293,8 +307,10 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
293
307
  mapSetting?: import('..').MapSetting;
294
308
  srcCoordinate: Coordinate;
295
309
  dstCoordinate: Coordinate;
296
- srcMappingData?: ProjectionModel;
297
- differenceHeight?: number;
310
+ srcModelType?: number[];
311
+ dstModelType?: number[];
312
+ srcMapping?: ProjectionModel;
313
+ srcHeight?: number;
298
314
  }> & Readonly<{
299
315
  onSubmit?: ((...args: any[]) => any) | undefined;
300
316
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,7 @@
1
1
  import { CADModel, Coordinate } from '@vsleem-realsee-viewer/shared';
2
+ import { AppSetting } from '../types';
2
3
  type __VLS_Props = {
4
+ appSetting: AppSetting;
3
5
  bindModel: CADModel;
4
6
  coordinateTree?: Coordinate;
5
7
  };
@@ -5,8 +5,10 @@ type __VLS_Props = {
5
5
  mapSetting?: MapSetting;
6
6
  srcCoordinate: Coordinate;
7
7
  dstCoordinate: Coordinate;
8
- srcMappingData?: ProjectionModel;
9
- differenceHeight?: number;
8
+ srcModelType?: number[];
9
+ dstModelType?: number[];
10
+ srcMapping?: ProjectionModel;
11
+ srcHeight?: number;
10
12
  };
11
13
  declare function getData(): ProjectionModel;
12
14
  declare function __VLS_template(): {
@@ -1,7 +1,8 @@
1
1
  export declare enum MappingType {
2
2
  SpaceMapping = 0 /** 空间映射 */,
3
3
  ModelMapping = 1 /** 模型映射 */,
4
- ScaleMapping = 2 /** 比例尺映射 */
4
+ ScaleMapping = 2 /** 比例尺映射 */,
5
+ BIMModelMapping = 3 /**bim模型映射-特殊处理 */
5
6
  }
6
7
  export declare enum LocaleType {
7
8
  en_US = "en_US",