impaktapps-ui-builder 0.0.101 → 0.0.103

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.
@@ -7799,7 +7799,7 @@ const buildPropertiesSection = function(type) {
7799
7799
  case "Text":
7800
7800
  uiSchema.elements = [
7801
7801
  getInputField("placeholder", "Placeholder"),
7802
- emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7802
+ getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
7803
7803
  emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7804
7804
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
7805
7805
  ];
@@ -9943,6 +9943,14 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9943
9943
  return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
9944
9944
  });
9945
9945
  }
9946
+ } else if (eventConfig.type === "Table" && eventConfig.lazyLoading) {
9947
+ if (handlerResponse && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9948
+ formDataHolder[componentName] = handlerResponse.data;
9949
+ formDataHolder[`${componentName}_RowCount`] = handlerResponse.data;
9950
+ store2.setFormdata((pre) => {
9951
+ return { ...pre, ...formDataHolder };
9952
+ });
9953
+ }
9946
9954
  } else {
9947
9955
  if (handlerResponse) {
9948
9956
  formDataHolder[componentName] = handlerResponse.data;
@@ -10248,7 +10256,7 @@ var service = (funcParams) => {
10248
10256
  service: funcParams.service,
10249
10257
  serviceHolder: this,
10250
10258
  eventGroups,
10251
- formDataHolder
10259
+ formDataHolder: {}
10252
10260
  });
10253
10261
  funcParams.store.setSchema(
10254
10262
  (pre) => {
@@ -10263,11 +10271,11 @@ var service = (funcParams) => {
10263
10271
  funcParams.store.setUiSchema(uiSchema);
10264
10272
  },
10265
10273
  onCellRenderer: (cellParams) => {
10266
- var _a, _b, _c;
10274
+ var _a, _b, _c, _d;
10267
10275
  if (eventGroups.onCellRenderer) {
10268
10276
  let finalResponse = {};
10269
10277
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_c = (_b = funcParams == null ? void 0 : funcParams.dynamicData) == null ? void 0 : _b.path) == null ? void 0 : _c.split(".")[0]);
10270
- for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onCellRenderer[path]) {
10278
+ for (const eventConfig of (_d = eventGroups == null ? void 0 : eventGroups.onCellRenderer) == null ? void 0 : _d[path]) {
10271
10279
  executeEventsParameters.store.functionParameters = cellParams;
10272
10280
  finalResponse = executeEvents({
10273
10281
  ...executeEventsParameters,
@@ -10871,6 +10879,9 @@ const buildTextField = (config2, componentScope2) => {
10871
10879
  if (config2.style) {
10872
10880
  inputField.config.style = JSON.parse(config2.style);
10873
10881
  }
10882
+ if (config2.multiline) {
10883
+ inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
10884
+ }
10874
10885
  if (config2.InputFormatingAndMasking) {
10875
10886
  inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
10876
10887
  }