@decaf-ts/for-angular 0.0.51 → 0.0.53
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/README.md +5 -0
- package/assets/i18n/en.json +203 -0
- package/assets/i18n/ew/en.json +167 -0
- package/assets/i18n/pt.json +186 -0
- package/assets/images/icons/document.svg +7 -0
- package/assets/images/icons/edit.svg +1 -0
- package/assets/images/icons/menu-collapse.svg +5 -0
- package/assets/images/icons/menu.svg +3 -0
- package/assets/images/icons/trash.svg +1 -0
- package/fesm2022/decaf-ts-for-angular.mjs +56 -27
- package/fesm2022/decaf-ts-for-angular.mjs.map +1 -1
- package/index.d.ts +129 -118
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Type, Injector, ElementRef, EnvironmentInjector, OnChanges, OnDestroy, ChangeDetectorRef, Renderer2, EventEmitter, SimpleChanges, ViewContainerRef, TemplateRef, OnInit, AfterViewInit, ComponentMirror, ComponentRef, InjectionToken,
|
|
2
|
+
import { Type, Injector, ElementRef, EnvironmentInjector, EnvironmentProviders, Provider, OnChanges, OnDestroy, ChangeDetectorRef, Renderer2, EventEmitter, SimpleChanges, ViewContainerRef, TemplateRef, OnInit, AfterViewInit, ComponentMirror, ComponentRef, InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
3
3
|
import { IonInput, IonSelect, IonTextarea, IonCheckbox, SpinnerTypes, InfiniteScrollCustomEvent, RefresherCustomEvent, MenuController } from '@ionic/angular';
|
|
4
4
|
import { TextFieldTypes, SelectInterface, AutocompleteTypes, CheckboxCustomEvent, Color, PredefinedColors, OverlayEventDetail } from '@ionic/core';
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
@@ -243,6 +243,7 @@ interface InputOption {
|
|
|
243
243
|
text: string;
|
|
244
244
|
value: string | number;
|
|
245
245
|
disabled?: StringOrBoolean;
|
|
246
|
+
hidden?: StringOrBoolean;
|
|
246
247
|
className?: string;
|
|
247
248
|
icon?: string;
|
|
248
249
|
}
|
|
@@ -968,6 +969,13 @@ type LayoutGridGap = (typeof LayoutGridGaps)[keyof typeof LayoutGridGaps];
|
|
|
968
969
|
* @memberOf module:lib/engine/types
|
|
969
970
|
*/
|
|
970
971
|
type ListItemPosition = (typeof ListItemPositions)[keyof typeof ListItemPositions];
|
|
972
|
+
/**
|
|
973
|
+
* @description Represents an Angular dependency injection provider.
|
|
974
|
+
* @summary This type is a union of Angular's `EnvironmentProviders` and `Provider` types, allowing for flexible DI configuration.
|
|
975
|
+
* @typedef {EnvironmentProviders | Provider} AngularProvider
|
|
976
|
+
* @memberOf module:lib/engine/types
|
|
977
|
+
*/
|
|
978
|
+
type AngularProvider = EnvironmentProviders | Provider;
|
|
971
979
|
|
|
972
980
|
/**
|
|
973
981
|
* @module NgxMediaService
|
|
@@ -2891,11 +2899,12 @@ declare class CrudFieldComponent extends NgxFormFieldDirective implements OnInit
|
|
|
2891
2899
|
* @summary Indicates whether the field labels should be translated based on the current language settings.
|
|
2892
2900
|
* This is useful for applications supporting multiple languages.
|
|
2893
2901
|
*
|
|
2894
|
-
* @type {
|
|
2902
|
+
* @type {boolean}
|
|
2895
2903
|
* @default true
|
|
2896
2904
|
* @memberOf CrudFieldComponent
|
|
2897
2905
|
*/
|
|
2898
|
-
translatable:
|
|
2906
|
+
translatable: boolean;
|
|
2907
|
+
constructor();
|
|
2899
2908
|
/**
|
|
2900
2909
|
* @description Component initialization lifecycle method.
|
|
2901
2910
|
* @summary Initializes the field component based on the operation type and field configuration.
|
|
@@ -5782,6 +5791,7 @@ declare class ListItemComponent extends NgxComponentDirective implements OnInit,
|
|
|
5782
5791
|
* @memberOf ListItemComponent
|
|
5783
5792
|
*/
|
|
5784
5793
|
actionMenuComponent: HTMLIonPopoverElement;
|
|
5794
|
+
actionsType: 'popover' | 'inline';
|
|
5785
5795
|
/**
|
|
5786
5796
|
* @description Controls the display of lines around the list item.
|
|
5787
5797
|
* @summary Determines how lines are displayed around the list item borders.
|
|
@@ -6105,7 +6115,7 @@ declare class ListItemComponent extends NgxComponentDirective implements OnInit,
|
|
|
6105
6115
|
*/
|
|
6106
6116
|
presentActionsMenu(event: Event): void;
|
|
6107
6117
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
6108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "ngx-decaf-list-item", never, { "lines": { "alias": "lines"; "required": false; }; "item": { "alias": "item"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSlot": { "alias": "iconSlot"; "required": false; }; "button": { "alias": "button"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "info": { "alias": "info"; "required": false; }; "subinfo": { "alias": "subinfo"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["[slot='end']"], true, never>;
|
|
6118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "ngx-decaf-list-item", never, { "actionsType": { "alias": "actionsType"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "item": { "alias": "item"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSlot": { "alias": "iconSlot"; "required": false; }; "button": { "alias": "button"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "info": { "alias": "info"; "required": false; }; "subinfo": { "alias": "subinfo"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["[slot='end']"], true, never>;
|
|
6109
6119
|
}
|
|
6110
6120
|
|
|
6111
6121
|
/**
|
|
@@ -8818,6 +8828,13 @@ declare abstract class NgxModelPageDirective extends NgxPageDirective {
|
|
|
8818
8828
|
* @param {string} [uid] - The unique identifier of the model to load; defaults to modelId
|
|
8819
8829
|
*/
|
|
8820
8830
|
refresh(uid?: EventIds): Promise<void>;
|
|
8831
|
+
/**
|
|
8832
|
+
* @description Enables CRUD operations except those specified.
|
|
8833
|
+
* @summary Sets the allowed CRUD operations for the component, excluding any operations provided in the 'except' array.
|
|
8834
|
+
*
|
|
8835
|
+
* @param {OperationKeys[]} except - Array of operations to exclude from the allowed operations.
|
|
8836
|
+
*/
|
|
8837
|
+
protected enableCrudOperations(except?: OperationKeys[]): void;
|
|
8821
8838
|
/**
|
|
8822
8839
|
* @description Generic event handler for component events.
|
|
8823
8840
|
* @summary Processes incoming events from child components and routes them to appropriate
|
|
@@ -9241,116 +9258,6 @@ declare class DecafFakerRepository<T extends Model> {
|
|
|
9241
9258
|
}
|
|
9242
9259
|
declare function getFakerData<T extends Model>(limit: number | undefined, data: Record<string, FunctionLike>, model?: string): T[];
|
|
9243
9260
|
|
|
9244
|
-
/**
|
|
9245
|
-
* @description Retrieves the locale context for a given class, object, or string.
|
|
9246
|
-
* @summary Resolves the locale context by extracting the class name or using the provided suffix.
|
|
9247
|
-
*
|
|
9248
|
-
* @param {FunctionLike | object | string} clazz - The class, object, or string to derive the locale context from.
|
|
9249
|
-
* @param {string} [suffix] - An optional suffix to append to the locale context.
|
|
9250
|
-
* @returns {string} - The resolved locale context string.
|
|
9251
|
-
*/
|
|
9252
|
-
declare function getLocaleContext(clazz: FunctionLike | object | string, suffix?: string): string;
|
|
9253
|
-
/**
|
|
9254
|
-
* @description Generates a localized string by combining locale and phrase
|
|
9255
|
-
* @summary This utility function creates a properly formatted locale string by combining
|
|
9256
|
-
* a locale identifier with a phrase. It handles edge cases such as empty phrases,
|
|
9257
|
-
* missing locales, and phrases that already include the locale prefix. This function
|
|
9258
|
-
* is useful for ensuring consistent formatting of localized strings throughout the application.
|
|
9259
|
-
*
|
|
9260
|
-
* @param {string} locale - The locale identifier (e.g., 'en', 'fr')
|
|
9261
|
-
* @param {string | undefined} phrase - The phrase to localize
|
|
9262
|
-
* @return {string} The formatted locale string, or empty string if phrase is undefined
|
|
9263
|
-
*
|
|
9264
|
-
* @function generateLocaleFromString
|
|
9265
|
-
* @memberOf module:for-angular
|
|
9266
|
-
*/
|
|
9267
|
-
declare function getLocaleContextByKey(locale: string, phrase: string | undefined): string;
|
|
9268
|
-
/**
|
|
9269
|
-
* @description Factory function for creating an instance of I18nLoader.
|
|
9270
|
-
* @summary Configures and returns an I18nLoader instance with the specified HTTP client and translation resources.
|
|
9271
|
-
*
|
|
9272
|
-
* @param {HttpClient} http - The HTTP client used to fetch translation resources.
|
|
9273
|
-
* @returns {TranslateLoader} - An instance of I18nLoader configured with the provided HTTP client and resources.
|
|
9274
|
-
*/
|
|
9275
|
-
declare function I18nLoaderFactory(http: HttpClient): TranslateLoader;
|
|
9276
|
-
/**
|
|
9277
|
-
* @description Provides the I18nLoader configuration.
|
|
9278
|
-
* @summary Configures the translation resources and versioned suffix for the I18nLoader.
|
|
9279
|
-
*
|
|
9280
|
-
* @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
|
|
9281
|
-
* @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
|
|
9282
|
-
* @returns {object} - The configuration object for the I18nLoader.
|
|
9283
|
-
*/
|
|
9284
|
-
declare function provideI18nLoader(resources?: I18nResourceConfigType, versionedSuffix?: boolean): {
|
|
9285
|
-
provide: i0.InjectionToken<I18nToken>;
|
|
9286
|
-
useValue: {
|
|
9287
|
-
resources: I18nResourceConfig[];
|
|
9288
|
-
versionedSuffix: boolean;
|
|
9289
|
-
};
|
|
9290
|
-
};
|
|
9291
|
-
/**
|
|
9292
|
-
* @description Custom implementation of TranslateLoader for loading translations.
|
|
9293
|
-
* @summary Fetches and merges translation resources, supporting versioned suffixes and recursive merging.
|
|
9294
|
-
*/
|
|
9295
|
-
declare class I18nLoader implements TranslateLoader {
|
|
9296
|
-
private http;
|
|
9297
|
-
private resources;
|
|
9298
|
-
private versionedSuffix;
|
|
9299
|
-
/**
|
|
9300
|
-
* @param {HttpClient} http - The HTTP client used to fetch translation resources.
|
|
9301
|
-
* @param {I18nResourceConfig[]} [resources=[]] - The translation resources to be loaded.
|
|
9302
|
-
* @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
|
|
9303
|
-
*/
|
|
9304
|
-
constructor(http: HttpClient, resources?: I18nResourceConfig[], versionedSuffix?: boolean);
|
|
9305
|
-
/**
|
|
9306
|
-
* @description Appends a versioned suffix to the resource URL if enabled.
|
|
9307
|
-
* @summary Generates a versioned suffix based on the current date.
|
|
9308
|
-
*
|
|
9309
|
-
* @param {string} suffix - The original suffix of the resource URL.
|
|
9310
|
-
* @returns {string} - The modified suffix with a version string appended.
|
|
9311
|
-
*/
|
|
9312
|
-
private getSuffix;
|
|
9313
|
-
/**
|
|
9314
|
-
* @description Fetches and merges translations for the specified language.
|
|
9315
|
-
* @summary Loads translation resources, merges them recursively, and includes library keys.
|
|
9316
|
-
*
|
|
9317
|
-
* @param {string} lang - The language code for the translations to load.
|
|
9318
|
-
* @returns {Observable<TranslationObject>} - An observable that emits the merged translation object.
|
|
9319
|
-
*/
|
|
9320
|
-
getTranslation(lang: string): Observable<TranslationObject>;
|
|
9321
|
-
}
|
|
9322
|
-
/**
|
|
9323
|
-
* @description Custom implementation of TranslateParser for interpolation.
|
|
9324
|
-
* @summary Extends TranslateParser to support string formatting with parameters.
|
|
9325
|
-
*/
|
|
9326
|
-
declare class I18nParser extends TranslateParser {
|
|
9327
|
-
/**
|
|
9328
|
-
* @description Interpolates a translation string with parameters.
|
|
9329
|
-
* @summary Replaces placeholders in the translation string with parameter values.
|
|
9330
|
-
*
|
|
9331
|
-
* @param {string} value - The translation string to interpolate.
|
|
9332
|
-
* @param {object | string} [params={}] - The parameters to replace placeholders with.
|
|
9333
|
-
* @returns {string} - The interpolated translation string.
|
|
9334
|
-
*/
|
|
9335
|
-
interpolate(value: string, params?: object | string): string;
|
|
9336
|
-
}
|
|
9337
|
-
/**
|
|
9338
|
-
* @description Provides the internationalization (i18n) configuration for the application.
|
|
9339
|
-
* @summary Configures the translation service with a fallback language, default language, custom parser, and loader.
|
|
9340
|
-
*
|
|
9341
|
-
* @param {RootTranslateServiceConfig} [config={fallbackLang: 'en', lang: 'en'}] - The configuration for the translation service, including fallback and default languages.
|
|
9342
|
-
* @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
|
|
9343
|
-
* @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
|
|
9344
|
-
* @returns {Array} - An array of providers for the translation service and loader.
|
|
9345
|
-
*/
|
|
9346
|
-
declare function provideI18n(config?: RootTranslateServiceConfig, resources?: I18nResourceConfigType, versionedSuffix?: boolean): (i0.EnvironmentProviders | {
|
|
9347
|
-
provide: i0.InjectionToken<I18nToken>;
|
|
9348
|
-
useValue: {
|
|
9349
|
-
resources: I18nResourceConfig[];
|
|
9350
|
-
versionedSuffix: boolean;
|
|
9351
|
-
};
|
|
9352
|
-
} | i0.Provider[])[];
|
|
9353
|
-
|
|
9354
9261
|
declare const DB_ADAPTER_PROVIDER = "DB_ADAPTER_PROVIDER";
|
|
9355
9262
|
/**
|
|
9356
9263
|
* @description Injection token for registering the database adapter provider.
|
|
@@ -9413,7 +9320,7 @@ declare const I18N_CONFIG_TOKEN: InjectionToken<I18nToken>;
|
|
|
9413
9320
|
* { provide: CPTKN, useValue: provideDynamicComponents(MyComponent, AnotherComponent) }
|
|
9414
9321
|
* ]
|
|
9415
9322
|
*/
|
|
9416
|
-
declare function
|
|
9323
|
+
declare function provideDecafDynamicComponents(...components: unknown[]): Constructor<unknown>[];
|
|
9417
9324
|
/**
|
|
9418
9325
|
* @description Retrieves the repository instance for a given model.
|
|
9419
9326
|
* @summary Creates or retrieves a DecafRepository instance for the specified model. This function
|
|
@@ -9460,7 +9367,7 @@ declare function getModelAndRepository(model: Model | string): {
|
|
|
9460
9367
|
* provideDbAdapter(PostgresAdapter, { host: 'localhost', port: 5432 })
|
|
9461
9368
|
* ]
|
|
9462
9369
|
*/
|
|
9463
|
-
declare function
|
|
9370
|
+
declare function provideDecafDbAdapter<DbAdapter extends {
|
|
9464
9371
|
flavour: string;
|
|
9465
9372
|
}>(clazz: Constructor<DbAdapter>, options?: KeyValue, flavour?: string): Provider;
|
|
9466
9373
|
/**
|
|
@@ -9541,5 +9448,109 @@ declare class ForAngularCommonModule {
|
|
|
9541
9448
|
static ɵinj: i0.ɵɵInjectorDeclaration<ForAngularCommonModule>;
|
|
9542
9449
|
}
|
|
9543
9450
|
|
|
9544
|
-
|
|
9545
|
-
|
|
9451
|
+
/**
|
|
9452
|
+
* @description Retrieves the locale context for a given class, object, or string.
|
|
9453
|
+
* @summary Resolves the locale context by extracting the class name or using the provided suffix.
|
|
9454
|
+
*
|
|
9455
|
+
* @param {FunctionLike | object | string} clazz - The class, object, or string to derive the locale context from.
|
|
9456
|
+
* @param {string} [suffix] - An optional suffix to append to the locale context.
|
|
9457
|
+
* @returns {string} - The resolved locale context string.
|
|
9458
|
+
*/
|
|
9459
|
+
declare function getLocaleContext(clazz: FunctionLike | object | string, suffix?: string): string;
|
|
9460
|
+
/**
|
|
9461
|
+
* @description Generates a localized string by combining locale and phrase
|
|
9462
|
+
* @summary This utility function creates a properly formatted locale string by combining
|
|
9463
|
+
* a locale identifier with a phrase. It handles edge cases such as empty phrases,
|
|
9464
|
+
* missing locales, and phrases that already include the locale prefix. This function
|
|
9465
|
+
* is useful for ensuring consistent formatting of localized strings throughout the application.
|
|
9466
|
+
*
|
|
9467
|
+
* @param {string} locale - The locale identifier (e.g., 'en', 'fr')
|
|
9468
|
+
* @param {string | undefined} phrase - The phrase to localize
|
|
9469
|
+
* @return {string} The formatted locale string, or empty string if phrase is undefined
|
|
9470
|
+
*
|
|
9471
|
+
* @function generateLocaleFromString
|
|
9472
|
+
* @memberOf module:for-angular
|
|
9473
|
+
*/
|
|
9474
|
+
declare function getLocaleContextByKey(locale: string, phrase: string | undefined): string;
|
|
9475
|
+
/**
|
|
9476
|
+
* @description Factory function for creating an instance of I18nLoader.
|
|
9477
|
+
* @summary Configures and returns an I18nLoader instance with the specified HTTP client and translation resources.
|
|
9478
|
+
*
|
|
9479
|
+
* @param {HttpClient} http - The HTTP client used to fetch translation resources.
|
|
9480
|
+
* @returns {TranslateLoader} - An instance of I18nLoader configured with the provided HTTP client and resources.
|
|
9481
|
+
*/
|
|
9482
|
+
declare function I18nLoaderFactory(http: HttpClient): TranslateLoader;
|
|
9483
|
+
/**
|
|
9484
|
+
* @description Provides the I18nLoader configuration.
|
|
9485
|
+
* @summary Configures the translation resources and versioned suffix for the I18nLoader.
|
|
9486
|
+
*
|
|
9487
|
+
* @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
|
|
9488
|
+
* @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
|
|
9489
|
+
* @returns {object} - The configuration object for the I18nLoader.
|
|
9490
|
+
*/
|
|
9491
|
+
declare function provideDecafI18nLoader(resources?: I18nResourceConfigType, versionedSuffix?: boolean): {
|
|
9492
|
+
provide: typeof I18N_CONFIG_TOKEN;
|
|
9493
|
+
useValue: {
|
|
9494
|
+
resources: I18nResourceConfig[];
|
|
9495
|
+
versionedSuffix: boolean;
|
|
9496
|
+
};
|
|
9497
|
+
};
|
|
9498
|
+
/**
|
|
9499
|
+
* @description Custom implementation of TranslateLoader for loading translations.
|
|
9500
|
+
* @summary Fetches and merges translation resources, supporting versioned suffixes and recursive merging.
|
|
9501
|
+
*/
|
|
9502
|
+
declare class I18nLoader implements TranslateLoader {
|
|
9503
|
+
private http;
|
|
9504
|
+
private resources;
|
|
9505
|
+
private versionedSuffix;
|
|
9506
|
+
/**
|
|
9507
|
+
* @param {HttpClient} http - The HTTP client used to fetch translation resources.
|
|
9508
|
+
* @param {I18nResourceConfig[]} [resources=[]] - The translation resources to be loaded.
|
|
9509
|
+
* @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
|
|
9510
|
+
*/
|
|
9511
|
+
constructor(http: HttpClient, resources?: I18nResourceConfig[], versionedSuffix?: boolean);
|
|
9512
|
+
/**
|
|
9513
|
+
* @description Appends a versioned suffix to the resource URL if enabled.
|
|
9514
|
+
* @summary Generates a versioned suffix based on the current date.
|
|
9515
|
+
*
|
|
9516
|
+
* @param {string} suffix - The original suffix of the resource URL.
|
|
9517
|
+
* @returns {string} - The modified suffix with a version string appended.
|
|
9518
|
+
*/
|
|
9519
|
+
private getSuffix;
|
|
9520
|
+
/**
|
|
9521
|
+
* @description Fetches and merges translations for the specified language.
|
|
9522
|
+
* @summary Loads translation resources, merges them recursively, and includes library keys.
|
|
9523
|
+
*
|
|
9524
|
+
* @param {string} lang - The language code for the translations to load.
|
|
9525
|
+
* @returns {Observable<TranslationObject>} - An observable that emits the merged translation object.
|
|
9526
|
+
*/
|
|
9527
|
+
getTranslation(lang: string): Observable<TranslationObject>;
|
|
9528
|
+
}
|
|
9529
|
+
/**
|
|
9530
|
+
* @description Custom implementation of TranslateParser for interpolation.
|
|
9531
|
+
* @summary Extends TranslateParser to support string formatting with parameters.
|
|
9532
|
+
*/
|
|
9533
|
+
declare class I18nParser extends TranslateParser {
|
|
9534
|
+
/**
|
|
9535
|
+
* @description Interpolates a translation string with parameters.
|
|
9536
|
+
* @summary Replaces placeholders in the translation string with parameter values.
|
|
9537
|
+
*
|
|
9538
|
+
* @param {string} value - The translation string to interpolate.
|
|
9539
|
+
* @param {object | string} [params={}] - The parameters to replace placeholders with.
|
|
9540
|
+
* @returns {string} - The interpolated translation string.
|
|
9541
|
+
*/
|
|
9542
|
+
interpolate(value: string, params?: object | string): string;
|
|
9543
|
+
}
|
|
9544
|
+
/**
|
|
9545
|
+
* @description Provides the internationalization (i18n) configuration for the application.
|
|
9546
|
+
* @summary Configures the translation service with a fallback language, default language, custom parser, and loader.
|
|
9547
|
+
*
|
|
9548
|
+
* @param {RootTranslateServiceConfig} [config={fallbackLang: 'en', lang: 'en'}] - The configuration for the translation service, including fallback and default languages.
|
|
9549
|
+
* @param {I18nResourceConfigType} [resources=[]] - The translation resources to be used by the loader.
|
|
9550
|
+
* @param {boolean} [versionedSuffix=false] - Whether to append a versioned suffix to resource URLs.
|
|
9551
|
+
* @returns {AngularProvider[]} - An array of providers for the translation service and loader.
|
|
9552
|
+
*/
|
|
9553
|
+
declare function provideDecafI18nConfig(config?: RootTranslateServiceConfig, resources?: I18nResourceConfigType, versionedSuffix?: boolean): AngularProvider[];
|
|
9554
|
+
|
|
9555
|
+
export { ActionRoles, AngularEngineKeys, BaseComponentProps, CPTKN, CardComponent, ComponentEventNames, ComponentRendererComponent, ComponentsTagNames, CrudFieldComponent, CrudFormComponent, CssClasses, DB_ADAPTER_PROVIDER, DB_ADAPTER_PROVIDER_TOKEN, DecafFakerRepository, DefaultFormReactiveOptions, DefaultListEmptyOptions, DefaultModalOptions, Dynamic, DynamicModule, ElementPositions, ElementSizes, EmptyStateComponent, FieldsetComponent, FileUploadComponent, FilterComponent, ForAngularCommonModule, ForAngularComponentsModule, FormConstants, I18N_CONFIG_TOKEN, I18nLoader, I18nLoaderFactory, I18nParser, IconComponent, LOCALE_ROOT_TOKEN, LayoutComponent, LayoutGridGaps, ListComponent, ListComponentsTypes, ListItemComponent, ListItemPositions, LoggerLevels, ModalComponent, ModelRendererComponent, NgxComponentDirective, NgxEventHandler, NgxFormDirective, NgxFormFieldDirective, NgxFormService, NgxMediaService, NgxModelPageDirective, NgxPageDirective, NgxParentComponentDirective, NgxRenderingEngine, NgxSvgDirective, PaginationComponent, RouteDirections, SearchbarComponent, SteppedFormComponent, WindowColorSchemes, cleanSpaces, dataMapper, decafPageTransition, filterString, formatDate, generateRandomValue, getFakerData, getInjectablesRegistry, getLocaleContext, getLocaleContextByKey, getLocaleFromClassName, getLocaleLanguage, getLogger, getModelAndRepository, getNgxInlineModal, getNgxModalComponent, getNgxSelectOptionsModal, getOnWindow, getOnWindowDocument, getWindow, getWindowDocument, getWindowWidth, isDarkMode, isDevelopmentMode, isNotUndefined, isValidDate, itemMapper, parseToValidDate, presentNgxInlineModal, presentNgxLightBoxModal, provideDecafDbAdapter, provideDecafDynamicComponents, provideDecafI18nConfig, provideDecafI18nLoader, provideDecafPageTransition, removeFocusTrap, setOnWindow, stringToBoolean, windowEventEmitter };
|
|
9556
|
+
export type { ActionRole, AngularDynamicOutput, AngularFieldDefinition, AngularProvider, CheckboxOption, ComponentMetadata, CrudFieldOption, DecafRepository, DecafRepositoryAdapter, ElementPosition, ElementSize, FieldUpdateMode, FlexPosition, FormParent, FormParentGroup, FormServiceControl, FormServiceControls, FunctionLike, HTML5InputType, HTMLFormTarget, I18nResourceConfig, I18nResourceConfigType, I18nToken, IBaseCustomEvent, IComponentConfig, IComponentHolder, IComponentProperties, ICrudFormEvent, ICrudFormOptions, IFieldSetItem, IFieldSetValidationEvent, IFileUploadError, IFilterQuery, IFilterQueryItem, IFormComponentProperties, IFormElement, IFormReactiveSubmitEvent, IListComponentRefreshEvent, IListEmptyOptions, IMenuItem, IModelPageCustomEvent, IPaginationCustomEvent, IRenderedModel, ISortObject, IWindowResizeEvent, InputOption, KeyValue, LayoutGridGap, ListItemCustomEvent, ListItemPosition, PossibleInputTypes, RadioOption, RawQuery, SelectOption, StringOrBoolean, WindowColorScheme };
|