@fundamental-ngx/core 0.43.15 → 0.43.17

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 (90) hide show
  1. package/calendar/calendar-directives.d.ts +11 -9
  2. package/calendar/calendar-header/calendar-header.component.d.ts +5 -23
  3. package/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.d.ts +1 -20
  4. package/calendar/calendar-views/calendar-day-view/calendar-day-view.component.d.ts +3 -41
  5. package/calendar/calendar-views/calendar-month-view/calendar-month-view.component.d.ts +1 -20
  6. package/calendar/calendar-views/calendar-year-view/calendar-year-view.component.d.ts +1 -20
  7. package/calendar/calendar.module.d.ts +2 -1
  8. package/calendar/i18n/calendar-i18n-labels.d.ts +20 -22
  9. package/calendar/patch-deprecated-i18n-labels.d.ts +6 -0
  10. package/combobox/combobox.component.d.ts +9 -7
  11. package/esm2020/calendar/calendar-directives.mjs +27 -20
  12. package/esm2020/calendar/calendar-header/calendar-header.component.mjs +30 -60
  13. package/esm2020/calendar/calendar-views/calendar-aggregated-year-view/calendar-aggregated-year-view.component.mjs +9 -34
  14. package/esm2020/calendar/calendar-views/calendar-day-view/calendar-day-view.component.mjs +10 -62
  15. package/esm2020/calendar/calendar-views/calendar-month-view/calendar-month-view.component.mjs +9 -34
  16. package/esm2020/calendar/calendar-views/calendar-year-view/calendar-year-view.component.mjs +9 -34
  17. package/esm2020/calendar/calendar.component.mjs +13 -3
  18. package/esm2020/calendar/calendar.module.mjs +5 -4
  19. package/esm2020/calendar/i18n/calendar-i18n-labels.mjs +22 -28
  20. package/esm2020/calendar/patch-deprecated-i18n-labels.mjs +26 -0
  21. package/esm2020/combobox/combobox.component.mjs +20 -9
  22. package/esm2020/date-picker/date-picker.component.mjs +1 -1
  23. package/esm2020/datetime-picker/datetime-picker.component.mjs +1 -1
  24. package/esm2020/input-group/input-group.component.mjs +6 -4
  25. package/esm2020/multi-combobox/multi-combobox.component.mjs +15 -17
  26. package/esm2020/multi-input/multi-input.component.mjs +13 -11
  27. package/esm2020/popover/base/base-popover.class.mjs +2 -2
  28. package/esm2020/popover/popover-body/popover-body.component.mjs +2 -2
  29. package/esm2020/select/select.component.mjs +3 -3
  30. package/esm2020/table/table-wrapper.component.mjs +2 -2
  31. package/esm2020/table/table.component.mjs +2 -2
  32. package/esm2020/time-picker/time-picker.component.mjs +1 -1
  33. package/esm2020/token/token.component.mjs +10 -8
  34. package/esm2020/token/tokenizer.component.mjs +5 -4
  35. package/fesm2015/fundamental-ngx-core-calendar.mjs +156 -282
  36. package/fesm2015/fundamental-ngx-core-calendar.mjs.map +1 -1
  37. package/fesm2015/fundamental-ngx-core-combobox.mjs +16 -6
  38. package/fesm2015/fundamental-ngx-core-combobox.mjs.map +1 -1
  39. package/fesm2015/fundamental-ngx-core-date-picker.mjs +1 -1
  40. package/fesm2015/fundamental-ngx-core-date-picker.mjs.map +1 -1
  41. package/fesm2015/fundamental-ngx-core-datetime-picker.mjs +1 -1
  42. package/fesm2015/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
  43. package/fesm2015/fundamental-ngx-core-input-group.mjs +5 -3
  44. package/fesm2015/fundamental-ngx-core-input-group.mjs.map +1 -1
  45. package/fesm2015/fundamental-ngx-core-multi-combobox.mjs +10 -13
  46. package/fesm2015/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  47. package/fesm2015/fundamental-ngx-core-multi-input.mjs +11 -9
  48. package/fesm2015/fundamental-ngx-core-multi-input.mjs.map +1 -1
  49. package/fesm2015/fundamental-ngx-core-popover.mjs +2 -2
  50. package/fesm2015/fundamental-ngx-core-popover.mjs.map +1 -1
  51. package/fesm2015/fundamental-ngx-core-select.mjs +2 -2
  52. package/fesm2015/fundamental-ngx-core-select.mjs.map +1 -1
  53. package/fesm2015/fundamental-ngx-core-table.mjs +4 -4
  54. package/fesm2015/fundamental-ngx-core-table.mjs.map +1 -1
  55. package/fesm2015/fundamental-ngx-core-time-picker.mjs +1 -1
  56. package/fesm2015/fundamental-ngx-core-time-picker.mjs.map +1 -1
  57. package/fesm2015/fundamental-ngx-core-token.mjs +11 -9
  58. package/fesm2015/fundamental-ngx-core-token.mjs.map +1 -1
  59. package/fesm2020/fundamental-ngx-core-calendar.mjs +162 -282
  60. package/fesm2020/fundamental-ngx-core-calendar.mjs.map +1 -1
  61. package/fesm2020/fundamental-ngx-core-combobox.mjs +18 -7
  62. package/fesm2020/fundamental-ngx-core-combobox.mjs.map +1 -1
  63. package/fesm2020/fundamental-ngx-core-date-picker.mjs +1 -1
  64. package/fesm2020/fundamental-ngx-core-date-picker.mjs.map +1 -1
  65. package/fesm2020/fundamental-ngx-core-datetime-picker.mjs +1 -1
  66. package/fesm2020/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
  67. package/fesm2020/fundamental-ngx-core-input-group.mjs +5 -3
  68. package/fesm2020/fundamental-ngx-core-input-group.mjs.map +1 -1
  69. package/fesm2020/fundamental-ngx-core-multi-combobox.mjs +10 -12
  70. package/fesm2020/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  71. package/fesm2020/fundamental-ngx-core-multi-input.mjs +11 -9
  72. package/fesm2020/fundamental-ngx-core-multi-input.mjs.map +1 -1
  73. package/fesm2020/fundamental-ngx-core-popover.mjs +2 -2
  74. package/fesm2020/fundamental-ngx-core-popover.mjs.map +1 -1
  75. package/fesm2020/fundamental-ngx-core-select.mjs +2 -2
  76. package/fesm2020/fundamental-ngx-core-select.mjs.map +1 -1
  77. package/fesm2020/fundamental-ngx-core-table.mjs +4 -4
  78. package/fesm2020/fundamental-ngx-core-table.mjs.map +1 -1
  79. package/fesm2020/fundamental-ngx-core-time-picker.mjs +1 -1
  80. package/fesm2020/fundamental-ngx-core-time-picker.mjs.map +1 -1
  81. package/fesm2020/fundamental-ngx-core-token.mjs +11 -9
  82. package/fesm2020/fundamental-ngx-core-token.mjs.map +1 -1
  83. package/fundamental-ngx-core-v0.43.17.tgz +0 -0
  84. package/input-group/input-group.component.d.ts +7 -1
  85. package/multi-combobox/multi-combobox.component.d.ts +1 -1
  86. package/multi-input/multi-input.component.d.ts +5 -3
  87. package/package.json +3 -3
  88. package/schematics/add-dependencies/index.js +4 -4
  89. package/token/token.component.d.ts +4 -2
  90. package/fundamental-ngx-core-v0.43.15.tgz +0 -0
