@pega/cosmos-react-core 2.0.0-dev.14.0 → 2.0.0-dev.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/AppShell/AppShell.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.js +14 -4
- package/lib/components/AppShell/AppShell.js.map +1 -1
- package/lib/components/AppShell/AppShell.styles.d.ts +0 -1
- package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.styles.js +16 -24
- package/lib/components/AppShell/AppShell.styles.js.map +1 -1
- package/lib/components/AppShell/AppShell.types.d.ts +1 -1
- package/lib/components/AppShell/AppShell.types.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.types.js.map +1 -1
- package/lib/components/AppShell/AppShellList.d.ts.map +1 -1
- package/lib/components/AppShell/AppShellList.js +1 -1
- package/lib/components/AppShell/AppShellList.js.map +1 -1
- package/lib/components/AppShell/Drawer.js +1 -1
- package/lib/components/AppShell/Drawer.js.map +1 -1
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +2 -1
- package/lib/components/Avatar/Avatar.js.map +1 -1
- package/lib/components/Badges/Status.d.ts +2 -2
- package/lib/components/Badges/Status.d.ts.map +1 -1
- package/lib/components/Badges/Status.js.map +1 -1
- package/lib/components/Button/BareButton.d.ts.map +1 -1
- package/lib/components/Button/BareButton.js +21 -2
- package/lib/components/Button/BareButton.js.map +1 -1
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +19 -2
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Card/CardHeader.d.ts +3 -1
- package/lib/components/Card/CardHeader.d.ts.map +1 -1
- package/lib/components/Card/CardHeader.js +5 -3
- package/lib/components/Card/CardHeader.js.map +1 -1
- package/lib/components/Configuration/Configuration.js +1 -1
- package/lib/components/Configuration/Configuration.js.map +1 -1
- package/lib/components/Currency/CurrencyDisplay.d.ts.map +1 -1
- package/lib/components/Currency/CurrencyDisplay.js +9 -1
- package/lib/components/Currency/CurrencyDisplay.js.map +1 -1
- package/lib/components/DateTime/DateTimeDisplay.js +1 -1
- package/lib/components/DateTime/DateTimeDisplay.js.map +1 -1
- package/lib/components/DateTime/Input/DateTime.styles.js +1 -1
- package/lib/components/DateTime/Input/DateTime.styles.js.map +1 -1
- package/lib/components/DateTime/Input/QuarterInput.d.ts +9 -0
- package/lib/components/DateTime/Input/QuarterInput.d.ts.map +1 -0
- package/lib/components/DateTime/Input/QuarterInput.js +102 -0
- package/lib/components/DateTime/Input/QuarterInput.js.map +1 -0
- package/lib/components/DateTime/Input/utils.d.ts +5 -3
- package/lib/components/DateTime/Input/utils.d.ts.map +1 -1
- package/lib/components/DateTime/Input/utils.js +10 -1
- package/lib/components/DateTime/Input/utils.js.map +1 -1
- package/lib/components/DateTime/index.d.ts +2 -0
- package/lib/components/DateTime/index.d.ts.map +1 -1
- package/lib/components/DateTime/index.js +1 -0
- package/lib/components/DateTime/index.js.map +1 -1
- package/lib/components/FieldGroup/FieldGroup.js +1 -1
- package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
- package/lib/components/File/FileInput.d.ts.map +1 -1
- package/lib/components/File/FileInput.js +3 -1
- package/lib/components/File/FileInput.js.map +1 -1
- package/lib/components/File/FileUploadItem.js +1 -1
- package/lib/components/File/FileUploadItem.js.map +1 -1
- package/lib/components/Form/Form.d.ts +3 -1
- package/lib/components/Form/Form.d.ts.map +1 -1
- package/lib/components/Form/Form.js.map +1 -1
- package/lib/components/List/CommaSeparatedList.d.ts +15 -0
- package/lib/components/List/CommaSeparatedList.d.ts.map +1 -0
- package/lib/components/List/CommaSeparatedList.js +61 -0
- package/lib/components/List/CommaSeparatedList.js.map +1 -0
- package/lib/components/List/List.d.ts +30 -0
- package/lib/components/List/List.d.ts.map +1 -0
- package/lib/components/List/List.js +56 -0
- package/lib/components/List/List.js.map +1 -0
- package/lib/components/List/OrderedList.d.ts +6 -0
- package/lib/components/List/OrderedList.d.ts.map +1 -0
- package/lib/components/List/OrderedList.js +6 -0
- package/lib/components/List/OrderedList.js.map +1 -0
- package/lib/components/List/UnorderedList.d.ts +6 -0
- package/lib/components/List/UnorderedList.d.ts.map +1 -0
- package/lib/components/List/UnorderedList.js +6 -0
- package/lib/components/List/UnorderedList.js.map +1 -0
- package/lib/components/List/index.d.ts +5 -0
- package/lib/components/List/index.d.ts.map +1 -0
- package/lib/components/List/index.js +4 -0
- package/lib/components/List/index.js.map +1 -0
- package/lib/components/Location/LocationInput.js +1 -1
- package/lib/components/Location/LocationInput.js.map +1 -1
- package/lib/components/Menu/Menu.context.d.ts.map +1 -1
- package/lib/components/Menu/Menu.context.js +2 -0
- package/lib/components/Menu/Menu.context.js.map +1 -1
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.js +14 -3
- package/lib/components/Menu/Menu.js.map +1 -1
- package/lib/components/Menu/Menu.types.d.ts +2 -0
- package/lib/components/Menu/Menu.types.d.ts.map +1 -1
- package/lib/components/Menu/Menu.types.js.map +1 -1
- package/lib/components/Menu/MenuItem.d.ts.map +1 -1
- package/lib/components/Menu/MenuItem.js +15 -6
- package/lib/components/Menu/MenuItem.js.map +1 -1
- package/lib/components/Menu/MenuList.d.ts.map +1 -1
- package/lib/components/Menu/MenuList.js +4 -2
- package/lib/components/Menu/MenuList.js.map +1 -1
- package/lib/components/Menu/MenuListHeader.js +1 -1
- package/lib/components/Menu/MenuListHeader.js.map +1 -1
- package/lib/components/MetaList/MetaList.d.ts +11 -2
- package/lib/components/MetaList/MetaList.d.ts.map +1 -1
- package/lib/components/MetaList/MetaList.js +32 -18
- package/lib/components/MetaList/MetaList.js.map +1 -1
- package/lib/components/MultiStep/MultiStep.d.ts.map +1 -1
- package/lib/components/MultiStep/MultiStep.js +4 -3
- package/lib/components/MultiStep/MultiStep.js.map +1 -1
- package/lib/components/MultiStep/MultiStep.types.d.ts +2 -0
- package/lib/components/MultiStep/MultiStep.types.d.ts.map +1 -1
- package/lib/components/MultiStep/MultiStep.types.js.map +1 -1
- package/lib/components/Number/NumberInput.js +2 -2
- package/lib/components/Number/NumberInput.js.map +1 -1
- package/lib/components/PageTemplates/CategorySubPage.styles.d.ts +1 -1
- package/lib/components/PageTemplates/CategorySubPage.styles.d.ts.map +1 -1
- package/lib/components/PageTemplates/DashboardPage.d.ts +1 -1
- package/lib/components/PageTemplates/DashboardPage.d.ts.map +1 -1
- package/lib/components/PageTemplates/DashboardPage.js +9 -7
- package/lib/components/PageTemplates/DashboardPage.js.map +1 -1
- package/lib/components/PageTemplates/PageTemplates.d.ts +15 -8
- package/lib/components/PageTemplates/PageTemplates.d.ts.map +1 -1
- package/lib/components/PageTemplates/PageTemplates.js +81 -61
- package/lib/components/PageTemplates/PageTemplates.js.map +1 -1
- package/lib/components/PageTemplates/index.d.ts +2 -0
- package/lib/components/PageTemplates/index.d.ts.map +1 -1
- package/lib/components/PageTemplates/index.js.map +1 -1
- package/lib/components/Pagination/Pagination.js +1 -1
- package/lib/components/Pagination/Pagination.js.map +1 -1
- package/lib/components/Phone/PhoneInput.d.ts.map +1 -1
- package/lib/components/Phone/PhoneInput.js +5 -5
- package/lib/components/Phone/PhoneInput.js.map +1 -1
- package/lib/components/Popover/Popover.d.ts +0 -4
- package/lib/components/Popover/Popover.d.ts.map +1 -1
- package/lib/components/Popover/Popover.js +1 -115
- package/lib/components/Popover/Popover.js.map +1 -1
- package/lib/components/Popover/Popover.styles.d.ts +5 -0
- package/lib/components/Popover/Popover.styles.d.ts.map +1 -0
- package/lib/components/Popover/Popover.styles.js +116 -0
- package/lib/components/Popover/Popover.styles.js.map +1 -0
- package/lib/components/Popover/index.d.ts +1 -1
- package/lib/components/Popover/index.d.ts.map +1 -1
- package/lib/components/Popover/index.js +1 -1
- package/lib/components/Popover/index.js.map +1 -1
- package/lib/components/Rating/Rating.js +1 -1
- package/lib/components/Rating/Rating.js.map +1 -1
- package/lib/components/SearchInput/SearchInput.d.ts +2 -2
- package/lib/components/SearchInput/SearchInput.js.map +1 -1
- package/lib/components/SummaryList/SummaryList.js +1 -1
- package/lib/components/SummaryList/SummaryList.js.map +1 -1
- package/lib/components/Tabs/Tab.d.ts +1 -1
- package/lib/components/Tabs/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab.js +6 -1
- package/lib/components/Tabs/Tab.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -0
- package/lib/components/Tabs/Tabs.d.ts.map +1 -1
- package/lib/components/Tabs/Tabs.js +17 -12
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TextArea/TextArea.d.ts.map +1 -1
- package/lib/components/TextArea/TextArea.js +7 -5
- package/lib/components/TextArea/TextArea.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts +6 -1
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +3 -3
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/Tree/StandardTree.js +1 -1
- package/lib/components/Tree/StandardTree.js.map +1 -1
- package/lib/components/Tree/StandardTree.styles.js +1 -1
- package/lib/components/Tree/StandardTree.styles.js.map +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.d.ts.map +1 -1
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/useDraggable.d.ts +8 -0
- package/lib/hooks/useDraggable.d.ts.map +1 -0
- package/lib/hooks/useDraggable.js +64 -0
- package/lib/hooks/useDraggable.js.map +1 -0
- package/lib/hooks/useI18n.d.ts +222 -54
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/hooks/useI18n.js +2 -2
- package/lib/hooks/useI18n.js.map +1 -1
- package/lib/i18n/default.json +239 -71
- package/lib/i18n/i18n.d.ts +444 -108
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/i18n/translate.d.ts +29 -4
- package/lib/i18n/translate.d.ts.map +1 -1
- package/lib/i18n/translate.js +21 -8
- package/lib/i18n/translate.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/hooks/useI18n.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
18
18
|
article_list_label_a11y: string;
|
|
19
19
|
article_list_filter_label_a11y: string;
|
|
20
20
|
article_list_header_submit_label: string;
|
|
21
|
+
additional_info: string;
|
|
21
22
|
banner_dismiss_button_label_a11y: string;
|
|
22
23
|
follow: string;
|
|
23
24
|
unfollow: string;
|
|
@@ -53,12 +54,22 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
53
54
|
condition_builder_compare_with_time_value: string;
|
|
54
55
|
condition_builder_invalid_time_period: string;
|
|
55
56
|
condition_builder_invalid_value: string;
|
|
57
|
+
condition_builder_date_function_year: string;
|
|
58
|
+
condition_builder_date_function_quarter: string;
|
|
56
59
|
condition_builder_select_placeholder: string;
|
|
57
|
-
condition_builder_day_number_of_month:
|
|
60
|
+
condition_builder_day_number_of_month: {
|
|
61
|
+
zero: string;
|
|
62
|
+
one: string;
|
|
63
|
+
two: string;
|
|
64
|
+
few: string;
|
|
65
|
+
many: string;
|
|
66
|
+
other: string;
|
|
67
|
+
};
|
|
58
68
|
condition_builder_date_function_month: string;
|
|
59
69
|
condition_builder_date_function_week: string;
|
|
60
70
|
condition_builder_date_function_day: string;
|
|
61
71
|
condition_builder_date_function_hour: string;
|
|
72
|
+
condition_builder_date_function_month_of_year: string;
|
|
62
73
|
condition_builder_date_function_day_of_month: string;
|
|
63
74
|
condition_builder_date_function_day_of_week: string;
|
|
64
75
|
condition_builder_date_part: string;
|
|
@@ -76,48 +87,174 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
76
87
|
condition_builder_current_month: string;
|
|
77
88
|
condition_builder_current_quarter: string;
|
|
78
89
|
condition_builder_current_year: string;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
condition_builder_last_X_hours:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
90
|
+
condition_builder_last_X_minutes: {
|
|
91
|
+
zero: string;
|
|
92
|
+
one: string;
|
|
93
|
+
two: string;
|
|
94
|
+
few: string;
|
|
95
|
+
many: string;
|
|
96
|
+
other: string;
|
|
97
|
+
};
|
|
98
|
+
condition_builder_last_X_hours: {
|
|
99
|
+
zero: string;
|
|
100
|
+
one: string;
|
|
101
|
+
two: string;
|
|
102
|
+
few: string;
|
|
103
|
+
many: string;
|
|
104
|
+
other: string;
|
|
105
|
+
};
|
|
106
|
+
condition_builder_last_X_days: {
|
|
107
|
+
zero: string;
|
|
108
|
+
one: string;
|
|
109
|
+
two: string;
|
|
110
|
+
few: string;
|
|
111
|
+
many: string;
|
|
112
|
+
other: string;
|
|
113
|
+
};
|
|
114
|
+
condition_builder_last_X_weeks: {
|
|
115
|
+
zero: string;
|
|
116
|
+
one: string;
|
|
117
|
+
two: string;
|
|
118
|
+
few: string;
|
|
119
|
+
many: string;
|
|
120
|
+
other: string;
|
|
121
|
+
};
|
|
122
|
+
condition_builder_last_X_months: {
|
|
123
|
+
zero: string;
|
|
124
|
+
one: string;
|
|
125
|
+
two: string;
|
|
126
|
+
few: string;
|
|
127
|
+
many: string;
|
|
128
|
+
other: string;
|
|
129
|
+
};
|
|
130
|
+
condition_builder_last_X_quarters: {
|
|
131
|
+
zero: string;
|
|
132
|
+
one: string;
|
|
133
|
+
two: string;
|
|
134
|
+
few: string;
|
|
135
|
+
many: string;
|
|
136
|
+
other: string;
|
|
137
|
+
};
|
|
138
|
+
condition_builder_last_X_years: {
|
|
139
|
+
zero: string;
|
|
140
|
+
one: string;
|
|
141
|
+
two: string;
|
|
142
|
+
few: string;
|
|
143
|
+
many: string;
|
|
144
|
+
other: string;
|
|
145
|
+
};
|
|
146
|
+
condition_builder_next_X_minutes: {
|
|
147
|
+
zero: string;
|
|
148
|
+
one: string;
|
|
149
|
+
two: string;
|
|
150
|
+
few: string;
|
|
151
|
+
many: string;
|
|
152
|
+
other: string;
|
|
153
|
+
};
|
|
154
|
+
condition_builder_next_X_hours: {
|
|
155
|
+
zero: string;
|
|
156
|
+
one: string;
|
|
157
|
+
two: string;
|
|
158
|
+
few: string;
|
|
159
|
+
many: string;
|
|
160
|
+
other: string;
|
|
161
|
+
};
|
|
162
|
+
condition_builder_next_X_days: {
|
|
163
|
+
zero: string;
|
|
164
|
+
one: string;
|
|
165
|
+
two: string;
|
|
166
|
+
few: string;
|
|
167
|
+
many: string;
|
|
168
|
+
other: string;
|
|
169
|
+
};
|
|
170
|
+
condition_builder_next_X_weeks: {
|
|
171
|
+
zero: string;
|
|
172
|
+
one: string;
|
|
173
|
+
two: string;
|
|
174
|
+
few: string;
|
|
175
|
+
many: string;
|
|
176
|
+
other: string;
|
|
177
|
+
};
|
|
178
|
+
condition_builder_next_X_months: {
|
|
179
|
+
zero: string;
|
|
180
|
+
one: string;
|
|
181
|
+
two: string;
|
|
182
|
+
few: string;
|
|
183
|
+
many: string;
|
|
184
|
+
other: string;
|
|
185
|
+
};
|
|
186
|
+
condition_builder_next_X_quarters: {
|
|
187
|
+
zero: string;
|
|
188
|
+
one: string;
|
|
189
|
+
two: string;
|
|
190
|
+
few: string;
|
|
191
|
+
many: string;
|
|
192
|
+
other: string;
|
|
193
|
+
};
|
|
194
|
+
condition_builder_next_X_years: {
|
|
195
|
+
zero: string;
|
|
196
|
+
one: string;
|
|
197
|
+
two: string;
|
|
198
|
+
few: string;
|
|
199
|
+
many: string;
|
|
200
|
+
other: string;
|
|
201
|
+
};
|
|
202
|
+
condition_builder_previous_X_minutes: {
|
|
203
|
+
zero: string;
|
|
204
|
+
one: string;
|
|
205
|
+
two: string;
|
|
206
|
+
few: string;
|
|
207
|
+
many: string;
|
|
208
|
+
other: string;
|
|
209
|
+
};
|
|
210
|
+
condition_builder_previous_X_hours: {
|
|
211
|
+
zero: string;
|
|
212
|
+
one: string;
|
|
213
|
+
two: string;
|
|
214
|
+
few: string;
|
|
215
|
+
many: string;
|
|
216
|
+
other: string;
|
|
217
|
+
};
|
|
218
|
+
condition_builder_previous_X_days: {
|
|
219
|
+
zero: string;
|
|
220
|
+
one: string;
|
|
221
|
+
two: string;
|
|
222
|
+
few: string;
|
|
223
|
+
many: string;
|
|
224
|
+
other: string;
|
|
225
|
+
};
|
|
226
|
+
condition_builder_previous_X_weeks: {
|
|
227
|
+
zero: string;
|
|
228
|
+
one: string;
|
|
229
|
+
two: string;
|
|
230
|
+
few: string;
|
|
231
|
+
many: string;
|
|
232
|
+
other: string;
|
|
233
|
+
};
|
|
234
|
+
condition_builder_previous_X_months: {
|
|
235
|
+
zero: string;
|
|
236
|
+
one: string;
|
|
237
|
+
two: string;
|
|
238
|
+
few: string;
|
|
239
|
+
many: string;
|
|
240
|
+
other: string;
|
|
241
|
+
};
|
|
242
|
+
condition_builder_previous_X_quarters: {
|
|
243
|
+
zero: string;
|
|
244
|
+
one: string;
|
|
245
|
+
two: string;
|
|
246
|
+
few: string;
|
|
247
|
+
many: string;
|
|
248
|
+
other: string;
|
|
249
|
+
};
|
|
250
|
+
condition_builder_previous_X_years: {
|
|
251
|
+
zero: string;
|
|
252
|
+
one: string;
|
|
253
|
+
two: string;
|
|
254
|
+
few: string;
|
|
255
|
+
many: string;
|
|
256
|
+
other: string;
|
|
257
|
+
};
|
|
121
258
|
condition_builder_time_period_label: string;
|
|
122
259
|
condition_builder_time_period_last: string;
|
|
123
260
|
condition_builder_time_period_current: string;
|
|
@@ -130,6 +267,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
130
267
|
numeric_input: string;
|
|
131
268
|
number_increment_value_by: string;
|
|
132
269
|
number_decrement_value_by: string;
|
|
270
|
+
quarter_label_a11y: string;
|
|
133
271
|
month_label_a11y: string;
|
|
134
272
|
month_placeholder: string;
|
|
135
273
|
year_label_a11y: string;
|
|
@@ -198,6 +336,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
198
336
|
delete_noun: string;
|
|
199
337
|
close: string;
|
|
200
338
|
close_noun: string;
|
|
339
|
+
done: string;
|
|
201
340
|
activate: string;
|
|
202
341
|
uploading: string;
|
|
203
342
|
loading: string;
|
|
@@ -216,9 +355,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
216
355
|
noun_deselected: string;
|
|
217
356
|
utilities_summary: string;
|
|
218
357
|
utilities_panel: string;
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
358
|
+
email_add_attachment: string;
|
|
359
|
+
email_disable_attachment: string;
|
|
360
|
+
email_remove_attachment: string;
|
|
222
361
|
add_emoji: string;
|
|
223
362
|
show_more: string;
|
|
224
363
|
show_less: string;
|
|
@@ -228,8 +367,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
228
367
|
filters: string;
|
|
229
368
|
attachment: string;
|
|
230
369
|
attach: string;
|
|
231
|
-
count_results:
|
|
232
|
-
|
|
370
|
+
count_results: {
|
|
371
|
+
zero: string;
|
|
372
|
+
one: string;
|
|
373
|
+
two: string;
|
|
374
|
+
few: string;
|
|
375
|
+
many: string;
|
|
376
|
+
other: string;
|
|
377
|
+
};
|
|
233
378
|
empty_search: string;
|
|
234
379
|
new_messages: string;
|
|
235
380
|
earlier_transcripts: string;
|
|
@@ -253,7 +398,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
253
398
|
email: string;
|
|
254
399
|
email_message: string;
|
|
255
400
|
email_filters: string;
|
|
256
|
-
|
|
401
|
+
new_emails_count: {
|
|
402
|
+
zero: string;
|
|
403
|
+
one: string;
|
|
404
|
+
two: string;
|
|
405
|
+
few: string;
|
|
406
|
+
many: string;
|
|
407
|
+
other: string;
|
|
408
|
+
};
|
|
257
409
|
unread_email_count: string;
|
|
258
410
|
priority: string;
|
|
259
411
|
inbox: string;
|
|
@@ -262,7 +414,6 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
262
414
|
other_responses: string;
|
|
263
415
|
categories: string;
|
|
264
416
|
attachments: string;
|
|
265
|
-
no_records_found: string;
|
|
266
417
|
scroll_to_latest_message: string;
|
|
267
418
|
scroll_to_unread_messages: string;
|
|
268
419
|
suggested_replies_current_of_total: string;
|
|
@@ -315,7 +466,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
315
466
|
dismiss_label_a11y: string;
|
|
316
467
|
task_manager_launch_task: string;
|
|
317
468
|
task_manager_search_results_empty_text: string;
|
|
318
|
-
task_manager_picker_add_label:
|
|
469
|
+
task_manager_picker_add_label: {
|
|
470
|
+
zero: string;
|
|
471
|
+
one: string;
|
|
472
|
+
two: string;
|
|
473
|
+
few: string;
|
|
474
|
+
many: string;
|
|
475
|
+
other: string;
|
|
476
|
+
};
|
|
319
477
|
task_manager_delete_task: string;
|
|
320
478
|
search_tasks: string;
|
|
321
479
|
feed_new_post: string;
|
|
@@ -326,7 +484,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
326
484
|
feed_private_post: string;
|
|
327
485
|
feed_public_post: string;
|
|
328
486
|
feed_recipients: string;
|
|
329
|
-
|
|
487
|
+
feed_more_count: string;
|
|
330
488
|
sentiment_positive: string;
|
|
331
489
|
sentiment_negative: string;
|
|
332
490
|
sentiment_neutral: string;
|
|
@@ -342,6 +500,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
342
500
|
tags: string;
|
|
343
501
|
navigation: string;
|
|
344
502
|
dev_mode: string;
|
|
503
|
+
call_panel_drag_noun: string;
|
|
345
504
|
call_panel_heading: string;
|
|
346
505
|
call_panel_make_new_call: string;
|
|
347
506
|
call_panel_agent_status: string;
|
|
@@ -378,8 +537,14 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
378
537
|
dial_pad_keyboard: string;
|
|
379
538
|
dial_pad_phone_number_input_label: string;
|
|
380
539
|
dial_pad_call_button_label: string;
|
|
381
|
-
|
|
382
|
-
|
|
540
|
+
stakeholders: {
|
|
541
|
+
zero: string;
|
|
542
|
+
one: string;
|
|
543
|
+
two: string;
|
|
544
|
+
few: string;
|
|
545
|
+
many: string;
|
|
546
|
+
other: string;
|
|
547
|
+
};
|
|
383
548
|
add_noun: string;
|
|
384
549
|
remove: string;
|
|
385
550
|
remove_noun: string;
|
|
@@ -387,6 +552,9 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
387
552
|
parallel: string;
|
|
388
553
|
stage: string;
|
|
389
554
|
alternateStage: string;
|
|
555
|
+
confirmation_details: string;
|
|
556
|
+
confirmation_whats_next: string;
|
|
557
|
+
confirmation_open_tasks: string;
|
|
390
558
|
}>>;
|
|
391
559
|
export default useI18n;
|
|
392
560
|
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/lib/hooks/useI18n.js
CHANGED
|
@@ -5,8 +5,8 @@ import useConfiguration from './useConfiguration';
|
|
|
5
5
|
* @returns translator:: The translator function that provides translations for a given key in the translation JSON provided to the Configuration component.
|
|
6
6
|
*/
|
|
7
7
|
const useI18n = () => {
|
|
8
|
-
const { translations } = useConfiguration();
|
|
9
|
-
return translatorFor(translations);
|
|
8
|
+
const { translations, locale } = useConfiguration();
|
|
9
|
+
return translatorFor(translations, locale);
|
|
10
10
|
};
|
|
11
11
|
export default useI18n;
|
|
12
12
|
//# sourceMappingURL=useI18n.js.map
|
package/lib/hooks/useI18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.js","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAE9C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,MAAM,OAAO,GAAG,GAAG,EAAE;IACnB,MAAM,EAAE,YAAY,EAAE,GAAG,gBAAgB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"useI18n.js","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAE9C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,MAAM,OAAO,GAAG,GAAG,EAAE;IACnB,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,gBAAgB,EAAE,CAAC;IACpD,OAAO,aAAa,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC","sourcesContent":["import translatorFor from '../i18n/translate';\n\nimport useConfiguration from './useConfiguration';\n\n/**\n * @example const translator = useI18n();\n * @returns translator:: The translator function that provides translations for a given key in the translation JSON provided to the Configuration component.\n */\nconst useI18n = () => {\n const { translations, locale } = useConfiguration();\n return translatorFor(translations, locale);\n};\n\nexport default useI18n;\n"]}
|