@acorex-platform/module-data-management-client 0.0.30 → 0.0.32

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.
@@ -5404,9 +5404,6 @@ class ExecuteQueryCommand {
5404
5404
  })
5405
5405
  .setContext({
5406
5406
  value: displayValue
5407
- })
5408
- .setActions((actions) => {
5409
- actions.cancel('@general:actions.close.title');
5410
5407
  });
5411
5408
  })
5412
5409
  .show();
@@ -6580,17 +6577,15 @@ class AXPMetaDataBuilderGroupsComponent {
6580
6577
  const previewTitle = await this.translationService.translateAsync('@data-management:metadata-definitions.actions.preview.title');
6581
6578
  const formDef = this.previewFormDefinition();
6582
6579
  if (!formDef.groups?.length) {
6583
- const ref = await this.layoutBuilder
6580
+ await this.layoutBuilder
6584
6581
  .create()
6585
6582
  .dialog((d) => {
6586
6583
  d.setTitle(previewTitle).setSize('md').setCloseButton(true).setContext({});
6587
- d.setActions((a) => a.cancel('@general:actions.close.title'));
6588
6584
  })
6589
6585
  .show();
6590
- ref.close();
6591
6586
  return;
6592
6587
  }
6593
- const dialogRef = await this.layoutBuilder
6588
+ await this.layoutBuilder
6594
6589
  .create()
6595
6590
  .dialog((dialog) => {
6596
6591
  dialog
@@ -6598,12 +6593,9 @@ class AXPMetaDataBuilderGroupsComponent {
6598
6593
  .setSize('lg')
6599
6594
  .setCloseButton(true)
6600
6595
  .setContext(builderValueToMetaDataValue(this.builderValue()) || {})
6601
- .content((lb) => lb.dynamicForm(formDef))
6602
- .setActions((a) => a.cancel('@general:actions.close.title'));
6596
+ .content((lb) => lb.dynamicForm(formDef));
6603
6597
  })
6604
6598
  .show();
6605
- await dialogRef.action();
6606
- dialogRef.close();
6607
6599
  }
6608
6600
  catch (error) {
6609
6601
  console.error('Error opening preview:', error);