@@ -1,15 +1,17 @@
1
- import { CalendarI18nLabels } from './i18n/calendar-i18n-labels';
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { FdLanguage } from '@fundamental-ngx/i18n';
3
+ import { Observable } from 'rxjs';
4
+ import { DestroyedService } from '@fundamental-ngx/cdk/utils';
2
5
  import * as i0 from "@angular/core";
3
6
  export declare class CalendarCloseButtonDirective {
4
- private _originalAriaLabel;
5
- private _originalTitle;
6
- private _calendarI18nLabels;
7
+ protected _originalAriaLabel: string;
8
+ protected _originalTitle: string;
9
+ protected _changeDetectorRef: ChangeDetectorRef;
10
+ protected _destroyed$: DestroyedService;
7
11
  /** @hidden */
8
- get _ariaLabel(): string;
12
+ protected _closeCalendarLabel: string;
9
13
  /** @hidden */
10
- get _title(): string;
11
- /** @hidden */
12
- constructor(_originalAriaLabel: string, _originalTitle: string, _calendarI18nLabels: CalendarI18nLabels);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCloseButtonDirective, [{ attribute: "aria-label"; }, { attribute: "title"; }, null]>;
14
+ constructor(_originalAriaLabel: string, _originalTitle: string, lang$: Observable<FdLanguage>, _changeDetectorRef: ChangeDetectorRef, _destroyed$: DestroyedService);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarCloseButtonDirective, [{ attribute: "aria-label"; }, { attribute: "title"; }, null, null, null]>;
14
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarCloseButtonDirective, "[fd-calendar-close-button]", never, {}, {}, never, never, false, never>;
15
17
  }
