impaktapps-ui-builder 0.0.316 → 0.0.318
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 +10 -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 +4 -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);
|
|
@@ -8213,6 +8220,8 @@ async function shouldEventExecute(params2) {
|
|
|
8213
8220
|
if ((startEvent == null ? void 0 : startEvent.length) > 0) {
|
|
8214
8221
|
const response2 = await executeEventsHandler({ ...params2, config: startEvent[0] });
|
|
8215
8222
|
return response2;
|
|
8223
|
+
} else {
|
|
8224
|
+
return true;
|
|
8216
8225
|
}
|
|
8217
8226
|
}
|
|
8218
8227
|
async function buildApiPayload(compConfig, body, headers, store, dynamicData, userValue, service) {
|