impaktapps-ui-builder 1.0.303 → 1.0.304

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.
@@ -8314,7 +8314,7 @@ const buildPropertiesSection = function(type) {
8314
8314
  getSelectField("variant", "Variant"),
8315
8315
  getInputField("toolTip", "Tooltip"),
8316
8316
  getSelectField("toolTipPosition", "Tooltip Position"),
8317
- emptyBox$1("DateEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
8317
+ emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8318
8318
  ];
8319
8319
  break;
8320
8320
  case "DateTime":
@@ -8322,7 +8322,7 @@ const buildPropertiesSection = function(type) {
8322
8322
  getSelectField("variant", "Variant"),
8323
8323
  getInputField("toolTip", "Tooltip"),
8324
8324
  getSelectField("toolTipPosition", "Tooltip Position"),
8325
- emptyBox$1("DateTimeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
8325
+ emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8326
8326
  ];
8327
8327
  break;
8328
8328
  case "Thought":
@@ -9468,7 +9468,8 @@ const EventSchema = {
9468
9468
  { title: "Row Movement", const: "onRowMovement" },
9469
9469
  { title: "Download", const: "onDownload" },
9470
9470
  { title: "Fail", const: "Fail" },
9471
- { title: "Key Down", const: "onKeyDown" }
9471
+ { title: "Key Down", const: "onKeyDown" },
9472
+ { title: "Set Style", const: "setStyle" }
9472
9473
  ]
9473
9474
  },
9474
9475
  Handler: {
@@ -10854,6 +10855,25 @@ var service = (funcParams) => {
10854
10855
  funcParams.store.setUiSchema(uiSchema);
10855
10856
  });
10856
10857
  },
10858
+ getStyle: () => {
10859
+ var _a, _b, _c, _d, _e;
10860
+ const cloneEventGroup = _.cloneDeep(eventGroups);
10861
+ if (cloneEventGroup.setStyle) {
10862
+ let finalResponse = {};
10863
+ 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]);
10864
+ if ((_d = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _d[path]) {
10865
+ for (const eventConfig of (_e = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _e[path]) {
10866
+ finalResponse = executeEvents({
10867
+ ...executeEventsParameters,
10868
+ config: eventConfig,
10869
+ componentName: path
10870
+ });
10871
+ }
10872
+ return finalResponse;
10873
+ }
10874
+ }
10875
+ return {};
10876
+ },
10857
10877
  onCellRenderer: (cellParams) => {
10858
10878
  var _a, _b, _c, _d, _e;
10859
10879
  const cloneEventGroup = _.cloneDeep(eventGroups);
@@ -12160,7 +12180,6 @@ const DateTime = {
12160
12180
  const buildDate = (config2, componentScope2) => {
12161
12181
  const dateInputField = _.cloneDeep(DateInputField);
12162
12182
  dateInputField.config.main.label = config2.label;
12163
- dateInputField.config.main.errorMessage = `${config2.name} is empty or invalid`;
12164
12183
  dateInputField.scope = componentScope2;
12165
12184
  if (config2.layout) {
12166
12185
  dateInputField.config.layout = createLayoutFormat(config2.layout);
@@ -12182,7 +12201,6 @@ const buildDate = (config2, componentScope2) => {
12182
12201
  const buildDateTime = (config2, componentScope2) => {
12183
12202
  const dateTimeInputField = _.cloneDeep(DateTime);
12184
12203
  dateTimeInputField.config.main.label = config2.label;
12185
- dateTimeInputField.config.main.errorMessage = `${config2.name} is empty or invalid`;
12186
12204
  dateTimeInputField.scope = componentScope2;
12187
12205
  if (config2.layout) {
12188
12206
  dateTimeInputField.config.layout = createLayoutFormat(config2.layout);