@melodicdev/components 1.0.11 → 1.0.12
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.
|
@@ -16768,7 +16768,7 @@ var Bi = class {
|
|
|
16768
16768
|
}
|
|
16769
16769
|
if (!a) {
|
|
16770
16770
|
const o = this.findDialogElement(l);
|
|
16771
|
-
if (o && (o.open(), a = this._dialogs.get(l)), !a) throw new Error(`Dialog "${l}" not found. Ensure an <ml-dialog #${l}> exists in the DOM.`);
|
|
16771
|
+
if (o && (o.component.open(), a = this._dialogs.get(l)), !a) throw new Error(`Dialog "${l}" not found. Ensure an <ml-dialog #${l}> exists in the DOM.`);
|
|
16772
16772
|
return a.dialogRef;
|
|
16773
16773
|
}
|
|
16774
16774
|
return a.dialogRef.open(), a.dialogRef;
|
|
@@ -45,7 +45,7 @@ let DialogService = class DialogService {
|
|
|
45
45
|
if (!dialogElements) {
|
|
46
46
|
const mlDialog = this.findDialogElement(dialogID);
|
|
47
47
|
if (mlDialog) {
|
|
48
|
-
mlDialog.open();
|
|
48
|
+
mlDialog.component.open();
|
|
49
49
|
dialogElements = this._dialogs.get(dialogID);
|
|
50
50
|
}
|
|
51
51
|
if (!dialogElements) {
|