@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.
Files changed (111) hide show
  1. package/esm2022/lib/components/accordion/accordion.component.mjs +17 -12
  2. package/esm2022/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.mjs +1 -1
  3. package/esm2022/lib/components/airport-select/airport-select.component.mjs +13 -1
  4. package/esm2022/lib/components/autocomplete/autocomplete.component.mjs +7 -1
  5. package/esm2022/lib/components/backdrop/backdrop.component.mjs +3 -1
  6. package/esm2022/lib/components/box/box.component.mjs +4 -4
  7. package/esm2022/lib/components/button/button.component.mjs +5 -1
  8. package/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -1
  9. package/esm2022/lib/components/chip/chip.component.mjs +2 -7
  10. package/esm2022/lib/components/container/container.component.mjs +1 -1
  11. package/esm2022/lib/components/continue/continue.component.mjs +6 -1
  12. package/esm2022/lib/components/cover/cover.component.mjs +1 -1
  13. package/esm2022/lib/components/datepicker/calendar/calendar.component.mjs +1 -1
  14. package/esm2022/lib/components/datepicker/datepicker.component.mjs +16 -1
  15. package/esm2022/lib/components/datepicker-combo/datepicker-combo.component.mjs +17 -1
  16. package/esm2022/lib/components/divider/divider.component.mjs +1 -1
  17. package/esm2022/lib/components/dropdown/dropdown.component.mjs +2 -1
  18. package/esm2022/lib/components/filter/filter.component.mjs +36 -2
  19. package/esm2022/lib/components/grid/grid.component.mjs +1 -1
  20. package/esm2022/lib/components/icon/icon.component.mjs +1 -1
  21. package/esm2022/lib/components/icon-list/icon-list.component.mjs +1 -1
  22. package/esm2022/lib/components/icon-list/icon-list.model.mjs +1 -1
  23. package/esm2022/lib/components/info/info.component.mjs +5 -4
  24. package/esm2022/lib/components/input/input.component.mjs +6 -1
  25. package/esm2022/lib/components/journey/journey.component.mjs +5 -7
  26. package/esm2022/lib/components/journey-availability/journey-availability.component.mjs +7 -5
  27. package/esm2022/lib/components/journey-availability-list/journey-availability-list.component.mjs +22 -25
  28. package/esm2022/lib/components/journey-selection/journey-selection.component.mjs +12 -4
  29. package/esm2022/lib/components/journey-stopover/journey-stopover.component.mjs +18 -20
  30. package/esm2022/lib/components/list/list.component.mjs +1 -1
  31. package/esm2022/lib/components/modal/modal.component.mjs +5 -7
  32. package/esm2022/lib/components/number-field/number-field.component.mjs +4 -2
  33. package/esm2022/lib/components/page-footer/page-footer.component.mjs +2 -4
  34. package/esm2022/lib/components/page-header/page-header.component.mjs +30 -12
  35. package/esm2022/lib/components/page-header/page-header.module.mjs +5 -4
  36. package/esm2022/lib/components/passenger-select/models/passengers.model.mjs +1 -1
  37. package/esm2022/lib/components/passenger-select/passenger-select.component.mjs +11 -7
  38. package/esm2022/lib/components/phone-number/phone-number.component.mjs +11 -15
  39. package/esm2022/lib/components/premium-toggle/premium-toggle.component.mjs +3 -4
  40. package/esm2022/lib/components/radio/radio.component.mjs +4 -2
  41. package/esm2022/lib/components/select/select.component.mjs +11 -7
  42. package/esm2022/lib/components/simple-list/simple-list.component.mjs +1 -1
  43. package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +9 -5
  44. package/esm2022/lib/components/slider/slider.component.mjs +32 -18
  45. package/esm2022/lib/components/sort/sort.component.mjs +11 -7
  46. package/esm2022/lib/components/spinner/spinner.component.mjs +13 -18
  47. package/esm2022/lib/components/subsidy-discount/subsidy-discount.component.mjs +13 -7
  48. package/esm2022/lib/components/suggestions/suggestions.component.mjs +3 -2
  49. package/esm2022/lib/components/tab-group/tab-group.component.mjs +3 -2
  50. package/esm2022/lib/components/table/table.component.mjs +1 -3
  51. package/esm2022/lib/components/textarea/textarea.component.mjs +6 -1
  52. package/esm2022/lib/components/toggle/toggle.component.mjs +5 -5
  53. package/esm2022/lib/components/trip-summary/trip-summary.component.mjs +26 -31
  54. package/esm2022/lib/components/weather-icon/weather-icon.component.mjs +3 -2
  55. package/fesm2022/norwegian-core-components.mjs +371 -221
  56. package/fesm2022/norwegian-core-components.mjs.map +1 -1
  57. package/lib/components/accordion/accordion.component.d.ts +81 -78
  58. package/lib/components/airport-select/airport-select-dropdown/airport-select-dropdown.component.d.ts +2 -2
  59. package/lib/components/airport-select/airport-select.component.d.ts +38 -2
  60. package/lib/components/autocomplete/autocomplete.component.d.ts +15 -2
  61. package/lib/components/backdrop/backdrop.component.d.ts +3 -0
  62. package/lib/components/box/box.component.d.ts +13 -3
  63. package/lib/components/button/button.component.d.ts +26 -0
  64. package/lib/components/checkbox/checkbox.component.d.ts +18 -2
  65. package/lib/components/chip/chip.component.d.ts +5 -21
  66. package/lib/components/container/container.component.d.ts +6 -0
  67. package/lib/components/continue/continue.component.d.ts +14 -0
  68. package/lib/components/cover/cover.component.d.ts +13 -3
  69. package/lib/components/datepicker/calendar/calendar.component.d.ts +2 -2
  70. package/lib/components/datepicker/datepicker.component.d.ts +33 -2
  71. package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +42 -0
  72. package/lib/components/divider/divider.component.d.ts +9 -0
  73. package/lib/components/dropdown/dropdown.component.d.ts +8 -0
  74. package/lib/components/filter/filter.component.d.ts +108 -2
  75. package/lib/components/grid/grid.component.d.ts +12 -0
  76. package/lib/components/icon/icon.component.d.ts +5 -8
  77. package/lib/components/icon-list/icon-list.component.d.ts +5 -0
  78. package/lib/components/icon-list/icon-list.model.d.ts +1 -0
  79. package/lib/components/info/info.component.d.ts +7 -18
  80. package/lib/components/input/input.component.d.ts +30 -5
  81. package/lib/components/journey/journey.component.d.ts +9 -16
  82. package/lib/components/journey-availability/journey-availability.component.d.ts +8 -8
  83. package/lib/components/journey-availability-list/journey-availability-list.component.d.ts +29 -34
  84. package/lib/components/journey-selection/journey-selection.component.d.ts +14 -3
  85. package/lib/components/journey-stopover/journey-stopover.component.d.ts +35 -43
  86. package/lib/components/list/list.component.d.ts +8 -0
  87. package/lib/components/modal/modal.component.d.ts +16 -34
  88. package/lib/components/number-field/number-field.component.d.ts +26 -12
  89. package/lib/components/page-footer/page-footer.component.d.ts +9 -16
  90. package/lib/components/page-header/page-header.component.d.ts +30 -15
  91. package/lib/components/page-header/page-header.module.d.ts +2 -1
  92. package/lib/components/passenger-select/models/passengers.model.d.ts +2 -2
  93. package/lib/components/passenger-select/passenger-select.component.d.ts +33 -18
  94. package/lib/components/phone-number/phone-number.component.d.ts +80 -108
  95. package/lib/components/premium-toggle/premium-toggle.component.d.ts +9 -13
  96. package/lib/components/radio/radio.component.d.ts +35 -18
  97. package/lib/components/select/select.component.d.ts +47 -29
  98. package/lib/components/simple-list/simple-list.component.d.ts +16 -8
  99. package/lib/components/slide-toggle/slide-toggle.component.d.ts +16 -9
  100. package/lib/components/slider/slider.component.d.ts +51 -28
  101. package/lib/components/sort/sort.component.d.ts +12 -7
  102. package/lib/components/spinner/spinner.component.d.ts +24 -37
  103. package/lib/components/subsidy-discount/subsidy-discount.component.d.ts +14 -7
  104. package/lib/components/suggestions/suggestions.component.d.ts +6 -3
  105. package/lib/components/tab-group/tab-group.component.d.ts +6 -3
  106. package/lib/components/table/table.component.d.ts +3 -8
  107. package/lib/components/textarea/textarea.component.d.ts +42 -20
  108. package/lib/components/toggle/toggle.component.d.ts +44 -68
  109. package/lib/components/trip-summary/trip-summary.component.d.ts +68 -82
  110. package/lib/components/weather-icon/weather-icon.component.d.ts +12 -6
  111. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { UntypedFormGroup } from '@angular/forms';
