@sgcloud-sgsistemas/angular-components 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { SimpleChanges, EventEmitter, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { SimpleChanges, EventEmitter, ElementRef, TemplateRef, AfterContentInit, QueryList } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { Subject, Observable } from 'rxjs';
|
|
5
|
+
import * as i26 from '@angular/cdk/scrolling';
|
|
5
6
|
|
|
6
7
|
declare class AcButton {
|
|
7
8
|
disabled: boolean;
|
|
@@ -69,14 +70,16 @@ declare abstract class AcInput {
|
|
|
69
70
|
buildTitleSpace: boolean;
|
|
70
71
|
debounce: number;
|
|
71
72
|
onChangeModel: Function | null;
|
|
73
|
+
onBlur: Function | null;
|
|
72
74
|
applyFormatText: Function | null;
|
|
73
75
|
modelChange: EventEmitter<string>;
|
|
74
76
|
private inputSubject;
|
|
75
77
|
constructor();
|
|
76
78
|
ngOnInit(): void;
|
|
77
79
|
onChange(value: string): void;
|
|
80
|
+
onBlurFunction(): void;
|
|
78
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcInput, never>;
|
|
79
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AcInput, never, never, { "model": { "alias": "model"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "buildTitleSpace": { "alias": "buildTitleSpace"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "onChangeModel": { "alias": "onChangeModel"; "required": false; }; "applyFormatText": { "alias": "applyFormatText"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AcInput, never, never, { "model": { "alias": "model"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "buildTitleSpace": { "alias": "buildTitleSpace"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "onChangeModel": { "alias": "onChangeModel"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "applyFormatText": { "alias": "applyFormatText"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
declare class AcInputPassword extends AcInput {
|
|
@@ -101,6 +104,7 @@ declare abstract class AcInputMaskNumber {
|
|
|
101
104
|
buildTitleSpace: boolean;
|
|
102
105
|
debounce: number;
|
|
103
106
|
onChangeModel: Function | null;
|
|
107
|
+
onBlur: Function | null;
|
|
104
108
|
modelChange: EventEmitter<string>;
|
|
105
109
|
inputSubject: Subject<string>;
|
|
106
110
|
formattedValue: string;
|
|
@@ -109,8 +113,9 @@ declare abstract class AcInputMaskNumber {
|
|
|
109
113
|
ngOnChanges(changes: SimpleChanges): void;
|
|
110
114
|
abstract applyMask(value: string | number | undefined, limitLength: boolean): string;
|
|
111
115
|
onChange(value: string): void;
|
|
116
|
+
onBlurFunction(): void;
|
|
112
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<AcInputMaskNumber, never>;
|
|
113
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AcInputMaskNumber, never, never, { "model": { "alias": "model"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "buildTitleSpace": { "alias": "buildTitleSpace"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "onChangeModel": { "alias": "onChangeModel"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
|
|
118
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AcInputMaskNumber, never, never, { "model": { "alias": "model"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "buildTitleSpace": { "alias": "buildTitleSpace"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "onChangeModel": { "alias": "onChangeModel"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
|
|
114
119
|
}
|
|
115
120
|
|
|
116
121
|
declare class AcInputDocumentNumber extends AcInputMaskNumber {
|
|
@@ -206,7 +211,7 @@ declare class AcInputPercentage extends AcInputMaskNumber {
|
|
|
206
211
|
applyMask(value: string | number | undefined): string;
|
|
207
212
|
onChange(value: string): void;
|
|
208
213
|
private emitValue;
|
|
209
|
-
|
|
214
|
+
onBlurInputPercentage(): void;
|
|
210
215
|
onFocus(): void;
|
|
211
216
|
ngOnInit(): void;
|
|
212
217
|
private sanitizeDecimal;
|
|
@@ -236,7 +241,7 @@ declare class AcInputMoney extends AcInputMaskNumber {
|
|
|
236
241
|
applyMask(value: string | number | undefined): string;
|
|
237
242
|
onChange(value: string): void;
|
|
238
243
|
private emitValue;
|
|
239
|
-
|
|
244
|
+
onBlurInputMoney(): void;
|
|
240
245
|
onFocus(): void;
|
|
241
246
|
private sanitizeDecimal;
|
|
242
247
|
ngOnInit(): void;
|
|
@@ -436,10 +441,43 @@ declare class AcList {
|
|
|
436
441
|
static ɵcmp: i0.ɵɵComponentDeclaration<AcList, "ac-list", never, { "columns": { "alias": "columns"; "required": false; }; "list": { "alias": "list"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "sortColumn": { "alias": "sortColumn"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; }, {}, never, never, true, never>;
|
|
437
442
|
}
|
|
438
443
|
|
|
444
|
+
declare class AcListV2Column {
|
|
445
|
+
name: string;
|
|
446
|
+
label?: string;
|
|
447
|
+
sortable: boolean;
|
|
448
|
+
alignColumn: string;
|
|
449
|
+
alignRow: string;
|
|
450
|
+
contentTpl?: TemplateRef<any>;
|
|
451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcListV2Column, never>;
|
|
452
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AcListV2Column, "ac-list-v2-column", never, { "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "alignColumn": { "alias": "alignColumn"; "required": false; }; "alignRow": { "alias": "alignRow"; "required": false; }; }, {}, ["contentTpl"], never, true, never>;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
declare class AcListV2 implements AfterContentInit {
|
|
456
|
+
list: any[];
|
|
457
|
+
itemSize: number;
|
|
458
|
+
columns: QueryList<AcListV2Column>;
|
|
459
|
+
columnsArr: AcListV2Column[];
|
|
460
|
+
sortColumn: string;
|
|
461
|
+
sortDirection: 'ASC' | 'DESC' | 'NONE';
|
|
462
|
+
ngAfterContentInit(): void;
|
|
463
|
+
onSort(column: AcListV2Column): void;
|
|
464
|
+
getSortedList(): any[];
|
|
465
|
+
get shouldUseVirtualScroll(): boolean;
|
|
466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcListV2, never>;
|
|
467
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AcListV2, "ac-list-v2", never, { "list": { "alias": "list"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; }, {}, ["columns"], never, true, never>;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
declare class AcListV2Content {
|
|
471
|
+
template: TemplateRef<any>;
|
|
472
|
+
constructor(template: TemplateRef<any>);
|
|
473
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcListV2Content, never>;
|
|
474
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AcListV2Content, "[ac-list-v2-content]", never, {}, {}, never, never, true, never>;
|
|
475
|
+
}
|
|
476
|
+
|
|
439
477
|
declare class ComponentsModule {
|
|
440
478
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
|
|
441
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, never, [typeof i1.CommonModule, typeof AcButton, typeof AcSwitch, typeof AcCheckBox, typeof AcInputPassword, typeof AcInputText, typeof AcInputDocumentNumber, typeof AcInputPhoneNumber, typeof AcInputDateTime, typeof AcInputDate, typeof AcInputTime, typeof AcInputFile, typeof AcInputPercentage, typeof AcInputNumber, typeof AcInputMoney, typeof AcActionLink, typeof AcSelect, typeof AcPagination, typeof AcNotification, typeof AcProgressBar, typeof AcSideMenu, typeof AcList], [typeof AcButton, typeof AcSwitch, typeof AcCheckBox, typeof AcInputPassword, typeof AcInputText, typeof AcInputDocumentNumber, typeof AcInputPhoneNumber, typeof AcInputDateTime, typeof AcInputDate, typeof AcInputTime, typeof AcInputFile, typeof AcInputPercentage, typeof AcInputNumber, typeof AcInputMoney, typeof AcActionLink, typeof AcSelect, typeof AcPagination, typeof AcNotification, typeof AcProgressBar, typeof AcSideMenu, typeof AcList]>;
|
|
479
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, never, [typeof i1.CommonModule, typeof AcButton, typeof AcSwitch, typeof AcCheckBox, typeof AcInputPassword, typeof AcInputText, typeof AcInputDocumentNumber, typeof AcInputPhoneNumber, typeof AcInputDateTime, typeof AcInputDate, typeof AcInputTime, typeof AcInputFile, typeof AcInputPercentage, typeof AcInputNumber, typeof AcInputMoney, typeof AcActionLink, typeof AcSelect, typeof AcPagination, typeof AcNotification, typeof AcProgressBar, typeof AcSideMenu, typeof AcList, typeof AcListV2, typeof AcListV2Column, typeof AcListV2Content, typeof i26.ScrollingModule], [typeof AcButton, typeof AcSwitch, typeof AcCheckBox, typeof AcInputPassword, typeof AcInputText, typeof AcInputDocumentNumber, typeof AcInputPhoneNumber, typeof AcInputDateTime, typeof AcInputDate, typeof AcInputTime, typeof AcInputFile, typeof AcInputPercentage, typeof AcInputNumber, typeof AcInputMoney, typeof AcActionLink, typeof AcSelect, typeof AcPagination, typeof AcNotification, typeof AcProgressBar, typeof AcSideMenu, typeof AcList, typeof AcListV2, typeof AcListV2Column, typeof AcListV2Content]>;
|
|
442
480
|
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
|
|
443
481
|
}
|
|
444
482
|
|
|
445
|
-
export { AcActionLink, AcButton, AcCheckBox, AcInputDate, AcInputDateTime, AcInputDocumentNumber, AcInputFile, AcInputMoney, AcInputNumber, AcInputPassword, AcInputPercentage, AcInputPhoneNumber, AcInputText, AcInputTime, AcList, AcNotification, AcPagination, AcProgressBar, AcSelect, AcSideMenu, AcSwitch, ComponentsModule };
|
|
483
|
+
export { AcActionLink, AcButton, AcCheckBox, AcInputDate, AcInputDateTime, AcInputDocumentNumber, AcInputFile, AcInputMoney, AcInputNumber, AcInputPassword, AcInputPercentage, AcInputPhoneNumber, AcInputText, AcInputTime, AcList, AcListV2, AcListV2Column, AcListV2Content, AcNotification, AcPagination, AcProgressBar, AcSelect, AcSideMenu, AcSwitch, ComponentsModule };
|