@@ -1,6 +1,5 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { DatetimeAdapter } from '@fundamental-ngx/core/datetime';
3
- import { CalendarI18nLabels } from '../i18n/calendar-i18n-labels';
4
3
  import { FdCalendarView } from '../types';
5
4
  import { CalendarCurrent } from '../models/calendar-current';
6
5
  import { CalendarYearGrid } from '../models/calendar-year-grid';
@@ -11,7 +10,6 @@ import * as i0 from "@angular/core";
11
10
  * Header of the calendar component.
12
11
  */
13
12
  export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, OnChanges {
14
- private _calendarI18nLabels;
15
13
  private _changeDetRef;
16
14
  private _calendarService;
17
15
  private _dateTimeAdapter;
@@ -40,15 +38,13 @@ export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, On
40
38
  /** Event thrown, when the close button is clicked */
41
39
  readonly closeClicked: EventEmitter<void>;
42
40
  /** Aria label for the previous button. Depends on the active view. */
43
- previousAriaLabel: string;
41
+ get previousAriaLabel(): 'coreCalendar.previousMonthLabel' | 'coreCalendar.previousYearLabel';
44
42
  /** Aria label for the next button. Depends on the active view. */
45
- nextAriaLabel: string;
43
+ get nextAriaLabel(): 'coreCalendar.nextMonthLabel' | 'coreCalendar.nextYearLabel';
46
44
  /** Button aria label to open month selection view. */
47
- selectMonthAriaLabel: string;
48
- /** Button aria label to open year selection view. */
49
- selectYearAriaLabel: string;
45
+ get selectMonthAriaLabel(): 'coreCalendar.monthSelectionLabel' | 'coreCalendar.dateSelectionLabel';
50
46
  /** Button aria label to open aggregated years selection view. */
51
- selectAggregatedYearAriaLabel: string;
47
+ get selectAggregatedYearAriaLabel(): 'coreCalendar.yearsRangeSelectionLabel' | 'coreCalendar.dateSelectionLabel';
52
48
  /** Button label to open month selection view. */
53
49
  selectMonthLabel: string;
54
50
  /** Button label to open year selection view. */
@@ -116,7 +112,7 @@ export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, On
116
112
  /** Get information about amount of years displayed at once on year view */
117
113
  private _amountOfYearsPerPeriod;
118
114
  /** @hidden */
119
- constructor(_calendarI18nLabels: CalendarI18nLabels, _changeDetRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>);
115
+ constructor(_changeDetRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>);
120
116
  /** @hidden */
121
117
  ngOnDestroy(): void;
122
118
  /** @hidden */
@@ -134,22 +130,8 @@ export declare class CalendarHeaderComponent<D> implements OnDestroy, OnInit, On
134
130
  /** @hidden */
135
131
  private _listenToLocaleChanges;
136
132
  /** @hidden */
137
- private _listenToCalendarLabelsChanges;
138
- /** @hidden */
139
- private _calculateAriaLabels;
140
- /** @hidden */
141
133
  private _calculateLabels;
142
134
  /** @hidden */
143
- private _calculatePreviousAriaLabel;
144
- /** @hidden */
145
- private _calculateNextAriaLabel;
146
- /** @hidden */
147
- private _calculateSelectMonthAriaLabel;
148
- /** @hidden */
149
- private _calculateSelectYearAriaLabel;
150
- /** @hidden */
151
- private _calculateSelectAggregatedYearAriaLabel;
152
- /** @hidden */
153
135
  private _calculateSelectMonthLabel;
154
136
  /** @hidden */
155
137
  private _calculateSelectYearLabel;
@@ -4,7 +4,6 @@ import { CalendarService } from '../../calendar.service';
4
4
  import { AggregatedYear, CalendarAggregatedYear } from '../../models/aggregated-year';
5
5
  import { CalendarYearGrid } from '../../models/calendar-year-grid';
6
6
  import { EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
7
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, OnDestroy, OnChanges, FocusableCalendarView {
10
9
  private _eRef;
@@ -12,7 +11,6 @@ export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, O
12
11
  private _calendarService;
13
12
  private _dateTimeAdapter;
14
13
  private _dateTimeFormats;
15
- private _calendarI18nLabels;
16
14
  /** Parameter used in id of years used for help with focusing on the correct element during keyboard navigation. */
17
15
  id: string;
18
16
  /** Function that is called when the focus would escape the element. */
@@ -29,23 +27,6 @@ export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, O
29
27
  yearViewGrid: CalendarYearGrid;
30
28
  /** Event fired when a year is selected. */
31
29
  readonly yearsClicked: EventEmitter<AggregatedYear>;
32
- /**
33
- * @hidden
34
- * Today cell label.
35
- * Is used in conjunction with cell date itself
36
- */
37
- get _todayAriaLabel(): string;
38
- /**
39
- * @hidden
40
- * Selected date cell label.
41
- * Is used in conjunction with cell date itself
42
- */
43
- get _selectedDateAriaLabel(): string;
44
- /**
45
- * @hidden
46
- * View description
47
- */
48
- get _viewRoleDescription(): string;
49
30
  /**
50
31
  * View ID
51
32
  */
@@ -93,7 +74,7 @@ export declare class CalendarAggregatedYearViewComponent<D> implements OnInit, O
93
74
  /** @hidden */
94
75
  private _initiated;
95
76
  /** @hidden */
96
- constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats, _calendarI18nLabels: CalendarI18nLabels);
77
+ constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats);
97
78
  /** @hidden */
98
79
  ngOnInit(): void;
99
80
  /** @hidden */
@@ -6,7 +6,6 @@ import { CalendarCurrent } from '../../models/calendar-current';
6
6
  import { CalendarDay } from '../../models/calendar-day';
7
7
  import { CalendarType, DaysOfWeek } from '../../types';
8
8
  import { CalendarService } from '../../calendar.service';
9
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
10
9
  import { DisableDateFunction, EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
11
10
  import { Nullable } from '@fundamental-ngx/cdk/utils';
12
11
  import * as i0 from "@angular/core";
@@ -17,7 +16,6 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, O
17
16
  private calendarService;
18
17
  private _dateTimeFormats;
19
18
  _dateTimeAdapter: DatetimeAdapter<D>;
20
- private _calendarI18nLabels;
21
19
  /** Currently displayed month and year for days */
22
20
  set currentlyDisplayed(currentlyDisplayed: CalendarCurrent);
23
21
  get currentlyDisplayed(): CalendarCurrent;
@@ -120,7 +118,7 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, O
120
118
  */
121
119
  disableRangeEndFunction: DisableDateFunction<D>;
122
120
  /** @hidden */
123
- constructor(eRef: ElementRef, changeDetRef: ChangeDetectorRef, calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>, _calendarI18nLabels: CalendarI18nLabels);
121
+ constructor(eRef: ElementRef, changeDetRef: ChangeDetectorRef, calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>);
124
122
  /** @hidden */
125
123
  ngOnInit(): void;
126
124
  /** @hidden */
@@ -130,6 +128,7 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, O
130
128
  /**
131
129
  * Function for selecting a date on the calendar. Typically called when a date is clicked, but can also be called programmatically.
132
130
  * @param day CalendarDay object to be selected.
131
+ * @param event
133
132
  */
134
133
  selectDate(day: CalendarDay<D>, event?: MouseEvent): void;
135
134
  /**
@@ -163,43 +162,6 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, O
163
162
  * Function that gives array of all displayed CalendarDays
164
163
  */
165
164
  get _calendarDayList(): CalendarDay<D>[];
166
- /**
167
- * @hidden
168
- * Today cell label.
169
- * Is used in conjunction with cell date itself
170
- */
171
- get _todayAriaLabel(): string;
172
- /**
173
- * @hidden
174
- * Selected date cell label.
175
- * Is used in conjunction with cell date itself
176
- */
177
- get _selectedDateAriaLabel(): string;
178
- /**
179
- * @hidden
180
- * column label
181
- */
182
- get _weekColumnLabelAriaLabel(): string;
183
- /**
184
- * @hidden
185
- * Range start label
186
- */
187
- get _rangeStartAriaLabel(): string;
188
- /**
189
- * @hidden
190
- * Range end label
191
- */
192
- get _rangeEndAriaLabel(): string;
193
- /**
194
- * @hidden
195
- * Date in past label
196
- */
197
- get _dateInPastAriaLabel(): string;
198
- /**
199
- * @hidden
200
- * View description
201
- */
202
- get _viewRoleDescription(): string;
203
165
  /**
204
166
  * View ID
205
167
  */
@@ -239,7 +201,7 @@ export declare class CalendarDayViewComponent<D> implements OnInit, OnChanges, O
239
201
  * Method that handles day cells keydown events,
240
202
  * @param event KeyboardEvent
241
203
  * @param cell CalendarDay
242
- * @param grid with specified column and row as a x and y
204
+ * @param index
243
205
  */
244
206
  _onKeydownDayHandler(event: KeyboardEvent, cell: CalendarDay<D>, index: number): void;
245
207
  /**
@@ -3,7 +3,6 @@ import { DateTimeFormats, DatetimeAdapter } from '@fundamental-ngx/core/datetime
3
3
  import { CalendarService } from '../../calendar.service';
4
4
  import { CalendarMonth } from '../../models/calendar-month';
5
5
  import { EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
6
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
7
6
  import * as i0 from "@angular/core";
8
7
  /** Component representing the month view of the calendar. */
9
8
  export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy, OnChanges, FocusableCalendarView {
@@ -12,7 +11,6 @@ export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy,
12
11
  private _calendarService;
13
12
  private _dateTimeFormats;
14
13
  private _dateTimeAdapter;
15
- private _calendarI18nLabels;
16
14
  /** The id of the calendar passed from the parent component */
17
15
  id: string;
18
16
  /** A number (1-12) representing the selected month */
@@ -45,7 +43,7 @@ export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy,
45
43
  /** @hidden */
46
44
  private _initiated;
47
45
  /** @hidden */
48
- constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>, _calendarI18nLabels: CalendarI18nLabels);
46
+ constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeFormats: DateTimeFormats, _dateTimeAdapter: DatetimeAdapter<D>);
49
47
  /** @hidden */
50
48
  ngOnInit(): void;
51
49
  /** @hidden */
@@ -58,23 +56,6 @@ export declare class CalendarMonthViewComponent<D> implements OnInit, OnDestroy,
58
56
  get monthOffset(): number;
59
57
  /** View ID */
60
58
  get viewId(): string;
61
- /**
62
- * @hidden
63
- * Today cell label.
64
- * Is used in conjunction with cell date itself
65
- */
66
- get _todayAriaLabel(): string;
67
- /**
68
- * @hidden
69
- * Selected date cell label.
70
- * Is used in conjunction with cell date itself
71
- */
72
- get _selectedDateAriaLabel(): string;
73
- /**
74
- * @hidden
75
- * View description
76
- */
77
- get _viewRoleDescription(): string;
78
59
  /**
79
60
  * @hidden
80
61
  * Today cell label ID
@@ -3,7 +3,6 @@ import { DateTimeFormats, DatetimeAdapter } from '@fundamental-ngx/core/datetime
3
3
  import { CalendarService } from '../../calendar.service';
4
4
  import { CalendarYearGrid, CalendarYear } from '../../models/calendar-year-grid';
5
5
  import { EscapeFocusFunction, FocusableCalendarView } from '../../models/common';
6
- import { CalendarI18nLabels } from '../../i18n/calendar-i18n-labels';
7
6
  import * as i0 from "@angular/core";
8
7
  /** Component representing the YearView of the Calendar Component. */
9
8
  export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges, OnDestroy, FocusableCalendarView {
@@ -12,7 +11,6 @@ export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges,
12
11
  private _calendarService;
13
12
  private _dateTimeAdapter;
14
13
  private _dateTimeFormats;
15
- private _calendarI18nLabels;
16
14
  /** The id of the calendar passed from the parent component */
17
15
  id: string;
18
16
  /** Function that is called when the focus would escape the element. */
@@ -45,23 +43,6 @@ export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges,
45
43
  * Parameter storing first shown year on list
46
44
  */
47
45
  _firstYearInList: number;
48
- /**
49
- * @hidden
50
- * Today cell label.
51
- * Is used in conjunction with cell date itself
52
- */
53
- get _todayAriaLabel(): string;
54
- /**
55
- * @hidden
56
- * Selected date cell label.
57
- * Is used in conjunction with cell date itself
58
- */
59
- get _selectedDateAriaLabel(): string;
60
- /**
61
- * @hidden
62
- * View description
63
- */
64
- get _viewRoleDescription(): string;
65
46
  /** View ID */
66
47
  get viewId(): string;
67
48
  /**
@@ -82,7 +63,7 @@ export declare class CalendarYearViewComponent<D> implements OnInit, OnChanges,
82
63
  /** @hidden */
83
64
  private _initiated;
84
65
  /** @hidden */
85
- constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats, _calendarI18nLabels: CalendarI18nLabels);
66
+ constructor(_eRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _calendarService: CalendarService, _dateTimeAdapter: DatetimeAdapter<D>, _dateTimeFormats: DateTimeFormats);
86
67
  /** @hidden */
87
68
  ngOnInit(): void;
88
69
  /** @hidden */
@@ -11,8 +11,9 @@ import * as i9 from "@angular/common";
11
11
  import * as i10 from "@fundamental-ngx/core/icon";
12
12
  import * as i11 from "@fundamental-ngx/core/button";
13
13
  import * as i12 from "@fundamental-ngx/core/content-density";
14
+ import * as i13 from "@fundamental-ngx/i18n";
14
15
  export declare class CalendarModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, [typeof i1.CalendarComponent, typeof i2.CalendarHeaderComponent, typeof i3.CalendarDayViewComponent, typeof i4.CalendarMonthViewComponent, typeof i5.CalendarYearViewComponent, typeof i6.CalendarAggregatedYearViewComponent, typeof i7.CalendarCloseButtonDirective, typeof i8.DeprecatedCalendarContentDensityDirective], [typeof i9.CommonModule, typeof i10.IconModule, typeof i11.ButtonModule, typeof i12.ContentDensityModule], [typeof i1.CalendarComponent, typeof i3.CalendarDayViewComponent, typeof i2.CalendarHeaderComponent, typeof i5.CalendarYearViewComponent, typeof i4.CalendarMonthViewComponent, typeof i6.CalendarAggregatedYearViewComponent, typeof i7.CalendarCloseButtonDirective, typeof i8.DeprecatedCalendarContentDensityDirective, typeof i12.ContentDensityModule]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, [typeof i1.CalendarComponent, typeof i2.CalendarHeaderComponent, typeof i3.CalendarDayViewComponent, typeof i4.CalendarMonthViewComponent, typeof i5.CalendarYearViewComponent, typeof i6.CalendarAggregatedYearViewComponent, typeof i7.CalendarCloseButtonDirective, typeof i8.DeprecatedCalendarContentDensityDirective], [typeof i9.CommonModule, typeof i10.IconModule, typeof i11.ButtonModule, typeof i12.ContentDensityModule, typeof i13.I18nModule], [typeof i1.CalendarComponent, typeof i3.CalendarDayViewComponent, typeof i2.CalendarHeaderComponent, typeof i5.CalendarYearViewComponent, typeof i4.CalendarMonthViewComponent, typeof i6.CalendarAggregatedYearViewComponent, typeof i7.CalendarCloseButtonDirective, typeof i8.DeprecatedCalendarContentDensityDirective, typeof i12.ContentDensityModule]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
18
19
  }
