@decaf-ts/for-angular 0.1.26 → 0.1.27

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.
@@ -7375,7 +7375,7 @@ async function getNgxInlineModal(inlineContent, props = {}, injector) {
7375
7375
  * @param {EnvironmentInjector} [injector] - Optional environment injector for dependency injection.
7376
7376
  * @returns {Promise<IonModal>} - A promise that resolves with the modal instance.
7377
7377
  */
7378
- async function getNgxSelectOptionsModal(title, options, injector) {
7378
+ async function getNgxSelectOptionsModal(title, options, uid, injector) {
7379
7379
  const props = {
7380
7380
  tag: 'ngx-decaf-list',
7381
7381
  title,
@@ -7388,7 +7388,7 @@ async function getNgxSelectOptionsModal(title, options, injector) {
7388
7388
  type: ListComponentsTypes.INFINITE,
7389
7389
  isModalChild: true,
7390
7390
  },
7391
- className: `dcf-modal dcf-modal-select-interface`,
7391
+ className: `dcf-modal dcf-modal-select-interface ${uid ? `dcf-modal-${uid.toLowerCase()}` : ''}`,
7392
7392
  };
7393
7393
  return await getNgxModalComponent(props, {}, injector || undefined);
7394
7394
  }
@@ -7757,7 +7757,7 @@ let CrudFieldComponent = class CrudFieldComponent extends NgxFormFieldDirective
7757
7757
  event.stopImmediatePropagation();
7758
7758
  const loading = await this.loadingController.create({});
7759
7759
  await loading.present();
7760
- const modal = await getNgxSelectOptionsModal(this.label, this.options);
7760
+ const modal = await getNgxSelectOptionsModal(this.label, this.options, this.name);
7761
7761
  // this.changeDetectorRef.detectChanges();
7762
7762
  loading.remove();
7763
7763
  const { data, role } = await modal.onWillDismiss();
@@ -14931,7 +14931,7 @@ let TableComponent = class TableComponent extends ListComponent {
14931
14931
  event.preventDefault();
14932
14932
  event.stopImmediatePropagation();
14933
14933
  const title = await this.translate(`${this.locale}.filter_by`);
14934
- const modal = await getNgxSelectOptionsModal(title, this.filterOptions, this.injector);
14934
+ const modal = await getNgxSelectOptionsModal(title, this.filterOptions, this.filterBy || 'tableComponentFilter', this.injector);
14935
14935
  this.changeDetectorRef.detectChanges();
14936
14936
  const { data, role } = await modal.onWillDismiss();
14937
14937
  if (role === ActionRoles.confirm && data !== this.filterValue) {