impaktapps-ui-builder 0.0.409-u → 0.0.409-w

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.
@@ -1128,7 +1128,7 @@ var lodash = { exports: {} };
1128
1128
  }
1129
1129
  var runInContext = function runInContext2(context) {
1130
1130
  context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
1131
- var Array2 = context.Array, Date = context.Date, Error = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
1131
+ var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
1132
1132
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
1133
1133
  var coreJsData = context["__core-js_shared__"];
1134
1134
  var funcToString = funcProto.toString;
@@ -4531,7 +4531,7 @@ var lodash = { exports: {} };
4531
4531
  }
4532
4532
  function isNative(value) {
4533
4533
  if (isMaskable(value)) {
4534
- throw new Error(CORE_ERROR_TEXT);
4534
+ throw new Error2(CORE_ERROR_TEXT);
4535
4535
  }
4536
4536
  return baseIsNative(value);
4537
4537
  }
@@ -5072,7 +5072,7 @@ var lodash = { exports: {} };
5072
5072
  if (!variable) {
5073
5073
  source = "with (obj) {\n" + source + "\n}\n";
5074
5074
  } else if (reForbiddenIdentifierChars.test(variable)) {
5075
- throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
5075
+ throw new Error2(INVALID_TEMPL_VAR_ERROR_TEXT);
5076
5076
  }
5077
5077
  source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;");
5078
5078
  source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}";
@@ -5191,7 +5191,7 @@ var lodash = { exports: {} };
5191
5191
  try {
5192
5192
  return apply(func, undefined$1, args);
5193
5193
  } catch (e) {
5194
- return isError(e) ? e : new Error(e);
5194
+ return isError(e) ? e : new Error2(e);
5195
5195
  }
5196
5196
  });
5197
5197
  var bindAll = flatRest(function(object, methodNames) {
@@ -8455,7 +8455,7 @@ const executeEvents = (params2) => {
8455
8455
  if (params2.config.isSync !== "Yes") {
8456
8456
  return shouldEventExecute(params2).then((shouldExecute2) => {
8457
8457
  if (!shouldExecute2) {
8458
- return { response: void 0, events: void 0 };
8458
+ throw new Error("onStart Event not allow to run Parent Events");
8459
8459
  }
8460
8460
  return executeEventsHandler(params2);
8461
8461
  }).then((response) => {
@@ -10179,7 +10179,7 @@ var Card = {
10179
10179
  scope: "#/properties/programType",
10180
10180
  config: {
10181
10181
  main: {
10182
- url: "$"
10182
+ url: "https://www.svgrepo.com/show/500606/loading.svg"
10183
10183
  },
10184
10184
  style: {
10185
10185
  color: "#f5effc",
@@ -11180,7 +11180,23 @@ const buildUiSchema = (config) => {
11180
11180
  if (config == null ? void 0 : config.elements) {
11181
11181
  if ((config == null ? void 0 : config.type) === "LeaderBoard") {
11182
11182
  return elements;
11183
- } else if (config.type == "Table" || config.type == "ColumnGroup") {
11183
+ } else if (config.type == "ColumnGroup") {
11184
+ const sizeMap = {};
11185
+ if (config.sizeHolder) {
11186
+ config.sizeHolder.map((e, i) => {
11187
+ sizeMap[e.keyName] = e.value;
11188
+ });
11189
+ }
11190
+ elements.elements = config.elements.map((cellElem, elemInd) => {
11191
+ return {
11192
+ accessorKey: cellElem.name,
11193
+ header: cellElem.label || cellElem.name,
11194
+ size: sizeMap[cellElem.name] || 180,
11195
+ type: cellElem.columnFormat,
11196
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11197
+ };
11198
+ });
11199
+ } else if (config.type == "Table") {
11184
11200
  const sizeMap = {};
11185
11201
  if (config.sizeHolder) {
11186
11202
  config.sizeHolder.map((e, i) => {