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

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-Bu5mc_WL.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-Bu5mc_WL.mjs";
4
+ import { S as Tn } from "./index-BFT7GdTH.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-Bu5mc_WL.mjs";
4
+ import { S as bo } from "./index-BFT7GdTH.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-Bu5mc_WL.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",
@@ -0,0 +1,19 @@
1
+ import { Coordinate } from '@vsleem-realsee-viewer/shared';
2
+ type __VLS_Props = {
3
+ defaultValue?: number;
4
+ coordinateTree?: Coordinate;
5
+ includeModelType?: number[];
6
+ excludedCoordinate?: Coordinate[];
7
+ showShortName?: boolean;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ change: (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onChange?: ((...args: any[]) => any) | undefined;
13
+ }>, {
14
+ defaultValue: number;
15
+ coordinateTree: Coordinate;
16
+ excludedCoordinate: Coordinate[];
17
+ showShortName: boolean;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { Coordinate } from '@vsleem-realsee-viewer/shared';
2
+ type __VLS_Props = {
3
+ defaultValue?: number;
4
+ coordinateTree?: Coordinate;
5
+ showShortName?: boolean;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ change: (...args: any[]) => void;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onChange?: ((...args: any[]) => any) | undefined;
11
+ }>, {
12
+ defaultValue: number;
13
+ coordinateTree: Coordinate;
14
+ showShortName: boolean;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  defaultValue?: number;
4
4
  coordinateTree?: Coordinate;
5
5
  activedCoordinate?: Coordinate;
6
+ includeModelType?: number[];
6
7
  excludedCoordinate?: Coordinate[];
7
8
  showShortName?: boolean;
8
9
  };
@@ -8,51 +8,16 @@ declare function __VLS_template(): {
8
8
  };
9
9
  refs: {
10
10
  SpaceBindViewerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
11
+ appSetting: import('..').AppSetting;
11
12
  bindModel: CADModel;
13
+ bindCoordinate?: Coordinate;
12
14
  coordinateTree?: Coordinate;
13
15
  }> & Readonly<{}>, {
14
16
  getData: () => {
15
17
  bindModel: CADModel;
16
18
  currentSpace: Coordinate | undefined;
17
19
  };
18
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
19
- spacePickerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
20
- defaultValue?: number;
21
- coordinateTree?: Coordinate;
22
- excludedCoordinate?: Coordinate[];
23
- showShortName?: boolean;
24
- }> & Readonly<{
25
- onChange?: ((...args: any[]) => any) | undefined;
26
- }>, {
27
- reset: () => void;
28
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
- change: (...args: any[]) => void;
30
- }, import('vue').PublicProps, {
31
- defaultValue: number;
32
- coordinateTree: Coordinate;
33
- excludedCoordinate: Coordinate[];
34
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
35
- P: {};
36
- B: {};
37
- D: {};
38
- C: {};
39
- M: {};
40
- Defaults: {};
41
- }, Readonly<{
42
- defaultValue?: number;
43
- coordinateTree?: Coordinate;
44
- excludedCoordinate?: Coordinate[];
45
- showShortName?: boolean;
46
- }> & Readonly<{
47
- onChange?: ((...args: any[]) => any) | undefined;
48
- }>, {
49
- reset: () => void;
50
- }, {}, {}, {}, {
51
- defaultValue: number;
52
- coordinateTree: Coordinate;
53
- excludedCoordinate: Coordinate[];
54
- }> | null;
55
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
56
21
  P: {};
57
22
  B: {};
58
23
  D: {};
@@ -60,7 +25,9 @@ declare function __VLS_template(): {
60
25
  M: {};
61
26
  Defaults: {};
62
27
  }, Readonly<{
28
+ appSetting: import('..').AppSetting;
63
29
  bindModel: CADModel;
30
+ bindCoordinate?: Coordinate;
64
31
  coordinateTree?: Coordinate;
65
32
  }> & Readonly<{}>, {
66
33
  getData: () => {
@@ -76,8 +43,10 @@ declare function __VLS_template(): {
76
43
  readonly mapSetting?: import('..').MapSetting | undefined;
77
44
  readonly srcCoordinate: Coordinate;
78
45
  readonly dstCoordinate: Coordinate;
79
- readonly srcMappingData?: ProjectionModel | undefined;
80
- readonly differenceHeight?: number | undefined;
46
+ readonly srcModelType?: number[] | undefined;
47
+ readonly dstModelType?: number[] | undefined;
48
+ readonly srcMapping?: ProjectionModel | undefined;
49
+ readonly srcHeight?: number | undefined;
81
50
  readonly onSubmit?: ((...args: any[]) => any) | undefined;
82
51
  readonly onChangeModel?: ((...args: any[]) => any) | undefined;
83
52
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -103,8 +72,10 @@ declare function __VLS_template(): {
103
72
  mapSetting?: import('..').MapSetting;
104
73
  srcCoordinate: Coordinate;
105
74
  dstCoordinate: Coordinate;
106
- srcMappingData?: ProjectionModel;
107
- differenceHeight?: number;
75
+ srcModelType?: number[];
76
+ dstModelType?: number[];
77
+ srcMapping?: ProjectionModel;
78
+ srcHeight?: number;
108
79
  }> & Readonly<{
109
80
  onSubmit?: ((...args: any[]) => any) | undefined;
110
81
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -138,8 +109,10 @@ declare function __VLS_template(): {
138
109
  mapSetting?: import('..').MapSetting;
139
110
  srcCoordinate: Coordinate;
140
111
  dstCoordinate: Coordinate;
141
- srcMappingData?: ProjectionModel;
142
- differenceHeight?: number;
112
+ srcModelType?: number[];
113
+ dstModelType?: number[];
114
+ srcMapping?: ProjectionModel;
115
+ srcHeight?: number;
143
116
  }> & Readonly<{
144
117
  onSubmit?: ((...args: any[]) => any) | undefined;
145
118
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -163,51 +136,16 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
163
136
  onProjectionSubmit?: ((...args: any[]) => any) | undefined;
164
137
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
165
138
  SpaceBindViewerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
139
+ appSetting: import('..').AppSetting;
166
140
  bindModel: CADModel;
141
+ bindCoordinate?: Coordinate;
167
142
  coordinateTree?: Coordinate;
168
143
  }> & Readonly<{}>, {
169
144
  getData: () => {
170
145
  bindModel: CADModel;
171
146
  currentSpace: Coordinate | undefined;
172
147
  };
173
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
174
- spacePickerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
175
- defaultValue?: number;
176
- coordinateTree?: Coordinate;
177
- excludedCoordinate?: Coordinate[];
178
- showShortName?: boolean;
179
- }> & Readonly<{
180
- onChange?: ((...args: any[]) => any) | undefined;
181
- }>, {
182
- reset: () => void;
183
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
184
- change: (...args: any[]) => void;
185
- }, import('vue').PublicProps, {
186
- defaultValue: number;
187
- coordinateTree: Coordinate;
188
- excludedCoordinate: Coordinate[];
189
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
190
- P: {};
191
- B: {};
192
- D: {};
193
- C: {};
194
- M: {};
195
- Defaults: {};
196
- }, Readonly<{
197
- defaultValue?: number;
198
- coordinateTree?: Coordinate;
199
- excludedCoordinate?: Coordinate[];
200
- showShortName?: boolean;
201
- }> & Readonly<{
202
- onChange?: ((...args: any[]) => any) | undefined;
203
- }>, {
204
- reset: () => void;
205
- }, {}, {}, {}, {
206
- defaultValue: number;
207
- coordinateTree: Coordinate;
208
- excludedCoordinate: Coordinate[];
209
- }> | null;
210
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
148
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
211
149
  P: {};
212
150
  B: {};
213
151
  D: {};
@@ -215,7 +153,9 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
215
153
  M: {};
216
154
  Defaults: {};
217
155
  }, Readonly<{
156
+ appSetting: import('..').AppSetting;
218
157
  bindModel: CADModel;
158
+ bindCoordinate?: Coordinate;
219
159
  coordinateTree?: Coordinate;
220
160
  }> & Readonly<{}>, {
221
161
  getData: () => {
@@ -231,8 +171,10 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
231
171
  readonly mapSetting?: import('..').MapSetting | undefined;
232
172
  readonly srcCoordinate: Coordinate;
233
173
  readonly dstCoordinate: Coordinate;
234
- readonly srcMappingData?: ProjectionModel | undefined;
235
- readonly differenceHeight?: number | undefined;
174
+ readonly srcModelType?: number[] | undefined;
175
+ readonly dstModelType?: number[] | undefined;
176
+ readonly srcMapping?: ProjectionModel | undefined;
177
+ readonly srcHeight?: number | undefined;
236
178
  readonly onSubmit?: ((...args: any[]) => any) | undefined;
237
179
  readonly onChangeModel?: ((...args: any[]) => any) | undefined;
238
180
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
@@ -258,8 +200,10 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
258
200
  mapSetting?: import('..').MapSetting;
259
201
  srcCoordinate: Coordinate;
260
202
  dstCoordinate: Coordinate;
261
- srcMappingData?: ProjectionModel;
262
- differenceHeight?: number;
203
+ srcModelType?: number[];
204
+ dstModelType?: number[];
205
+ srcMapping?: ProjectionModel;
206
+ srcHeight?: number;
263
207
  }> & Readonly<{
264
208
  onSubmit?: ((...args: any[]) => any) | undefined;
265
209
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -293,8 +237,10 @@ declare const __VLS_component: import('vue').DefineComponent<ProjectionProps, {}
293
237
  mapSetting?: import('..').MapSetting;
294
238
  srcCoordinate: Coordinate;
295
239
  dstCoordinate: Coordinate;
296
- srcMappingData?: ProjectionModel;
297
- differenceHeight?: number;
240
+ srcModelType?: number[];
241
+ dstModelType?: number[];
242
+ srcMapping?: ProjectionModel;
243
+ srcHeight?: number;
298
244
  }> & Readonly<{
299
245
  onSubmit?: ((...args: any[]) => any) | undefined;
300
246
  onChangeModel?: ((...args: any[]) => any) | undefined;
@@ -1,6 +1,9 @@
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;
6
+ bindCoordinate?: Coordinate;
4
7
  coordinateTree?: Coordinate;
5
8
  };
6
9
  declare function getData(): {
@@ -9,42 +12,5 @@ declare function getData(): {
9
12
  };
10
13
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
11
14
  getData: typeof getData;
12
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
13
- spacePickerElRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
14
- defaultValue?: number;
15
- coordinateTree?: Coordinate;
16
- excludedCoordinate?: Coordinate[];
17
- showShortName?: boolean;
18
- }> & Readonly<{
19
- onChange?: ((...args: any[]) => any) | undefined;
20
- }>, {
21
- reset: () => void;
22
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- change: (...args: any[]) => void;
24
- }, import('vue').PublicProps, {
25
- defaultValue: number;
26
- coordinateTree: Coordinate;
27
- excludedCoordinate: Coordinate[];
28
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
29
- P: {};
30
- B: {};
31
- D: {};
32
- C: {};
33
- M: {};
34
- Defaults: {};
35
- }, Readonly<{
36
- defaultValue?: number;
37
- coordinateTree?: Coordinate;
38
- excludedCoordinate?: Coordinate[];
39
- showShortName?: boolean;
40
- }> & Readonly<{
41
- onChange?: ((...args: any[]) => any) | undefined;
42
- }>, {
43
- reset: () => void;
44
- }, {}, {}, {}, {
45
- defaultValue: number;
46
- coordinateTree: Coordinate;
47
- excludedCoordinate: Coordinate[];
48
- }> | null;
49
- }, HTMLDivElement>;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
50
16
  export default _default;
@@ -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(): {
@@ -3,7 +3,9 @@ type __VLS_Props = {
3
3
  currentModel?: Coordinate;
4
4
  currentCoordinate?: Coordinate;
5
5
  coordinateTree?: Coordinate;
6
+ includeModelType?: number[];
6
7
  excludedCoordinate?: Coordinate[];
8
+ flattenPicker?: boolean;
7
9
  };
8
10
  declare function __VLS_template(): {
9
11
  attrs: Partial<{}>;
@@ -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",
@@ -1,4 +1,4 @@
1
- import { O as k, P as G, d as L, Q as M, T as Q, a as U, _ as m, f as W, b as I, t as j, U as x } from "./index-CgqxI5qL.mjs";
1
+ import { O as k, P as G, d as L, Q as M, T as Q, a as U, _ as m, f as W, b as I, t as j, U as x } from "./index-Bu5mc_WL.mjs";
2
2
  import { defineComponent as q, computed as o, ref as B, watch as H, createVNode as p, Fragment as J } from "vue";
3
3
  const K = {
4
4
  small: 8,