intelica-library-components 1.1.3

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 ADDED
@@ -0,0 +1,2076 @@
1
+ import * as i0 from '@angular/core';
2
+ import { PipeTransform, OnChanges, EventEmitter, SimpleChanges, OnDestroy, OnInit, TemplateRef, AfterContentInit, QueryList, ElementRef, ChangeDetectorRef, AfterViewInit } from '@angular/core';
3
+ import { HttpInterceptorFn } from '@angular/common/http';
4
+ import { CanActivateFn } from '@angular/router';
5
+ import { FormGroup, ControlValueAccessor } from '@angular/forms';
6
+ import { Subscription, Subject, BehaviorSubject, Observable } from 'rxjs';
7
+ import { DatePipe, Location } from '@angular/common';
8
+ import * as echarts from 'echarts';
9
+ import { EChartsOption, LabelFormatterCallback, DefaultLabelFormatterCallbackParams, TooltipComponentFormatterCallback, TooltipComponentFormatterCallbackParams } from 'echarts';
10
+ import { Observable as Observable$1 } from 'rxjs/internal/Observable';
11
+ import { SweetAlertOptions, SweetAlertResult } from 'sweetalert2';
12
+ import * as _primeuix_themes_types from '@primeuix/themes/types';
13
+ import * as _primeuix_themes_aura_base from '@primeuix/themes/aura/base';
14
+
15
+ declare class TermPipe implements PipeTransform {
16
+ private readonly globalTermService;
17
+ transform(termName: string, language: string, mode?: number): string;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermPipe, never>;
19
+ static ɵpipe: i0.ɵɵPipeDeclaration<TermPipe, "term", true>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<TermPipe>;
21
+ }
22
+
23
+ declare class FormatAmountPipe implements PipeTransform {
24
+ transform(value: number | string | null | undefined, shortFormat?: boolean, decimalPlaces?: number): string;
25
+ private getShortFormat;
26
+ private formatWithThousandSeparators;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormatAmountPipe, never>;
28
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormatAmountPipe, "amount", true>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<FormatAmountPipe>;
30
+ }
31
+
32
+ declare class TruncatePipe implements PipeTransform {
33
+ transform(value: any, size?: number, original?: boolean): any;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
35
+ static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
36
+ static ɵprov: i0.ɵɵInjectableDeclaration<TruncatePipe>;
37
+ }
38
+
39
+ declare const CookieAttributesGeneral: CookieAttributes;
40
+ interface CookieAttributes {
41
+ path?: string;
42
+ domain?: string;
43
+ expires?: number | Date;
44
+ sameSite?: "strict" | "Strict" | "lax" | "Lax" | "none" | "None";
45
+ secure?: boolean;
46
+ [property: string]: any;
47
+ }
48
+
49
+ declare const Color: {
50
+ mastercard: string;
51
+ visa: string;
52
+ amex: string;
53
+ orange: string;
54
+ orangeDark: string;
55
+ blue: string;
56
+ gray: string;
57
+ gray3: string;
58
+ gray5: string;
59
+ };
60
+ type ColorName = keyof typeof Color;
61
+ declare const getColor: (name: ColorName) => string;
62
+
63
+ declare const DateModeOptions: {
64
+ readonly Day: {
65
+ readonly value: "day";
66
+ readonly format: "d/m/y";
67
+ };
68
+ readonly Month: {
69
+ readonly value: "month";
70
+ readonly format: "m/y";
71
+ };
72
+ readonly Year: {
73
+ readonly value: "year";
74
+ readonly format: "y";
75
+ };
76
+ };
77
+ type DateMode = (typeof DateModeOptions)[keyof typeof DateModeOptions]["value"];
78
+
79
+ declare const ErrorInterceptor: HttpInterceptorFn;
80
+
81
+ declare const RefreshTokenInterceptor: HttpInterceptorFn;
82
+
83
+ declare enum TableSortOrder {
84
+ Asc = 1,
85
+ Desc = -1
86
+ }
87
+
88
+ declare const TermGuard: CanActivateFn;
89
+
90
+ declare const RouteGuard: CanActivateFn;
91
+
92
+ declare class SpinnerComponent {
93
+ private readonly spinerService;
94
+ isLoading: i0.WritableSignal<boolean>;
95
+ LoadingLogo: string;
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "app-spinner", never, {}, {}, never, never, true, never>;
98
+ }
99
+
100
+ interface TermPageResponse {
101
+ termName: string;
102
+ termValue: string;
103
+ }
104
+
105
+ declare class GlobalTermService {
106
+ terms: TermPageResponse[];
107
+ languageCode: string;
108
+ TermsReady: i0.WritableSignal<boolean>;
109
+ PageRoot: string;
110
+ private readonly termService;
111
+ Initialize(pageRoot: string): void;
112
+ SetTerms(): Promise<void>;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalTermService, never>;
114
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlobalTermService>;
115
+ }
116
+
117
+ declare class PaginatorComponent implements OnChanges {
118
+ readonly GlobalTermService: GlobalTermService;
119
+ /**
120
+ * Número total de elementos que se están paginando.
121
+ * @type {number}
122
+ */
123
+ TotalItems: number;
124
+ /**
125
+ * Página actual.
126
+ * @type {number}
127
+ */
128
+ CurrentPage: number;
129
+ /**
130
+ * Número de elementos por página.
131
+ * @type {number}
132
+ * @default 10
133
+ */
134
+ ItemsPerPage: number;
135
+ /**
136
+ * Evento emitido cuando cambia la página.
137
+ * @type {EventEmitter<any>}
138
+ */
139
+ PageChange: EventEmitter<any>;
140
+ /**
141
+ * Número total de páginas calculado internamente.
142
+ * @type {number}
143
+ */
144
+ TotalPages: number;
145
+ ngOnChanges(changes: SimpleChanges): void;
146
+ TotalPageCalculator(): void;
147
+ GoToFirstPage(): void;
148
+ GoToPreviousPage(): void;
149
+ GoToNextPage(): void;
150
+ GoToLastPage(): void;
151
+ EmitPageChange(): void;
152
+ onKeyUp(event: any): void;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "intelica-paginator", never, { "TotalItems": { "alias": "TotalItems"; "required": false; }; "CurrentPage": { "alias": "CurrentPage"; "required": false; }; "ItemsPerPage": { "alias": "ItemsPerPage"; "required": false; }; }, { "PageChange": "PageChange"; }, never, never, true, never>;
155
+ }
156
+
157
+ interface SearchInputModel {
158
+ operatorId: number;
159
+ operatorText?: string;
160
+ fieldId: number;
161
+ fieldText?: string;
162
+ searchText: string;
163
+ }
164
+
165
+ declare class SearchComponent implements OnDestroy, OnInit {
166
+ readonly GlobalTermService: GlobalTermService;
167
+ /**
168
+ * Indica el componente del que proviene.
169
+ * @type {string}
170
+ */
171
+ ComponentId: string;
172
+ ShowTooltip: boolean;
173
+ /**
174
+ * Opciones para campos de búsqueda.
175
+ * @type {{ id: number; value: string }[]}
176
+ */
177
+ SearchFieldOptions: {
178
+ id: number;
179
+ value: string;
180
+ }[];
181
+ /**
182
+ * Indica si realizar la búsqueda al soltar una tecla.
183
+ * @type {boolean}
184
+ */
185
+ SearchOnKeyup: boolean;
186
+ /**
187
+ * @deprecated No debe ser utilizado. Es sólo para uso interno y no para módulos.
188
+ * @type {boolean}
189
+ * @default false
190
+ */
191
+ SimpleSearchInput: boolean;
192
+ /**
193
+ * Placeholder para el componente de búsqueda.
194
+ * @type {string}
195
+ */
196
+ Placeholder: string;
197
+ /**
198
+ * Evento emitido al realizar una búsqueda.
199
+ * @type {EventEmitter<{ operatorId: number; operatorText: string, fieldId: number, fieldText: string, searchText: string }>}
200
+ */
201
+ OnSearchEvent: EventEmitter<SearchInputModel>;
202
+ private readonly FormBuilder;
203
+ /**
204
+ * Indica si el dropdown está abierto
205
+ * @type {boolean}
206
+ * @default false
207
+ */
208
+ IsDropdownOpen: boolean;
209
+ /**
210
+ * Formulario para manejar los parámetros de búsqueda
211
+ * @type {FormGroup}
212
+ */
213
+ SearchForm: FormGroup;
214
+ /**
215
+ * Suscripción a los valores del formulario.
216
+ * @type {Subscription}
217
+ */
218
+ FormValuesSubscription: Subscription;
219
+ /**
220
+ * Opciones para operadores de búsqueda.
221
+ * @type {{ id: number; value: string }[]}
222
+ */
223
+ SearchOperatorOptions: {
224
+ id: number;
225
+ value: string;
226
+ }[];
227
+ /**
228
+ * Función llamada cuando cambia el valor del campo de búsqueda.
229
+ * @type {() => void}
230
+ */
231
+ OnChange: (value: SearchInputModel) => void;
232
+ /**
233
+ * Función llamada cuando el componente de búsqueda es tocado.
234
+ * @type {() => void}
235
+ */
236
+ OnTouched: () => void;
237
+ constructor();
238
+ ngOnInit(): void;
239
+ ngOnDestroy(): void;
240
+ InitializeForm(): void;
241
+ DropDownChange(isOpen: boolean): void;
242
+ OnSearchEnter(): void;
243
+ OnSearchKeyup(): void;
244
+ OnSearch(): void;
245
+ ClearSearchText(emitEvent?: boolean): void;
246
+ get HasSearchText(): boolean;
247
+ GetSelectedOperatorValue(): string;
248
+ GetSelectedFieldValue(): string;
249
+ GetSelectedValues(): string;
250
+ SetSearchTextValue(text: string): void;
251
+ SetOperatorValue(value: number): void;
252
+ SetFieldValue(value: number): void;
253
+ GetSearchOperatorOptions(): {
254
+ id: number;
255
+ value: string;
256
+ }[];
257
+ GetSearchFieldOptions(): {
258
+ id: number;
259
+ value: string;
260
+ }[];
261
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
262
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "intelica-search", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ShowTooltip": { "alias": "ShowTooltip"; "required": false; }; "SearchFieldOptions": { "alias": "SearchFieldOptions"; "required": false; }; "SearchOnKeyup": { "alias": "SearchOnKeyup"; "required": false; }; "SimpleSearchInput": { "alias": "SimpleSearchInput"; "required": false; }; "Placeholder": { "alias": "Placeholder"; "required": false; }; }, { "OnSearchEvent": "OnSearch"; }, never, never, true, never>;
263
+ }
264
+
265
+ declare class ColumnComponent<T = any> {
266
+ field: string;
267
+ header: string;
268
+ sortable: boolean;
269
+ width?: string;
270
+ className?: string;
271
+ headerTooltip: string;
272
+ headerTooltipPosition: "top" | "bottom" | "left" | "right";
273
+ tooltip: string;
274
+ tooltipPosition: "top" | "bottom" | "left" | "right";
275
+ showIndex: boolean;
276
+ showHeader: boolean;
277
+ minWidth?: string;
278
+ isChecboxColumn: boolean;
279
+ formatType: "string" | "date" | "date2" | "date3" | "time" | "decimal2" | "decimal4" | "tarifa";
280
+ templateRef?: TemplateRef<any>;
281
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent<any>, never>;
282
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnComponent<any>, "column", never, { "field": { "alias": "field"; "required": false; }; "header": { "alias": "header"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "className": { "alias": "className"; "required": false; }; "headerTooltip": { "alias": "headerTooltip"; "required": false; }; "headerTooltipPosition": { "alias": "headerTooltipPosition"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "isChecboxColumn": { "alias": "isChecboxColumn"; "required": false; }; "formatType": { "alias": "formatType"; "required": false; }; }, {}, ["templateRef"], never, true, never>;
283
+ }
284
+ declare class ColumnGroupComponent<T = any> {
285
+ field: string;
286
+ header: string;
287
+ sortable: boolean;
288
+ width?: string;
289
+ minWidth?: string;
290
+ className?: string;
291
+ headerTooltip: string;
292
+ headerTooltipPosition: "top" | "bottom" | "left" | "right";
293
+ colspan: number;
294
+ rowspan: number;
295
+ level: number;
296
+ formatType: "string" | "date" | "date2" | "date3" | "time" | "decimal2" | "decimal4" | "tarifa";
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnGroupComponent<any>, never>;
298
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnGroupComponent<any>, "columnGroup", never, { "field": { "alias": "field"; "required": false; }; "header": { "alias": "header"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "className": { "alias": "className"; "required": false; }; "headerTooltip": { "alias": "headerTooltip"; "required": false; }; "headerTooltipPosition": { "alias": "headerTooltipPosition"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; "rowspan": { "alias": "rowspan"; "required": false; }; "level": { "alias": "level"; "required": false; }; "formatType": { "alias": "formatType"; "required": false; }; }, {}, never, never, true, never>;
299
+ }
300
+ declare class RowResumenComponent<T = any> {
301
+ field: string;
302
+ className?: string;
303
+ colspan: number;
304
+ rowspan: number;
305
+ templateRef?: TemplateRef<any>;
306
+ formatType: "string" | "date" | "date2" | "date3" | "time" | "decimal2" | "decimal4" | "tarifa";
307
+ static ɵfac: i0.ɵɵFactoryDeclaration<RowResumenComponent<any>, never>;
308
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RowResumenComponent<any>, "rowResumenComponent", never, { "field": { "alias": "field"; "required": false; }; "className": { "alias": "className"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; "rowspan": { "alias": "rowspan"; "required": false; }; "formatType": { "alias": "formatType"; "required": false; }; }, {}, ["templateRef"], never, true, never>;
309
+ }
310
+
311
+ interface SearchFieldModel {
312
+ id: number;
313
+ name: string;
314
+ field: string;
315
+ }
316
+
317
+ interface SortFieldModel {
318
+ sortOrder: number;
319
+ sortField: string;
320
+ }
321
+
322
+ declare class TableComponent<T> implements OnChanges, AfterContentInit {
323
+ private readonly SharedService;
324
+ readonly GlobalTermService: GlobalTermService;
325
+ ComponentId: string;
326
+ ListData: T[];
327
+ ShowRowPerPage: boolean;
328
+ ShowSearch: boolean;
329
+ ListSearchOptions: SearchFieldModel[];
330
+ ShowPagination: boolean;
331
+ RowsPerPage: number;
332
+ ShowCheckbox: boolean;
333
+ ShowIndex: boolean;
334
+ ShowSearchTooltip: boolean;
335
+ ListDataSelected: T[];
336
+ SelectedIdentifier: keyof T | null;
337
+ ClassName: string;
338
+ DefaultSortField: string;
339
+ DefaultSortOrder: number;
340
+ scrollHeight: string;
341
+ scrollable: boolean;
342
+ AllowedPageSizes: number[];
343
+ tableStyle: {
344
+ [klass: string]: any;
345
+ };
346
+ private _isTableDisabled;
347
+ private _pendingUncheck;
348
+ HeaderState: Record<string, {
349
+ checked: boolean;
350
+ indeterminate: boolean;
351
+ }>;
352
+ set IsTableDisabled(val: boolean);
353
+ get IsTableDisabled(): boolean;
354
+ recomputeHeaderState(field: string): void;
355
+ onBodyCheckboxChange(field: string): void;
356
+ private refreshAllHeaderStates;
357
+ EmitSelectedItem: EventEmitter<T[]>;
358
+ EmitListDataFilter: EventEmitter<T[]>;
359
+ EmitSearchEvent: EventEmitter<SearchInputModel>;
360
+ EmitSortEvent: EventEmitter<SortFieldModel[]>;
361
+ PaginatorTable?: PaginatorComponent;
362
+ SearchTable?: SearchComponent;
363
+ Columns: QueryList<ColumnComponent>;
364
+ ColumnGroups: QueryList<ColumnGroupComponent>;
365
+ RowResumenGroups: QueryList<RowResumenComponent>;
366
+ AdditionalTemplate?: TemplateRef<any>;
367
+ AdditionalExtendedTemplate?: TemplateRef<any>;
368
+ AdditionalCentralTemplate?: TemplateRef<any>;
369
+ ColumnList: ColumnComponent[];
370
+ ColumnGroupList: ColumnGroupComponent[];
371
+ RowResumenList: RowResumenComponent[];
372
+ ListDataFilter: T[];
373
+ ListDataTable: T[];
374
+ ListDataSelectedFilter: T[];
375
+ ListDataSelectedTemp: T[];
376
+ ListSearchOptionsSimple: {
377
+ id: number;
378
+ value: string;
379
+ }[];
380
+ SearchInput: SearchInputModel;
381
+ TotalRecords: number;
382
+ CurrentPage: number;
383
+ SortOrder: number;
384
+ SortField: keyof T | null;
385
+ MaxLevel: number;
386
+ Levels: number[];
387
+ ngOnChanges(): void;
388
+ ngAfterContentInit(): void;
389
+ LoadSearchOptions(): void;
390
+ OnSort(field: string): void;
391
+ OnPageChange(pageIndex: number): void;
392
+ ExecuteSearch(event: any): void;
393
+ SortPages(): void;
394
+ UpdatePages(): void;
395
+ ValidateSelect(): void;
396
+ SelectAll(event: any): void;
397
+ OnRowSelect(event: any): void;
398
+ OnRowUnselect(event: any): void;
399
+ ResetTable(): void;
400
+ EmitSearchValues(): void;
401
+ OnHeaderCheckboxChange(checked: boolean, field: string): void;
402
+ private getHeaderScope;
403
+ FilterData(field: string): void;
404
+ IsInderteminate(column: string): void;
405
+ OnRowsPerPageChange(value: number): void;
406
+ ResetTableSelected(): void;
407
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
408
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "intelica-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ShowRowPerPage": { "alias": "ShowRowPerPage"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ListSearchOptions": { "alias": "ListSearchOptions"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ShowSearchTooltip": { "alias": "ShowSearchTooltip"; "required": false; }; "ListDataSelected": { "alias": "ListDataSelected"; "required": false; }; "SelectedIdentifier": { "alias": "SelectedIdentifier"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "DefaultSortOrder": { "alias": "DefaultSortOrder"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "AllowedPageSizes": { "alias": "AllowedPageSizes"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "IsTableDisabled": { "alias": "IsTableDisabled"; "required": false; }; }, { "EmitSelectedItem": "EmitSelectedItem"; "EmitListDataFilter": "EmitListDataFilter"; "EmitSearchEvent": "EmitSearchEvent"; "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalExtendedTemplate", "AdditionalCentralTemplate", "Columns", "ColumnGroups", "RowResumenGroups"], never, true, never>;
409
+ }
410
+
411
+ declare class TreeColumnComponent<T = any> {
412
+ field: string;
413
+ header: string;
414
+ sortable: boolean;
415
+ width?: string;
416
+ className?: string;
417
+ headerTooltip: string;
418
+ headerTooltipPosition: "top" | "bottom" | "left" | "right";
419
+ tooltip: string;
420
+ tooltipPosition: "top" | "bottom" | "left" | "right";
421
+ showIndex: boolean;
422
+ showHeader: boolean;
423
+ minWidth?: string;
424
+ isChecboxColumn: boolean;
425
+ isExpansionColumn: boolean;
426
+ templateRef?: TemplateRef<any>;
427
+ formatType: "string" | "date" | "date2" | "date3" | "time" | "decimal2" | "decimal4" | "tarifa";
428
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeColumnComponent<any>, never>;
429
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TreeColumnComponent<any>, "column", never, { "field": { "alias": "field"; "required": false; }; "header": { "alias": "header"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "className": { "alias": "className"; "required": false; }; "headerTooltip": { "alias": "headerTooltip"; "required": false; }; "headerTooltipPosition": { "alias": "headerTooltipPosition"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "isChecboxColumn": { "alias": "isChecboxColumn"; "required": false; }; "isExpansionColumn": { "alias": "isExpansionColumn"; "required": false; }; "formatType": { "alias": "formatType"; "required": false; }; }, {}, ["templateRef"], never, true, never>;
430
+ }
431
+ declare class TreeColumnGroupComponent<T = any> {
432
+ field: string;
433
+ header: string;
434
+ sortable: boolean;
435
+ width?: string;
436
+ minWidth?: string;
437
+ colspan: number;
438
+ rowspan: number;
439
+ level: number;
440
+ formatType: "string" | "date" | "date2" | "date3" | "time" | "decimal2" | "decimal4" | "tarifa";
441
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeColumnGroupComponent<any>, never>;
442
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TreeColumnGroupComponent<any>, "columnGroup", never, { "field": { "alias": "field"; "required": false; }; "header": { "alias": "header"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; "rowspan": { "alias": "rowspan"; "required": false; }; "level": { "alias": "level"; "required": false; }; "formatType": { "alias": "formatType"; "required": false; }; }, {}, never, never, true, never>;
443
+ }
444
+ declare class RowResumenTreeComponent<T = any> {
445
+ field: string;
446
+ className?: string;
447
+ colspan: number;
448
+ rowspan: number;
449
+ templateRef?: TemplateRef<any>;
450
+ formatType: "string" | "date" | "date2" | "date3" | "time" | "decimal2" | "decimal4" | "tarifa";
451
+ static ɵfac: i0.ɵɵFactoryDeclaration<RowResumenTreeComponent<any>, never>;
452
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RowResumenTreeComponent<any>, "rowResumenComponent", never, { "field": { "alias": "field"; "required": false; }; "className": { "alias": "className"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; "rowspan": { "alias": "rowspan"; "required": false; }; "formatType": { "alias": "formatType"; "required": false; }; }, {}, ["templateRef"], never, true, never>;
453
+ }
454
+
455
+ declare class TreeTableComponent<T> implements OnChanges, AfterContentInit {
456
+ private readonly SharedService;
457
+ readonly GlobalTermService: GlobalTermService;
458
+ ComponentId: string;
459
+ ListData: T[];
460
+ ClassName: string;
461
+ groupRowsBy: string;
462
+ dataKey: string;
463
+ DefaultSortField: string;
464
+ DefaultSortOrder: number;
465
+ scrollHeight: string;
466
+ scrollable: boolean;
467
+ tableStyle: {
468
+ [klass: string]: any;
469
+ };
470
+ ShowSearch: boolean;
471
+ ShowPagination: boolean;
472
+ RowsPerPage: number;
473
+ AllowedPageSizes: number[];
474
+ ShowCheckbox: boolean;
475
+ ShowIndex: boolean;
476
+ ShowSearchTooltip: boolean;
477
+ ListDataSelected: T[];
478
+ SelectedIdentifier: keyof T | null;
479
+ ListSearchOptions: any[];
480
+ ShowRowPerPage: boolean;
481
+ EmitSelectedItem: EventEmitter<T[]>;
482
+ EmitListDataFilter: EventEmitter<T[]>;
483
+ EmitSearchEvent: EventEmitter<SearchInputModel>;
484
+ EmitSortEvent: EventEmitter<SortFieldModel[]>;
485
+ Columns: QueryList<TreeColumnComponent>;
486
+ ColumnGroups: QueryList<TreeColumnGroupComponent>;
487
+ RowResumenGroups: QueryList<RowResumenTreeComponent>;
488
+ AdditionalTemplate?: TemplateRef<any>;
489
+ AdditionalCentralTemplate?: TemplateRef<any>;
490
+ AdditionalExtendedTemplate?: TemplateRef<any>;
491
+ PaginatorTable?: PaginatorComponent;
492
+ SearchTable?: SearchComponent;
493
+ ListDataFilter: T[];
494
+ ListDataTable: T[];
495
+ ListDataSelectedTemp: T[];
496
+ ColumnList: TreeColumnComponent[];
497
+ ColumnGroupList: TreeColumnGroupComponent[];
498
+ RowResumenList: RowResumenTreeComponent[];
499
+ MaxLevel: number;
500
+ Levels: number[];
501
+ SortOrder: number;
502
+ SortField: keyof T | null;
503
+ TotalRecords: number;
504
+ CurrentPage: number;
505
+ SearchInput: SearchInputModel;
506
+ ListSearchOptionsSimple: {
507
+ id: number;
508
+ value: string;
509
+ }[];
510
+ ngOnChanges(): void;
511
+ ngAfterContentInit(): void;
512
+ OnSort(field: string): void;
513
+ OnPageChange(pageIndex: number): void;
514
+ SortPages(): void;
515
+ ExecuteSearch(event: any): void;
516
+ OnHeaderCheckboxChange(event: any, field: string): void;
517
+ IsInderteminate(column: string): void;
518
+ getLetter(index: number): string;
519
+ UpdatePages(): void;
520
+ ValidateSelect(): void;
521
+ SelectAll(event: any): void;
522
+ OnRowSelect(event: any): void;
523
+ OnRowUnselect(event: any): void;
524
+ ResetTable(): void;
525
+ EmitSearchValues(): void;
526
+ OnRowsPerPageChange(value: number): void;
527
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent<any>, never>;
528
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "intelica-tree-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "groupRowsBy": { "alias": "groupRowsBy"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "DefaultSortOrder": { "alias": "DefaultSortOrder"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "AllowedPageSizes": { "alias": "AllowedPageSizes"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ShowSearchTooltip": { "alias": "ShowSearchTooltip"; "required": false; }; "ListDataSelected": { "alias": "ListDataSelected"; "required": false; }; "SelectedIdentifier": { "alias": "SelectedIdentifier"; "required": false; }; "ListSearchOptions": { "alias": "ListSearchOptions"; "required": false; }; "ShowRowPerPage": { "alias": "ShowRowPerPage"; "required": false; }; }, { "EmitSelectedItem": "EmitSelectedItem"; "EmitListDataFilter": "EmitListDataFilter"; "EmitSearchEvent": "EmitSearchEvent"; "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalCentralTemplate", "AdditionalExtendedTemplate", "Columns", "ColumnGroups", "RowResumenGroups"], never, true, never>;
529
+ }
530
+
531
+ declare class MatrixColumnComponent<T = any> {
532
+ field: string;
533
+ header: string;
534
+ width?: string;
535
+ className?: string;
536
+ headerTooltip: string;
537
+ headerTooltipPosition: "top" | "bottom" | "left" | "right";
538
+ tooltip: string;
539
+ tooltipPosition: "top" | "bottom" | "left" | "right";
540
+ showIndex: boolean;
541
+ showHeader: boolean;
542
+ minWidth?: string;
543
+ templateRef?: TemplateRef<any>;
544
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixColumnComponent<any>, never>;
545
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatrixColumnComponent<any>, "column", never, { "field": { "alias": "field"; "required": false; }; "header": { "alias": "header"; "required": false; }; "width": { "alias": "width"; "required": false; }; "className": { "alias": "className"; "required": false; }; "headerTooltip": { "alias": "headerTooltip"; "required": false; }; "headerTooltipPosition": { "alias": "headerTooltipPosition"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; }, {}, ["templateRef"], never, true, never>;
546
+ }
547
+ declare class MatrixColumnGroupComponent<T = any> {
548
+ field: string;
549
+ header: string;
550
+ sortable: boolean;
551
+ width?: string;
552
+ className?: string;
553
+ headerTooltip: string;
554
+ headerTooltipPosition: "top" | "bottom" | "left" | "right";
555
+ minWidth?: string;
556
+ colspan: number;
557
+ rowspan: number;
558
+ level: number;
559
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixColumnGroupComponent<any>, never>;
560
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatrixColumnGroupComponent<any>, "columnGroup", never, { "field": { "alias": "field"; "required": false; }; "header": { "alias": "header"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "className": { "alias": "className"; "required": false; }; "headerTooltip": { "alias": "headerTooltip"; "required": false; }; "headerTooltipPosition": { "alias": "headerTooltipPosition"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "colspan": { "alias": "colspan"; "required": false; }; "rowspan": { "alias": "rowspan"; "required": false; }; "level": { "alias": "level"; "required": false; }; }, {}, never, never, true, never>;
561
+ }
562
+
563
+ declare class MatrixTableComponent<T> implements OnChanges, AfterContentInit {
564
+ private readonly SharedService;
565
+ readonly GlobalTermService: GlobalTermService;
566
+ ComponentId: string;
567
+ ListData: T[];
568
+ ShowIndex: boolean;
569
+ ClassName: string;
570
+ dataKey: string;
571
+ scrollHeight: string;
572
+ scrollable: boolean;
573
+ tableStyle: {
574
+ [klass: string]: any;
575
+ };
576
+ Columns: QueryList<MatrixColumnComponent>;
577
+ ColumnGroups: QueryList<MatrixColumnGroupComponent>;
578
+ ColumnList: MatrixColumnComponent[];
579
+ ColumnGroupList: MatrixColumnGroupComponent[];
580
+ MaxLevel: number;
581
+ Levels: number[];
582
+ ngOnChanges(): void;
583
+ ngAfterContentInit(): void;
584
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatrixTableComponent<any>, never>;
585
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatrixTableComponent<any>, "intelica-matrix-table", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ListData": { "alias": "ListData"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; }, {}, ["Columns", "ColumnGroups"], never, true, never>;
586
+ }
587
+
588
+ declare class ActionDirective {
589
+ /**
590
+ * Nombre de la acción.
591
+ * @type {string}
592
+ */
593
+ name: string;
594
+ /**
595
+ * Indica si los botones asociados a la acción deben ocultarse.
596
+ * @type {boolean}
597
+ * @default false
598
+ */
599
+ hideButtons: boolean;
600
+ /**
601
+ * Texto que se mostrará en el botón de aplicar.
602
+ * @type {string}
603
+ * @default 'Apply'
604
+ */
605
+ textApply: string;
606
+ /**
607
+ * Texto que se mostrará en el botón de cancelar.
608
+ * @type {string}
609
+ * @default 'Clear'
610
+ */
611
+ textCancel: string;
612
+ /**
613
+ * Indica si detener la propagación de eventos al hacer clic en la acción.
614
+ * @type {boolean}
615
+ * @default false
616
+ */
617
+ stopPropagation: boolean;
618
+ /**
619
+ * Evento emitido cuando se aplica la acción.
620
+ * @type {EventEmitter<any>}
621
+ */
622
+ onApply: EventEmitter<any>;
623
+ /**
624
+ * Evento emitido cuando se cancela la acción.
625
+ * @type {EventEmitter<any>}
626
+ */
627
+ onCancel: EventEmitter<any>;
628
+ /**
629
+ * Evento emitido cuando se hace clic en la acción.
630
+ * @type {EventEmitter<any>}
631
+ */
632
+ onClick: EventEmitter<any>;
633
+ /**
634
+ * Referencia al contenido proporcionado por la plantilla.
635
+ * @type {any}
636
+ */
637
+ template: any;
638
+ /**
639
+ * Indica si la acción está activa o no.
640
+ * @type {boolean}
641
+ * @default false
642
+ */
643
+ active: boolean;
644
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionDirective, never>;
645
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ActionDirective, "action", never, { "name": { "alias": "name"; "required": false; }; "hideButtons": { "alias": "hideButtons"; "required": false; }; "textApply": { "alias": "textApply"; "required": false; }; "textCancel": { "alias": "textCancel"; "required": false; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; }; }, { "onApply": "onApply"; "onCancel": "onCancel"; "onClick": "onClick"; }, ["template"], never, true, never>;
646
+ }
647
+
648
+ declare class ActionsMenuComponent implements OnInit {
649
+ private readonly termPipe;
650
+ readonly GlobalTermService: GlobalTermService;
651
+ Popover: ElementRef;
652
+ MenuButton: ElementRef;
653
+ PopoverContainer: ElementRef;
654
+ IsPopoverOpen: boolean;
655
+ IsClickInsideDatepicker: boolean;
656
+ /**
657
+ * Indica si el menú de acciones está visible o no.
658
+ * @type {boolean}
659
+ * @default false
660
+ */
661
+ ShowActionsMenu: boolean;
662
+ /**
663
+ * Indica si la sección de selección de acciones está visible o no.
664
+ * @type {boolean}
665
+ * @default false
666
+ */
667
+ ShowSelectActions: boolean;
668
+ constructor(termPipe: TermPipe);
669
+ ngOnInit(): void;
670
+ openPopover(): void;
671
+ closePopover(): void;
672
+ /** Método para alternar el estado del popover */
673
+ togglePopover(event?: Event): void;
674
+ onMouseDown(event: Event): void;
675
+ onMouseDownOutsideBody(event: Event): void;
676
+ onMouseUp(event: Event): void;
677
+ closeAll(event?: Event): void;
678
+ /**
679
+ * Directiva que representa una colección de elementos hijos del tipo `ActionDirective`.
680
+ * Se utiliza para acceder a las instancias de la directiva `ActionDirective` dentro de un componente.
681
+ * @type {QueryList<ActionDirective>}
682
+ */
683
+ actions: QueryList<ActionDirective>;
684
+ /**
685
+ * Muestra la plantilla asociada a una acción si se proporciona un manejador de eventos `onClick`.
686
+ * - Emite el evento `onClick` de la acción si está definido.
687
+ * - Detiene la propagación del evento si la propiedad `stopPropagation` de la acción está establecida.
688
+ * - Activa la acción.
689
+ * - Oculta el menú de selección de acciones si se cumplen ciertas condiciones.
690
+ *
691
+ * @param {ActionDirective} action - La acción para la cual mostrar la plantilla.
692
+ */
693
+ showTemplate(action: ActionDirective): void;
694
+ /**
695
+ * Restablece el estado de una acción y muestra el menú de selección de acciones.
696
+ * - Desactiva la acción proporcionada.
697
+ * - Muestra el menú de acciones.
698
+ * - Muestra el menú de selección de acciones.
699
+ *
700
+ * @param {ActionDirective} action - La acción que se va a restablecer.
701
+ */
702
+ returnSelectActions(action: ActionDirective): void;
703
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionsMenuComponent, never>;
704
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionsMenuComponent, "intelica-actions-menu", never, {}, {}, ["actions"], never, true, never>;
705
+ }
706
+
707
+ interface FilterModel$1 {
708
+ name: string;
709
+ title: string | null;
710
+ value: string | string[] | null;
711
+ text: string | null;
712
+ valueName?: string | string[] | null;
713
+ enabled?: boolean;
714
+ isTooltipForm?: boolean;
715
+ dateFormat?: string;
716
+ }
717
+
718
+ declare class FilterChipsComponent {
719
+ filters: FilterModel$1[];
720
+ remove: EventEmitter<FilterModel$1>;
721
+ openPopUp: EventEmitter<FilterModel$1>;
722
+ readonly GlobalTermService: GlobalTermService;
723
+ readonly datePipe: DatePipe;
724
+ onRemove(filter: FilterModel$1): void;
725
+ onTapChip(filter: FilterModel$1): void;
726
+ isBooleanTrue(value: any): boolean;
727
+ getDateFormat(mode: DateMode): string;
728
+ formatDateValue(value: any, mode: string): string;
729
+ isDateOrDateRange(value: any): boolean;
730
+ sortList(list: any[] | string | null | undefined): string[];
731
+ getSafeString(value: string | string[] | null | undefined): string | null;
732
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterChipsComponent, never>;
733
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterChipsComponent, "filter-chips", never, { "filters": { "alias": "filters"; "required": false; }; }, { "remove": "remove"; "openPopUp": "openPopUp"; }, never, never, true, never>;
734
+ }
735
+
736
+ interface FilterModel {
737
+ name: string;
738
+ title: string | null;
739
+ value: string | string[] | null;
740
+ text: string | null;
741
+ valueName?: string | string[] | null;
742
+ enabled?: boolean;
743
+ isTooltipForm?: boolean;
744
+ dateFormat?: string;
745
+ }
746
+
747
+ declare enum FilterTypeEnum {
748
+ Select = 0,
749
+ Text = 1,
750
+ Checkbox = 2,
751
+ Date = 3,
752
+ SelectDetail = 4,
753
+ Template = 5,
754
+ TextArea = 6,
755
+ TextRange = 7
756
+ }
757
+
758
+ interface FilterChangedModel {
759
+ current: FilterDirective;
760
+ all: QueryList<FilterDirective>;
761
+ }
762
+
763
+ declare class FilterDirective implements ControlValueAccessor {
764
+ name: string;
765
+ label: string;
766
+ visible: boolean;
767
+ enabled: boolean;
768
+ parent: string;
769
+ placeholder: string;
770
+ title: string;
771
+ filterClass: string;
772
+ letterIndex: boolean;
773
+ defaultValue: any;
774
+ showClean: boolean;
775
+ showInAppliedFilter: boolean;
776
+ showClass: boolean;
777
+ selectClass: any;
778
+ confirmDateFormat: boolean;
779
+ hasFilterActionsButton: boolean;
780
+ visibilityRules: {
781
+ child: string;
782
+ allowedValues: any[];
783
+ }[];
784
+ change: EventEmitter<FilterChangedModel>;
785
+ private innerValue;
786
+ children: FilterDirective[];
787
+ $changes: Subject<any>;
788
+ type: FilterTypeEnum;
789
+ index: number;
790
+ get value(): any;
791
+ set value(v: any);
792
+ constructor(filterType: FilterTypeEnum);
793
+ writeValue(value: any): void;
794
+ registerOnChange(fn: any): void;
795
+ registerOnTouched(fn: any): void;
796
+ setDisabledState?(isDisabled: boolean): void;
797
+ onBlur(): void;
798
+ private onTouchedCallback;
799
+ private onChangeCallback;
800
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterDirective, never>;
801
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilterDirective, "filter", never, { "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "filterClass": { "alias": "filterClass"; "required": false; }; "letterIndex": { "alias": "letterIndex"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "showClean": { "alias": "showClean"; "required": false; }; "showInAppliedFilter": { "alias": "showInAppliedFilter"; "required": false; }; "showClass": { "alias": "showClass"; "required": false; }; "selectClass": { "alias": "selectClass"; "required": false; }; "confirmDateFormat": { "alias": "confirmDateFormat"; "required": false; }; "hasFilterActionsButton": { "alias": "hasFilterActionsButton"; "required": false; }; "visibilityRules": { "alias": "visibilityRules"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
802
+ static ɵprov: i0.ɵɵInjectableDeclaration<FilterDirective>;
803
+ }
804
+
805
+ declare class FiltersComponent implements OnInit, OnChanges, OnDestroy {
806
+ private cd;
807
+ readonly GlobalTermService: GlobalTermService;
808
+ showButtons: boolean;
809
+ customClass: string;
810
+ columns: number;
811
+ EmitApply: EventEmitter<any>;
812
+ EmitCancel: EventEmitter<any>;
813
+ subscriptions: Subscription[];
814
+ terms: any;
815
+ showMenuOptions: boolean;
816
+ styleHeighScreen: boolean;
817
+ _filtersApplied: FilterModel[];
818
+ radioClass: string;
819
+ comboClass: string;
820
+ ddlClass: string;
821
+ ddtClass: string;
822
+ dPClass: string;
823
+ mSClass: string;
824
+ selectDescription: string;
825
+ /**
826
+ * Colección de elementos filtrados mediante la directiva FilterDirective.
827
+ * Utilice @ContentChildren para obtener referencias a elementos dentro del contenido proyectado.
828
+ * @type {QueryList<FilterDirective>}
829
+ */
830
+ filterDirectives: QueryList<FilterDirective>;
831
+ filterActionsButtonTemplate: TemplateRef<any>;
832
+ /**
833
+ * Colección de instancias de DropDownListComponent.
834
+ * Utilice @ViewChildren para obtener referencias a componentes hijos dentro de la vista actual.
835
+ * @type {QueryList<DropDownListComponent>}
836
+ */
837
+ letters: string;
838
+ filters: FilterDirective[];
839
+ filterTypeEnum: typeof FilterTypeEnum;
840
+ indexArray: number[];
841
+ columnsLengthArray: any;
842
+ language: string;
843
+ filterThreshold: number;
844
+ hasNoActiveClass: boolean;
845
+ constructor(cd: ChangeDetectorRef);
846
+ ngOnInit(): void;
847
+ ngOnChanges(changes: SimpleChanges): void;
848
+ ngOnDestroy(): void;
849
+ ngAfterViewInit(): void;
850
+ getOptionCount(item: any): number;
851
+ onChange($event: any, filter: FilterDirective): void;
852
+ onChangeCheck($event: any, filter: FilterDirective): void;
853
+ onChangeMultiple($event: any, filter: FilterDirective): void;
854
+ isUnselected(item: FilterDirective): boolean;
855
+ private toggleChildrenVisibility;
856
+ onKeyUp($event: any, filter: FilterDirective): void;
857
+ cleanValue(filter: FilterDirective): void;
858
+ /**
859
+ * Construye y actualiza la lista de filtros aplicados con la información proporcionada por la directiva de filtro.
860
+ * @param {FilterDirective} filter - La directiva de filtro que proporciona la información.
861
+ * @returns {void}
862
+ */
863
+ builderFiltersApplied(filter: FilterDirective): void;
864
+ /**
865
+ * Obtiene el índice de un filtro en el contexto de todos los filtros visibles, proporcionando una numeración o letras.
866
+ * @param {FilterDirective} filter - La directiva de filtro para la cual se obtendrá el índice.
867
+ * @param {FilterDirective} [parentFilter] - La directiva de filtro padre, si existe, en el caso de filtros anidados.
868
+ * @returns {string} - El índice del filtro en formato de numeración o letras.
869
+ */
870
+ getIndex(filter: FilterDirective, parentFilter?: FilterDirective): string;
871
+ /**
872
+ * Maneja el evento de hacer clic en el botón "Aplicar" para aplicar los filtros seleccionados.
873
+ * Limpia la lista de filtros aplicados y construye la lista nuevamente con los valores actuales de los filtros.
874
+ * Luego, emite el evento `EmitApply` con la lista de filtros aplicados.
875
+ * @returns {void}
876
+ */
877
+ clickApply(): void;
878
+ private isValidDate;
879
+ validateFilter(filter: FilterDirective): boolean;
880
+ validStringValue(value: any, defaultValue: any): boolean;
881
+ clickCancel(): void;
882
+ /**
883
+ * Evalúa si el valor actual del filtro es diferente al valor predeterminado, considerando el tipo de filtro.
884
+ * @param {FilterDirective} filter - La directiva de filtro a evaluar.
885
+ * @returns {boolean} - `true` si el valor actual es diferente al valor predeterminado, `false` de lo contrario.
886
+ */
887
+ evaluatecleanvalue(filter: FilterDirective): boolean;
888
+ /**
889
+ * Evalúa si el valor actual del filtro de texto es diferente al valor predeterminado y cumple con ciertas condiciones.
890
+ * @param {FilterDirective} filter - La directiva de filtro de texto a evaluar.
891
+ * @returns {boolean} - `true` si el valor actual cumple con las condiciones para ser diferente al valor predeterminado, `false` de lo contrario.
892
+ */
893
+ evaluatecleanvaluetext(filter: FilterDirective): boolean;
894
+ private arraysAreEqual;
895
+ hasValue(item: FilterDirective): boolean;
896
+ private equalsDefault;
897
+ getDateView(mode: DateMode): "date" | "month" | "year";
898
+ getDateFormat(mode: DateMode): string;
899
+ getDateFormatPlaceholder(mode: DateMode): string;
900
+ setColumnSize(): string;
901
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
902
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "intelica-filters", never, { "showButtons": { "alias": "showButtons"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; }, { "EmitApply": "EmitApply"; "EmitCancel": "EmitCancel"; }, ["filterActionsButtonTemplate", "filterDirectives"], never, true, never>;
903
+ }
904
+
905
+ declare class ModalDialogComponent {
906
+ /**
907
+ * Título del cuadro de diálogo.
908
+ * @type {string}
909
+ */
910
+ Title: string;
911
+ /**
912
+ * Tamaño del cuadro de diálogo.
913
+ * @type {string}
914
+ */
915
+ Size: string;
916
+ /**
917
+ * Controlar el arrastre del cuadro de diálogo.
918
+ * @type {boolean}
919
+ */
920
+ Draggable: boolean;
921
+ /**
922
+ * Controlar el cierre del cuadro de diálogo.
923
+ * @type {boolean}
924
+ */
925
+ DisableMaskClose: boolean;
926
+ /**
927
+ * Evento emitido al cerrar el cuadro de diálogo.
928
+ * @type {EventEmitter<boolean>}
929
+ */
930
+ EmmitCloseModal: EventEmitter<boolean>;
931
+ /**
932
+ * Captura la plantilla del contenido.
933
+ * @type {TemplateRef<any>}
934
+ */
935
+ modalContentTemplate: TemplateRef<any>;
936
+ /**
937
+ * Visibilidad del cuadro de diálogo.
938
+ * @type {string}
939
+ */
940
+ Visible: boolean;
941
+ showDialog(): void;
942
+ closeDialog(): void;
943
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalDialogComponent, never>;
944
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalDialogComponent, "intelica-modal-dialog", never, { "Title": { "alias": "Title"; "required": false; }; "Size": { "alias": "Size"; "required": false; }; "Draggable": { "alias": "Draggable"; "required": false; }; "DisableMaskClose": { "alias": "DisableMaskClose"; "required": false; }; }, { "EmmitCloseModal": "EmmitCloseModal"; }, ["modalContentTemplate"], ["[titleHeaderMenu]"], true, never>;
945
+ }
946
+
947
+ declare class ItemSplitDirective {
948
+ /**
949
+ * Nombre de la acción.
950
+ * @type {string}
951
+ */
952
+ name: string;
953
+ /**
954
+ * Indica si los botones asociados a la acción deben ocultarse.
955
+ * @type {boolean}
956
+ * @default false
957
+ */
958
+ hideButtons: boolean;
959
+ /**
960
+ * Indica si detener la propagación de eventos al hacer clic en la acción.
961
+ * @type {boolean}
962
+ * @default false
963
+ */
964
+ stopPropagation: boolean;
965
+ /**
966
+ * Evento emitido cuando se hace clic en la acción.
967
+ * @type {EventEmitter<any>}
968
+ */
969
+ onClick: EventEmitter<any>;
970
+ /**
971
+ * Referencia al contenido proporcionado por la plantilla.
972
+ * @type {any}
973
+ */
974
+ template: any;
975
+ /**
976
+ * Indica si la acción está activa o no.
977
+ * @type {boolean}
978
+ * @default false
979
+ */
980
+ active: boolean;
981
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemSplitDirective, never>;
982
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItemSplitDirective, "itemsplit", never, { "name": { "alias": "name"; "required": false; }; "hideButtons": { "alias": "hideButtons"; "required": false; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; }; }, { "onClick": "onClick"; }, ["template"], never, true, never>;
983
+ }
984
+
985
+ declare class ButtonSplitComponent {
986
+ /**
987
+ * Directiva que representa una colección de elementos hijos del tipo `ItemSplitDirective`.
988
+ * Se utiliza para acceder a las instancias de la directiva `ItemSplitDirective` dentro de un componente.
989
+ * @type {QueryList<ItemSplitDirective>}
990
+ */
991
+ itemsSplit: QueryList<ItemSplitDirective>;
992
+ /**
993
+ * Muestra la plantilla asociada a una acción si se proporciona un manejador de eventos `onClick`.
994
+ * - Emite el evento `onClick` de la acción si está definido.
995
+ * - Detiene la propagación del evento si la propiedad `stopPropagation` de la acción está establecida.
996
+ * - Activa la acción.
997
+ * - Oculta el menú de selección de acciones si se cumplen ciertas condiciones.
998
+ *
999
+ * @param {ItemSplitDirective} item - La acción para la cual mostrar la plantilla.
1000
+ */
1001
+ showTemplate(item: ItemSplitDirective): void;
1002
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonSplitComponent, never>;
1003
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonSplitComponent, "intelica-button-split", never, {}, {}, ["itemsSplit"], never, true, never>;
1004
+ }
1005
+
1006
+ interface PropertiesModel {
1007
+ code: string;
1008
+ description: string;
1009
+ pageId: number;
1010
+ value: string;
1011
+ }
1012
+
1013
+ declare class RecordPerPageComponent implements OnInit, OnChanges {
1014
+ /**
1015
+ * Lista de propiedades del modelo `PropertiesModel`.
1016
+ * @type {PropertiesModel[]}
1017
+ * @default []
1018
+ */
1019
+ Properties: PropertiesModel[];
1020
+ /**
1021
+ * Evento emitido al realizar un cambio de pagina, envia el pageSize a los componentes.
1022
+ * @type {EventEmitter<any>}
1023
+ */
1024
+ ReturnPage: EventEmitter<any>;
1025
+ /**
1026
+ * Términos utilizados en el componente.
1027
+ * @type {any}
1028
+ */
1029
+ Terms: any;
1030
+ /**
1031
+ * Lista de registros.
1032
+ * @type {number[]}
1033
+ * @default []
1034
+ */
1035
+ Records: number[];
1036
+ /**
1037
+ * Tamaño de página predeterminado.
1038
+ * @type {number}
1039
+ * @default 20
1040
+ * @private
1041
+ */
1042
+ PageSize: number;
1043
+ constructor();
1044
+ ngOnChanges(changes: any): void;
1045
+ ngOnDestroy(): void;
1046
+ ngOnInit(): void;
1047
+ ChangePageSize(): void;
1048
+ /**
1049
+ * Rellena la lista de registros por página basándose en las propiedades del modelo.
1050
+ * - Utiliza el término de idioma global para la configuración.
1051
+ * - Filtra las propiedades para obtener la propiedad 'RP' (Registros por Página).
1052
+ * - Si la propiedad no existe, la función sale.
1053
+ * - Divide el valor de la propiedad 'RP' en una lista de números.
1054
+ * - Establece el tamaño de página predeterminado como el primer elemento de la lista.
1055
+ */
1056
+ FillRecordperPage(): any;
1057
+ static ɵfac: i0.ɵɵFactoryDeclaration<RecordPerPageComponent, never>;
1058
+ static ɵcmp: i0.ɵɵComponentDeclaration<RecordPerPageComponent, "intelica-record-per-page", never, { "Properties": { "alias": "Properties"; "required": false; }; }, { "ReturnPage": "ReturnPage"; }, never, never, true, never>;
1059
+ }
1060
+
1061
+ interface CascadeFilterModel {
1062
+ id: string;
1063
+ index: number;
1064
+ order: string;
1065
+ }
1066
+
1067
+ declare class OrderConstants {
1068
+ static ORDER_BY_DESC: string;
1069
+ static ORDER_BY_ASC: string;
1070
+ static ORDER_BY_DESC_VALUE: string;
1071
+ static ORDER_BY_ASC_VALUE: string;
1072
+ }
1073
+
1074
+ declare class SortingComponent implements OnInit, OnChanges {
1075
+ /**
1076
+ * Suscripción a un observable.
1077
+ * @type {Subscription}
1078
+ */
1079
+ subscription: Subscription;
1080
+ /**
1081
+ * Términos utilizados en el componente.
1082
+ * @type {any}
1083
+ */
1084
+ terms: any;
1085
+ /**
1086
+ * Lista de modelos de filtro en cascada.
1087
+ * @type {CascadeFilterModel[]}
1088
+ * @default []
1089
+ */
1090
+ LCascadefilter: CascadeFilterModel[];
1091
+ /**
1092
+ * Número máximo de ordenamiento.
1093
+ * @type {number}
1094
+ * @default 4
1095
+ */
1096
+ NumMaxSorting: number;
1097
+ /**
1098
+ * Lista de objetos de ordenamiento.
1099
+ * @type {any}
1100
+ * @default []
1101
+ */
1102
+ Sorters: any;
1103
+ /**
1104
+ * Objeto que indica el ordenamiento actual.
1105
+ * @type {any}
1106
+ */
1107
+ OrderBy: any;
1108
+ /**
1109
+ * Objeto que indica el ordenamiento predeterminado.
1110
+ * @type {any}
1111
+ * @default {}
1112
+ */
1113
+ OrderByDefault: any;
1114
+ /**
1115
+ * Indica si se debe realizar un solo renderizado.
1116
+ * @type {boolean}
1117
+ * @default false
1118
+ */
1119
+ OneRender: boolean;
1120
+ /**
1121
+ * Evento emitido al realizar un retorno de datos.
1122
+ * @type {EventEmitter<any>}
1123
+ */
1124
+ ReturnSorting: EventEmitter<any>;
1125
+ /**
1126
+ * Evento emitido al alertar sobre una ordenación.
1127
+ * @type {EventEmitter<any>}
1128
+ */
1129
+ AlertOrder: EventEmitter<any>;
1130
+ /**
1131
+ * Objeto que contiene constantes de ordenación.
1132
+ * @type {OrderConstants}
1133
+ */
1134
+ Order: typeof OrderConstants;
1135
+ constructor();
1136
+ ngOnDestroy(): void;
1137
+ ngOnInit(): void;
1138
+ ngOnChanges(changes: any): void;
1139
+ /**
1140
+ * Obtiene información sobre la ordenación y la asigna a la lista de modelos de filtro en cascada.
1141
+ * - Si no hay información de ordenación (`orderBy`), la función sale.
1142
+ * - Crea una lista de modelos de filtro en cascada con una longitud determinada.
1143
+ * - Filtra las propiedades de ordenación que coinciden con los campos existentes.
1144
+ * - Asigna las propiedades de ordenación a los modelos de filtro en cascada.
1145
+ */
1146
+ GetInfoSorting(): void;
1147
+ /**
1148
+ * Función que genera una lista de modelos de filtro en cascada con una cantidad determinada.
1149
+ *
1150
+ * @param {number} cant - Cantidad de modelos de filtro en cascada a generar.
1151
+ * @returns {Array} - Lista de modelos de filtro en cascada.
1152
+ */
1153
+ PushCascade(cant: number): Array<any>;
1154
+ /**
1155
+ * Verifica y procesa la ordenación en cascada.
1156
+ * - Si algún modelo de filtro en cascada tiene un ID diferente de '0', se realiza la ordenación.
1157
+ * - De lo contrario, se emite una alerta indicando que no hay columna seleccionada para ordenar.
1158
+ */
1159
+ CheckCascadeOrder(): void;
1160
+ /**
1161
+ * Procesa la ordenación en cascada y emite el resultado.
1162
+ */
1163
+ CascadeOrder(): void;
1164
+ /**
1165
+ * Restaura la ordenación en cascada a la configuración predeterminada y obtiene la información de ordenación.
1166
+ */
1167
+ ClearCascadeOrder(): void;
1168
+ /**
1169
+ * Verifica si un modelo de filtro en cascada está deshabilitado basándose en su ID.
1170
+ *
1171
+ * @param {string} id - ID del modelo de filtro en cascada.
1172
+ * @param {number} index - Índice del modelo de filtro en cascada.
1173
+ * @returns {boolean} - Indica si el modelo de filtro en cascada está deshabilitado.
1174
+ */
1175
+ CheckCascadeDisabled(id: string, index: number): boolean;
1176
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortingComponent, never>;
1177
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortingComponent, "intelica-sorting", never, { "Sorters": { "alias": "Sorters"; "required": false; }; "OrderBy": { "alias": "OrderBy"; "required": false; }; "OrderByDefault": { "alias": "OrderByDefault"; "required": false; }; "OneRender": { "alias": "OneRender"; "required": false; }; }, { "ReturnSorting": "ReturnSorting"; "AlertOrder": "AlertOrder"; }, never, never, true, never>;
1178
+ }
1179
+
1180
+ interface PopoverInformationModel {
1181
+ title: string;
1182
+ description: string;
1183
+ }
1184
+
1185
+ declare class PopoverComponent {
1186
+ /**
1187
+ * Información de asignación utilizada para la inicialización del popover.
1188
+ * @type {PopoverModel}
1189
+ * @default {}
1190
+ */
1191
+ information: PopoverInformationModel[];
1192
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
1193
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "intelica-popover", never, { "information": { "alias": "information"; "required": false; }; }, {}, never, never, true, never>;
1194
+ }
1195
+
1196
+ declare class EchartComponent implements AfterViewInit {
1197
+ private el;
1198
+ private platformId;
1199
+ config: EChartsOption | undefined;
1200
+ id: string;
1201
+ renderer: "canvas" | "svg";
1202
+ containerStyle: {
1203
+ [klass: string]: any;
1204
+ };
1205
+ event: EventEmitter<any>;
1206
+ chart: echarts.ECharts;
1207
+ constructor(el: ElementRef, platformId: Object);
1208
+ ngAfterViewInit(): void;
1209
+ refreshChart(): void;
1210
+ resize(): void;
1211
+ private initChart;
1212
+ static ɵfac: i0.ɵɵFactoryDeclaration<EchartComponent, never>;
1213
+ static ɵcmp: i0.ɵɵComponentDeclaration<EchartComponent, "intelica-echart", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "renderer": { "alias": "renderer"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; }, { "event": "event"; }, never, never, true, never>;
1214
+ }
1215
+
1216
+ declare class TemplateMenuComponent {
1217
+ readonly GlobalTermService: GlobalTermService;
1218
+ Popover: ElementRef;
1219
+ MenuButton: ElementRef;
1220
+ PopoverContainer: ElementRef;
1221
+ openPanelEvent: EventEmitter<any>;
1222
+ closePanelEvent: EventEmitter<any>;
1223
+ IsPopoverOpen: boolean;
1224
+ IsClickInsideDatepicker: boolean;
1225
+ constructor();
1226
+ openPanel(): void;
1227
+ closePanel(): void;
1228
+ togglePanel(event?: Event): void;
1229
+ onMouseDown(event: Event): void;
1230
+ onMouseDownOutsideBody(event: Event): void;
1231
+ onMouseUp(event: Event): void;
1232
+ closeAll(event?: Event): void;
1233
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateMenuComponent, never>;
1234
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateMenuComponent, "intelica-template-menu", never, {}, { "openPanelEvent": "onOpen"; "closePanelEvent": "onClose"; }, never, ["*"], true, never>;
1235
+ }
1236
+
1237
+ declare class MultiSelectComponent implements ControlValueAccessor, AfterViewInit {
1238
+ readonly GlobalTermService: GlobalTermService;
1239
+ /**
1240
+ * @description Id
1241
+ * @default ""
1242
+ * @type {string}
1243
+ */
1244
+ id: string;
1245
+ /**
1246
+ * @description Opciones.
1247
+ * @example [{value: string, text: string}]
1248
+ * @type {any[]}
1249
+ */
1250
+ options: any[];
1251
+ /**
1252
+ * @description Label name.
1253
+ * @default "text"
1254
+ * @type {{value: string, label: string}[]}
1255
+ */
1256
+ optionLabel: string | undefined;
1257
+ /**
1258
+ * @description Value name.
1259
+ * @default "value"
1260
+ * @type {{value: string, label: string}[]}
1261
+ */
1262
+ optionValue: string | undefined;
1263
+ /**
1264
+ * @description Placeholder
1265
+ * @default "Select an item"
1266
+ * @type {string}
1267
+ */
1268
+ placeholder: string;
1269
+ /**
1270
+ * @description Show filter textbox
1271
+ * @default false
1272
+ * @type {boolean}
1273
+ */
1274
+ showFilter: boolean;
1275
+ /**
1276
+ * @description Show All Checkbox
1277
+ * @default false
1278
+ * @type {boolean}
1279
+ */
1280
+ showAll: boolean;
1281
+ /**
1282
+ * @description All | Todo
1283
+ * @default "All"
1284
+ * @type {string}
1285
+ */
1286
+ allText: string;
1287
+ /**
1288
+ * @description Number of selected labels to show
1289
+ * @default 3
1290
+ * @type {number}
1291
+ */
1292
+ maxSelectedLabels: number;
1293
+ /**
1294
+ * @description Append To
1295
+ * @default ""
1296
+ * @type {string}
1297
+ */
1298
+ appendTo: string;
1299
+ /**
1300
+ * @description Panel Style Class
1301
+ * @default ""
1302
+ * @type {string}
1303
+ */
1304
+ panelStyleClass: string;
1305
+ /**
1306
+ * @description Enable virtual scroll
1307
+ * @default ""
1308
+ * @type {boolean}
1309
+ */
1310
+ virtualScroll: boolean;
1311
+ /**
1312
+ * @description Enable virtual scroll
1313
+ * @default ""
1314
+ * @type {boolean}
1315
+ */
1316
+ disabled: boolean;
1317
+ /**
1318
+ * @description Label for the selected items
1319
+ * @default ""
1320
+ * @type {string}
1321
+ */
1322
+ selectedItemsLabel: string;
1323
+ /**
1324
+ * @description Style por color text
1325
+ * @default ""
1326
+ * @type {string}
1327
+ */
1328
+ textColorClass: string;
1329
+ /**
1330
+ * @description Enable group
1331
+ * @default ""
1332
+ * @type {boolean}
1333
+ */
1334
+ group: boolean;
1335
+ /**
1336
+ * @description Reset filter on hide
1337
+ * @default ""
1338
+ * @type {boolean}
1339
+ */
1340
+ resetFilterOnHide: boolean;
1341
+ /**
1342
+ * @description Change event
1343
+ * @emits {string[]}
1344
+ * @type {EventEmitter<string[]>}
1345
+ */
1346
+ onChangeEvent: EventEmitter<string[]>;
1347
+ onPanelShowEvent: EventEmitter<any>;
1348
+ onPanelHideEvent: EventEmitter<any>;
1349
+ checked: boolean;
1350
+ selectedOptions: string[];
1351
+ onChangeFn: any;
1352
+ onTouchedFn: any;
1353
+ /**
1354
+ * @description Define custom class
1355
+ * @default ""
1356
+ * @type {boolean}
1357
+ */
1358
+ customClass: string;
1359
+ ngAfterViewInit(): void;
1360
+ writeValue(value: string[]): void;
1361
+ registerOnChange(fn: any): void;
1362
+ registerOnTouched(fn: any): void;
1363
+ setDisabledState?(isDisabled: boolean): void;
1364
+ toggleAllSelection(event: any): void;
1365
+ onChangeSelect(event: any): void;
1366
+ emitChangeEvent(): void;
1367
+ onPanelShow(event: any): void;
1368
+ onPanelHide(event: any): void;
1369
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
1370
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "intelica-multi-select", never, { "id": { "alias": "id"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "allText": { "alias": "allText"; "required": false; }; "maxSelectedLabels": { "alias": "maxSelectedLabels"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectedItemsLabel": { "alias": "selectedItemsLabel"; "required": false; }; "textColorClass": { "alias": "textColorClass"; "required": false; }; "group": { "alias": "group"; "required": false; }; "resetFilterOnHide": { "alias": "resetFilterOnHide"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "onChangeEvent": "onChange"; "onPanelShowEvent": "onPanelShow"; "onPanelHideEvent": "onPanelHide"; }, never, never, true, never>;
1371
+ }
1372
+
1373
+ declare class SkeletonComponent {
1374
+ private readonly skeletonService;
1375
+ isLoading: i0.WritableSignal<boolean>;
1376
+ localLoading: boolean;
1377
+ show: boolean;
1378
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
1379
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "intelica-skeleton", never, { "localLoading": { "alias": "localLoading"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, {}, never, ["*"], true, never>;
1380
+ }
1381
+
1382
+ declare class SkeletonTableComponent implements OnInit {
1383
+ /**
1384
+ * @description number of rows to display
1385
+ * @default 6
1386
+ * @type number
1387
+ * @example <intelica-skeleton-table [rows]="6"></intelica-skeleton-table>
1388
+ */
1389
+ rows: 2 | 3 | 4 | 6 | 12;
1390
+ /**
1391
+ * @description number of columns to display
1392
+ * @default 6
1393
+ * @type number
1394
+ * @example <intelica-skeleton-table [columns]="6"></intelica-skeleton-table>
1395
+ */
1396
+ columns: 2 | 3 | 4 | 6 | 12;
1397
+ showLeftSkeleton: boolean;
1398
+ showRightSkeleton: boolean;
1399
+ columnSizes: string[];
1400
+ ngOnInit(): void;
1401
+ get justifyClass(): string | null;
1402
+ getRows(): any[];
1403
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonTableComponent, never>;
1404
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonTableComponent, "intelica-skeleton-table", never, { "rows": { "alias": "rows"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "showLeftSkeleton": { "alias": "showLeftSkeleton"; "required": false; }; "showRightSkeleton": { "alias": "showRightSkeleton"; "required": false; }; }, {}, never, never, true, never>;
1405
+ }
1406
+
1407
+ declare class DataDirective {
1408
+ size: string;
1409
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataDirective, never>;
1410
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DataDirective, "data", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
1411
+ }
1412
+
1413
+ declare class SkeletonChartComponent implements AfterContentInit {
1414
+ /**
1415
+ * @description type of skeleton chart
1416
+ * @default 'bar'
1417
+ * @type string
1418
+ * @example <intelica-skeleton-chart [type]="'bar'"></intelica-skeleton-chart>
1419
+ */
1420
+ type: "horizontal-bar" | "bar" | "pie" | "line" | "donut";
1421
+ /**
1422
+ * @description number of series to display
1423
+ * @default 6
1424
+ * @type number
1425
+ * @example <intelica-skeleton-chart [series]="3"></intelica-skeleton-chart>
1426
+ */
1427
+ series: number;
1428
+ /**
1429
+ * @description number of data items to display in each bar
1430
+ * @default 1
1431
+ * @type number
1432
+ * @example <intelica-skeleton-chart [data]="3"></intelica-skeleton-chart>
1433
+ */
1434
+ data: number;
1435
+ /**
1436
+ * @description Flag to indicate whether the label should be displayed or hidden
1437
+ * @default false
1438
+ * @type boolean
1439
+ */
1440
+ label: boolean;
1441
+ randomPercent: string[][];
1442
+ dataElements: QueryList<DataDirective>;
1443
+ ngOnInit(): void;
1444
+ ngAfterContentInit(): void;
1445
+ updateRandomPercentages(): void;
1446
+ setFixedPercentages(): void;
1447
+ setRandomPercent(min: number, max: number): string;
1448
+ getArray(length: number): number[];
1449
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonChartComponent, never>;
1450
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonChartComponent, "intelica-skeleton-chart", never, { "type": { "alias": "type"; "required": false; }; "series": { "alias": "series"; "required": false; }; "data": { "alias": "data"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, ["dataElements"], never, true, never>;
1451
+ }
1452
+
1453
+ interface QueryParametersModel {
1454
+ FilterBy?: string;
1455
+ FilterValue?: string;
1456
+ FilterOperator?: string;
1457
+ OrderBy?: string;
1458
+ SortDirection?: string;
1459
+ PageNumber?: number;
1460
+ PageSize?: number;
1461
+ }
1462
+
1463
+ declare class TableFetchComponent<T> implements OnChanges, AfterContentInit {
1464
+ private cdr;
1465
+ readonly GlobalTermService: GlobalTermService;
1466
+ ComponentId: string;
1467
+ ShowRowPerPage: boolean;
1468
+ ShowSearch: boolean;
1469
+ ListSearchOptions: SearchFieldModel[];
1470
+ ShowPagination: boolean;
1471
+ RowsPerPage: number;
1472
+ ShowCheckbox: boolean;
1473
+ ShowIndex: boolean;
1474
+ ShowSearchTooltip: boolean;
1475
+ ClassName: string;
1476
+ DefaultSortField: string;
1477
+ scrollHeight: string;
1478
+ scrollable: boolean;
1479
+ AllowedPageSizes: number[];
1480
+ tableStyle: {
1481
+ [klass: string]: any;
1482
+ };
1483
+ Levels: number[];
1484
+ FilteredList: T[];
1485
+ TotalItems: number;
1486
+ TotalRecords: number;
1487
+ IsPaginatorInputSearch: boolean;
1488
+ EmitQueryParametersChange: EventEmitter<QueryParametersModel>;
1489
+ PaginatorTable?: PaginatorComponent;
1490
+ SearchTable?: SearchComponent;
1491
+ Columns: QueryList<ColumnComponent>;
1492
+ ColumnGroups: QueryList<ColumnGroupComponent>;
1493
+ RowResumenGroups: QueryList<RowResumenComponent>;
1494
+ AdditionalTemplate?: TemplateRef<any>;
1495
+ AdditionalCentralTemplate?: TemplateRef<any>;
1496
+ AdditionalExtendedTemplate?: TemplateRef<any>;
1497
+ EmitSortEvent: EventEmitter<SortFieldModel[]>;
1498
+ ColumnList: ColumnComponent[];
1499
+ ColumnGroupList: ColumnGroupComponent[];
1500
+ RowResumenList: RowResumenComponent[];
1501
+ SearchInput: SearchInputModel;
1502
+ CurrentPage: number;
1503
+ SortOrder: number;
1504
+ SortField: keyof T | null;
1505
+ ListSearchOptionsSimple: {
1506
+ id: number;
1507
+ value: string;
1508
+ }[];
1509
+ MaxLevel: number;
1510
+ ListDataTable: T[];
1511
+ constructor(cdr: ChangeDetectorRef);
1512
+ ngOnChanges(changes: SimpleChanges): void;
1513
+ ngAfterContentInit(): void;
1514
+ private captureColumns;
1515
+ private captureGroups;
1516
+ private captureResumen;
1517
+ LoadSearchOptions(): void;
1518
+ OnSort(field: string): void;
1519
+ UpdatePages(): void;
1520
+ OnPageChange(pageIndex: number): void;
1521
+ ResetTable(): void;
1522
+ ExecuteSearch(event: any): void;
1523
+ OnRowsPerPageChange(value: number): void;
1524
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFetchComponent<any>, never>;
1525
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableFetchComponent<any>, "intelica-table-fetch", never, { "ComponentId": { "alias": "ComponentId"; "required": false; }; "ShowRowPerPage": { "alias": "ShowRowPerPage"; "required": false; }; "ShowSearch": { "alias": "ShowSearch"; "required": false; }; "ListSearchOptions": { "alias": "ListSearchOptions"; "required": false; }; "ShowPagination": { "alias": "ShowPagination"; "required": false; }; "RowsPerPage": { "alias": "RowsPerPage"; "required": false; }; "ShowCheckbox": { "alias": "ShowCheckbox"; "required": false; }; "ShowIndex": { "alias": "ShowIndex"; "required": false; }; "ShowSearchTooltip": { "alias": "ShowSearchTooltip"; "required": false; }; "ClassName": { "alias": "ClassName"; "required": false; }; "DefaultSortField": { "alias": "DefaultSortField"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "AllowedPageSizes": { "alias": "AllowedPageSizes"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "FilteredList": { "alias": "FilteredList"; "required": false; }; "TotalItems": { "alias": "TotalItems"; "required": false; }; "CurrentPage": { "alias": "CurrentPage"; "required": false; }; "SortOrder": { "alias": "SortOrder"; "required": false; }; "SortField": { "alias": "SortField"; "required": false; }; }, { "EmitQueryParametersChange": "EmitQueryParametersChange"; "EmitSortEvent": "EmitSortEvent"; }, ["AdditionalTemplate", "AdditionalCentralTemplate", "AdditionalExtendedTemplate", "Columns", "ColumnGroups", "RowResumenGroups"], never, true, never>;
1526
+ }
1527
+
1528
+ declare class CheckboxFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1529
+ constructor();
1530
+ modeCheckBox: string;
1531
+ ngOnChanges(changes: SimpleChanges): void;
1532
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFilterDirective, never>;
1533
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxFilterDirective, "checkbox-filter", never, { "modeCheckBox": { "alias": "modeCheckBox"; "required": false; }; }, {}, never, never, true, never>;
1534
+ }
1535
+
1536
+ declare class DateFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1537
+ constructor();
1538
+ format: string;
1539
+ start: string;
1540
+ depth: string;
1541
+ strictMode: boolean;
1542
+ min: Date;
1543
+ max: Date;
1544
+ showTodayButton: boolean;
1545
+ allowEdit: boolean;
1546
+ range: boolean;
1547
+ isReadOnly: boolean;
1548
+ dateMode: DateMode;
1549
+ open: EventEmitter<any>;
1550
+ navigated: EventEmitter<any>;
1551
+ ngOnChanges(changes: SimpleChanges): void;
1552
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterDirective, never>;
1553
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DateFilterDirective, "date-filter", never, { "format": { "alias": "format"; "required": false; }; "start": { "alias": "start"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "strictMode": { "alias": "strictMode"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "showTodayButton": { "alias": "showTodayButton"; "required": false; }; "allowEdit": { "alias": "allowEdit"; "required": false; }; "range": { "alias": "range"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "dateMode": { "alias": "dateMode"; "required": false; }; }, { "open": "open"; "navigated": "navigated"; }, never, never, true, never>;
1554
+ }
1555
+
1556
+ declare class SelectDetailFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1557
+ constructor();
1558
+ id: string;
1559
+ fieldText: string;
1560
+ fieldValue: string;
1561
+ fieldDetail: string;
1562
+ data: any[];
1563
+ ngOnChanges(changes: SimpleChanges): void;
1564
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectDetailFilterDirective, never>;
1565
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDetailFilterDirective, "select-detail-filter", never, { "id": { "alias": "id"; "required": false; }; "fieldText": { "alias": "fieldText"; "required": false; }; "fieldValue": { "alias": "fieldValue"; "required": false; }; "fieldDetail": { "alias": "fieldDetail"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
1566
+ }
1567
+
1568
+ declare class SelectFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1569
+ constructor();
1570
+ options: any[];
1571
+ optionLabel: string;
1572
+ optionValue: string;
1573
+ showFilter: boolean;
1574
+ showAll: boolean;
1575
+ multiple: boolean;
1576
+ popupWidth: string;
1577
+ appendTo: string;
1578
+ panelStyleClass: string;
1579
+ allText: string;
1580
+ maxSelectedLabels: number;
1581
+ virtualScroll: boolean;
1582
+ selectedItemsLabel: string;
1583
+ group: boolean;
1584
+ resetFilterOnHide: boolean;
1585
+ ngOnChanges(changes: any): void;
1586
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterDirective, never>;
1587
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectFilterDirective, "select-filter", never, { "options": { "alias": "options"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "popupWidth": { "alias": "popupWidth"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "panelStyleClass": { "alias": "panelStyleClass"; "required": false; }; "allText": { "alias": "allText"; "required": false; }; "maxSelectedLabels": { "alias": "maxSelectedLabels"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "selectedItemsLabel": { "alias": "selectedItemsLabel"; "required": false; }; "group": { "alias": "group"; "required": false; }; "resetFilterOnHide": { "alias": "resetFilterOnHide"; "required": false; }; }, {}, never, never, true, never>;
1588
+ }
1589
+
1590
+ declare class TemplateDirective extends FilterDirective implements ControlValueAccessor {
1591
+ constructor();
1592
+ content: any;
1593
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateDirective, never>;
1594
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateDirective, "template-filter", never, {}, {}, ["content"], never, true, never>;
1595
+ }
1596
+
1597
+ declare class TextAreaFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1598
+ constructor();
1599
+ ngOnChanges(changes: SimpleChanges): void;
1600
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaFilterDirective, never>;
1601
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextAreaFilterDirective, "view-text-area-filter", never, {}, {}, never, never, true, never>;
1602
+ }
1603
+
1604
+ declare class TextFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1605
+ constructor();
1606
+ ngOnChanges(changes: SimpleChanges): void;
1607
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextFilterDirective, never>;
1608
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextFilterDirective, "text-filter", never, {}, {}, never, never, true, never>;
1609
+ }
1610
+
1611
+ declare class TextRangeFilterDirective extends FilterDirective implements OnChanges, ControlValueAccessor {
1612
+ constructor();
1613
+ minRange?: string;
1614
+ maxRange?: string;
1615
+ minLabel: string;
1616
+ maxLabel: string;
1617
+ ngOnChanges(changes: SimpleChanges): void;
1618
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextRangeFilterDirective, never>;
1619
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextRangeFilterDirective, "text-range-filter", never, { "minRange": { "alias": "minRange"; "required": false; }; "maxRange": { "alias": "maxRange"; "required": false; }; "minLabel": { "alias": "minLabel"; "required": false; }; "maxLabel": { "alias": "maxLabel"; "required": false; }; }, {}, never, never, true, never>;
1620
+ }
1621
+
1622
+ declare class IntelicaCellCheckboxDirective {
1623
+ private table;
1624
+ field: string;
1625
+ row: any;
1626
+ constructor(table: TableComponent<any>);
1627
+ onNgModelChange(val: boolean): void;
1628
+ onPrimeChange(evt: any): void;
1629
+ static ɵfac: i0.ɵɵFactoryDeclaration<IntelicaCellCheckboxDirective, [{ optional: true; host: true; }]>;
1630
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IntelicaCellCheckboxDirective, "[intelicaCellCheckbox]", never, { "field": { "alias": "intelicaCellCheckbox"; "required": false; }; "row": { "alias": "intelicaCellCheckboxRow"; "required": false; }; }, {}, never, never, true, never>;
1631
+ }
1632
+
1633
+ declare class HtmlToExcelService {
1634
+ ExportTOExcel(idTabla: string, html: string, filename: string, tabname: string, extension: string): void;
1635
+ private readonly Logo;
1636
+ private readonly ColumnAligment;
1637
+ ExportToExcel(excelName: string, reportTitle: string, filterTitle: string, rowsSerializate: string, columns: IExcelColumnName[], filters: IFilter[], subtitles?: string[], showTotalRow?: boolean, headerGroups?: IExcelHeaderGroup[]): Promise<void>;
1638
+ private SetTitle;
1639
+ private SetReportPage;
1640
+ private SetFilterPage;
1641
+ private AdjustColumnWidth;
1642
+ ExportToExcelRawData({ excelName, reportTitle, filterTitle, rowsSerializate, columns, filters, orderColumn }: ExportExcelCommand): Promise<void>;
1643
+ ExportToCSVRaw(excelName: string, rowsSerializate: string): Promise<void>;
1644
+ private GetExcelColumnLetter;
1645
+ private GetNumberFormat;
1646
+ static ɵfac: i0.ɵɵFactoryDeclaration<HtmlToExcelService, never>;
1647
+ static ɵprov: i0.ɵɵInjectableDeclaration<HtmlToExcelService>;
1648
+ }
1649
+ interface ExportExcelCommand {
1650
+ excelName: string;
1651
+ reportTitle: string;
1652
+ filterTitle: string;
1653
+ rowsSerializate: string;
1654
+ columns: IExcelColumnName[];
1655
+ filters: IFilter[];
1656
+ orderColumn?: boolean;
1657
+ }
1658
+ interface ICell {
1659
+ index: number;
1660
+ cells: string[];
1661
+ }
1662
+ interface IExcelColumnName {
1663
+ columnName: string;
1664
+ displayColumnName: string;
1665
+ alignHorizontal?: string;
1666
+ width?: number;
1667
+ totalRowValue?: string;
1668
+ formatNumber?: "integer" | "decimal" | "percent_2" | "percent_4";
1669
+ }
1670
+ interface IFilter {
1671
+ key: string;
1672
+ value: string;
1673
+ }
1674
+ interface IExcelHeaderGroup {
1675
+ startColumn: number;
1676
+ endColumn: number;
1677
+ name: string;
1678
+ }
1679
+
1680
+ declare class SharedService {
1681
+ private location;
1682
+ configObservable: Subject<boolean>;
1683
+ isLoading: BehaviorSubject<boolean>;
1684
+ isLoadingHeader: BehaviorSubject<boolean>;
1685
+ isExpandedContent: BehaviorSubject<boolean>;
1686
+ isLoadingPageInfo: BehaviorSubject<boolean>;
1687
+ notifyProfileType: Subject<string>;
1688
+ charges: number;
1689
+ showHelper: BehaviorSubject<boolean>;
1690
+ headerPathName: BehaviorSubject<string[]>;
1691
+ pageId: number | undefined;
1692
+ openActionMenu$: Subject<boolean>;
1693
+ months: {
1694
+ en: string[];
1695
+ es: string[];
1696
+ };
1697
+ subtitleDescriptionNotification$: Observable<string>;
1698
+ constructor(location: Location);
1699
+ IsNumberRate(n: any): boolean;
1700
+ RemovePercentage(string: string): string;
1701
+ GetTotalAmountByCrncy(col: string, listGeneral: any): number;
1702
+ GetTotalAverageByColumn(col: string, listGeneral: any): number;
1703
+ GetTotalByGroup(col: string, listGeneral: any[], groupBy: string[] | undefined): any[];
1704
+ TransformNegative(value: string): string;
1705
+ FormatNumber(value: number, decimalMax: number, decimalMin: number): string;
1706
+ ClickOutSideValidator(event: any): boolean;
1707
+ CheckParents(src: Element, c: number): boolean;
1708
+ GetTitleByRegionOrCountry(CurrentGroup: any, Current: any, field: string): any;
1709
+ GetTitleByBank(ListGeneralCountryAll: any[], CurrentBank: any): any;
1710
+ Roundgen(value: any, precision: any): number;
1711
+ ReturnAmountPercen(amount: any): string;
1712
+ ReturAmountFormat(amount: any): string;
1713
+ DownloadFile(fileName: string, blob: any): void;
1714
+ ViewFile(response: any): void;
1715
+ GetNumberCurrency(amount: number): string;
1716
+ CountDecimals(param: number): number;
1717
+ IsEmpty(value: any): boolean;
1718
+ GroupByColumn(data: any[], columnGroup: string): any[];
1719
+ GetRoswpanbyData(column: string, index: number, data: Array<any>): number;
1720
+ FormatterStringJsonByKey(data: any[], key: string, separador: string): string;
1721
+ GroupByKey(xs: any, key: any): any;
1722
+ LoadProjectsCss(route: string): void;
1723
+ RemoveProjectsCss(route: string): void;
1724
+ CheckProjectsCss(route: string): any[];
1725
+ CountDecimalsDigits(numero: any): any;
1726
+ GetMaxNumberDecimals(data: any[], key: string): number;
1727
+ SetHeaderPathName(name: string[]): void;
1728
+ FormatDate(date: string, format: string): string;
1729
+ CopyTo(src: any, dest: any): void;
1730
+ IsValidEmail(email: string): boolean;
1731
+ IsGuid(str: string): boolean;
1732
+ ContainsSpecialCharacters(str: string): boolean;
1733
+ IsNumber(value: any): boolean;
1734
+ CalculatePreviousDate(date: Date, monthsAgo: number): string;
1735
+ GetFilteredSearchKey(listTempAll: any[], key: string, value: any, operatorId: number): any;
1736
+ GetFilteredSearchKeyV2(listTempAll: any[], key: string, value: any, operatorId: number, subKey?: any): any[];
1737
+ TransformArrayToHashTable<T, TypeKey extends string | number>(arr: T[], getKey: (p: T) => TypeKey): {
1738
+ [key in TypeKey]: T;
1739
+ };
1740
+ TransformArrayToMap<TypeKey, T>(arr: T[], getKey: (p: T) => TypeKey): Map<TypeKey, T>;
1741
+ UrlHasQaUatSubdomain(): boolean;
1742
+ UrlHasQaSubdomain(): boolean;
1743
+ GetLastSegmentUrl(): string;
1744
+ OnChangeMultiple($event: any, selectDescription: string): void;
1745
+ RemoveParamsAndSegments(url: string): string;
1746
+ OpenActionMenu(): void;
1747
+ AbbreviateNumber(number: number, fixed?: number): string;
1748
+ NumberFormatByNumberCriteria(number: number, fixed?: number): any;
1749
+ FormatPercentage(number: number, decimal?: number): string;
1750
+ GetMonthName(monthIndex: number, lang?: "en" | "es"): string;
1751
+ FormatNumberWithSuffix(number: number, decimalPlaces?: number): string;
1752
+ GenerateGUID(): string;
1753
+ AttachDataLabelClickEvent(chartElementId: string, dataArray: any[], onClickCallback: (clickedData: any) => void): void;
1754
+ FormatNumberAbsolute(number: number): string;
1755
+ SortRecursive(data: any[], column: any, criteria: string): any[];
1756
+ SortRecursivePrimeNg(data: any[], column: any, criteria: string): any[];
1757
+ SortRecursiveNumber(data: any[], column: any, criteria: string): any[];
1758
+ IsDateFormat(value: any): boolean;
1759
+ SortRecursiveDate(data: any[], column: any, criteria: string): any[];
1760
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
1761
+ static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
1762
+ }
1763
+
1764
+ interface environment {
1765
+ authenticationPath: string;
1766
+ authenticationWeb: string;
1767
+ authenticationWebLogout: string;
1768
+ clientID: string;
1769
+ configurationPath: string;
1770
+ hubPath: string;
1771
+ notificationsPath: string;
1772
+ publicKey: string;
1773
+ securityPath: string;
1774
+ signalPath: string;
1775
+ feePath: string;
1776
+ interchangePath: string;
1777
+ environment: string;
1778
+ incontrolBaseUrl: string;
1779
+ }
1780
+
1781
+ interface SessionInformation {
1782
+ mame: string;
1783
+ fullName: string;
1784
+ email: string;
1785
+ businessUserID: string;
1786
+ isAdmin: boolean;
1787
+ businessuserTypeName: string;
1788
+ businessUserProfile: string;
1789
+ callBack: string;
1790
+ isGroup: boolean;
1791
+ isInternal: boolean;
1792
+ clientGroupID: string;
1793
+ }
1794
+
1795
+ declare class ConfigService {
1796
+ private readonly Http;
1797
+ environment?: environment;
1798
+ SessionInformation: SessionInformation | null;
1799
+ private readonly userDataSubject;
1800
+ userData$: Observable$1<string>;
1801
+ init(): Promise<void>;
1802
+ SetSessionInformation(): void;
1803
+ setUserData(userData: string): void;
1804
+ getUserData(): string;
1805
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
1806
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
1807
+ }
1808
+ declare function InitializeConfigService(confg: ConfigService): () => Promise<void>;
1809
+
1810
+ declare class SpinnerService {
1811
+ isLoading: i0.WritableSignal<boolean>;
1812
+ hide(): void;
1813
+ show(): void;
1814
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerService, never>;
1815
+ static ɵprov: i0.ɵɵInjectableDeclaration<SpinnerService>;
1816
+ }
1817
+
1818
+ declare class SweetAlertService {
1819
+ options: SweetAlertOptions;
1820
+ messageBox(message: string): Promise<SweetAlertResult<any>>;
1821
+ messageTextBox(message?: string, swHtml?: boolean): void;
1822
+ confirmBox(message: string, confirmButtonText: string, cancelButtonText: string, title?: string, html?: string, popupClass?: string): Promise<SweetAlertResult<any>>;
1823
+ messageHTMLBox(title: string, html: string, confirmButtonText: string): Promise<SweetAlertResult<any>>;
1824
+ static ɵfac: i0.ɵɵFactoryDeclaration<SweetAlertService, never>;
1825
+ static ɵprov: i0.ɵɵInjectableDeclaration<SweetAlertService>;
1826
+ }
1827
+
1828
+ declare class TermService {
1829
+ private readonly _http;
1830
+ private readonly _config;
1831
+ GetTerms(languageCode: string, pageRoot: string): Observable<TermPageResponse[]>;
1832
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermService, never>;
1833
+ static ɵprov: i0.ɵɵInjectableDeclaration<TermService>;
1834
+ }
1835
+
1836
+ interface FeatureFlagPageRootResponse {
1837
+ name: string;
1838
+ allUser: boolean;
1839
+ featureFlagDetails: FeatureFlagDetailSimpleResponse[];
1840
+ }
1841
+ interface FeatureFlagDetailSimpleResponse {
1842
+ featureFlagDetailID: string;
1843
+ featureFlagID: string;
1844
+ businessUserID: string;
1845
+ }
1846
+
1847
+ declare class FeatureFlagService {
1848
+ private readonly _http;
1849
+ private readonly _configService;
1850
+ GetByPageRoot(pageRoot: string): Observable<FeatureFlagPageRootResponse[]>;
1851
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureFlagService, never>;
1852
+ static ɵprov: i0.ɵɵInjectableDeclaration<FeatureFlagService>;
1853
+ }
1854
+
1855
+ declare class GlobalFeatureFlagService {
1856
+ private featureFlagDataService;
1857
+ private pageRoot;
1858
+ IsReady: i0.WritableSignal<boolean>;
1859
+ FeatureFlagsSignal: i0.WritableSignal<FeatureFlagPageRootResponse[]>;
1860
+ constructor(featureFlagDataService: FeatureFlagService);
1861
+ Initialize(pageRoot: string): void;
1862
+ Exists(featureFlagName: string): boolean;
1863
+ Refresh(): void;
1864
+ GetPageRoot(): string;
1865
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalFeatureFlagService, never>;
1866
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlobalFeatureFlagService>;
1867
+ }
1868
+
1869
+ interface LanguageSimpleResponse {
1870
+ languageID: string;
1871
+ name: string;
1872
+ acronym: string;
1873
+ }
1874
+
1875
+ declare class LanguageService {
1876
+ private readonly _http;
1877
+ private readonly _configService;
1878
+ GetAllLanguage(): Observable<LanguageSimpleResponse[]>;
1879
+ static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
1880
+ static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
1881
+ }
1882
+
1883
+ declare class EchartService {
1884
+ private readonly _sharedService;
1885
+ private getDefultAxisConfiguration;
1886
+ private getCategoryAxisConfiguration;
1887
+ private getValueAxisConfiguration;
1888
+ private getGridConfiguration;
1889
+ private getLegendConfiguration;
1890
+ /**
1891
+ *
1892
+ * @param color - Color of the tooltip
1893
+ * @param title - Title of the tooltip
1894
+ * @param body - Body of the tooltip
1895
+ * @returns - Tooltip HTML string
1896
+ */
1897
+ getTooltipFormatter(color: string, title: string, body: string): string;
1898
+ /**
1899
+ *
1900
+ * @param categories - Array of categories for the x-axis
1901
+ * @param series - Array of series data, each containing name, value, and color
1902
+ * @param labelConfig - Optional label configuration for the bars
1903
+ * @param tooltipConfig - Optional tooltip configuration for the bars
1904
+ * @param showLegend - Optional flag to show the legend
1905
+ * @returns - EChartsOption - Configuration object for the bar chart
1906
+ */
1907
+ getBarChartOptions(categories: string[], series: {
1908
+ name: string;
1909
+ value: any;
1910
+ color: string;
1911
+ }[], labelConfig?: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>, showLegend?: boolean): EChartsOption;
1912
+ /**
1913
+ *
1914
+ * @param categories - Array of categories for the x-axis
1915
+ * @param series - Array of series data, each containing name, value, and color
1916
+ * @param labelConfig - Optional label configuration for the bars
1917
+ * @param tooltipConfig - Optional tooltip configuration for the bars
1918
+ * @param showLegend - Optional flag to show the legend
1919
+ * @returns - EChartsOption - Configuration object for the bar chart
1920
+ */
1921
+ getBarChartStackOptions(categories: string[], series: {
1922
+ name: string;
1923
+ value: any;
1924
+ color: string;
1925
+ }[], labelConfig?: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>, showLegend?: boolean): EChartsOption;
1926
+ /**
1927
+ *
1928
+ * @param categories - Array of categories for the y-axis
1929
+ * @param series - Array of series data, each containing name, value, and color
1930
+ * @param labelConfig - Optional label configuration for the bars
1931
+ * @param tooltipConfig - Optional tooltip configuration for the bars
1932
+ * @param showLegend - Optional flag to show the legend
1933
+ * @returns - EChartsOption - Configuration object for the bar chart
1934
+ */
1935
+ getBarChartHorizontalOptions(categories: string[], series: {
1936
+ name: string;
1937
+ value: any;
1938
+ color: string;
1939
+ }[], labelConfig?: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>, showLegend?: boolean, enableSelectStyle?: boolean): EChartsOption;
1940
+ /**
1941
+ *
1942
+ * @param categories - Array of categories for the y-axis
1943
+ * @param series - Array of series data, each containing name, value, and color
1944
+ * @param labelConfig - Optional label configuration for the bars
1945
+ * @param tooltipConfig - Optional tooltip configuration for the bars
1946
+ * @param showLegend - Optional flag to show the legend
1947
+ * @returns - EChartsOption - Configuration object for the bar chart
1948
+ */
1949
+ getBarChartHorizontalStackOptions(categories: string[], series: {
1950
+ name: string;
1951
+ value: any;
1952
+ color: string;
1953
+ }[], labelConfig?: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>, showLegend?: boolean): EChartsOption;
1954
+ /**
1955
+ *
1956
+ * @param categories - Array of categories for the y-axis
1957
+ * @param series - Array of series data, each containing name, value, and color
1958
+ * @param labelConfig - Optional label configuration for the bars
1959
+ * @param tooltipConfig - Optional tooltip configuration for the bars
1960
+ * @param showLegend - Optional flag to show the legend
1961
+ * @returns - EChartsOption - Configuration object for the bar chart
1962
+ */
1963
+ getBarChartTopOptions(categories: string[], series: {
1964
+ name: string;
1965
+ value: any;
1966
+ color: string;
1967
+ }[], categoryWidth?: number, labelConfig?: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>, showLegend?: boolean, categoryFormatter?: (value: string, index: number) => string): EChartsOption;
1968
+ /**
1969
+ *
1970
+ * @param categories - Array of categories for the x-axis
1971
+ * @param series - Array of series data, each containing name, value, and color
1972
+ * @param labelConfig - Optional label configuration for the lines
1973
+ * @param tooltipConfig - Optional tooltip configuration for the lines
1974
+ * @param showLegend - Optional flag to show the legend
1975
+ * @returns - EChartsOption - Configuration object for the line chart
1976
+ */
1977
+ getLineChartOptions(categories: string[], series: {
1978
+ name: string;
1979
+ value: any;
1980
+ color: string;
1981
+ }[], labelConfig: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>, showLegend?: boolean): EChartsOption;
1982
+ /**
1983
+ *
1984
+ * @param data - Array of series data, each containing name, value, and color
1985
+ * @param labelConfig - Optional label configuration
1986
+ * @param tooltipConfig - Optional tooltip configuration
1987
+ * @returns - EChartsOption - Configuration object for the pie
1988
+ */
1989
+ getDoughnutPieOptions(data: {
1990
+ name: string;
1991
+ value: any;
1992
+ color: string;
1993
+ }[], labelConfig: LabelFormatterCallback<DefaultLabelFormatterCallbackParams>, tooltipConfig?: TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams>): EChartsOption;
1994
+ /**
1995
+ *
1996
+ * @param letter - text to show in the center of the pie
1997
+ * @param value - rate value
1998
+ * @param textSize - size of the letter
1999
+ * @param color - color of the letter and pie
2000
+ * @param total - total value for the pie (default is 100)
2001
+ * @returns
2002
+ */
2003
+ getRateDoughnutPieOptions(letter: string, value: number, textSize: number, color: string, total?: number): EChartsOption;
2004
+ static ɵfac: i0.ɵɵFactoryDeclaration<EchartService, never>;
2005
+ static ɵprov: i0.ɵɵInjectableDeclaration<EchartService>;
2006
+ }
2007
+
2008
+ declare class ProfileService {
2009
+ private readonly AuthenticationService;
2010
+ Profile?: any;
2011
+ PrivateKey: string;
2012
+ ProfileReady: i0.WritableSignal<boolean>;
2013
+ Initialize(): void;
2014
+ SetProfile(): void;
2015
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileService, never>;
2016
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProfileService>;
2017
+ }
2018
+
2019
+ declare class SkeletonService {
2020
+ isLoading: i0.WritableSignal<boolean>;
2021
+ hide(): void;
2022
+ show(): void;
2023
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonService, never>;
2024
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkeletonService>;
2025
+ }
2026
+
2027
+ interface ElementResponse {
2028
+ pageElementID: string;
2029
+ elementCode: string;
2030
+ elementDescription: string;
2031
+ }
2032
+
2033
+ declare class ElementService {
2034
+ Elements: ElementResponse[];
2035
+ PageRoot: string;
2036
+ private readonly pageElementService;
2037
+ Initialize$(pageRootValue: string): Observable<void>;
2038
+ /**
2039
+ * Verify if page has available element by description
2040
+ */
2041
+ HasElement(description: string): boolean;
2042
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementService, never>;
2043
+ static ɵprov: i0.ɵɵInjectableDeclaration<ElementService>;
2044
+ }
2045
+
2046
+ /**
2047
+ * Función de comparación genérica para ordenar objetos por un campo específico.
2048
+ *
2049
+ * @template T - Tipo genérico que representa la estructura de los objetos a comparar.
2050
+ * @param {keyof T} field - El nombre del campo por el cual se realizará la comparación.
2051
+ * @param {number} [sortOrder=1] - Orden de la clasificación: 1 para ascendente y -1 para descendente.
2052
+ * @returns {(a: T, b: T) => number} - Función de comparación que puede ser utilizada en métodos de ordenación como `Array.prototype.sort`.
2053
+ */
2054
+ declare function CompareByField<T>(field: keyof T, sortOrder?: number): (a: T, b: T) => number;
2055
+
2056
+ declare function encryptData(data: any, keyEncrypt: string): string | null;
2057
+
2058
+ declare class Patterns {
2059
+ PatternText: string;
2060
+ PatternEmail: string;
2061
+ PatternOnlyLetters: string;
2062
+ PatternOnlyLettersWithAccents: string;
2063
+ PatternLettersEmail: string;
2064
+ }
2065
+ declare function InputValidation(event: KeyboardEvent): void;
2066
+ declare function DynamicInputValidation(event: KeyboardEvent, pattern: string): void;
2067
+ declare function EmailInputValidation(event: KeyboardEvent): void;
2068
+
2069
+ declare function decryptData(encryptedData: string, privateKey: string): string | null;
2070
+
2071
+ declare function GetCookieAttributes(environment: string): CookieAttributes;
2072
+
2073
+ declare const IntelicaTheme: _primeuix_themes_types.Preset<_primeuix_themes_aura_base.AuraBaseDesignTokens>;
2074
+
2075
+ export { ActionDirective, ActionsMenuComponent, ButtonSplitComponent, CheckboxFilterDirective, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DataDirective, DateFilterDirective, DateModeOptions, DynamicInputValidation, EchartComponent, EchartService, ElementService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FilterChipsComponent, FiltersComponent, FormatAmountPipe, GetCookieAttributes, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaCellCheckboxDirective, IntelicaTheme, ItemSplitDirective, LanguageService, MatrixColumnComponent, MatrixColumnGroupComponent, MatrixTableComponent, ModalDialogComponent, MultiSelectComponent, OrderConstants, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RouteGuard, RowResumenComponent, RowResumenTreeComponent, SearchComponent, SelectDetailFilterDirective, SelectFilterDirective, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TableFetchComponent, TableSortOrder, TemplateDirective, TemplateMenuComponent, TermGuard, TermPipe, TermService, TextAreaFilterDirective, TextFilterDirective, TextRangeFilterDirective, TreeColumnComponent, TreeColumnGroupComponent, TreeTableComponent, TruncatePipe, decryptData, encryptData, getColor };
2076
+ export type { CascadeFilterModel, ColorName, CookieAttributes, DateMode, ExportExcelCommand, FilterModel, ICell, IExcelColumnName, IExcelHeaderGroup, IFilter, PopoverInformationModel, PropertiesModel, QueryParametersModel, SearchFieldModel, SearchInputModel, SortFieldModel };