@zhangdali1996/lr-map-viewer 0.0.17 → 0.0.18

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.
@@ -21,7 +21,7 @@ var ee = Object.create, N = Object.defineProperty, P = Object.getOwnPropertyDesc
21
21
  }) : n, e)), ae = {
22
22
  name: "@zhangdali1996/lr-map-viewer",
23
23
  private: !1,
24
- version: "0.0.16",
24
+ version: "0.0.17",
25
25
  type: "module",
26
26
  files: ["dist"],
27
27
  main: "./dist/lr-map-viewer.js",
@@ -53353,8 +53353,8 @@ var TA = class {
53353
53353
  layername: n,
53354
53354
  id: e.id,
53355
53355
  attrs: o,
53356
- height: 4,
53357
- width: 4,
53356
+ height: this.params?.laneSize?.height ?? 10,
53357
+ width: this.params?.laneSize?.width ?? 10,
53358
53358
  modeType: 0,
53359
53359
  topWidth: 3,
53360
53360
  archHeight: 2,
@@ -56504,7 +56504,7 @@ var yM = { class: "lr3d-monitor-overlay__popup-header" }, bM = { class: "lr3d-mo
56504
56504
  let t = WA()?.manager?.modules?.lanemodulen;
56505
56505
  if (!t || typeof t.toggleLaneMaterial != "function") throw Error("当前三维实例缺少巷道材质切换接口");
56506
56506
  [...new Set(e.map((e) => typeof e?.layerName == "string" ? e.layerName.trim() : "").filter(Boolean))].forEach((e) => {
56507
- t.toggleLaneMaterial(e, "glass");
56507
+ t.toggleLaneMaterial(e, "uncover");
56508
56508
  }), (Array.isArray(t.typeGroup?.children) ? t.typeGroup.children : []).forEach((e) => {
56509
56509
  (Array.isArray(e?.children) ? e.children : []).forEach((e, t) => {
56510
56510
  t == 0 && console.log("lane", e), e.children[1] && (e.children[1].visible = !1), (Array.isArray(e?.material) ? e.material : [e?.material]).forEach((e, t) => {
@@ -56861,7 +56861,7 @@ var yM = { class: "lr3d-monitor-overlay__popup-header" }, bM = { class: "lr3d-mo
56861
56861
  "stroke-linejoin": "round",
56862
56862
  "stroke-width": "1.8"
56863
56863
  }, null, -1)
56864
- ]])) : (S(), o("svg", JM, [...n[23] ||= [c("<circle cx=\"12\" cy=\"12\" r=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" data-v-6b8eb671></circle><path d=\"M12 4V7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6b8eb671></path><path d=\"M12 17V20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6b8eb671></path><path d=\"M4 12H7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6b8eb671></path><path d=\"M17 12H20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-6b8eb671></path>", 5)]]))], 8, UM),
56864
+ ]])) : (S(), o("svg", JM, [...n[23] ||= [c("<circle cx=\"12\" cy=\"12\" r=\"4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" data-v-63b333b4></circle><path d=\"M12 4V7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-63b333b4></path><path d=\"M12 17V20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-63b333b4></path><path d=\"M4 12H7\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-63b333b4></path><path d=\"M17 12H20\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.8\" data-v-63b333b4></path>", 5)]]))], 8, UM),
56865
56865
  e.isActive && We.value ? (S(), i(LM, {
56866
56866
  key: 0,
56867
56867
  title: We.value.name,
@@ -57145,7 +57145,7 @@ var yM = { class: "lr3d-monitor-overlay__popup-header" }, bM = { class: "lr3d-mo
57145
57145
  p.value === "error" ? (S(), o("div", LP, [...n[40] ||= [s("p", null, "最小初始化未完成", -1), s("small", null, "请根据状态信息检查 SDK 依赖或资源路径", -1)]])) : a("", !0)
57146
57146
  ])], 2)]));
57147
57147
  }
57148
- }, [["__scopeId", "data-v-6b8eb671"]]), rF = { class: "lr-map-viewer" }, iF = { class: "lr-map-viewer__stack" }, aF = "LrMapViewer", oF = /* @__PURE__ */ zj({
57148
+ }, [["__scopeId", "data-v-63b333b4"]]), rF = { class: "lr-map-viewer" }, iF = { class: "lr-map-viewer__stack" }, aF = "LrMapViewer", oF = /* @__PURE__ */ zj({
57149
57149
  __name: "LrMapViewer",
57150
57150
  props: {
57151
57151
  mode: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zhangdali1996/lr-map-viewer",
3
3
  "private": false,
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"