@republicroad/seal-editor 1.20.0 → 1.21.0
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/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17670,17 +17670,17 @@ var d_ = u_({
|
|
|
17670
17670
|
value: e
|
|
17671
17671
|
});
|
|
17672
17672
|
}, [n]), g = N((e) => {
|
|
17673
|
-
let t =
|
|
17674
|
-
if (
|
|
17673
|
+
let t = d;
|
|
17674
|
+
if (t.trim() === "") {
|
|
17675
17675
|
n({
|
|
17676
17676
|
mode: "reference",
|
|
17677
|
-
value:
|
|
17677
|
+
value: e
|
|
17678
17678
|
});
|
|
17679
17679
|
return;
|
|
17680
17680
|
}
|
|
17681
17681
|
n({
|
|
17682
17682
|
mode: "expression",
|
|
17683
|
-
value: `${
|
|
17683
|
+
value: `${t}${t.endsWith(" ") ? "" : " "}${e}`
|
|
17684
17684
|
});
|
|
17685
17685
|
}, [d, n]), _ = F(() => [{
|
|
17686
17686
|
value: "literal",
|
|
@@ -17701,7 +17701,7 @@ var d_ = u_({
|
|
|
17701
17701
|
children: /* @__PURE__ */ V(xo, {
|
|
17702
17702
|
disabled: r,
|
|
17703
17703
|
className: "font-mono text-xs",
|
|
17704
|
-
placeholder: i ?? "
|
|
17704
|
+
placeholder: i ?? "q.tier / 表达式",
|
|
17705
17705
|
value: u === "expression" ? d : void 0,
|
|
17706
17706
|
onChange: (e) => h(e.target.value)
|
|
17707
17707
|
})
|
|
@@ -18011,7 +18011,7 @@ var d_ = u_({
|
|
|
18011
18011
|
...f.call,
|
|
18012
18012
|
kwargs: {
|
|
18013
18013
|
...f.call.kwargs,
|
|
18014
|
-
[e]: t
|
|
18014
|
+
[e]: t
|
|
18015
18015
|
}
|
|
18016
18016
|
} })
|
|
18017
18017
|
})]
|