impaktapps-ui-builder 0.0.316 → 0.0.317
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/impaktapps-ui-builder.es.js +8 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +6 -0
- package/src/impaktapps-ui-builder/runtime/services/events.ts +2 -1
|
@@ -6823,6 +6823,12 @@ const GraphSection = {
|
|
|
6823
6823
|
};
|
|
6824
6824
|
const buildPropertiesSection = function(type) {
|
|
6825
6825
|
let uiSchema = _.cloneDeep(GraphSection);
|
|
6826
|
+
if (type === "Text" || type === "TextArea") {
|
|
6827
|
+
uiSchema.elements = [
|
|
6828
|
+
getInputField("placeholder", "Placeholder"),
|
|
6829
|
+
EmptyBox
|
|
6830
|
+
];
|
|
6831
|
+
}
|
|
6826
6832
|
if (type === "SpeedoMeter") {
|
|
6827
6833
|
uiSchema.elements = [
|
|
6828
6834
|
getInputField("segments", "Segments Count"),
|
|
@@ -8056,7 +8062,8 @@ const executeEvents = async (params2) => {
|
|
|
8056
8062
|
let nextEvent = [];
|
|
8057
8063
|
let finalResponse = null;
|
|
8058
8064
|
try {
|
|
8059
|
-
|
|
8065
|
+
const shouldExecute = await shouldEventExecute(params2);
|
|
8066
|
+
if (!shouldExecute) {
|
|
8060
8067
|
return { response: void 0, events: void 0 };
|
|
8061
8068
|
}
|
|
8062
8069
|
const response2 = await executeEventsHandler(params2);
|