@decaf-ts/for-angular 0.1.37 → 0.1.40
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 +102 -16
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/index.d.ts +31 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3999,6 +3999,13 @@ declare class CardComponent extends NgxComponentDirective implements OnInit {
|
|
|
3999
3999
|
* @default ''
|
|
4000
4000
|
*/
|
|
4001
4001
|
title: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* @description Primary title text for the card header.
|
|
4004
|
+
* @summary Rendered prominently at the top of the card; consumers should pass a short, human-friendly string.
|
|
4005
|
+
* @type {string}
|
|
4006
|
+
* @default ''
|
|
4007
|
+
*/
|
|
4008
|
+
margins: boolean;
|
|
4002
4009
|
/**
|
|
4003
4010
|
* @description Body size preset for the card.
|
|
4004
4011
|
* @summary Adjusts padding and typographic scale inside the card body. 'small' reduces spacing, 'blank' hides the body area.
|
|
@@ -4064,7 +4071,7 @@ declare class CardComponent extends NgxComponentDirective implements OnInit {
|
|
|
4064
4071
|
*/
|
|
4065
4072
|
ngOnInit(): void;
|
|
4066
4073
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
4067
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ngx-decaf-card", never, { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "body": { "alias": "body"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "color": { "alias": "color"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "inlineContent": { "alias": "inlineContent"; "required": false; }; "inlineContentPosition": { "alias": "inlineContentPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
4074
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ngx-decaf-card", never, { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "margins": { "alias": "margins"; "required": false; }; "body": { "alias": "body"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "color": { "alias": "color"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "inlineContent": { "alias": "inlineContent"; "required": false; }; "inlineContentPosition": { "alias": "inlineContentPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
4068
4075
|
}
|
|
4069
4076
|
|
|
4070
4077
|
/**
|
|
@@ -5147,6 +5154,17 @@ declare class FilterComponent extends NgxComponentDirective implements OnInit, O
|
|
|
5147
5154
|
* @memberOf FilterComponent
|
|
5148
5155
|
*/
|
|
5149
5156
|
handleBlur(close?: boolean): void;
|
|
5157
|
+
/**
|
|
5158
|
+
* @description Resolves the translated label for a given sort key.
|
|
5159
|
+
* @summary Looks up the provided key in the available sort options and returns
|
|
5160
|
+
* its translated label when found. Falls back to returning the original key
|
|
5161
|
+
* when no matching option exists.
|
|
5162
|
+
*
|
|
5163
|
+
* @param {string} key - Sort field key to translate
|
|
5164
|
+
* @returns {string} Translated label when available, otherwise the original key
|
|
5165
|
+
* @memberOf FilterComponent
|
|
5166
|
+
*/
|
|
5167
|
+
getKeyTranslation(key: string): string;
|
|
5150
5168
|
/**
|
|
5151
5169
|
* @description Determines the appropriate options based on the current filter step.
|
|
5152
5170
|
* @summary Returns the contextually relevant options for the current step in the filter creation process.
|
|
@@ -7908,7 +7926,7 @@ declare function getNgxInlineModal(inlineContent: string | SafeHtml, props?: Par
|
|
|
7908
7926
|
declare function getNgxSelectOptionsModal(title: string, options: SelectOption[], uid?: string, injector?: EnvironmentInjector): Promise<IonModal>;
|
|
7909
7927
|
declare function presentModalConfirm(props: Pick<ModalConfirmComponent, "title" | "role" | "data" | "locale"> | undefined, role: CrudOperations, injector?: EnvironmentInjector): Promise<IonModal>;
|
|
7910
7928
|
|
|
7911
|
-
declare class IconComponent implements OnInit {
|
|
7929
|
+
declare class IconComponent implements OnInit, OnDestroy {
|
|
7912
7930
|
/** @description Reference to the component's native DOM element.
|
|
7913
7931
|
* @summary Provides direct access to the native DOM element of the component through Angular's
|
|
7914
7932
|
* ViewChild decorator. This reference can be used to manipulate the DOM element directly,
|
|
@@ -7932,8 +7950,18 @@ declare class IconComponent implements OnInit {
|
|
|
7932
7950
|
inline: boolean;
|
|
7933
7951
|
isDarkMode: boolean;
|
|
7934
7952
|
mediaService: NgxMediaService;
|
|
7953
|
+
protected destroySubscriptions$: Subject<void>;
|
|
7935
7954
|
constructor();
|
|
7936
7955
|
ngOnInit(): void;
|
|
7956
|
+
/**
|
|
7957
|
+
* @description Cleanup lifecycle hook invoked when the directive is destroyed.
|
|
7958
|
+
* @summary Ensures any resources allocated by the directive's media service are
|
|
7959
|
+
* released (DOM listeners, timers, subscriptions, etc.). Implementations should
|
|
7960
|
+
* keep `mediaService.destroy()` idempotent; calling it here prevents leaks when
|
|
7961
|
+
* components are torn down.
|
|
7962
|
+
* @returns {Promise<void>}
|
|
7963
|
+
*/
|
|
7964
|
+
ngOnDestroy(): Promise<void>;
|
|
7937
7965
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
7938
7966
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "ngx-decaf-icon", never, { "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "slot": { "alias": "slot"; "required": false; }; "button": { "alias": "button"; "required": false; }; "buttonFill": { "alias": "buttonFill"; "required": false; }; "buttonShape": { "alias": "buttonShape"; "required": false; }; "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; }, {}, never, never, true, never>;
|
|
7939
7967
|
}
|
|
@@ -8761,6 +8789,7 @@ declare class TableComponent extends ListComponent implements OnInit {
|
|
|
8761
8789
|
* @return {Promise<void>}
|
|
8762
8790
|
*/
|
|
8763
8791
|
handleRedirect(event: Event | IBaseCustomEvent, uid: string, action: CrudOperations): Promise<void>;
|
|
8792
|
+
handleFilterSelection(event: SelectCustomEvent): Promise<void>;
|
|
8764
8793
|
/**
|
|
8765
8794
|
* @description Opens the filter select UI, allowing the user to narrow table results by a field value.
|
|
8766
8795
|
* @summary Determines the presentation mode and handles user selection.
|