impaktapps-ui-builder 0.0.313 → 0.0.315

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.
@@ -7243,20 +7243,12 @@ var Component = (store2, dynamicData2) => {
7243
7243
  saveHandler: async function() {
7244
7244
  var _a;
7245
7245
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
7246
- if (_.isEmpty(store2.ctx.core.errors)) {
7247
- saveFormdataInLocalStorage(store2.formData, path);
7248
- store2.navigate(-1);
7249
- store2.setNotify({
7250
- SuccessMessage: "Save Successfully",
7251
- Success: true
7252
- });
7253
- } else {
7254
- store2.setValidation("ValidateAndShow");
7255
- store2.setNotify({
7256
- Fail: true,
7257
- FailMessage: "Errors on Page"
7258
- });
7259
- }
7246
+ saveFormdataInLocalStorage(store2.formData, path);
7247
+ store2.navigate(-1);
7248
+ store2.setNotify({
7249
+ SuccessMessage: "Save Successfully",
7250
+ Success: true
7251
+ });
7260
7252
  },
7261
7253
  onChange: function() {
7262
7254
  var _a, _b, _c, _d;
@@ -8346,7 +8338,7 @@ var service = (funcParams) => {
8346
8338
  onFileDownload: async () => {
8347
8339
  var _a;
8348
8340
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
8349
- for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onFileDownload[path]) {
8341
+ for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onDownload[path]) {
8350
8342
  await executeEvents({
8351
8343
  ...executeEventsParameters,
8352
8344
  config: eventConfig,
@@ -8357,7 +8349,7 @@ var service = (funcParams) => {
8357
8349
  onFileUpload: async () => {
8358
8350
  var _a;
8359
8351
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
8360
- for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onFileUpload[path]) {
8352
+ for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onUpload[path]) {
8361
8353
  await executeEvents({
8362
8354
  ...executeEventsParameters,
8363
8355
  config: eventConfig,