@decaf-ts/for-angular 0.1.18 → 0.1.21

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
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Type, Injector, ElementRef, EnvironmentInjector, InjectionToken, OnChanges, OnDestroy, WritableSignal, ChangeDetectorRef, Renderer2, EventEmitter, SimpleChanges, EnvironmentProviders, Provider, AfterViewInit, ViewContainerRef, TemplateRef, OnInit, ComponentMirror, ComponentRef, PipeTransform, ModuleWithProviders } from '@angular/core';
2
+ import { Type, Injector, ElementRef, EnvironmentInjector, InjectionToken, OnChanges, OnDestroy, WritableSignal, ChangeDetectorRef, Renderer2, EventEmitter, SimpleChanges, EnvironmentProviders, Provider, AfterViewInit, ViewContainerRef, TemplateRef, OnInit, PipeTransform, ComponentMirror, ComponentRef, ModuleWithProviders } from '@angular/core';
3
3
  import * as i2 from '@angular/forms';
4
4
  import { FormGroup, FormControl, FormArray, ControlValueAccessor, AbstractControl } from '@angular/forms';
5
5
  import { OrderDirection, AttributeOption, Observer, Condition, Paginator, Repository, Adapter } from '@decaf-ts/core';
@@ -18,7 +18,7 @@ import { OverlayBaseController } from '@ionic/angular/common';
18
18
  import { HttpClient } from '@angular/common/http';
19
19
  import { Observable, Subject, Subscription } from 'rxjs';
20
20
  import * as i3 from '@ngx-translate/core';
21
- import { InterpolationParameters, Translation, InterpolatableTranslationObject, Language, TranslateService, TranslateLoader, TranslationObject, TranslateParser, RootTranslateServiceConfig } from '@ngx-translate/core';
21
+ import { InterpolationParameters, Translation, InterpolatableTranslationObject, Language, TranslateLoader, TranslationObject, TranslateParser, RootTranslateServiceConfig, TranslateService } from '@ngx-translate/core';
22
22
  import { Title, SafeHtml, DomSanitizer } from '@angular/platform-browser';
23
23
  import { sf, Logger, LoggedClass } from '@decaf-ts/logging';
24
24
  import { NavigationOptions } from '@ionic/angular/common/providers/nav-controller';
@@ -485,6 +485,28 @@ interface ILayoutModelContext {
485
485
  };
486
486
  models: IRepositoryModelProps<Model>[];
487
487
  }
488
+ /**
489
+ * @description Configuration object for the {@link DecafTooltipDirective} directive.
490
+ * @summary Defines the shape of the options accepted by the `[ngx-decaf-tooltip]` attribute
491
+ * selector. Controls the tooltip text content, whether visible text should be truncated,
492
+ * the character limit for truncation, and the trailing string appended after a cut.
493
+ * @property {string} text - The full text to display inside the tooltip and, when truncated,
494
+ * the source for the truncated visible content.
495
+ * @property {boolean} [truncate] - When `true`, the host element's inner text is replaced with
496
+ * a truncated version. Defaults to `false`.
497
+ * @property {number} [limit] - Maximum number of characters before truncation occurs.
498
+ * Defaults to `30`.
499
+ * @property {string} [trail] - String appended at the end of the truncated text.
500
+ * Defaults to `'...'`.
501
+ * @interface TooltipConfig
502
+ * @memberOf module:DecafTooltipDirective
503
+ */
504
+ interface ITooltipConfig {
505
+ text: string;
506
+ truncate?: boolean;
507
+ limit?: number;
508
+ trail?: string;
509
+ }
488
510
 
489
511
  declare const DB_ADAPTER_FLAVOUR_TOKEN = "DbAdapterFlavour";
490
512
  /**
@@ -1009,7 +1031,7 @@ declare class NgxMediaService {
1009
1031
  declare class NgxTranslateService extends DecafTranslateService implements DecafTranslateService {
1010
1032
  private translateService;
1011
1033
  instant(key: string, interpolateParams?: InterpolationParameters): Translation;
1012
- translate(key: string, params?: InterpolationParameters): Translation;
1034
+ translate(key: string, params?: InterpolationParameters | string): Promise<string>;
1013
1035
  get(key: string | string[], params?: InterpolationParameters | string): Promise<string>;
1014
1036
  use(lang: string): void;
1015
1037
  setFallbackLang(lang: string): Observable<InterpolatableTranslationObject>;
@@ -1217,15 +1239,6 @@ declare class NgxRepositoryDirective<M extends Model> extends DecafComponent<M>
1217
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>;
1218
1240
  }
1219
1241
 
1220
- /**
1221
- * @module lib/engine/NgxComponentDirective
1222
- * @description Base decaf component abstraction providing shared inputs and utilities.
1223
- * @summary NgxComponentDirective is the abstract foundation for Decaf components and provides common
1224
- * inputs (model, mapper, pk, props), logging, repository resolution, and event dispatch helpers.
1225
- * It centralizes shared behavior for child components and simplifies integration with the rendering engine.
1226
- * @link {@link NgxComponentDirective}
1227
- */
1228
-
1229
1242
  /**
1230
1243
  * @description Base directive for Decaf components in Angular applications.
1231
1244
  * @summary Abstract base class that provides common functionality for all Decaf components.
@@ -1619,6 +1632,8 @@ declare abstract class NgxComponentDirective extends NgxRepositoryDirective<Mode
1619
1632
  * @default WindowColorSchemes.light
1620
1633
  */
1621
1634
  protected colorSchema: WindowColorScheme;
1635
+ private popState$;
1636
+ readonly popStateSignal: i0.Signal<PopStateEvent | null>;
1622
1637
  /**
1623
1638
  * @description Constructor for NgxComponentDirective.
1624
1639
  * @summary Initializes the directive by setting up the component name, locale root,
@@ -1630,7 +1645,8 @@ declare abstract class NgxComponentDirective extends NgxRepositoryDirective<Mode
1630
1645
  * @memberOf module:lib/engine/NgxComponentDirective
1631
1646
  */
1632
1647
  constructor(componentName?: string, localeRoot?: string);
