ud-components 0.2.9 → 0.3.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.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Styled date range picker that participates in the parent FormGroup.
|
|
4
|
+
* Requires two sibling FormControls — one for the start date, one for the end.
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* <ud-date-range-input
|
|
8
|
+
* startControlName="checkIn"
|
|
9
|
+
* endControlName="checkOut"
|
|
10
|
+
* label="Stay period"
|
|
11
|
+
* icon="date_range" />
|
|
12
|
+
*/
|
|
13
|
+
export declare class DateRangeInputComponent {
|
|
14
|
+
startControlName: string;
|
|
15
|
+
endControlName: string;
|
|
16
|
+
label: string;
|
|
17
|
+
icon?: string;
|
|
18
|
+
iconFontSet: string;
|
|
19
|
+
startPlaceholder: string;
|
|
20
|
+
endPlaceholder: string;
|
|
21
|
+
min?: Date;
|
|
22
|
+
max?: Date;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeInputComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeInputComponent, "ud-date-range-input", never, { "startControlName": { "alias": "startControlName"; "required": true; }; "endControlName": { "alias": "endControlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export * from './lib/tel-input/tel-input.component';
|
|
|
16
16
|
export * from './lib/form-fields/text-input/text-input.component';
|
|
17
17
|
export * from './lib/form-fields/autocomplete/autocomplete.component';
|
|
18
18
|
export * from './lib/form-fields/date-input/date-input.component';
|
|
19
|
+
export * from './lib/form-fields/date-range-input/date-range-input.component';
|
|
19
20
|
export * from './lib/form-fields/multi-select/multi-select.component';
|
|
20
21
|
export * from './lib/form-fields/pill-toggle/pill-toggle.component';
|
|
21
22
|
export * from './lib/form-fields/time-picker/time-picker.component';
|