@@ -1,49 +1,47 @@
1
1
  import { Subject } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
2
  /**
4
3
  * Provides i18n support for labels inside the calendar component.
4
+ * @deprecated use i18n `coreCalendar` key instead
5
5
  */
6
6
  export declare class CalendarI18nLabels {
7
7
  /** This is event that should be called, when labels are changed, to let component detect an changes. */
8
8
  readonly labelsChange: Subject<void>;
9
9
  /** Year selection aria label. Used on the button to navigate to the years view. */
10
- yearSelectionLabel: string;
10
+ yearSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
11
11
  /** Years range selection aria label. Used on the button to navigate to the years range view. */
12
- yearsRangeSelectionLabel: string;
12
+ yearsRangeSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
13
13
  /** Month selection aria label. Used on the button to navigate to the months view. */
14
- monthSelectionLabel: string;
14
+ monthSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
15
15
  /** Day selection aria label. Used on the button to navigate to the day view. */
16
- dateSelectionLabel: string;
16
+ dateSelectionLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
17
17
  /** Previous year aria label. Used on the button to switch to a previous year in the years view. */
18
- previousYearLabel: string;
18
+ previousYearLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
19
19
  /** Next year aria label. Used on the button to switch to a next year in the years view. */
20
- nextYearLabel: string;
20
+ nextYearLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
21
21
  /** Previous month aria label. Used on the button to switch to a previous month in the months view. */
22
- previousMonthLabel: string;
22
+ previousMonthLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
23
23
  /** Next month aria label. Used on the button to switch to a next month in the months view. */
24
- nextMonthLabel: string;
24
+ nextMonthLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
25
25
  /** Week number column label */
26
- weekColumnLabel: string;
26
+ weekColumnLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
27
27
  /** Selected date label. Used on the selected day/month/year cell. */
28
- dateSelectedLabel: string;
28
+ dateSelectedLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
29
29
  /** Is used to describe present date */
30
- todayLabel: string;
30
+ todayLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
31
31
  /** Range start label. Used for date range selection */
32
- rangeStartLabel: string;
32
+ rangeStartLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
33
33
  /** Range end label. Used for date range selection */
34
- rangeEndLabel: string;
34
+ rangeEndLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
35
35
  /** Past days aria label. Used when days in the past are accessed */
36
- dayInPastLabel: string;
36
+ dayInPastLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
37
37
  /** Past days aria label. Used when days in the past are accessed */
38
- closeCalendarLabel: string;
38
+ closeCalendarLabel: import("@fundamental-ngx/i18n").FdLanguageKey;
39
39
  /** Calendar day view aria role description. */
40
- calendarDayViewDescription: string;
40
+ calendarDayViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey;
41
41
  /** Calendar month view aria role description. */
42
- calendarMonthViewDescription: string;
42
+ calendarMonthViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey;
43
43
  /** Calendar years view aria role description. */
44
- calendarYearsViewDescription: string;
44
+ calendarYearsViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey;
45
45
  /** Calendar years range view aria role description. */
46
- calendarYearsRangeViewDescription: string;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarI18nLabels, never>;
48
- static ɵprov: i0.ɵɵInjectableDeclaration<CalendarI18nLabels>;
46
+ calendarYearsRangeViewDescription: import("@fundamental-ngx/i18n").FdLanguageKey;
49
47
  }