1633
- initialize<T extends NgxComponentDirective>(): Promise<void>;
1648
+ beforeInitialize<T extends NgxComponentDirective>(component?: unknown): Promise<void>;
1649
+ initialize(): Promise<void>;
1634
1650
  /**
1635
1651
  * @description Cleanup lifecycle hook invoked when the directive is destroyed.
1636
1652
  * @summary Ensures any resources allocated by the directive's media service are
@@ -8592,29 +8608,165 @@ declare class NgxRouterService {
8592
8608
  }
8593
8609
 
8594
8610
  declare class TableComponent extends ListComponent implements OnInit {
8611
+ /**
8612
+ * @description Maximum character count before cell content is truncated. `-1` disables truncation.
8613
+ * @type {number}
8614
+ * @default -1
8615
+ */
8616
+ maxContentLength: number;
8617
+ /**
8618
+ * @description Column keys whose values are never truncated regardless of `maxContentLength`.
8619
+ * @type {string[]}
8620
+ * @default ['userId']
8621
+ */
8622
+ preserve: string[];
8623
+ /**
8624
+ * @description Source used to populate filter select options: a model class, async function, or string key.
8625
+ * @type {Model | FunctionLike | string}
8626
+ */
8595
8627
  filterModel: Model | FunctionLike | string;
8628
+ /**
8629
+ * @description Array of {@link SelectOption} objects displayed in the filter select control.
8630
+ * @type {SelectOption[]}
8631
+ */
8596
8632
  filterOptions: SelectOption[];
8633
+ /**
8634
+ * @description Translatable label rendered on the filter select input.
8635
+ * @type {string}
8636
+ */
8597
8637
  filterLabel: string;
8638
+ /**
8639
+ * @description Custom function that maps a repository item to a {@link SelectOption} shape.
8640
+ * @type {FunctionLike}
8641
+ */
8598
8642
  filterOptionsMapper: FunctionLike;
8643
+ /**
8644
+ * @description Currently selected filter value; `undefined` when no filter is active.
8645
+ * @type {string | undefined}
8646
+ */
8599
8647
  filterValue?: string;
8648
+ /**
8649
+ * @description Ordered array of column keys rendered as table columns. Includes `'actions'` when operations are permitted.
8650
+ * @type {string[]}
8651
+ */
8600
8652
  cols: string[];
8653
+ /**
8654
+ * @description Column header label array, mirrors `cols` after `getOperations()` resolves.
8655
+ * @type {string[]}
8656
+ */
8601
8657
  headers: string[];
8658
+ /**
8659
+ * @description When `true`, row-level action buttons are rendered if the user has the required permissions.
8660
+ * @type {boolean}
8661
+ * @default true
8662
+ */
8602
8663
  allowOperations: boolean;
8664
+ /**
8665
+ * @description Injected {@link NgxRouterService} used to read URL query parameters for pre-populating the search state.
8666
+ * @type {NgxRouterService}
8667
+ */
8603
8668
  routerService: NgxRouterService;
8669
+ /**
8670
+ * @description Resolves and sorts the visible column keys from the current mapper metadata.
8671
+ * @summary Reads `this._mapper` to obtain all columns that carry a `sequence` property,
8672
+ * then sorts them so that columns anchored to `UIKeys.FIRST` appear first, numerically
8673
+ * sequenced columns are ordered by their value, and `UIKeys.LAST` anchored columns appear
8674
+ * last. Returns the final sorted array of column key strings.
8675
+ * @return {string[]} Sorted array of column keys derived from the mapper.
8676
+ * @mermaid
8677
+ * sequenceDiagram
8678
+ * participant TC as TableComponent
8679
+ * participant M as _mapper
8680
+ * TC->>M: Object.entries(_mapper)
8681
+ * M-->>TC: [key, value][] entries
8682
+ * TC->>TC: sort by sequence weight (FIRST=0, number=1, LAST=100)
8683
+ * TC-->>TC: return sorted keys[]
8684
+ */
8604
8685
  private get _cols();
8686
+ /**
8687
+ * @description Returns the column header labels derived directly from the resolved `cols` array.
8688
+ * @return {string[]} Shallow copy of `cols` used as table header labels.
8689
+ */
8605
8690
  private get _headers();
8691
+ /**
8692
+ * @description Filters the raw mapper to only the entries that declare a `sequence` property.
8693
+ * @summary Iterates over `this.mapper`, retains only keys whose value is a plain object
8694
+ * containing a `sequence` field, and returns the resulting subset as a {@link KeyValue} map
8695
+ * used by `_cols` for ordered column resolution.
8696
+ * @return {KeyValue} Filtered mapper containing only sequenced column definitions.
8697
+ */
8606
8698
  get _mapper(): KeyValue;
8699
+ /**
8700
+ * @description Angular lifecycle hook that initializes the table and loads its first page of data.
8701
+ * @summary Sets up the table by resolving columns, headers, and filter options. It also reads URL query parameters
8702
+ * to pre-populate the search state and triggers the initial data refresh.
8703
+ * @return {Promise<void>}
8704
+ */
8607
8705
  ngOnInit(): Promise<void>;
8706
+ /**
8707
+ * @description Determines which row-level CRUD operations are permitted and finalizes the column list.
8708
+ * @summary Checks user permissions for `UPDATE` and `DELETE` operations. Updates the `cols` and `headers` arrays accordingly.
8709
+ * @return {void}
8710
+ */
8608
8711
  getOperations(): void;
8712
+ /**
8713
+ * @description Populates `filterOptions` from a function call or a decorator-bound repository.
8714
+ * @summary Resolves filter options dynamically based on the provided `filterModel`. Supports both
8715
+ * async functions and repository-based data sources.
8716
+ * @return {Promise<void>}
8717
+ */
8609
8718
  protected getFilterOptions(): Promise<void>;
8719
+ /**
8720
+ * @description Maps a single raw data row to the cell-structured format expected by the table template.
8721
+ * @summary Applies transformations and event bindings to each row of data, preparing it for rendering.
8722
+ * @param {KeyValue} item - Raw data object representing a single table row.
8723
+ * @param {KeyValue} mapper - Column mapper definitions.
8724
+ * @param {KeyValue} [props={}] - Additional rendering props.
8725
+ * @return {Promise<KeyValue>} Mapped row object.
8726
+ */
8610
8727
  protected itemMapper(item: KeyValue, mapper: KeyValue, props?: KeyValue): Promise<KeyValue>;
