@vsleem-realsee-viewer/projection-plugin 2.0.26 → 2.0.28
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.
- package/README.internal.md +1 -8
- package/dist/{BimControl-DK6r3RsG.mjs → BimControl-DPg5QYmB.mjs} +17 -14
- package/dist/{CadControl-Ci05-ZLE.mjs → CadControl-CylMTkgu.mjs} +30 -28
- package/dist/{GeoControl-BIk3zYKz.mjs → GeoControl-sIefMngV.mjs} +2612 -2222
- package/dist/ScaleControl-OM5oUJIt.mjs +75 -0
- package/dist/components/BimControl.vue.d.ts +6 -9
- package/dist/components/CadControl.vue.d.ts +5 -9
- package/dist/components/ConfigProvider.vue.d.ts +2 -2
- package/dist/components/GeoControl.vue.d.ts +6 -10
- package/dist/components/ProjectionViewer.vue.d.ts +13 -7
- package/dist/components/ScaleControl.vue.d.ts +3 -7
- package/dist/components/SpaceMapViewer.vue.d.ts +3 -2
- package/dist/enums/index.d.ts +3 -4
- package/dist/{index-CGohpb9V.mjs → index-Bp2b1_wb.mjs} +4575 -4557
- package/dist/{index-DalKZ4tG.mjs → index-RN8boWFZ.mjs} +13 -13
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +6 -7
- package/dist/index.umd.js +56 -52
- package/dist/{ja_JP-C_c0TAsg.mjs → ja_JP-Dg2TvGK4.mjs} +1 -1
- package/dist/types/antd.d.ts +0 -10
- package/dist/types/projection.d.ts +13 -3
- package/package.json +3 -3
- package/dist/ScaleControl-Dz7X996B.mjs +0 -72
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as k, P as G, d as L, T as M, U as Q, a as U, _ as m, f as W, b as I, t as j, V as x } from "./index-Bp2b1_wb.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,
|
|
@@ -42,10 +42,10 @@ const d = q({
|
|
|
42
42
|
}, {
|
|
43
43
|
immediate: !0
|
|
44
44
|
});
|
|
45
|
-
const b = o(() => e.align === void 0 && e.direction === "horizontal" ? "center" : e.align),
|
|
45
|
+
const b = o(() => e.align === void 0 && e.direction === "horizontal" ? "center" : e.align), V = o(() => U(l.value, T.value, `${l.value}-${e.direction}`, {
|
|
46
46
|
[`${l.value}-rtl`]: z.value === "rtl",
|
|
47
47
|
[`${l.value}-align-${b.value}`]: b.value
|
|
48
|
-
})),
|
|
48
|
+
})), D = o(() => z.value === "rtl" ? "marginLeft" : "marginRight"), E = o(() => {
|
|
49
49
|
const t = {};
|
|
50
50
|
return h.value && (t.columnGap = `${y.value}px`, t.rowGap = `${r.value}px`), m(m({}, t), e.wrap && {
|
|
51
51
|
flexWrap: "wrap",
|
|
@@ -56,22 +56,22 @@ const d = q({
|
|
|
56
56
|
var t, a;
|
|
57
57
|
const {
|
|
58
58
|
wrap: i,
|
|
59
|
-
direction:
|
|
59
|
+
direction: R = "horizontal"
|
|
60
60
|
} = e, C = (t = s.default) === null || t === void 0 ? void 0 : t.call(s), _ = W(C), w = _.length;
|
|
61
61
|
if (w === 0)
|
|
62
62
|
return null;
|
|
63
|
-
const c = (a = s.split) === null || a === void 0 ? void 0 : a.call(s), A = `${l.value}-item`,
|
|
63
|
+
const c = (a = s.split) === null || a === void 0 ? void 0 : a.call(s), A = `${l.value}-item`, N = y.value, S = w - 1;
|
|
64
64
|
return p("div", I(I({}, f), {}, {
|
|
65
|
-
class: [
|
|
66
|
-
style: [
|
|
67
|
-
}), [_.map((
|
|
68
|
-
let $ = C.indexOf(
|
|
65
|
+
class: [V.value, f.class],
|
|
66
|
+
style: [E.value, f.style]
|
|
67
|
+
}), [_.map((O, u) => {
|
|
68
|
+
let $ = C.indexOf(O);
|
|
69
69
|
$ === -1 && ($ = `$$space-${u}`);
|
|
70
70
|
let v = {};
|
|
71
|
-
return h.value || (
|
|
72
|
-
marginBottom: `${
|
|
71
|
+
return h.value || (R === "vertical" ? u < S && (v = {
|
|
72
|
+
marginBottom: `${N / (c ? 2 : 1)}px`
|
|
73
73
|
}) : v = m(m({}, u < S && {
|
|
74
|
-
[
|
|
74
|
+
[D.value]: `${N / (c ? 2 : 1)}px`
|
|
75
75
|
}), i && {
|
|
76
76
|
paddingBottom: `${r.value}px`
|
|
77
77
|
})), P(p(J, {
|
|
@@ -79,7 +79,7 @@ const d = q({
|
|
|
79
79
|
}, [p("div", {
|
|
80
80
|
class: A,
|
|
81
81
|
style: v
|
|
82
|
-
}, [
|
|
82
|
+
}, [O]), u < S && c && p("span", {
|
|
83
83
|
class: `${A}-split`,
|
|
84
84
|
style: v
|
|
85
85
|
}, [c])]));
|