@decaf-ts/for-angular 0.0.86 → 0.0.88

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.
@@ -3965,6 +3965,9 @@ class NgxTranslateService extends DecafTranslateService {
3965
3965
  }
3966
3966
  return key;
3967
3967
  }
3968
+ use(lang) {
3969
+ this.translateService.use(lang);
3970
+ }
3968
3971
  setFallbackLang(lang) {
3969
3972
  return this.translateService.setFallbackLang(lang);
3970
3973
  }
@@ -7555,6 +7558,7 @@ let CrudFieldComponent = class CrudFieldComponent extends NgxFormFieldDirective
7555
7558
  */
7556
7559
  async openSelectOptions(event, selectInterface) {
7557
7560
  if (selectInterface === SelectFieldInterfaces.MODAL) {
7561
+ this.updateOn = 'blur';
7558
7562
  event.preventDefault();
7559
7563
  event.stopImmediatePropagation();
7560
7564
  const loading = await this.loadingController.create({});
@@ -11901,11 +11905,14 @@ let ListComponent = class ListComponent extends NgxComponentDirective {
11901
11905
  if (!data)
11902
11906
  data = this.items;
11903
11907
  this.skeletonData = new Array(1);
11904
- this.refreshEvent.emit({
11905
- name: ComponentEventNames.Refresh,
11906
- data: data || [],
11907
- component: this.componentName,
11908
- });
11908
+ // Avoid emitting refresh events when the component is a child of a modal to prevent
11909
+ if (!this.isModalChild) {
11910
+ this.refreshEvent.emit({
11911
+ name: ComponentEventNames.Refresh,
11912
+ data: data || [],
11913
+ component: this.componentName,
11914
+ });
11915
+ }
11909
11916
  }
11910
11917
  /**
11911
11918
  * @description Emits a click event for a list item.