brainloper-ui 14.1.4 → 14.1.6

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.
Files changed (102) hide show
  1. package/esm2020/brainloper-ui.mjs +4 -4
  2. package/esm2020/public_api.mjs +56 -56
  3. package/esm2020/src/app/modules/brainloper-ui/brainloper-ui.module.mjs +310 -310
  4. package/esm2020/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.mjs +29 -29
  5. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.mjs +23 -23
  6. package/esm2020/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.mjs +83 -83
  7. package/esm2020/src/app/modules/brainloper-ui/components/carousel/carousel.component.mjs +40 -40
  8. package/esm2020/src/app/modules/brainloper-ui/components/combos/combos.component.mjs +176 -176
  9. package/esm2020/src/app/modules/brainloper-ui/components/data-table/data-table.component.mjs +728 -728
  10. package/esm2020/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.mjs +118 -118
  11. package/esm2020/src/app/modules/brainloper-ui/components/file-input/file-input.component.mjs +186 -186
  12. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.mjs +1 -1
  13. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.mjs +1 -1
  14. package/esm2020/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.mjs +1 -1
  15. package/esm2020/src/app/modules/brainloper-ui/components/filters/filters.component.mjs +222 -222
  16. package/esm2020/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.mjs +115 -81
  17. package/esm2020/src/app/modules/brainloper-ui/components/report/template-ot/template-ot.component.mjs +145 -0
  18. package/esm2020/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.mjs +108 -108
  19. package/esm2020/src/app/modules/directives/carousel-item.directive.mjs +18 -18
  20. package/esm2020/src/app/modules/interfaces/buttons/button-icon.mjs +2 -2
  21. package/esm2020/src/app/modules/interfaces/buttons/button-lavel-edit.mjs +2 -2
  22. package/esm2020/src/app/modules/interfaces/combos/combos-configuration.mjs +2 -2
  23. package/esm2020/src/app/modules/interfaces/data-table/params.mjs +2 -2
  24. package/esm2020/src/app/modules/interfaces/data-table/rules.mjs +2 -2
  25. package/esm2020/src/app/modules/interfaces/data-table/table-columns.mjs +2 -2
  26. package/esm2020/src/app/modules/interfaces/data-table/table-configuration.mjs +2 -2
  27. package/esm2020/src/app/modules/interfaces/enum/enumActions.mjs +8 -8
  28. package/esm2020/src/app/modules/interfaces/enum/enumRules.mjs +8 -8
  29. package/esm2020/src/app/modules/interfaces/file-forms-service/file-forms-params.mjs +2 -2
  30. package/esm2020/src/app/modules/interfaces/file-forms-service/file-input-params.mjs +2 -2
  31. package/esm2020/src/app/modules/interfaces/filters/header-filters.mjs +2 -2
  32. package/esm2020/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.mjs +8 -8
  33. package/esm2020/src/app/modules/interfaces/report/template-pdf-base.mjs +2 -0
  34. package/esm2020/src/app/modules/interfaces/report/template-pdf-ot.mjs +2 -2
  35. package/esm2020/src/app/modules/interfaces/report/template-pfd-fo.mjs +2 -2
  36. package/esm2020/src/app/modules/services/crypto.service.mjs +37 -37
  37. package/esm2020/src/app/modules/services/export-data.service.mjs +166 -166
  38. package/esm2020/src/app/modules/services/file-forms.service.mjs +24 -24
  39. package/esm2020/src/app/modules/services/fuel-order-pdf.service.mjs +528 -0
  40. package/esm2020/src/app/modules/services/functions.service.mjs +54 -54
  41. package/esm2020/src/app/modules/services/generate-pdf.service.mjs +109 -58
  42. package/esm2020/src/app/modules/services/http.service.mjs +97 -97
  43. package/esm2020/src/app/modules/services/loading/loading.component.mjs +28 -28
  44. package/esm2020/src/app/modules/services/local-storage.service.mjs +115 -115
  45. package/esm2020/src/app/modules/services/message.service.mjs +200 -200
  46. package/esm2020/src/app/modules/services/screen-size-util.mjs +6 -6
  47. package/esm2020/src/app/modules/services/session.service.mjs +42 -42
  48. package/esm2020/src/app/modules/services/work-order-pdf.service.mjs +384 -0
  49. package/fesm2015/brainloper-ui.mjs +3859 -2818
  50. package/fesm2015/brainloper-ui.mjs.map +1 -1
  51. package/fesm2020/brainloper-ui.mjs +3831 -2780
  52. package/fesm2020/brainloper-ui.mjs.map +1 -1
  53. package/index.d.ts +5 -5
  54. package/package.json +3 -2
  55. package/public_api.d.ts +55 -55
  56. package/src/app/modules/brainloper-ui/brainloper-ui.module.d.ts +62 -62
  57. package/src/app/modules/brainloper-ui/components/bread-crumb/bread-crumb.component.d.ts +13 -13
  58. package/src/app/modules/brainloper-ui/components/buttons/button-icon/button-icon.component.d.ts +10 -10
  59. package/src/app/modules/brainloper-ui/components/buttons/button-label/button-label.component.d.ts +24 -24
  60. package/src/app/modules/brainloper-ui/components/carousel/carousel.component.d.ts +16 -16
  61. package/src/app/modules/brainloper-ui/components/combos/combos.component.d.ts +46 -46
  62. package/src/app/modules/brainloper-ui/components/data-table/data-table.component.d.ts +125 -125
  63. package/src/app/modules/brainloper-ui/components/data-table/table-modal/table-modal.component.d.ts +21 -21
  64. package/src/app/modules/brainloper-ui/components/file-input/file-input.component.d.ts +42 -42
  65. package/src/app/modules/brainloper-ui/components/file-input/imagenes/doc.d.ts +2 -2
  66. package/src/app/modules/brainloper-ui/components/file-input/imagenes/fondoTransparente.d.ts +2 -2
  67. package/src/app/modules/brainloper-ui/components/file-input/imagenes/pdf.d.ts +2 -2
  68. package/src/app/modules/brainloper-ui/components/filters/filters.component.d.ts +30 -30
  69. package/src/app/modules/brainloper-ui/components/report/template-fuel/template-fuel.component.d.ts +41 -36
  70. package/src/app/modules/brainloper-ui/components/report/{generate-pdf/generate-pdf.component.d.ts → template-ot/template-ot.component.d.ts} +40 -35
  71. package/src/app/modules/brainloper-ui/components/select-filter/select-filter.component.d.ts +26 -26
  72. package/src/app/modules/directives/carousel-item.directive.d.ts +9 -9
  73. package/src/app/modules/interfaces/buttons/button-icon.d.ts +9 -9
  74. package/src/app/modules/interfaces/buttons/button-lavel-edit.d.ts +6 -6
  75. package/src/app/modules/interfaces/combos/combos-configuration.d.ts +13 -13
  76. package/src/app/modules/interfaces/data-table/params.d.ts +7 -7
  77. package/src/app/modules/interfaces/data-table/rules.d.ts +8 -8
  78. package/src/app/modules/interfaces/data-table/table-columns.d.ts +25 -25
  79. package/src/app/modules/interfaces/data-table/table-configuration.d.ts +26 -26
  80. package/src/app/modules/interfaces/enum/enumActions.d.ts +6 -6
  81. package/src/app/modules/interfaces/enum/enumRules.d.ts +6 -6
  82. package/src/app/modules/interfaces/file-forms-service/file-forms-params.d.ts +4 -4
  83. package/src/app/modules/interfaces/file-forms-service/file-input-params.d.ts +13 -13
  84. package/src/app/modules/interfaces/filters/header-filters.d.ts +13 -13
  85. package/src/app/modules/interfaces/menu-break-crumb/menu-break-crumb.d.ts +10 -10
  86. package/src/app/modules/interfaces/report/template-pdf-base.d.ts +17 -0
  87. package/src/app/modules/interfaces/report/template-pdf-ot.d.ts +6 -19
  88. package/src/app/modules/interfaces/report/template-pfd-fo.d.ts +7 -20
  89. package/src/app/modules/services/crypto.service.d.ts +10 -10
  90. package/src/app/modules/services/export-data.service.d.ts +18 -18
  91. package/src/app/modules/services/file-forms.service.d.ts +7 -7
  92. package/src/app/modules/services/fuel-order-pdf.service.d.ts +59 -0
  93. package/src/app/modules/services/functions.service.d.ts +13 -13
  94. package/src/app/modules/services/generate-pdf.service.d.ts +21 -12
  95. package/src/app/modules/services/http.service.d.ts +22 -22
  96. package/src/app/modules/services/loading/loading.component.d.ts +15 -15
  97. package/src/app/modules/services/local-storage.service.d.ts +49 -49
  98. package/src/app/modules/services/message.service.d.ts +23 -23
  99. package/src/app/modules/services/screen-size-util.d.ts +3 -3
  100. package/src/app/modules/services/session.service.d.ts +14 -14
  101. package/src/app/modules/services/work-order-pdf.service.d.ts +60 -0
  102. package/esm2020/src/app/modules/brainloper-ui/components/report/generate-pdf/generate-pdf.component.mjs +0 -80
