sldeditor 0.13.0 → 0.13.1
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/dist/sldeditor.cjs +2 -2
- package/dist/sldeditor.cjs.map +1 -1
- package/dist/sldeditor.js +16 -16
- package/dist/sldeditor.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sldeditor.js
CHANGED
|
@@ -5934,7 +5934,7 @@ const vi = "ammeter", ki = "电流表 (A)", _i = "measurement", $i = "-22 -42 44
|
|
|
5934
5934
|
terminals: mh,
|
|
5935
5935
|
viewBox: ch,
|
|
5936
5936
|
width: dh
|
|
5937
|
-
}, Symbol.toStringTag, { value: "Module" })), ph = "panelboard", gh = "配电箱", yh = "load", bh = "配电箱 / 负荷中心(IEC 60617
|
|
5937
|
+
}, Symbol.toStringTag, { value: "Module" })), ph = "panelboard", gh = "配电箱", yh = "load", bh = "配电箱 / 负荷中心(IEC 60617 分配中心符号):顶部进线,底部分路示意", wh = "-52 -62 54 64", xh = 54, vh = 64, kh = '<g transform="matrix(1 0 0 -1 0 -60)"><rect x="-50" y="-40" width="50" height="20" rx="0" ry="0" fill="none" stroke="black" stroke-width="1"/><line x1="-40" y1="-60" x2="-40" y2="-40" fill="none" stroke="black" stroke-width="1"/><line x1="-30" y1="-60" x2="-30" y2="-40" fill="none" stroke="black" stroke-width="1"/><line x1="-20" y1="-60" x2="-20" y2="-40" fill="none" stroke="black" stroke-width="1"/><line x1="-10" y1="-60" x2="-10" y2="-40" fill="none" stroke="black" stroke-width="1"/><line x1="-25" y1="-20" x2="-25" y2="0" fill="none" stroke="black" stroke-width="1"/></g>', _h = [{ id: "t_in", x: -25, y: -60, orientation: "n" }], $h = { kind: "elmt", path: "91_en_60617/en_60617_11/en_60617_11_12/en_60617_11_12_07.elmt", qetEnglishName: "Distribution centre" }, k_ = {
|
|
5938
5938
|
id: ph,
|
|
5939
5939
|
name: gh,
|
|
5940
5940
|
category: yh,
|
|
@@ -6150,7 +6150,7 @@ const vi = "ammeter", ki = "电流表 (A)", _i = "measurement", $i = "-22 -42 44
|
|
|
6150
6150
|
terminals: V0,
|
|
6151
6151
|
viewBox: G0,
|
|
6152
6152
|
width: X0
|
|
6153
|
-
}, Symbol.toStringTag, { value: "Module" })), J0 = "pv", Z0 = "光伏组件", Q0 = "renewable", ep = "-33 -22 85 64", tp = 85, np = 64, op = '<line x1="-16" y1="24" x2="-26" y2="14" fill="none" stroke="black" stroke-width="1"/><line x1="-21" y1="29" x2="-31" y2="19" fill="none" stroke="black" stroke-width="1"/><polygon points="-20,23 -17,20 -15,25" fill="black" stroke="black" stroke-width="1"/><polygon points="-22,25 -25,28 -20,30" fill="black" stroke="black" stroke-width="1"/><rect x="-10" y="-20" width="60" height="60" rx="0" ry="0" fill="none" stroke="black" stroke-width="1"/><text x="15" y="7.2" font-family="Liberation Sans, Arial, sans-serif" font-size="14" fill="#000000">G</text><line x1="10" y1="20" x2="20" y2="20" fill="none" stroke="black" stroke-width="1"/><line x1="20" y1="15" x2="20" y2="25" fill="none" stroke="black" stroke-width="1"/><line x1="25" y1="10" x2="25" y2="30" fill="none" stroke="black" stroke-width="1"/><line x1="25" y1="20" x2="35" y2="20" fill="none" stroke="black" stroke-width="1"/>', rp = [{ id: "t_dc", x:
|
|
6153
|
+
}, Symbol.toStringTag, { value: "Module" })), J0 = "pv", Z0 = "光伏组件", Q0 = "renewable", ep = "-33 -22 85 64", tp = 85, np = 64, op = '<line x1="-16" y1="24" x2="-26" y2="14" fill="none" stroke="black" stroke-width="1"/><line x1="-21" y1="29" x2="-31" y2="19" fill="none" stroke="black" stroke-width="1"/><polygon points="-20,23 -17,20 -15,25" fill="black" stroke="black" stroke-width="1"/><polygon points="-22,25 -25,28 -20,30" fill="black" stroke="black" stroke-width="1"/><rect x="-10" y="-20" width="60" height="60" rx="0" ry="0" fill="none" stroke="black" stroke-width="1"/><text x="15" y="7.2" font-family="Liberation Sans, Arial, sans-serif" font-size="14" fill="#000000">G</text><line x1="10" y1="20" x2="20" y2="20" fill="none" stroke="black" stroke-width="1"/><line x1="20" y1="15" x2="20" y2="25" fill="none" stroke="black" stroke-width="1"/><line x1="25" y1="10" x2="25" y2="30" fill="none" stroke="black" stroke-width="1"/><line x1="25" y1="20" x2="35" y2="20" fill="none" stroke="black" stroke-width="1"/>', rp = [{ id: "t_dc", x: 0, y: 40, orientation: "s" }], ip = { kind: "elmt", path: "91_en_60617/en_60617_06/en_60617_06_18/en_60617_06_18_06.elmt", qetEnglishName: "Photovoltaic generator" }, R_ = {
|
|
6154
6154
|
id: J0,
|
|
6155
6155
|
name: Z0,
|
|
6156
6156
|
category: Q0,
|
|
@@ -11649,7 +11649,7 @@ function y6({ tier: e }) {
|
|
|
11649
11649
|
{
|
|
11650
11650
|
className: "absolute z-20",
|
|
11651
11651
|
style: {
|
|
11652
|
-
bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px))",
|
|
11652
|
+
bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px))",
|
|
11653
11653
|
right: "calc(0.75rem + env(safe-area-inset-right, 0px))"
|
|
11654
11654
|
},
|
|
11655
11655
|
children: /* @__PURE__ */ j("div", { className: "ole-glass flex items-center gap-0.5 rounded-2xl border border-border p-1.5 shadow-sm", children: [
|
|
@@ -11771,7 +11771,7 @@ function w6() {
|
|
|
11771
11771
|
"div",
|
|
11772
11772
|
{
|
|
11773
11773
|
className: "absolute left-1/2 z-20 flex -translate-x-1/2 flex-col items-center gap-1.5",
|
|
11774
|
-
style: { bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px))" },
|
|
11774
|
+
style: { bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px))" },
|
|
11775
11775
|
children: [
|
|
11776
11776
|
u && /* @__PURE__ */ f(b6, {}),
|
|
11777
11777
|
/* @__PURE__ */ j(
|
|
@@ -12122,9 +12122,9 @@ function _6() {
|
|
|
12122
12122
|
{
|
|
12123
12123
|
className: "absolute z-10",
|
|
12124
12124
|
style: {
|
|
12125
|
-
left: "calc(0.75rem + var(--ole-left-inset, 0px))",
|
|
12126
|
-
right: "calc(0.75rem + var(--ole-right-inset, 0px))",
|
|
12127
|
-
bottom: "calc(4rem + var(--ole-bottom-inset, 0px) + 0.75rem)"
|
|
12125
|
+
left: "calc(0.75rem + var(--ole-left-inset, 0px) + var(--ole-safe-left, 0px))",
|
|
12126
|
+
right: "calc(0.75rem + var(--ole-right-inset, 0px) + var(--ole-safe-right, 0px))",
|
|
12127
|
+
bottom: "calc(4rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px) + 0.75rem)"
|
|
12128
12128
|
},
|
|
12129
12129
|
children: /* @__PURE__ */ f(Pr, { onClose: () => t(!1), sheet: !0 })
|
|
12130
12130
|
}
|
|
@@ -12133,8 +12133,8 @@ function _6() {
|
|
|
12133
12133
|
{
|
|
12134
12134
|
className: "absolute z-10 flex flex-col items-start",
|
|
12135
12135
|
style: {
|
|
12136
|
-
bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px))",
|
|
12137
|
-
left: "calc(0.75rem + var(--ole-left-inset, 0px))",
|
|
12136
|
+
bottom: "calc(0.75rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px))",
|
|
12137
|
+
left: "calc(0.75rem + var(--ole-left-inset, 0px) + var(--ole-safe-left, 0px))",
|
|
12138
12138
|
maxHeight: "calc(100% - 1.5rem)"
|
|
12139
12139
|
},
|
|
12140
12140
|
children: e ? /* @__PURE__ */ f(Pr, { onClose: () => t(!1) }) : /* @__PURE__ */ f($6, { onClick: () => t(!0) })
|
|
@@ -12580,10 +12580,10 @@ function P6() {
|
|
|
12580
12580
|
const e = de(), t = b((d) => d.activeTool === "place"), n = b((d) => d.placeKind), o = b((d) => d.setActiveTool), i = Ot((d) => d.outlineOpen), r = Qe(), s = Le(r, "dense"), a = 68, c = s ? void 0 : `calc(100vh - ${a}px - ${i ? "calc(40vh + 20px)" : "68px"})`;
|
|
12581
12581
|
if (!t || s && n != null) return null;
|
|
12582
12582
|
const u = s ? {
|
|
12583
|
-
top: `calc(${a}px + var(--ole-top-inset, 0px))`,
|
|
12584
|
-
left: "calc(0.75rem + var(--ole-left-inset, 0px))",
|
|
12585
|
-
right: "calc(0.75rem + var(--ole-right-inset, 0px))",
|
|
12586
|
-
bottom: "calc(4rem + var(--ole-bottom-inset, 0px) + 0.75rem)"
|
|
12583
|
+
top: `calc(${a}px + var(--ole-top-inset, 0px) + var(--ole-safe-top, 0px))`,
|
|
12584
|
+
left: "calc(0.75rem + var(--ole-left-inset, 0px) + var(--ole-safe-left, 0px))",
|
|
12585
|
+
right: "calc(0.75rem + var(--ole-right-inset, 0px) + var(--ole-safe-right, 0px))",
|
|
12586
|
+
bottom: "calc(4rem + var(--ole-bottom-inset, 0px) + var(--ole-safe-bottom, 0px) + 0.75rem)"
|
|
12587
12587
|
} : { top: a };
|
|
12588
12588
|
return /* @__PURE__ */ f(
|
|
12589
12589
|
"div",
|
|
@@ -13366,9 +13366,9 @@ function Z6() {
|
|
|
13366
13366
|
l ? "w-48" : "w-56"
|
|
13367
13367
|
),
|
|
13368
13368
|
style: {
|
|
13369
|
-
top: `calc(${l ? "4.5rem" : "0.75rem"} + var(--ole-top-inset, 0px))`,
|
|
13370
|
-
right: "calc(0.75rem + var(--ole-right-inset, 0px))",
|
|
13371
|
-
maxHeight: `calc(100% - ${l ? "5.25rem" : "1.5rem"} - var(--ole-top-inset, 0px) - var(--ole-bottom-inset, 0px) - 4.5rem)`
|
|
13369
|
+
top: `calc(${l ? "4.5rem" : "0.75rem"} + var(--ole-top-inset, 0px) + var(--ole-safe-top, 0px))`,
|
|
13370
|
+
right: "calc(0.75rem + var(--ole-right-inset, 0px) + var(--ole-safe-right, 0px))",
|
|
13371
|
+
maxHeight: `calc(100% - ${l ? "5.25rem" : "1.5rem"} - var(--ole-top-inset, 0px) - var(--ole-safe-top, 0px) - var(--ole-bottom-inset, 0px) - var(--ole-safe-bottom, 0px) - 4.5rem)`
|
|
13372
13372
|
},
|
|
13373
13373
|
children: [
|
|
13374
13374
|
/* @__PURE__ */ j("div", { className: "flex items-center gap-1.5 border-b border-border/40 px-3 py-2", children: [
|