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
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { InputNumberService } from './input-number.service';
|
|
4
|
+
import { SharedComponentsUtil } from '../utils/SharedComponentsUtil';
|
|
5
|
+
import { MessageUtilService } from '../utils/message-util.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class InputNumberComponent implements OnInit, AfterViewInit, OnChanges, ControlValueAccessor {
|
|
8
|
+
private messageUtilService;
|
|
9
|
+
private inputNumberService;
|
|
10
|
+
private _render;
|
|
11
|
+
showLabel: boolean;
|
|
12
|
+
label: any;
|
|
13
|
+
btnEnable: boolean;
|
|
14
|
+
autocomplete: string;
|
|
15
|
+
bold: boolean;
|
|
16
|
+
decimals: number;
|
|
17
|
+
formatCero: boolean;
|
|
18
|
+
maxLength: any;
|
|
19
|
+
next: any;
|
|
20
|
+
nextIsDisable: any;
|
|
21
|
+
back: any;
|
|
22
|
+
backIsDisable: any;
|
|
23
|
+
required: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
validatorMessage: boolean;
|
|
27
|
+
tooltipMessage: boolean;
|
|
28
|
+
submitted: boolean;
|
|
29
|
+
labelInfo: boolean;
|
|
30
|
+
textLabelInfo: string;
|
|
31
|
+
validatorAlert: boolean;
|
|
32
|
+
setNgClass: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
allowNegativeNumbers: boolean;
|
|
35
|
+
onNext: EventEmitter<any>;
|
|
36
|
+
onBack: EventEmitter<any>;
|
|
37
|
+
change: EventEmitter<any>;
|
|
38
|
+
onchange: EventEmitter<any>;
|
|
39
|
+
blur: EventEmitter<any>;
|
|
40
|
+
onfocus: EventEmitter<any>;
|
|
41
|
+
onfocusout: EventEmitter<any>;
|
|
42
|
+
inputText: ElementRef<HTMLInputElement>;
|
|
43
|
+
sharedComponentsUtil: SharedComponentsUtil;
|
|
44
|
+
format: string;
|
|
45
|
+
controls: AbstractControl | null;
|
|
46
|
+
value: any;
|
|
47
|
+
valueEmit: any;
|
|
48
|
+
_initValue: boolean;
|
|
49
|
+
constructor(messageUtilService: MessageUtilService, inputNumberService: InputNumberService, _render: Renderer2);
|
|
50
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
ngAfterViewInit(): void;
|
|
53
|
+
onChange: (_: any) => void;
|
|
54
|
+
onValidationChange: () => void;
|
|
55
|
+
onTouch: () => void;
|
|
56
|
+
focus: () => void;
|
|
57
|
+
onBlur(value: any): void;
|
|
58
|
+
onFocus(evt: any): void;
|
|
59
|
+
onInput(evt: any): void;
|
|
60
|
+
writeValue(value: any): void;
|
|
61
|
+
registerOnChange(fn: any): void;
|
|
62
|
+
registerOnTouched(fn: any): void;
|
|
63
|
+
setDisabledState(isDisabled: boolean): void;
|
|
64
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
65
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
66
|
+
formatNumber(value: any): string | number | null;
|
|
67
|
+
emitValue(value: any): number | null;
|
|
68
|
+
enterKeyUp(): void;
|
|
69
|
+
arrowUpKeyUp(): void;
|
|
70
|
+
onFocusOut(evt: any): void;
|
|
71
|
+
clickEnable(): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "input-number", never, { "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "btnEnable": { "alias": "btnEnable"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "formatCero": { "alias": "formatCero"; "required": false; }; "maxLength": { "alias": "maxLength"; "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; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "validatorAlert": { "alias": "validatorAlert"; "required": false; }; "setNgClass": { "alias": "setNgClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowNegativeNumbers": { "alias": "allowNegativeNumbers"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; "change": "change"; "onchange": "onchange"; "blur": "blur"; "onfocus": "onfocus"; "onfocusout": "onfocusout"; }, never, ["[more-buttons]"], false, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModuleWithProviders } from "@angular/core";
|
|
2
|
+
import { InputNumber } from "./input-number";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./input-number.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/tooltip";
|
|
11
|
+
import * as i8 from "ngx-mask";
|
|
12
|
+
export declare class InputNumberModule {
|
|
13
|
+
static forRoot(inputNumber?: InputNumber): ModuleWithProviders<InputNumberModule>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputNumberModule, [typeof i1.InputNumberComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.ErrorMessageModule, typeof i6.TooltipMessageModule, typeof i7.MatTooltipModule, typeof i8.NgxMaskDirective], [typeof i1.InputNumberComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputNumberModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class InputNumberService {
|
|
3
|
+
private decimals;
|
|
4
|
+
private formatCero;
|
|
5
|
+
private btnEnable;
|
|
6
|
+
private bold;
|
|
7
|
+
private validatorMessage;
|
|
8
|
+
private tooltipMessage;
|
|
9
|
+
private submitted;
|
|
10
|
+
private validatorAlert;
|
|
11
|
+
constructor(decimals?: number, formatCero?: boolean, btnEnable?: boolean, bold?: boolean, validatorMessage?: boolean, tooltipMessage?: boolean, submitted?: boolean, validatorAlert?: boolean);
|
|
12
|
+
getDecimals(): number;
|
|
13
|
+
getFormatCero(): boolean;
|
|
14
|
+
getBtnEnable(): boolean;
|
|
15
|
+
getBold(): boolean;
|
|
16
|
+
getValidatorMessage(): boolean;
|
|
17
|
+
getTooltipMessage(): boolean;
|
|
18
|
+
getSubmitted(): boolean;
|
|
19
|
+
getValidatorAlert(): boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InputNumberService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, Renderer2, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors } from "@angular/forms";
|
|
3
|
+
import { InputTextService } from "./input-text.service";
|
|
4
|
+
import { MessageUtilService } from "../utils/message-util.service";
|
|
5
|
+
import { SharedComponentsUtil } from "../utils/SharedComponentsUtil";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export type Type = "text" | "password" | "email";
|
|
8
|
+
export declare class InputTextComponent implements OnInit, OnChanges, AfterViewInit, ControlValueAccessor {
|
|
9
|
+
private messageUtilService;
|
|
10
|
+
private inputTextService;
|
|
11
|
+
private _render;
|
|
12
|
+
format: string;
|
|
13
|
+
type: Type;
|
|
14
|
+
showLabel: boolean;
|
|
15
|
+
label: any;
|
|
16
|
+
btnEnable: boolean;
|
|
17
|
+
autocomplete: string;
|
|
18
|
+
bold: boolean;
|
|
19
|
+
inputMask: string | null;
|
|
20
|
+
showMaskTyped: boolean;
|
|
21
|
+
next: any;
|
|
22
|
+
nextIsDisable: any;
|
|
23
|
+
back: any;
|
|
24
|
+
backIsDisable: any;
|
|
25
|
+
required: boolean;
|
|
26
|
+
textRight: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
readonly: boolean;
|
|
29
|
+
validatorMessage: boolean;
|
|
30
|
+
tooltipMessage: boolean;
|
|
31
|
+
maxLength: any;
|
|
32
|
+
submitted: boolean;
|
|
33
|
+
validatorAlert: boolean;
|
|
34
|
+
setNgClass: string;
|
|
35
|
+
patterns: any;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
labelInfo: boolean;
|
|
38
|
+
textLabelInfo: string;
|
|
39
|
+
controlCharClearReplace: boolean;
|
|
40
|
+
replaceRegex: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
clearRegex: string;
|
|
44
|
+
onNext: EventEmitter<any>;
|
|
45
|
+
onBack: EventEmitter<any>;
|
|
46
|
+
change: EventEmitter<any>;
|
|
47
|
+
blur: EventEmitter<any>;
|
|
48
|
+
onfocus: EventEmitter<any>;
|
|
49
|
+
onchange: EventEmitter<any>;
|
|
50
|
+
onfocusout: EventEmitter<any>;
|
|
51
|
+
_inputText: ElementRef<HTMLInputElement>;
|
|
52
|
+
controls: AbstractControl | null;
|
|
53
|
+
value: any;
|
|
54
|
+
sharedComponentsUtil: SharedComponentsUtil;
|
|
55
|
+
_initValue: boolean;
|
|
56
|
+
showPassword: boolean;
|
|
57
|
+
constructor(messageUtilService: MessageUtilService, inputTextService: InputTextService, _render: Renderer2);
|
|
58
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
ngAfterViewInit(): void;
|
|
61
|
+
get nativeElement(): HTMLInputElement;
|
|
62
|
+
onChange: (_: any) => void;
|
|
63
|
+
onValidationChange: () => void;
|
|
64
|
+
onTouch: () => void;
|
|
65
|
+
focus: () => void;
|
|
66
|
+
onBlur(value: string): void;
|
|
67
|
+
onFocus(value: string): void;
|
|
68
|
+
onInput(value: string): void;
|
|
69
|
+
writeValue(value: any): void;
|
|
70
|
+
registerOnChange(fn: (v: any) => void): void;
|
|
71
|
+
registerOnTouched(fn: any): void;
|
|
72
|
+
setDisabledState(isDisabled: boolean): void;
|
|
73
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
74
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
75
|
+
formatInput(value: string): string;
|
|
76
|
+
enterKeyUp(): void;
|
|
77
|
+
arrowUpKeyUp(): void;
|
|
78
|
+
onFocusOut(evt: any): void;
|
|
79
|
+
clickEnable(): void;
|
|
80
|
+
clickShowPassword(): void;
|
|
81
|
+
clearCharacters(text: string): string;
|
|
82
|
+
replaceCharacters(text: string): string;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "input-text", never, { "format": { "alias": "format"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "btnEnable": { "alias": "btnEnable"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "inputMask": { "alias": "inputMask"; "required": false; }; "showMaskTyped": { "alias": "showMaskTyped"; "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; }; "textRight": { "alias": "textRight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "validatorAlert": { "alias": "validatorAlert"; "required": false; }; "setNgClass": { "alias": "setNgClass"; "required": false; }; "patterns": { "alias": "patterns"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "controlCharClearReplace": { "alias": "controlCharClearReplace"; "required": false; }; "replaceRegex": { "alias": "replaceRegex"; "required": false; }; "clearRegex": { "alias": "clearRegex"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; "change": "change"; "blur": "blur"; "onfocus": "onfocus"; "onchange": "onchange"; "onfocusout": "onfocusout"; }, never, ["[more-buttons]"], false, never>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class InputText {
|
|
2
|
+
format?: string;
|
|
3
|
+
showLabel?: boolean;
|
|
4
|
+
btnEnable?: boolean;
|
|
5
|
+
bold?: boolean;
|
|
6
|
+
textRight?: boolean;
|
|
7
|
+
validatorMessage?: boolean;
|
|
8
|
+
tooltipMessage?: boolean;
|
|
9
|
+
submitted?: boolean;
|
|
10
|
+
validatorAlert?: boolean;
|
|
11
|
+
controlCharClearReplace?: boolean;
|
|
12
|
+
replaceRegex?: {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
};
|
|
15
|
+
clearRegex?: string;
|
|
16
|
+
}
|
|
17
|
+
export type Format = "M" | "m" | "Mn";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModuleWithProviders } from "@angular/core";
|
|
2
|
+
import { InputText } from "./input-text";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./input-text.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 "ngx-mask";
|
|
13
|
+
export declare class InputTextModule {
|
|
14
|
+
static forRoot(inputText?: InputText): ModuleWithProviders<InputTextModule>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputTextModule, [typeof i1.InputTextComponent], [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.NgxMaskDirective], [typeof i1.InputTextComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputTextModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Format } from "./input-text";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputTextService {
|
|
4
|
+
private format;
|
|
5
|
+
private showLabel;
|
|
6
|
+
private btnEnable;
|
|
7
|
+
private bold;
|
|
8
|
+
private textRight;
|
|
9
|
+
private validatorMessage;
|
|
10
|
+
private tooltipMessage;
|
|
11
|
+
private submitted;
|
|
12
|
+
private validatorAlert;
|
|
13
|
+
private controlCharClearReplace;
|
|
14
|
+
private replaceRegex;
|
|
15
|
+
private clearRegex;
|
|
16
|
+
constructor(format?: Format, showLabel?: boolean, btnEnable?: boolean, bold?: boolean, textRight?: boolean, validatorMessage?: boolean, tooltipMessage?: boolean, submitted?: boolean, validatorAlert?: boolean, controlCharClearReplace?: boolean, replaceRegex?: {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
}, clearRegex?: string);
|
|
19
|
+
getFormat(): Format;
|
|
20
|
+
getShowLabel(): boolean;
|
|
21
|
+
getBtnEnable(): boolean;
|
|
22
|
+
getBold(): boolean;
|
|
23
|
+
getTextRight(): boolean;
|
|
24
|
+
getValidatorMessage(): boolean;
|
|
25
|
+
getTooltipMessage(): boolean;
|
|
26
|
+
getSubmitted(): boolean;
|
|
27
|
+
getValidatorAlert(): boolean;
|
|
28
|
+
getControlCharClearReplace(): boolean;
|
|
29
|
+
getReplaceRegex(): {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
getClearRegex(): string;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InputTextService>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { NgSelectComponent } from '@ng-select/ng-select';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { NgSelectMultipleService } from './ng-select-multiple.service';
|
|
6
|
+
import { SharedComponentsUtil } from '../utils/SharedComponentsUtil';
|
|
7
|
+
import { MessageUtilService } from '../utils/message-util.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class NgSelectMultipleComponent implements OnInit, OnChanges, OnDestroy {
|
|
10
|
+
private cdrf;
|
|
11
|
+
private messageUtilService;
|
|
12
|
+
private ngSelectMultipleService;
|
|
13
|
+
ngSelectMultiple: NgSelectComponent;
|
|
14
|
+
onChange: (_: any) => void;
|
|
15
|
+
onTouched: () => void;
|
|
16
|
+
onValidationChange: () => void;
|
|
17
|
+
items: Observable<any[]>;
|
|
18
|
+
showlimit: number;
|
|
19
|
+
showLabel: boolean;
|
|
20
|
+
label: any;
|
|
21
|
+
autocomplete: string;
|
|
22
|
+
Header: boolean;
|
|
23
|
+
Footer: boolean;
|
|
24
|
+
required: boolean;
|
|
25
|
+
next: any;
|
|
26
|
+
nextIsDisable: any;
|
|
27
|
+
back: any;
|
|
28
|
+
backIsDisable: any;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
openWhenFocus: boolean;
|
|
32
|
+
markFirst: boolean;
|
|
33
|
+
labelInfo: boolean;
|
|
34
|
+
textLabelInfo: string;
|
|
35
|
+
validatorMessage: boolean;
|
|
36
|
+
tooltipMessage: boolean;
|
|
37
|
+
validatorAlert: boolean;
|
|
38
|
+
submitted: boolean;
|
|
39
|
+
refresh: boolean;
|
|
40
|
+
isForFilter: boolean;
|
|
41
|
+
appendTo: any;
|
|
42
|
+
Language: any;
|
|
43
|
+
virtualScroll: boolean;
|
|
44
|
+
loading: boolean;
|
|
45
|
+
loadingText: string;
|
|
46
|
+
onNext: EventEmitter<any>;
|
|
47
|
+
onBack: EventEmitter<any>;
|
|
48
|
+
change: EventEmitter<any>;
|
|
49
|
+
blur: EventEmitter<any>;
|
|
50
|
+
onfocus: EventEmitter<any>;
|
|
51
|
+
onrefresh: EventEmitter<any>;
|
|
52
|
+
sharedComponentsUtil: SharedComponentsUtil;
|
|
53
|
+
_value: any;
|
|
54
|
+
controls: any;
|
|
55
|
+
all: any;
|
|
56
|
+
checkedAll: boolean;
|
|
57
|
+
checkedIndeterminate: boolean;
|
|
58
|
+
private subscriptions;
|
|
59
|
+
constructor(cdrf: ChangeDetectorRef, messageUtilService: MessageUtilService, ngSelectMultipleService: NgSelectMultipleService);
|
|
60
|
+
ngOnDestroy(): void;
|
|
61
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
62
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
63
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
64
|
+
carga(): Promise<void>;
|
|
65
|
+
checkIfObservable(items: any): boolean;
|
|
66
|
+
eventFocus(e: any): void;
|
|
67
|
+
eventBlur(e: any): void;
|
|
68
|
+
focus: () => void;
|
|
69
|
+
onRefresh(): void;
|
|
70
|
+
close: () => void;
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
setAll(): void;
|
|
73
|
+
writeValue(value: any): void;
|
|
74
|
+
registerOnChange(fn: any): void;
|
|
75
|
+
registerOnTouched(fn: any): void;
|
|
76
|
+
setDisabledState(isDisabled: boolean): void;
|
|
77
|
+
selectAll(e: any): void;
|
|
78
|
+
eventChange(e: any): void;
|
|
79
|
+
rightKeyUp(): void;
|
|
80
|
+
leftKeyUp(): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectMultipleComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgSelectMultipleComponent, "ng-select-multiple", never, { "items": { "alias": "items"; "required": false; }; "showlimit": { "alias": "showlimit"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "Header": { "alias": "Header"; "required": false; }; "Footer": { "alias": "Footer"; "required": false; }; "required": { "alias": "required"; "required": false; }; "next": { "alias": "next"; "required": false; }; "nextIsDisable": { "alias": "nextIsDisable"; "required": false; }; "back": { "alias": "back"; "required": false; }; "backIsDisable": { "alias": "backIsDisable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "openWhenFocus": { "alias": "openWhenFocus"; "required": false; }; "markFirst": { "alias": "markFirst"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "validatorAlert": { "alias": "validatorAlert"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "isForFilter": { "alias": "isForFilter"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "Language": { "alias": "Language"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; "change": "change"; "blur": "blur"; "onfocus": "onfocus"; "onrefresh": "onrefresh"; }, never, ["[more-buttons]"], false, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class NgSelectMultiple {
|
|
2
|
+
showlimit?: number;
|
|
3
|
+
Header?: boolean;
|
|
4
|
+
Footer?: boolean;
|
|
5
|
+
validatorMessage?: boolean;
|
|
6
|
+
tooltipMessage?: boolean;
|
|
7
|
+
openWhenFocus?: boolean;
|
|
8
|
+
submitted?: boolean;
|
|
9
|
+
validatorAlert?: boolean;
|
|
10
|
+
appendTo?: string;
|
|
11
|
+
loadingText?: string;
|
|
12
|
+
markFirst?: boolean;
|
|
13
|
+
virtualScroll?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModuleWithProviders } from "@angular/core";
|
|
2
|
+
import { NgSelectMultiple } from "./ng-select-multiple";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./ng-select-multiple.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../error-message/error-message.module";
|
|
8
|
+
import * as i5 from "../tooltip-message/tooltip-message.module";
|
|
9
|
+
import * as i6 from "@ng-select/ng-select";
|
|
10
|
+
import * as i7 from "@angular/material/checkbox";
|
|
11
|
+
import * as i8 from "@angular/material/tooltip";
|
|
12
|
+
export declare class NgSelectMultipleModule {
|
|
13
|
+
static forRoot(ngSelectMultiple?: NgSelectMultiple): ModuleWithProviders<NgSelectMultipleModule>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectMultipleModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectMultipleModule, [typeof i1.NgSelectMultipleComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.ErrorMessageModule, typeof i5.TooltipMessageModule, typeof i6.NgSelectModule, typeof i7.MatCheckboxModule, typeof i8.MatTooltipModule], [typeof i1.NgSelectMultipleComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectMultipleModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class NgSelectMultipleService {
|
|
3
|
+
private showlimit;
|
|
4
|
+
private Header;
|
|
5
|
+
private Footer;
|
|
6
|
+
private markFirst;
|
|
7
|
+
private openWhenFocus;
|
|
8
|
+
private validatorMessage;
|
|
9
|
+
private tooltipMessage;
|
|
10
|
+
private validatorAlert;
|
|
11
|
+
private submitted;
|
|
12
|
+
private appendTo;
|
|
13
|
+
private loadingText;
|
|
14
|
+
private virtualScroll;
|
|
15
|
+
constructor(showlimit?: number, Header?: boolean, Footer?: boolean, markFirst?: boolean, openWhenFocus?: boolean, validatorMessage?: boolean, tooltipMessage?: boolean, validatorAlert?: boolean, submitted?: boolean, appendTo?: string, loadingText?: string, virtualScroll?: boolean);
|
|
16
|
+
getShowlimit(): number;
|
|
17
|
+
getHeader(): boolean;
|
|
18
|
+
getFooter(): boolean;
|
|
19
|
+
getMarkFirst(): boolean;
|
|
20
|
+
getOpenWhenFocus(): boolean;
|
|
21
|
+
getValidatorMessage(): boolean;
|
|
22
|
+
getTooltipMessage(): boolean;
|
|
23
|
+
getValidatorAlert(): boolean;
|
|
24
|
+
getSubmitted(): boolean;
|
|
25
|
+
getAppendTo(): string;
|
|
26
|
+
getLoadingText(): string;
|
|
27
|
+
getVirtualScroll(): boolean;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectMultipleService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NgSelectMultipleService>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
+
import { AbstractControl, ValidationErrors } from "@angular/forms";
|
|
3
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
4
|
+
import { NgSelectComponent } from "@ng-select/ng-select";
|
|
5
|
+
import { Observable } from "rxjs";
|
|
6
|
+
import { MessageUtilService } from "../utils/message-util.service";
|
|
7
|
+
import { SharedComponentsUtil } from "../utils/SharedComponentsUtil";
|
|
8
|
+
import { ValidateUtil } from "../utils/ValidateUtil";
|
|
9
|
+
import { NgSelectSimpleService } from "./ng-select-simple.service";
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class SearchParams {
|
|
12
|
+
columnDefs: ColumnDefs[];
|
|
13
|
+
title: string;
|
|
14
|
+
width: string;
|
|
15
|
+
rowData: Observable<any[]>;
|
|
16
|
+
constructor(columnDefs?: ColumnDefs[], title?: string, width?: string, rowData?: Observable<any[]>);
|
|
17
|
+
}
|
|
18
|
+
export declare class ColumnDefs {
|
|
19
|
+
headerName?: string;
|
|
20
|
+
field?: string;
|
|
21
|
+
width?: string;
|
|
22
|
+
cellRenderer?: any;
|
|
23
|
+
valueGetter?: (field: any) => string | string;
|
|
24
|
+
sortable?: boolean;
|
|
25
|
+
resizable?: boolean;
|
|
26
|
+
cellClass?: string[];
|
|
27
|
+
cellStyle?: {};
|
|
28
|
+
valueFormatter?: any;
|
|
29
|
+
pinned?: string;
|
|
30
|
+
sort?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class NgSelectSimpleComponent implements OnInit, OnChanges, OnDestroy {
|
|
33
|
+
private messageUtilService;
|
|
34
|
+
dialog: MatDialog;
|
|
35
|
+
private ngSelectSimpleService;
|
|
36
|
+
ngSelectSimple: NgSelectComponent;
|
|
37
|
+
btnSearch: ElementRef;
|
|
38
|
+
showLabel: boolean;
|
|
39
|
+
label: any;
|
|
40
|
+
autocomplete: string;
|
|
41
|
+
next: any;
|
|
42
|
+
nextIsDisable: any;
|
|
43
|
+
back: any;
|
|
44
|
+
backIsDisable: any;
|
|
45
|
+
required: boolean;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
readonly: boolean;
|
|
48
|
+
validatorMessage: boolean;
|
|
49
|
+
tooltipMessage: boolean;
|
|
50
|
+
openWhenFocus: boolean;
|
|
51
|
+
searchBy: string;
|
|
52
|
+
markFirstItem: boolean;
|
|
53
|
+
markWhenHaveOneItem: boolean;
|
|
54
|
+
submitted: boolean;
|
|
55
|
+
setNgClass: string;
|
|
56
|
+
searchable: boolean;
|
|
57
|
+
validatorAlert: boolean;
|
|
58
|
+
upperCase: boolean;
|
|
59
|
+
templateLabel: TemplateRef<any> | null;
|
|
60
|
+
appendTo: string;
|
|
61
|
+
items: Observable<any[]>;
|
|
62
|
+
loading: boolean;
|
|
63
|
+
loadingText: string;
|
|
64
|
+
clearAllText: string;
|
|
65
|
+
notFoundText: string;
|
|
66
|
+
markFirst: boolean;
|
|
67
|
+
clearable: boolean;
|
|
68
|
+
clearOnBackspace: boolean;
|
|
69
|
+
virtualScroll: boolean;
|
|
70
|
+
openOnEnter: boolean;
|
|
71
|
+
refresh: boolean;
|
|
72
|
+
isRefreshDisabled: boolean;
|
|
73
|
+
search: boolean;
|
|
74
|
+
redirect: boolean;
|
|
75
|
+
searchParams: SearchParams;
|
|
76
|
+
labelInfo: boolean;
|
|
77
|
+
textLabelInfo: string;
|
|
78
|
+
urlRedirect: string;
|
|
79
|
+
titleRedirect: string;
|
|
80
|
+
isRedirectDisabled: boolean;
|
|
81
|
+
onNext: EventEmitter<any>;
|
|
82
|
+
onBack: EventEmitter<any>;
|
|
83
|
+
change: EventEmitter<any>;
|
|
84
|
+
blur: EventEmitter<any>;
|
|
85
|
+
onfocus: EventEmitter<any>;
|
|
86
|
+
onrefresh: EventEmitter<any>;
|
|
87
|
+
onsearch: EventEmitter<any>;
|
|
88
|
+
validateUtil: ValidateUtil;
|
|
89
|
+
sharedComponentsUtil: SharedComponentsUtil;
|
|
90
|
+
allItems: never[];
|
|
91
|
+
_value: any;
|
|
92
|
+
controls: any;
|
|
93
|
+
private subscriptions;
|
|
94
|
+
onChange: (_: any) => void;
|
|
95
|
+
onValidationChange: () => void;
|
|
96
|
+
onTouched: () => void;
|
|
97
|
+
focus: () => void;
|
|
98
|
+
close: () => void;
|
|
99
|
+
openEnlace(): void;
|
|
100
|
+
constructor(messageUtilService: MessageUtilService, dialog: MatDialog, ngSelectSimpleService: NgSelectSimpleService);
|
|
101
|
+
ngOnDestroy(): void;
|
|
102
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
103
|
+
carga(): Promise<void>;
|
|
104
|
+
ngOnInit(): void;
|
|
105
|
+
getObject(obj: any, key: any): any;
|
|
106
|
+
writeValue(value: any): void;
|
|
107
|
+
registerOnChange(fn: any): void;
|
|
108
|
+
registerOnTouched(fn: any): void;
|
|
109
|
+
setDisabledState(isDisabled: boolean): void;
|
|
110
|
+
validate(control: AbstractControl): ValidationErrors | any;
|
|
111
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
112
|
+
eventChange(e: any): void;
|
|
113
|
+
eventBlur(e: any): void;
|
|
114
|
+
eventFocus(e: any): void;
|
|
115
|
+
eventSearch(e: any): void;
|
|
116
|
+
enterKeyUp(): void;
|
|
117
|
+
leftKeyUp(): void;
|
|
118
|
+
clear(): void;
|
|
119
|
+
onRefresh(): void;
|
|
120
|
+
onSearch(): Promise<void>;
|
|
121
|
+
f1KeyUp(): void;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectSimpleComponent, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgSelectSimpleComponent, "ng-select-simple", 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; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "validatorMessage": { "alias": "validatorMessage"; "required": false; }; "tooltipMessage": { "alias": "tooltipMessage"; "required": false; }; "openWhenFocus": { "alias": "openWhenFocus"; "required": false; }; "searchBy": { "alias": "searchBy"; "required": false; }; "markFirstItem": { "alias": "markFirstItem"; "required": false; }; "markWhenHaveOneItem": { "alias": "markWhenHaveOneItem"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "setNgClass": { "alias": "setNgClass"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "validatorAlert": { "alias": "validatorAlert"; "required": false; }; "upperCase": { "alias": "upperCase"; "required": false; }; "templateLabel": { "alias": "templateLabel"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "items": { "alias": "items"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "markFirst": { "alias": "markFirst"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "openOnEnter": { "alias": "openOnEnter"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "isRefreshDisabled": { "alias": "isRefreshDisabled"; "required": false; }; "search": { "alias": "search"; "required": false; }; "redirect": { "alias": "redirect"; "required": false; }; "searchParams": { "alias": "searchParams"; "required": false; }; "labelInfo": { "alias": "labelInfo"; "required": false; }; "textLabelInfo": { "alias": "textLabelInfo"; "required": false; }; "urlRedirect": { "alias": "urlRedirect"; "required": false; }; "titleRedirect": { "alias": "titleRedirect"; "required": false; }; "isRedirectDisabled": { "alias": "isRedirectDisabled"; "required": false; }; }, { "onNext": "onNext"; "onBack": "onBack"; "change": "change"; "blur": "blur"; "onfocus": "onfocus"; "onrefresh": "onrefresh"; "onsearch": "onsearch"; }, never, ["[more-buttons]"], false, never>;
|
|
124
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class NgSelectSimple {
|
|
2
|
+
validatorMessage?: boolean;
|
|
3
|
+
tooltipMessage?: boolean;
|
|
4
|
+
openWhenFocus?: boolean;
|
|
5
|
+
searchBy?: string;
|
|
6
|
+
markFirstItem?: boolean;
|
|
7
|
+
submitted?: boolean;
|
|
8
|
+
searchable?: boolean;
|
|
9
|
+
validatorAlert?: boolean;
|
|
10
|
+
upperCase?: boolean;
|
|
11
|
+
appendTo?: string;
|
|
12
|
+
loadingText?: string;
|
|
13
|
+
clearAllText?: string;
|
|
14
|
+
markFirst?: boolean;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
clearOnBackspace?: boolean;
|
|
17
|
+
virtualScroll?: boolean;
|
|
18
|
+
openOnEnter?: boolean;
|
|
19
|
+
notFoundText?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModuleWithProviders } from "@angular/core";
|
|
2
|
+
import { NgSelectSimple } from "./ng-select-simple";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./ng-select-simple.component";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../error-message/error-message.module";
|
|
8
|
+
import * as i5 from "../tooltip-message/tooltip-message.module";
|
|
9
|
+
import * as i6 from "@angular/material/tooltip";
|
|
10
|
+
import * as i7 from "@ng-select/ng-select";
|
|
11
|
+
import * as i8 from "../dialog-ag-grid-search/dialog-ag-grid-search.module";
|
|
12
|
+
export declare class NgSelectSimpleModule {
|
|
13
|
+
static forRoot(ngSelectSimple?: NgSelectSimple): ModuleWithProviders<NgSelectSimpleModule>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectSimpleModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectSimpleModule, [typeof i1.NgSelectSimpleComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.ErrorMessageModule, typeof i5.TooltipMessageModule, typeof i6.MatTooltipModule, typeof i7.NgSelectModule, typeof i8.DialogAgGridSearchModule], [typeof i1.NgSelectSimpleComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectSimpleModule>;
|
|
17
|
+
}
|