@cniot/mdd-editor 0.3.8 → 0.3.9
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/build/index.cjs.js +5 -5
- package/build/index.es.js +6 -2
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -26193,6 +26193,9 @@ var styles$b = {
|
|
|
26193
26193
|
const DRAG_KEY$2 = "PanelTitle";
|
|
26194
26194
|
const { Panel: Panel$3 } = Collapse;
|
|
26195
26195
|
const { Tooltip } = Balloon;
|
|
26196
|
+
const stopHeaderInputKeyboardEvent = (event) => {
|
|
26197
|
+
event.stopPropagation();
|
|
26198
|
+
};
|
|
26196
26199
|
const TitleRender$2 = (props) => {
|
|
26197
26200
|
const ref = useRef(null);
|
|
26198
26201
|
const {
|
|
@@ -26270,7 +26273,8 @@ const TitleRender$2 = (props) => {
|
|
|
26270
26273
|
size: "small",
|
|
26271
26274
|
value: label,
|
|
26272
26275
|
onChange: (v2) => titleChange("label", v2),
|
|
26273
|
-
|
|
26276
|
+
onKeyDown: stopHeaderInputKeyboardEvent,
|
|
26277
|
+
placeholder: "\u8F93\u5165\u5C55\u793A\u540D\u79F0"
|
|
26274
26278
|
}), titleType.includes("type") && /* @__PURE__ */ React$1.createElement("div", {
|
|
26275
26279
|
className: styles$b.itemComponent
|
|
26276
26280
|
}, /* @__PURE__ */ React$1.createElement("label", {
|
|
@@ -31922,7 +31926,7 @@ function getDefaultIndexStyle() {
|
|
|
31922
31926
|
`;
|
|
31923
31927
|
}
|
|
31924
31928
|
const name = "@cniot/mdd-editor";
|
|
31925
|
-
const version = "0.3.
|
|
31929
|
+
const version = "0.3.9";
|
|
31926
31930
|
const description = "\u6A21\u578B\u9A71\u52A8\u7F16\u8F91\u5668";
|
|
31927
31931
|
const scripts = {
|
|
31928
31932
|
build: "vite build"
|