@bpmn-io/form-js-editor 1.8.2 → 1.8.3
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.cjs
CHANGED
|
@@ -1080,7 +1080,7 @@ function EditorHtml(props) {
|
|
|
1080
1080
|
class: "fjs-form-field-placeholder",
|
|
1081
1081
|
children: [jsxRuntime.jsx(Icon, {
|
|
1082
1082
|
viewBox: "0 0 54 54"
|
|
1083
|
-
}), "Html is empty"]
|
|
1083
|
+
}), "Html view is empty"]
|
|
1084
1084
|
})
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
@@ -1091,7 +1091,7 @@ function EditorHtml(props) {
|
|
|
1091
1091
|
class: "fjs-form-field-placeholder",
|
|
1092
1092
|
children: [jsxRuntime.jsx(Icon, {
|
|
1093
1093
|
viewBox: "0 0 54 54"
|
|
1094
|
-
}), "Html is populated by an expression"]
|
|
1094
|
+
}), "Html view is populated by an expression"]
|
|
1095
1095
|
})
|
|
1096
1096
|
});
|
|
1097
1097
|
}
|
|
@@ -1102,7 +1102,7 @@ function EditorHtml(props) {
|
|
|
1102
1102
|
class: "fjs-form-field-placeholder",
|
|
1103
1103
|
children: [jsxRuntime.jsx(Icon, {
|
|
1104
1104
|
viewBox: "0 0 54 54"
|
|
1105
|
-
}), "Html is templated"]
|
|
1105
|
+
}), "Html view is templated"]
|
|
1106
1106
|
})
|
|
1107
1107
|
});
|
|
1108
1108
|
}
|
|
@@ -1183,13 +1183,14 @@ function EditorExpressionField(props) {
|
|
|
1183
1183
|
field
|
|
1184
1184
|
} = props;
|
|
1185
1185
|
const {
|
|
1186
|
-
expression = ''
|
|
1186
|
+
expression = '',
|
|
1187
|
+
key
|
|
1187
1188
|
} = field;
|
|
1188
1189
|
const Icon = formJsViewer.iconsByType('expression');
|
|
1189
1190
|
const expressionLanguage = useService$1('expressionLanguage');
|
|
1190
1191
|
let placeholderContent = 'Expression is empty';
|
|
1191
1192
|
if (expression.trim() && expressionLanguage.isExpression(expression)) {
|
|
1192
|
-
placeholderContent =
|
|
1193
|
+
placeholderContent = `Expression for '${key}'`;
|
|
1193
1194
|
}
|
|
1194
1195
|
return jsxRuntime.jsx("div", {
|
|
1195
1196
|
class: editorFormFieldClasses(type),
|