8728
+ /**
8729
+ * @description Maps an array of raw data objects to the cell-structured rows used by the template.
8730
+ * @summary Resolves all rows concurrently via `Promise.all`, delegating each item to `itemMapper`.
8731
+ * @param {KeyValue[]} data - Raw row objects returned by the data source.
8732
+ * @return {Promise<KeyValue[]>} Array of structured row objects.
8733
+ */
8611
8734
  mapResults(data: KeyValue[]): Promise<KeyValue[]>;
8735
+ /**
8736
+ * @description Handles a CRUD action triggered by a row action button.
8737
+ * @summary Invokes a custom handler or navigates to the appropriate route for the given action.
8738
+ * @param {IBaseCustomEvent} event - The originating event.
8739
+ * @param {UIFunctionLike | undefined} handler - Optional custom handler.
8740
+ * @param {string} uid - Primary key value of the target row.
8741
+ * @param {CrudOperations} action - The CRUD operation type.
8742
+ * @return {Promise<void>}
8743
+ */
8612
8744
  handleAction(event: IBaseCustomEvent, handler: UIFunctionLike | undefined, uid: string, action: CrudOperations): Promise<void>;
8745
+ /**
8746
+ * @description Navigates to the CRUD action route for the specified row.
8747
+ * @summary Verifies the requested `action` and navigates to the appropriate route.
8748
+ * @param {Event | IBaseCustomEvent} event - The originating event.
8749
+ * @param {string} uid - Primary key value of the target row.
8750
+ * @param {CrudOperations} action - The CRUD operation to navigate to.
8751
+ * @return {Promise<void>}
8752
+ */
8613
8753
  handleRedirect(event: Event | IBaseCustomEvent, uid: string, action: CrudOperations): Promise<void>;
8754
+ /**
8755
+ * @description Opens the filter select UI, allowing the user to narrow table results by a field value.
8756
+ * @summary Determines the presentation mode and handles user selection.
8757
+ * @param {Event} event - The click event that triggered the filter open action.
8758
+ * @return {Promise<void>}
8759
+ */
8614
8760
  openFilterSelectOptions(event: Event): Promise<void>;
8761
+ /**
8762
+ * @description Clears the active filter selection and resets the table to an unfiltered state.
8763
+ * @summary Resets `filterValue` and reloads the full data set.
8764
+ * @param {CustomEvent} event - The clear event emitted by the filter select control.
8765
+ * @return {Promise<void>}
8766
+ */
8615
8767
  handleFilterSelectClear(event: CustomEvent): Promise<void>;
8616
8768
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
8617
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ngx-decaf-table", never, { "filterModel": { "alias": "filterModel"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "filterLabel": { "alias": "filterLabel"; "required": false; }; "filterOptionsMapper": { "alias": "filterOptionsMapper"; "required": false; }; "allowOperations": { "alias": "allowOperations"; "required": false; }; }, {}, never, never, true, never>;
8769
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ngx-decaf-table", never, { "maxContentLength": { "alias": "maxContentLength"; "required": false; }; "preserve": { "alias": "preserve"; "required": false; }; "filterModel": { "alias": "filterModel"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "filterLabel": { "alias": "filterLabel"; "required": false; }; "filterOptionsMapper": { "alias": "filterOptionsMapper"; "required": false; }; "allowOperations": { "alias": "allowOperations"; "required": false; }; }, {}, never, never, true, never>;
8618
8770
  }
8619
8771
 
