@corp-products/ui-components 4.1.7 → 4.1.9
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,6 +1,6 @@
|
|
|
1
1
|
import { Button } from 'primeng/button';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { TemplateRef, OnInit, EventEmitter, PipeTransform, OnDestroy, SimpleChanges, Type, EnvironmentInjector, ApplicationRef, ViewContainerRef, OnChanges, ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { TemplateRef, OnInit, EventEmitter, PipeTransform, OnDestroy, AfterViewInit, SimpleChanges, Type, EnvironmentInjector, ApplicationRef, ViewContainerRef, OnChanges, ElementRef, Renderer2 } from '@angular/core';
|
|
4
4
|
import { Params, Router, ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { DynamicDialogRef, DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
6
6
|
import { FormGroup, FormControl, ValidatorFn, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
@@ -237,7 +237,7 @@ declare class AutoCompleteComponent extends BaseInputComponent {
|
|
|
237
237
|
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "stc-auto-complete", never, { "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; "items": { "alias": "items"; "required": false; }; "minLengthToSearch": { "alias": "minLengthToSearch"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "typeAhead": { "alias": "typeAhead"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "allowedDomains": { "alias": "allowedDomains"; "required": false; }; }, { "onSearch": "onSearch"; "selectOption": "selectOption"; }, never, never, true, never>;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
declare class DatePickerComponent extends BaseInputComponent {
|
|
240
|
+
declare class DatePickerComponent extends BaseInputComponent implements AfterViewInit {
|
|
241
241
|
showIcon: boolean;
|
|
242
242
|
showClear: boolean;
|
|
243
243
|
basicInput: boolean;
|
|
@@ -253,7 +253,7 @@ declare class DatePickerComponent extends BaseInputComponent {
|
|
|
253
253
|
withoutTime: boolean;
|
|
254
254
|
innerControl: FormControl<Date | null>;
|
|
255
255
|
constructor();
|
|
256
|
-
|
|
256
|
+
ngAfterViewInit(): void;
|
|
257
257
|
selectCurrentTime(e: any): void;
|
|
258
258
|
clearButtonClick(e: any): void;
|
|
259
259
|
afterClearDate(): void;
|
|
@@ -263,7 +263,7 @@ declare class DatePickerComponent extends BaseInputComponent {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
declare class InputComponent extends BaseInputComponent {
|
|
266
|
-
type: 'text' | 'textarea' | 'withIcon';
|
|
266
|
+
type: 'text' | 'textarea' | 'withIcon' | 'number';
|
|
267
267
|
contentType: 'text' | 'email' | 'number';
|
|
268
268
|
size: 'small' | 'large';
|
|
269
269
|
prefix: string;
|
|
@@ -342,7 +342,7 @@ declare class SwitchComponent {
|
|
|
342
342
|
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "stc-switch", never, { "label": { "alias": "label"; "required": false; }; "key": { "alias": "key"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
type InputType = 'text' | 'textarea';
|
|
345
|
+
type InputType = 'text' | 'textarea' | 'number';
|
|
346
346
|
type InputContentType = 'text' | 'email' | 'number';
|
|
347
347
|
interface Dropdown<T = unknown> {
|
|
348
348
|
id?: string;
|