@pega/cosmos-react-core 7.0.0-build.22.8 → 7.0.0-build.23.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/AIButton/AIButton.d.ts +30 -2
- package/lib/components/AIButton/AIButton.d.ts.map +1 -1
- package/lib/components/AIButton/AIButton.js +4 -3
- package/lib/components/AIButton/AIButton.js.map +1 -1
- package/lib/components/AppShell/AppHeader.d.ts.map +1 -1
- package/lib/components/AppShell/AppHeader.js +4 -6
- package/lib/components/AppShell/AppHeader.js.map +1 -1
- package/lib/components/AppShell/AppHeader.styles.d.ts.map +1 -1
- package/lib/components/AppShell/AppHeader.styles.js +6 -2
- package/lib/components/AppShell/AppHeader.styles.js.map +1 -1
- package/lib/components/AppShell/AppShell.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.js +2 -1
- package/lib/components/AppShell/AppShell.js.map +1 -1
- package/lib/components/AppShell/AppShell.styles.d.ts +3 -0
- package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.styles.js +12 -0
- package/lib/components/AppShell/AppShell.styles.js.map +1 -1
- package/lib/components/AppShell/AppShell.types.d.ts +4 -0
- 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/NavigationList.d.ts.map +1 -1
- package/lib/components/AppShell/NavigationList.js +3 -3
- package/lib/components/AppShell/NavigationList.js.map +1 -1
- package/lib/components/AppShell/NavigationListItemWrapper.d.ts.map +1 -1
- package/lib/components/AppShell/NavigationListItemWrapper.js +1 -0
- package/lib/components/AppShell/NavigationListItemWrapper.js.map +1 -1
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +67 -35
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Card/Card.d.ts.map +1 -1
- package/lib/components/Card/Card.js +8 -0
- package/lib/components/Card/Card.js.map +1 -1
- package/lib/components/ColorPicker/ColorPicker.js +1 -1
- package/lib/components/ColorPicker/ColorPicker.js.map +1 -1
- package/lib/components/ComboBox/ComboBox.styles.d.ts.map +1 -1
- package/lib/components/ComboBox/ComboBox.styles.js +4 -0
- package/lib/components/ComboBox/ComboBox.styles.js.map +1 -1
- package/lib/components/Configuration/Configuration.d.ts +1 -0
- package/lib/components/Configuration/Configuration.d.ts.map +1 -1
- package/lib/components/Configuration/Configuration.js +58 -30
- package/lib/components/Configuration/Configuration.js.map +1 -1
- package/lib/components/Configuration/connected-watcher.d.ts +17 -0
- package/lib/components/Configuration/connected-watcher.d.ts.map +1 -0
- package/lib/components/Configuration/connected-watcher.js +13 -0
- package/lib/components/Configuration/connected-watcher.js.map +1 -0
- package/lib/components/DateTime/Input/MonthInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/MonthInput.js +21 -10
- package/lib/components/DateTime/Input/MonthInput.js.map +1 -1
- package/lib/components/DateTime/Picker/DatePicker.d.ts.map +1 -1
- package/lib/components/DateTime/Picker/DatePicker.js +5 -32
- package/lib/components/DateTime/Picker/DatePicker.js.map +1 -1
- package/lib/components/DateTime/Picker/utils.d.ts +9 -0
- package/lib/components/DateTime/Picker/utils.d.ts.map +1 -1
- package/lib/components/DateTime/Picker/utils.js +16 -0
- package/lib/components/DateTime/Picker/utils.js.map +1 -1
- package/lib/components/File/FileDisplayList.d.ts +2 -1
- package/lib/components/File/FileDisplayList.d.ts.map +1 -1
- package/lib/components/File/FileDisplayList.js +3 -2
- package/lib/components/File/FileDisplayList.js.map +1 -1
- package/lib/components/File/FileInput.d.ts +2 -2
- package/lib/components/File/FileInput.d.ts.map +1 -1
- package/lib/components/File/FileInput.js +20 -4
- package/lib/components/File/FileInput.js.map +1 -1
- package/lib/components/File/FileInput.styles.d.ts +1 -0
- package/lib/components/File/FileInput.styles.d.ts.map +1 -1
- package/lib/components/File/FileInput.styles.js +14 -1
- package/lib/components/File/FileInput.styles.js.map +1 -1
- package/lib/components/File/FileItem.d.ts.map +1 -1
- package/lib/components/File/FileItem.js +2 -3
- package/lib/components/File/FileItem.js.map +1 -1
- package/lib/components/File/FileList.d.ts +6 -3
- package/lib/components/File/FileList.d.ts.map +1 -1
- package/lib/components/File/FileList.js +25 -7
- package/lib/components/File/FileList.js.map +1 -1
- package/lib/components/Fullscreen/Fullscreen.d.ts +18 -0
- package/lib/components/Fullscreen/Fullscreen.d.ts.map +1 -0
- package/lib/components/Fullscreen/Fullscreen.js +51 -0
- package/lib/components/Fullscreen/Fullscreen.js.map +1 -0
- package/lib/components/Fullscreen/Fullscreen.test-ids.d.ts +2 -0
- package/lib/components/Fullscreen/Fullscreen.test-ids.d.ts.map +1 -0
- package/lib/components/Fullscreen/Fullscreen.test-ids.js +3 -0
- package/lib/components/Fullscreen/Fullscreen.test-ids.js.map +1 -0
- package/lib/components/Fullscreen/FullscreenButton.d.ts +6 -0
- package/lib/components/Fullscreen/FullscreenButton.d.ts.map +1 -0
- package/lib/components/Fullscreen/FullscreenButton.js +33 -0
- package/lib/components/Fullscreen/FullscreenButton.js.map +1 -0
- package/lib/components/Fullscreen/index.d.ts +4 -0
- package/lib/components/Fullscreen/index.d.ts.map +1 -0
- package/lib/components/Fullscreen/index.js +4 -0
- package/lib/components/Fullscreen/index.js.map +1 -0
- package/lib/components/Icon/streamline-icons/dock.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/dock.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/dock.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/dock.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/undock.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/undock.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/undock.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/undock.icon.js.map +1 -0
- package/lib/components/Icon/streamlineIconNames.d.ts +1 -1
- package/lib/components/Icon/streamlineIconNames.d.ts.map +1 -1
- package/lib/components/Icon/streamlineIconNames.js +2 -0
- package/lib/components/Icon/streamlineIconNames.js.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.d.ts.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.js +3 -2
- package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
- package/lib/components/Menu/Menu.styles.d.ts.map +1 -1
- package/lib/components/Menu/Menu.styles.js +2 -1
- package/lib/components/Menu/Menu.styles.js.map +1 -1
- package/lib/components/PageTemplates/PageTemplates.d.ts +1 -0
- package/lib/components/PageTemplates/PageTemplates.d.ts.map +1 -1
- package/lib/components/PageTemplates/PageTemplates.js +82 -29
- package/lib/components/PageTemplates/PageTemplates.js.map +1 -1
- package/lib/components/Tabs/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab.js +4 -0
- package/lib/components/Tabs/Tab.js.map +1 -1
- package/lib/components/Toaster/Toaster.d.ts +1 -1
- package/lib/components/Toaster/Toaster.d.ts.map +1 -1
- package/lib/components/Toaster/Toaster.js +79 -19
- package/lib/components/Toaster/Toaster.js.map +1 -1
- package/lib/components/Toaster/Toaster.types.d.ts +17 -4
- package/lib/components/Toaster/Toaster.types.d.ts.map +1 -1
- package/lib/components/Toaster/Toaster.types.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +3 -1
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/hooks/useArrows.d.ts.map +1 -1
- package/lib/hooks/useArrows.js +3 -1
- package/lib/hooks/useArrows.js.map +1 -1
- package/lib/hooks/useI18n.d.ts +25 -0
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/hooks/useScrollToggle.d.ts.map +1 -1
- package/lib/hooks/useScrollToggle.js +1 -0
- package/lib/hooks/useScrollToggle.js.map +1 -1
- package/lib/i18n/default.d.ts +25 -0
- package/lib/i18n/default.d.ts.map +1 -1
- package/lib/i18n/default.js +29 -1
- package/lib/i18n/default.js.map +1 -1
- package/lib/i18n/i18n.d.ts +25 -0
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/theme/theme.d.ts +6 -0
- package/lib/theme/theme.d.ts.map +1 -1
- package/lib/theme/themeDefinition.json +5 -1
- package/lib/theme/themeOverrides.schema.json +3 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.d.ts.map +1 -1
- package/lib/utils/index.js +1 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/isPositionWithinRect.d.ts +12 -0
- package/lib/utils/isPositionWithinRect.d.ts.map +1 -0
- package/lib/utils/isPositionWithinRect.js +11 -0
- package/lib/utils/isPositionWithinRect.js.map +1 -0
- package/package.json +4 -2
package/lib/hooks/useI18n.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
22
22
|
sitewide: string;
|
|
23
23
|
opens_in_a_new_tab: string;
|
|
24
24
|
details: string;
|
|
25
|
+
content: string;
|
|
25
26
|
pulse: string;
|
|
26
27
|
history: string;
|
|
27
28
|
summary: string;
|
|
@@ -81,6 +82,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
81
82
|
create_new: string;
|
|
82
83
|
submit_and_open: string;
|
|
83
84
|
add_condition: string;
|
|
85
|
+
enter_fullscreen: string;
|
|
86
|
+
exit_fullscreen: string;
|
|
84
87
|
open_noun: string;
|
|
85
88
|
close_noun: string;
|
|
86
89
|
view_all_noun: string;
|
|
@@ -132,6 +135,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
132
135
|
pass: string;
|
|
133
136
|
fail: string;
|
|
134
137
|
did_not_ask: string;
|
|
138
|
+
created: string;
|
|
135
139
|
day_placeholder: string;
|
|
136
140
|
month_placeholder: string;
|
|
137
141
|
year_placeholder: string;
|
|
@@ -203,6 +207,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
203
207
|
shortcut_NextRegion: string;
|
|
204
208
|
shortcut_PrevRegion: string;
|
|
205
209
|
app_shell_user_account: string;
|
|
210
|
+
application_logo: string;
|
|
206
211
|
combobox_open_close: string;
|
|
207
212
|
combobox_search_instructions: string;
|
|
208
213
|
combobox_open_list_button_a11y: string;
|
|
@@ -268,6 +273,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
268
273
|
};
|
|
269
274
|
attach_files: string;
|
|
270
275
|
attach_review: string;
|
|
276
|
+
download_all: string;
|
|
271
277
|
my_current_location_button_a11y: string;
|
|
272
278
|
location_input_placeholder: string;
|
|
273
279
|
location_not_found_text: string;
|
|
@@ -328,6 +334,7 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
328
334
|
error_message: string;
|
|
329
335
|
add_a_comment: string;
|
|
330
336
|
score: string;
|
|
337
|
+
relevance_score: string;
|
|
331
338
|
ai_suggestions: string;
|
|
332
339
|
auto_answered: string;
|
|
333
340
|
questions_detected: string;
|
|
@@ -337,6 +344,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
337
344
|
confidence: string;
|
|
338
345
|
ask_buddy: string;
|
|
339
346
|
ai_generated: string;
|
|
347
|
+
no_articles_found: string;
|
|
348
|
+
semantic_initial_message: string;
|
|
340
349
|
article_label_a11y: string;
|
|
341
350
|
article_related_links: string;
|
|
342
351
|
article_more_like_this: string;
|
|
@@ -350,6 +359,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
350
359
|
preview_error: string;
|
|
351
360
|
confirmation_whats_next: string;
|
|
352
361
|
confirmation_open_tasks: string;
|
|
362
|
+
search_results_clear_all_filters: string;
|
|
363
|
+
search_results_clear_filter: string;
|
|
353
364
|
add_stakeholders: string;
|
|
354
365
|
edit_stakeholder: string;
|
|
355
366
|
view_stakeholders: string;
|
|
@@ -562,6 +573,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
562
573
|
suggested_reply_copied_to_input_field: string;
|
|
563
574
|
dialogue: string;
|
|
564
575
|
pega_genAI: string;
|
|
576
|
+
suggestions_in_message: string;
|
|
577
|
+
you_asked: string;
|
|
565
578
|
suggest_reply: string;
|
|
566
579
|
unique_entities: {
|
|
567
580
|
zero: string;
|
|
@@ -715,6 +728,16 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
715
728
|
agents_utterance: string;
|
|
716
729
|
detected_entities: string;
|
|
717
730
|
due_on: string;
|
|
731
|
+
interaction_summary: string;
|
|
732
|
+
edit_interaction_summary: string;
|
|
733
|
+
cancel_editing_interaction_summary: string;
|
|
734
|
+
save: string;
|
|
735
|
+
save_interaction_summary: string;
|
|
736
|
+
reason_for_transfer: string;
|
|
737
|
+
reason_cannot_be_blank: string;
|
|
738
|
+
ai_suggested_summary: string;
|
|
739
|
+
summary_cannot_be_blank: string;
|
|
740
|
+
interaction_Summary_not_available: string;
|
|
718
741
|
sentiment_positive: string;
|
|
719
742
|
sentiment_negative: string;
|
|
720
743
|
sentiment_neutral: string;
|
|
@@ -1118,6 +1141,8 @@ declare const useI18n: () => import("../i18n/translate").TranslationFunction<Rea
|
|
|
1118
1141
|
unsupported_rule_type_label: string;
|
|
1119
1142
|
unsupported_rule_type_description: string;
|
|
1120
1143
|
create_new_record_failed: string;
|
|
1144
|
+
field_does_not_exist_error: string;
|
|
1145
|
+
configure_item: string;
|
|
1121
1146
|
data_page_call_error: string;
|
|
1122
1147
|
item_not_in_data_page: string;
|
|
1123
1148
|
sync_tabs_additional_info_enabling: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../src/hooks/useI18n.ts"],"names":[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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollToggle.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollToggle.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,eAAe,cAAc,MAAM;wBAKF,IAAI;yBAMH,IAAI;
|
|
1
|
+
{"version":3,"file":"useScrollToggle.d.ts","sourceRoot":"","sources":["../../src/hooks/useScrollToggle.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,eAAe,cAAc,MAAM;wBAKF,IAAI;yBAMH,IAAI;CAiC3C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -21,6 +21,7 @@ const useScrollToggle = (selector = ':root') => {
|
|
|
21
21
|
if (!overflowX && !overflowY)
|
|
22
22
|
return;
|
|
23
23
|
styleRef.current = document.createElement('style');
|
|
24
|
+
styleRef.current.nonce = window.__webpack_nonce__;
|
|
24
25
|
// TODO: Read current padding and add scrollbar width.
|
|
25
26
|
styleRef.current.textContent = `
|
|
26
27
|
${selector} {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollToggle.js","sourceRoot":"","sources":["../../src/hooks/useScrollToggle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAElD,MAAM,eAAe,GAAG,CAAC,WAAmB,OAAO,EAAE,EAAE;IACrD,MAAM,iBAAiB,GAAG,MAA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FAA0F;QAC1F,OAAO,YAAY,CAAC;QAEpB,uIAAuI;IACzI,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC;AACzC,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import { useCallback, useLayoutEffect, useRef } from 'react';\n\nimport { getScrollbarWidth, testElForOverflow } from '../utils';\n\nimport useConfiguration from './useConfiguration';\n\nconst useScrollToggle = (selector: string = ':root') => {\n const scrollbarWidthRef = useRef(0);\n const styleRef = useRef<HTMLStyleElement | null>(null);\n const { styleSheetTarget } = useConfiguration();\n\n const enableScroll = useCallback((): void => {\n // No need to short circuit if called repetitively, will just perform a simple null set on the ref.\n styleRef.current?.remove();\n styleRef.current = null;\n }, []);\n\n const disableScroll = useCallback((): void => {\n // If we have a ref to the style el we can assume styles to disable overflow are in the DOM. No need for a DOM query.\n if (styleRef.current) return;\n const scrollEl = document.querySelector(selector);\n if (!scrollEl) return;\n const [overflowX, overflowY] = testElForOverflow(scrollEl);\n if (!overflowX && !overflowY) return;\n\n styleRef.current = document.createElement('style');\n styleRef.current.nonce = window.__webpack_nonce__;\n\n // TODO: Read current padding and add scrollbar width.\n styleRef.current.textContent = `\n ${selector} {\n ${overflowY ? `padding-inline-end: ${scrollbarWidthRef.current}px !important` : ''};\n ${overflowX ? `padding-block-end: ${scrollbarWidthRef.current}px !important` : ''};\n overflow: hidden !important;\n }\n `;\n\n (styleSheetTarget ?? document.head).append(styleRef.current);\n }, [selector]);\n\n useLayoutEffect(() => {\n scrollbarWidthRef.current = getScrollbarWidth();\n\n // To be safe, clean up when the calling component unmounts just in case it did not do so.\n return enableScroll;\n\n // As enableScroll is memoized with no deps, the cleanup **should** only run once on unmount. If that changes, adjust here accordingly.\n }, [enableScroll]);\n\n return { enableScroll, disableScroll };\n};\n\nexport default useScrollToggle;\n"]}
|
package/lib/i18n/default.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const _default: {
|
|
|
18
18
|
sitewide: string;
|
|
19
19
|
opens_in_a_new_tab: string;
|
|
20
20
|
details: string;
|
|
21
|
+
content: string;
|
|
21
22
|
pulse: string;
|
|
22
23
|
history: string;
|
|
23
24
|
summary: string;
|
|
@@ -77,6 +78,8 @@ declare const _default: {
|
|
|
77
78
|
create_new: string;
|
|
78
79
|
submit_and_open: string;
|
|
79
80
|
add_condition: string;
|
|
81
|
+
enter_fullscreen: string;
|
|
82
|
+
exit_fullscreen: string;
|
|
80
83
|
open_noun: string;
|
|
81
84
|
close_noun: string;
|
|
82
85
|
view_all_noun: string;
|
|
@@ -128,6 +131,7 @@ declare const _default: {
|
|
|
128
131
|
pass: string;
|
|
129
132
|
fail: string;
|
|
130
133
|
did_not_ask: string;
|
|
134
|
+
created: string;
|
|
131
135
|
day_placeholder: string;
|
|
132
136
|
month_placeholder: string;
|
|
133
137
|
year_placeholder: string;
|
|
@@ -199,6 +203,7 @@ declare const _default: {
|
|
|
199
203
|
shortcut_NextRegion: string;
|
|
200
204
|
shortcut_PrevRegion: string;
|
|
201
205
|
app_shell_user_account: string;
|
|
206
|
+
application_logo: string;
|
|
202
207
|
combobox_open_close: string;
|
|
203
208
|
combobox_search_instructions: string;
|
|
204
209
|
combobox_open_list_button_a11y: string;
|
|
@@ -264,6 +269,7 @@ declare const _default: {
|
|
|
264
269
|
};
|
|
265
270
|
attach_files: string;
|
|
266
271
|
attach_review: string;
|
|
272
|
+
download_all: string;
|
|
267
273
|
my_current_location_button_a11y: string;
|
|
268
274
|
location_input_placeholder: string;
|
|
269
275
|
location_not_found_text: string;
|
|
@@ -324,6 +330,7 @@ declare const _default: {
|
|
|
324
330
|
error_message: string;
|
|
325
331
|
add_a_comment: string;
|
|
326
332
|
score: string;
|
|
333
|
+
relevance_score: string;
|
|
327
334
|
ai_suggestions: string;
|
|
328
335
|
auto_answered: string;
|
|
329
336
|
questions_detected: string;
|
|
@@ -333,6 +340,8 @@ declare const _default: {
|
|
|
333
340
|
confidence: string;
|
|
334
341
|
ask_buddy: string;
|
|
335
342
|
ai_generated: string;
|
|
343
|
+
no_articles_found: string;
|
|
344
|
+
semantic_initial_message: string;
|
|
336
345
|
article_label_a11y: string;
|
|
337
346
|
article_related_links: string;
|
|
338
347
|
article_more_like_this: string;
|
|
@@ -346,6 +355,8 @@ declare const _default: {
|
|
|
346
355
|
preview_error: string;
|
|
347
356
|
confirmation_whats_next: string;
|
|
348
357
|
confirmation_open_tasks: string;
|
|
358
|
+
search_results_clear_all_filters: string;
|
|
359
|
+
search_results_clear_filter: string;
|
|
349
360
|
add_stakeholders: string;
|
|
350
361
|
edit_stakeholder: string;
|
|
351
362
|
view_stakeholders: string;
|
|
@@ -558,6 +569,8 @@ declare const _default: {
|
|
|
558
569
|
suggested_reply_copied_to_input_field: string;
|
|
559
570
|
dialogue: string;
|
|
560
571
|
pega_genAI: string;
|
|
572
|
+
suggestions_in_message: string;
|
|
573
|
+
you_asked: string;
|
|
561
574
|
suggest_reply: string;
|
|
562
575
|
unique_entities: {
|
|
563
576
|
zero: string;
|
|
@@ -711,6 +724,16 @@ declare const _default: {
|
|
|
711
724
|
agents_utterance: string;
|
|
712
725
|
detected_entities: string;
|
|
713
726
|
due_on: string;
|
|
727
|
+
interaction_summary: string;
|
|
728
|
+
edit_interaction_summary: string;
|
|
729
|
+
cancel_editing_interaction_summary: string;
|
|
730
|
+
save: string;
|
|
731
|
+
save_interaction_summary: string;
|
|
732
|
+
reason_for_transfer: string;
|
|
733
|
+
reason_cannot_be_blank: string;
|
|
734
|
+
ai_suggested_summary: string;
|
|
735
|
+
summary_cannot_be_blank: string;
|
|
736
|
+
interaction_Summary_not_available: string;
|
|
714
737
|
sentiment_positive: string;
|
|
715
738
|
sentiment_negative: string;
|
|
716
739
|
sentiment_neutral: string;
|
|
@@ -1114,6 +1137,8 @@ declare const _default: {
|
|
|
1114
1137
|
unsupported_rule_type_label: string;
|
|
1115
1138
|
unsupported_rule_type_description: string;
|
|
1116
1139
|
create_new_record_failed: string;
|
|
1140
|
+
field_does_not_exist_error: string;
|
|
1141
|
+
configure_item: string;
|
|
1117
1142
|
data_page_call_error: string;
|
|
1118
1143
|
item_not_in_data_page: string;
|
|
1119
1144
|
sync_tabs_additional_info_enabling: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA+yCE"}
|
package/lib/i18n/default.js
CHANGED
|
@@ -22,6 +22,7 @@ export default {
|
|
|
22
22
|
sitewide: 'Sitewide',
|
|
23
23
|
opens_in_a_new_tab: 'Opens in a new tab',
|
|
24
24
|
details: 'Details',
|
|
25
|
+
content: 'Content',
|
|
25
26
|
pulse: 'Pulse',
|
|
26
27
|
history: 'History',
|
|
27
28
|
summary: 'Summary',
|
|
@@ -83,6 +84,8 @@ export default {
|
|
|
83
84
|
create_new: 'Create new',
|
|
84
85
|
submit_and_open: 'Submit and open',
|
|
85
86
|
add_condition: 'Add condition',
|
|
87
|
+
enter_fullscreen: 'Enter fullscreen',
|
|
88
|
+
exit_fullscreen: 'Exit fullscreen',
|
|
86
89
|
/* Dynamic verb {noun} */
|
|
87
90
|
open_noun: 'Open {0}',
|
|
88
91
|
close_noun: 'Close {0}',
|
|
@@ -136,6 +139,7 @@ export default {
|
|
|
136
139
|
pass: 'Pass',
|
|
137
140
|
fail: 'Fail',
|
|
138
141
|
did_not_ask: 'Did not ask',
|
|
142
|
+
created: 'Created',
|
|
139
143
|
/* Date and time */
|
|
140
144
|
day_placeholder: 'DD',
|
|
141
145
|
month_placeholder: 'MM',
|
|
@@ -219,6 +223,7 @@ export default {
|
|
|
219
223
|
shortcut_NextRegion: 'Next region',
|
|
220
224
|
shortcut_PrevRegion: 'Previous region',
|
|
221
225
|
app_shell_user_account: 'Account',
|
|
226
|
+
application_logo: 'Application logo',
|
|
222
227
|
/* core:ComboBox */
|
|
223
228
|
combobox_open_close: 'Arrow down to open, press escape to close.',
|
|
224
229
|
combobox_search_instructions: 'Start typing to search',
|
|
@@ -293,6 +298,7 @@ export default {
|
|
|
293
298
|
},
|
|
294
299
|
attach_files: 'Attach files',
|
|
295
300
|
attach_review: 'Attach or review',
|
|
301
|
+
download_all: 'Download all',
|
|
296
302
|
/* core:Location */
|
|
297
303
|
my_current_location_button_a11y: 'Use my current location',
|
|
298
304
|
location_input_placeholder: 'Enter a location',
|
|
@@ -322,7 +328,7 @@ export default {
|
|
|
322
328
|
ai_disclaimer: 'Verify AI-generated content for accuracy.',
|
|
323
329
|
suggestions: 'Suggestions',
|
|
324
330
|
you: 'You',
|
|
325
|
-
coach: '{0}
|
|
331
|
+
coach: '{0} Coach',
|
|
326
332
|
welcome_text: 'How can I help you?',
|
|
327
333
|
start_chat: 'Start chat',
|
|
328
334
|
starter_message: 'Starter message',
|
|
@@ -365,6 +371,7 @@ export default {
|
|
|
365
371
|
error_message: 'Unable to retrieve data at the moment. Please try again.',
|
|
366
372
|
add_a_comment: 'Add a comment',
|
|
367
373
|
score: 'Score {0}',
|
|
374
|
+
relevance_score: 'Relevance score {0}',
|
|
368
375
|
ai_suggestions: 'AI suggestions',
|
|
369
376
|
auto_answered: 'Auto answered',
|
|
370
377
|
questions_detected: 'Questions detected',
|
|
@@ -374,6 +381,8 @@ export default {
|
|
|
374
381
|
confidence: 'Confidence',
|
|
375
382
|
ask_buddy: 'Ask buddy',
|
|
376
383
|
ai_generated: 'AI generated',
|
|
384
|
+
no_articles_found: 'No articles found',
|
|
385
|
+
semantic_initial_message: 'Search results will appear here',
|
|
377
386
|
/* work:Article */
|
|
378
387
|
article_label_a11y: 'Article',
|
|
379
388
|
article_related_links: 'Related links',
|
|
@@ -390,6 +399,9 @@ export default {
|
|
|
390
399
|
/* work:Confirmation */
|
|
391
400
|
confirmation_whats_next: "What's next",
|
|
392
401
|
confirmation_open_tasks: 'Open tasks',
|
|
402
|
+
/* work:SearchResults */
|
|
403
|
+
search_results_clear_all_filters: 'Clear all filters',
|
|
404
|
+
search_results_clear_filter: 'Clear {0} filter',
|
|
393
405
|
/* work:Stakeholders */
|
|
394
406
|
add_stakeholders: 'Add stakeholder',
|
|
395
407
|
edit_stakeholder: 'Edit stakeholder',
|
|
@@ -615,6 +627,8 @@ export default {
|
|
|
615
627
|
suggested_reply_copied_to_input_field: 'Suggested reply copied to input field',
|
|
616
628
|
dialogue: 'Dialogue',
|
|
617
629
|
pega_genAI: 'Pega GenAI',
|
|
630
|
+
suggestions_in_message: 'with {0} suggestions. Press ArrowLeft or ArrowRight to go through the suggestions.',
|
|
631
|
+
you_asked: 'You asked {0}',
|
|
618
632
|
suggest_reply: 'Suggest reply',
|
|
619
633
|
/* cs:Email */
|
|
620
634
|
unique_entities: {
|
|
@@ -773,6 +787,17 @@ export default {
|
|
|
773
787
|
detected_entities: 'Detected entities',
|
|
774
788
|
/* cs:FollowUpTask */
|
|
775
789
|
due_on: 'Due on {0}',
|
|
790
|
+
/* cs:InteractionSummary */
|
|
791
|
+
interaction_summary: 'Interaction summary',
|
|
792
|
+
edit_interaction_summary: 'Edit interaction summary',
|
|
793
|
+
cancel_editing_interaction_summary: 'Cancel editing interaction summary',
|
|
794
|
+
save: 'Save',
|
|
795
|
+
save_interaction_summary: 'Save interaction summary',
|
|
796
|
+
reason_for_transfer: 'Reason for transfer',
|
|
797
|
+
reason_cannot_be_blank: 'Reason for transfer cannot be blank',
|
|
798
|
+
ai_suggested_summary: 'AI suggested summary',
|
|
799
|
+
summary_cannot_be_blank: 'Summary cannot be blank',
|
|
800
|
+
interaction_Summary_not_available: 'Interaction summary not available',
|
|
776
801
|
/* cs:Sentiment */
|
|
777
802
|
sentiment_positive: 'Positive',
|
|
778
803
|
sentiment_negative: 'Negative',
|
|
@@ -1196,7 +1221,10 @@ export default {
|
|
|
1196
1221
|
unsupported_rule_type_label: 'Unsupported ruleType',
|
|
1197
1222
|
unsupported_rule_type_description: "Unsupported rule type: '{0}'",
|
|
1198
1223
|
create_new_record_failed: 'Create new record failed',
|
|
1224
|
+
/* authoring-ui-views: useDrillIn */
|
|
1225
|
+
field_does_not_exist_error: 'Field "{0}" was not found. Check if it still exists and is marked as relevant.',
|
|
1199
1226
|
/* authoring-ui-views: DynamicContentPicker */
|
|
1227
|
+
configure_item: 'Configure {0}: {1}',
|
|
1200
1228
|
data_page_call_error: 'Error occurred calling the data page. Data for {0} cannot be retrieved.',
|
|
1201
1229
|
item_not_in_data_page: '{0} no longer exists in the data page.',
|
|
1202
1230
|
/* authoring-ui-views: SyncTabsFromDetails */
|