@decaf-ts/for-angular 0.1.20 → 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/fesm2022/decaf-ts-for-angular.mjs +119 -59
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/index.d.ts +7 -12
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1239,15 +1239,6 @@ declare class NgxRepositoryDirective<M extends Model> extends DecafComponent<M>
|
|
|
1239
1239
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxRepositoryDirective<any>, never, never, { "_query": { "alias": "_query"; "required": false; }; "_data": { "alias": "_data"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelId": { "alias": "modelId"; "required": false; }; "modelName": { "alias": "modelName"; "required": false; }; "pk": { "alias": "pk"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "start": { "alias": "start"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "indexes": { "alias": "indexes"; "required": false; }; }, {}, never, never, true, never>;
|
|
1240
1240
|
}
|
|
1241
1241
|
|
|
1242
|
-
/**
|
|
1243
|
-
* @module lib/engine/NgxComponentDirective
|
|
1244
|
-
* @description Base decaf component abstraction providing shared inputs and utilities.
|
|
1245
|
-
* @summary NgxComponentDirective is the abstract foundation for Decaf components and provides common
|
|
1246
|
-
* inputs (model, mapper, pk, props), logging, repository resolution, and event dispatch helpers.
|
|
1247
|
-
* It centralizes shared behavior for child components and simplifies integration with the rendering engine.
|
|
1248
|
-
* @link {@link NgxComponentDirective}
|
|
1249
|
-
*/
|
|
1250
|
-
|
|
1251
1242
|
/**
|
|
1252
1243
|
* @description Base directive for Decaf components in Angular applications.
|
|
1253
1244
|
* @summary Abstract base class that provides common functionality for all Decaf components.
|
|
@@ -1641,6 +1632,8 @@ declare abstract class NgxComponentDirective extends NgxRepositoryDirective<Mode
|
|
|
1641
1632
|
* @default WindowColorSchemes.light
|
|
1642
1633
|
*/
|
|
1643
1634
|
protected colorSchema: WindowColorScheme;
|
|
1635
|
+
private popState$;
|
|
1636
|
+
readonly popStateSignal: i0.Signal<PopStateEvent | null>;
|
|
1644
1637
|
/**
|
|
1645
1638
|
* @description Constructor for NgxComponentDirective.
|
|
1646
1639
|
* @summary Initializes the directive by setting up the component name, locale root,
|
|
@@ -1652,7 +1645,8 @@ declare abstract class NgxComponentDirective extends NgxRepositoryDirective<Mode
|
|
|
1652
1645
|
* @memberOf module:lib/engine/NgxComponentDirective
|
|
1653
1646
|
*/
|
|
1654
1647
|
constructor(componentName?: string, localeRoot?: string);
|
|
1655
|
-
|
|
1648
|
+
beforeInitialize<T extends NgxComponentDirective>(component?: unknown): Promise<void>;
|
|
1649
|
+
initialize(): Promise<void>;
|
|
1656
1650
|
/**
|
|
1657
1651
|
* @description Cleanup lifecycle hook invoked when the directive is destroyed.
|
|
1658
1652
|
* @summary Ensures any resources allocated by the directive's media service are
|
|
@@ -7756,6 +7750,7 @@ declare class ModalComponent extends NgxParentComponentDirective implements OnIn
|
|
|
7756
7750
|
* @type {Color}
|
|
7757
7751
|
*/
|
|
7758
7752
|
iconColor: Color;
|
|
7753
|
+
handlers: Record<string, UIFunctionLike>;
|
|
7759
7754
|
constructor();
|
|
7760
7755
|
/**
|
|
7761
7756
|
* @description Lifecycle hook that initializes the modal component.
|
|
@@ -7827,7 +7822,7 @@ declare class ModalComponent extends NgxParentComponentDirective implements OnIn
|
|
|
7827
7822
|
*/
|
|
7828
7823
|
confirm(event?: IBaseCustomEvent): Promise<void>;
|
|
7829
7824
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
7830
|
-
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>;
|
|
7831
7826
|
}
|
|
7832
7827
|
declare class ModalConfirmComponent extends ModalComponent implements OnInit {
|
|
7833
7828
|
data?: {
|
|
@@ -7862,7 +7857,7 @@ declare function getNgxModalComponent(props?: Partial<ModalComponent>, modalProp
|
|
|
7862
7857
|
* @param {EnvironmentInjector} [injector] - Optional environment injector for dependency injection.
|
|
7863
7858
|
* @returns {Promise<IonModal>} - A promise that resolves with the modal instance.
|
|
7864
7859
|
*/
|
|
7865
|
-
declare function getNgxModalCrudComponent(model: Partial<
|
|
7860
|
+
declare function getNgxModalCrudComponent<M extends Model>(model: Partial<M>, props?: Partial<ModalComponent>, modalProps?: Partial<ModalOptions>, injector?: EnvironmentInjector): Promise<IonModal>;
|
|
7866
7861
|
/**
|
|
7867
7862
|
* @description Presents a lightbox modal with inline content.
|
|
7868
7863
|
* @summary Displays a modal in lightbox mode with the specified content and properties.
|