@acorex/components 20.3.17 → 20.3.19

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.
@@ -70,7 +70,7 @@ declare abstract class AXActionSheetComponentBase {
70
70
  * Closes the action sheet with optional result data.
71
71
  * @param data - Optional data to pass to the close handler
72
72
  */
73
- close(data?: unknown): void;
73
+ close(data?: any): void;
74
74
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXActionSheetComponentBase, never>;
75
75
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXActionSheetComponentBase, never, never, { "__actionSheet__": { "alias": "__actionSheet__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
76
76
  }
@@ -236,7 +236,7 @@ declare class AXActionSheetService {
236
236
  * });
237
237
  * ```
238
238
  */
239
- open<TResult = unknown>(config: AXActionSheetConfig, isUserInteraction?: boolean): Promise<AXActionSheetDialogRef<TResult>>;
239
+ open<TResult = unknown>(config: AXActionSheetConfig, isUserInteraction?: boolean): Promise<AXActionSheetRef<TResult>>;
240
240
  /**
241
241
  * Sets the current state of action sheet events.
242
242
  * This method is used internally to track action sheet lifecycle events such as open, close,
@@ -160,7 +160,7 @@ class AXActionSheetService {
160
160
  const axDialogRef = {
161
161
  close: actionSheetRef.close,
162
162
  setInputs: actionSheetRef.setInputs,
163
- closed,
163
+ onClose: actionSheetRef.onClose,
164
164
  };
165
165
  return axDialogRef;
166
166
  }