@@ -0,0 +1,6 @@
1
+ import { FdLanguage } from '@fundamental-ngx/i18n';
2
+ import { Observable } from 'rxjs';
3
+ /**
4
+ * Use deprecated `CalendarI18nLabels` to patch `FD_LANGUAGE` observable
5
+ */
6
+ export declare function patchDeprecatedI18nLabels(): Observable<FdLanguage>;
@@ -1,18 +1,18 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { ListComponent, ListMessageDirective } from '@fundamental-ngx/core/list';
4
3
  import { AutoCompleteEvent, DynamicComponentService, FocusEscapeDirection, Nullable } from '@fundamental-ngx/cdk/utils';
5
4
  import { FormItemControl } from '@fundamental-ngx/core/form';
6
- import { PopoverFillMode } from '@fundamental-ngx/core/shared';
7
- import { PopoverComponent } from '@fundamental-ngx/core/popover';
8
5
  import { InputGroupComponent } from '@fundamental-ngx/core/input-group';
6
+ import { ListComponent, ListMessageDirective } from '@fundamental-ngx/core/list';
9
7
  import { MobileModeConfig } from '@fundamental-ngx/core/mobile-mode';
10
- import { ComboboxInterface } from './combobox.interface';
11
- import { ComboboxItem } from './combobox-item';
12
- import { GroupFunction } from './list-group.pipe';
13
- import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
8
+ import { PopoverComponent } from '@fundamental-ngx/core/popover';
9
+ import { PopoverFillMode } from '@fundamental-ngx/core/shared';
14
10
  import { Overlay, RepositionScrollStrategy } from '@angular/cdk/overlay';