@@ -1,30 +1,30 @@
1
- import { HttpService } from '../../../services/http.service';
2
- import { FunctionsService } from '../../../services/functions.service';
3
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
4
- import { UntypedFormGroup } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- export declare class FiltersComponent implements OnInit, OnChanges {
7
- private functionEter;
8
- private http;
9
- headerFilters: Array<any>;
10
- applyFilters: EventEmitter<any>;
11
- headerFiltersValue: string;
12
- headerFiltersSelected: Array<any>;
13
- campaignOne: UntypedFormGroup;
14
- campaignTwo: UntypedFormGroup;
15
- fecha: UntypedFormGroup;
16
- movil: boolean;
17
- filtersPost: any[];
18
- constructor(functionEter: FunctionsService, http: HttpService);
19
- ngOnChanges(changes: SimpleChanges): Promise<void>;
20
- ngOnInit(): Promise<void>;
21
- handlerFiltersDate(deleteFilter: boolean, item: any, valueDate?: any, valueBetween1?: any, valueBetween2?: any): void;
22
- selectFilter($event: any): void;
23
- selectFilterData($event: any, item: any): Promise<void>;
24
- delteFilter(item: any): void;
25
- loadDates(value?: Date): void;
26
- loadDatesBetween(init?: boolean, value1?: Date, value2?: Date): void;
27
- loadFilter(): Promise<void>;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "app-filters", never, { "headerFilters": "headerFilters"; }, { "applyFilters": "applyFilters"; }, never, never, false>;
30
- }
1
+ import { HttpService } from '../../../services/http.service';
2
+ import { FunctionsService } from '../../../services/functions.service';
3
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
4
+ import { UntypedFormGroup } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FiltersComponent implements OnInit, OnChanges {
7
+ private functionEter;
8
+ private http;
9
+ headerFilters: Array<any>;
10
+ applyFilters: EventEmitter<any>;
11
+ headerFiltersValue: string;
12
+ headerFiltersSelected: Array<any>;
13
+ campaignOne: UntypedFormGroup;
14
+ campaignTwo: UntypedFormGroup;
15
+ fecha: UntypedFormGroup;
16
+ movil: boolean;
17
+ filtersPost: any[];
18
+ constructor(functionEter: FunctionsService, http: HttpService);
19
+ ngOnChanges(changes: SimpleChanges): Promise<void>;
20
+ ngOnInit(): Promise<void>;
21
+ handlerFiltersDate(deleteFilter: boolean, item: any, valueDate?: any, valueBetween1?: any, valueBetween2?: any): void;
22
+ selectFilter($event: any): void;
23
+ selectFilterData($event: any, item: any): Promise<void>;
24
+ delteFilter(item: any): void;
25
+ loadDates(value?: Date): void;
26
+ loadDatesBetween(init?: boolean, value1?: Date, value2?: Date): void;
27
+ loadFilter(): Promise<void>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent, "app-filters", never, { "headerFilters": "headerFilters"; }, { "applyFilters": "applyFilters"; }, never, never, false>;
30
+ }
@@ -1,36 +1,41 @@
1
- import { MessageService } from '../../../../services/message.service';
2
- import { OnInit } from '@angular/core';
3
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
- import * as i0 from "@angular/core";
5
- export declare class TemplateFuelComponent implements OnInit {
6
- dialogRef: MatDialogRef<TemplateFuelComponent>;
7
- dataModal: any;
8
- private dialog;
9
- message: MessageService;
10
- data: {
11
- name: string;
12
- nit: string;
13
- address: string;
14
- telephone: string;
15
- mail: string;
16
- image: string;
17
- code: string;
18
- date: string;
19
- responsible: string;
20
- id_place: string;
21
- approved_by: string;
22
- detalle: string;
23
- description: string;
24
- consecutive: string;
25
- namePlace: string;
26
- addressPlace: string;
27
- area: string;
28
- odometer: string;
29
- };
30
- constructor(dialogRef: MatDialogRef<TemplateFuelComponent>, dataModal: any, dialog: MatDialog, message: MessageService);
31
- ngOnInit(): void;
32
- ngAfterViewInit(): void;
33
- downloadPDF(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateFuelComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TemplateFuelComponent, "app-template-fuel", never, {}, {}, never, never, false>;
36
- }
1
+ import { MessageService } from '../../../../services/message.service';
2
+ import { FuelOrderPdfService } from '../../../../services/fuel-order-pdf.service';
3
+ import { OnInit } from '@angular/core';
4
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TemplateFuelComponent implements OnInit {
7
+ dialogRef: MatDialogRef<TemplateFuelComponent>;
8
+ dataModal: any;
9
+ private dialog;
10
+ message: MessageService;
11
+ private FuelOrderPdfService;
12
+ data: {
13
+ name: string;
14
+ nit: string;
15
+ address: string;
16
+ telephone: string;
17
+ mail: string;
18
+ image: string;
19
+ code: string;
20
+ date: string;
21
+ responsible: string;
22
+ id_place: string;
23
+ approved_by: string;
24
+ detalle: string;
25
+ description: string;
26
+ consecutive: string;
27
+ namePlace: string;
28
+ addressPlace: string;
29
+ area: string;
30
+ odometer: string;
31
+ invoiceReference: string;
32
+ };
33
+ constructor(dialogRef: MatDialogRef<TemplateFuelComponent>, dataModal: any, dialog: MatDialog, message: MessageService, FuelOrderPdfService: FuelOrderPdfService);
34
+ ngOnInit(): void;
35
+ ngAfterViewInit(): void;
36
+ generatePdfWithHtml2Canvas(): void;
37
+ generatePdfWithJsPDFVersion2(): void;
38
+ generatePdfWithJsPDFVersion3(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateFuelComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateFuelComponent, "app-template-fuel", never, {}, {}, never, never, false>;
41
+ }
@@ -1,35 +1,40 @@
1
- import { MessageService } from '../../../../services/message.service';
2
- import { OnInit } from '@angular/core';
3
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
- import * as i0 from "@angular/core";
5
- export declare class GeneratePdfComponent implements OnInit {
6
- dialogRef: MatDialogRef<GeneratePdfComponent>;
7
- dataModal: any;
8
- private dialog;
9
- message: MessageService;
10
- data: {
11
- name: string;
12
- nit: string;
13
- address: string;
14
- telephone: string;
15
- mail: string;
16
- image: string;
17
- code: string;
18
- date: string;
19
- responsible: string;
20
- third: string;
21
- odometer: string;
22
- approved_by: string;
23
- description: string;
24
- consecutive: string;
25
- nameProvider: string;
26
- addressProvider: string;
27
- area: string;
28
- };
29
- constructor(dialogRef: MatDialogRef<GeneratePdfComponent>, dataModal: any, dialog: MatDialog, message: MessageService);
30
- ngOnInit(): void;
31
- ngAfterViewInit(): void;
32
- downloadPDF(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<GeneratePdfComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<GeneratePdfComponent, "app-generate-pdf", never, {}, {}, never, never, false>;
35
- }
1
+ import { MessageService } from '../../../../services/message.service';
2
+ import { WorkOrderPdfService } from '../../../../services/work-order-pdf.service';
3
+ import { OnInit } from '@angular/core';
4
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TemplateOtComponent implements OnInit {
7
+ dialogRef: MatDialogRef<TemplateOtComponent>;
8
+ dataModal: any;
9
+ private dialog;
10
+ message: MessageService;
11
+ private workOrderPdfService;
12
+ data: {
13
+ name: string;
14
+ nit: string;
15
+ address: string;
16
+ telephone: string;
17
+ mail: string;
18
+ image: string;
19
+ code: string;
20
+ date: string;
21
+ responsible: string;
22
+ third: string;
23
+ odometer: string;
24
+ approved_by: string;
25
+ description: string;
26
+ consecutive: string;
27
+ nameProvider: string;
28
+ addressProvider: string;
29
+ area: string;
30
+ invoiceReference: string;
31
+ };
32
+ constructor(dialogRef: MatDialogRef<TemplateOtComponent>, dataModal: any, dialog: MatDialog, message: MessageService, workOrderPdfService: WorkOrderPdfService);
33
+ ngOnInit(): void;
34
+ ngAfterViewInit(): void;
35
+ generatePdfWithHtml2Canvas(): void;
36
+ generatePdfWithJsPDFVersion2(): void;
37
+ generatePdfWithJsPDFVersion3(): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateOtComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateOtComponent, "app-template-ot", never, {}, {}, never, never, false>;
40
+ }
@@ -1,26 +1,26 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class SelectFilterComponent implements OnInit, OnDestroy {
5
- private searchFormValueChangesSubscription;
6
- input: any;
7
- array: any;
8
- placeholder: string;
9
- color: string;
10
- displayMember: string;
11
- showSpinner: boolean;
12
- noResultsMessage: string;
13
- hasGroup: boolean;
14
- groupArrayName: string;
15
- noResults: boolean;
16
- localSpinner: boolean;
17
- filteredReturn: EventEmitter<any>;
18
- filteredItems: any;
19
- searchForm: FormGroup;
20
- constructor(fb: FormBuilder);
21
- ngOnInit(): void;
22
- handleKeydown(event: KeyboardEvent): void;
23
- ngOnDestroy(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "app-select-filter", never, { "array": "array"; "placeholder": "placeholder"; "color": "color"; "displayMember": "displayMember"; "showSpinner": "showSpinner"; "noResultsMessage": "noResultsMessage"; "hasGroup": "hasGroup"; "groupArrayName": "groupArrayName"; }, { "filteredReturn": "filteredReturn"; }, never, never, false>;
26
- }
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectFilterComponent implements OnInit, OnDestroy {
5
+ private searchFormValueChangesSubscription;
6
+ input: any;
7
+ array: any;
8
+ placeholder: string;
9
+ color: string;
10
+ displayMember: string;
11
+ showSpinner: boolean;
12
+ noResultsMessage: string;
13
+ hasGroup: boolean;
14
+ groupArrayName: string;
15
+ noResults: boolean;
16
+ localSpinner: boolean;
17
+ filteredReturn: EventEmitter<any>;
18
+ filteredItems: any;
19
+ searchForm: FormGroup;
20
+ constructor(fb: FormBuilder);
21
+ ngOnInit(): void;
22
+ handleKeydown(event: KeyboardEvent): void;
23
+ ngOnDestroy(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectFilterComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectFilterComponent, "app-select-filter", never, { "array": "array"; "placeholder": "placeholder"; "color": "color"; "displayMember": "displayMember"; "showSpinner": "showSpinner"; "noResultsMessage": "noResultsMessage"; "hasGroup": "hasGroup"; "groupArrayName": "groupArrayName"; }, { "filteredReturn": "filteredReturn"; }, never, never, false>;
26
+ }
@@ -1,9 +1,9 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CarouselItemDirective {
4
- templateRef: TemplateRef<any>;
5
- carouselItem: number;
6
- constructor(templateRef: TemplateRef<any>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselItemDirective, "[carouselItem]", never, { "carouselItem": "carouselItem"; }, {}, never, never, false>;
9
- }
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CarouselItemDirective {
4
+ templateRef: TemplateRef<any>;
5
+ carouselItem: number;
6
+ constructor(templateRef: TemplateRef<any>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CarouselItemDirective, "[carouselItem]", never, { "carouselItem": "carouselItem"; }, {}, never, never, false>;
9
+ }
@@ -1,9 +1,9 @@
1
- export interface IButtonIcon {
2
- name?: string;
3
- description?: string;
4
- id?: string;
5
- icon?: string;
6
- active?: boolean;
7
- color?: string;
8
- iconColor?: string;
9
- }
1
+ export interface IButtonIcon {
2
+ name?: string;
3
+ description?: string;
4
+ id?: string;
5
+ icon?: string;
6
+ active?: boolean;
7
+ color?: string;
8
+ iconColor?: string;
9
+ }
@@ -1,6 +1,6 @@
1
- export interface IButtonlabelEdit {
2
- value: string;
3
- edit?: boolean;
4
- position?: number;
5
- label?: string;
6
- }
1
+ export interface IButtonlabelEdit {
2
+ value: string;
3
+ edit?: boolean;
4
+ position?: number;
5
+ label?: string;
6
+ }
@@ -1,13 +1,13 @@
1
- import { params } from '../data-table/params';
2
- export interface CombosConfiguration {
3
- selectionField?: string;
4
- visibleField?: string;
5
- urlCombo?: string;
6
- urlParams?: params[];
7
- label?: string;
8
- selected?: any;
9
- fileTooltip?: string;
10
- }
11
- export interface Filter {
12
- filter?: boolean;
13
- }
1
+ import { params } from '../data-table/params';
2
+ export interface CombosConfiguration {
3
+ selectionField?: string;
4
+ visibleField?: string;
5
+ urlCombo?: string;
6
+ urlParams?: params[];
7
+ label?: string;
8
+ selected?: any;
9
+ fileTooltip?: string;
10
+ }
11
+ export interface Filter {
12
+ filter?: boolean;
13
+ }
@@ -1,7 +1,7 @@
1
- import { Rules } from './rules';
2
- export interface params {
3
- id: string;
4
- value?: any;
5
- rules?: Array<Rules>;
6
- nombre?: string;
7
- }
1
+ import { Rules } from './rules';
2
+ export interface params {
3
+ id: string;
4
+ value?: any;
5
+ rules?: Array<Rules>;
6
+ nombre?: string;
7
+ }
@@ -1,8 +1,8 @@
1
- import { enumActions } from "../enum/enumActions";
2
- import { enumRules } from "../enum/enumRules";
3
- export interface Rules {
4
- rule?: enumRules;
5
- valueRule?: string;
6
- action?: enumActions;
7
- valueAction?: string;
8
- }
1
+ import { enumActions } from "../enum/enumActions";
2
+ import { enumRules } from "../enum/enumRules";
3
+ export interface Rules {
4
+ rule?: enumRules;
5
+ valueRule?: string;
6
+ action?: enumActions;
7
+ valueAction?: string;
8
+ }
@@ -1,25 +1,25 @@
1
- import { params } from './params';
2
- import { Rules } from './rules';
3
- export interface TableColumns<T> {
4
- ID: keyof T;
5
- label: String;
6
- type: 'boolean' | 'currency' | 'dateWithTime' | 'date' | 'fecha' | 'string' | 'number' | 'text' | 'combo' | 'file';
7
- paramsCombo?: {
8
- url?: String;
9
- urlParams?: params[];
10
- visibleField?: String;
11
- selectionField?: String;
12
- returnDataSelect?: boolean;
13
- };
14
- style?: {
15
- width?: String;
16
- textAlign?: String;
17
- color?: String;
18
- backgroundColor?: String;
19
- movil?: String;
20
- };
21
- disregardForAdd?: boolean;
22
- disregardForEdit?: boolean;
23
- rules?: Array<Rules>;
24
- required?: boolean;
25
- }
1
+ import { params } from './params';
2
+ import { Rules } from './rules';
3
+ export interface TableColumns<T> {
4
+ ID: keyof T;
5
+ label: String;
6
+ type: 'boolean' | 'currency' | 'dateWithTime' | 'date' | 'fecha' | 'string' | 'number' | 'text' | 'combo' | 'file';
7
+ paramsCombo?: {
8
+ url?: String;
9
+ urlParams?: params[];
10
+ visibleField?: String;
11
+ selectionField?: String;
12
+ returnDataSelect?: boolean;
13
+ };
14
+ style?: {
15
+ width?: String;
16
+ textAlign?: String;
17
+ color?: String;
18
+ backgroundColor?: String;
19
+ movil?: String;
20
+ };
21
+ disregardForAdd?: boolean;
22
+ disregardForEdit?: boolean;
23
+ rules?: Array<Rules>;
24
+ required?: boolean;
25
+ }
@@ -1,26 +1,26 @@
1
- export interface TableConfiguration {
2
- edit?: boolean;
3
- add?: boolean;
4
- delete?: boolean;
5
- selectable?: boolean;
6
- addPer?: boolean;
7
- editPer?: boolean;
8
- primaryKey?: string;
9
- print?: boolean;
10
- sendEmail?: boolean;
11
- active?: boolean;
12
- hideTitle?: boolean;
13
- hideFilter?: boolean;
14
- notInitialize?: boolean;
15
- exportXslx?: boolean;
16
- exportXslxWithPages?: boolean;
17
- exportXslxByRow?: boolean;
18
- view?: boolean;
19
- closeOrder?: boolean;
20
- packOff?: boolean;
21
- advance?: boolean;
22
- advanceLabel?: string;
23
- income?: boolean;
24
- exit?: boolean;
25
- addComment?: boolean;
26
- }
1
+ export interface TableConfiguration {
2
+ edit?: boolean;
3
+ add?: boolean;
4
+ delete?: boolean;
5
+ selectable?: boolean;
6
+ addPer?: boolean;
7
+ editPer?: boolean;
8
+ primaryKey?: string;
9
+ print?: boolean;
10
+ sendEmail?: boolean;
11
+ active?: boolean;
12
+ hideTitle?: boolean;
13
+ hideFilter?: boolean;
14
+ notInitialize?: boolean;
15
+ exportXslx?: boolean;
16
+ exportXslxWithPages?: boolean;
17
+ exportXslxByRow?: boolean;
18
+ view?: boolean;
19
+ closeOrder?: boolean;
20
+ packOff?: boolean;
21
+ advance?: boolean;
22
+ advanceLabel?: string;
23
+ income?: boolean;
24
+ exit?: boolean;
25
+ addComment?: boolean;
26
+ }
@@ -1,6 +1,6 @@
1
- export declare enum enumActions {
2
- REPLACE = 0,
3
- ADD = 1,
4
- REMOVE = 2,
5
- SHOW_FILE_ICON = 3
6
- }
1
+ export declare enum enumActions {
2
+ REPLACE = 0,
3
+ ADD = 1,
4
+ REMOVE = 2,
5
+ SHOW_FILE_ICON = 3
6
+ }
@@ -1,6 +1,6 @@
1
- export declare enum enumRules {
2
- ">" = 0,
3
- "<" = 1,
4
- "==" = 2,
5
- "!=" = 3
6
- }
1
+ export declare enum enumRules {
2
+ ">" = 0,
3
+ "<" = 1,
4
+ "==" = 2,
5
+ "!=" = 3
6
+ }
@@ -1,4 +1,4 @@
1
- export interface fileFormsParams {
2
- id: string;
3
- value: any;
4
- }
1
+ export interface fileFormsParams {
2
+ id: string;
3
+ value: any;
4
+ }
@@ -1,13 +1,13 @@
1
- export interface fileInputParams {
2
- typeFile: string | string[];
3
- input: string;
4
- edit?: boolean;
5
- label?: string;
6
- imageSrc?: string;
7
- style: {
8
- width: string;
9
- height?: string;
10
- border?: string;
11
- shape?: string;
12
- };
13
- }
1
+ export interface fileInputParams {
2
+ typeFile: string | string[];
3
+ input: string;
4
+ edit?: boolean;
5
+ label?: string;
6
+ imageSrc?: string;
7
+ style: {
8
+ width: string;
9
+ height?: string;
10
+ border?: string;
11
+ shape?: string;
12
+ };
13
+ }
@@ -1,13 +1,13 @@
1
- export interface HeaderFilters<T = any> {
2
- tN: string;
3
- visibleField: string;
4
- primaryKey?: string;
5
- type: string;
6
- value: string;
7
- labelFilter?: string;
8
- urlData?: string;
9
- body?: any;
10
- active?: boolean;
11
- fileNameDb?: string;
12
- data?: T[];
13
- }
1
+ export interface HeaderFilters<T = any> {
2
+ tN: string;
3
+ visibleField: string;
4
+ primaryKey?: string;
5
+ type: string;
6
+ value: string;
7
+ labelFilter?: string;
8
+ urlData?: string;
9
+ body?: any;
10
+ active?: boolean;
11
+ fileNameDb?: string;
12
+ data?: T[];
13
+ }
@@ -1,10 +1,10 @@
1
- export interface IMenuBreadCrumb {
2
- name: string;
3
- router?: string;
4
- current?: boolean;
5
- }
6
- export declare class MenuBreadCrumb implements IMenuBreadCrumb {
7
- name: string;
8
- router?: any;
9
- current?: boolean;
10
- }
1
+ export interface IMenuBreadCrumb {
2
+ name: string;
3
+ router?: string;
4
+ current?: boolean;
5
+ }
6
+ export declare class MenuBreadCrumb implements IMenuBreadCrumb {
7
+ name: string;
8
+ router?: any;
9
+ current?: boolean;
10
+ }
@@ -0,0 +1,17 @@
1
+ export interface TemplatePdfBase {
2
+ name?: string;
3
+ nit?: string;
4
+ address?: string;
5
+ telephone?: string;
6
+ mail?: string;
7
+ image?: string;
8
+ code?: string;
9
+ date?: string;
10
+ responsible?: string;
11
+ approved_by?: string;
12
+ description?: string;
13
+ consecutive?: string;
14
+ area?: string;
15
+ odometer?: string;
16
+ invoiceReference?: string;
17
+ }
@@ -1,19 +1,6 @@
1
- export interface TemplatePdfOt {
2
- name?: string;
3
- nit?: string;
4
- address?: string;
5
- telephone?: string;
6
- mail?: string;
7
- image?: string;
8
- code?: string;
9
- date?: string;
10
- responsible?: string;
11
- third?: string;
12
- odometer?: string;
13
- approved_by?: string;
14
- description?: string;
15
- consecutive?: string;
16
- nameProvider?: string;
17
- addressProvider?: string;
18
- area?: string;
19
- }
1
+ import { TemplatePdfBase } from './template-pdf-base';
2
+ export interface TemplatePdfOt extends TemplatePdfBase {
3
+ third?: string;
4
+ nameProvider?: string;
5
+ addressProvider?: string;
6
+ }