8620
8772
  declare class ForAngularComponentsModule {
@@ -8623,6 +8775,151 @@ declare class ForAngularComponentsModule {
8623
8775
  static ɵinj: i0.ɵɵInjectorDeclaration<ForAngularComponentsModule>;
8624
8776
  }
8625
8777
 
8778
+ /**
8779
+ * @module lib/directives/NgxSvgDirective
8780
+ * @description Standalone directive that inlines SVG assets into the host element.
8781
+ * @summary Provides {@link NgxSvgDirective}, a lightweight Angular directive that resolves
8782
+ * an SVG file path from either its input binding or the host element's `src` attribute and
8783
+ * delegates the HTTP fetch and DOM injection to {@link NgxMediaService}.
8784
+ * @link {@link NgxSvgDirective}
8785
+ */
8786
+
8787
+ /**
8788
+ * @description Angular directive that fetches an SVG file and inlines it into the host element.
8789
+ * @summary Standalone directive bound to the `[ngx-decaf-svg]` attribute selector. On
8790
+ * initialisation it resolves the SVG asset path from the `[ngx-decaf-svg]` input binding or,
8791
+ * as a fallback, the host element's native `src` attribute. Once a non-empty path is determined
8792
+ * it calls {@link NgxMediaService.loadSvgObserver}, which performs the HTTP request via
8793
+ * {@link HttpClient} and injects the SVG markup directly into the host element's DOM, enabling
8794
+ * full CSS styling of the inlined SVG.
8795
+ * @class NgxSvgDirective
8796
+ * @implements {OnInit}
8797
+ * @example
8798
+ * ```html
8799
+ * <!-- Via directive binding -->
8800
+ * <div [ngx-decaf-svg]="'/assets/icons/logo.svg'"></div>
8801
+ *
8802
+ * <!-- Fallback to src attribute -->
8803
+ * <img ngx-decaf-svg src="/assets/icons/arrow.svg" />
8804
+ * ```
8805
+ */
8806
+ declare class NgxSvgDirective implements OnInit {
8807
+ /**
8808
+ * @description URL or asset path to the SVG file to inline.
8809
+ * @summary Bound via the `[ngx-decaf-svg]` attribute. When empty or not provided, the
8810
+ * directive falls back to reading the host element's native `src` attribute during
8811
+ * `ngOnInit`.
8812
+ * @type {string}
8813
+ * @memberOf module:lib/directives/NgxSvgDirective
8814
+ */
8815
+ path: string;
8816
+ /**
8817
+ * @description Service responsible for fetching and inlining the SVG markup.
8818
+ * @summary Injected {@link NgxMediaService} instance used by `ngOnInit` to perform the
8819
+ * HTTP request and inject the resulting SVG markup into the host element's DOM.
8820
+ * @type {NgxMediaService}
8821
+ * @memberOf module:lib/directives/NgxSvgDirective
8822
+ */
8823
+ mediaService: NgxMediaService;
8824
+ /**
8825
+ * @description Reference to the host DOM element into which the SVG will be injected.
8826
+ * @summary Obtained via Angular's `inject(ElementRef)`. Provides access to the native
8827
+ * element forwarded to {@link NgxMediaService.loadSvgObserver} as the injection target,
8828
+ * and used as a fallback source for the `src` attribute when `path` is not set.
8829
+ * @type {ElementRef}
8830
+ * @memberOf module:lib/directives/NgxSvgDirective
8831
+ */
8832
+ element: ElementRef;
8833
+ /**
8834
+ * @description HTTP client instance forwarded to the media service for the SVG fetch.
8835
+ * @summary Injected {@link HttpClient} passed directly to
8836
+ * {@link NgxMediaService.loadSvgObserver} so the service can issue the GET request for
8837
+ * the SVG file without managing its own HTTP dependency.
8838
+ * @type {HttpClient}
8839
+ * @memberOf module:lib/directives/NgxSvgDirective
8840
+ */
8841
+ http: HttpClient;
8842
+ /**
8843
+ * @description Resolves the SVG path and triggers the inline load.
8844
+ * @summary Trims `path` and, when empty, falls back to the host element's `src` attribute.
8845
+ * When a valid path is found, delegates to {@link NgxMediaService.loadSvgObserver} to
8846
+ * fetch the file and inject the SVG markup into the host element.
8847
+ * @returns {void}
8848
+ * @memberOf module:lib/directives/NgxSvgDirective
8849
+ */
8850
+ ngOnInit(): void;
8851
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgxSvgDirective, never>;
8852
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgxSvgDirective, "[ngx-decaf-svg]", never, { "path": { "alias": "ngx-decaf-svg"; "required": false; }; }, {}, never, never, true, never>;
8853
+ }
8854
+
8855
+ declare class DecafTruncatePipe implements PipeTransform {
8856
+ transform(value: string, limit?: number, trail?: string): string;
8857
+ sanitize(value: string): string;
8858
+ static ɵfac: i0.ɵɵFactoryDeclaration<DecafTruncatePipe, never>;
8859
+ static ɵpipe: i0.ɵɵPipeDeclaration<DecafTruncatePipe, "truncate", true>;
8860
+ }
8861
+
8862
+ /**
8863
+ * @module DecafTooltipDirective
8864
+ * @description Provides a tooltip directive for the decaf-ts for-angular library.
8865
+ * @summary This module defines the {@link DecafTooltipDirective}, a standalone Angular directive
8866
+ * that dynamically appends a tooltip element to any host element it decorates. It also supports
8867
+ * optional text truncation using the {@link DecafTruncatePipe}.
8868
+ */
8869
+
8870
+ /**
8871
+ * @description Angular directive that appends a tooltip `<span>` to the host element and
8872
+ * optionally truncates its visible text content.
8873
+ * @summary The `DecafTooltipDirective` is a standalone Angular directive bound to the
8874
+ * `[ngx-decaf-tooltip]` attribute selector. It processes the {@link TooltipConfig} provided
8875
+ * via the `options` input, sanitizes the text, and appends a `.dcf-tooltip` `<span>` containing
8876
+ * the sanitized full text to the host element. The directive also applies the `dcf-tooltip-parent`
8877
+ * CSS class to the host for tooltip positioning. When truncation is enabled, the host element's
8878
+ * inner content is replaced with the truncated text before the tooltip span is added.
8879
+ * @example
8880
+ * ```html
8881
+ * <!-- Basic tooltip -->
8882
+ * <span [ngx-decaf-tooltip]="{ text: 'Full description here' }">Hover me</span>
8883
+ *
8884
+ * <!-- Truncated visible text with tooltip showing the full content -->
8885
+ * <span [ngx-decaf-tooltip]="{ text: veryLongLabel, truncate: true, limit: 20, trail: '…' }">
8886
+ * {{ veryLongLabel }}
8887
+ * </span>
8888
+ * ```
8889
+ * @class DecafTooltipDirective
8890
+ */
8891
+ /**
8892
+ * @description Angular lifecycle hook invoked whenever one or more input properties change.
8893
+ * @summary Processes the {@link ITooltipConfig} options, sanitizes the text, and updates the
8894
+ * host element's content and tooltip span accordingly. Applies the `dcf-tooltip-parent` CSS class
8895
+ * to the host for styling.
8896
+ * @return {void}
8897
+ */
8898
+ declare class DecafTooltipDirective implements OnChanges {
8899
+ options: ITooltipConfig;
8900
+ /**
8901
+ * @description Reference to the host DOM element into which the SVG will be injected.
8902
+ * @summary Obtained via Angular's `inject(ElementRef)`. Provides access to the native
8903
+ * element forwarded to {@link NgxMediaService.loadSvgObserver} as the injection target,
8904
+ * and used as a fallback source for the `src` attribute when `path` is not set.
8905
+ * @type {ElementRef}
8906
+ * @memberOf module:lib/directives/NgxSvgDirective
8907
+ */
8908
+ element: ElementRef;
8909
+ renderer: Renderer2;
8910
+ truncatePipe: DecafTruncatePipe;
8911
+ /**
8912
+ * @description Angular lifecycle hook invoked whenever one or more input properties change.
8913
+ * @summary Processes the {@link TooltipConfig} options, sanitizes the text, and updates the
8914
+ * host element's content and tooltip span accordingly. Applies the `dcf-tooltip-parent` CSS class
8915
+ * to the host for styling.
8916
+ * @return {void}
8917
+ */
8918
+ ngOnChanges(): void;
8919
+ static ɵfac: i0.ɵɵFactoryDeclaration<DecafTooltipDirective, never>;
8920
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DecafTooltipDirective, "[ngx-decaf-tooltip]", never, { "options": { "alias": "ngx-decaf-tooltip"; "required": false; }; }, {}, never, never, true, never>;
8921
+ }
8922
+
8626
8923
  declare function getDbAdapterFlavour(): string;
8627
8924
  /**
8628
8925
  * @description Provides an array of component types for dynamic rendering.
@@ -9654,14 +9951,204 @@ declare abstract class NgxEventHandler extends DecafEventHandler {
9654
9951
  afterUpdate(...args: unknown[]): Promise<any>;
9655
9952
  }
9656
9953
 
9657
- declare class NgxSvgDirective implements OnInit {
9658
- path: string;
9659
- mediaService: NgxMediaService;
9660
- element: ElementRef;
9661
- http: HttpClient;
9662
- ngOnInit(): void;
9663
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxSvgDirective, never>;
9664
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgxSvgDirective, "[ngx-decaf-svg]", never, { "path": { "alias": "ngx-decaf-svg"; "required": false; }; }, {}, never, never, true, never>;
9954
+ /**
9955
+ * @module lib/for-angular-common.module
9956
+ * @description Core Angular module and providers for Decaf's for-angular package.
9957
+ * @summary Provides the shared Angular module, injection tokens and helper functions used
9958
+ * by the for-angular integration. This module wires up common imports (forms, translation)
9959
+ * and exposes helper providers such as DB adapter registration and logger utilities.
9960
+ * @link {@link ForAngularCommonModule}
9961
+ */
9962
+
9963
+ /**
9964
+ * @description Main Angular module for the Decaf framework.
9965
+ * @summary The ForAngularCommonModule provides the core functionality for integrating Decaf with Angular applications.
9966
+ * It imports and exports common Angular and Ionic components and modules needed for Decaf applications,
9967
+ * including form handling, translation support, and Ionic UI components. This module can be imported
9968
+ * directly or via the forRoot() method for proper initialization in the application's root module.
9969
+ * @class ForAngularCommonModule
9970
+ * @memberOf module:lib/for-angular-common.module
9971
+ * @example
9972
+ * // In your app module:
9973
+ * @NgModule({
9974
+ * imports: [
9975
+ * ForAngularCommonModule.forRoot(),
9976
+ * // other imports
9977
+ * ],
9978
+ * // ...
9979
+ * })
9980
+ * export class AppModule {}
9981
+ */
9982
+ declare class ForAngularCommonModule {
9983
+ /**
9984
+ * @description Creates a module with providers for root module import.
9985
+ * @summary This static method provides the proper way to import the ForAngularCommonModule in the application's
9986
+ * root module. It returns a ModuleWithProviders object that includes the ForAngularCommonModule itself.
9987
+ * Using forRoot() ensures that the module and its providers are properly initialized and only
9988
+ * instantiated once in the application.
9989
+ * @return {ModuleWithProviders<ForAngularCommonModule>} The module with its providers
9990
+ * @memberOf ForAngularCommonModule
9991
+ * @static
9992
+ * @example
9993
+ * // Import in root module
9994
+ * @NgModule({
9995
+ * imports: [ForAngularCommonModule.forRoot()],
9996
+ * // ...
9997
+ * })
9998
+ * export class AppModule {}
9999
+ */
10000
+ static forRoot(): ModuleWithProviders<ForAngularCommonModule>;
10001
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForAngularCommonModule, never>;
10002
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ForAngularCommonModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i3.TranslatePipe], [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i3.TranslatePipe]>;
10003
+ static ɵinj: i0.ɵɵInjectorDeclaration<ForAngularCommonModule>;
10004
+ }
10005
+
10006
+ /**
10007
+ * @module module:lib/i18n/Loader
10008
+ * @description Internationalization loader and helpers for the for-angular package.
10009
+ * @summary Provides an implementation of TranslateLoader (I18nLoader) and helper factories
10010
+ * to load translation resources. Also exposes locale utilities used by components to resolve
10011
+ * localized keys.
10012
+ *
10013
+ * @link {@link I18nLoader}
10014
+ */
10015
+
10016
+ /**
10017
+ * @description Retrieves the locale context for a given class, object, or string.
10018
+ * @summary Resolves the locale context by extracting the class name or using the provided suffix.
10019
+ *
10020
+ * @param {FunctionLike | object | string} clazz - The class, object, or string to derive the locale context from.
10021
+ * @param {string} [suffix] - An optional suffix to append to the locale context.
10022
+ * @returns {string} - The resolved locale context string.
10023
+ */
10024
+ declare function getLocaleContext(clazz: FunctionLike | object | string, suffix?: string): string;
10025
+ /**
10026
+ * @description Generates a localized string by combining locale and phrase
10027
+ * @summary This utility function creates a properly formatted locale string by combining
10028
+ * a locale identifier with a phrase. It handles edge cases such as empty phrases,
10029
+ * missing locales, and phrases that already include the locale prefix. This function
10030
+ * is useful for ensuring consistent formatting of localized strings throughout the application.
10031
+ *
10032
+ * @param {string} locale - The locale identifier (e.g., 'en', 'fr')
10033
+ * @param {string | undefined} phrase - The phrase to localize
10034
+ * @return {string} The formatted locale string, or empty string if phrase is undefined
10035
+ *
10036
+ * @function generateLocaleFromString
10037
+ * @memberOf module:for-angular
10038
+ */
10039
+ declare function getLocaleContextByKey(locale: string, phrase: string | undefined): string;
10040
+ /**
10041
+ * @description Factory function for creating an instance of I18nLoader.
10042
+ * @summary Configures and returns an I18nLoader instance with the specified HTTP client and translation resources.
10043
+ *
10044
+ * @param {HttpClient} http - The HTTP client used to fetch translation resources.
10045
+ * @returns {TranslateLoader} - An instance of I18nLoader configured with the provided HTTP client and resources.
10046
+ */
10047
+ declare function I18nLoaderFactory(http: HttpClient): TranslateLoader;
10048
+ /**
10049
+ * @description Provides the I18nLoader configuration.
10050
+ * @summary Configures the translation resources and versioned suffix for the I18nLoader.
10051
+ *
10052
+ * @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
10053
+ * @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
10054
+ * @returns {object} - The configuration object for the I18nLoader.
10055
+ */
10056
+ declare function provideDecafI18nLoader(resources?: I18nResourceConfigType, versionedSuffix?: boolean): {
10057
+ provide: typeof I18N_CONFIG_TOKEN;
10058
+ useValue: {
10059
+ resources: I18nResourceConfig[];
10060
+ versionedSuffix: boolean;
10061
+ };
10062
+ };
10063
+ /**
10064
+ * @description Custom implementation of TranslateLoader for loading translations.
10065
+ * @summary Fetches and merges translation resources, supporting versioned suffixes and recursive merging.
10066
+ */
10067
+ declare class I18nLoader implements TranslateLoader {
10068
+ private http;
10069
+ private resources;
10070
+ private versionedSuffix;
10071
+ static enabled: boolean;
10072
+ static cache: Record<string, TranslationObject>;
10073
+ /**
10074
+ * @param {HttpClient} http - The HTTP client used to fetch translation resources.
10075
+ * @param {I18nResourceConfig[]} [resources=[]] - The translation resources to be loaded.
10076
+ * @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
10077
+ */
10078
+ constructor(http: HttpClient, resources?: I18nResourceConfig[], versionedSuffix?: boolean);
10079
+ /**
10080
+ * @description Appends a versioned suffix to the resource URL if enabled.
10081
+ * @summary Generates a versioned suffix based on the current date.
10082
+ *
10083
+ * @param {string} suffix - The original suffix of the resource URL.
10084
+ * @returns {string} - The modified suffix with a version string appended.
10085
+ */
10086
+ private getSuffix;
10087
+ /**
10088
+ * @description Fetches and merges translations for the specified language.
10089
+ * @summary Loads translation resources, merges them recursively, and includes library keys.
10090
+ *
10091
+ * @param {string} lang - The language code for the translations to load.
10092
+ * @returns {Observable<TranslationObject>} - An observable that emits the merged translation object.
10093
+ */
10094
+ getTranslation(lang: string): Observable<TranslationObject>;
10095
+ }
10096
+ /**
10097
+ * @description Custom implementation of TranslateParser for interpolation.
10098
+ * @summary Extends TranslateParser to support string formatting with parameters.
10099
+ */
10100
+ declare class I18nParser extends TranslateParser {
10101
+ /**
10102
+ * @description Interpolates a translation string with parameters.
10103
+ * @summary Replaces placeholders in the translation string with parameter values.
10104
+ *
10105
+ * @param {string} value - The translation string to interpolate.
10106
+ * @param {object | string} [params={}] - The parameters to replace placeholders with.
10107
+ * @returns {string} - The interpolated translation string.
10108
+ */
10109
+ interpolate(value: string, params?: object | string): string;
10110
+ }
10111
+ /**
10112
+ * @description Provides the internationalization (i18n) configuration for the application.
10113
+ * @summary Configures the translation service with a fallback language, default language, custom parser, and loader.
10114
+ *
10115
+ * @param {RootTranslateServiceConfig} [config={fallbackLang: 'en', lang: 'en'}] - The configuration for the translation service, including fallback and default languages.
10116
+ * @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
10117
+ * @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
10118
+ * @returns {AngularProvider[]} - An array of providers for the translation service and loader.
10119
+ */
10120
+ declare function provideDecafI18nConfig(config?: RootTranslateServiceConfig, resources?: I18nResourceConfigType, versionedSuffix?: boolean, enabled?: boolean): AngularProvider[];
10121
+
10122
+ /**
10123
+ * @module DecafTranslatePipe
10124
+ * @description Angular pipe for translating text using the `@ngx-translate/core` library.
10125
+ * @summary The `DecafTranslatePipe` provides a mechanism to translate text keys into localized
10126
+ * strings based on the current language settings. It integrates with the `TranslateService`
10127
+ * to fetch translations dynamically and supports fallback rendering for untranslated keys.
10128
+ * @class DecafTranslatePipe
10129
+ * @implements {PipeTransform}
10130
+ */
10131
+ declare class DecafTranslatePipe implements PipeTransform {
10132
+ /**
10133
+ * @description Injected instance of the `TranslateService` for handling translations.
10134
+ * @type {TranslateService}
10135
+ */
10136
+ translate: TranslateService;
10137
+ /**
10138
+ * @description Transforms a text key into its localized string representation.
10139
+ * @summary Uses the `TranslateService` to fetch the translated string for the provided key.
10140
+ * If translations are disabled or the key is not found, it returns a fallback HTML-wrapped key.
10141
+ * @param {string} value - The translation key to be transformed.
10142
+ * @param {...any[]} args - Optional arguments to interpolate within the translation string.
10143
+ * @return {string} The translated string or a fallback HTML-wrapped key.
10144
+ * @example
10145
+ * ```html
10146
+ * {{ 'HELLO_WORLD' | translate }}
10147
+ * ```
10148
+ */
10149
+ transform(value: string, ...args: []): string;
10150
+ static ɵfac: i0.ɵɵFactoryDeclaration<DecafTranslatePipe, never>;
10151
+ static ɵpipe: i0.ɵɵPipeDeclaration<DecafTranslatePipe, "translate", true>;
9665
10152
  }