15
11
  import { FormStates } from '@fundamental-ngx/cdk/forms';
12
+ import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
13
+ import { ComboboxItem } from './combobox-item';
14
+ import { ComboboxInterface } from './combobox.interface';
15
+ import { GroupFunction } from './list-group.pipe';
16
16
  import * as i0 from "@angular/core";
17
17
  /**
18
18
  * Allows users to filter through results and select a value.
@@ -248,6 +248,8 @@ export declare class ComboboxComponent implements ComboboxInterface, ControlValu
248
248
  clearInputBtnBlur(): void;
249
249
  /** Current select value */
250
250
  getValue(): any;
251
+ /** @hidden */
252
+ _close(): void;
251
253
  /** Method that picks other value moved from current one by offset, called only when combobox is closed */
252
254
  private _chooseOtherItem;
253
255
  /** Method that reset filtering for displayed values. It overrides displayed values by all possible dropdown values */
@@ -1,25 +1,28 @@
1
- import { Attribute, Directive } from '@angular/core';
2
- import { CalendarI18nLabels } from './i18n/calendar-i18n-labels';
1
+ import { Attribute, ChangeDetectorRef, Directive, Inject } from '@angular/core';
2
+ import { FD_LANGUAGE } from '@fundamental-ngx/i18n';
3
+ import { map, Observable } from 'rxjs';
4
+ import { takeUntil } from 'rxjs/operators';
5
+ import { DestroyedService } from '@fundamental-ngx/cdk/utils';
3
6
  import * as i0 from "@angular/core";
