@corp-products/ui-components 3.4.2 → 3.4.4
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
|
@@ -241,6 +241,7 @@ declare class InputComponent extends BaseInputComponent {
|
|
|
241
241
|
autoResize: boolean;
|
|
242
242
|
basicInput: boolean;
|
|
243
243
|
noStyle: boolean;
|
|
244
|
+
canClear: boolean;
|
|
244
245
|
hideOptionalLabel: boolean;
|
|
245
246
|
inputDirection: 'ltr' | 'rtl' | 'inherit';
|
|
246
247
|
variant: 'in' | 'over' | 'on';
|
|
@@ -248,8 +249,9 @@ declare class InputComponent extends BaseInputComponent {
|
|
|
248
249
|
iconClass?: string;
|
|
249
250
|
iconPosition: 'left' | 'right';
|
|
250
251
|
constructor();
|
|
252
|
+
clearInput(): void;
|
|
251
253
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
252
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "stc-input", never, { "type": { "alias": "type"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "size": { "alias": "size"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "noStyle": { "alias": "noStyle"; "required": false; }; "hideOptionalLabel": { "alias": "hideOptionalLabel"; "required": false; }; "inputDirection": { "alias": "inputDirection"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
254
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "stc-input", never, { "type": { "alias": "type"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "size": { "alias": "size"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "noStyle": { "alias": "noStyle"; "required": false; }; "canClear": { "alias": "canClear"; "required": false; }; "hideOptionalLabel": { "alias": "hideOptionalLabel"; "required": false; }; "inputDirection": { "alias": "inputDirection"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
253
255
|
}
|
|
254
256
|
|
|
255
257
|
interface LabelValue<T> {
|
|
@@ -636,6 +638,7 @@ declare class DualCalendarComponent {
|
|
|
636
638
|
selectedDate: string;
|
|
637
639
|
control: FormControl<any>;
|
|
638
640
|
label: string;
|
|
641
|
+
withTime: boolean;
|
|
639
642
|
mode: 'gregorian' | 'hijri';
|
|
640
643
|
gregorianModel: NgbDateStruct;
|
|
641
644
|
hijriModel: NgbDateStruct;
|
|
@@ -652,7 +655,7 @@ declare class DualCalendarComponent {
|
|
|
652
655
|
showCalender(isOpen: boolean): void;
|
|
653
656
|
formatHijri(h: NgbDate): string;
|
|
654
657
|
static ɵfac: i0.ɵɵFactoryDeclaration<DualCalendarComponent, never>;
|
|
655
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; }, never, never, true, never>;
|
|
658
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; }, never, never, true, never>;
|
|
656
659
|
}
|
|
657
660
|
|
|
658
661
|
declare const WEEKDAYS: {
|