@refinitiv-ui/phrasebook 5.5.0-alpha.1 → 6.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/lib/index.d.ts +2 -0
  2. package/lib/index.js +1 -0
  3. package/lib/locale/de/appstate-bar.d.ts +7 -0
  4. package/lib/locale/de/appstate-bar.js +7 -0
  5. package/lib/locale/de/calendar.d.ts +18 -0
  6. package/lib/locale/de/calendar.js +20 -0
  7. package/lib/locale/de/card.d.ts +4 -0
  8. package/lib/locale/de/card.js +6 -0
  9. package/lib/locale/de/color-dialog.d.ts +8 -0
  10. package/lib/locale/de/color-dialog.js +15 -0
  11. package/lib/locale/de/combo-box.d.ts +6 -0
  12. package/lib/locale/de/combo-box.js +8 -0
  13. package/lib/locale/de/datetime-field.d.ts +14 -0
  14. package/lib/locale/de/datetime-field.js +16 -0
  15. package/lib/locale/de/dialog.d.ts +5 -0
  16. package/lib/locale/de/dialog.js +8 -0
  17. package/lib/locale/de/notification.d.ts +7 -0
  18. package/lib/locale/de/notification.js +7 -0
  19. package/lib/locale/de/pagination.d.ts +6 -0
  20. package/lib/locale/de/pagination.js +12 -0
  21. package/lib/locale/de/password-field.d.ts +5 -0
  22. package/lib/locale/de/password-field.js +7 -0
  23. package/lib/locale/de/search-field.d.ts +4 -0
  24. package/lib/locale/de/search-field.js +6 -0
  25. package/lib/locale/de/shared.d.ts +7 -0
  26. package/lib/locale/de/shared.js +10 -0
  27. package/lib/locale/de/time-picker.d.ts +10 -0
  28. package/lib/locale/de/time-picker.js +12 -0
  29. package/lib/locale/de/tree-select.d.ts +13 -0
  30. package/lib/locale/de/tree-select.js +19 -0
  31. package/lib/locale/en/appstate-bar.d.ts +7 -0
  32. package/lib/locale/en/appstate-bar.js +7 -0
  33. package/lib/locale/en/calendar.d.ts +18 -0
  34. package/lib/locale/en/calendar.js +20 -0
  35. package/lib/locale/en/card.d.ts +4 -0
  36. package/lib/locale/en/card.js +6 -0
  37. package/lib/locale/en/color-dialog.d.ts +8 -0
  38. package/lib/locale/en/color-dialog.js +15 -0
  39. package/lib/locale/en/combo-box.d.ts +6 -0
  40. package/lib/locale/en/combo-box.js +8 -0
  41. package/lib/locale/en/datetime-field.d.ts +14 -0
  42. package/lib/locale/en/datetime-field.js +16 -0
  43. package/lib/locale/en/dialog.d.ts +5 -0
  44. package/lib/locale/en/dialog.js +7 -0
  45. package/lib/locale/en/notification.d.ts +7 -0
  46. package/lib/locale/en/notification.js +7 -0
  47. package/lib/locale/en/pagination.d.ts +6 -0
  48. package/lib/locale/en/pagination.js +12 -0
  49. package/lib/locale/en/password-field.d.ts +5 -0
  50. package/lib/locale/en/password-field.js +7 -0
  51. package/lib/locale/en/search-field.d.ts +4 -0
  52. package/lib/locale/en/search-field.js +6 -0
  53. package/lib/locale/en/shared.d.ts +7 -0
  54. package/lib/locale/en/shared.js +10 -0
  55. package/lib/locale/en/time-picker.d.ts +10 -0
  56. package/lib/locale/en/time-picker.js +12 -0
  57. package/lib/locale/en/tree-select.d.ts +13 -0
  58. package/lib/locale/en/tree-select.js +19 -0
  59. package/lib/locale/ja/appstate-bar.d.ts +7 -0
  60. package/lib/locale/ja/appstate-bar.js +7 -0
  61. package/lib/locale/ja/calendar.d.ts +18 -0
  62. package/lib/locale/ja/calendar.js +20 -0
  63. package/lib/locale/ja/card.d.ts +4 -0
  64. package/lib/locale/ja/card.js +6 -0
  65. package/lib/locale/ja/color-dialog.d.ts +8 -0
  66. package/lib/locale/ja/color-dialog.js +15 -0
  67. package/lib/locale/ja/combo-box.d.ts +6 -0
  68. package/lib/locale/ja/combo-box.js +8 -0
  69. package/lib/locale/ja/datetime-field.d.ts +14 -0
  70. package/lib/locale/ja/datetime-field.js +16 -0
  71. package/lib/locale/ja/dialog.d.ts +5 -0
  72. package/lib/locale/ja/dialog.js +8 -0
  73. package/lib/locale/ja/notification.d.ts +7 -0
  74. package/lib/locale/ja/notification.js +7 -0
  75. package/lib/locale/ja/pagination.d.ts +6 -0
  76. package/lib/locale/ja/pagination.js +12 -0
  77. package/lib/locale/ja/password-field.d.ts +5 -0
  78. package/lib/locale/ja/password-field.js +7 -0
  79. package/lib/locale/ja/search-field.d.ts +4 -0
  80. package/lib/locale/ja/search-field.js +6 -0
  81. package/lib/locale/ja/shared.d.ts +7 -0
  82. package/lib/locale/ja/shared.js +10 -0
  83. package/lib/locale/ja/time-picker.d.ts +10 -0
  84. package/lib/locale/ja/time-picker.js +12 -0
  85. package/lib/locale/ja/tree-select.d.ts +13 -0
  86. package/lib/locale/ja/tree-select.js +19 -0
  87. package/lib/locale/zh/appstate-bar.d.ts +7 -0
  88. package/lib/locale/zh/appstate-bar.js +7 -0
  89. package/lib/locale/zh/calendar.d.ts +18 -0
  90. package/lib/locale/zh/calendar.js +20 -0
  91. package/lib/locale/zh/card.d.ts +4 -0
  92. package/lib/locale/zh/card.js +6 -0
  93. package/lib/locale/zh/color-dialog.d.ts +8 -0
  94. package/lib/locale/zh/color-dialog.js +15 -0
  95. package/lib/locale/zh/combo-box.d.ts +6 -0
  96. package/lib/locale/zh/combo-box.js +8 -0
  97. package/lib/locale/zh/datetime-field.d.ts +14 -0
  98. package/lib/locale/zh/datetime-field.js +16 -0
  99. package/lib/locale/zh/dialog.d.ts +5 -0
  100. package/lib/locale/zh/dialog.js +8 -0
  101. package/lib/locale/zh/notification.d.ts +7 -0
  102. package/lib/locale/zh/notification.js +7 -0
  103. package/lib/locale/zh/pagination.d.ts +6 -0
  104. package/lib/locale/zh/pagination.js +12 -0
  105. package/lib/locale/zh/password-field.d.ts +5 -0
  106. package/lib/locale/zh/password-field.js +7 -0
  107. package/lib/locale/zh/search-field.d.ts +4 -0
  108. package/lib/locale/zh/search-field.js +6 -0
  109. package/lib/locale/zh/shared.d.ts +7 -0
  110. package/lib/locale/zh/shared.js +10 -0
  111. package/lib/locale/zh/time-picker.d.ts +10 -0
  112. package/lib/locale/zh/time-picker.js +12 -0
  113. package/lib/locale/zh/tree-select.d.ts +13 -0
  114. package/lib/locale/zh/tree-select.js +19 -0
  115. package/lib/locale/zh-hant/appstate-bar.d.ts +7 -0
  116. package/lib/locale/zh-hant/appstate-bar.js +7 -0
  117. package/lib/locale/zh-hant/calendar.d.ts +18 -0
  118. package/lib/locale/zh-hant/calendar.js +20 -0
  119. package/lib/locale/zh-hant/card.d.ts +4 -0
  120. package/lib/locale/zh-hant/card.js +6 -0
  121. package/lib/locale/zh-hant/color-dialog.d.ts +8 -0
  122. package/lib/locale/zh-hant/color-dialog.js +15 -0
  123. package/lib/locale/zh-hant/combo-box.d.ts +6 -0
  124. package/lib/locale/zh-hant/combo-box.js +8 -0
  125. package/lib/locale/zh-hant/datetime-field.d.ts +14 -0
  126. package/lib/locale/zh-hant/datetime-field.js +16 -0
  127. package/lib/locale/zh-hant/dialog.d.ts +5 -0
  128. package/lib/locale/zh-hant/dialog.js +8 -0
  129. package/lib/locale/zh-hant/notification.d.ts +7 -0
  130. package/lib/locale/zh-hant/notification.js +7 -0
  131. package/lib/locale/zh-hant/pagination.d.ts +6 -0
  132. package/lib/locale/zh-hant/pagination.js +12 -0
  133. package/lib/locale/zh-hant/password-field.d.ts +5 -0
  134. package/lib/locale/zh-hant/password-field.js +7 -0
  135. package/lib/locale/zh-hant/search-field.d.ts +4 -0
  136. package/lib/locale/zh-hant/search-field.js +6 -0
  137. package/lib/locale/zh-hant/shared.d.ts +7 -0
  138. package/lib/locale/zh-hant/shared.js +10 -0
  139. package/lib/locale/zh-hant/time-picker.d.ts +10 -0
  140. package/lib/locale/zh-hant/time-picker.js +12 -0
  141. package/lib/locale/zh-hant/tree-select.d.ts +13 -0
  142. package/lib/locale/zh-hant/tree-select.js +19 -0
  143. package/lib/translation.d.ts +52 -0
  144. package/lib/translation.js +84 -0
  145. package/lib/types.d.ts +4 -0
  146. package/lib/types.js +1 -0
  147. package/package.json +30 -11
  148. package/tsconfig.tsbuildinfo +1 -0
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export type { Translations } from './types';
2
+ export { Phrasebook, ObserverCallback, ObserverKey } from './translation.js';
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export { Phrasebook, ObserverKey } from './translation.js';
@@ -0,0 +1,7 @@
1
+ declare const translations: {
2
+ CANCEL: string;
3
+ OK: string;
4
+ CLOSE: string;
5
+ APPLY: string;
6
+ };
7
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import shareTranslate from './shared.js';
3
+ const translations = {
4
+ ...shareTranslate
5
+ };
6
+ Phrasebook.define('de', 'ef-appstate-bar', translations);
7
+ export default translations;
@@ -0,0 +1,18 @@
1
+ declare const translations: {
2
+ PREVIOUS_MONTH: string;
3
+ NEXT_MONTH: string;
4
+ PREVIOUS_YEAR: string;
5
+ NEXT_YEAR: string;
6
+ PREVIOUS_DECADE: string;
7
+ NEXT_DECADE: string;
8
+ YEAR_SELECTOR: string;
9
+ DATE_SELECTOR: string;
10
+ CELL_LABEL: string;
11
+ SELECTED: string;
12
+ NOW: string;
13
+ SELECTED_NOW: string;
14
+ SELECTED_DATE: string;
15
+ SELECTED_RANGE: string;
16
+ SELECTED_NONE: string;
17
+ };
18
+ export default translations;
@@ -0,0 +1,20 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ PREVIOUS_MONTH: 'Previous month',
4
+ NEXT_MONTH: 'Next month',
5
+ PREVIOUS_YEAR: 'Previous year',
6
+ NEXT_YEAR: 'Next year',
7
+ PREVIOUS_DECADE: 'Previous decade',
8
+ NEXT_DECADE: 'Next decade',
9
+ YEAR_SELECTOR: 'Click to select year',
10
+ DATE_SELECTOR: 'Click to select date',
11
+ CELL_LABEL: '{view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
12
+ SELECTED: 'Selected: {view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
13
+ NOW: '{view, select, year {Current year, {value, date, ::yyyy}} month {Current month, {value, date, ::MMMM-yyyy}} other {Today, {value, date, full}}}',
14
+ SELECTED_NOW: 'Selected: {view, select, year {current year, {value, date, ::yyyy}} month {current month, {value, date, ::MMMM-yyyy}} other {today, {value, date, full}}}',
15
+ SELECTED_DATE: 'Selected {count, plural, =1 {date is {value, date, full}} other {# dates, {value, date, full} and others}}',
16
+ SELECTED_RANGE: 'Selected range is from {from, date, full}{to, select, null {} other { to {to, date, full}}}',
17
+ SELECTED_NONE: 'Selected none. Choose {range, select, true {date range} other {{multiple, select, true {dates} other {date}}}}'
18
+ };
19
+ Phrasebook.define('de', 'ef-calendar', translations);
20
+ export default translations;
@@ -0,0 +1,4 @@
1
+ declare const translations: {
2
+ OPEN_MENU: string;
3
+ };
4
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ OPEN_MENU: 'Open Menu'
4
+ };
5
+ Phrasebook.define('de', 'ef-card', translations);
6
+ export default translations;
@@ -0,0 +1,8 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ HEADER: string;
4
+ RED: string;
5
+ GREEN: string;
6
+ BLUE: string;
7
+ };
8
+ export default translations;
@@ -0,0 +1,15 @@
1
+ // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
+ import dialogTranslations from './dialog';
5
+ const translations = {
6
+ ...dialogTranslations,
7
+ // Dialog title
8
+ HEADER: 'Farbauswahl',
9
+ // Color values for color mixer, has space for a single character
10
+ RED: 'R',
11
+ GREEN: 'G',
12
+ BLUE: 'B'
13
+ };
14
+ Phrasebook.define('de', 'ef-color-dialog', translations);
15
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ MULTIPLE_ITEMS: string;
4
+ NO_OPTIONS: string;
5
+ };
6
+ export default translations;
@@ -0,0 +1,8 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
+ const translations = {
4
+ MULTIPLE_ITEMS: 'Mehrere Objekte',
5
+ NO_OPTIONS: 'Keine Ergebnisse'
6
+ };
7
+ Phrasebook.define('de', 'ef-combo-box', translations);
8
+ export default translations;
@@ -0,0 +1,14 @@
1
+ declare const translations: {
2
+ PICK_YEAR: string;
3
+ PICK_MONTH: string;
4
+ PICK_DAY: string;
5
+ PICK_HOUR: string;
6
+ PICK_MINUTE: string;
7
+ PICK_SECOND: string;
8
+ PICK_WEEKDAY: string;
9
+ PICK_FRACTIONALSECOND: string;
10
+ PICK_DAYPERIOD: string;
11
+ VALUE: string;
12
+ NO_VALUE: string;
13
+ };
14
+ export default translations;
@@ -0,0 +1,16 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ PICK_YEAR: 'Pick Year',
4
+ PICK_MONTH: 'Pick Month',
5
+ PICK_DAY: 'Pick Day',
6
+ PICK_HOUR: 'Pick Hours',
7
+ PICK_MINUTE: 'Pick Minutes',
8
+ PICK_SECOND: 'Pick Seconds',
9
+ PICK_WEEKDAY: 'Pick Weekday',
10
+ PICK_FRACTIONALSECOND: 'Pick Milliseconds',
11
+ PICK_DAYPERIOD: 'Pick Day Period',
12
+ VALUE: 'Current value is {value}',
13
+ NO_VALUE: 'No value'
14
+ };
15
+ Phrasebook.define('de', 'ef-datetime-field', translations);
16
+ export default translations;
@@ -0,0 +1,5 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ HEADER: string;
4
+ };
5
+ export default translations;
@@ -0,0 +1,8 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
+ // deliberately empty as covered by shared
4
+ const translations = {
5
+ HEADER: 'Dialog'
6
+ };
7
+ Phrasebook.define('de', 'ef-dialog', translations);
8
+ export default translations;
@@ -0,0 +1,7 @@
1
+ declare const translations: {
2
+ CANCEL: string;
3
+ OK: string;
4
+ CLOSE: string;
5
+ APPLY: string;
6
+ };
7
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import shareTranslate from './shared.js';
3
+ const translations = {
4
+ ...shareTranslate
5
+ };
6
+ Phrasebook.define('de', 'ef-notification', translations);
7
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ PAGE: string;
4
+ PAGE_OF: string;
5
+ };
6
+ export default translations;
@@ -0,0 +1,12 @@
1
+ // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
+ const translations = {
5
+ // page: current page #
6
+ PAGE: 'Seite {page}',
7
+ // page: current page #
8
+ // pageTotal: total number of pages
9
+ PAGE_OF: 'Seite {page} von {pageTotal}'
10
+ };
11
+ Phrasebook.define('de', 'ef-pagination', translations);
12
+ export default translations;
@@ -0,0 +1,5 @@
1
+ declare const translations: {
2
+ SHOW_PASSWORD: string;
3
+ HIDE_PASSWORD: string;
4
+ };
5
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ SHOW_PASSWORD: 'Show password',
4
+ HIDE_PASSWORD: 'Hide password'
5
+ };
6
+ Phrasebook.define('de', 'ef-password-field', translations);
7
+ export default translations;
@@ -0,0 +1,4 @@
1
+ declare const translations: {
2
+ SEARCH: string;
3
+ };
4
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ SEARCH: 'Search'
4
+ };
5
+ Phrasebook.define('de', 'ef-search-field', translations);
6
+ export default translations;
@@ -0,0 +1,7 @@
1
+ declare const translations: {
2
+ CANCEL: string;
3
+ OK: string;
4
+ CLOSE: string;
5
+ APPLY: string;
6
+ };
7
+ export default translations;
@@ -0,0 +1,10 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ // these are used for buttons
3
+ const translations = {
4
+ CANCEL: 'Abbrechen',
5
+ OK: 'OK',
6
+ CLOSE: 'Schließen',
7
+ APPLY: 'Anwenden'
8
+ };
9
+ Phrasebook.define('de', translations);
10
+ export default translations;
@@ -0,0 +1,10 @@
1
+ declare const translations: {
2
+ BEFORE_MIDDAY: string;
3
+ AFTER_MIDDAY: string;
4
+ TOGGLE_TIME_PERIOD: string;
5
+ SELECT_HOURS: string;
6
+ SELECT_MINUTES: string;
7
+ SELECT_SECONDS: string;
8
+ SELECTED: string;
9
+ };
10
+ export default translations;
@@ -0,0 +1,12 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ BEFORE_MIDDAY: 'Before Midday',
4
+ AFTER_MIDDAY: 'After Midday',
5
+ TOGGLE_TIME_PERIOD: 'Toggle Time Period',
6
+ SELECT_HOURS: '{value, select, null {Select hours} other {{value, plural, =1 {# hour} other {# hours}}}}',
7
+ SELECT_MINUTES: '{value, select, null {Select minutes} other {{value, plural, =1 {# minute} other {# minutes}}}}',
8
+ SELECT_SECONDS: '{value, select, null {Select seconds} other {{value, plural, =1 {# second} other {# seconds}}}}',
9
+ SELECTED: '{value, select, null {Selected none. Choose time} other {Selected time is: {showSeconds, select, true {{amPm, select, true {{value, time, ::hmsa}} other {{value, time, ::Hms}}}} other {{amPm, select, true {{value, time, ::hma}} other {{value, time, ::Hm}}}}}}}'
10
+ };
11
+ Phrasebook.define('de', 'ef-time-picker', translations);
12
+ export default translations;
@@ -0,0 +1,13 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ FULL_LIST: string;
4
+ SELECTED: string;
5
+ EXPAND_COLLAPSE: string;
6
+ SELECT_CONTROL: string;
7
+ DONE: string;
8
+ SELECTED_NUM: string;
9
+ MATCHES_NUM: string;
10
+ MULTIPLE_ITEMS: string;
11
+ NO_OPTIONS: string;
12
+ };
13
+ export default translations;
@@ -0,0 +1,19 @@
1
+ // Component docs https://elf.int.refinitiv.com/elements/tree-select.html
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
+ import comboboxTranslations from './combo-box';
5
+ const translations = {
6
+ ...comboboxTranslations,
7
+ // used as a toggle control
8
+ FULL_LIST: 'Vollständige Liste',
9
+ SELECTED: 'Ausgewählt',
10
+ EXPAND_COLLAPSE: '{expansion, select, true {Alle einklappen} other {Alle ausklappen}}',
11
+ SELECT_CONTROL: '{selected, select, true {Auswahl aufheben} other {Alle auswählen}}',
12
+ // button control
13
+ DONE: 'Fertig',
14
+ // selection/filter feedback
15
+ SELECTED_NUM: '{numSelected, plural, =0 {} =1 {Eine Auswahl.} other {# ausgewählt.}}',
16
+ MATCHES_NUM: '{numMatched, plural, =0 {Keine Ergebnisse} =1 {1 Ergebnis} other {# Ergebnisse}}'
17
+ };
18
+ Phrasebook.define('de', 'ef-tree-select', translations);
19
+ export default translations;
@@ -0,0 +1,7 @@
1
+ declare const translations: {
2
+ CANCEL: string;
3
+ OK: string;
4
+ CLOSE: string;
5
+ APPLY: string;
6
+ };
7
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import shareTranslate from './shared.js';
3
+ const translations = {
4
+ ...shareTranslate
5
+ };
6
+ Phrasebook.define('en', 'ef-appstate-bar', translations);
7
+ export default translations;
@@ -0,0 +1,18 @@
1
+ declare const translations: {
2
+ PREVIOUS_MONTH: string;
3
+ NEXT_MONTH: string;
4
+ PREVIOUS_YEAR: string;
5
+ NEXT_YEAR: string;
6
+ PREVIOUS_DECADE: string;
7
+ NEXT_DECADE: string;
8
+ YEAR_SELECTOR: string;
9
+ DATE_SELECTOR: string;
10
+ CELL_LABEL: string;
11
+ SELECTED: string;
12
+ NOW: string;
13
+ SELECTED_NOW: string;
14
+ SELECTED_DATE: string;
15
+ SELECTED_RANGE: string;
16
+ SELECTED_NONE: string;
17
+ };
18
+ export default translations;
@@ -0,0 +1,20 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ PREVIOUS_MONTH: 'Previous month',
4
+ NEXT_MONTH: 'Next month',
5
+ PREVIOUS_YEAR: 'Previous year',
6
+ NEXT_YEAR: 'Next year',
7
+ PREVIOUS_DECADE: 'Previous decade',
8
+ NEXT_DECADE: 'Next decade',
9
+ YEAR_SELECTOR: 'Click to select year',
10
+ DATE_SELECTOR: 'Click to select date',
11
+ CELL_LABEL: '{view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
12
+ SELECTED: 'Selected: {view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
13
+ NOW: '{view, select, year {Current year, {value, date, ::yyyy}} month {Current month, {value, date, ::MMMM-yyyy}} other {Today, {value, date, full}}}',
14
+ SELECTED_NOW: 'Selected: {view, select, year {current year, {value, date, ::yyyy}} month {current month, {value, date, ::MMMM-yyyy}} other {today, {value, date, full}}}',
15
+ SELECTED_DATE: 'Selected {count, plural, =1 {date is {value, date, full}} other {# dates, {value, date, full} and others}}',
16
+ SELECTED_RANGE: 'Selected range is from {from, date, full}{to, select, null {} other { to {to, date, full}}}',
17
+ SELECTED_NONE: 'Selected none. Choose {range, select, true {date range} other {{multiple, select, true {dates} other {date}}}}'
18
+ };
19
+ Phrasebook.define('en', 'ef-calendar', translations);
20
+ export default translations;
@@ -0,0 +1,4 @@
1
+ declare const translations: {
2
+ OPEN_MENU: string;
3
+ };
4
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ OPEN_MENU: 'Open Menu'
4
+ };
5
+ Phrasebook.define('en', 'ef-card', translations);
6
+ export default translations;
@@ -0,0 +1,8 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ HEADER: string;
4
+ RED: string;
5
+ GREEN: string;
6
+ BLUE: string;
7
+ };
8
+ export default translations;
@@ -0,0 +1,15 @@
1
+ // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
+ import dialogTranslations from './dialog';
5
+ const translations = {
6
+ ...dialogTranslations,
7
+ // Dialog title
8
+ HEADER: 'Color Picker',
9
+ // Color values for color mixer, has space for a single character
10
+ RED: 'R',
11
+ GREEN: 'G',
12
+ BLUE: 'B'
13
+ };
14
+ Phrasebook.define('en', 'ef-color-dialog', translations);
15
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ MULTIPLE_ITEMS: string;
4
+ NO_OPTIONS: string;
5
+ };
6
+ export default translations;
@@ -0,0 +1,8 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
+ const translations = {
4
+ MULTIPLE_ITEMS: 'Multiple items',
5
+ NO_OPTIONS: 'No results found.'
6
+ };
7
+ Phrasebook.define('en', 'ef-combo-box', translations);
8
+ export default translations;
@@ -0,0 +1,14 @@
1
+ declare const translations: {
2
+ PICK_YEAR: string;
3
+ PICK_MONTH: string;
4
+ PICK_DAY: string;
5
+ PICK_HOUR: string;
6
+ PICK_MINUTE: string;
7
+ PICK_SECOND: string;
8
+ PICK_WEEKDAY: string;
9
+ PICK_FRACTIONALSECOND: string;
10
+ PICK_DAYPERIOD: string;
11
+ VALUE: string;
12
+ NO_VALUE: string;
13
+ };
14
+ export default translations;
@@ -0,0 +1,16 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ PICK_YEAR: 'Pick Year',
4
+ PICK_MONTH: 'Pick Month',
5
+ PICK_DAY: 'Pick Day',
6
+ PICK_HOUR: 'Pick Hours',
7
+ PICK_MINUTE: 'Pick Minutes',
8
+ PICK_SECOND: 'Pick Seconds',
9
+ PICK_WEEKDAY: 'Pick Weekday',
10
+ PICK_FRACTIONALSECOND: 'Pick Milliseconds',
11
+ PICK_DAYPERIOD: 'Pick Day Period',
12
+ VALUE: 'Current value is {value}',
13
+ NO_VALUE: 'No value'
14
+ };
15
+ Phrasebook.define('en', 'ef-datetime-field', translations);
16
+ export default translations;
@@ -0,0 +1,5 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ HEADER: string;
4
+ };
5
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
+ const translations = {
4
+ HEADER: 'Dialog'
5
+ };
6
+ Phrasebook.define('en', 'ef-dialog', translations);
7
+ export default translations;
@@ -0,0 +1,7 @@
1
+ declare const translations: {
2
+ CANCEL: string;
3
+ OK: string;
4
+ CLOSE: string;
5
+ APPLY: string;
6
+ };
7
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ import shareTranslate from './shared.js';
3
+ const translations = {
4
+ ...shareTranslate
5
+ };
6
+ Phrasebook.define('en', 'ef-notification', translations);
7
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ PAGE: string;
4
+ PAGE_OF: string;
5
+ };
6
+ export default translations;
@@ -0,0 +1,12 @@
1
+ // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
+ const translations = {
5
+ // page: current page #
6
+ PAGE: 'Page {page}',
7
+ // page: current page #
8
+ // pageTotal: total number of pages
9
+ PAGE_OF: 'Page {page} of {pageTotal}'
10
+ };
11
+ Phrasebook.define('en', 'ef-pagination', translations);
12
+ export default translations;
@@ -0,0 +1,5 @@
1
+ declare const translations: {
2
+ SHOW_PASSWORD: string;
3
+ HIDE_PASSWORD: string;
4
+ };
5
+ export default translations;
@@ -0,0 +1,7 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ SHOW_PASSWORD: 'Show password',
4
+ HIDE_PASSWORD: 'Hide password'
5
+ };
6
+ Phrasebook.define('en', 'ef-password-field', translations);
7
+ export default translations;
@@ -0,0 +1,4 @@
1
+ declare const translations: {
2
+ SEARCH: string;
3
+ };
4
+ export default translations;
@@ -0,0 +1,6 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ SEARCH: 'Search'
4
+ };
5
+ Phrasebook.define('en', 'ef-search-field', translations);
6
+ export default translations;
@@ -0,0 +1,7 @@
1
+ declare const translations: {
2
+ CANCEL: string;
3
+ OK: string;
4
+ CLOSE: string;
5
+ APPLY: string;
6
+ };
7
+ export default translations;
@@ -0,0 +1,10 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ // these are used for buttons
3
+ const translations = {
4
+ CANCEL: 'Cancel',
5
+ OK: 'OK',
6
+ CLOSE: 'Close',
7
+ APPLY: 'Apply'
8
+ };
9
+ Phrasebook.define('en', translations);
10
+ export default translations;
@@ -0,0 +1,10 @@
1
+ declare const translations: {
2
+ BEFORE_MIDDAY: string;
3
+ AFTER_MIDDAY: string;
4
+ TOGGLE_TIME_PERIOD: string;
5
+ SELECT_HOURS: string;
6
+ SELECT_MINUTES: string;
7
+ SELECT_SECONDS: string;
8
+ SELECTED: string;
9
+ };
10
+ export default translations;
@@ -0,0 +1,12 @@
1
+ import { Phrasebook } from '../../translation.js';
2
+ const translations = {
3
+ BEFORE_MIDDAY: 'Before Midday',
4
+ AFTER_MIDDAY: 'After Midday',
5
+ TOGGLE_TIME_PERIOD: 'Toggle Time Period',
6
+ SELECT_HOURS: '{value, select, null {Select hours} other {{value, plural, =1 {# hour} other {# hours}}}}',
7
+ SELECT_MINUTES: '{value, select, null {Select minutes} other {{value, plural, =1 {# minute} other {# minutes}}}}',
8
+ SELECT_SECONDS: '{value, select, null {Select seconds} other {{value, plural, =1 {# second} other {# seconds}}}}',
9
+ SELECTED: '{value, select, null {Selected none. Choose time} other {Selected time is: {showSeconds, select, true {{amPm, select, true {{value, time, ::hmsa}} other {{value, time, ::Hms}}}} other {{amPm, select, true {{value, time, ::hma}} other {{value, time, ::Hm}}}}}}}'
10
+ };
11
+ Phrasebook.define('en', 'ef-time-picker', translations);
12
+ export default translations;
@@ -0,0 +1,13 @@
1
+ import './shared.js';
2
+ declare const translations: {
3
+ FULL_LIST: string;
4
+ SELECTED: string;
5
+ EXPAND_COLLAPSE: string;
6
+ SELECT_CONTROL: string;
7
+ DONE: string;
8
+ SELECTED_NUM: string;
9
+ MATCHES_NUM: string;
10
+ MULTIPLE_ITEMS: string;
11
+ NO_OPTIONS: string;
12
+ };
13
+ export default translations;