ud-components 0.2.1 → 0.2.3
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,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Styled date picker that participates in the parent FormGroup.
|
|
4
|
+
*
|
|
5
|
+
* Usage:
|
|
6
|
+
* <ud-date-input
|
|
7
|
+
* controlName="birthDate"
|
|
8
|
+
* label="Date of birth"
|
|
9
|
+
* icon="calendar_today" />
|
|
10
|
+
*/
|
|
11
|
+
export declare class DateInputComponent {
|
|
12
|
+
controlName: string;
|
|
13
|
+
label: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
icon?: string;
|
|
16
|
+
iconFontSet: string;
|
|
17
|
+
min?: Date;
|
|
18
|
+
max?: Date;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "ud-date-input", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -28,6 +28,8 @@ export declare class MultiSelectComponent implements OnInit, OnDestroy {
|
|
|
28
28
|
icon?: string;
|
|
29
29
|
iconFontSet: string;
|
|
30
30
|
options: UdSelectOption[];
|
|
31
|
+
/** Set to false for single-select mode — value will be a scalar instead of an array */
|
|
32
|
+
multiple: boolean;
|
|
31
33
|
/** How many chips to show before collapsing into "+N more" */
|
|
32
34
|
maxChipsVisible: number;
|
|
33
35
|
/**
|
|
@@ -46,5 +48,5 @@ export declare class MultiSelectComponent implements OnInit, OnDestroy {
|
|
|
46
48
|
getMoreText(count: number): string;
|
|
47
49
|
private buildLabelMap;
|
|
48
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ud-multi-select", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "options": { "alias": "options"; "required": false; }; "maxChipsVisible": { "alias": "maxChipsVisible"; "required": false; }; "moreText": { "alias": "moreText"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ud-multi-select", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxChipsVisible": { "alias": "maxChipsVisible"; "required": false; }; "moreText": { "alias": "moreText"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
52
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './lib/summary-view/summary-view.component';
|
|
|
14
14
|
export * from './lib/tabs/tabs.component';
|
|
15
15
|
export * from './lib/tel-input/tel-input.component';
|
|
16
16
|
export * from './lib/form-fields/text-input/text-input.component';
|
|
17
|
+
export * from './lib/form-fields/date-input/date-input.component';
|
|
17
18
|
export * from './lib/form-fields/multi-select/multi-select.component';
|
|
18
19
|
export * from './lib/form-fields/pill-toggle/pill-toggle.component';
|
|
19
20
|
export * from './lib/button/button.component';
|