@refinitiv-ui/phrasebook 5.1.6 → 5.3.0-alpha.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 (90) hide show
  1. package/CHANGELOG.md +36 -2
  2. package/lib/index.d.ts +2 -2
  3. package/lib/index.js +1 -1
  4. package/lib/locale/de/calendar.d.ts +18 -0
  5. package/lib/locale/de/calendar.js +20 -0
  6. package/lib/locale/de/color-dialog.d.ts +1 -1
  7. package/lib/locale/de/color-dialog.js +2 -2
  8. package/lib/locale/de/combo-box.d.ts +1 -1
  9. package/lib/locale/de/combo-box.js +2 -2
  10. package/lib/locale/de/dialog.d.ts +1 -1
  11. package/lib/locale/de/dialog.js +2 -2
  12. package/lib/locale/de/pagination.d.ts +1 -1
  13. package/lib/locale/de/pagination.js +2 -2
  14. package/lib/locale/de/password-field.d.ts +5 -0
  15. package/lib/locale/de/password-field.js +7 -0
  16. package/lib/locale/de/search-field.d.ts +4 -0
  17. package/lib/locale/de/search-field.js +6 -0
  18. package/lib/locale/de/shared.js +1 -1
  19. package/lib/locale/de/tree-select.d.ts +1 -1
  20. package/lib/locale/de/tree-select.js +2 -2
  21. package/lib/locale/en/calendar.d.ts +18 -0
  22. package/lib/locale/en/calendar.js +20 -0
  23. package/lib/locale/en/color-dialog.d.ts +1 -1
  24. package/lib/locale/en/color-dialog.js +2 -2
  25. package/lib/locale/en/combo-box.d.ts +1 -1
  26. package/lib/locale/en/combo-box.js +2 -2
  27. package/lib/locale/en/dialog.d.ts +1 -1
  28. package/lib/locale/en/dialog.js +2 -2
  29. package/lib/locale/en/pagination.d.ts +1 -1
  30. package/lib/locale/en/pagination.js +2 -2
  31. package/lib/locale/en/password-field.d.ts +5 -0
  32. package/lib/locale/en/password-field.js +7 -0
  33. package/lib/locale/en/search-field.d.ts +4 -0
  34. package/lib/locale/en/search-field.js +6 -0
  35. package/lib/locale/en/shared.js +1 -1
  36. package/lib/locale/en/tree-select.d.ts +1 -1
  37. package/lib/locale/en/tree-select.js +2 -2
  38. package/lib/locale/ja/calendar.d.ts +18 -0
  39. package/lib/locale/ja/calendar.js +20 -0
  40. package/lib/locale/ja/color-dialog.d.ts +1 -1
  41. package/lib/locale/ja/color-dialog.js +2 -2
  42. package/lib/locale/ja/combo-box.d.ts +1 -1
  43. package/lib/locale/ja/combo-box.js +2 -2
  44. package/lib/locale/ja/dialog.d.ts +1 -1
  45. package/lib/locale/ja/dialog.js +2 -2
  46. package/lib/locale/ja/pagination.d.ts +1 -1
  47. package/lib/locale/ja/pagination.js +2 -2
  48. package/lib/locale/ja/password-field.d.ts +5 -0
  49. package/lib/locale/ja/password-field.js +7 -0
  50. package/lib/locale/ja/search-field.d.ts +4 -0
  51. package/lib/locale/ja/search-field.js +6 -0
  52. package/lib/locale/ja/shared.js +1 -1
  53. package/lib/locale/ja/tree-select.d.ts +1 -1
  54. package/lib/locale/ja/tree-select.js +3 -3
  55. package/lib/locale/zh/calendar.d.ts +18 -0
  56. package/lib/locale/zh/calendar.js +20 -0
  57. package/lib/locale/zh/color-dialog.d.ts +1 -1
  58. package/lib/locale/zh/color-dialog.js +2 -2
  59. package/lib/locale/zh/combo-box.d.ts +1 -1
  60. package/lib/locale/zh/combo-box.js +2 -2
  61. package/lib/locale/zh/dialog.d.ts +1 -1
  62. package/lib/locale/zh/dialog.js +2 -2
  63. package/lib/locale/zh/pagination.d.ts +1 -1
  64. package/lib/locale/zh/pagination.js +2 -2
  65. package/lib/locale/zh/password-field.d.ts +5 -0
  66. package/lib/locale/zh/password-field.js +7 -0
  67. package/lib/locale/zh/search-field.d.ts +4 -0
  68. package/lib/locale/zh/search-field.js +6 -0
  69. package/lib/locale/zh/shared.js +1 -1
  70. package/lib/locale/zh/tree-select.d.ts +1 -1
  71. package/lib/locale/zh/tree-select.js +2 -2
  72. package/lib/locale/zh-hant/calendar.d.ts +18 -0
  73. package/lib/locale/zh-hant/calendar.js +20 -0
  74. package/lib/locale/zh-hant/color-dialog.d.ts +1 -1
  75. package/lib/locale/zh-hant/color-dialog.js +2 -2
  76. package/lib/locale/zh-hant/combo-box.d.ts +1 -1
  77. package/lib/locale/zh-hant/combo-box.js +2 -2
  78. package/lib/locale/zh-hant/dialog.d.ts +1 -1
  79. package/lib/locale/zh-hant/dialog.js +2 -2
  80. package/lib/locale/zh-hant/pagination.d.ts +1 -1
  81. package/lib/locale/zh-hant/pagination.js +2 -2
  82. package/lib/locale/zh-hant/password-field.d.ts +5 -0
  83. package/lib/locale/zh-hant/password-field.js +7 -0
  84. package/lib/locale/zh-hant/search-field.d.ts +4 -0
  85. package/lib/locale/zh-hant/search-field.js +6 -0
  86. package/lib/locale/zh-hant/shared.js +1 -1
  87. package/lib/locale/zh-hant/tree-select.d.ts +1 -1
  88. package/lib/locale/zh-hant/tree-select.js +2 -2
  89. package/lib/translation.d.ts +1 -1
  90. package/package.json +99 -3
