impaktapps-ui-builder 0.0.358 → 0.0.360

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.
@@ -5988,17 +5988,6 @@ const ComponentSchema = {
5988
5988
  }
5989
5989
  }
5990
5990
  },
5991
- skipAvailable: {
5992
- type: "array",
5993
- items: {
5994
- type: "object",
5995
- properties: {
5996
- skipId: {
5997
- type: "string"
5998
- }
5999
- }
6000
- }
6001
- },
6002
5991
  Table_Download_Keys_Name: {
6003
5992
  type: "array",
6004
5993
  items: {
@@ -6799,8 +6788,7 @@ const buildPropertiesSection = function(type) {
6799
6788
  getInputField("completeText", "Complete Text"),
6800
6789
  getSelectField("orientation", "Orientation Type"),
6801
6790
  EmptyBox,
6802
- getArrayControl("sectionLabels", "label"),
6803
- getArrayControl("skipAvailable", "skipId")
6791
+ getArrayControl("sectionLabels", "label")
6804
6792
  ];
6805
6793
  break;
6806
6794
  case "PopUp":
@@ -8319,7 +8307,7 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
8319
8307
  ...(_a = pre.properties) == null ? void 0 : _a[componentName],
8320
8308
  type: "array",
8321
8309
  items: {
8322
- oneOf: handlerResponse.data
8310
+ oneOf: handlerResponse == null ? void 0 : handlerResponse.data
8323
8311
  }
8324
8312
  }
8325
8313
  }
@@ -8582,23 +8570,21 @@ var service = (funcParams) => {
8582
8570
  await this.callHandler("onStepperBack");
8583
8571
  param.handleBack();
8584
8572
  },
8585
- StepperSkipHandler: async function(param) {
8586
- await this.callHandler("onStepperSkip");
8587
- param.handleSkip();
8588
- },
8589
8573
  StepperNextHandler: async function(param) {
8590
8574
  await this.callHandler("onStepperNext");
8591
8575
  param.handleNext();
8592
8576
  },
8593
8577
  callHandler: async function(eventType) {
8594
- var _a, _b;
8578
+ var _a, _b, _c;
8595
8579
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
8596
- for (const eventConfig of (_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) {
8597
- await executeEvents({
8598
- ...executeEventsParameters,
8599
- config: eventConfig,
8600
- componentName: path
8601
- });
8580
+ if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
8581
+ for (const eventConfig of (_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path]) {
8582
+ await executeEvents({
8583
+ ...executeEventsParameters,
8584
+ config: eventConfig,
8585
+ componentName: path
8586
+ });
8587
+ }
8602
8588
  }
8603
8589
  },
8604
8590
  downloadFile: downloadFile$1
@@ -10317,8 +10303,7 @@ const Stepper = {
10317
10303
  },
10318
10304
  config: {
10319
10305
  main: {
10320
- label: ["First", "Second", "Third"],
10321
- stepsSkip: { 0: "false", 1: "false" },
10306
+ steps: [{ label: "First" }, { label: "Second" }, { label: "Third" }],
10322
10307
  resetButton: false,
10323
10308
  resetText: "Reset",
10324
10309
  orientation: "vertical"
@@ -10338,13 +10323,6 @@ const buildStepper = (config, componentScope) => {
10338
10323
  return { label: e.label, id: i };
10339
10324
  });
10340
10325
  }
10341
- if (config.skipAvailable) {
10342
- const stepObj = {};
10343
- config.skipAvailable.map((e, i) => {
10344
- stepObj[e.skipId] = true;
10345
- });
10346
- stepper.config.main.stepSkip = stepObj;
10347
- }
10348
10326
  if (config.layout) {
10349
10327
  stepper.config.layout = createLayoutFormat(config.layout);
10350
10328
  }