@norwegian/core-components 6.0.3 → 6.2.0
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/esm2022/lib/components/accordion/accordion.component.mjs +17 -12
- package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +1 -1
- package/esm2022/lib/components/airport-select/airport-select.component.mjs +13 -1
- package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +7 -1
- package/esm2022/lib/components/backdrop/backdrop.component.mjs +3 -1
- package/esm2022/lib/components/box/box.component.mjs +4 -4
- package/esm2022/lib/components/button/button.component.mjs +5 -1
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -1
- package/esm2022/lib/components/chip/chip.component.mjs +2 -7
- package/esm2022/lib/components/container/container.component.mjs +1 -1
- package/esm2022/lib/components/continue/continue.component.mjs +6 -1
- package/esm2022/lib/components/cover/cover.component.mjs +1 -1
- package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +1 -1
- package/esm2022/lib/components/datepicker/datepicker.component.mjs +16 -1
- package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +17 -1
- package/esm2022/lib/components/divider/divider.component.mjs +1 -1
- package/esm2022/lib/components/dropdown/dropdown.component.mjs +2 -1
- package/esm2022/lib/components/filter/filter.component.mjs +36 -2
- package/esm2022/lib/components/grid/grid.component.mjs +1 -1
- package/esm2022/lib/components/icon/icon.component.mjs +1 -1
- package/esm2022/lib/components/icon-list/icon-list.component.mjs +1 -1
- package/esm2022/lib/components/icon-list/icon-list.model.mjs +1 -1
- package/esm2022/lib/components/info/info.component.mjs +5 -4
- package/esm2022/lib/components/input/input.component.mjs +6 -1
- package/esm2022/lib/components/journey/journey.component.mjs +5 -7
- package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +7 -5
- package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +22 -25
- package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +12 -4
- package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +18 -20
- package/esm2022/lib/components/list/list.component.mjs +1 -1
- package/esm2022/lib/components/modal/modal.component.mjs +5 -7
- package/esm2022/lib/components/number-field/number-field.component.mjs +4 -2
- package/esm2022/lib/components/page-footer/page-footer.component.mjs +2 -4
- package/esm2022/lib/components/page-header/page-header.component.mjs +30 -12
- package/esm2022/lib/components/page-header/page-header.module.mjs +5 -4
- package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +1 -1
- package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +11 -7
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +11 -15
- package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +3 -4
- package/esm2022/lib/components/radio/radio.component.mjs +4 -2
- package/esm2022/lib/components/select/select.component.mjs +11 -7
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +1 -1
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +9 -5
- package/esm2022/lib/components/slider/slider.component.mjs +32 -18
- package/esm2022/lib/components/sort/sort.component.mjs +11 -7
- package/esm2022/lib/components/spinner/spinner.component.mjs +13 -18
- package/esm2022/lib/components/subsidy-discount/subsidy-discount.component.mjs +13 -7
- package/esm2022/lib/components/suggestions/suggestions.component.mjs +3 -2
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +3 -2
- package/esm2022/lib/components/table/table.component.mjs +1 -3
- package/esm2022/lib/components/textarea/textarea.component.mjs +6 -1
- package/esm2022/lib/components/toggle/toggle.component.mjs +5 -5
- package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +26 -31
- package/esm2022/lib/components/weather-icon/weather-icon.component.mjs +3 -2
- package/fesm2022/norwegian-core-components.mjs +371 -221
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +81 -78
- package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +2 -2
- package/lib/components/airport-select/airport-select.component.d.ts +38 -2
- package/lib/components/autocomplete/autocomplete.component.d.ts +15 -2
- package/lib/components/backdrop/backdrop.component.d.ts +3 -0
- package/lib/components/box/box.component.d.ts +13 -3
- package/lib/components/button/button.component.d.ts +26 -0
- package/lib/components/checkbox/checkbox.component.d.ts +18 -2
- package/lib/components/chip/chip.component.d.ts +5 -21
- package/lib/components/container/container.component.d.ts +6 -0
- package/lib/components/continue/continue.component.d.ts +14 -0
- package/lib/components/cover/cover.component.d.ts +13 -3
- package/lib/components/datepicker/calendar/calendar.component.d.ts +2 -2
- package/lib/components/datepicker/datepicker.component.d.ts +33 -2
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +42 -0
- package/lib/components/divider/divider.component.d.ts +9 -0
- package/lib/components/dropdown/dropdown.component.d.ts +8 -0
- package/lib/components/filter/filter.component.d.ts +108 -2
- package/lib/components/grid/grid.component.d.ts +12 -0
- package/lib/components/icon/icon.component.d.ts +5 -8
- package/lib/components/icon-list/icon-list.component.d.ts +5 -0
- package/lib/components/icon-list/icon-list.model.d.ts +1 -0
- package/lib/components/info/info.component.d.ts +7 -18
- package/lib/components/input/input.component.d.ts +30 -5
- package/lib/components/journey/journey.component.d.ts +9 -16
- package/lib/components/journey-availability/journey-availability.component.d.ts +8 -8
- package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +29 -34
- package/lib/components/journey-selection/journey-selection.component.d.ts +14 -3
- package/lib/components/journey-stopover/journey-stopover.component.d.ts +35 -43
- package/lib/components/list/list.component.d.ts +8 -0
- package/lib/components/modal/modal.component.d.ts +16 -34
- package/lib/components/number-field/number-field.component.d.ts +26 -12
- package/lib/components/page-footer/page-footer.component.d.ts +9 -16
- package/lib/components/page-header/page-header.component.d.ts +30 -15
- package/lib/components/page-header/page-header.module.d.ts +2 -1
- package/lib/components/passenger-select/models/passengers.model.d.ts +2 -2
- package/lib/components/passenger-select/passenger-select.component.d.ts +33 -18
- package/lib/components/phone-number/phone-number.component.d.ts +80 -108
- package/lib/components/premium-toggle/premium-toggle.component.d.ts +9 -13
- package/lib/components/radio/radio.component.d.ts +35 -18
- package/lib/components/select/select.component.d.ts +47 -29
- package/lib/components/simple-list/simple-list.component.d.ts +16 -8
- package/lib/components/slide-toggle/slide-toggle.component.d.ts +16 -9
- package/lib/components/slider/slider.component.d.ts +51 -28
- package/lib/components/sort/sort.component.d.ts +12 -7
- package/lib/components/spinner/spinner.component.d.ts +24 -37
- package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +14 -7
- package/lib/components/suggestions/suggestions.component.d.ts +6 -3
- package/lib/components/tab-group/tab-group.component.d.ts +6 -3
- package/lib/components/table/table.component.d.ts +3 -8
- package/lib/components/textarea/textarea.component.d.ts +42 -20
- package/lib/components/toggle/toggle.component.d.ts +44 -68
- package/lib/components/trip-summary/trip-summary.component.d.ts +68 -82
- package/lib/components/weather-icon/weather-icon.component.d.ts +12 -6
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { DatePipe } from '@angular/common';
|
|
6
6
|
import { ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
7
|
-
import {
|
|
7
|
+
import { FormGroup } from '@angular/forms';
|
|
8
8
|
import { WeekStart } from './enums/week-start.enum';
|
|
9
9
|
import { DayModel } from './models/day.model';
|
|
10
10
|
import { SelectOptionModel } from './models/select-option.model';
|
|
@@ -91,7 +91,7 @@ export declare class CalendarComponent extends NasComponentBase implements OnIni
|
|
|
91
91
|
set activeDate(date: UtcDate);
|
|
92
92
|
get selectedDate(): UtcDate;
|
|
93
93
|
set selectedDate(date: UtcDate);
|
|
94
|
-
nasFormGroup:
|
|
94
|
+
nasFormGroup: FormGroup;
|
|
95
95
|
nasFormControlName: string;
|
|
96
96
|
dateDisplayFormat: string;
|
|
97
97
|
ariaLabelPreviousMonth: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { DatePipe } from '@angular/common';
|
|
6
6
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
7
|
-
import {
|
|
7
|
+
import { FormGroup } from '@angular/forms';
|
|
8
8
|
import { CalendarComponent } from './calendar/calendar.component';
|
|
9
9
|
import { SelectOptionModel } from './calendar/models/select-option.model';
|
|
10
10
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
@@ -31,102 +31,121 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
31
31
|
datePickerContent: ElementRef;
|
|
32
32
|
timeSelector: SelectComponent;
|
|
33
33
|
/**
|
|
34
|
+
* @property Input
|
|
34
35
|
* @description
|
|
35
36
|
* Adds 'aria-label' to the backdrops.
|
|
36
37
|
*/
|
|
37
38
|
ariaLabelBackdrop: string;
|
|
38
39
|
/**
|
|
40
|
+
* @property Input
|
|
39
41
|
* @description
|
|
40
42
|
* A boolean value when set will disable showing the backdrop on popup open
|
|
41
43
|
*/
|
|
42
44
|
disableBackdrop: boolean;
|
|
43
45
|
/**
|
|
46
|
+
* @property Input
|
|
44
47
|
* @description
|
|
45
48
|
* Label for no available flights.
|
|
46
49
|
*/
|
|
47
50
|
noAvailableFlightsLabel: string;
|
|
48
51
|
/**
|
|
52
|
+
* @property Input
|
|
49
53
|
* @description
|
|
50
54
|
* Label for available flights.
|
|
51
55
|
*/
|
|
52
56
|
availableFlightsLabel: string;
|
|
53
57
|
/**
|
|
58
|
+
* @property Input
|
|
54
59
|
* @description
|
|
55
60
|
* Disable possibility to select dates in the past.
|
|
56
61
|
*/
|
|
57
62
|
disablePastSelection: boolean;
|
|
58
63
|
/**
|
|
64
|
+
* @property Input
|
|
59
65
|
* @description
|
|
60
66
|
* The lowest date allowed.
|
|
61
67
|
*/
|
|
62
68
|
get lowerLimitDate(): UtcDate;
|
|
63
69
|
set lowerLimitDate(date: UtcDate);
|
|
64
70
|
/**
|
|
71
|
+
* @property Input
|
|
65
72
|
* @description
|
|
66
73
|
* Sets the datepicker in availability mode where available dates can be added.
|
|
67
74
|
*/
|
|
68
75
|
availability: boolean;
|
|
69
76
|
/**
|
|
77
|
+
* @property Input
|
|
70
78
|
* @description
|
|
71
79
|
* An array with all the available (selectable) dates of the month.
|
|
72
80
|
*/
|
|
73
81
|
availableDates: Array<UtcDate>;
|
|
74
82
|
/**
|
|
83
|
+
* @property Input
|
|
75
84
|
* @description
|
|
76
85
|
* boolean value to disable or enable the input of the date picker.
|
|
77
86
|
*/
|
|
78
87
|
get disabled(): boolean;
|
|
79
88
|
set disabled(value: boolean);
|
|
80
89
|
/**
|
|
90
|
+
* @property Input
|
|
81
91
|
* @description
|
|
82
92
|
* A place holder string for the input for date picker.
|
|
83
93
|
*/
|
|
84
94
|
placeholder: string;
|
|
85
95
|
/**
|
|
96
|
+
* @property Input
|
|
86
97
|
* @description
|
|
87
98
|
* this will set the required attribute on the input so suer has to date-picker the date.
|
|
88
99
|
*/
|
|
89
100
|
required: boolean;
|
|
90
101
|
/**
|
|
102
|
+
* @property Input
|
|
91
103
|
* @description
|
|
92
104
|
* Is used to indicate the IDs of the elements that describe the date picker input.
|
|
93
105
|
*/
|
|
94
106
|
ariaDescribedby: string;
|
|
95
107
|
/**
|
|
108
|
+
* @property Input
|
|
96
109
|
* @description
|
|
97
110
|
* Aria label for input that enables date-picker popup once clicked. For accessibility web standards.
|
|
98
111
|
*/
|
|
99
112
|
ariaLabel: string;
|
|
100
113
|
/**
|
|
114
|
+
* @property Input
|
|
101
115
|
* @description
|
|
102
116
|
* The display format of the date when user has selected the date and it is being shown in the input box for the date picker.
|
|
103
117
|
* Please look at the angular Date pipe for valid formats and variations.
|
|
104
118
|
*/
|
|
105
119
|
dateDisplayFormat: string;
|
|
106
120
|
/**
|
|
121
|
+
* @property Input
|
|
107
122
|
* @description
|
|
108
123
|
* The time display format.
|
|
109
124
|
*/
|
|
110
125
|
timeDisplayFormat: string;
|
|
111
126
|
/**
|
|
127
|
+
* @property Input
|
|
112
128
|
* @description
|
|
113
129
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
114
130
|
* This requires that registerLocaleData is called with the respective locale.
|
|
115
131
|
*/
|
|
116
132
|
locale: string;
|
|
117
133
|
/**
|
|
134
|
+
* @property Input
|
|
118
135
|
* @description
|
|
119
136
|
* A modifier to remove the padding and margins around the element.
|
|
120
137
|
*/
|
|
121
138
|
compact: boolean;
|
|
122
139
|
/**
|
|
140
|
+
* @property Input
|
|
123
141
|
* @description
|
|
124
142
|
* Adds the parent's form group.
|
|
125
143
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
126
144
|
* It is requiered to be filled if nasFormControlName added.
|
|
127
145
|
*/
|
|
128
|
-
nasFormGroup:
|
|
146
|
+
nasFormGroup: FormGroup;
|
|
129
147
|
/**
|
|
148
|
+
* @property Input
|
|
130
149
|
* @description
|
|
131
150
|
* Sets a formControlName directive to the input.
|
|
132
151
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
@@ -134,24 +153,28 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
134
153
|
*/
|
|
135
154
|
nasFormControlName: string;
|
|
136
155
|
/**
|
|
156
|
+
* @property Input
|
|
137
157
|
* @description
|
|
138
158
|
* An array of times to be added in the time selector.
|
|
139
159
|
*/
|
|
140
160
|
get times(): Array<UtcDate>;
|
|
141
161
|
set times(times: Array<UtcDate>);
|
|
142
162
|
/**
|
|
163
|
+
* @property Input
|
|
143
164
|
* @description
|
|
144
165
|
* The calendar is open or closed.
|
|
145
166
|
*/
|
|
146
167
|
get open(): boolean;
|
|
147
168
|
set open(open: boolean);
|
|
148
169
|
/**
|
|
170
|
+
* @property Input
|
|
149
171
|
* @description
|
|
150
172
|
* Set selected month.
|
|
151
173
|
*/
|
|
152
174
|
get selectedMonth(): UtcDate;
|
|
153
175
|
set selectedMonth(month: UtcDate);
|
|
154
176
|
/**
|
|
177
|
+
* @property Input
|
|
155
178
|
* @description
|
|
156
179
|
* Gets or sets the selected Date in the date picker. Setting this date will highlight the date in the date picker
|
|
157
180
|
* and user can change it by clicking from any other enabled dates
|
|
@@ -160,42 +183,50 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
|
|
|
160
183
|
get selectedDate(): UtcDate;
|
|
161
184
|
set selectedDate(date: UtcDate);
|
|
162
185
|
/**
|
|
186
|
+
* @property Input
|
|
163
187
|
* @description
|
|
164
188
|
* Sets the selected time in the time selector.
|
|
165
189
|
*/
|
|
166
190
|
get selectedTime(): UtcDate;
|
|
167
191
|
set selectedTime(time: UtcDate);
|
|
168
192
|
/**
|
|
193
|
+
* @property Input
|
|
169
194
|
* @description
|
|
170
195
|
* ARIA label for the previous month button in the calendar.
|
|
171
196
|
*/
|
|
172
197
|
ariaLabelPreviousMonth: string;
|
|
173
198
|
/**
|
|
199
|
+
* @property Input
|
|
174
200
|
* @description
|
|
175
201
|
* ARIA label for the next month button in the calendar.
|
|
176
202
|
*/
|
|
177
203
|
ariaLabelNextMonth: string;
|
|
178
204
|
/**
|
|
205
|
+
* @property Output
|
|
179
206
|
* @description
|
|
180
207
|
* Date selected by the user by clicking in date-picker date-box.
|
|
181
208
|
*/
|
|
182
209
|
selectedDateChange: EventEmitter<UtcDate>;
|
|
183
210
|
/**
|
|
211
|
+
* @property Output
|
|
184
212
|
* @description
|
|
185
213
|
* Month selected by the user by clicking in drop down for month selection or month navigation buttons.
|
|
186
214
|
*/
|
|
187
215
|
selectedMonthChange: EventEmitter<UtcDate>;
|
|
188
216
|
/**
|
|
217
|
+
* @property Output
|
|
189
218
|
* @description
|
|
190
219
|
* The calendar is open or closed.
|
|
191
220
|
*/
|
|
192
221
|
openChange: EventEmitter<boolean>;
|
|
193
222
|
/**
|
|
223
|
+
* @property Output
|
|
194
224
|
* @description
|
|
195
225
|
* When a user has actively changed the date.
|
|
196
226
|
*/
|
|
197
227
|
focusOnNextChange: EventEmitter<KeyboardEvent | MouseEvent>;
|
|
198
228
|
/**
|
|
229
|
+
* @property Output
|
|
199
230
|
* @description
|
|
200
231
|
* When a user has pressed shift + tab to go to previous control.
|
|
201
232
|
*/
|
|
@@ -23,105 +23,125 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
23
23
|
datepickerInbound: ElementRef;
|
|
24
24
|
container: ElementRef;
|
|
25
25
|
/**
|
|
26
|
+
* @property Input
|
|
26
27
|
* @description
|
|
27
28
|
* Adds 'aria-label' to the backdrops.
|
|
28
29
|
*/
|
|
29
30
|
ariaLabelBackdrop: string;
|
|
30
31
|
/**
|
|
32
|
+
* @property Input
|
|
31
33
|
* @description
|
|
32
34
|
* Sets outbound datepicker open.
|
|
33
35
|
*/
|
|
34
36
|
get outboundOpen(): boolean;
|
|
35
37
|
set outboundOpen(value: boolean);
|
|
36
38
|
/**
|
|
39
|
+
* @property Input
|
|
37
40
|
* @description
|
|
38
41
|
* Sets inbound datepicker open.
|
|
39
42
|
*/
|
|
40
43
|
get inboundOpen(): boolean;
|
|
41
44
|
set inboundOpen(value: boolean);
|
|
42
45
|
/**
|
|
46
|
+
* @property Input
|
|
43
47
|
* @description
|
|
44
48
|
* Label for no available flights.
|
|
45
49
|
*/
|
|
46
50
|
noAvailableFlightsLabel: string;
|
|
47
51
|
/**
|
|
52
|
+
* @property Input
|
|
48
53
|
* @description
|
|
49
54
|
* Label for available flights.
|
|
50
55
|
*/
|
|
51
56
|
availableFlightsLabel: string;
|
|
52
57
|
/**
|
|
58
|
+
* @property Input
|
|
53
59
|
* @description
|
|
54
60
|
* Disable possibility to select dates in the past.
|
|
55
61
|
*/
|
|
56
62
|
disablePastSelection: boolean;
|
|
57
63
|
/**
|
|
64
|
+
* @property Input
|
|
58
65
|
* @description
|
|
59
66
|
* Disable possibility to select outbound dates.
|
|
60
67
|
*/
|
|
61
68
|
outboundDisabled: boolean;
|
|
62
69
|
/**
|
|
70
|
+
* @property Input
|
|
63
71
|
* @description
|
|
64
72
|
* Disable possibility to select inbound dates.
|
|
65
73
|
*/
|
|
66
74
|
inboundDisabled: boolean;
|
|
67
75
|
/**
|
|
76
|
+
* @property Input
|
|
68
77
|
* @description
|
|
69
78
|
* Remove the inbound datepicker if set.
|
|
70
79
|
*/
|
|
71
80
|
outboundOnly: boolean;
|
|
72
81
|
/**
|
|
82
|
+
* @property Input
|
|
73
83
|
* @description
|
|
74
84
|
* Label for outbound datepicker.
|
|
75
85
|
*/
|
|
76
86
|
outboundLabel: string;
|
|
77
87
|
/**
|
|
88
|
+
* @property Input
|
|
78
89
|
* @description
|
|
79
90
|
* Label for inbound datepicker.
|
|
80
91
|
*/
|
|
81
92
|
inboundLabel: string;
|
|
82
93
|
/**
|
|
94
|
+
* @property Input
|
|
83
95
|
* @description
|
|
84
96
|
* Sets the datepickers in availability mode where available dates can be added.
|
|
85
97
|
*/
|
|
86
98
|
availability: boolean;
|
|
87
99
|
/**
|
|
100
|
+
* @property Input
|
|
88
101
|
* @description
|
|
89
102
|
* Available dates for outbound calendar.
|
|
90
103
|
*/
|
|
91
104
|
outboundAvailableDates: Array<UtcDate>;
|
|
92
105
|
/**
|
|
106
|
+
* @property Input
|
|
93
107
|
* @description
|
|
94
108
|
* Available dates for inbound calendar.
|
|
95
109
|
*/
|
|
96
110
|
inboundAvailableDates: Array<UtcDate>;
|
|
97
111
|
/**
|
|
112
|
+
* @property Input
|
|
98
113
|
* @description
|
|
99
114
|
* If set, Enables the time dropdown selector alongside datepicker.
|
|
100
115
|
*/
|
|
101
116
|
times: Array<UtcDate>;
|
|
102
117
|
/**
|
|
118
|
+
* @property Input
|
|
103
119
|
* @description
|
|
104
120
|
* The display format of the date when user has selected the date and it is being shown in the input box for the date picker.
|
|
105
121
|
* Please look at the angular Date pipe for valid formats and variations.
|
|
106
122
|
*/
|
|
107
123
|
dateDisplayFormat: string;
|
|
108
124
|
/**
|
|
125
|
+
* @property Input
|
|
109
126
|
* @description
|
|
110
127
|
* The time display format.
|
|
111
128
|
*/
|
|
112
129
|
timeDisplayFormat: string;
|
|
113
130
|
/**
|
|
131
|
+
* @property Input
|
|
114
132
|
* @description
|
|
115
133
|
* A locale code for the locale format rules to use. When not supplied, uses the value of LOCALE_ID, which is en-US by default.
|
|
116
134
|
* This requires that registerLocaleData is called with the respective locale.
|
|
117
135
|
*/
|
|
118
136
|
locale: string;
|
|
119
137
|
/**
|
|
138
|
+
* @property Input
|
|
120
139
|
* @description
|
|
121
140
|
* A modifier to remove the padding and margins around the element.
|
|
122
141
|
*/
|
|
123
142
|
compact: boolean;
|
|
124
143
|
/**
|
|
144
|
+
* @property Input
|
|
125
145
|
* @description
|
|
126
146
|
* Adds the parent's form group.
|
|
127
147
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
@@ -129,6 +149,7 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
129
149
|
*/
|
|
130
150
|
nasFormGroup: FormGroup;
|
|
131
151
|
/**
|
|
152
|
+
* @property Input
|
|
132
153
|
* @description
|
|
133
154
|
* Sets a formControlName directive to the input.
|
|
134
155
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
@@ -136,6 +157,7 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
136
157
|
*/
|
|
137
158
|
nasFormControlNameOutbound: string;
|
|
138
159
|
/**
|
|
160
|
+
* @property Input
|
|
139
161
|
* @description
|
|
140
162
|
* Sets a formControlName directive to the input.
|
|
141
163
|
* It requires that the consumer included ReactiveFormsModule in it's module.
|
|
@@ -143,39 +165,51 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
143
165
|
*/
|
|
144
166
|
nasFormControlNameInbound: string;
|
|
145
167
|
/**
|
|
168
|
+
* @property Input
|
|
146
169
|
* @description
|
|
147
170
|
* Selected datefor outbound calendar.
|
|
148
171
|
*/
|
|
149
172
|
get outboundSelectedDate(): UtcDate;
|
|
150
173
|
set outboundSelectedDate(date: UtcDate);
|
|
151
174
|
/**
|
|
175
|
+
* @property Input
|
|
152
176
|
* @description
|
|
153
177
|
* Selected datefor inbound calendar.
|
|
154
178
|
*/
|
|
155
179
|
get inboundSelectedDate(): UtcDate;
|
|
156
180
|
set inboundSelectedDate(date: UtcDate);
|
|
181
|
+
/**
|
|
182
|
+
* @property Input
|
|
183
|
+
* @description
|
|
184
|
+
* enable to disable backdrop.
|
|
185
|
+
*/
|
|
157
186
|
disableBackdrop: boolean;
|
|
158
187
|
/**
|
|
188
|
+
* @property Input
|
|
159
189
|
* @description
|
|
160
190
|
* Sets the outbound selected time in the time selector.
|
|
161
191
|
*/
|
|
162
192
|
outboundSelectedTime: UtcDate;
|
|
163
193
|
/**
|
|
194
|
+
* @property Input
|
|
164
195
|
* @description
|
|
165
196
|
* Sets the inbound selected time in the time selector.
|
|
166
197
|
*/
|
|
167
198
|
inboundSelectedTime: UtcDate;
|
|
168
199
|
/**
|
|
200
|
+
* @property Input
|
|
169
201
|
* @description
|
|
170
202
|
* ARIA label for the previous month button in the calendar.
|
|
171
203
|
*/
|
|
172
204
|
ariaLabelPreviousMonth: string;
|
|
173
205
|
/**
|
|
206
|
+
* @property Input
|
|
174
207
|
* @description
|
|
175
208
|
* ARIA label for the next month button in the calendar.
|
|
176
209
|
*/
|
|
177
210
|
ariaLabelNextMonth: string;
|
|
178
211
|
/**
|
|
212
|
+
* @property Input
|
|
179
213
|
* @description
|
|
180
214
|
* Sets a relative number to decide when the inbound lower limit date should be based on selected outbound date.
|
|
181
215
|
*
|
|
@@ -186,41 +220,49 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
186
220
|
*/
|
|
187
221
|
inboundLowerLimitDateOffset: number;
|
|
188
222
|
/**
|
|
223
|
+
* @property Output
|
|
189
224
|
* @description
|
|
190
225
|
* When selected datehas been changed on the outbound calendar.
|
|
191
226
|
*/
|
|
192
227
|
outboundSelectedDateChange: EventEmitter<UtcDate>;
|
|
193
228
|
/**
|
|
229
|
+
* @property Output
|
|
194
230
|
* @description
|
|
195
231
|
* When selected datehas been changed on the inbound calendar.
|
|
196
232
|
*/
|
|
197
233
|
inboundSelectedDateChange: EventEmitter<UtcDate>;
|
|
198
234
|
/**
|
|
235
|
+
* @property Output
|
|
199
236
|
* @description
|
|
200
237
|
* Outbound datepicker is open or closed.
|
|
201
238
|
*/
|
|
202
239
|
outboundOpenChange: EventEmitter<boolean>;
|
|
203
240
|
/**
|
|
241
|
+
* @property Output
|
|
204
242
|
* @description
|
|
205
243
|
* Inbound datepicker is open or closed.
|
|
206
244
|
*/
|
|
207
245
|
inboundOpenChange: EventEmitter<boolean>;
|
|
208
246
|
/**
|
|
247
|
+
* @property Output
|
|
209
248
|
* @description
|
|
210
249
|
* Outbound calendar changes month.
|
|
211
250
|
*/
|
|
212
251
|
outboundMonthChange: EventEmitter<UtcDate>;
|
|
213
252
|
/**
|
|
253
|
+
* @property Output
|
|
214
254
|
* @description
|
|
215
255
|
* Inbound calendar changes month.
|
|
216
256
|
*/
|
|
217
257
|
inboundMonthChange: EventEmitter<UtcDate>;
|
|
218
258
|
/**
|
|
259
|
+
* @property Output
|
|
219
260
|
* @description
|
|
220
261
|
* When a user has actively changed the date.
|
|
221
262
|
*/
|
|
222
263
|
focusOnNextChange: EventEmitter<any>;
|
|
223
264
|
/**
|
|
265
|
+
* @property Output
|
|
224
266
|
* @description
|
|
225
267
|
* When a user has pressed shift + tab to go to previous control.
|
|
226
268
|
*/
|
|
@@ -7,46 +7,55 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DividerComponent extends NasComponentBase {
|
|
9
9
|
/**
|
|
10
|
+
* @property Input
|
|
10
11
|
* @description
|
|
11
12
|
* Sets text on the divider. If set to false the divider will not display any text.
|
|
12
13
|
*/
|
|
13
14
|
text: string;
|
|
14
15
|
/**
|
|
16
|
+
* @property Input
|
|
15
17
|
* @description
|
|
16
18
|
* Boolean to give the divider a double look.
|
|
17
19
|
*/
|
|
18
20
|
double: boolean;
|
|
19
21
|
/**
|
|
22
|
+
* @property Input
|
|
20
23
|
* @description
|
|
21
24
|
* Boolean to give the divider a dotted look.
|
|
22
25
|
*/
|
|
23
26
|
dotted: boolean;
|
|
24
27
|
/**
|
|
28
|
+
* @property Input
|
|
25
29
|
* @description
|
|
26
30
|
* Boolean to give the divider a dashed look.
|
|
27
31
|
*/
|
|
28
32
|
dashed: boolean;
|
|
29
33
|
/**
|
|
34
|
+
* @property Input
|
|
30
35
|
* @description
|
|
31
36
|
* Boolean to give the divider large spacing.
|
|
32
37
|
*/
|
|
33
38
|
spaceLarge: boolean;
|
|
34
39
|
/**
|
|
40
|
+
* @property Input
|
|
35
41
|
* @description
|
|
36
42
|
* Boolean to give the divider light color.
|
|
37
43
|
*/
|
|
38
44
|
light: boolean;
|
|
39
45
|
/**
|
|
46
|
+
* @property Input
|
|
40
47
|
* @description
|
|
41
48
|
* Boolean to give the divider dark color.
|
|
42
49
|
*/
|
|
43
50
|
dark: boolean;
|
|
44
51
|
/**
|
|
52
|
+
* @property Input
|
|
45
53
|
* @description
|
|
46
54
|
* Boolean to give the divider secondary color.
|
|
47
55
|
*/
|
|
48
56
|
secondary: boolean;
|
|
49
57
|
/**
|
|
58
|
+
* @property Input
|
|
50
59
|
* @description
|
|
51
60
|
* Boolean to give the divider primary color.
|
|
52
61
|
*/
|
|
@@ -18,41 +18,49 @@ export declare class DropdownComponent extends NasComponentBase implements OnIni
|
|
|
18
18
|
contentParent: ElementRef;
|
|
19
19
|
useInline: boolean;
|
|
20
20
|
/**
|
|
21
|
+
* @property Input
|
|
21
22
|
* @description
|
|
22
23
|
* The ID of the component
|
|
23
24
|
*/
|
|
24
25
|
id: string;
|
|
25
26
|
/**
|
|
27
|
+
* @property Input
|
|
26
28
|
* @description
|
|
27
29
|
* Adds 'aria-label' to the backdrops.
|
|
28
30
|
*/
|
|
29
31
|
ariaLabelBackdrop: string;
|
|
30
32
|
/**
|
|
33
|
+
* @property Input
|
|
31
34
|
* @description
|
|
32
35
|
* Adds custom CSS class to the dropdown.
|
|
33
36
|
*/
|
|
34
37
|
cssClass: ClassModel;
|
|
35
38
|
/**
|
|
39
|
+
* @property Input
|
|
36
40
|
* @description
|
|
37
41
|
* Sets inline styling on the dropdown
|
|
38
42
|
*/
|
|
39
43
|
inline: boolean;
|
|
40
44
|
/**
|
|
45
|
+
* @property Input
|
|
41
46
|
* @description
|
|
42
47
|
* Sets the label on the dropdown.
|
|
43
48
|
*/
|
|
44
49
|
label: string;
|
|
45
50
|
/**
|
|
51
|
+
* @property Input
|
|
46
52
|
* @description
|
|
47
53
|
* Sets stretched styling.
|
|
48
54
|
*/
|
|
49
55
|
stretched?: boolean;
|
|
50
56
|
/**
|
|
57
|
+
* @property Input
|
|
51
58
|
* @description
|
|
52
59
|
* Adds custom styling to the label.
|
|
53
60
|
*/
|
|
54
61
|
labelStyle: any;
|
|
55
62
|
/**
|
|
63
|
+
* @property Output
|
|
56
64
|
* @description
|
|
57
65
|
* An event that is fired every time the dropdown is toggled.
|
|
58
66
|
*/
|