4
- import * as i1 from "./i18n/calendar-i18n-labels";
7
+ import * as i1 from "@fundamental-ngx/cdk/utils";
8
+ import * as i2 from "rxjs";
5
9
  export class CalendarCloseButtonDirective {
6
10
  /** @hidden */
7
- get _ariaLabel() {
8
- return this._originalAriaLabel || this._calendarI18nLabels.closeCalendarLabel;
9
- }
10
- /** @hidden */
11
- get _title() {
12
- return this._originalTitle || this._calendarI18nLabels.closeCalendarLabel;
13
- }
14
- /** @hidden */
15
- constructor(_originalAriaLabel, _originalTitle, _calendarI18nLabels) {
11
+ constructor(_originalAriaLabel, _originalTitle, lang$, _changeDetectorRef, _destroyed$) {
16
12
  this._originalAriaLabel = _originalAriaLabel;
17
13
  this._originalTitle = _originalTitle;
18
- this._calendarI18nLabels = _calendarI18nLabels;
14
+ this._changeDetectorRef = _changeDetectorRef;
15
+ this._destroyed$ = _destroyed$;
16
+ lang$
17
+ .pipe(map((l) => l.coreCalendar.closeCalendarLabel), takeUntil(this._destroyed$))
18
+ .subscribe((closeCalendarLabel) => {
19
+ this._closeCalendarLabel = closeCalendarLabel;
20
+ this._changeDetectorRef.markForCheck();
21
+ });
19
22
  }
20
23
  }
21
- CalendarCloseButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CalendarCloseButtonDirective, deps: [{ token: 'aria-label', attribute: true }, { token: 'title', attribute: true }, { token: i1.CalendarI18nLabels }], target: i0.ɵɵFactoryTarget.Directive });
22
- CalendarCloseButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CalendarCloseButtonDirective, selector: "[fd-calendar-close-button]", host: { properties: { "attr.aria-label": "_ariaLabel", "attr.title": "_title" }, classAttribute: "fd-calendar__close-button" }, ngImport: i0 });
24
+ CalendarCloseButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CalendarCloseButtonDirective, deps: [{ token: 'aria-label', attribute: true }, { token: 'title', attribute: true }, { token: FD_LANGUAGE }, { token: i0.ChangeDetectorRef }, { token: i1.DestroyedService }], target: i0.ɵɵFactoryTarget.Directive });
25
+ CalendarCloseButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CalendarCloseButtonDirective, selector: "[fd-calendar-close-button]", host: { properties: { "attr.aria-label": "_originalAriaLabel || _closeCalendarLabel", "attr.title": "_originalTitle || _closeCalendarLabel" }, classAttribute: "fd-calendar__close-button" }, providers: [DestroyedService], ngImport: i0 });
23
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CalendarCloseButtonDirective, decorators: [{
24
27
  type: Directive,
25
28
  args: [{
@@ -27,9 +30,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
27
30
  selector: '[fd-calendar-close-button]',
28
31
  host: {
29
32
  class: 'fd-calendar__close-button',
30
- '[attr.aria-label]': '_ariaLabel',
31
- '[attr.title]': '_title'
32
- }
33
+ '[attr.aria-label]': '_originalAriaLabel || _closeCalendarLabel',
34
+ '[attr.title]': '_originalTitle || _closeCalendarLabel'
35
+ },
36
+ providers: [DestroyedService]
33
37
  }]
34
38
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
35
39
  type: Attribute,
@@ -37,5 +41,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
37
41
  }] }, { type: undefined, decorators: [{
38
42
  type: Attribute,
39
43
  args: ['title']
40
- }] }, { type: i1.CalendarI18nLabels }]; } });
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9zcmMvbGliL2NhbGVuZGFyL2NhbGVuZGFyLWRpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFckQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7OztBQVdqRSxNQUFNLE9BQU8sNEJBQTRCO0lBQ3JDLGNBQWM7SUFDZC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
+ }] }, { type: i2.Observable, decorators: [{
45
+ type: Inject,
46
+ args: [FD_LANGUAGE]
47
+ }] }, { type: i0.ChangeDetectorRef }, { type: i1.DestroyedService }]; } });
48
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItZGlyZWN0aXZlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9zcmMvbGliL2NhbGVuZGFyL2NhbGVuZGFyLWRpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBRSxXQUFXLEVBQWMsTUFBTSx1QkFBdUIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsR0FBRyxFQUFFLFVBQVUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7Ozs7QUFZOUQsTUFBTSxPQUFPLDRCQUE0QjtJQUlyQyxjQUFjO0lBQ2QsWUFDdUMsa0JBQTBCLEVBQy9CLGNBQXNCLEVBQy9CLEtBQTZCLEVBQ3hDLGtCQUFxQyxFQUNyQyxXQUE2QjtRQUpKLHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBUTtRQUMvQixtQkFBYyxHQUFkLGNBQWMsQ0FBUTtRQUUxQyx1QkFBa0IsR0FBbEIsa0JBQWtCLENBQW1CO1FBQ3JDLGdCQUFXLEdBQVgsV0FBVyxDQUFrQjtRQUV2QyxLQUFLO2FBQ0EsSUFBSSxDQUNELEdBQUcsQ0FBQyxDQUFDL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