impaktapps-ui-builder 0.0.101-alpha.41 → 0.0.101-alpha.43

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.
@@ -6435,23 +6435,20 @@ const ComponentSchema = {
6435
6435
  }
6436
6436
  },
6437
6437
  filteringOptions: {
6438
- type: "array",
6439
- items: {
6440
- oneOf: [
6441
- { const: "fuzzy", title: "Fuzzy" },
6442
- { const: "contains", title: "Contain" },
6443
- { const: "startsWith", title: "Starts with" },
6444
- { const: "endsWith", title: "Ends with" },
6445
- { const: "equals", title: "Equals" },
6446
- { const: "notEquals", title: "Not Equals" },
6447
- { const: "between", title: "Between" },
6448
- { const: "betweenInclusive", title: "Between inclusive" },
6449
- { const: "greaterThan", title: "Greater than" },
6450
- { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6451
- { const: "lessThan", title: "Less than" },
6452
- { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6453
- ]
6454
- }
6438
+ oneOf: [
6439
+ { const: "fuzzy", title: "Fuzzy" },
6440
+ { const: "contains", title: "Contain" },
6441
+ { const: "startsWith", title: "Starts with" },
6442
+ { const: "endsWith", title: "Ends with" },
6443
+ { const: "equals", title: "Equals" },
6444
+ { const: "notEquals", title: "Not Equals" },
6445
+ { const: "between", title: "Between" },
6446
+ { const: "betweenInclusive", title: "Between inclusive" },
6447
+ { const: "greaterThan", title: "Greater than" },
6448
+ { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6449
+ { const: "lessThan", title: "Less than" },
6450
+ { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6451
+ ]
6455
6452
  },
6456
6453
  legendLabels: {
6457
6454
  type: "array",
@@ -8444,16 +8441,8 @@ function refreshPage(type, store2) {
8444
8441
  UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8445
8442
  }
8446
8443
  const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8447
- const pathArrayAll = path.split(".");
8448
- const parentObj = pathArrayAll.reduce((currObj, path2, index) => {
8449
- var _a2;
8450
- if (index === pathArrayAll.length - 1) {
8451
- return currObj;
8452
- }
8453
- const currElemIndexWithBracket = path2.split("[")[1];
8454
- const currElemIndex = parseInt(currElemIndexWithBracket.slice(0, -1));
8455
- return (_a2 = currObj == null ? void 0 : currObj["elements"]) == null ? void 0 : _a2[currElemIndex];
8456
- }, currentConfig);
8444
+ path.split(".");
8445
+ const parentObj = _.get(currentConfig, path);
8457
8446
  if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8458
8447
  UiSchema.elements[0].elements[0].elements[4] = {
8459
8448
  type: "Control",