@decaf-ts/for-angular 0.0.44 → 0.0.45
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 +182 -56
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/index.d.ts +171 -41
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1523,6 +1523,15 @@ declare abstract class NgxComponentDirective extends LoggedClass implements OnCh
|
|
|
1523
1523
|
* @memberOf module:lib/engine/NgxComponentDirective
|
|
1524
1524
|
*/
|
|
1525
1525
|
initialized: boolean;
|
|
1526
|
+
/**
|
|
1527
|
+
* @description Controls whether borders are displayed around the component.
|
|
1528
|
+
* @summary Boolean flag that determines if the component should be visually outlined with borders.
|
|
1529
|
+
* When true, borders are shown to visually separate the component from surrounding content.
|
|
1530
|
+
*
|
|
1531
|
+
* @type {boolean}
|
|
1532
|
+
* @default false
|
|
1533
|
+
*/
|
|
1534
|
+
borders: boolean;
|
|
1526
1535
|
/**
|
|
1527
1536
|
* @description Component name identifier for logging and localization contexts.
|
|
1528
1537
|
* @summary Stores the component's name which is used as a key for logging contexts
|
|
@@ -1836,7 +1845,7 @@ declare abstract class NgxComponentDirective extends LoggedClass implements OnCh
|
|
|
1836
1845
|
*/
|
|
1837
1846
|
changeOperation(operation: string, id?: string): Promise<boolean>;
|
|
1838
1847
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxComponentDirective, never>;
|
|
1839
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxComponentDirective, never, never, { "enableDarkMode": { "alias": "enableDarkMode"; "required": false; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "childOf": { "alias": "childOf"; "required": false; }; "uid": { "alias": "uid"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelId": { "alias": "modelId"; "required": false; }; "pk": { "alias": "pk"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "operation": { "alias": "operation"; "required": false; }; "row": { "alias": "row"; "required": false; }; "col": { "alias": "col"; "required": false; }; "className": { "alias": "className"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "item": { "alias": "item"; "required": false; }; "props": { "alias": "props"; "required": false; }; "route": { "alias": "route"; "required": false; }; "isModalChild": { "alias": "isModalChild"; "required": false; }; }, { "listenEvent": "listenEvent"; }, never, never, true, never>;
|
|
1848
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxComponentDirective, never, never, { "enableDarkMode": { "alias": "enableDarkMode"; "required": false; }; "isDarkMode": { "alias": "isDarkMode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "childOf": { "alias": "childOf"; "required": false; }; "uid": { "alias": "uid"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelId": { "alias": "modelId"; "required": false; }; "pk": { "alias": "pk"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; "operations": { "alias": "operations"; "required": false; }; "operation": { "alias": "operation"; "required": false; }; "row": { "alias": "row"; "required": false; }; "col": { "alias": "col"; "required": false; }; "className": { "alias": "className"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "item": { "alias": "item"; "required": false; }; "props": { "alias": "props"; "required": false; }; "route": { "alias": "route"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "isModalChild": { "alias": "isModalChild"; "required": false; }; }, { "listenEvent": "listenEvent"; }, never, never, true, never>;
|
|
1840
1849
|
}
|
|
1841
1850
|
|
|
1842
1851
|
declare class NgxRenderableComponentDirective extends NgxComponentDirective implements OnChanges, OnDestroy, IRenderedModel {
|
|
@@ -3085,15 +3094,6 @@ declare class NgxParentComponentDirective extends NgxComponentDirective implemen
|
|
|
3085
3094
|
* @default 'clear'
|
|
3086
3095
|
*/
|
|
3087
3096
|
cardType: 'clear' | 'shadow';
|
|
3088
|
-
/**
|
|
3089
|
-
* @description Controls whether borders are displayed around the fieldset.
|
|
3090
|
-
* @summary Boolean flag that determines if the fieldset should be visually outlined with borders.
|
|
3091
|
-
* When true, borders are shown to visually separate the fieldset from surrounding content.
|
|
3092
|
-
*
|
|
3093
|
-
* @type {boolean}
|
|
3094
|
-
* @default true
|
|
3095
|
-
*/
|
|
3096
|
-
borders: boolean;
|
|
3097
3097
|
/**
|
|
3098
3098
|
* @description Media breakpoint for responsive behavior.
|
|
3099
3099
|
* @summary Determines the responsive breakpoint at which the layout should adapt.
|
|
@@ -3138,7 +3138,7 @@ declare class NgxParentComponentDirective extends NgxComponentDirective implemen
|
|
|
3138
3138
|
ngOnDestroy(): Promise<void> | void;
|
|
3139
3139
|
protected getActivePage(page: number): UIModelMetadata | UIModelMetadata[] | FieldDefinition | undefined;
|
|
3140
3140
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxParentComponentDirective, never>;
|
|
3141
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxParentComponentDirective, never, never, { "page": { "alias": "page"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; "children": { "alias": "children"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cardBody": { "alias": "cardBody"; "required": false; }; "cardType": { "alias": "cardType"; "required": false; }; "
|
|
3141
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxParentComponentDirective, never, never, { "page": { "alias": "page"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; "children": { "alias": "children"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cardBody": { "alias": "cardBody"; "required": false; }; "cardType": { "alias": "cardType"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "match": { "alias": "match"; "required": false; }; }, {}, never, never, true, never>;
|
|
3142
3142
|
}
|
|
3143
3143
|
|
|
3144
3144
|
declare abstract class NgxFormDirective extends NgxParentComponentDirective implements OnInit, AfterViewInit, IFormElement, OnDestroy, IRenderedModel {
|
|
@@ -3372,17 +3372,137 @@ declare class CrudFormComponent extends NgxFormDirective {
|
|
|
3372
3372
|
static ɵcmp: i0.ɵɵComponentDeclaration<CrudFormComponent, "ngx-decaf-crud-form", never, {}, {}, never, ["*", "*"], true, never>;
|
|
3373
3373
|
}
|
|
3374
3374
|
|
|
3375
|
+
/**
|
|
3376
|
+
* @module lib.components.card
|
|
3377
|
+
* @description Reusable Card UI component module.
|
|
3378
|
+
* @summary
|
|
3379
|
+
* Exports the `CardComponent`, a standalone Angular component built on Ionic's `IonCard` primitives.
|
|
3380
|
+
* The component exposes inputs to control visual style, content and layout and integrates with
|
|
3381
|
+
* the application's media service to react to dark-mode changes. See {@link CardComponent}.
|
|
3382
|
+
*/
|
|
3383
|
+
|
|
3384
|
+
/**
|
|
3385
|
+
* @description Reusable, presentational card UI component for use across the application.
|
|
3386
|
+
* @summary
|
|
3387
|
+
* CardComponent is a standalone Angular component built on Ionic's `IonCard` primitives.
|
|
3388
|
+
* It exposes several `@Input()` properties to control appearance and content:
|
|
3389
|
+
* `type`, `title`, `body`, `subtitle`, `color`, `separator`, `borders`, `inlineContent`, and `inlineContentPosition`.
|
|
3390
|
+
* The component integrates with the application's media service to react to dark-mode changes
|
|
3391
|
+
* and toggles the dark-palette CSS class on the host element accordingly.
|
|
3392
|
+
*
|
|
3393
|
+
* @param {('clear'|'shadow')} type - Visual rendering style for the card; 'clear' (default) or 'shadow'.
|
|
3394
|
+
* @param {string} title - Primary title text displayed in the card header.
|
|
3395
|
+
* @param {('small'|'default'|'blank')} body - Body size preset controlling padding/typography; defaults to 'default'.
|
|
3396
|
+
* @param {string} subtitle - Optional subtitle rendered under the title.
|
|
3397
|
+
* @param {import('@ionic/core').Color} color - Ionic color token applied to the card header/title.
|
|
3398
|
+
* @param {boolean} separator - When true, renders a divider between header and body.
|
|
3399
|
+
* @param {boolean} borders - Controls whether borders are rendered; defaults to true.
|
|
3400
|
+
* @param {string|import('@angular/platform-browser').SafeHtml} inlineContent - Inline HTML/SafeHtml to render inside the body.
|
|
3401
|
+
* @param {('top'|'bottom')} inlineContentPosition - Where to render `inlineContent` relative to the body; defaults to 'bottom'.
|
|
3402
|
+
* @return {void}
|
|
3403
|
+
* @class CardComponent
|
|
3404
|
+
* @example
|
|
3405
|
+
* <ngx-decaf-card
|
|
3406
|
+
* [type]="'shadow'"
|
|
3407
|
+
* [title]="'Account overview'"
|
|
3408
|
+
* [subtitle]="'Summary for the current user'"
|
|
3409
|
+
* [color]="'primary'"
|
|
3410
|
+
* [separator]="true"
|
|
3411
|
+
* [borders]="true"
|
|
3412
|
+
* [inlineContent]="safeHtmlValue"
|
|
3413
|
+
* inlineContentPosition="top"
|
|
3414
|
+
* >
|
|
3415
|
+
* <!-- card content here -->
|
|
3416
|
+
* </ngx-decaf-card>
|
|
3417
|
+
*
|
|
3418
|
+
* @mermaid
|
|
3419
|
+
* sequenceDiagram
|
|
3420
|
+
* participant App as Consumer
|
|
3421
|
+
* participant Card as CardComponent
|
|
3422
|
+
* participant Media as MediaService
|
|
3423
|
+
* App->>Card: instantiate
|
|
3424
|
+
* Card->>Media: isDarkMode()
|
|
3425
|
+
* Media-->>Card: Observable<boolean> (isDark)
|
|
3426
|
+
* Card->>Card: toggleClass(..., isDark)
|
|
3427
|
+
*/
|
|
3375
3428
|
declare class CardComponent extends NgxComponentDirective implements OnInit {
|
|
3429
|
+
/**
|
|
3430
|
+
* @description Visual rendering style for the card.
|
|
3431
|
+
* @summary Controls the card's surface treatment. Use 'clear' for a flat look or 'shadow' to add elevation.
|
|
3432
|
+
* @type {'clear'|'shadow'}
|
|
3433
|
+
* @default 'clear'
|
|
3434
|
+
*/
|
|
3376
3435
|
type: 'clear' | 'shadow';
|
|
3436
|
+
/**
|
|
3437
|
+
* @description Primary title text for the card header.
|
|
3438
|
+
* @summary Rendered prominently at the top of the card; consumers should pass a short, human-friendly string.
|
|
3439
|
+
* @type {string}
|
|
3440
|
+
* @default ''
|
|
3441
|
+
*/
|
|
3377
3442
|
title: string;
|
|
3443
|
+
/**
|
|
3444
|
+
* @description Body size preset for the card.
|
|
3445
|
+
* @summary Adjusts padding and typographic scale inside the card body. 'small' reduces spacing, 'blank' hides the body area.
|
|
3446
|
+
* @type {'small'|'default'|'blank'}
|
|
3447
|
+
* @default 'default'
|
|
3448
|
+
*/
|
|
3378
3449
|
body: 'small' | 'default' | 'blank';
|
|
3450
|
+
/**
|
|
3451
|
+
* @description Optional subtitle shown below the title in the header area.
|
|
3452
|
+
* @summary Use for short secondary text such as an explanation or contextual note.
|
|
3453
|
+
* @type {string}
|
|
3454
|
+
* @default ''
|
|
3455
|
+
*/
|
|
3379
3456
|
subtitle: string;
|
|
3457
|
+
/**
|
|
3458
|
+
* @description Ionic color token applied to the card.
|
|
3459
|
+
* @summary When provided, the color token (for example 'primary' or 'tertiary') is applied to title/header elements where supported.
|
|
3460
|
+
* @type {import('@ionic/core').Color}
|
|
3461
|
+
* @default ''
|
|
3462
|
+
*/
|
|
3380
3463
|
color: Color;
|
|
3464
|
+
/**
|
|
3465
|
+
* @description Toggle to render a visual separator between header and content.
|
|
3466
|
+
* @summary When true, a divider line (or equivalent styling) is rendered to separate the header from the body.
|
|
3467
|
+
* @type {boolean}
|
|
3468
|
+
* @default false
|
|
3469
|
+
*/
|
|
3381
3470
|
separator: boolean;
|
|
3471
|
+
/**
|
|
3472
|
+
* @description Controls whether the card renders borders.
|
|
3473
|
+
* @summary Set to false to remove borders for inline or transparent card designs. Marked `override` to explicitly shadow the base directive's value.
|
|
3474
|
+
* @type {boolean}
|
|
3475
|
+
* @default true
|
|
3476
|
+
*/
|
|
3382
3477
|
borders: boolean;
|
|
3478
|
+
/**
|
|
3479
|
+
* @description Inline HTML or SafeHtml content to render inside the card body.
|
|
3480
|
+
* @summary Useful for short snippets of rich content provided by the consumer. When passing raw HTML prefer `SafeHtml` to avoid sanitization issues.
|
|
3481
|
+
* @type {string|import('@angular/platform-browser').SafeHtml}
|
|
3482
|
+
*/
|
|
3383
3483
|
inlineContent?: string | SafeHtml;
|
|
3484
|
+
/**
|
|
3485
|
+
* @description Position where `inlineContent` is rendered within the body.
|
|
3486
|
+
* @summary Pass 'top' to render inline content above the body or 'bottom' to render it below. Defaults to 'bottom'.
|
|
3487
|
+
* @type {'top'|'bottom'}
|
|
3488
|
+
*/
|
|
3384
3489
|
inlineContentPosition: 'top' | 'bottom';
|
|
3490
|
+
/**
|
|
3491
|
+
* @description Internal component identifier used by the base `NgxComponentDirective`.
|
|
3492
|
+
* @summary Read-only-ish string identifying the concrete component class for instrumentation, styling helpers and debug logs.
|
|
3493
|
+
* @type {string}
|
|
3494
|
+
*/
|
|
3385
3495
|
protected componentName: string;
|
|
3496
|
+
/**
|
|
3497
|
+
* @description Angular lifecycle hook: component initialization.
|
|
3498
|
+
* @summary
|
|
3499
|
+
* ngOnInit sets the component as initialized and subscribes to the application's media service
|
|
3500
|
+
* dark-mode observable. On each emission it updates the local isDarkMode flag and calls the
|
|
3501
|
+
* media service helper to toggle the dark-palette CSS class on the component host element.
|
|
3502
|
+
* The subscription uses the provided mediaService observable and performs side effects only.
|
|
3503
|
+
*
|
|
3504
|
+
* @return {void}
|
|
3505
|
+
*/
|
|
3386
3506
|
ngOnInit(): void;
|
|
3387
3507
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
3388
3508
|
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>;
|
|
@@ -4257,6 +4377,7 @@ declare class FilterComponent extends NgxComponentDirective implements OnInit, O
|
|
|
4257
4377
|
* @memberOf FilterComponent
|
|
4258
4378
|
*/
|
|
4259
4379
|
indexes: string[];
|
|
4380
|
+
multiple: boolean;
|
|
4260
4381
|
/**
|
|
4261
4382
|
* @description Available comparison conditions for filters.
|
|
4262
4383
|
* @summary Defines the list of comparison operators that can be used when creating filters.
|
|
@@ -4609,7 +4730,7 @@ declare class FilterComponent extends NgxComponentDirective implements OnInit, O
|
|
|
4609
4730
|
* @returns {void}
|
|
4610
4731
|
* @memberOf FilterComponent
|
|
4611
4732
|
*/
|
|
4612
|
-
reset(): void;
|
|
4733
|
+
reset(submit?: boolean): void;
|
|
4613
4734
|
/**
|
|
4614
4735
|
* @description Clears all filters and notifies parent components.
|
|
4615
4736
|
* @summary Resets the component state and emits undefined to notify parent components
|
|
@@ -4691,7 +4812,7 @@ declare class FilterComponent extends NgxComponentDirective implements OnInit, O
|
|
|
4691
4812
|
*/
|
|
4692
4813
|
handleSearch(value: string | undefined): void;
|
|
4693
4814
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
4694
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ngx-decaf-filter", never, { "indexes": { "alias": "indexes"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; }, { "filterEvent": "filterEvent"; "searchEvent": "searchEvent"; }, never, never, true, never>;
|
|
4815
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "ngx-decaf-filter", never, { "indexes": { "alias": "indexes"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; }, { "filterEvent": "filterEvent"; "searchEvent": "searchEvent"; }, never, never, true, never>;
|
|
4695
4816
|
}
|
|
4696
4817
|
|
|
4697
4818
|
/**
|
|
@@ -4931,11 +5052,11 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
4931
5052
|
* users to filter the list items. The search functionality works by filtering the
|
|
4932
5053
|
* existing data or by triggering a new data fetch with search parameters.
|
|
4933
5054
|
*
|
|
4934
|
-
* @type {
|
|
5055
|
+
* @type {boolean}
|
|
4935
5056
|
* @default true
|
|
4936
5057
|
* @memberOf ListComponent
|
|
4937
5058
|
*/
|
|
4938
|
-
showSearchbar:
|
|
5059
|
+
showSearchbar: boolean;
|
|
4939
5060
|
/**
|
|
4940
5061
|
* @description Direct data input for the list component.
|
|
4941
5062
|
* @summary Provides a way to directly pass data to the list component instead of
|
|
@@ -4985,11 +5106,11 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
4985
5106
|
* through infinite scrolling or pagination. When false, the component will not
|
|
4986
5107
|
* attempt to load more data beyond what is initially displayed.
|
|
4987
5108
|
*
|
|
4988
|
-
* @type {
|
|
5109
|
+
* @type {boolean}
|
|
4989
5110
|
* @default true
|
|
4990
5111
|
* @memberOf ListComponent
|
|
4991
5112
|
*/
|
|
4992
|
-
loadMoreData:
|
|
5113
|
+
loadMoreData: boolean;
|
|
4993
5114
|
/**
|
|
4994
5115
|
* @description The style of dividing lines between list items.
|
|
4995
5116
|
* @summary Determines how dividing lines appear between list items. Options include:
|
|
@@ -5007,11 +5128,11 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
5007
5128
|
* @summary When set to true, the list will have inset styling with rounded corners
|
|
5008
5129
|
* and margin around the edges. This creates a card-like appearance for the list.
|
|
5009
5130
|
*
|
|
5010
|
-
* @type {
|
|
5131
|
+
* @type {boolean}
|
|
5011
5132
|
* @default false
|
|
5012
5133
|
* @memberOf ListComponent
|
|
5013
5134
|
*/
|
|
5014
|
-
inset:
|
|
5135
|
+
inset: boolean;
|
|
5015
5136
|
/**
|
|
5016
5137
|
* @description The threshold for triggering infinite scroll loading.
|
|
5017
5138
|
* @summary Specifies how close to the bottom of the list the user must scroll
|
|
@@ -5047,11 +5168,20 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
5047
5168
|
* @summary When set to true, enables the pull-to-refresh functionality that allows
|
|
5048
5169
|
* users to refresh the list data by pulling down from the top of the list.
|
|
5049
5170
|
*
|
|
5050
|
-
* @type {
|
|
5171
|
+
* @type {boolean}
|
|
5051
5172
|
* @default true
|
|
5052
5173
|
* @memberOf ListComponent
|
|
5053
5174
|
*/
|
|
5054
|
-
showRefresher:
|
|
5175
|
+
showRefresher: boolean;
|
|
5176
|
+
/**
|
|
5177
|
+
* @description Controls the visibility of the create button.
|
|
5178
|
+
* @summary When set to true, displays a button to create new items in the list.
|
|
5179
|
+
*
|
|
5180
|
+
* @type {boolean}
|
|
5181
|
+
* @default false
|
|
5182
|
+
* @memberOf ListComponent
|
|
5183
|
+
*/
|
|
5184
|
+
createButton: boolean;
|
|
5055
5185
|
/**
|
|
5056
5186
|
* @description The type of spinner to display during loading operations.
|
|
5057
5187
|
* @summary Specifies the visual style of the loading spinner shown during data
|
|
@@ -5068,11 +5198,11 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
5068
5198
|
* complex search criteria with multiple field filters, conditions, and values.
|
|
5069
5199
|
* When false, disables the filter interface entirely.
|
|
5070
5200
|
*
|
|
5071
|
-
* @type {
|
|
5201
|
+
* @type {boolean}
|
|
5072
5202
|
* @default true
|
|
5073
5203
|
* @memberOf ListComponent
|
|
5074
5204
|
*/
|
|
5075
|
-
enableFilter:
|
|
5205
|
+
enableFilter: boolean;
|
|
5076
5206
|
/**
|
|
5077
5207
|
* @description Sorting parameters for data fetching.
|
|
5078
5208
|
* @summary Specifies how the fetched data should be sorted. This can be provided
|
|
@@ -5097,27 +5227,27 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
5097
5227
|
* changing the sort order or field. The list will maintain its default or
|
|
5098
5228
|
* programmatically set sort configuration without user interaction.
|
|
5099
5229
|
*
|
|
5100
|
-
* @type {
|
|
5230
|
+
* @type {boolean}
|
|
5101
5231
|
* @default false
|
|
5102
5232
|
* @memberOf ListComponent
|
|
5103
5233
|
*/
|
|
5104
|
-
disableSort:
|
|
5234
|
+
disableSort: boolean;
|
|
5105
5235
|
/**
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5236
|
+
* @description Configuration for the empty state display.
|
|
5237
|
+
* @summary Customizes how the empty state is displayed when no data is available.
|
|
5238
|
+
* This includes the title, subtitle, button text, icon, and navigation link.
|
|
5239
|
+
*
|
|
5240
|
+
* @type {Partial<IListEmptyOptions>}
|
|
5241
|
+
* @default {
|
|
5242
|
+
* title: 'empty.title',
|
|
5243
|
+
* subtitle: 'empty.subtitle',
|
|
5244
|
+
* showButton: false,
|
|
5245
|
+
* icon: 'alert-circle-outline',
|
|
5246
|
+
* buttonText: 'locale.empty.button',
|
|
5247
|
+
* link: ''
|
|
5248
|
+
* }
|
|
5249
|
+
* @memberOf ListComponent
|
|
5250
|
+
*/
|
|
5121
5251
|
empty: Partial<IListEmptyOptions>;
|
|
5122
5252
|
/**
|
|
5123
5253
|
* @description The current page number in paginated mode.
|
|
@@ -5661,7 +5791,7 @@ declare class ListComponent extends NgxComponentDirective implements OnInit, OnD
|
|
|
5661
5791
|
mapResults(data: KeyValue[]): KeyValue[];
|
|
5662
5792
|
parseSearchValue(): string | IFilterQuery;
|
|
5663
5793
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
5664
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "ngx-decaf-list", never, { "type": { "alias": "type"; "required": false; }; "showSearchbar": { "alias": "showSearchbar"; "required": false; }; "data": { "alias": "data"; "required": false; }; "source": { "alias": "source"; "required": false; }; "start": { "alias": "start"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "loadMoreData": { "alias": "loadMoreData"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; "scrollThreshold": { "alias": "scrollThreshold"; "required": false; }; "scrollPosition": { "alias": "scrollPosition"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "showRefresher": { "alias": "showRefresher"; "required": false; }; "loadingSpinner": { "alias": "loadingSpinner"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; }, { "refreshEvent": "refreshEvent"; "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
|
|
5794
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "ngx-decaf-list", never, { "type": { "alias": "type"; "required": false; }; "showSearchbar": { "alias": "showSearchbar"; "required": false; }; "data": { "alias": "data"; "required": false; }; "source": { "alias": "source"; "required": false; }; "start": { "alias": "start"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "loadMoreData": { "alias": "loadMoreData"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; "scrollThreshold": { "alias": "scrollThreshold"; "required": false; }; "scrollPosition": { "alias": "scrollPosition"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "showRefresher": { "alias": "showRefresher"; "required": false; }; "createButton": { "alias": "createButton"; "required": false; }; "loadingSpinner": { "alias": "loadingSpinner"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; }, { "refreshEvent": "refreshEvent"; "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
|
|
5665
5795
|
}
|
|
5666
5796
|
|
|
5667
5797
|
/**
|