1
+ import { FormGroup } from '@angular/forms';
2
2
  import { NasComponentBase, ClassModel } from '../../core';
3
3
  import { EventEmitter } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
@@ -11,97 +11,114 @@ import * as i0 from "@angular/core";
11
11
  export declare class RadioComponent extends NasComponentBase {
12
12
  private checkedValue;
13
13
  /**
14
+ * @property Input
14
15
  * @description
15
- * The ID of the native input element
16
+ * The ID of the native input element
16
17
  */
17
18
  id: string;
18
19
  /**
20
+ * @property Input
19
21
  * @description
20
22
  * The value of the radio button, represented as a string
21
- */
23
+ */
22
24
  value: string;
23
25
  /**
26
+ * @property Input
24
27
  * @description
25
28
  * Sets the name attribute of the native radio input
26
- */
29
+ */
27
30
  name: string;
28
31
  /**
32
+ * @property Input
29
33
  * @description
30
34
  * Sets error styling of the radio input
31
- */
35
+ */
32
36
  error: boolean;
33
37
  /**
38
+ * @property Input
34
39
  * @description
35
40
  * Sets the radio input disabled with disabled styling. This will not work in combination with reactive forms.
36
- */
41
+ */
37
42
  disabled: boolean;
38
43
  /**
44
+ * @property Input
39
45
  * @description
40
46
  * Sets the radio component to strong styling
41
- */
47
+ */
42
48
  strong: boolean;
43
49
  /**
50
+ * @property Input
44
51
  * @description
45
52
  * Sets the display css property to block
46
- */
53
+ */
47
54
  block: boolean;
48
55
  /**
56
+ * @property Input
49
57
  * @description
50
58
  * Removed the bottom margin
51
- */
59
+ */
52
60
  spaceless: boolean;
53
61
  /**
62
+ * @property Input
54
63
  * @description
55
64
  * String to set tabIndex on native input element
56
- */
65
+ */
57
66
  tabIndex: number;
58
67
  /**
68
+ * @property Input
59
69
  * @description
60
70
  * Sets required attribute on native radio input element
61
- */
71
+ */
62
72
  required: boolean;
63
73
  /**
74
+ * @property Input
64
75
  * @description
65
76
  * Used to set the 'aria-label' attribute on the underlying input element.
66
- */
77
+ */
67
78
  ariaLabel: string;
68
79
  /**
80
+ * @property Input
69
81
  * @description
70
82
  * The 'aria-labelledby' attribute takes precedence as the element's text alternative.
71
- */
83
+ */
72
84
  ariaDescribedby: string;
73
85
  /**
86
+ * @property Input
74
87
  * @description
75
88
  * The 'aria-describedby' attribute is read after the element's label and field type.
76
- */
89
+ */
77
90
  ariaLabelledby: string;
78
91
  /**
92
+ * @property Input
79
93
  * @description
80
94
  * Set the radio button checked.
81
95
  * @example
82
96
  * <nas-radio checked></nas-radio>
83
- */
97
+ */
84
98
  get checked(): boolean;
85
99
  set checked(input: boolean);
86
100
  /**
101
+ * @property Input
87
102
  * @description
88
103
  * Sets a formControlName directive to the input.
89
104
  * It requires that the consumer included ReactiveFormsModule in it's module.
90
105
  * It requiers that the nasFormGroup input is filled.
91
106
  * @example
92
107
  * <nas-input [nasFormControlName]="'username'"></nas-input>
93
- */
108
+ */
94
109
  nasFormControlName: string;
95
110
  /**
111
+ * @property Input
96
112
  * @description
97
113
  * Adds the parent's form group.
98
114
  * It requires that the consumer included ReactiveFormsModule in it's module.
99
115
  * It is requiered to be filled if nasFormControlName added.
100
116
  * @example
101
117
  * <nas-input [nasFormGroup]="loginGroup"></nas-input>
102
- */
103
- nasFormGroup: UntypedFormGroup;
118
+ */
119
+ nasFormGroup: FormGroup;
104
120
  /**
121
+ * @property Output
105
122
  * @description
106
123
  * Listen for checked change events.
107
124
  * @example
@@ -3,7 +3,7 @@
3
3
  * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
4
  */
5
5
  import { EventEmitter, ElementRef, ChangeDetectorRef, OnChanges, QueryList, AfterContentInit, AfterViewChecked } from '@angular/core';
6
- import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
6
+ import { FormControl, FormGroup } from '@angular/forms';
7
7
  import { NasComponentBase } from '../../core';
8
8
  import { ClassModel } from '../../core/models';
9
9
  import { SelectOptionModel } from './models/select-option.model';
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
16
16
  */
17
17
  export declare class SelectComponent extends NasComponentBase implements OnChanges, AfterViewChecked, AfterContentInit {
18
18
  private change;
19
- selectControl: UntypedFormControl;
19
+ selectControl: FormControl<any>;
20
20
  labelWidth: number;
21
21
  selectTitle: string;
22
22
  hasContent: boolean;
@@ -27,128 +27,146 @@ export declare class SelectComponent extends NasComponentBase implements OnChang
27
27
  optgroupComponents: QueryList<OptgroupComponent>;
28
28
  private optionsValue;
29
29
  /**
30
+ * @property Input
30
31
  * @description
31
32
  * The ID of the native input element
32
- */
33
+ */
33
34
  id: string;
34
35
  /**
36
+ * @property Input
35
37
  * @description
36
38
  * Add custom inline styling.
37
- */
39
+ */
38
40
  inline?: boolean;
39
41
  /**
42
+ * @property Input
40
43
  * @description
41
44
  * Add custom label styling.
42
- */
45
+ */
43
46
  label: string;
44
47
  /**
48
+ * @property Input
45
49
  * @description
46
50
  * Sets block styling.
47
- */
51
+ */
48
52
  block?: boolean;
49
53
  /**
54
+ * @property Input
50
55
  * @description
51
56
  * Sets spaceless styling.
52
- */
57
+ */
53
58
  spaceless?: boolean;
54
59
  /**
60
+ * @property Input
55
61
  * @description
56
62
  * Sets stretch styling.
57
- */
63
+ */
58
64
  stretch?: boolean;
59
65
  /**
66
+ * @property Input
60
67
  * @description
61
68
  * Sets compact styling.
62
- */
69
+ */
63
70
  compact?: boolean;
64
71
  /**
72
+ * @property Input
65
73
  * @description
66
74
  * Sets simple styling.
67
- */
75
+ */
68
76
  simple?: boolean;
69
77
  /**
78
+ * @property Input
70
79
  * @description
71
80
  * Sets light styling.
72
- */
81
+ */
73
82
  light?: boolean;
74
83
  /**
84
+ * @property Input
75
85
  * @description
76
86
  * Sets fill styling.
77
- */
87
+ */
78
88
  fill?: boolean;
79
89
  /**
90
+ * @property Input
80
91
  * @description
81
92
  * Sets error styling.
82
- */
93
+ */
83
94
  error?: boolean;
84
95
  /**
96
+ * @property Input
85
97
  * @description
86
98
  * The error message to display when error occur. Error attribute need to be true.
87
- */
99
+ */
88
100
  errorMessage?: string;
89
101
  /**
102
+ * @property Input
90
103
  * @description
91
104
  * Sets disabled styling.
92
- */
105
+ */
93
106
  disabled?: boolean;
94
107
  /**
108
+ * @property Input
95
109
  * @description
96
110
  * Makes the select component autogrow.
97
- */
111
+ */
98
112
  autogrow?: boolean;
99
113
  /**
114
+ * @property Input
100
115
  * @description
101
116
  * Add custom CSS class to the selector.
102
- */
117
+ */
103
118
  cssClass: ClassModel;
104
119
  /**
120
+ * @property Input
105
121
  * @description
106
122
  * Sets a formControlName directive to the select.
107
123
  * It requires that the consumer included ReactiveFormsModule in it's module.
108
124
  * It requiers that the nasFormGroup input is filled.
109
125
  * @example
110
- * ```html
111
126
  * <nas-select [nasFormControlName]="'fareClass'"></nas-select>
112
- * ```
113
- */
127
+ */
114
128
  nasFormControlName: string;
115
129
  /**
130
+ * @property Input
116
131
  * @description
117
132
  * Adds the parent's form group.
118
133
  * It requires that the consumer included ReactiveFormsModule in it's module.
119
134
  * It is requiered to be filled if nasFormControlName added.
120
135
  * @example
121
- * ```html
122
136
  * <nas-select [nasFormGroup]="classGroup"></nas-select>
123
- * ```
124
- */
125
- nasFormGroup: UntypedFormGroup;
137
+ */
138
+ nasFormGroup: FormGroup;
126
139
  /**
140
+ * @property Input
127
141
  * @description
128
142
  * Add options to the selector.
129
- */
143
+ */
130
144
  get options(): Array<SelectOptionModel>;
131
145
  set options(value: Array<SelectOptionModel>);
132
146
  /**
147
+ * @property Input
133
148
  * @description
134
149
  * The default selected value.
135
- */
150
+ */
136
151
  selectedValue: SelectOptionModel;
137
152
  /**
153
+ * @property Input
138
154
  * @description
139
155
  * Gets or sets the selected value.
140
- */
156
+ */
141
157
  get selected(): SelectOptionModel;
142
158
  set selected(option: SelectOptionModel);
143
159
  /**
160
+ * @property Output
144
161
  * @description
145
162
  * An event that is fired every time a selection is done.
146
- */
163
+ */
147
164
  selectedChange: EventEmitter<SelectOptionModel>;
148
165
  /**
166
+ * @property Output
149
167
  * @description
150
168
  * An events that fires every type a keydown event has been pressed on the select element.
151
- */
169
+ */
152
170
  keydown: EventEmitter<KeyboardEvent>;
153
171
  private open;
154
172
  private componentId;
@@ -6,44 +6,52 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export declare class SimpleListComponent extends NasComponentBase {
8
8
  /**
9
+ * @property Input
9
10
  * @description
10
11
  * List with grey and blue check-icon markers
11
- */
12
+ */
12
13
  markers: boolean;
13
14
  /**
15
+ * @property Input
14
16
  * @description
15
17
  * List with note markers
16
- */
18
+ */
17
19
  note: boolean;
18
20
  /**
21
+ * @property Input
19
22
  * @description
20
23
  * List with green check-icon markers
21
- */
24
+ */
22
25
  positive: boolean;
23
26
  /**
27
+ * @property Input
24
28
  * @description
25
29
  * List with red x-icon markers
26
- */
30
+ */
27
31
  negative: boolean;
28
32
  /**
33
+ * @property Input
29
34
  * @description
30
35
  * List with goto (arrow) icon markers
31
- */
36
+ */
32
37
  goto: boolean;
33
38
  /**
39
+ * @property Input
34
40
  * @description
35
41
  * List styles as a table
36
- */
42
+ */
37
43
  table: boolean;
38
44
  /**
45
+ * @property Input
39
46
  * @description
40
47
  * List without margin at bottom
41
- */
48
+ */
42
49
  spaceless: boolean;
43
50
  /**
51
+ * @property Input
44
52
  * @description
45
53
  * The string elements within the list
46
- */
54
+ */
47
55
  items: Array<string>;
48
56
  constructor();
49
57
  mainClass(): import("@norwegian/core-components").ClassModel;
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { NasComponentBase } from '../../core/base/nas-component.base';
3
3
  import { ClassModel } from '../../core/models/class.model';
4
- import { UntypedFormGroup } from '@angular/forms';
4
+ import { FormGroup } from '@angular/forms';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * @description
@@ -9,45 +9,52 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export declare class SlideToggleComponent extends NasComponentBase implements OnInit {
11
11
  /**
12
+ * @property Input
12
13
  * @description
13
14
  * Sets a formControlName directive to the input.
14
15
  * It requires that the consumer included ReactiveFormsModule in it's module.
15
16
  * It requiers that the nasFormGroup input is filled.
16
- */
17
+ */
17
18
  nasFormControlName: string;
18
19
  /**
20
+ * @property Input
19
21
  * @description
20
22
  * Adds the parent's form group.
21
23
  * It requires that the consumer included ReactiveFormsModule in it's module.
22
24
  * It is requiered to be filled if nasFormControlName added.
23
- */
24
- nasFormGroup: UntypedFormGroup;
25
+ */
26
+ nasFormGroup: FormGroup;
25
27
  /**
28
+ * @property Input
26
29
  * @description
27
30
  * Boolean to disable the slide toggle.
28
- */
31
+ */
29
32
  disabled: boolean;
30
33
  /**
34
+ * @property Input
31
35
  * @description
32
36
  * Sets the Id of the native input element.
33
- */
37
+ */
34
38
  get inputId(): string;
35
39
  set inputId(value: string);
36
40
  /**
41
+ * @property Input
37
42
  * @description
38
43
  * Set the toggle value.
39
- */
44
+ */
40
45
  get toggle(): boolean;
41
46
  set toggle(value: boolean);
42
47
  /**
48
+ * @property Output
43
49
  * @description
44
50
  * Toggle change events.
45
- */
51
+ */
46
52
  toggleChange: EventEmitter<boolean>;
47
53
  /**
54
+ * @property Output
48
55
  * @description
49
56
  * Emits when the focus should be on the previous element.
50
- */
57
+ */
51
58
  focusOnPrevious: EventEmitter<KeyboardEvent>;
52
59
  get mainClass(): ClassModel;
53
60
  private toggleValue;
@@ -3,7 +3,7 @@
3
3
  * Copyright Norwegian Air Shuttle. All Rights Reserved.
4
4
  */
5
5
  import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
6
- import { UntypedFormGroup } from '@angular/forms';
6
+ import { FormGroup } from '@angular/forms';
7
7
  import { NasComponentBase } from '../../core/base/nas-component.base';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
@@ -17,137 +17,160 @@ export declare class SliderComponent extends NasComponentBase implements OnInit,
17
17
  rangeMax?: ElementRef<HTMLInputElement>;
18
18
  bubble?: ElementRef<HTMLInputElement>;
19
19
  /**
20
+ * @property Input
20
21
  * @description
21
22
  * The ID of the slider
22
- */
23
+ */
23
24
  id: string;
24
25
  /**
26
+ * @property Input
25
27
  * @description
26
28
  * The ID of the slider
27
- */
29
+ */
28
30
  range?: boolean;
29
31
  /**
32
+ * @property Input
30
33
  * @description
31
34
  * Name attribute of the slider
32
- */
35
+ */
33
36
  name: string;
34
37
  /**
38
+ * @property Input
35
39
  * @description
36
40
  * Sets the title of the slider
37
- */
41
+ */
38
42
  title?: string;
39
43
  /**
44
+ * @property Input
40
45
  * @description
41
46
  * The value of the slider
42
- */
47
+ */
43
48
  get value(): number;
44
49
  set value(value: number);
45
50
  /**
46
- * @description
47
- * The selected minimum value of the range-slider
51
+ * @property Input
52
+ * @description
53
+ * The selected minimum value of the range-slider
48
54
  */
49
55
  get selectedMinValue(): number | null;
50
56
  set selectedMinValue(value: number | null);
51
57
  /**
58
+ * @property Input
52
59
  * @description
53
60
  * The selected maximum value of the range-slider
54
- */
61
+ */
55
62
  get selectedMaxValue(): number;
56
63
  set selectedMaxValue(value: number);
57
64
  /**
58
- * @description
59
- * The minimum difference of min and max range-slider.
65
+ * @property Input
66
+ * @description
67
+ * The minimum difference of min and max range-slider.
60
68
  */
61
69
  get minDiffRange(): number;
62
70
  set minDiffRange(value: number);
63
71
  /**
72
+ * @property Input
64
73
  * @description
65
74
  * The suffix/ending of the value that the slider can have.
66
- */
75
+ */
67
76
  get suffix(): string;
68
77
  set suffix(value: string);
69
78
  /**
79
+ * @property Input
70
80
  * @description
71
81
  * Overwrites the suffix and adds at the beginning of the value that the slider can have.
72
- */
82
+ */
73
83
  isPrefix?: boolean;
74
84
  /**
85
+ * @property Input
75
86
  * @description
76
87
  * The minimum value that the slider can have. The default value is 0.
77
- */
88
+ */
78
89
  get min(): number;
79
90
  set min(value: number);
80
91
  /**
92
+ * @property Input
81
93
  * @description
82
94
  * A custom label for the minimum value. The actual value is still specified by min input.
83
- */
95
+ */
84
96
  get minLabel(): string | number;
85
97
  set minLabel(value: string | number);
86
98
  /**
99
+ * @property Input
87
100
  * @description
88
101
  * The maximum value that the slider can have. The default value is 100.
89
- */
102
+ */
90
103
  get max(): number;
91
104
  set max(value: number);
92
105
  /**
106
+ * @property Input
93
107
  * @description
94
108
  * A custom label for the maximum value. The actual value is still specified by max input.
95
- */
109
+ */
96
110
  get maxLabel(): string | number;
97
111
  set maxLabel(value: string | number);
98
112
  /**
113
+ * @property Input
99
114
  * @description
100
115
  * The values at which the thumb will snap
101
- */
116
+ */
102
117
  get step(): number | null;
103
118
  set step(value: number | null);
104
119
  /**
120
+ * @property Input
105
121
  * @description
106
122
  * Whether the component is disabled
107
- */
123
+ */
108
124
  get disabled(): boolean;
109
125
  set disabled(value: boolean);
110
126
  /**
127
+ * @property Input
111
128
  * @description
112
129
  * Sets a formControlName directive to the input.
113
130
  * It requires that the consumer included ReactiveFormsModule in it's module.
114
131
  * It requiers that the nasFormGroup input is filled.
115
- */
132
+ */
116
133
  nasFormControlName: string;
117
134
  /**
135
+ * @property Input
118
136
  * @description
119
137
  * Sets a formControlName directive to the input of range-slider minimum value.
120
138
  * It requires that the consumer included ReactiveFormsModule in it's module.
121
139
  * It requiers that the nasFormGroup input is filled.
122
- */
140
+ */
123
141
  nasFormControlMin: string;
124
142
  /**
143
+ * @property Input
125
144
  * @description
126
145
  * Sets a formControlName directive to the input of range-slider maximum value.
127
146
  * It requires that the consumer included ReactiveFormsModule in it's module.
128
147
  * It requiers that the nasFormGroup input is filled.
129
- */
148
+ */
130
149
  nasFormControlMax: string;
131
150
  /**
151
+ * @property Input
132
152
  * @description
133
153
  * Adds the parent's form group.
134
154
  * It requires that the consumer included ReactiveFormsModule in it's module.
135
155
  * It is requiered to be filled if nasFormControlName added.
136
- */
137
- nasFormGroup: UntypedFormGroup;
156
+ */
157
+ nasFormGroup: FormGroup;
138
158
  /**
159
+ * @property Output
139
160
  * @description
140
161
  * An event that is fired every time the silder value changes
141
- */
162
+ */
142
163
  valueChange: EventEmitter<number>;
143
164
  /**
165
+ * @property Output
144
166
  * @description
145
167
  * An event that is fired every time the silder minimum value changes
146
- */
168
+ */
147
169
  selectedMinValueChange: EventEmitter<number>;
148
170
  /**
149
- * @description
150
- * An event that is fired every time the silder maximum value changes
171
+ * @property Output
172
+ * @description
173
+ * An event that is fired every time the silder maximum value changes
151
174
  */
152
175
  selectedMaxValueChange: EventEmitter<number>;
153
176
  isRange: boolean;