procode-lowcode-core 1.0.11 → 1.0.13

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/index.esm.js CHANGED
@@ -19348,7 +19348,7 @@ const useWidgetProps = (schemaElementProps, viewModel, validation, eventService,
19348
19348
  return;
19349
19349
  }
19350
19350
  const events = getEvents();
19351
- setWidgetProps(Object.assign(Object.assign(Object.assign(Object.assign({}, schemaElementProps), { id: schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.id, value: getScreenDataFieldValue(), listData: getSupportiveDataFieldValue(), uiElementGroupData: getUiElementGroupData(), validations: getValidationProperty(), eventService: eventService, viewModel: viewModel }), events), { dynamicEvents: events }));
19351
+ setWidgetProps(Object.assign(Object.assign(Object.assign(Object.assign({}, schemaElementProps), { id: schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.id, value: getScreenDataFieldValue(), listData: getSupportiveDataFieldValue(), uiElementGroupData: getUiElementGroupData(), validations: getValidationProperty(), eventService: eventService, viewModel: viewModel, "sssss": "ss" }), events), { dynamicEvents: events }));
19352
19352
  };
19353
19353
  const getEvents = () => {
19354
19354
  if (!(schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.events))
package/dist/index.js CHANGED
@@ -19352,7 +19352,7 @@ const useWidgetProps = (schemaElementProps, viewModel, validation, eventService,
19352
19352
  return;
19353
19353
  }
19354
19354
  const events = getEvents();
19355
- setWidgetProps(Object.assign(Object.assign(Object.assign(Object.assign({}, schemaElementProps), { id: schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.id, value: getScreenDataFieldValue(), listData: getSupportiveDataFieldValue(), uiElementGroupData: getUiElementGroupData(), validations: getValidationProperty(), eventService: eventService, viewModel: viewModel }), events), { dynamicEvents: events }));
19355
+ setWidgetProps(Object.assign(Object.assign(Object.assign(Object.assign({}, schemaElementProps), { id: schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.id, value: getScreenDataFieldValue(), listData: getSupportiveDataFieldValue(), uiElementGroupData: getUiElementGroupData(), validations: getValidationProperty(), eventService: eventService, viewModel: viewModel, "sssss": "ss" }), events), { dynamicEvents: events }));
19356
19356
  };
19357
19357
  const getEvents = () => {
19358
19358
  if (!(schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.events))
@@ -56,6 +56,7 @@ export declare class ToolTip {
56
56
  dataMultiline?: boolean;
57
57
  dataType?: string;
58
58
  dataTip?: any;
59
+ dataTipField?: string;
59
60
  isApply?: boolean;
60
61
  }
61
62
  export declare class Label {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "procode-lowcode-core",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "ProCode Core Library - React framework for low-code applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -48,6 +48,7 @@ export const useWidgetProps = (
48
48
  validations: getValidationProperty(),
49
49
  eventService: eventService,
50
50
  viewModel: viewModel,
51
+ "sssss":"ss",
51
52
  ...events,
52
53
  dynamicEvents: events,
53
54
  });
@@ -39,7 +39,7 @@ export class CentralService {
39
39
 
40
40
  private getMessage = (
41
41
  response: AxiosResponse<any, any>,
42
- responseConfig?: ResponseConfig
42
+ responseConfig?: ResponseConfig,
43
43
  ) => {
44
44
  const statusRelatedConfig = (responseConfig ?? {})[response?.status];
45
45
  let errorMessage = "";
@@ -52,7 +52,7 @@ export class CentralService {
52
52
  errorMessage ||
53
53
  ErrorMessageProvider.get(
54
54
  response.config.method as RequestType,
55
- response?.status
55
+ response?.status,
56
56
  );
57
57
  }
58
58
  } else if (statusRelatedConfig?.enableMessage) {
@@ -61,7 +61,7 @@ export class CentralService {
61
61
  response?.data?.message ||
62
62
  ErrorMessageProvider.get(
63
63
  response.config.method as RequestType,
64
- response?.status
64
+ response?.status,
65
65
  );
66
66
  }
67
67
  return errorMessage;
@@ -76,7 +76,7 @@ export class CentralService {
76
76
 
77
77
  response.data.message = this.getMessage(
78
78
  response,
79
- customAxiosRequestConfig?.responseConfig
79
+ customAxiosRequestConfig?.responseConfig,
80
80
  );
81
81
 
82
82
  response.data.alertType =
@@ -92,7 +92,7 @@ export class CentralService {
92
92
  ) {
93
93
  NotificationService.showNotification(
94
94
  response.data.message,
95
- getStatusBaseNotifiType(response?.data?.status)
95
+ getStatusBaseNotifiType(response?.data?.status),
96
96
  );
97
97
  }
98
98
  } else {
@@ -119,7 +119,7 @@ export class CentralService {
119
119
  (error) => {
120
120
  console.error("Response error:", error);
121
121
  throw error;
122
- }
122
+ },
123
123
  );
124
124
  };
125
125
 
@@ -129,14 +129,14 @@ export class CentralService {
129
129
  (request) => {
130
130
  this.setHeaders(
131
131
  request,
132
- AppDependenceyProvider.getInstance().getRequestHeaders()
132
+ AppDependenceyProvider.getInstance().getRequestHeaders(),
133
133
  );
134
134
  return request;
135
135
  },
136
136
  (error) => {
137
137
  console.error("Request error:", error);
138
138
  throw error;
139
- }
139
+ },
140
140
  );
141
141
  }
142
142
  };
@@ -58,6 +58,7 @@ export class ToolTip {
58
58
  dataMultiline?: boolean = true;
59
59
  dataType?: string = "info";
60
60
  dataTip?: any = "";
61
+ dataTipField?: string;
61
62
  isApply?: boolean = false;
62
63
  }
63
64