impaktapps-ui-builder 1.0.1-alpha.2 → 1.0.1-alpha.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.
@@ -6287,8 +6287,7 @@ const ComponentSchema = {
6287
6287
  { title: "Upload", const: "UploadFile" },
6288
6288
  { title: "Tree ", const: "TreeMap" },
6289
6289
  { title: "Column Group", const: "ColumnGroup" },
6290
- { title: "Thought of the day", const: "Thought" },
6291
- { title: "Phone Input", const: "PhoneInput" }
6290
+ { title: "Thought of the day", const: "Thought" }
6292
6291
  ]
6293
6292
  },
6294
6293
  elementType: {
@@ -7843,6 +7842,7 @@ const buildPropertiesSection = function(type) {
7843
7842
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
7844
7843
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
7845
7844
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
7845
+ getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
7846
7846
  emptyBox$1("LazyLoadingTableEmpty2"),
7847
7847
  emptyBox$1("LazyLoadingTableEmpty3")
7848
7848
  ]),
@@ -11178,6 +11178,9 @@ const buildTable = (config2, componentScope2) => {
11178
11178
  if (config2.enableExpandAll) {
11179
11179
  table.config.main.enableExpandAll = config2.enableExpandAll === "YES" ? true : false;
11180
11180
  }
11181
+ if (config2.filterFromLeafRows) {
11182
+ table.config.main.filterFromLeafRows = config2.filterFromLeafRows === "YES" ? true : false;
11183
+ }
11181
11184
  if (config2.paginateExpandedRows) {
11182
11185
  table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
11183
11186
  }
@@ -12246,39 +12249,6 @@ const buildThoughtOfTheDay = (config2, componentScope2) => {
12246
12249
  }
12247
12250
  return thought;
12248
12251
  };
12249
- const PhoneInput = {
12250
- scope: "#/properties/testPhone",
12251
- type: "Control",
12252
- options: {
12253
- widget: "PhoneInput"
12254
- },
12255
- config: {
12256
- layout: { xs: 6, sm: 6, md: 4, lg: 3 },
12257
- main: {
12258
- defaultCountry: "in",
12259
- label: "Phone"
12260
- }
12261
- }
12262
- };
12263
- const buildPhoneInputField = (config2, componentScope2) => {
12264
- const phonInputField = _.cloneDeep(PhoneInput);
12265
- phonInputField.config.main.label = config2.label;
12266
- if (config2.style) {
12267
- phonInputField.config.style = JSON.parse(config2.style);
12268
- }
12269
- if (config2.InputFormatingAndMasking) {
12270
- phonInputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
12271
- }
12272
- if (config2.placeholder) {
12273
- phonInputField.config.main.placeholder = config2.placeholder;
12274
- }
12275
- if (config2.layout) {
12276
- phonInputField.config.layout = createLayoutFormat(config2.layout);
12277
- }
12278
- phonInputField.config.main.errorMessage = `${config2.name} is empty or invalid`;
12279
- phonInputField.scope = componentScope2;
12280
- return phonInputField;
12281
- };
12282
12252
  let schema = {
12283
12253
  type: "object",
12284
12254
  properties: {},
@@ -12533,9 +12503,6 @@ const buildUiSchema = (config2, store2) => {
12533
12503
  case "Thought":
12534
12504
  elements = buildThoughtOfTheDay(config2, componentScope2);
12535
12505
  break;
12536
- case "PhoneInput":
12537
- elements = buildPhoneInputField(config2, componentScope2);
12538
- break;
12539
12506
  default:
12540
12507
  schema = {
12541
12508
  type: "object",
@@ -12606,7 +12573,7 @@ const buildUiSchema = (config2, store2) => {
12606
12573
  }
12607
12574
  });
12608
12575
  elements.elements = rowElements;
12609
- elements.config.actions = tableActionElement;
12576
+ elements.config.action = tableActionElement;
12610
12577
  elements.config.main.headerIcons.elements = tableHeaderElements;
12611
12578
  } else if (config2.type == "Array") {
12612
12579
  elements.options.detail.elements = config2.elements.map((e, elemInd) => {