ngx-sumax-erp-components 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/esm2022/lib/date-picker/CustomDatePickerFormat.mjs +43 -0
- package/esm2022/lib/date-picker/CustomDatePickerI18n.mjs +50 -0
- package/esm2022/lib/date-picker/date-picker.component.mjs +366 -0
- package/esm2022/lib/date-picker/date-picker.mjs +3 -0
- package/esm2022/lib/date-picker/date-picker.module.mjs +69 -0
- package/esm2022/lib/date-picker/date-picker.service.mjs +68 -0
- package/esm2022/lib/date-time-picker/date-time-picker.component.mjs +311 -0
- package/esm2022/lib/date-time-picker/date-time-picker.mjs +3 -0
- package/esm2022/lib/date-time-picker/date-time-picker.module.mjs +76 -0
- package/esm2022/lib/date-time-picker/date-time-picker.service.mjs +64 -0
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.component.mjs +1140 -0
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.module.mjs +93 -0
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.service.mjs +85 -0
- package/esm2022/lib/dialog-ag-grid-search/dialog-ag-grid-search.component.mjs +283 -0
- package/esm2022/lib/dialog-ag-grid-search/dialog-ag-grid-search.module.mjs +23 -0
- package/esm2022/lib/error-message/error-message.component.mjs +24 -0
- package/esm2022/lib/error-message/error-message.module.mjs +19 -0
- package/esm2022/lib/input-number/input-number.component.mjs +351 -0
- package/esm2022/lib/input-number/input-number.mjs +3 -0
- package/esm2022/lib/input-number/input-number.module.mjs +65 -0
- package/esm2022/lib/input-number/input-number.service.mjs +68 -0
- package/esm2022/lib/input-text/input-text.component.mjs +345 -0
- package/esm2022/lib/input-text/input-text.mjs +3 -0
- package/esm2022/lib/input-text/input-text.module.mjs +73 -0
- package/esm2022/lib/input-text/input-text.service.mjs +96 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.component.mjs +375 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.mjs +3 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.module.mjs +69 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.service.mjs +96 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.component.mjs +461 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.mjs +3 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.module.mjs +53 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.service.mjs +138 -0
- package/esm2022/lib/sc-ag-grid/cell-editors/container-shared/container-shared.component.mjs +144 -0
- package/esm2022/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayCustom.component.mjs +27 -0
- package/esm2022/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayDefault.component.mjs +22 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-button/sc-cell-render-button.component.mjs +242 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component.mjs +62 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-config.mjs +27 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-select/sc-cell-render-select.component.mjs +70 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-toggle/sc-cell-render-toggle.component.mjs +45 -0
- package/esm2022/lib/sc-ag-grid/directives/scAgGrid.directive.mjs +25 -0
- package/esm2022/lib/sc-ag-grid/index.mjs +14 -0
- package/esm2022/lib/sc-ag-grid/input-search/input-search.component.mjs +20 -0
- package/esm2022/lib/sc-ag-grid/input-search/input-search.module.mjs +31 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-customizable/sc-ag-grid-customizable.component.mjs +564 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.component.mjs +80 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.module.mjs +31 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid.module.mjs +118 -0
- package/esm2022/lib/sc-ag-grid/sc-grid.uitl.mjs +10 -0
- package/esm2022/lib/sc-wizard/sc-wizard.component.mjs +75 -0
- package/esm2022/lib/sc-wizard/sc-wizard.module.mjs +44 -0
- package/esm2022/lib/text-area/text-area.component.mjs +272 -0
- package/esm2022/lib/text-area/text-area.mjs +3 -0
- package/esm2022/lib/text-area/text-area.module.mjs +60 -0
- package/esm2022/lib/text-area/text-area.service.mjs +54 -0
- package/esm2022/lib/tooltip-message/tooltip-message.component.mjs +25 -0
- package/esm2022/lib/tooltip-message/tooltip-message.module.mjs +21 -0
- package/esm2022/lib/utils/DateTimeModel.mjs +56 -0
- package/esm2022/lib/utils/DateTimePickerEditable.mjs +3 -0
- package/esm2022/lib/utils/DateUtil.mjs +196 -0
- package/esm2022/lib/utils/INgSelect.mjs +2 -0
- package/esm2022/lib/utils/IScAgGrid.mjs +7 -0
- package/esm2022/lib/utils/ScWizardBase.mjs +14 -0
- package/esm2022/lib/utils/SharedComponentsUtil.mjs +38 -0
- package/esm2022/lib/utils/ValidateUtil.mjs +18 -0
- package/esm2022/lib/utils/message-util.service.mjs +75 -0
- package/esm2022/ngx-sumax-erp-components.mjs +5 -0
- package/esm2022/public-api.mjs +33 -0
- package/fesm2022/ngx-sumax-erp-components.mjs +7045 -0
- package/fesm2022/ngx-sumax-erp-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/date-picker/CustomDatePickerFormat.d.ts +11 -0
- package/lib/date-picker/CustomDatePickerI18n.d.ts +25 -0
- package/lib/date-picker/date-picker.component.d.ts +108 -0
- package/lib/date-picker/date-picker.d.ts +10 -0
- package/lib/date-picker/date-picker.module.d.ts +18 -0
- package/lib/date-picker/date-picker.service.d.ts +22 -0
- package/lib/date-time-picker/date-time-picker.component.d.ts +96 -0
- package/lib/date-time-picker/date-time-picker.d.ts +9 -0
- package/lib/date-time-picker/date-time-picker.module.d.ts +18 -0
- package/lib/date-time-picker/date-time-picker.service.d.ts +20 -0
- package/lib/date-time-picker-editable/date-time-picker-editable.component.d.ts +118 -0
- package/lib/date-time-picker-editable/date-time-picker-editable.module.d.ts +16 -0
- package/lib/date-time-picker-editable/date-time-picker-editable.service.d.ts +27 -0
- package/lib/dialog-ag-grid-search/dialog-ag-grid-search.component.d.ts +82 -0
- package/lib/dialog-ag-grid-search/dialog-ag-grid-search.module.d.ts +13 -0
- package/lib/error-message/error-message.component.d.ts +13 -0
- package/lib/error-message/error-message.module.d.ts +9 -0
- package/lib/input-number/input-number.component.d.ts +74 -0
- package/lib/input-number/input-number.d.ts +10 -0
- package/lib/input-number/input-number.module.d.ts +17 -0
- package/lib/input-number/input-number.service.d.ts +22 -0
- package/lib/input-text/input-text.component.d.ts +85 -0
- package/lib/input-text/input-text.d.ts +17 -0
- package/lib/input-text/input-text.module.d.ts +18 -0
- package/lib/input-text/input-text.service.d.ts +35 -0
- package/lib/ng-select-multiple/ng-select-multiple.component.d.ts +83 -0
- package/lib/ng-select-multiple/ng-select-multiple.d.ts +14 -0
- package/lib/ng-select-multiple/ng-select-multiple.module.d.ts +17 -0
- package/lib/ng-select-multiple/ng-select-multiple.service.d.ts +30 -0
- package/lib/ng-select-simple/ng-select-simple.component.d.ts +124 -0
- package/lib/ng-select-simple/ng-select-simple.d.ts +20 -0
- package/lib/ng-select-simple/ng-select-simple.module.d.ts +17 -0
- package/lib/ng-select-simple/ng-select-simple.service.d.ts +42 -0
- package/lib/sc-ag-grid/cell-editors/container-shared/container-shared.component.d.ts +61 -0
- package/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayCustom.component.d.ts +10 -0
- package/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayDefault.component.d.ts +9 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-button/sc-cell-render-button.component.d.ts +49 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component.d.ts +11 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-config.d.ts +20 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-select/sc-cell-render-select.component.d.ts +16 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-toggle/sc-cell-render-toggle.component.d.ts +16 -0
- package/lib/sc-ag-grid/directives/scAgGrid.directive.d.ts +10 -0
- package/lib/sc-ag-grid/index.d.ts +13 -0
- package/lib/sc-ag-grid/input-search/input-search.component.d.ts +11 -0
- package/lib/sc-ag-grid/input-search/input-search.module.d.ts +9 -0
- package/lib/sc-ag-grid/sc-ag-grid-customizable/sc-ag-grid-customizable.component.d.ts +191 -0
- package/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.component.d.ts +25 -0
- package/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.module.d.ts +9 -0
- package/lib/sc-ag-grid/sc-ag-grid.module.d.ts +32 -0
- package/lib/sc-ag-grid/sc-grid.uitl.d.ts +5 -0
- package/lib/sc-wizard/sc-wizard.component.d.ts +38 -0
- package/lib/sc-wizard/sc-wizard.module.d.ts +13 -0
- package/lib/text-area/text-area.component.d.ts +66 -0
- package/lib/text-area/text-area.d.ts +8 -0
- package/lib/text-area/text-area.module.d.ts +16 -0
- package/lib/text-area/text-area.service.d.ts +18 -0
- package/lib/tooltip-message/tooltip-message.component.d.ts +13 -0
- package/lib/tooltip-message/tooltip-message.module.d.ts +11 -0
- package/lib/utils/DateTimeModel.d.ts +16 -0
- package/lib/utils/DateTimePickerEditable.d.ts +13 -0
- package/lib/utils/DateUtil.d.ts +37 -0
- package/lib/utils/INgSelect.d.ts +6 -0
- package/lib/utils/IScAgGrid.d.ts +65 -0
- package/lib/utils/ScWizardBase.d.ts +9 -0
- package/lib/utils/SharedComponentsUtil.d.ts +6 -0
- package/lib/utils/ValidateUtil.d.ts +4 -0
- package/lib/utils/message-util.service.d.ts +10 -0
- package/package.json +32 -0
- package/public-api.d.ts +29 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NgbDateParserFormatter, NgbDateStruct } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare function toInteger(value: any): number;
|
|
4
|
+
export declare function isNumber(value: any): value is number;
|
|
5
|
+
export declare function padNumber(value: number): string;
|
|
6
|
+
export declare class CustomDatepickerFormat extends NgbDateParserFormatter {
|
|
7
|
+
parse(value: string): NgbDateStruct | any;
|
|
8
|
+
format(date: NgbDateStruct): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatepickerFormat, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomDatepickerFormat>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NgbDateStruct, NgbDatepickerI18n } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface I18N {
|
|
4
|
+
fr: {
|
|
5
|
+
weekdays: string[];
|
|
6
|
+
months: string[];
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare class I18n {
|
|
10
|
+
language: keyof I18N;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<I18n, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<I18n>;
|
|
13
|
+
}
|
|
14
|
+
export declare class CustomDatepickerI18n extends NgbDatepickerI18n {
|
|
15
|
+
private _i18n;
|
|
16
|
+
constructor(_i18n: I18n);
|
|
17
|
+
getWeekdayShortName(weekday: number): string;
|
|
18
|
+
getMonthShortName(month: number): string;
|
|
19
|
+
getMonthFullName(month: number): string;
|
|
20
|
+
getDayAriaLabel(date: NgbDateStruct): string;
|
|
21
|
+
getWeekdayLabel(weekday: number): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatepickerI18n, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomDatepickerI18n>;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { NgbDate, NgbDateStruct, NgbDatepicker } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { DatePickerService } from './date-picker.service';
|
|
5
|
+
import { MessageUtilService } from '../utils/message-util.service';
|
|
6
|
+
import { SharedComponentsUtil } from '../utils/SharedComponentsUtil';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DatePickerComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
9
|
+
private el;
|
|
10
|
+
private messageUtilService;
|
|
11
|
+
private datePickerService;
|
|
12
|
+
private _render;
|
|
13
|
+
/**
|
|
14
|
+
* @description Parametro de la visualización del texto superior
|
|
15
|
+
* @default true
|
|
16
|
+
* @type boolean
|
|
17
|
+
*/
|
|
18
|
+
showLabel: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @description Texto superion
|
|
21
|
+
* @default null
|
|
22
|
+
* @type any
|
|
23
|
+
*/
|
|
24
|
+
label: any;
|
|
25
|
+
/**
|
|
26
|
+
* @description Parametro de autocompletado
|
|
27
|
+
* @default 'off'
|
|
28
|
+
* @type string
|
|
29
|
+
*/
|
|
30
|
+
autocomplete: string;
|
|
31
|
+
/**
|
|
32
|
+
* @description Próximo control a hacer focus
|
|
33
|
+
*/
|
|
34
|
+
next: any;
|
|
35
|
+
/**
|
|
36
|
+
* @description Próximo control a hacer focus en caso el NEXT esté deshabilitado
|
|
37
|
+
*/
|
|
38
|
+
nextIsDisable: any;
|
|
39
|
+
/**
|
|
40
|
+
* @description Anterior control a hacer focus
|
|
41
|
+
*/
|
|
42
|
+
back: any;
|
|
43
|
+
/**
|
|
44
|
+
* @description Anterior control a hacer focus en caso el BACK esté deshabilitado
|
|
45
|
+
*/
|
|
46
|
+
backIsDisable: any;
|
|
47
|
+
/**
|
|
48
|
+
* @description Parametro de control requerido
|
|
49
|
+
* @default false
|
|
50
|
+
* @type boolean
|
|
51
|
+
*/
|
|
52
|
+
required: boolean;
|
|
53
|
+
noAutoCompleteNull: boolean;
|
|
54
|
+
readonly: boolean;
|
|
55
|
+
validatorMessage: boolean;
|
|
56
|
+
tooltipMessage: boolean;
|
|
57
|
+
validatorAlert: boolean;
|
|
58
|
+
submitted: boolean;
|
|
59
|
+
labelInfo: boolean;
|
|
60
|
+
textLabelInfo: string;
|
|
61
|
+
minDate: NgbDateStruct;
|
|
62
|
+
maxDate: NgbDateStruct;
|
|
63
|
+
invalid: boolean;
|
|
64
|
+
focusInitial: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @description Parametro deshabilitar control
|
|
67
|
+
* @default false
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
*/
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
onNext: EventEmitter<any>;
|
|
72
|
+
onBack: EventEmitter<any>;
|
|
73
|
+
input: EventEmitter<any>;
|
|
74
|
+
onchange: EventEmitter<any>;
|
|
75
|
+
blur: EventEmitter<any>;
|
|
76
|
+
value: any;
|
|
77
|
+
controls: any;
|
|
78
|
+
emitValue: NgbDate | string;
|
|
79
|
+
sharedComponentsUtil: SharedComponentsUtil;
|
|
80
|
+
ngbDatepicker: NgbDatepicker | any;
|
|
81
|
+
_tempValue: string;
|
|
82
|
+
_initValue: boolean;
|
|
83
|
+
constructor(el: ElementRef, messageUtilService: MessageUtilService, datePickerService: DatePickerService, _render: Renderer2);
|
|
84
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
85
|
+
ngOnInit(): void;
|
|
86
|
+
onChange: (_: any) => void;
|
|
87
|
+
onValidationChange: () => void;
|
|
88
|
+
onTouch: () => void;
|
|
89
|
+
focus: () => void;
|
|
90
|
+
onFocus(evt: any): void;
|
|
91
|
+
writeValue(value: any): void;
|
|
92
|
+
registerOnChange(fn: any): void;
|
|
93
|
+
registerOnTouched(fn: any): void;
|
|
94
|
+
setDisabledState?(isDisabled?: boolean): void;
|
|
95
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
96
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
97
|
+
onBlur(): void;
|
|
98
|
+
onInput(value: any): void;
|
|
99
|
+
onKeyUpEnter(): void;
|
|
100
|
+
onlyNumbers(e: any): void;
|
|
101
|
+
strDateToNgbDate(value: any): NgbDate;
|
|
102
|
+
ngbDatetoString(value: NgbDateStruct): NgbDate | string;
|
|
103
|
+
enterKeyUp(): void;
|
|
104
|
+
arrowUpKeyUp(): void;
|
|
105
|
+
focusOut(value: any): void;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "date-picker", never, { "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "next": { "alias": "next"; "required": false; }; "nextIsDisable": { "alias": "nextIsDisable"; "required": false; }; "back": { "alias": "back"; "required": false; }; "backIsDisable": { "alias": "backIsDisable"; "required": false; }; "required": { "alias": "required"; "required": false; }; "noAutoCompleteNull": { "alias": "noAutoCompleteNull"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "validatorAlert": { "alias": "validatorAlert"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "focusInitial": { "alias": "focusInitial"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; "input": "input"; "onchange": "onchange"; "blur": "blur"; }, never, never, false, never>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModuleWithProviders } from "@angular/core";
|
|
2
|
+
import { DatePicker } from "./date-picker";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./date-picker.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/router";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
import * as i5 from "../error-message/error-message.module";
|
|
9
|
+
import * as i6 from "../tooltip-message/tooltip-message.module";
|
|
10
|
+
import * as i7 from "@angular/material/icon";
|
|
11
|
+
import * as i8 from "@angular/material/tooltip";
|
|
12
|
+
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
13
|
+
export declare class DatePickerModule {
|
|
14
|
+
static forRoot(datePicker?: DatePicker): ModuleWithProviders<DatePickerModule>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.DatePickerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.ErrorMessageModule, typeof i6.TooltipMessageModule, typeof i7.MatIconModule, typeof i8.MatTooltipModule, typeof i9.NgbDatepickerModule], [typeof i1.DatePickerComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DatePickerService {
|
|
3
|
+
private showLabel;
|
|
4
|
+
private autocomplete;
|
|
5
|
+
private noAutoCompleteNull;
|
|
6
|
+
private focusInitial;
|
|
7
|
+
private validatorMessage;
|
|
8
|
+
private tooltipMessage;
|
|
9
|
+
private submitted;
|
|
10
|
+
private validatorAlert;
|
|
11
|
+
constructor(showLabel?: boolean, autocomplete?: string, noAutoCompleteNull?: boolean, focusInitial?: boolean, validatorMessage?: boolean, tooltipMessage?: boolean, submitted?: boolean, validatorAlert?: boolean);
|
|
12
|
+
getShowLabel(): boolean;
|
|
13
|
+
getAutocomplete(): string;
|
|
14
|
+
getNoAutoCompleteNull(): boolean;
|
|
15
|
+
getFocusInitial(): boolean;
|
|
16
|
+
getValidatorMessage(): boolean;
|
|
17
|
+
getTooltipMessage(): boolean;
|
|
18
|
+
getSubmitted(): boolean;
|
|
19
|
+
getValidatorAlert(): boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatePickerService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { DatePipe } from '@angular/common';
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import { NgbCalendar, NgbDateStruct, NgbInputDatepicker, NgbTimeStruct, NgbTimepicker } from '@ng-bootstrap/ng-bootstrap';
|
|
5
|
+
import { DateTimePickerService } from './date-time-picker.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DateTimePickerComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
8
|
+
private calendar;
|
|
9
|
+
private datePipe;
|
|
10
|
+
private dateTimePickerService;
|
|
11
|
+
private _render;
|
|
12
|
+
/**
|
|
13
|
+
* @description Formato de la fecha:
|
|
14
|
+
* 'dd/MM/yyyy HH:mm' - 'dd/MM/yyyy HH:mm:ss' - 'M/d/yyyy H:mm:ss'
|
|
15
|
+
* @default 'dd/MM/yyyy HH:mm'
|
|
16
|
+
* @type {string}
|
|
17
|
+
*/
|
|
18
|
+
inputDatetimeFormat: string;
|
|
19
|
+
/**
|
|
20
|
+
* @description Texto superion
|
|
21
|
+
* @default null
|
|
22
|
+
* @type any
|
|
23
|
+
*/
|
|
24
|
+
label: string;
|
|
25
|
+
/**
|
|
26
|
+
* @description Parametro de la visualización del texto superior
|
|
27
|
+
* @default true
|
|
28
|
+
* @type boolean
|
|
29
|
+
*/
|
|
30
|
+
showLabel: boolean;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @description Parametro de control requerido
|
|
34
|
+
* @default false
|
|
35
|
+
* @type boolean
|
|
36
|
+
*/
|
|
37
|
+
required: boolean;
|
|
38
|
+
validatorMessage: boolean;
|
|
39
|
+
tooltipMessage: boolean;
|
|
40
|
+
submitted: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @description Próximo control a hacer focus
|
|
43
|
+
*/
|
|
44
|
+
next: any;
|
|
45
|
+
/**
|
|
46
|
+
* @description Próximo control a hacer focus en caso el NEXT esté deshabilitado
|
|
47
|
+
*/
|
|
48
|
+
nextIsDisable: any;
|
|
49
|
+
/**
|
|
50
|
+
* @description Anterior control a hacer focus
|
|
51
|
+
*/
|
|
52
|
+
back: any;
|
|
53
|
+
/**
|
|
54
|
+
* @description Anterior control a hacer focus en caso el BACK esté deshabilitado
|
|
55
|
+
*/
|
|
56
|
+
backIsDisable: any;
|
|
57
|
+
labelInfo: boolean;
|
|
58
|
+
textLabelInfo: string;
|
|
59
|
+
openWhenFocus: boolean;
|
|
60
|
+
goNextWhenSelect: boolean;
|
|
61
|
+
onNext: EventEmitter<any>;
|
|
62
|
+
onBack: EventEmitter<any>;
|
|
63
|
+
ngbDatepicker: NgbInputDatepicker;
|
|
64
|
+
timePicker: NgbTimepicker;
|
|
65
|
+
btnOpen: ElementRef;
|
|
66
|
+
btnClean: ElementRef;
|
|
67
|
+
controls?: AbstractControl;
|
|
68
|
+
today: import("@ng-bootstrap/ng-bootstrap").NgbDate;
|
|
69
|
+
date: NgbDateStruct | any;
|
|
70
|
+
time: NgbTimeStruct;
|
|
71
|
+
input: any;
|
|
72
|
+
isDisabled: boolean;
|
|
73
|
+
_tempValue: string | null;
|
|
74
|
+
_initValue: boolean;
|
|
75
|
+
constructor(calendar: NgbCalendar, datePipe: DatePipe, dateTimePickerService: DateTimePickerService, _render: Renderer2);
|
|
76
|
+
onChange: (_: any) => void;
|
|
77
|
+
onValidationChange: () => void;
|
|
78
|
+
onTouch: () => void;
|
|
79
|
+
focus: () => void;
|
|
80
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
81
|
+
ngOnInit(): void;
|
|
82
|
+
focusOut(event: any): void;
|
|
83
|
+
onModelDateChange(evt: NgbDateStruct | NgbTimeStruct): void;
|
|
84
|
+
limpiar(): void;
|
|
85
|
+
writeValue(newModel: any): void;
|
|
86
|
+
registerOnChange(fn: any): void;
|
|
87
|
+
registerOnTouched(fn: any): void;
|
|
88
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
89
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
90
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
91
|
+
open(d: NgbInputDatepicker): void;
|
|
92
|
+
goNext(): void;
|
|
93
|
+
goBack(): void;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "date-time-picker", never, { "inputDatetimeFormat": { "alias": "inputDatetimeFormat"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "next": { "alias": "next"; "required": false; }; "nextIsDisable": { "alias": "nextIsDisable"; "required": false; }; "back": { "alias": "back"; "required": false; }; "backIsDisable": { "alias": "backIsDisable"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "openWhenFocus": { "alias": "openWhenFocus"; "required": false; }; "goNextWhenSelect": { "alias": "goNextWhenSelect"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; }, never, never, false, never>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { DateTimePicker } from './date-time-picker';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./date-time-picker.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/router";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
import * as i5 from "../error-message/error-message.module";
|
|
9
|
+
import * as i6 from "../tooltip-message/tooltip-message.module";
|
|
10
|
+
import * as i7 from "@ng-bootstrap/ng-bootstrap";
|
|
11
|
+
import * as i8 from "@angular/material/icon";
|
|
12
|
+
import * as i9 from "@angular/material/tooltip";
|
|
13
|
+
export declare class DateTimePickerModule {
|
|
14
|
+
static forRoot(dateTimePicker?: DateTimePicker): ModuleWithProviders<DateTimePickerModule>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.DateTimePickerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.ErrorMessageModule, typeof i6.TooltipMessageModule, typeof i7.NgbDatepickerModule, typeof i8.MatIconModule, typeof i9.MatTooltipModule, typeof i7.NgbTimepickerModule], [typeof i1.DateTimePickerComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DateTimePickerModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DateTimePickerService {
|
|
3
|
+
private inputDatetimeFormat;
|
|
4
|
+
private showLabel;
|
|
5
|
+
private openWhenFocus;
|
|
6
|
+
private goNextWhenSelect;
|
|
7
|
+
private validatorMessage;
|
|
8
|
+
private tooltipMessage;
|
|
9
|
+
private submitted;
|
|
10
|
+
constructor(inputDatetimeFormat?: string, showLabel?: boolean, openWhenFocus?: boolean, goNextWhenSelect?: boolean, validatorMessage?: boolean, tooltipMessage?: boolean, submitted?: boolean);
|
|
11
|
+
getInputDatetimeFormat(): string;
|
|
12
|
+
getShowLabel(): boolean;
|
|
13
|
+
getOpenWhenFocus(): boolean;
|
|
14
|
+
getGoNextWhenSelect(): boolean;
|
|
15
|
+
getValidatorMessage(): boolean;
|
|
16
|
+
getTooltipMessage(): boolean;
|
|
17
|
+
getSubmitted(): boolean;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateTimePickerService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, FormControl, UntypedFormControl, ValidationErrors } from "@angular/forms";
|
|
3
|
+
import { NgbInputDatepicker } from "@ng-bootstrap/ng-bootstrap";
|
|
4
|
+
import { formatHour } from "../utils/DateTimePickerEditable";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DateTimePickerEditableComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
7
|
+
private _datePipe;
|
|
8
|
+
private _calendar;
|
|
9
|
+
private _dateTimePickerEditableService;
|
|
10
|
+
private _cdrf;
|
|
11
|
+
inputDateTime: any;
|
|
12
|
+
btnOpen: ElementRef;
|
|
13
|
+
btnClean: ElementRef;
|
|
14
|
+
ngbDatepicker: NgbInputDatepicker;
|
|
15
|
+
/**
|
|
16
|
+
* @description Texto superion
|
|
17
|
+
* @default null
|
|
18
|
+
* @type any
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* @description Parametro de la visualización del texto superior
|
|
23
|
+
* @default true
|
|
24
|
+
* @type boolean
|
|
25
|
+
*/
|
|
26
|
+
showLabel: boolean;
|
|
27
|
+
readonly: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @description Parametro de control requerido
|
|
30
|
+
* @default false
|
|
31
|
+
* @type boolean
|
|
32
|
+
*/
|
|
33
|
+
required: boolean;
|
|
34
|
+
validatorMessage: boolean;
|
|
35
|
+
tooltipMessage: boolean;
|
|
36
|
+
submitted: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @description Parametro de formato de fecha: 12 | 14
|
|
39
|
+
* @default 24
|
|
40
|
+
* @type 12 | 14
|
|
41
|
+
*/
|
|
42
|
+
format: formatHour;
|
|
43
|
+
/**
|
|
44
|
+
* @description Próximo control a hacer focus
|
|
45
|
+
*/
|
|
46
|
+
next: any;
|
|
47
|
+
/**
|
|
48
|
+
* @description Próximo control a hacer focus en caso el NEXT esté deshabilitado
|
|
49
|
+
*/
|
|
50
|
+
nextIsDisable: any;
|
|
51
|
+
labelInfo: boolean;
|
|
52
|
+
textLabelInfo: string;
|
|
53
|
+
/**
|
|
54
|
+
* @description Anterior control a hacer focus
|
|
55
|
+
*/
|
|
56
|
+
back: any;
|
|
57
|
+
/**
|
|
58
|
+
* @description Anterior control a hacer focus en caso el BACK esté deshabilitado
|
|
59
|
+
*/
|
|
60
|
+
backIsDisable: any;
|
|
61
|
+
openWhenFocus: boolean;
|
|
62
|
+
goNextWhenSelect: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @description Parametro para mostrar el botón de eliminar
|
|
65
|
+
* @default false
|
|
66
|
+
* @type boolean
|
|
67
|
+
*/
|
|
68
|
+
clearable: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @description Parametro de autocompletado:
|
|
71
|
+
* True: autocompleta con la hora ó minuto actual
|
|
72
|
+
* False: autocompleta con 00:00
|
|
73
|
+
* @default false
|
|
74
|
+
* @type boolean
|
|
75
|
+
*/
|
|
76
|
+
autoCompleteHours: boolean;
|
|
77
|
+
autoComplete: boolean;
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
onNext: EventEmitter<any>;
|
|
80
|
+
onBack: EventEmitter<any>;
|
|
81
|
+
onChange: (_: any) => void;
|
|
82
|
+
onTouch: () => void;
|
|
83
|
+
onValidationChange: () => void;
|
|
84
|
+
controls: AbstractControl | undefined;
|
|
85
|
+
contador: number;
|
|
86
|
+
position: number;
|
|
87
|
+
dateTimeControl: FormControl<string | null>;
|
|
88
|
+
hoursControl: UntypedFormControl;
|
|
89
|
+
dateControl: UntypedFormControl;
|
|
90
|
+
today: import("@ng-bootstrap/ng-bootstrap").NgbDate;
|
|
91
|
+
get stringFormat(): string;
|
|
92
|
+
constructor();
|
|
93
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
94
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
95
|
+
ngOnInit(): void;
|
|
96
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
97
|
+
focus(): void;
|
|
98
|
+
writeValue(obj: any): void;
|
|
99
|
+
registerOnChange(fn: any): void;
|
|
100
|
+
registerOnTouched(fn: any): void;
|
|
101
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
102
|
+
hoursChange(): void;
|
|
103
|
+
onEmit(emitValue?: any): void;
|
|
104
|
+
dateChange(): void;
|
|
105
|
+
onBlur(): void;
|
|
106
|
+
focusOutInput(): void;
|
|
107
|
+
onKeyUp(e: any): void;
|
|
108
|
+
goNext(): void;
|
|
109
|
+
goBack(): void;
|
|
110
|
+
limpiarTodo(): void;
|
|
111
|
+
limpiar(): void;
|
|
112
|
+
preventDefault(e: any): boolean;
|
|
113
|
+
onClick(e: Event, input: HTMLInputElement): void;
|
|
114
|
+
open(d: NgbInputDatepicker): void;
|
|
115
|
+
focusOut(event: any): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerEditableComponent, never>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerEditableComponent, "date-time-picker-editable", never, { "label": { "alias": "label"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "format": { "alias": "format"; "required": false; }; "next": { "alias": "next"; "required": false; }; "nextIsDisable": { "alias": "nextIsDisable"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "back": { "alias": "back"; "required": false; }; "backIsDisable": { "alias": "backIsDisable"; "required": false; }; "openWhenFocus": { "alias": "openWhenFocus"; "required": false; }; "goNextWhenSelect": { "alias": "goNextWhenSelect"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "autoCompleteHours": { "alias": "autoCompleteHours"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; }, never, never, false, never>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { DateTimePickerEditable } from '../utils/DateTimePickerEditable';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./date-time-picker-editable.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@ng-bootstrap/ng-bootstrap";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
import * as i5 from "../tooltip-message/tooltip-message.module";
|
|
9
|
+
import * as i6 from "@angular/material/tooltip";
|
|
10
|
+
import * as i7 from "../error-message/error-message.module";
|
|
11
|
+
export declare class DateTimePickerEditableModule {
|
|
12
|
+
static forRoot(dateTimePicker?: DateTimePickerEditable): ModuleWithProviders<DateTimePickerEditableModule>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerEditableModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerEditableModule, [typeof i1.DateTimePickerEditableComponent], [typeof i2.CommonModule, typeof i3.NgbTimepickerModule, typeof i3.NgbDatepickerModule, typeof i4.ReactiveFormsModule, typeof i5.TooltipMessageModule, typeof i6.MatTooltipModule, typeof i7.ErrorMessageModule], [typeof i1.DateTimePickerEditableComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DateTimePickerEditableModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { formatHour } from '../utils/DateTimePickerEditable';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DateTimePickerEditableService {
|
|
4
|
+
private showLabel;
|
|
5
|
+
private openWhenFocus;
|
|
6
|
+
private goNextWhenSelect;
|
|
7
|
+
private validatorMessage;
|
|
8
|
+
private tooltipMessage;
|
|
9
|
+
private submitted;
|
|
10
|
+
private format;
|
|
11
|
+
private clearable;
|
|
12
|
+
private autoCompleteHours;
|
|
13
|
+
private autoComplete;
|
|
14
|
+
constructor(showLabel?: boolean, openWhenFocus?: boolean, goNextWhenSelect?: boolean, validatorMessage?: boolean, tooltipMessage?: boolean, submitted?: boolean, format?: formatHour, clearable?: boolean, autoCompleteHours?: boolean, autoComplete?: boolean);
|
|
15
|
+
getShowLabel(): boolean;
|
|
16
|
+
getOpenWhenFocus(): boolean;
|
|
17
|
+
getGoNextWhenSelect(): boolean;
|
|
18
|
+
getValidatorMessage(): boolean;
|
|
19
|
+
getTooltipMessage(): boolean;
|
|
20
|
+
getSubmitted(): boolean;
|
|
21
|
+
getFormat(): formatHour;
|
|
22
|
+
getClearable(): boolean;
|
|
23
|
+
getAutoCompleteHours(): boolean;
|
|
24
|
+
getAutoComplete(): boolean;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerEditableService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateTimePickerEditableService>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { AgGridAngular } from 'ag-grid-angular';
|
|
5
|
+
import { GridApi, IsRowSelectable } from 'ag-grid-community';
|
|
6
|
+
import { Observable, Subscription } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DialogAgGridSearchComponent implements OnInit {
|
|
9
|
+
private dialogRef;
|
|
10
|
+
private cdrf;
|
|
11
|
+
btnAceptar: ElementRef;
|
|
12
|
+
btnCancelar: ElementRef;
|
|
13
|
+
elTxtBuscar: ElementRef;
|
|
14
|
+
agGrid?: AgGridAngular;
|
|
15
|
+
onSelectRow: EventEmitter<any>;
|
|
16
|
+
rowData: Observable<any[]>;
|
|
17
|
+
columnDefs: any[];
|
|
18
|
+
columnDefsActions: any[];
|
|
19
|
+
tittle: string;
|
|
20
|
+
txtBuscar: FormControl<string | null>;
|
|
21
|
+
$subscriptiontxtBuscar: Subscription;
|
|
22
|
+
/** BEGIN: Config Ag-Grid */
|
|
23
|
+
rowSelection: string;
|
|
24
|
+
_context: {
|
|
25
|
+
componentParent: any;
|
|
26
|
+
};
|
|
27
|
+
isRowSelectable: IsRowSelectable;
|
|
28
|
+
gridApi: GridApi;
|
|
29
|
+
rowDataSubscription: Subscription;
|
|
30
|
+
disableAceptar: boolean;
|
|
31
|
+
overlayNoRowsTemplate: string;
|
|
32
|
+
overlayLoadingTemplate: string;
|
|
33
|
+
/** END: Config Ag-Grid */
|
|
34
|
+
/** BEGIN: Pagination */
|
|
35
|
+
elbPageSize: ElementRef;
|
|
36
|
+
elbCurrentPage: ElementRef;
|
|
37
|
+
elbTotalPages: ElementRef;
|
|
38
|
+
private _scAgGridPagination?;
|
|
39
|
+
pagination: boolean;
|
|
40
|
+
paginationPageSize: number;
|
|
41
|
+
pageFound: boolean;
|
|
42
|
+
paginas: number[];
|
|
43
|
+
desde: number;
|
|
44
|
+
hasta: number;
|
|
45
|
+
/** END: Pagination */
|
|
46
|
+
constructor(dialogRef: MatDialogRef<DialogAgGridSearchComponent>, cdrf: ChangeDetectorRef, data: any);
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
selectFirstSearch(): void;
|
|
49
|
+
focusLastRow(): void;
|
|
50
|
+
onCellKeyPress(e: any): void;
|
|
51
|
+
guardar(): void;
|
|
52
|
+
closeDialog(): void;
|
|
53
|
+
/** BEGIN: Events Config Ag-Grid */
|
|
54
|
+
onGridReady(gridApi: GridApi): void;
|
|
55
|
+
/** END: Events Config Ag-Grid */
|
|
56
|
+
/** BEGIN: Events de desplazamiento en ag-grid */
|
|
57
|
+
onPaginationChanged(): void;
|
|
58
|
+
onBtFirst(): void;
|
|
59
|
+
onBtPrevious(): void;
|
|
60
|
+
onBtNext(): void;
|
|
61
|
+
onBtLast(): void;
|
|
62
|
+
onPageSizeChanged(evt: any): void;
|
|
63
|
+
onGoToPage(page: any): void;
|
|
64
|
+
/** END: Events de desplazamiento en ag-grid */
|
|
65
|
+
/** BEGIN: UTILS */
|
|
66
|
+
initRowData(): void;
|
|
67
|
+
autoSizeColumns(): void;
|
|
68
|
+
/** END: UTILS */
|
|
69
|
+
get ngStyleContainer(): {
|
|
70
|
+
width: string;
|
|
71
|
+
height: string;
|
|
72
|
+
};
|
|
73
|
+
get ngStyleAgGrid(): {
|
|
74
|
+
width: string;
|
|
75
|
+
height: string;
|
|
76
|
+
};
|
|
77
|
+
onSelectedChange(): void;
|
|
78
|
+
paginationChanged(): void;
|
|
79
|
+
changeFilter(value: string): void;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogAgGridSearchComponent, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogAgGridSearchComponent, "lib-dialog-ag-grid-search", never, { "rowData": { "alias": "rowData"; "required": false; }; "columnDefs": { "alias": "columnDefs"; "required": false; }; "tittle": { "alias": "tittle"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; }, { "onSelectRow": "onSelectRow"; }, never, never, false, never>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog-ag-grid-search.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "ag-grid-angular";
|
|
6
|
+
import * as i5 from "@angular/material/dialog";
|
|
7
|
+
import * as i6 from "../sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.module";
|
|
8
|
+
import * as i7 from "../sc-ag-grid/input-search/input-search.module";
|
|
9
|
+
export declare class DialogAgGridSearchModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogAgGridSearchModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogAgGridSearchModule, [typeof i1.DialogAgGridSearchComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.AgGridModule, typeof i5.MatDialogModule, typeof i6.ScAgGridPaginationModule, typeof i7.InputSearchModule], [typeof i1.DialogAgGridSearchComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogAgGridSearchModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class errorMessageComponent implements OnInit {
|
|
4
|
+
tooltipMessage: boolean | undefined;
|
|
5
|
+
validatorMessage: boolean | undefined;
|
|
6
|
+
controls: any;
|
|
7
|
+
label: any;
|
|
8
|
+
submitted: boolean | undefined;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<errorMessageComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<errorMessageComponent, "error-message", never, { "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "controls": { "alias": "controls"; "required": false; }; "label": { "alias": "label"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./error-message.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/router";
|
|
5
|
+
export declare class ErrorMessageModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessageModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorMessageModule, [typeof i1.errorMessageComponent], [typeof i2.CommonModule, typeof i3.RouterModule], [typeof i1.errorMessageComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ErrorMessageModule>;
|
|
9
|
+
}
|