package/CHANGELOG.md CHANGED
@@ -3,7 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [5.1.6](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.3...@refinitiv-ui/phrasebook@5.1.6) (2021-10-25)
6
+ # [5.3.0-alpha.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.2.2-alpha.0...@refinitiv-ui/phrasebook@5.3.0-alpha.0) (2021-12-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * **calendar:** add accessibility ([#73](https://github.com/Refinitiv/refinitiv-ui/issues/73)) ([a2576cc](https://github.com/Refinitiv/refinitiv-ui/commit/a2576cc8a1f0229bb5988af0c9d0bbf8ce7f765c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [5.2.2-alpha.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.2.1...@refinitiv-ui/phrasebook@5.2.2-alpha.0) (2021-12-13)
7
18
 
8
19
  **Note:** Version bump only for package @refinitiv-ui/phrasebook
9
20
 
@@ -11,7 +22,30 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
22
 
12
23
 
13
24
 
14
- ## [5.1.5](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.3...@refinitiv-ui/phrasebook@5.1.5) (2021-10-25)
25
+ ## [5.2.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.2.0...@refinitiv-ui/phrasebook@5.2.1) (2021-12-03)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **phrasebook:** change ICU syntax on Japanese language ([9b235ab](https://github.com/Refinitiv/refinitiv-ui/commit/9b235ab61fa0dae5c6ce97b66acee52dfd4028d4))
31
+ * **phrasebook:** export path should go to lib folder ([681028f](https://github.com/Refinitiv/refinitiv-ui/commit/681028ff960a831cfa888d0fdea38ddd40de815f))
32
+
33
+
34
+
35
+
36
+
37
+ # [5.2.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.6...@refinitiv-ui/phrasebook@5.2.0) (2021-11-08)
38
+
39
+
40
+ ### Features
41
+
42
+ * Lit@2 upgrade ([dbda63b](https://github.com/Refinitiv/refinitiv-ui/commit/dbda63be97257f891cb1f2c5ff46b638c70e0b15))
43
+
44
+
45
+
46
+
47
+
48
+ ## [5.1.6](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.3...@refinitiv-ui/phrasebook@5.1.6) (2021-10-25)
15
49
 
16
50
  **Note:** Version bump only for package @refinitiv-ui/phrasebook
17
51
 
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { Translations } from './types';
2
- export { Phrasebook, ObserverCallback, ObserverKey } from './translation';
1
+ export type { Translations } from './types';
2
+ export { Phrasebook, ObserverCallback, ObserverKey } from './translation.js';
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- export { Phrasebook, ObserverKey } from './translation';
1
+ export { Phrasebook, ObserverKey } from './translation.js';
@@ -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;
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  RED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import dialogTranslations from './dialog';
5
5
  const translations = Object.assign(Object.assign({}, dialogTranslations), {
6
6
  // Dialog title
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  MULTIPLE_ITEMS: string;
4
4
  NO_OPTIONS: string;
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  const translations = {
4
4
  MULTIPLE_ITEMS: 'Mehrere Objekte',
5
5
  NO_OPTIONS: 'Keine Ergebnisse'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  // deliberately empty as covered by shared
4
4
  const translations = {
5
5
  HEADER: 'Dialog'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  PAGE_OF: string;
4
4
  ITEM_INFO: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  const translations = {
5
5
  // page: current page #
6
6
  // pageTotal: total number of pages
@@ -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;
@@ -1,4 +1,4 @@
1
- import { Phrasebook } from '../../';
1
+ import { Phrasebook } from '../../translation.js';
2
2
  // these are used for buttons
3
3
  const translations = {
4
4
  CANCEL: 'Abbrechen',
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  FULL_LIST: string;
4
4
  SELECTED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/tree-select.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import comboboxTranslations from './combo-box';
5
5
  const translations = Object.assign(Object.assign({}, comboboxTranslations), {
6
6
  // used as a toggle control
@@ -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;
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  RED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import dialogTranslations from './dialog';
5
5
  const translations = Object.assign(Object.assign({}, dialogTranslations), {
6
6
  // Dialog title
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  MULTIPLE_ITEMS: string;
4
4
  NO_OPTIONS: string;
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  const translations = {
4
4
  MULTIPLE_ITEMS: 'Multiple items',
5
5
  NO_OPTIONS: 'No results found.'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  const translations = {
4
4
  HEADER: 'Dialog'
5
5
  };
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  PAGE_OF: string;
4
4
  ITEM_INFO: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  const translations = {
5
5
  // page: current page #
6
6
  // pageTotal: total number of pages
@@ -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;
@@ -1,4 +1,4 @@
1
- import { Phrasebook } from '../../';
1
+ import { Phrasebook } from '../../translation.js';
2
2
  // these are used for buttons
3
3
  const translations = {
4
4
  CANCEL: 'Cancel',
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  FULL_LIST: string;
4
4
  SELECTED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/tree-select.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import comboboxTranslations from './combo-box';
5
5
  const translations = Object.assign(Object.assign({}, comboboxTranslations), {
6
6
  // used as a toggle control
@@ -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('ja', 'ef-calendar', translations);
20
+ export default translations;
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  RED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import dialogTranslations from './dialog';
5
5
  const translations = Object.assign(Object.assign({}, dialogTranslations), {
6
6
  // Dialog title
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  MULTIPLE_ITEMS: string;
4
4
  NO_OPTIONS: string;
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  const translations = {
4
4
  MULTIPLE_ITEMS: '複数項目',
5
5
  NO_OPTIONS: '該当する結果はありません。'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  // deliberately empty as covered by shared
4
4
  const translations = {
5
5
  HEADER: 'ダイアログ'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  PAGE_OF: string;
4
4
  ITEM_INFO: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  const translations = {
5
5
  // page: current page #
6
6
  // pageTotal: total number of pages
@@ -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('ja', '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('ja', 'ef-search-field', translations);
6
+ export default translations;
@@ -1,4 +1,4 @@
1
- import { Phrasebook } from '../../';
1
+ import { Phrasebook } from '../../translation.js';
2
2
  // these are used for buttons
3
3
  const translations = {
4
4
  CANCEL: 'キャンセル',
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  FULL_LIST: string;
4
4
  SELECTED: string;
@@ -1,10 +1,10 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/tree-select.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import comboboxTranslations from './combo-box';
5
5
  const translations = Object.assign(Object.assign({}, comboboxTranslations), {
6
6
  // used as a toggle control
7
- FULL_LIST: 'すべて', SELECTED: '選択項目のみ', EXPAND_COLLAPSE: '{expansion, select, false {すべてを展開} true {すべてを折りたたむ}}', SELECT_CONTROL: '{selected, select, false {すべて選択} true {選択をすべて解除}}',
7
+ FULL_LIST: 'すべて', SELECTED: '選択項目のみ', EXPAND_COLLAPSE: '{expansion, select, false {すべてを展開} other {すべてを折りたたむ}}', SELECT_CONTROL: '{selected, select, false {すべて選択} other {選択をすべて解除}}',
8
8
  // button control
9
9
  DONE: '完了',
10
10
  // selection/filter feedback
@@ -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('zh', 'ef-calendar', translations);
20
+ export default translations;
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  RED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import dialogTranslations from './dialog';
5
5
  const translations = Object.assign(Object.assign({}, dialogTranslations), {
6
6
  // Dialog title
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  MULTIPLE_ITEMS: string;
4
4
  NO_OPTIONS: string;
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  const translations = {
4
4
  MULTIPLE_ITEMS: '多项',
5
5
  NO_OPTIONS: '未找到结果。'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  // deliberately empty as covered by shared
4
4
  const translations = {
5
5
  HEADER: '对话框'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  PAGE_OF: string;
4
4
  ITEM_INFO: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  const translations = {
5
5
  // page: current page #
6
6
  // pageTotal: total number of pages
@@ -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('zh', '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('zh', 'ef-search-field', translations);
6
+ export default translations;
@@ -1,4 +1,4 @@
1
- import { Phrasebook } from '../../';
1
+ import { Phrasebook } from '../../translation.js';
2
2
  // these are used for buttons
3
3
  const translations = {
4
4
  CANCEL: '取消',
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  FULL_LIST: string;
4
4
  SELECTED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/tree-select.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import comboboxTranslations from './combo-box';
5
5
  const translations = Object.assign(Object.assign({}, comboboxTranslations), {
6
6
  // used as a toggle control
@@ -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('zh-Hant', 'ef-calendar', translations);
20
+ export default translations;
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  RED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import dialogTranslations from './dialog';
5
5
  const translations = Object.assign(Object.assign({}, dialogTranslations), {
6
6
  // Dialog title
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  MULTIPLE_ITEMS: string;
4
4
  NO_OPTIONS: string;
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  const translations = {
4
4
  MULTIPLE_ITEMS: '多項',
5
5
  NO_OPTIONS: '未找到結果。'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  HEADER: string;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { Phrasebook } from '../../';
2
- import './shared';
1
+ import { Phrasebook } from '../../translation.js';
2
+ import './shared.js';
3
3
  // deliberately empty as covered by shared
4
4
  const translations = {
5
5
  HEADER: '對話框'
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  PAGE_OF: string;
4
4
  ITEM_INFO: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/pagination.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  const translations = {
5
5
  // page: current page #
6
6
  // pageTotal: total number of pages
@@ -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('zh-Hant', '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('zh-Hant', 'ef-search-field', translations);
6
+ export default translations;
@@ -1,4 +1,4 @@
1
- import { Phrasebook } from '../../';
1
+ import { Phrasebook } from '../../translation.js';
2
2
  // these are used for buttons
3
3
  const translations = {
4
4
  CANCEL: '取消',
@@ -1,4 +1,4 @@
1
- import './shared';
1
+ import './shared.js';
2
2
  declare const translations: {
3
3
  FULL_LIST: string;
4
4
  SELECTED: string;
@@ -1,6 +1,6 @@
1
1
  // Component docs https://elf.int.refinitiv.com/elements/tree-select.html
2
- import { Phrasebook } from '../../';
3
- import './shared';
2
+ import { Phrasebook } from '../../translation.js';
3
+ import './shared.js';
4
4
  import comboboxTranslations from './combo-box';
5
5
  const translations = Object.assign(Object.assign({}, comboboxTranslations), {
6
6
  // used as a toggle control
@@ -1,4 +1,4 @@
1
- import { Translations } from './index';
1
+ import type { Translations } from './types';
2
2
  declare class ObserverKey {
3
3
  }
4
4
  declare type ObserverCallback = (locale: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/phrasebook",
3
- "version": "5.1.6",
3
+ "version": "5.3.0-alpha.0",
4
4
  "description": "Collection of messages in EF components for translation",
5
5
  "author": "Refinitiv",
6
6
  "license": "Apache-2.0",
@@ -12,6 +12,99 @@
12
12
  "url": "git@github.com:Refinitiv/refinitiv-ui.git",
13
13
  "directory": "packages/phrasebook"
14
14
  },
15
+ "exports": {
16
+ ".": "./lib/index.js",
17
+ "./locale/de/calendar.js": "./lib/locale/de/calendar.js",
18
+ "./locale/de/color-dialog.js": "./lib/locale/de/color-dialog.js",
19
+ "./locale/de/combo-box.js": "./lib/locale/de/combo-box.js",
20
+ "./locale/de/dialog.js": "./lib/locale/de/dialog.js",
21
+ "./locale/de/pagination.js": "./lib/locale/de/pagination.js",
22
+ "./locale/de/password-field.js": "./lib/locale/de/password-field.js",
23
+ "./locale/de/search-field.js": "./lib/locale/de/search-field.js",
24
+ "./locale/de/shared.js": "./lib/locale/de/shared.js",
25
+ "./locale/de/tree-select.js": "./lib/locale/de/tree-select.js",
26
+ "./locale/en/calendar.js": "./lib/locale/en/calendar.js",
27
+ "./locale/en/color-dialog.js": "./lib/locale/en/color-dialog.js",
28
+ "./locale/en/combo-box.js": "./lib/locale/en/combo-box.js",
29
+ "./locale/en/dialog.js": "./lib/locale/en/dialog.js",
30
+ "./locale/en/pagination.js": "./lib/locale/en/pagination.js",
31
+ "./locale/en/password-field.js": "./lib/locale/en/password-field.js",
32
+ "./locale/en/search-field.js": "./lib/locale/en/search-field.js",
33
+ "./locale/en/shared.js": "./lib/locale/en/shared.js",
34
+ "./locale/en/tree-select.js": "./lib/locale/en/tree-select.js",
35
+ "./locale/ja/calendar.js": "./lib/locale/ja/calendar.js",
36
+ "./locale/ja/color-dialog.js": "./lib/locale/ja/color-dialog.js",
37
+ "./locale/ja/combo-box.js": "./lib/locale/ja/combo-box.js",
38
+ "./locale/ja/dialog.js": "./lib/locale/ja/dialog.js",
39
+ "./locale/ja/pagination.js": "./lib/locale/ja/pagination.js",
40
+ "./locale/ja/password-field.js": "./lib/locale/ja/password-field.js",
41
+ "./locale/ja/search-field.js": "./lib/locale/ja/search-field.js",
42
+ "./locale/ja/shared.js": "./lib/locale/ja/shared.js",
43
+ "./locale/ja/tree-select.js": "./lib/locale/ja/tree-select.js",
44
+ "./locale/zh/calendar.js": "./lib/locale/zh/calendar.js",
45
+ "./locale/zh/color-dialog.js": "./lib/locale/zh/color-dialog.js",
46
+ "./locale/zh/combo-box.js": "./lib/locale/zh/combo-box.js",
47
+ "./locale/zh/dialog.js": "./lib/locale/zh/dialog.js",
48
+ "./locale/zh/pagination.js": "./lib/locale/zh/pagination.js",
49
+ "./locale/zh/password-field.js": "./lib/locale/zh/password-field.js",
50
+ "./locale/zh/search-field.js": "./lib/locale/zh/search-field.js",
51
+ "./locale/zh/shared.js": "./lib/locale/zh/shared.js",
52
+ "./locale/zh/tree-select.js": "./lib/locale/zh/tree-select.js",
53
+ "./locale/zh-hant/calendar.js": "./lib/locale/zh-hant/calendar.js",
54
+ "./locale/zh-hant/color-dialog.js": "./lib/locale/zh-hant/color-dialog.js",
55
+ "./locale/zh-hant/combo-box.js": "./lib/locale/zh-hant/combo-box.js",
56
+ "./locale/zh-hant/dialog.js": "./lib/locale/zh-hant/dialog.js",
57
+ "./locale/zh-hant/pagination.js": "./lib/locale/zh-hant/pagination.js",
58
+ "./locale/zh-hant/password-field.js": "./lib/locale/zh-hant/password-field.js",
59
+ "./locale/zh-hant/search-field.js": "./lib/locale/zh-hant/search-field.js",
60
+ "./locale/zh-hant/shared.js": "./lib/locale/zh-hant/shared.js",
61
+ "./locale/zh-hant/tree-select.js": "./lib/locale/zh-hant/tree-select.js",
62
+ "./lib/locale/de/calendar.js": "./lib/locale/de/calendar.js",
63
+ "./lib/locale/de/color-dialog.js": "./lib/locale/de/color-dialog.js",
64
+ "./lib/locale/de/combo-box.js": "./lib/locale/de/combo-box.js",
65
+ "./lib/locale/de/dialog.js": "./lib/locale/de/dialog.js",
66
+ "./lib/locale/de/pagination.js": "./lib/locale/de/pagination.js",
67
+ "./lib/locale/de/password-field.js": "./lib/locale/de/password-field.js",
68
+ "./lib/locale/de/search-field.js": "./lib/locale/de/search-field.js",
69
+ "./lib/locale/de/shared.js": "./lib/locale/de/shared.js",
70
+ "./lib/locale/de/tree-select.js": "./lib/locale/de/tree-select.js",
71
+ "./lib/locale/en/calendar.js": "./lib/locale/en/calendar.js",
72
+ "./lib/locale/en/color-dialog.js": "./lib/locale/en/color-dialog.js",
73
+ "./lib/locale/en/combo-box.js": "./lib/locale/en/combo-box.js",
74
+ "./lib/locale/en/dialog.js": "./lib/locale/en/dialog.js",
75
+ "./lib/locale/en/pagination.js": "./lib/locale/en/pagination.js",
76
+ "./lib/locale/en/password-field.js": "./lib/locale/en/password-field.js",
77
+ "./lib/locale/en/search-field.js": "./lib/locale/en/search-field.js",
78
+ "./lib/locale/en/shared.js": "./lib/locale/en/shared.js",
79
+ "./lib/locale/en/tree-select.js": "./lib/locale/en/tree-select.js",
80
+ "./lib/locale/ja/calendar.js": "./lib/locale/ja/calendar.js",
81
+ "./lib/locale/ja/color-dialog.js": "./lib/locale/ja/color-dialog.js",
82
+ "./lib/locale/ja/combo-box.js": "./lib/locale/ja/combo-box.js",
83
+ "./lib/locale/ja/dialog.js": "./lib/locale/ja/dialog.js",
84
+ "./lib/locale/ja/pagination.js": "./lib/locale/ja/pagination.js",
85
+ "./lib/locale/ja/password-field.js": "./lib/locale/ja/password-field.js",
86
+ "./lib/locale/ja/search-field.js": "./lib/locale/ja/search-field.js",
87
+ "./lib/locale/ja/shared.js": "./lib/locale/ja/shared.js",
88
+ "./lib/locale/ja/tree-select.js": "./lib/locale/ja/tree-select.js",
89
+ "./lib/locale/zh/calendar.js": "./lib/locale/zh/calendar.js",
90
+ "./lib/locale/zh/color-dialog.js": "./lib/locale/zh/color-dialog.js",
91
+ "./lib/locale/zh/combo-box.js": "./lib/locale/zh/combo-box.js",
92
+ "./lib/locale/zh/dialog.js": "./lib/locale/zh/dialog.js",
93
+ "./lib/locale/zh/pagination.js": "./lib/locale/zh/pagination.js",
94
+ "./lib/locale/zh/password-field.js": "./lib/locale/zh/password-field.js",
95
+ "./lib/locale/zh/search-field.js": "./lib/locale/zh/search-field.js",
96
+ "./lib/locale/zh/shared.js": "./lib/locale/zh/shared.js",
97
+ "./lib/locale/zh/tree-select.js": "./lib/locale/zh/tree-select.js",
98
+ "./lib/locale/zh-hant/calendar.js": "./lib/locale/zh-hant/calendar.js",
99
+ "./lib/locale/zh-hant/color-dialog.js": "./lib/locale/zh-hant/color-dialog.js",
100
+ "./lib/locale/zh-hant/combo-box.js": "./lib/locale/zh-hant/combo-box.js",
101
+ "./lib/locale/zh-hant/dialog.js": "./lib/locale/zh-hant/dialog.js",
102
+ "./lib/locale/zh-hant/pagination.js": "./lib/locale/zh-hant/pagination.js",
103
+ "./lib/locale/zh-hant/password-field.js": "./lib/locale/zh-hant/password-field.js",
104
+ "./lib/locale/zh-hant/search-field.js": "./lib/locale/zh-hant/search-field.js",
105
+ "./lib/locale/zh-hant/shared.js": "./lib/locale/zh-hant/shared.js",
106
+ "./lib/locale/zh-hant/tree-select.js": "./lib/locale/zh-hant/tree-select.js"
107
+ },
15
108
  "scripts": {
16
109
  "build": "tsc --sourceMap --declarationMap",
17
110
  "build:prod": "tsc",
@@ -20,12 +113,15 @@
20
113
  "test": "npm run build && mocha __test__/**/*.js --require esm"
21
114
  },
22
115
  "devDependencies": {
23
- "chai": "4.3.4",
116
+ "chai": "^4.3.4",
24
117
  "esm": "^3.2.25",
25
118
  "mocha": "^8.4.0"
26
119
  },
27
120
  "publishConfig": {
28
121
  "access": "public"
29
122
  },
30
- "gitHead": "56c985d7666d307366f71e84bc10111c45ef7f6f"
123
+ "dependencies": {
124
+ "tslib": "^2.3.1"
125
+ },
126
+ "gitHead": "20e555a28212760cc2657b27ca0c5f583c55c51d"
31
127
  }