build-dxf 0.1.125 → 0.1.126

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-dxf",
3
- "version": "0.1.125",
3
+ "version": "0.1.126",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/index.css CHANGED
@@ -1248,17 +1248,17 @@ button[data-v-7a78abcb]:active {
1248
1248
  }
1249
1249
  }
1250
1250
 
1251
- [data-v-0befccd3] {
1251
+ [data-v-48eb568f] {
1252
1252
  font-family: 微软雅黑;
1253
1253
  }
1254
- .number[data-v-0befccd3] {
1254
+ .number[data-v-48eb568f] {
1255
1255
  color: #a7a7a7
1256
1256
  }
1257
1257
 
1258
- [data-v-d637775c] {
1258
+ [data-v-f7550a15] {
1259
1259
  font-family: 宋体;
1260
1260
  }
1261
- .button[data-v-d637775c] {
1261
+ .button[data-v-f7550a15] {
1262
1262
  padding: 5px 10px;
1263
1263
  border: none;
1264
1264
  background: var(--primary-color);
package/src/index3.js CHANGED
@@ -18385,7 +18385,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18385
18385
  if (!map.has(line2.uuid)) map.set(line2.uuid, reactive(line2.userData));
18386
18386
  return map.get(line2.uuid);
18387
18387
  });
18388
- });
18388
+ }), holeName = {
18389
+ door: "门",
18390
+ window: "窗",
18391
+ beam: "梁",
18392
+ hole: "垭口"
18393
+ };
18389
18394
  return (_ctx, _cache) => {
18390
18395
  return openBlock(), createBlock(_sfc_main$7, {
18391
18396
  title: "属性",
@@ -18407,7 +18412,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18407
18412
  ])) : createCommentVNode("", true),
18408
18413
  createElementVNode("div", _hoisted_5$1, [
18409
18414
  createElementVNode("div", null, [
18410
- createElementVNode("h5", _hoisted_6$1, toDisplayString(line2.userData.isDoor ? "门线" : line2.userData.isSelectWindow ? "孔洞线段" : line2.userData.isBayWindow ? "飘窗线" : "墙体线"), 1)
18415
+ createElementVNode("h5", _hoisted_6$1, toDisplayString(line2.userData.isDoor ? "门线" : line2.userData.isSelectWindow ? `孔洞线( ${holeName[line2.userData.type ?? "hole"]} )` : line2.userData.isBayWindow ? "飘窗线" : "墙体线"), 1)
18411
18416
  ]),
18412
18417
  createElementVNode("div", _hoisted_7$1, [
18413
18418
  (openBlock(true), createElementBlock(Fragment, null, renderList(line2.points, (point, index) => {
@@ -18425,7 +18430,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18425
18430
  ]),
18426
18431
  createElementVNode("div", _hoisted_14$1, [
18427
18432
  userDataList.value[i].isSelectWindow ? (openBlock(), createElementBlock("p", _hoisted_15$1, [
18428
- _cache[9] || (_cache[9] = createElementVNode("span", { class: "mr-[5px] w-[50px]" }, "窗户宽度", -1)),
18433
+ _cache[9] || (_cache[9] = createElementVNode("span", { class: "mr-[5px] w-[50px]" }, "孔洞宽度", -1)),
18429
18434
  createVNode(_sfc_main$3, {
18430
18435
  onBlur: _cache[0] || (_cache[0] = ($event) => emits("update")),
18431
18436
  modelValue: userDataList.value[i].width,
@@ -18435,7 +18440,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18435
18440
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
18436
18441
  ])) : createCommentVNode("", true),
18437
18442
  createElementVNode("p", _hoisted_16$1, [
18438
- createElementVNode("span", _hoisted_17$1, toDisplayString(line2.userData.isSelectWindow ? "窗户" : "墙体") + "高度", 1),
18443
+ createElementVNode("span", _hoisted_17$1, toDisplayString(line2.userData.isSelectWindow ? "孔洞" : "墙体") + "高度", 1),
18439
18444
  createVNode(_sfc_main$3, {
18440
18445
  onBlur: _cache[1] || (_cache[1] = ($event) => emits("update")),
18441
18446
  modelValue: userDataList.value[i].height,
@@ -18453,7 +18458,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18453
18458
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
18454
18459
  ])) : createCommentVNode("", true),
18455
18460
  userDataList.value[i].isSelectWindow ? (openBlock(), createElementBlock("p", _hoisted_19$1, [
18456
- _cache[11] || (_cache[11] = createElementVNode("span", { class: "mr-[5px] w-[50px]" }, "离地高度", -1)),
18461
+ _cache[11] || (_cache[11] = createElementVNode("span", { class: "mr-[5px] w-[50px]" }, "孔洞高度", -1)),
18457
18462
  createVNode(_sfc_main$3, {
18458
18463
  onBlur: _cache[3] || (_cache[3] = ($event) => emits("update")),
18459
18464
  modelValue: userDataList.value[i].groundClearance,
@@ -18474,7 +18479,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18474
18479
  };
18475
18480
  }
18476
18481
  });
18477
- const PropertiesPanelView = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0befccd3"]]);
18482
+ const PropertiesPanelView = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-48eb568f"]]);
18478
18483
  class PropertiesPanel extends Command {
18479
18484
  static name = "PropertiesPanel";
18480
18485
  container = new THREE.Group();
@@ -18734,7 +18739,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
18734
18739
  },
18735
18740
  {
18736
18741
  command: DrawHole.commandName,
18737
- name: "绘制孔洞",
18742
+ name: "绘制垭口",
18738
18743
  show: true,
18739
18744
  src: images["../assets/images/垭口.svg"].default,
18740
18745
  shortcut: DrawHole.shortcutKeys.join(" + ")
@@ -19326,7 +19331,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
19326
19331
  };
19327
19332
  }
19328
19333
  });
19329
- const EditorToolContent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-d637775c"]]);
19334
+ const EditorToolContent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f7550a15"]]);
19330
19335
  class StorageHelper {
19331
19336
  static get(key, defaultValue = void 0) {
19332
19337
  const value = localStorage.getItem(key);