impaktapps-ui-builder 0.0.412-g → 0.0.412-hi

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.
@@ -8541,10 +8541,14 @@ function getRefreshElements(eventConfig, eventGropus) {
8541
8541
  console.log(result);
8542
8542
  return result;
8543
8543
  }
8544
- function executeRefreshHandler(params2) {
8544
+ async function executeRefreshHandler(params2) {
8545
8545
  const compToRefresh = getRefreshElements(params2.config, params2.eventGroups);
8546
- return Promise.all(compToRefresh.map((componentName) => {
8547
- return Promise.all(params2.eventGroups.onLoad[componentName].map((compEventConfig) => {
8546
+ return Promise.allSettled(compToRefresh.map((componentName) => {
8547
+ const eventConfigs = params2.eventGroups.onLoad[componentName];
8548
+ if (!eventConfigs) {
8549
+ return Promise.resolve();
8550
+ }
8551
+ return Promise.allSettled(eventConfigs.map((compEventConfig) => {
8548
8552
  return executeEvents({ ...params2, config: compEventConfig, componentName });
8549
8553
  }));
8550
8554
  }));
@@ -8815,6 +8819,8 @@ var service = (funcParams) => {
8815
8819
  serviceHolder: this,
8816
8820
  eventGroups
8817
8821
  });
8822
+ const jsonres = await fetch("https://jsonplaceholder.typicode.com/todos/1");
8823
+ await jsonres.json();
8818
8824
  funcParams.store.setSchema(
8819
8825
  (pre) => {
8820
8826
  return {