@decaf-ts/for-angular 0.1.21 → 0.1.22

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.
package/index.d.ts CHANGED
@@ -7750,6 +7750,7 @@ declare class ModalComponent extends NgxParentComponentDirective implements OnIn
7750
7750
  * @type {Color}
7751
7751
  */
7752
7752
  iconColor: Color;
7753
+ handlers: Record<string, UIFunctionLike>;
7753
7754
  constructor();
7754
7755
  /**
7755
7756
  * @description Lifecycle hook that initializes the modal component.
@@ -7821,7 +7822,7 @@ declare class ModalComponent extends NgxParentComponentDirective implements OnIn
7821
7822
  */
7822
7823
  confirm(event?: IBaseCustomEvent): Promise<void>;
7823
7824
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
7824
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ngx-decaf-modal", never, { "title": { "alias": "title"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "options": { "alias": "options"; "required": false; }; "globals": { "alias": "globals"; "required": false; }; "inlineContent": { "alias": "inlineContent"; "required": false; }; "inlineContentPosition": { "alias": "inlineContentPosition"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "lightBox": { "alias": "lightBox"; "required": false; }; "headerTransparent": { "alias": "headerTransparent"; "required": false; }; "headerBackground": { "alias": "headerBackground"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; }, { "willDismissEvent": "willDismissEvent"; }, never, never, true, never>;
7825
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ngx-decaf-modal", never, { "title": { "alias": "title"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "options": { "alias": "options"; "required": false; }; "globals": { "alias": "globals"; "required": false; }; "inlineContent": { "alias": "inlineContent"; "required": false; }; "inlineContentPosition": { "alias": "inlineContentPosition"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "lightBox": { "alias": "lightBox"; "required": false; }; "headerTransparent": { "alias": "headerTransparent"; "required": false; }; "headerBackground": { "alias": "headerBackground"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "handlers": { "alias": "handlers"; "required": false; }; }, { "willDismissEvent": "willDismissEvent"; }, never, never, true, never>;
7825
7826
  }
7826
7827
  declare class ModalConfirmComponent extends ModalComponent implements OnInit {
7827
7828
  data?: {
@@ -7856,7 +7857,7 @@ declare function getNgxModalComponent(props?: Partial<ModalComponent>, modalProp
7856
7857
  * @param {EnvironmentInjector} [injector] - Optional environment injector for dependency injection.
7857
7858
  * @returns {Promise<IonModal>} - A promise that resolves with the modal instance.
7858
7859
  */
7859
- declare function getNgxModalCrudComponent(model: Partial<Model>, props?: Partial<ModalComponent>, modalProps?: Partial<ModalOptions>, injector?: EnvironmentInjector): Promise<IonModal>;
7860
+ declare function getNgxModalCrudComponent<M extends Model>(model: Partial<M>, props?: Partial<ModalComponent>, modalProps?: Partial<ModalOptions>, injector?: EnvironmentInjector): Promise<IonModal>;
7860
7861
  /**
7861
7862
  * @description Presents a lightbox modal with inline content.
7862
7863
  * @summary Displays a modal in lightbox mode with the specified content and properties.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/for-angular",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "author": "Tiago Venceslau and Contributors",
5
5
  "license": "MPL-2.0 OR AGPL-3.0",
6
6
  "repository": {