9666
10153
 
9667
10154
  /**
@@ -10006,6 +10493,7 @@ declare function filterString(original: string | string[], value: string, contai
10006
10493
  * @returns {string} The icon associated with the menu item if found, otherwise an empty string.
10007
10494
  */
10008
10495
  declare function getMenuIcon(label: string, menu: IMenuItem[]): string;
10496
+ declare function dateFromString(value: string): Date;
10009
10497
 
10010
10498
  declare class DecafFakerRepository<T extends Model> extends LoggedClass {
10011
10499
  protected model: string | Model;
@@ -10025,179 +10513,5 @@ declare class DecafFakerRepository<T extends Model> extends LoggedClass {
10025
10513
  }
10026
10514
  declare function getFakerData<T extends Model>(limit: number | undefined, data: Record<string, FunctionLike>, model?: string): T[];
10027
10515
 
10028
- /**
10029
- * @module module:lib/i18n/Loader
10030
- * @description Internationalization loader and helpers for the for-angular package.
10031
- * @summary Provides an implementation of TranslateLoader (I18nLoader) and helper factories
10032
- * to load translation resources. Also exposes locale utilities used by components to resolve
10033
- * localized keys.
10034
- *
10035
- * @link {@link I18nLoader}
10036
- */
10037
-
10038
- /**
10039
- * @description Retrieves the locale context for a given class, object, or string.
10040
- * @summary Resolves the locale context by extracting the class name or using the provided suffix.
10041
- *
10042
- * @param {FunctionLike | object | string} clazz - The class, object, or string to derive the locale context from.
10043
- * @param {string} [suffix] - An optional suffix to append to the locale context.
10044
- * @returns {string} - The resolved locale context string.
10045
- */
10046
- declare function getLocaleContext(clazz: FunctionLike | object | string, suffix?: string): string;
10047
- /**
10048
- * @description Generates a localized string by combining locale and phrase
10049
- * @summary This utility function creates a properly formatted locale string by combining
10050
- * a locale identifier with a phrase. It handles edge cases such as empty phrases,
10051
- * missing locales, and phrases that already include the locale prefix. This function
10052
- * is useful for ensuring consistent formatting of localized strings throughout the application.
10053
- *
10054
- * @param {string} locale - The locale identifier (e.g., 'en', 'fr')
10055
- * @param {string | undefined} phrase - The phrase to localize
10056
- * @return {string} The formatted locale string, or empty string if phrase is undefined
10057
- *
10058
- * @function generateLocaleFromString
10059
- * @memberOf module:for-angular
10060
- */
10061
- declare function getLocaleContextByKey(locale: string, phrase: string | undefined): string;
10062
- /**
10063
- * @description Factory function for creating an instance of I18nLoader.
10064
- * @summary Configures and returns an I18nLoader instance with the specified HTTP client and translation resources.
10065
- *
10066
- * @param {HttpClient} http - The HTTP client used to fetch translation resources.
10067
- * @returns {TranslateLoader} - An instance of I18nLoader configured with the provided HTTP client and resources.
10068
- */
10069
- declare function I18nLoaderFactory(http: HttpClient): TranslateLoader;
10070
- /**
10071
- * @description Provides the I18nLoader configuration.
10072
- * @summary Configures the translation resources and versioned suffix for the I18nLoader.
10073
- *
10074
- * @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
10075
- * @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
10076
- * @returns {object} - The configuration object for the I18nLoader.
10077
- */
10078
- declare function provideDecafI18nLoader(resources?: I18nResourceConfigType, versionedSuffix?: boolean): {
10079
- provide: typeof I18N_CONFIG_TOKEN;
10080
- useValue: {
10081
- resources: I18nResourceConfig[];
10082
- versionedSuffix: boolean;
10083
- };
10084
- };
10085
- /**
10086
- * @description Custom implementation of TranslateLoader for loading translations.
10087
- * @summary Fetches and merges translation resources, supporting versioned suffixes and recursive merging.
10088
- */
10089
- declare class I18nLoader implements TranslateLoader {
10090
- private http;
10091
- private resources;
10092
- private versionedSuffix;
10093
- static enabled: boolean;
10094
- static cache: Record<string, TranslationObject>;
10095
- /**
10096
- * @param {HttpClient} http - The HTTP client used to fetch translation resources.
10097
- * @param {I18nResourceConfig[]} [resources=[]] - The translation resources to be loaded.
10098
- * @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
10099
- */
10100
- constructor(http: HttpClient, resources?: I18nResourceConfig[], versionedSuffix?: boolean);
10101
- /**
10102
- * @description Appends a versioned suffix to the resource URL if enabled.
10103
- * @summary Generates a versioned suffix based on the current date.
10104
- *
10105
- * @param {string} suffix - The original suffix of the resource URL.
10106
- * @returns {string} - The modified suffix with a version string appended.
10107
- */
10108
- private getSuffix;
10109
- /**
10110
- * @description Fetches and merges translations for the specified language.
10111
- * @summary Loads translation resources, merges them recursively, and includes library keys.
10112
- *
10113
- * @param {string} lang - The language code for the translations to load.
10114
- * @returns {Observable<TranslationObject>} - An observable that emits the merged translation object.
10115
- */
10116
- getTranslation(lang: string): Observable<TranslationObject>;
10117
- }
10118
- /**
10119
- * @description Custom implementation of TranslateParser for interpolation.
10120
- * @summary Extends TranslateParser to support string formatting with parameters.
10121
- */
10122
- declare class I18nParser extends TranslateParser {
10123
- /**
10124
- * @description Interpolates a translation string with parameters.
10125
- * @summary Replaces placeholders in the translation string with parameter values.
10126
- *
10127
- * @param {string} value - The translation string to interpolate.
10128
- * @param {object | string} [params={}] - The parameters to replace placeholders with.
10129
- * @returns {string} - The interpolated translation string.
10130
- */
10131
- interpolate(value: string, params?: object | string): string;
10132
- }
10133
- /**
10134
- * @description Provides the internationalization (i18n) configuration for the application.
10135
- * @summary Configures the translation service with a fallback language, default language, custom parser, and loader.
10136
- *
10137
- * @param {RootTranslateServiceConfig} [config={fallbackLang: 'en', lang: 'en'}] - The configuration for the translation service, including fallback and default languages.
10138
- * @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
10139
- * @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
10140
- * @returns {AngularProvider[]} - An array of providers for the translation service and loader.
10141
- */
10142
- declare function provideDecafI18nConfig(config?: RootTranslateServiceConfig, resources?: I18nResourceConfigType, versionedSuffix?: boolean, enabled?: boolean): AngularProvider[];
10143
- declare class DecafTranslatePipe implements PipeTransform {
10144
- translate: TranslateService;
10145
- transform(value: string, ...args: []): unknown;
10146
- static ɵfac: i0.ɵɵFactoryDeclaration<DecafTranslatePipe, never>;
10147
- static ɵpipe: i0.ɵɵPipeDeclaration<DecafTranslatePipe, "translate", true>;
10148
- }
10149
-
10150
- /**
10151
- * @module lib/for-angular-common.module
10152
- * @description Core Angular module and providers for Decaf's for-angular package.
10153
- * @summary Provides the shared Angular module, injection tokens and helper functions used
10154
- * by the for-angular integration. This module wires up common imports (forms, translation)
10155
- * and exposes helper providers such as DB adapter registration and logger utilities.
10156
- * @link {@link ForAngularCommonModule}
10157
- */
10158
-
10159
- /**
10160
- * @description Main Angular module for the Decaf framework.
10161
- * @summary The ForAngularCommonModule provides the core functionality for integrating Decaf with Angular applications.
10162
- * It imports and exports common Angular and Ionic components and modules needed for Decaf applications,
10163
- * including form handling, translation support, and Ionic UI components. This module can be imported
10164
- * directly or via the forRoot() method for proper initialization in the application's root module.
10165
- * @class ForAngularCommonModule
10166
- * @memberOf module:lib/for-angular-common.module
10167
- * @example
10168
- * // In your app module:
10169
- * @NgModule({
10170
- * imports: [
10171
- * ForAngularCommonModule.forRoot(),
10172
- * // other imports
10173
- * ],
10174
- * // ...
10175
- * })
10176
- * export class AppModule {}
10177
- */
10178
- declare class ForAngularCommonModule {
10179
- /**
10180
- * @description Creates a module with providers for root module import.
10181
- * @summary This static method provides the proper way to import the ForAngularCommonModule in the application's
10182
- * root module. It returns a ModuleWithProviders object that includes the ForAngularCommonModule itself.
10183
- * Using forRoot() ensures that the module and its providers are properly initialized and only
10184
- * instantiated once in the application.
10185
- * @return {ModuleWithProviders<ForAngularCommonModule>} The module with its providers
10186
- * @memberOf ForAngularCommonModule
10187
- * @static
10188
- * @example
10189
- * // Import in root module
10190
- * @NgModule({
10191
- * imports: [ForAngularCommonModule.forRoot()],
10192
- * // ...
10193
- * })
10194
- * export class AppModule {}
10195
- */
10196
- static forRoot(): ModuleWithProviders<ForAngularCommonModule>;
10197
- static ɵfac: i0.ɵɵFactoryDeclaration<ForAngularCommonModule, never>;
10198
- static ɵmod: i0.ɵɵNgModuleDeclaration<ForAngularCommonModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i3.TranslatePipe], [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i3.TranslatePipe]>;
10199
- static ɵinj: i0.ɵɵInjectorDeclaration<ForAngularCommonModule>;
10200
- }
10201
-
10202
- export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_FLAVOUR_TOKEN, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DecafTranslatePipe, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, ModalComponent, ModalConfirmComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxRouterService, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SelectFieldInterfaces, SteppedFormComponent, TableComponent, WindowColorSchemes, cleanSpaces, dataMapper, decafPageTransition, filterString, formatDate, generateRandomValue, getDbAdapterFlavour, getFakerData, getInjectablesRegistry, getLocaleContext, getLocaleContextByKey, getLocaleFromClassName, getLocaleLanguage, getLogger, getMenuIcon, getModelAndRepository, getNgxInlineModal, getNgxModalComponent, getNgxModalCrudComponent, getNgxSelectOptionsModal, getOnWindow, getOnWindowDocument, getWindow, getWindowDocument, getWindowWidth, isDarkMode, isDevelopmentMode, isNotUndefined, isValidDate, itemMapper, patternValidators, presentModalConfirm, presentNgxInlineModal, presentNgxLightBoxModal, provideDecafDarkMode, provideDecafDbAdapter, provideDecafDynamicComponents, provideDecafI18nConfig, provideDecafI18nLoader, provideDecafPageTransition, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
10203
- export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, AngularProvider, CheckboxOption, ComparisonValidationKey, ComponentMetadata, CrudEvent, CrudFieldOption, DecafComponentConstructor, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FilterCondition, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties, ICrudFormEvent, ICrudFormOptions, IFieldSetItem, IFieldSetValidationEvent, IFileUploadError, IFilterQuery, IFilterQueryItem, IFormComponentProperties, IFormElement, ILayoutModelContext, IListComponentRefreshEvent, IListEmptyOptions, IListItemCustomEvent, IMenuItem, IModelComponentSubmitEvent, IPaginationCustomEvent, IRenderedModel, IRepositoryModelProps, ISortObject, ITabItem, IWindowResizeEvent, InputOption, KeyValue, LayoutGridGap, ListItemPosition, PossibleInputTypes, PropsMapperFn, RadioOption, RawQuery, SelectOption, StringOrBoolean, WindowColorScheme };
10516
+ export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_FLAVOUR_TOKEN, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DecafTooltipDirective, DecafTranslatePipe, DecafTruncatePipe, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, ModalComponent, ModalConfirmComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxRouterService, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SelectFieldInterfaces, SteppedFormComponent, TableComponent, WindowColorSchemes, cleanSpaces, dataMapper, dateFromString, decafPageTransition, filterString, formatDate, generateRandomValue, getDbAdapterFlavour, getFakerData, getInjectablesRegistry, getLocaleContext, getLocaleContextByKey, getLocaleFromClassName, getLocaleLanguage, getLogger, getMenuIcon, getModelAndRepository, getNgxInlineModal, getNgxModalComponent, getNgxModalCrudComponent, getNgxSelectOptionsModal, getOnWindow, getOnWindowDocument, getWindow, getWindowDocument, getWindowWidth, isDarkMode, isDevelopmentMode, isNotUndefined, isValidDate, itemMapper, patternValidators, presentModalConfirm, presentNgxInlineModal, presentNgxLightBoxModal, provideDecafDarkMode, provideDecafDbAdapter, provideDecafDynamicComponents, provideDecafI18nConfig, provideDecafI18nLoader, provideDecafPageTransition, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
10517
+ export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, AngularProvider, CheckboxOption, ComparisonValidationKey, ComponentMetadata, CrudEvent, CrudFieldOption, DecafComponentConstructor, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FilterCondition, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties, ICrudFormEvent, ICrudFormOptions, IFieldSetItem, IFieldSetValidationEvent, IFileUploadError, IFilterQuery, IFilterQueryItem, IFormComponentProperties, IFormElement, ILayoutModelContext, IListComponentRefreshEvent, IListEmptyOptions, IListItemCustomEvent, IMenuItem, IModelComponentSubmitEvent, IPaginationCustomEvent, IRenderedModel, IRepositoryModelProps, ISortObject, ITabItem, ITooltipConfig, IWindowResizeEvent, InputOption, KeyValue, LayoutGridGap, ListItemPosition, PossibleInputTypes, PropsMapperFn, RadioOption, RawQuery, SelectOption, StringOrBoolean, WindowColorScheme };