@capillarytech/blaze-ui 5.10.0 → 5.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapAskAira/AudienceFilterBot/index.d.ts +2 -2
- package/CapAskAira/AudienceFilterBot/index.d.ts.map +1 -1
- package/CapAskAira/AudienceFilterBot/messages.d.ts +77 -0
- package/CapAskAira/AudienceFilterBot/messages.d.ts.map +1 -0
- package/CapAskAira/AudienceFilterBot/types.d.ts +3 -18
- package/CapAskAira/AudienceFilterBot/types.d.ts.map +1 -1
- package/CapAskAira/CapAiMediaGeneration/index.d.ts +3 -14
- package/CapAskAira/CapAiMediaGeneration/index.d.ts.map +1 -1
- package/CapAskAira/CapAiMediaGeneration/messages.d.ts +53 -0
- package/CapAskAira/CapAiMediaGeneration/messages.d.ts.map +1 -0
- package/CapAskAira/CapAiMediaGeneration/reducer.d.ts +1 -4
- package/CapAskAira/CapAiMediaGeneration/reducer.d.ts.map +1 -1
- package/CapAskAira/CapAiMediaGeneration/selectors.d.ts +1 -1
- package/CapAskAira/CapAiMediaGeneration/selectors.d.ts.map +1 -1
- package/CapAskAira/CapAiMediaGeneration/types.d.ts +6 -12
- package/CapAskAira/CapAiMediaGeneration/types.d.ts.map +1 -1
- package/CapAskAira/ConfigurationBot/CopilotResponse.d.ts.map +1 -1
- package/CapAskAira/ConfigurationBot/index.d.ts +2 -2
- package/CapAskAira/ConfigurationBot/index.d.ts.map +1 -1
- package/CapAskAira/ConfigurationBot/messages.d.ts +73 -0
- package/CapAskAira/ConfigurationBot/messages.d.ts.map +1 -0
- package/CapAskAira/ConfigurationBot/types.d.ts +12 -7
- package/CapAskAira/ConfigurationBot/types.d.ts.map +1 -1
- package/CapAskAira/ContentGenerationBot/index.d.ts +2 -2
- package/CapAskAira/ContentGenerationBot/index.d.ts.map +1 -1
- package/CapAskAira/ContentGenerationBot/messages.d.ts +45 -0
- package/CapAskAira/ContentGenerationBot/messages.d.ts.map +1 -0
- package/CapAskAira/ContentGenerationBot/types.d.ts +2 -11
- package/CapAskAira/ContentGenerationBot/types.d.ts.map +1 -1
- package/CapAskAira/DocumentationBot/index.d.ts +2 -2
- package/CapAskAira/DocumentationBot/index.d.ts.map +1 -1
- package/CapAskAira/DocumentationBot/messages.d.ts +45 -0
- package/CapAskAira/DocumentationBot/messages.d.ts.map +1 -0
- package/CapAskAira/DocumentationBot/types.d.ts +2 -11
- package/CapAskAira/DocumentationBot/types.d.ts.map +1 -1
- package/CapAskAira/DocumentationChatBot/index.d.ts +9 -1
- package/CapAskAira/DocumentationChatBot/index.d.ts.map +1 -1
- package/CapAskAira/DocumentationChatBot/messages.d.ts +16 -0
- package/CapAskAira/DocumentationChatBot/messages.d.ts.map +1 -1
- package/CapAskAira/DocumentationChatBot/reducer.d.ts +1 -3
- package/CapAskAira/DocumentationChatBot/reducer.d.ts.map +1 -1
- package/CapAskAira/DocumentationChatBot/saga.d.ts.map +1 -1
- package/CapAskAira/DocumentationChatBot/types.d.ts +3 -4
- package/CapAskAira/DocumentationChatBot/types.d.ts.map +1 -1
- package/CapAskAira/RuleGenerationBot/UtilComponents.d.ts.map +1 -1
- package/CapAskAira/RuleGenerationBot/index.d.ts +2 -1
- package/CapAskAira/RuleGenerationBot/index.d.ts.map +1 -1
- package/CapAskAira/RuleGenerationBot/messages.d.ts +49 -0
- package/CapAskAira/RuleGenerationBot/messages.d.ts.map +1 -0
- package/CapAskAira/RuleGenerationBot/reducer.d.ts +1 -4
- package/CapAskAira/RuleGenerationBot/reducer.d.ts.map +1 -1
- package/CapAskAira/RuleGenerationBot/saga.d.ts.map +1 -1
- package/CapAskAira/RuleGenerationBot/types.d.ts +6 -11
- package/CapAskAira/RuleGenerationBot/types.d.ts.map +1 -1
- package/CapAskAira/RuleSummarizationBot/index.d.ts +2 -1
- package/CapAskAira/RuleSummarizationBot/index.d.ts.map +1 -1
- package/CapAskAira/RuleSummarizationBot/reducer.d.ts +1 -4
- package/CapAskAira/RuleSummarizationBot/reducer.d.ts.map +1 -1
- package/CapAskAira/RuleSummarizationBot/types.d.ts +4 -0
- package/CapAskAira/RuleSummarizationBot/types.d.ts.map +1 -1
- package/CapAskAira/UtilComponents/AiraContainer.d.ts.map +1 -1
- package/CapAskAira/UtilComponents/Notification.d.ts.map +1 -1
- package/CapAskAira/UtilComponents/Popup.d.ts +2 -1
- package/CapAskAira/UtilComponents/Popup.d.ts.map +1 -1
- package/CapAskAira/UtilComponents/TitleBar.d.ts +6 -1
- package/CapAskAira/UtilComponents/TitleBar.d.ts.map +1 -1
- package/CapAskAira/constants.d.ts +9 -0
- package/CapAskAira/constants.d.ts.map +1 -1
- package/CapAskAira/index.d.ts +19 -24
- package/CapAskAira/index.d.ts.map +1 -1
- package/CapAskAira/index.js +730 -672
- package/CapAskAira/index.js.map +1 -1
- package/CapInput/README.md +4 -0
- package/CapSplit/index.js +1 -1
- package/CapSplit/index.js.map +1 -1
- package/README.md +6 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +736 -253
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/_variables.scss +26 -14
- package/CapVirtualMultiSelect/index.js +0 -18432
- package/CapVirtualMultiSelect/index.js.map +0 -1
package/CapAskAira/index.js
CHANGED
|
@@ -214,7 +214,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
|
214
214
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
215
215
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
216
216
|
// Module
|
|
217
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-ask-aira-raw-input{padding:0;border:none}.cap-ask-aira-raw-input:focus{outline:none}.cap-ask-aira-raw-input:disabled{background:none}.cap-ask-aira-no-scrollbar{white-space:nowrap;-ms-overflow-style:none;scrollbar-width:none}.cap-ask-aira-no-scrollbar::-webkit-scrollbar{height:0;width:0;background:rgba(0,0,0,0);-webkit-appearance:none}.cap-ask-aira-popup{user-select:none;border-radius:.5rem;box-shadow:0
|
|
217
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-ask-aira-raw-input{padding:0;border:none}.cap-ask-aira-raw-input:focus{outline:none}.cap-ask-aira-raw-input:disabled{background:none}.cap-ask-aira-no-scrollbar{white-space:nowrap;-ms-overflow-style:none;scrollbar-width:none}.cap-ask-aira-no-scrollbar::-webkit-scrollbar{height:0;width:0;background:rgba(0,0,0,0);-webkit-appearance:none}.cap-ask-aira-popup{user-select:none;border-radius:.5rem;box-shadow:0 .1429rem .3571rem .0714rem rgba(0,0,0,.1333333333);background-color:#fff;z-index:2147483001;overflow:hidden}.cap-ask-aira-error-bar{gap:.65rem;margin-top:1rem;margin-bottom:.35rem;color:#ea213a}.cap-ask-aira-error-bar img{height:1.2rem}.cap-ask-aira-title-bar{gap:.5rem;cursor:move;background:linear-gradient(90deg, #d0d7ff 47.35%, #ace0ff 100%);border-top-left-radius:inherit;border-top-right-radius:inherit;position:relative;z-index:9}.cap-ask-aira-title-bar .cap-ask-aira-heading-text{margin-left:.25rem;font-size:1.05rem;font-weight:500;user-select:none}.cap-ask-aira-title-bar .cap-ask-aira-close-btn{margin-right:.1rem;cursor:pointer;margin-left:auto}.cap-ask-aira-tooltip-overlay.ant-tooltip.cap-tooltip-overlay-v2{z-index:2147483003}.cap-ask-aira-tooltip-overlay.ant-tooltip.cap-tooltip-overlay-v2 ul{padding-inline-start:2.5rem;list-style:disc}.cap-ask-aira-tooltip{padding:.5rem}.cap-ask-aira-tooltip .cap-ask-aira-description{font-size:.8rem;margin-top:.3rem}.cap-ask-aira-bot-icon{cursor:pointer;user-select:none;display:inline-flex;align-items:center;justify-content:center;overflow:visible;width:auto !important;height:auto !important;min-width:2.5rem;min-height:2.5rem;flex-shrink:0}.cap-ask-aira-bot-icon[data-visible=true]{pointer-events:none}.cap-ask-aira-root{text-align:start;bottom:.857rem;line-height:normal;z-index:100}.cap-ask-aira-root.cap-ask-aira-float-br{z-index:80;position:absolute;bottom:.2rem;right:.2rem}.cap-ask-aira-root.cap-ask-aira-fixed-br-beamer{position:fixed;bottom:7.1429rem;right:1.4286rem}.cap-ask-aira-root *{box-sizing:border-box}@keyframes cap-ask-aira-border-animation{0%{background-position:0% 0%}100%{background-position:100% 0%}}.cap-ask-aira-input-border{width:100%;height:4rem;background:linear-gradient(10deg, #4a67ff 0%, #44ddff 50%, #4a67ff 100%);border-radius:.5rem;background-size:200% 100%;--border-width: 0.2rem;padding:var(--border-width);margin-top:.35rem}.cap-ask-aira-input-border form{width:100%;height:100%;background-color:#fff;border-radius:calc(.5rem - var(--border-width)/2);box-sizing:content-box;display:flex;flex-direction:row;align-items:center;gap:.5rem}.cap-ask-aira-input-border form .cap-ask-aira-input-box{border:none;outline:none;height:80%;width:0;flex-grow:1;font-size:1.1rem}.cap-ask-aira-input-border form .cap-ask-aira-input-bnox:focus{outline:none}.cap-ask-aira-input-border form .cap-ask-aira-three-stars-img{margin-left:.65rem}.cap-ask-aira-input-border form .cap-ask-aira-send-img{cursor:pointer;margin-right:.65rem}.cap-ask-aira-input-border[data-loading=true]{animation:cap-ask-aira-border-animation 1s ease-in-out alternate infinite}.cap-ask-aira-round{border-radius:71.357rem}.cap-ask-aira-multiline-input-root{margin-top:auto;width:100%;--border-radius: 0.5rem;--border-width: 0.2rem;border-radius:var(--border-radius);padding:var(--border-width);border:.0714rem solid #6268ff}.cap-ask-aira-multiline-input-root .cap-ask-aira-inside-input-border{background-color:#fff;border-radius:calc(var(--border-radius) - var(--border-width)/2);display:flex;align-items:end}.cap-ask-aira-multiline-input-root .cap-ask-aira-text-area{flex-grow:1}.cap-ask-aira-multiline-input-root textarea.ant-input{border:none !important}.cap-ask-aira-notification{z-index:21474830014}.cap-ask-aira-multiline-input-extended{margin-top:auto;margin-bottom:.5714rem;width:100%;--border-radius: 0.2857rem;--border-width: 0.0714rem;border-radius:var(--border-radius);padding:var(--border-width);background:linear-gradient(90deg, #6268ff, #3ba7ff)}.cap-ask-aira-multiline-input-extended .cap-ask-aira-inside-input-border{background-color:#fff;border-radius:calc(var(--border-radius) - var(--border-width)/2);position:relative;padding:0;overflow:hidden}.cap-ask-aira-multiline-input-extended .cap-ask-aira-text-area{width:100%}.cap-ask-aira-multiline-input-extended .cap-ask-aira-text-area .ant-input{height:5.4286rem;margin-bottom:.5714rem;resize:none;padding:.7143rem .8571rem 0 .8571rem;border:none !important}.cap-ask-aira-multiline-input-extended .cap-ask-aira-send-button-wrapper{position:absolute;right:.5714rem;bottom:.5714rem;z-index:5;padding:.2857rem;display:flex;align-items:center;justify-content:center}.cap-ask-aira-multiline-input-extended .cap-ask-aira-send-icon{width:1.7143rem !important;height:1.7143rem !important}.cap-ask-aira-multiline-input-extended .cap-ask-aira-send-icon.enabled{cursor:pointer}`, ""]);
|
|
218
218
|
// Exports
|
|
219
219
|
___CSS_LOADER_EXPORT___.locals = {
|
|
220
220
|
"cap-ask-aira-raw-input": `cap-ask-aira-raw-input`,
|
|
@@ -1380,9 +1380,9 @@ var _default = exports["default"] = CapHeadingWithStatic;
|
|
|
1380
1380
|
exports.__esModule = true;
|
|
1381
1381
|
exports["default"] = void 0;
|
|
1382
1382
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
1383
|
+
var _reactIntl = __webpack_require__(46407);
|
|
1383
1384
|
var _CapButton = _interopRequireDefault(__webpack_require__(80739));
|
|
1384
1385
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
1385
|
-
var _LocaleHoc = _interopRequireDefault(__webpack_require__(39879));
|
|
1386
1386
|
var _constants = __webpack_require__(23944);
|
|
1387
1387
|
var _useWebsocket = _interopRequireDefault(__webpack_require__(69406));
|
|
1388
1388
|
var _rootStyles = _interopRequireDefault(__webpack_require__(43647));
|
|
@@ -1392,13 +1392,12 @@ var _Icons = __webpack_require__(91540);
|
|
|
1392
1392
|
var _constants2 = _interopRequireWildcard(__webpack_require__(63763));
|
|
1393
1393
|
var constants = _constants2;
|
|
1394
1394
|
var _jsonAssembler = _interopRequireWildcard(__webpack_require__(66282));
|
|
1395
|
+
var _messages = _interopRequireDefault(__webpack_require__(49956));
|
|
1395
1396
|
var _styles = _interopRequireDefault(__webpack_require__(17320));
|
|
1396
1397
|
var _UtilComponents = __webpack_require__(96532);
|
|
1397
1398
|
var _jsxRuntime = __webpack_require__(74848);
|
|
1398
1399
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1399
1400
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
1400
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1401
|
-
|
|
1402
1401
|
const ContentGenerationBot = _ref => {
|
|
1403
1402
|
var _chat;
|
|
1404
1403
|
let {
|
|
@@ -1407,18 +1406,21 @@ const ContentGenerationBot = _ref => {
|
|
|
1407
1406
|
popupWidth = '42rem',
|
|
1408
1407
|
iconPlacement,
|
|
1409
1408
|
rootStyle,
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
textCharacters,
|
|
1415
|
-
textReplaceWithThis,
|
|
1416
|
-
textResetToDefault,
|
|
1417
|
-
textMoreLikeThis,
|
|
1418
|
-
textGenerateMore,
|
|
1419
|
-
textReplaced,
|
|
1420
|
-
iconSize
|
|
1409
|
+
iconSize,
|
|
1410
|
+
intl: {
|
|
1411
|
+
formatMessage
|
|
1412
|
+
}
|
|
1421
1413
|
} = _ref;
|
|
1414
|
+
const textTypeAMessage = formatMessage(_messages.default.textTypeAMessage);
|
|
1415
|
+
const textError = formatMessage(_messages.default.textError);
|
|
1416
|
+
const textAiraTitle = formatMessage(_messages.default.textAiraTitle);
|
|
1417
|
+
const textAiraTooltip = formatMessage(_messages.default.textAiraTooltip);
|
|
1418
|
+
const textCharacters = formatMessage(_messages.default.textCharacters);
|
|
1419
|
+
const textReplaceWithThis = formatMessage(_messages.default.textReplaceWithThis);
|
|
1420
|
+
const textResetToDefault = formatMessage(_messages.default.textResetToDefault);
|
|
1421
|
+
const textMoreLikeThis = formatMessage(_messages.default.textMoreLikeThis);
|
|
1422
|
+
const textGenerateMore = formatMessage(_messages.default.textGenerateMore);
|
|
1423
|
+
const textReplaced = formatMessage(_messages.default.textReplaced);
|
|
1422
1424
|
const chatCompletionRef = (0, _react.useRef)(null);
|
|
1423
1425
|
const originalPrompt = (0, _react.useRef)('');
|
|
1424
1426
|
const [chat, setChat] = (0, _react.useState)([]);
|
|
@@ -1521,8 +1523,9 @@ const ContentGenerationBot = _ref => {
|
|
|
1521
1523
|
className: _rootStyles.default[_constants.rootClsPrefix + "-no-scrollbar"] + " " + _styles.default[_constants2.clsPrefix + "-chat-container"],
|
|
1522
1524
|
children: [(renderedChat == null ? void 0 : renderedChat.length) > 0 && renderedChat.map((msg, index) => {
|
|
1523
1525
|
if ((msg == null ? void 0 : msg.type) === 'user') {
|
|
1526
|
+
const userContent = msg;
|
|
1524
1527
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_UtilComponents.PromptLI, {
|
|
1525
|
-
content:
|
|
1528
|
+
content: userContent,
|
|
1526
1529
|
moreLikeThis: index > 0,
|
|
1527
1530
|
showReset: replacedWith !== null,
|
|
1528
1531
|
reset: resetReplacedTextToOriginal,
|
|
@@ -1532,21 +1535,26 @@ const ContentGenerationBot = _ref => {
|
|
|
1532
1535
|
}, index);
|
|
1533
1536
|
}
|
|
1534
1537
|
if ((msg == null ? void 0 : msg.type) === 'bot') {
|
|
1538
|
+
var _botMsg$content;
|
|
1539
|
+
const botMsg = msg;
|
|
1540
|
+
const botContent = (_botMsg$content = botMsg.content) != null ? _botMsg$content : {
|
|
1541
|
+
content: ''
|
|
1542
|
+
};
|
|
1535
1543
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_UtilComponents.SuggestionLI, {
|
|
1536
1544
|
textMoreLikeThis: textMoreLikeThis,
|
|
1537
1545
|
textReplaced: textReplaced,
|
|
1538
|
-
content:
|
|
1539
|
-
loading: !
|
|
1546
|
+
content: botContent,
|
|
1547
|
+
loading: !botMsg.suggestionLoaded,
|
|
1540
1548
|
replace: () => {
|
|
1541
|
-
var
|
|
1542
|
-
setText((
|
|
1549
|
+
var _botContent$content;
|
|
1550
|
+
setText((_botContent$content = botContent.content) != null ? _botContent$content : '');
|
|
1543
1551
|
setReplacedWith(index);
|
|
1544
1552
|
},
|
|
1545
1553
|
active: replacedWith === index,
|
|
1546
1554
|
moreLikeThis: () => {
|
|
1547
|
-
var
|
|
1555
|
+
var _botContent$content2;
|
|
1548
1556
|
scrollToBottomWithDelay();
|
|
1549
|
-
getSuggestions((
|
|
1557
|
+
getSuggestions((_botContent$content2 = botContent.content) != null ? _botContent$content2 : '');
|
|
1550
1558
|
},
|
|
1551
1559
|
textReplaceWithThis: textReplaceWithThis,
|
|
1552
1560
|
textCharacters: textCharacters
|
|
@@ -1566,9 +1574,7 @@ const ContentGenerationBot = _ref => {
|
|
|
1566
1574
|
})]
|
|
1567
1575
|
});
|
|
1568
1576
|
};
|
|
1569
|
-
var _default = exports["default"] = (0,
|
|
1570
|
-
key: 'CapAskAira.ContentGenerationBot'
|
|
1571
|
-
});
|
|
1577
|
+
var _default = exports["default"] = (0, _reactIntl.injectIntl)(ContentGenerationBot);
|
|
1572
1578
|
|
|
1573
1579
|
/***/ }),
|
|
1574
1580
|
|
|
@@ -1908,7 +1914,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
|
1908
1914
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
1909
1915
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
1910
1916
|
// Module
|
|
1911
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-media-generation-bot-content{padding:0rem .75rem 1.12rem .75rem;height:100%;display:flex;flex-direction:column;align-items:center}.cap-media-generation-bot-content .cap-media-generation-bot-tab-container{display:flex;justify-content:space-around;width:100%;margin-bottom:1.5rem;flex-direction:row}.cap-media-generation-bot-content .cap-media-generation-bot-tab-container .cap-media-generation-bot-tab{padding:.5rem;font-size:1rem;opacity:.5;cursor:not-allowed;width:50%;text-align:center}.cap-media-generation-bot-content .cap-media-generation-bot-tab-container .cap-media-generation-bot-tab[data-active=true]{border-bottom:.15rem solid rgba(0,0,0,0);border-image:linear-gradient(to right, #6268ff 0%, #3ba7ff 100%);border-image-slice:1;font-weight:500}.cap-media-generation-bot-content .cap-media-generation-bot-text-media-footer{position:absolute;bottom:0;background-color:#fff}.cap-media-generation-bot-content .imageTextBot{margin:.5rem 0rem}.cap-media-generation-bot-content .doc-bot{text-align:center;margin-top:2rem;flex-direction:column;align-items:center}.cap-media-generation-bot-content .doc-bot .three-star-icon{border-radius:100%;border:.0625rem solid
|
|
1917
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-media-generation-bot-content{padding:0rem .75rem 1.12rem .75rem;height:100%;display:flex;flex-direction:column;align-items:center}.cap-media-generation-bot-content .cap-media-generation-bot-tab-container{display:flex;justify-content:space-around;width:100%;margin-bottom:1.5rem;flex-direction:row}.cap-media-generation-bot-content .cap-media-generation-bot-tab-container .cap-media-generation-bot-tab{padding:.5rem;font-size:1rem;opacity:.5;cursor:not-allowed;width:50%;text-align:center}.cap-media-generation-bot-content .cap-media-generation-bot-tab-container .cap-media-generation-bot-tab[data-active=true]{border-bottom:.15rem solid rgba(0,0,0,0);border-image:linear-gradient(to right, #6268ff 0%, #3ba7ff 100%);border-image-slice:1;font-weight:500}.cap-media-generation-bot-content .cap-media-generation-bot-text-media-footer{position:absolute;bottom:0;background-color:#fff}.cap-media-generation-bot-content .imageTextBot{margin:.5rem 0rem}.cap-media-generation-bot-content .doc-bot{text-align:center;margin-top:2rem;flex-direction:column;align-items:center}.cap-media-generation-bot-content .doc-bot .three-star-icon{border-radius:100%;border:.0625rem solid #7a869a}.cap-media-generation-bot-content .cap-media-generation-bot-tips-box{background-color:#d4e1fc;padding:1rem;margin:.92rem;border-radius:.3rem}.cap-media-generation-bot-content .cap-media-generation-bot-tips-box svg{margin-right:.5rem;fill:#0056e0}.cap-media-generation-bot-content .cap-media-generation-bot-tips-box .tips-box-head{display:flex;margin-bottom:.25rem}.cap-media-generation-bot-content .cap-media-generation-bot-image-container{width:100%;display:flex;overflow-y:auto;margin:1.5rem 0 3rem 0}.cap-media-generation-bot-content .cap-media-generation-bot-image-answer-container{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;width:100%}.cap-media-generation-bot-content .chat-loader-icon{padding:.48rem;display:flex}.cap-media-generation-bot-content .cap-media-generation-bot-generate-more{display:flex;align-items:center;background:#ebecf0;border-radius:.3rem;padding:.375rem .5rem;width:fit-content;gap:.3rem;cursor:pointer;opacity:1}.cap-media-generation-bot-content .cap-media-generation-bot-generate-more.cap-media-generation-bot-loading{cursor:not-allowed;opacity:.5;pointer-events:none}.cap-media-generation-bot-content .rate-icon{display:flex;gap:.3rem;align-items:center;margin-left:auto}.cap-media-generation-bot-content .image-container{width:100%;height:15rem;border-radius:.3rem;position:relative;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center}.cap-media-generation-bot-content .image-container>div{width:100% !important;min-width:7.1429rem}.cap-media-generation-bot-content .image-container-img{object-fit:cover;width:100% !important;height:100% !important;border-radius:.3rem}.cap-media-generation-bot-content .image-container-overlay-content{width:100%;height:15rem;border-radius:.3rem;background-color:rgba(255,255,255,.8);position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center}.cap-media-generation-bot-content .image-container-overlay-content a{color:#091e42}.cap-media-generation-bot-content .image-container-download-icon{cursor:pointer;padding:.75rem;background:#fff;border-radius:.25rem}.cap-media-generation-bot-content .image-container-copy-icon{fill:#fff;cursor:pointer;margin-right:.5rem;background:#dfe2e7;padding:.7143rem;border-radius:.25rem}.cap-media-generation-bot-content .image-footer{display:flex;margin:.5rem .75rem;gap:.3rem;align-items:center;flex:100}.cap-media-generation-bot-content .image-footer .image-footer-icon{flex:5}.cap-media-generation-bot-content .image-footer .image-footer-heading{flex:95}.cap-media-generation-bot-tooltip-copied-size{padding:.625rem .75rem}.cap-media-generation-bot-tooltip-size{padding:.5rem 1rem}`, ""]);
|
|
1912
1918
|
// Exports
|
|
1913
1919
|
___CSS_LOADER_EXPORT___.locals = {
|
|
1914
1920
|
"cap-media-generation-bot-content": `cap-media-generation-bot-content`,
|
|
@@ -1924,7 +1930,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
1924
1930
|
"cap-media-generation-bot-image-answer-container": `cap-media-generation-bot-image-answer-container`,
|
|
1925
1931
|
"chat-loader-icon": `chat-loader-icon`,
|
|
1926
1932
|
"cap-media-generation-bot-generate-more": `cap-media-generation-bot-generate-more`,
|
|
1927
|
-
"loading": `loading`,
|
|
1933
|
+
"cap-media-generation-bot-loading": `cap-media-generation-bot-loading`,
|
|
1928
1934
|
"rate-icon": `rate-icon`,
|
|
1929
1935
|
"image-container": `image-container`,
|
|
1930
1936
|
"image-container-img": `image-container-img`,
|
|
@@ -2606,17 +2612,18 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
|
|
|
2606
2612
|
exports.__esModule = true;
|
|
2607
2613
|
exports["default"] = void 0;
|
|
2608
2614
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
2615
|
+
var _reactIntl = __webpack_require__(46407);
|
|
2609
2616
|
var _CapDivider = _interopRequireDefault(__webpack_require__(23406));
|
|
2610
2617
|
var _CapHeading = _interopRequireDefault(__webpack_require__(7319));
|
|
2611
2618
|
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
2612
2619
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
2613
|
-
var _LocaleHoc = _interopRequireDefault(__webpack_require__(39879));
|
|
2614
2620
|
var _constants = __webpack_require__(23944);
|
|
2615
2621
|
var _useWebsocket = _interopRequireDefault(__webpack_require__(69406));
|
|
2616
2622
|
var _rootStyles = _interopRequireDefault(__webpack_require__(43647));
|
|
2617
2623
|
var _AiraContainer = _interopRequireDefault(__webpack_require__(97060));
|
|
2618
2624
|
var _InputBox = _interopRequireDefault(__webpack_require__(36227));
|
|
2619
2625
|
var _constants2 = __webpack_require__(82260);
|
|
2626
|
+
var _messages = _interopRequireDefault(__webpack_require__(63525));
|
|
2620
2627
|
var _styles = _interopRequireDefault(__webpack_require__(58861));
|
|
2621
2628
|
var _UtilComponents = __webpack_require__(78507);
|
|
2622
2629
|
var _jsxRuntime = __webpack_require__(74848);
|
|
@@ -2624,18 +2631,21 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
2624
2631
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
2625
2632
|
const DocumentationBot = _ref => {
|
|
2626
2633
|
let {
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
textAira,
|
|
2632
|
-
textTooltip,
|
|
2633
|
-
textLinks,
|
|
2634
|
-
textConfidence,
|
|
2635
|
-
textWasHelpful,
|
|
2636
|
-
textCantConnect,
|
|
2637
|
-
iconPlacement
|
|
2634
|
+
iconPlacement,
|
|
2635
|
+
intl: {
|
|
2636
|
+
formatMessage
|
|
2637
|
+
}
|
|
2638
2638
|
} = _ref;
|
|
2639
|
+
const textAskYourQuestion = formatMessage(_messages.default.textAskYourQuestion);
|
|
2640
|
+
const textVisitDocs = formatMessage(_messages.default.textVisitDocs);
|
|
2641
|
+
const textNeedHelp = formatMessage(_messages.default.textNeedHelp);
|
|
2642
|
+
const textHowMayIHelp = formatMessage(_messages.default.textHowMayIHelp);
|
|
2643
|
+
const textAira = formatMessage(_messages.default.textAira);
|
|
2644
|
+
const textTooltip = formatMessage(_messages.default.textTooltip);
|
|
2645
|
+
const textLinks = formatMessage(_messages.default.textLinks);
|
|
2646
|
+
const textConfidence = formatMessage(_messages.default.textConfidence);
|
|
2647
|
+
const textWasHelpful = formatMessage(_messages.default.textWasHelpful);
|
|
2648
|
+
const textCantConnect = formatMessage(_messages.default.textCantConnect);
|
|
2639
2649
|
const queryId = (0, _react.useRef)(null);
|
|
2640
2650
|
const [query, setQuery] = (0, _react.useState)('');
|
|
2641
2651
|
const [lastQuery, setLastQuery] = (0, _react.useState)();
|
|
@@ -2667,7 +2677,7 @@ const DocumentationBot = _ref => {
|
|
|
2667
2677
|
}
|
|
2668
2678
|
}, []);
|
|
2669
2679
|
const onError = (0, _react.useCallback)(() => {
|
|
2670
|
-
setAnswerContent(textCantConnect
|
|
2680
|
+
setAnswerContent(textCantConnect);
|
|
2671
2681
|
setLoading(false);
|
|
2672
2682
|
}, [textCantConnect]);
|
|
2673
2683
|
const {
|
|
@@ -2775,9 +2785,7 @@ const DocumentationBot = _ref => {
|
|
|
2775
2785
|
})
|
|
2776
2786
|
});
|
|
2777
2787
|
};
|
|
2778
|
-
var _default = exports["default"] = (0,
|
|
2779
|
-
key: 'CapAskAira.DocumentationBot'
|
|
2780
|
-
});
|
|
2788
|
+
var _default = exports["default"] = (0, _reactIntl.injectIntl)(DocumentationBot);
|
|
2781
2789
|
|
|
2782
2790
|
/***/ }),
|
|
2783
2791
|
|
|
@@ -3080,7 +3088,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
|
3080
3088
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
3081
3089
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
3082
3090
|
// Module
|
|
3083
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-aira-content-type-message{margin-top:.25rem;padding:1rem;color:#97a0af;border-bottom
|
|
3091
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-aira-content-type-message{margin-top:.25rem;padding:1rem;color:#97a0af;border-bottom:.0714rem solid #dfe2e7}.cap-aira-content-chat-container{max-height:27rem;overflow-y:scroll;padding-top:.25rem}.cap-aira-content-generate-suggestions{margin:.4rem .5rem}.cap-aira-content-suggestion-li{position:relative;flex-wrap:nowrap;gap:.65rem;padding:0 1rem;user-select:text}.cap-aira-content-suggestion-li[data-active=true]{background-color:#ecf7ec}.cap-aira-content-suggestion-li .cap-aira-content-only-hover{opacity:0;pointer-events:none}.cap-aira-content-suggestion-li:hover .cap-aira-content-only-hover{opacity:1;pointer-events:all}.cap-aira-content-suggestion-li>.cap-aira-content-cover{display:none;background-color:rgba(255,238,0,.03);position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}.cap-aira-content-suggestion-li:hover>.cap-aira-content-cover{display:block}.cap-aira-content-suggestion-li .cap-aira-content-content{flex-grow:1;padding:.65rem 0}.cap-aira-content-suggestion-li .cap-aira-content-content .cap-aira-content-content-text{white-space:pre-wrap}.cap-aira-content-suggestion-li .cap-aira-content-content .cap-aira-content-content-info{margin-top:.5rem}.cap-aira-content-suggestion-li .cap-aira-content-content .cap-aira-content-content-info .cap-aira-content-emoji{font-size:1.1rem}.cap-aira-content-suggestion-li .cap-aira-content-content .cap-aira-content-content-info .cap-aira-content-emoji-character-count{margin-left:.7rem;padding-left:.7rem;border-left:.0714rem solid #dfe2e7;font-size:.8rem;color:#5e6c84}.cap-aira-content-suggestion-li .cap-aira-content-replaced-txt{padding:0 1.25rem}.cap-aira-content-suggestion-li .cap-aira-content-replaced-txt>span{color:#47af46;margin-left:.35rem}.cap-aira-content-suggestion-li .cap-aira-content-more-btn{margin-left:auto}.cap-aira-content-suggestion-li .cap-aira-content-replace-btn{margin-left:.5rem}.cap-aira-content-suggestion-li+.cap-aira-content-suggestion-li>.cap-aira-content-content{border-top:.0714rem solid #dfe2e7}.cap-aira-content-reset-to-default{cursor:pointer;color:#2466ea;font-weight:500;padding:0 1rem;margin-left:auto}`, ""]);
|
|
3084
3092
|
// Exports
|
|
3085
3093
|
___CSS_LOADER_EXPORT___.locals = {
|
|
3086
3094
|
"cap-aira-content-type-message": `cap-aira-content-type-message`,
|
|
@@ -3721,18 +3729,20 @@ var _default = exports["default"] = SvgNotepad;
|
|
|
3721
3729
|
exports.__esModule = true;
|
|
3722
3730
|
exports["default"] = void 0;
|
|
3723
3731
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
3732
|
+
var _reactIntl = __webpack_require__(46407);
|
|
3724
3733
|
var _CapButton = _interopRequireDefault(__webpack_require__(80739));
|
|
3725
3734
|
var _CapDivider = _interopRequireDefault(__webpack_require__(23406));
|
|
3726
3735
|
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
3727
3736
|
var _CapModal = _interopRequireDefault(__webpack_require__(7442));
|
|
3728
3737
|
var _CapNotification = _interopRequireDefault(__webpack_require__(98170));
|
|
3729
3738
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
3730
|
-
var
|
|
3739
|
+
var _constants = __webpack_require__(23944);
|
|
3731
3740
|
var _AiraContainer = _interopRequireDefault(__webpack_require__(97060));
|
|
3732
3741
|
var _ErrorBar = _interopRequireDefault(__webpack_require__(83985));
|
|
3733
3742
|
var _Icons = __webpack_require__(91540);
|
|
3734
3743
|
var _MultiLineInpuxBox = _interopRequireDefault(__webpack_require__(34388));
|
|
3735
|
-
var
|
|
3744
|
+
var _constants2 = __webpack_require__(20082);
|
|
3745
|
+
var _messages = _interopRequireDefault(__webpack_require__(42639));
|
|
3736
3746
|
var _styles = _interopRequireDefault(__webpack_require__(43377));
|
|
3737
3747
|
var _jsxRuntime = __webpack_require__(74848);
|
|
3738
3748
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -3740,7 +3750,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
3740
3750
|
const AudienceFilterBot = _ref => {
|
|
3741
3751
|
var _audienceData$approac, _audienceData$status, _ref2;
|
|
3742
3752
|
let {
|
|
3743
|
-
textAiraTitle
|
|
3753
|
+
textAiraTitle: textAiraTitleProp,
|
|
3744
3754
|
setFilterDataFromApi = () => {},
|
|
3745
3755
|
clearFilterData = () => {},
|
|
3746
3756
|
updateSetQueryData = () => {},
|
|
@@ -3760,24 +3770,28 @@ const AudienceFilterBot = _ref => {
|
|
|
3760
3770
|
partial_error: false
|
|
3761
3771
|
}
|
|
3762
3772
|
},
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
textPlaceholder,
|
|
3767
|
-
textError,
|
|
3768
|
-
textThoughtProcess,
|
|
3769
|
-
textFiltersAdded,
|
|
3770
|
-
textAnalyzing,
|
|
3771
|
-
textPartialFiltersAdded,
|
|
3772
|
-
textFeedbackTitle,
|
|
3773
|
-
textFeedbackOptional,
|
|
3774
|
-
textFeedbackMessage,
|
|
3775
|
-
textFeedbackPlaceholder,
|
|
3776
|
-
textFeedbackSubmit,
|
|
3777
|
-
textFeedbackCancel,
|
|
3778
|
-
textThankYouFeedback,
|
|
3779
|
-
textThankYouDetailedFeedback
|
|
3773
|
+
intl: {
|
|
3774
|
+
formatMessage
|
|
3775
|
+
}
|
|
3780
3776
|
} = _ref;
|
|
3777
|
+
const textAiraTitle = textAiraTitleProp != null ? textAiraTitleProp : formatMessage(_messages.default.textAiraTitle);
|
|
3778
|
+
const textNeedHelp = formatMessage(_messages.default.textNeedHelp);
|
|
3779
|
+
const textAskAiraLink = formatMessage(_messages.default.textAskAiraLink);
|
|
3780
|
+
const textDescribeAudience = formatMessage(_messages.default.textDescribeAudience);
|
|
3781
|
+
const textPlaceholder = formatMessage(_messages.default.textPlaceholder);
|
|
3782
|
+
const textError = formatMessage(_messages.default.textError);
|
|
3783
|
+
const textThoughtProcess = formatMessage(_messages.default.textThoughtProcess);
|
|
3784
|
+
const textFiltersAdded = formatMessage(_messages.default.textFiltersAdded);
|
|
3785
|
+
const textAnalyzing = formatMessage(_messages.default.textAnalyzing);
|
|
3786
|
+
const textPartialFiltersAdded = formatMessage(_messages.default.textPartialFiltersAdded);
|
|
3787
|
+
const textFeedbackTitle = formatMessage(_messages.default.textFeedbackTitle);
|
|
3788
|
+
const textFeedbackOptional = formatMessage(_messages.default.textFeedbackOptional);
|
|
3789
|
+
const textFeedbackMessage = formatMessage(_messages.default.textFeedbackMessage);
|
|
3790
|
+
const textFeedbackPlaceholder = formatMessage(_messages.default.textFeedbackPlaceholder);
|
|
3791
|
+
const textFeedbackSubmit = formatMessage(_messages.default.textFeedbackSubmit);
|
|
3792
|
+
const textFeedbackCancel = formatMessage(_messages.default.textFeedbackCancel);
|
|
3793
|
+
const textThankYouFeedback = formatMessage(_messages.default.textThankYouFeedback);
|
|
3794
|
+
const textThankYouDetailedFeedback = formatMessage(_messages.default.textThankYouDetailedFeedback);
|
|
3781
3795
|
const [query, setQuery] = (0, _react.useState)('');
|
|
3782
3796
|
const [isVisible, setIsVisible] = (0, _react.useState)(false);
|
|
3783
3797
|
const [isQuerySubmitted, setIsQuerySubmitted] = (0, _react.useState)(false);
|
|
@@ -3853,16 +3867,16 @@ const AudienceFilterBot = _ref => {
|
|
|
3853
3867
|
}
|
|
3854
3868
|
};
|
|
3855
3869
|
const getOuterBoxClass = () => {
|
|
3856
|
-
if (!isVisible) return _styles.default[
|
|
3857
|
-
if (isQuerySubmitted) return _styles.default[
|
|
3858
|
-
return _styles.default[
|
|
3870
|
+
if (!isVisible) return _styles.default[_constants2.clsPrefix + "-collapsed"];
|
|
3871
|
+
if (isQuerySubmitted) return _styles.default[_constants2.clsPrefix + "-analysis-height"];
|
|
3872
|
+
return _styles.default[_constants2.clsPrefix + "-expanded"];
|
|
3859
3873
|
};
|
|
3860
3874
|
const renderLoadingIndicator = () => {
|
|
3861
3875
|
if (getAudienceDataStatus === 'COMPLETE') return null;
|
|
3862
3876
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3863
|
-
className: _styles.default[
|
|
3877
|
+
className: _styles.default[_constants2.clsPrefix + "-loading-container"],
|
|
3864
3878
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
3865
|
-
className: _styles.default[
|
|
3879
|
+
className: _styles.default[_constants2.clsPrefix + "-loading-text"],
|
|
3866
3880
|
children: textAnalyzing
|
|
3867
3881
|
})
|
|
3868
3882
|
});
|
|
@@ -3875,51 +3889,51 @@ const AudienceFilterBot = _ref => {
|
|
|
3875
3889
|
type: 'anchor-br'
|
|
3876
3890
|
},
|
|
3877
3891
|
title: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
3878
|
-
className: _styles.default[
|
|
3892
|
+
className: _styles.default[_constants2.clsPrefix + "-custom-title"],
|
|
3879
3893
|
children: textAiraTitle
|
|
3880
3894
|
}),
|
|
3881
3895
|
onHide: onHide,
|
|
3882
3896
|
mode: "audience-filter",
|
|
3883
3897
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3884
|
-
className: _styles.default[
|
|
3898
|
+
className: _styles.default[_constants2.clsPrefix + "-multiline-box-outer"] + " " + getOuterBoxClass(),
|
|
3885
3899
|
children: [!isVisible && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3886
|
-
className: _styles.default[
|
|
3900
|
+
className: _styles.default[_constants2.clsPrefix + "-info-container"],
|
|
3887
3901
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
3888
|
-
className: _styles.default[
|
|
3902
|
+
className: _styles.default[_constants2.clsPrefix + "-info-text"],
|
|
3889
3903
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
3890
3904
|
type: "three-star-dark",
|
|
3891
3905
|
size: "m",
|
|
3892
|
-
className: _styles.default[
|
|
3906
|
+
className: _styles.default[_constants2.clsPrefix + "-icon-margin"]
|
|
3893
3907
|
}), textNeedHelp, /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3894
|
-
className: _styles.default[
|
|
3908
|
+
className: _styles.default[_constants2.clsPrefix + "-ask-aira-wrapper"],
|
|
3895
3909
|
onClick: toggleVisibility,
|
|
3896
3910
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
3897
|
-
className: _styles.default[
|
|
3911
|
+
className: _styles.default[_constants2.clsPrefix + "-ask-aira-link"],
|
|
3898
3912
|
children: textAskAiraLink
|
|
3899
3913
|
})
|
|
3900
3914
|
})]
|
|
3901
3915
|
})
|
|
3902
3916
|
}), isVisible && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
3903
3917
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3904
|
-
className: _styles.default[
|
|
3918
|
+
className: _styles.default[_constants2.clsPrefix + "-header-container"],
|
|
3905
3919
|
children: isQuerySubmitted ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3906
|
-
className: _styles.default[
|
|
3920
|
+
className: _styles.default[_constants2.clsPrefix + "-submitted-elements-container"],
|
|
3907
3921
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3908
|
-
className: _styles.default[
|
|
3922
|
+
className: _styles.default[_constants2.clsPrefix + "-submitted-left-section"],
|
|
3909
3923
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
3910
3924
|
type: "three-star-dark",
|
|
3911
3925
|
size: "m",
|
|
3912
|
-
className: _styles.default[
|
|
3926
|
+
className: _styles.default[_constants2.clsPrefix + "-header-icon"]
|
|
3913
3927
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
3914
|
-
className: _styles.default[
|
|
3928
|
+
className: _styles.default[_constants2.clsPrefix + "-query-label"] + " " + _styles.default[_constants2.clsPrefix + "-header-label"],
|
|
3915
3929
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
3916
|
-
className: _styles.default[
|
|
3930
|
+
className: _styles.default[_constants2.clsPrefix + "-ask-aira-link"] + " " + _styles.default[_constants2.clsPrefix + "-query-display"] + " " + (getAudienceDataStatus !== 'REQUEST' ? _styles.default[_constants2.clsPrefix + "-normal-color"] : ''),
|
|
3917
3931
|
children: [query, getAudienceDataStatus !== 'REQUEST' && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
3918
|
-
className: _styles.default[
|
|
3932
|
+
className: _styles.default[_constants2.clsPrefix + "-edit-icon-container"],
|
|
3919
3933
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
3920
3934
|
type: "edit",
|
|
3921
3935
|
size: "s",
|
|
3922
|
-
className: _styles.default[
|
|
3936
|
+
className: _styles.default[_constants2.clsPrefix + "-edit-icon"],
|
|
3923
3937
|
onClick: () => {
|
|
3924
3938
|
setIsQuerySubmitted(false);
|
|
3925
3939
|
setFeedbackState(null);
|
|
@@ -3932,7 +3946,7 @@ const AudienceFilterBot = _ref => {
|
|
|
3932
3946
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
3933
3947
|
type: "close",
|
|
3934
3948
|
size: "s",
|
|
3935
|
-
className: _styles.default[
|
|
3949
|
+
className: _styles.default[_constants2.clsPrefix + "-close-icon"] + " " + _styles.default[_constants2.clsPrefix + "-close-button"],
|
|
3936
3950
|
onClick: () => {
|
|
3937
3951
|
setIsVisible(false);
|
|
3938
3952
|
setIsQuerySubmitted(false);
|
|
@@ -3943,21 +3957,21 @@ const AudienceFilterBot = _ref => {
|
|
|
3943
3957
|
}
|
|
3944
3958
|
})]
|
|
3945
3959
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3946
|
-
className: _styles.default[
|
|
3960
|
+
className: _styles.default[_constants2.clsPrefix + "-placeholder-container"],
|
|
3947
3961
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
3948
|
-
className: _styles.default[
|
|
3962
|
+
className: _styles.default[_constants2.clsPrefix + "-header-left-container"],
|
|
3949
3963
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
3950
3964
|
type: "three-star-dark",
|
|
3951
3965
|
size: "m",
|
|
3952
|
-
className: _styles.default[
|
|
3966
|
+
className: _styles.default[_constants2.clsPrefix + "-header-icon"]
|
|
3953
3967
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
3954
|
-
className: _styles.default[
|
|
3968
|
+
className: _styles.default[_constants2.clsPrefix + "-query-label"] + " " + _styles.default[_constants2.clsPrefix + "-header-label"],
|
|
3955
3969
|
children: textDescribeAudience
|
|
3956
3970
|
})]
|
|
3957
3971
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
3958
3972
|
type: "close",
|
|
3959
3973
|
size: "s",
|
|
3960
|
-
className: _styles.default[
|
|
3974
|
+
className: _styles.default[_constants2.clsPrefix + "-close-icon"] + " " + _styles.default[_constants2.clsPrefix + "-close-button"],
|
|
3961
3975
|
onClick: () => {
|
|
3962
3976
|
setIsVisible(false);
|
|
3963
3977
|
setIsQuerySubmitted(false);
|
|
@@ -3969,7 +3983,7 @@ const AudienceFilterBot = _ref => {
|
|
|
3969
3983
|
})]
|
|
3970
3984
|
})
|
|
3971
3985
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3972
|
-
className: _styles.default[
|
|
3986
|
+
className: _styles.default[_constants2.clsPrefix + "-input-wrapper"] + " " + (isQuerySubmitted ? _styles.default[_constants2.clsPrefix + "-hidden"] : ''),
|
|
3973
3987
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MultiLineInpuxBox.default, {
|
|
3974
3988
|
value: query,
|
|
3975
3989
|
setValue: setQuery,
|
|
@@ -3980,20 +3994,20 @@ const AudienceFilterBot = _ref => {
|
|
|
3980
3994
|
})
|
|
3981
3995
|
}), isQuerySubmitted && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
3982
3996
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapDivider.default, {
|
|
3983
|
-
className: _styles.default[
|
|
3997
|
+
className: _styles.default[_constants2.clsPrefix + "-divider"]
|
|
3984
3998
|
}), renderLoadingIndicator(), hasError && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
3985
3999
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3986
|
-
className: _styles.default[
|
|
4000
|
+
className: _styles.default[_constants2.clsPrefix + "-error-container"],
|
|
3987
4001
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
|
|
3988
4002
|
type: "flex",
|
|
3989
4003
|
justify: "start",
|
|
3990
4004
|
align: "top",
|
|
3991
|
-
className: _styles.default[
|
|
4005
|
+
className: _styles.default[_constants2.clsPrefix + "-full-width-row"],
|
|
3992
4006
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
3993
|
-
className: _styles.default[
|
|
4007
|
+
className: _styles.default[_constants2.clsPrefix + "-header-left-container"],
|
|
3994
4008
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorBar.default, {
|
|
3995
4009
|
textError: textError != null ? textError : '',
|
|
3996
|
-
className: _styles.default[
|
|
4010
|
+
className: _styles.default[_constants2.clsPrefix + "-error-bar-no-padding"]
|
|
3997
4011
|
})
|
|
3998
4012
|
})
|
|
3999
4013
|
})
|
|
@@ -4001,107 +4015,107 @@ const AudienceFilterBot = _ref => {
|
|
|
4001
4015
|
})]
|
|
4002
4016
|
}), hasResults && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
4003
4017
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
4004
|
-
className: _styles.default[
|
|
4018
|
+
className: _styles.default[_constants2.clsPrefix + "-success-container"],
|
|
4005
4019
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
|
|
4006
4020
|
type: "flex",
|
|
4007
4021
|
justify: "space-between",
|
|
4008
4022
|
align: "middle",
|
|
4009
|
-
className: _styles.default[
|
|
4023
|
+
className: _styles.default[_constants2.clsPrefix + "-full-width-row"],
|
|
4010
4024
|
children: [(audienceData == null || (_audienceData$approac = audienceData.approach) == null ? void 0 : _audienceData$approac.length) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4011
|
-
className: _styles.default[
|
|
4025
|
+
className: _styles.default[_constants2.clsPrefix + "-approach-container"],
|
|
4012
4026
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4013
|
-
className: _styles.default[
|
|
4027
|
+
className: _styles.default[_constants2.clsPrefix + "-thought-process-heading"],
|
|
4014
4028
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4015
|
-
className: _styles.default[
|
|
4029
|
+
className: _styles.default[_constants2.clsPrefix + "-thought-process-text"],
|
|
4016
4030
|
onClick: () => setShowApproaches(!showApproaches),
|
|
4017
4031
|
children: textThoughtProcess
|
|
4018
4032
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4019
4033
|
type: showApproaches ? 'chevron-up' : 'chevron-down',
|
|
4020
4034
|
size: "s",
|
|
4021
|
-
className: _styles.default[
|
|
4035
|
+
className: _styles.default[_constants2.clsPrefix + "-chevron-icon"],
|
|
4022
4036
|
onClick: () => setShowApproaches(!showApproaches)
|
|
4023
4037
|
})]
|
|
4024
4038
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
4025
|
-
className: showApproaches ? _styles.default[
|
|
4039
|
+
className: showApproaches ? _styles.default[_constants2.clsPrefix + "-approach-content-visible"] : _styles.default[_constants2.clsPrefix + "-approach-content"],
|
|
4026
4040
|
children: audienceData == null ? void 0 : audienceData.approach.map((approaches, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
|
|
4027
|
-
className: _styles.default[
|
|
4041
|
+
className: _styles.default[_constants2.clsPrefix + "-approach-item"],
|
|
4028
4042
|
type: "flex",
|
|
4029
4043
|
align: "top",
|
|
4030
4044
|
justify: "start",
|
|
4031
4045
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4032
|
-
className: _styles.default[
|
|
4046
|
+
className: _styles.default[_constants2.clsPrefix + "-bullet"],
|
|
4033
4047
|
children: "\u2022"
|
|
4034
4048
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4035
|
-
className: _styles.default[
|
|
4049
|
+
className: _styles.default[_constants2.clsPrefix + "-approach-text"],
|
|
4036
4050
|
children: String(approaches)
|
|
4037
4051
|
})]
|
|
4038
4052
|
}, "approach-" + index))
|
|
4039
4053
|
})]
|
|
4040
4054
|
}), (audienceData == null ? void 0 : audienceData.error) && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
4041
|
-
className: _styles.default[
|
|
4055
|
+
className: _styles.default[_constants2.clsPrefix + "-error-container"],
|
|
4042
4056
|
children: audienceData == null ? void 0 : audienceData.error.map((error, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
|
|
4043
|
-
className: _styles.default[
|
|
4057
|
+
className: _styles.default[_constants2.clsPrefix + "-error-item"],
|
|
4044
4058
|
type: "flex",
|
|
4045
4059
|
align: "top",
|
|
4046
4060
|
justify: "start",
|
|
4047
4061
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4048
|
-
className: _styles.default[
|
|
4062
|
+
className: _styles.default[_constants2.clsPrefix + "-error-icon"],
|
|
4049
4063
|
type: 'error',
|
|
4050
4064
|
size: "s",
|
|
4051
4065
|
"data-testid": "cap-icon"
|
|
4052
4066
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4053
|
-
className: _styles.default[
|
|
4067
|
+
className: _styles.default[_constants2.clsPrefix + "-error-text"],
|
|
4054
4068
|
children: error
|
|
4055
4069
|
})]
|
|
4056
4070
|
}, "error-" + index))
|
|
4057
4071
|
}), (audienceData == null ? void 0 : audienceData.warning) && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
4058
4072
|
children: audienceData == null ? void 0 : audienceData.warning.map((warn, index) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
|
|
4059
|
-
className: _styles.default[
|
|
4073
|
+
className: _styles.default[_constants2.clsPrefix + "-warning-item"],
|
|
4060
4074
|
type: "flex",
|
|
4061
4075
|
align: "middle",
|
|
4062
4076
|
justify: "start",
|
|
4063
4077
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4064
|
-
className: _styles.default[
|
|
4078
|
+
className: _styles.default[_constants2.clsPrefix + "-warning-icon"],
|
|
4065
4079
|
type: 'alert-warning',
|
|
4066
4080
|
"data-testid": "cap-icon"
|
|
4067
4081
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4068
|
-
className: _styles.default[
|
|
4082
|
+
className: _styles.default[_constants2.clsPrefix + "-warning-text"],
|
|
4069
4083
|
children: warn
|
|
4070
4084
|
})]
|
|
4071
4085
|
}, "warning-" + index))
|
|
4072
4086
|
}), Boolean((audienceData == null ? void 0 : audienceData.response) && (audienceData == null || (_audienceData$status = audienceData.status) == null ? void 0 : _audienceData$status.code) == 200) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4073
|
-
className: _styles.default[
|
|
4087
|
+
className: _styles.default[_constants2.clsPrefix + "-filters-added-container"],
|
|
4074
4088
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4075
|
-
className: _styles.default[
|
|
4089
|
+
className: _styles.default[_constants2.clsPrefix + "-filters-added-content"],
|
|
4076
4090
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4077
4091
|
type: "check-filled",
|
|
4078
4092
|
size: "m",
|
|
4079
|
-
className: _styles.default[
|
|
4093
|
+
className: _styles.default[_constants2.clsPrefix + "-success-icon"]
|
|
4080
4094
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4081
|
-
className: _styles.default[
|
|
4095
|
+
className: _styles.default[_constants2.clsPrefix + "-filters-added-text"],
|
|
4082
4096
|
children: (_ref2 = audienceData != null && audienceData.partial_error ? textPartialFiltersAdded : textFiltersAdded) != null ? _ref2 : ''
|
|
4083
4097
|
})]
|
|
4084
4098
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4085
|
-
className: _styles.default[
|
|
4099
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-buttons"],
|
|
4086
4100
|
children: [feedbackState === 'like' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4087
4101
|
type: "filled-like",
|
|
4088
4102
|
size: "m",
|
|
4089
|
-
className: _styles.default[
|
|
4103
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-icon"] + " " + _styles.default[_constants2.clsPrefix + "-feedback-selected"] + " " + (feedbackSubmitted ? _styles.default[_constants2.clsPrefix + "-feedback-submitted"] : ''),
|
|
4090
4104
|
onClick: handleLikeClick
|
|
4091
4105
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4092
4106
|
type: "like",
|
|
4093
4107
|
size: "m",
|
|
4094
|
-
className: _styles.default[
|
|
4108
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-icon"] + " " + (feedbackSubmitted && feedbackState === 'dislike' ? _styles.default[_constants2.clsPrefix + "-feedback-disabled"] : ''),
|
|
4095
4109
|
onClick: handleLikeClick
|
|
4096
4110
|
}), feedbackState === 'dislike' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4097
4111
|
type: "filled-disLike",
|
|
4098
4112
|
size: "m",
|
|
4099
|
-
className: _styles.default[
|
|
4113
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-icon"] + " " + _styles.default[_constants2.clsPrefix + "-feedback-selected"] + " " + (feedbackSubmitted ? _styles.default[_constants2.clsPrefix + "-feedback-submitted"] : ''),
|
|
4100
4114
|
onClick: handleDislikeClick
|
|
4101
4115
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
4102
4116
|
type: "disLike",
|
|
4103
4117
|
size: "m",
|
|
4104
|
-
className: _styles.default[
|
|
4118
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-icon"] + " " + (feedbackSubmitted && feedbackState === 'like' ? _styles.default[_constants2.clsPrefix + "-feedback-disabled"] : ''),
|
|
4105
4119
|
onClick: handleDislikeClick
|
|
4106
4120
|
})]
|
|
4107
4121
|
})]
|
|
@@ -4113,10 +4127,10 @@ const AudienceFilterBot = _ref => {
|
|
|
4113
4127
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapModal.default, {
|
|
4114
4128
|
title: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4115
4129
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4116
|
-
className: _styles.default[
|
|
4130
|
+
className: _styles.default[_constants2.clsPrefix + "-modal-title"],
|
|
4117
4131
|
children: textFeedbackTitle
|
|
4118
4132
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
4119
|
-
className: _styles.default[
|
|
4133
|
+
className: _styles.default[_constants2.clsPrefix + "-modal-title-optional"],
|
|
4120
4134
|
children: textFeedbackOptional
|
|
4121
4135
|
})]
|
|
4122
4136
|
}),
|
|
@@ -4127,16 +4141,16 @@ const AudienceFilterBot = _ref => {
|
|
|
4127
4141
|
closeText: textFeedbackCancel,
|
|
4128
4142
|
styles: {
|
|
4129
4143
|
body: {
|
|
4130
|
-
height: '
|
|
4144
|
+
height: '13.4286rem'
|
|
4131
4145
|
},
|
|
4132
4146
|
mask: {
|
|
4133
|
-
backgroundColor:
|
|
4147
|
+
backgroundColor: _constants.CAP_ASK_AIRA_COLORS.MASK_BG
|
|
4134
4148
|
}
|
|
4135
4149
|
},
|
|
4136
4150
|
transitionName: "",
|
|
4137
4151
|
maskTransitionName: "",
|
|
4138
4152
|
footer: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4139
|
-
className: _styles.default[
|
|
4153
|
+
className: _styles.default[_constants2.clsPrefix + "-modal-footer"],
|
|
4140
4154
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapButton.default, {
|
|
4141
4155
|
onClick: handleModalOk,
|
|
4142
4156
|
type: "primary",
|
|
@@ -4144,33 +4158,31 @@ const AudienceFilterBot = _ref => {
|
|
|
4144
4158
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapButton.default, {
|
|
4145
4159
|
onClick: handleModalCancel,
|
|
4146
4160
|
type: "flat",
|
|
4147
|
-
className: _styles.default[
|
|
4161
|
+
className: _styles.default[_constants2.clsPrefix + "-modal-flat-button"],
|
|
4148
4162
|
children: textFeedbackCancel
|
|
4149
4163
|
})]
|
|
4150
4164
|
}),
|
|
4151
4165
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
4152
|
-
className: _styles.default[
|
|
4166
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-message"],
|
|
4153
4167
|
children: textFeedbackMessage
|
|
4154
4168
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4155
|
-
className: _styles.default[
|
|
4169
|
+
className: _styles.default[_constants2.clsPrefix + "-textarea-container"],
|
|
4156
4170
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("textarea", {
|
|
4157
|
-
className: _styles.default[
|
|
4171
|
+
className: _styles.default[_constants2.clsPrefix + "-feedback-textarea"],
|
|
4158
4172
|
rows: 4,
|
|
4159
4173
|
value: comment,
|
|
4160
4174
|
onChange: handleCommentChange,
|
|
4161
4175
|
placeholder: textFeedbackPlaceholder,
|
|
4162
4176
|
maxLength: 200
|
|
4163
4177
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
4164
|
-
className: _styles.default[
|
|
4178
|
+
className: _styles.default[_constants2.clsPrefix + "-character-count"],
|
|
4165
4179
|
children: [comment.length, "/200"]
|
|
4166
4180
|
})]
|
|
4167
4181
|
})]
|
|
4168
4182
|
})]
|
|
4169
4183
|
});
|
|
4170
4184
|
};
|
|
4171
|
-
var _default = exports["default"] = (0,
|
|
4172
|
-
key: 'CapAskAira.AudienceFilterBot'
|
|
4173
|
-
});
|
|
4185
|
+
var _default = exports["default"] = (0, _reactIntl.injectIntl)(AudienceFilterBot);
|
|
4174
4186
|
|
|
4175
4187
|
/***/ }),
|
|
4176
4188
|
|
|
@@ -4656,12 +4668,12 @@ exports.__esModule = true;
|
|
|
4656
4668
|
exports["default"] = exports.RuleSummarizationBot = void 0;
|
|
4657
4669
|
var _markdownToJsx = _interopRequireDefault(__webpack_require__(36841));
|
|
4658
4670
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
4671
|
+
var _reactIntl = __webpack_require__(46407);
|
|
4659
4672
|
var _reactRedux = __webpack_require__(31286);
|
|
4660
4673
|
var _redux = __webpack_require__(90916);
|
|
4661
4674
|
var _reselect = __webpack_require__(86751);
|
|
4662
4675
|
var _CapHeading = _interopRequireDefault(__webpack_require__(7319));
|
|
4663
4676
|
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
4664
|
-
var _LocaleHoc = _interopRequireDefault(__webpack_require__(39879));
|
|
4665
4677
|
var _AiraContainer = _interopRequireDefault(__webpack_require__(97060));
|
|
4666
4678
|
var _ErrorBar = _interopRequireDefault(__webpack_require__(83985));
|
|
4667
4679
|
var _Icons = __webpack_require__(91540);
|
|
@@ -4939,12 +4951,8 @@ function mapDispatchToProps(dispatch) {
|
|
|
4939
4951
|
}
|
|
4940
4952
|
const withConnect = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps);
|
|
4941
4953
|
|
|
4942
|
-
//
|
|
4943
|
-
|
|
4944
|
-
key: 'CapAskAira.RuleSummarizationBot'
|
|
4945
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4946
|
-
});
|
|
4947
|
-
var _default = exports["default"] = (0, _redux.compose)(withConnect)(LocalizedRuleSummarizationBot);
|
|
4954
|
+
// compose(connect)(injectIntl(...)) conflicts: connect infers actions return action objects, props type uses void; cast avoids complex generics
|
|
4955
|
+
var _default = exports["default"] = (0, _redux.compose)(withConnect)((0, _reactIntl.injectIntl)(RuleSummarizationBot));
|
|
4948
4956
|
|
|
4949
4957
|
/***/ }),
|
|
4950
4958
|
|
|
@@ -5426,6 +5434,7 @@ var _default = exports["default"] = SvgMemberCare;
|
|
|
5426
5434
|
exports.__esModule = true;
|
|
5427
5435
|
exports["default"] = void 0;
|
|
5428
5436
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
5437
|
+
var _reactIntl = __webpack_require__(46407);
|
|
5429
5438
|
var _uuid = __webpack_require__(79308);
|
|
5430
5439
|
var _cart = _interopRequireDefault(__webpack_require__(53425));
|
|
5431
5440
|
var _offer = _interopRequireDefault(__webpack_require__(63915));
|
|
@@ -5434,7 +5443,6 @@ var _CapHeading = _interopRequireDefault(__webpack_require__(7319));
|
|
|
5434
5443
|
var _CapImage = _interopRequireDefault(__webpack_require__(84446));
|
|
5435
5444
|
var _CapLabel = _interopRequireDefault(__webpack_require__(92675));
|
|
5436
5445
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
5437
|
-
var _LocaleHoc = _interopRequireDefault(__webpack_require__(39879));
|
|
5438
5446
|
var _constants = __webpack_require__(23944);
|
|
5439
5447
|
var _useWebsocket = _interopRequireDefault(__webpack_require__(69406));
|
|
5440
5448
|
var _rootStyles = _interopRequireDefault(__webpack_require__(43647));
|
|
@@ -5446,22 +5454,40 @@ exports.clsPrefix = _constants2.clsPrefix;
|
|
|
5446
5454
|
var _CopilotResponse = _interopRequireDefault(__webpack_require__(98418));
|
|
5447
5455
|
var _GeneratingResponse = _interopRequireDefault(__webpack_require__(24650));
|
|
5448
5456
|
var _IdentityIcon = _interopRequireDefault(__webpack_require__(14338));
|
|
5457
|
+
var _messages = _interopRequireDefault(__webpack_require__(65061));
|
|
5449
5458
|
var _styles = _interopRequireDefault(__webpack_require__(29225));
|
|
5450
5459
|
var _UserRequest = _interopRequireDefault(__webpack_require__(80551));
|
|
5451
5460
|
var _jsxRuntime = __webpack_require__(74848);
|
|
5452
|
-
const _excluded = ["iconPlacement", "textAiraTitle", "textAiraTooltip"],
|
|
5453
|
-
_excluded2 = ["request", "getAPICallObject", "textPromptHere", "textCreate", "textCancel", "textGeneratingResponse", "firstName", "lastName"];
|
|
5454
5461
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
5455
5462
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
5456
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5457
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
5458
5463
|
const ConfigurationBot = _ref => {
|
|
5459
5464
|
let {
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
+
iconPlacement,
|
|
5466
|
+
request,
|
|
5467
|
+
getAPICallObject,
|
|
5468
|
+
firstName,
|
|
5469
|
+
lastName,
|
|
5470
|
+
intl: {
|
|
5471
|
+
formatMessage
|
|
5472
|
+
}
|
|
5473
|
+
} = _ref;
|
|
5474
|
+
const textAiraTitle = formatMessage(_messages.default.textAiraTitle);
|
|
5475
|
+
const textAiraTooltip = formatMessage(_messages.default.textAiraTooltip);
|
|
5476
|
+
const textPromptHere = formatMessage(_messages.default.textPromptHere);
|
|
5477
|
+
const textCreate = formatMessage(_messages.default.textCreate);
|
|
5478
|
+
const textCancel = formatMessage(_messages.default.textCancel);
|
|
5479
|
+
const textGeneratingResponse = formatMessage(_messages.default.textGeneratingResponse);
|
|
5480
|
+
const textUser = formatMessage(_messages.default.textUser);
|
|
5481
|
+
const textPilot = formatMessage(_messages.default.textPilot);
|
|
5482
|
+
const textCouponTile = formatMessage(_messages.default.textCouponTile);
|
|
5483
|
+
const textCouponDescription = formatMessage(_messages.default.textCouponDescription);
|
|
5484
|
+
const textPromotionTitle = formatMessage(_messages.default.textPromotionTitle);
|
|
5485
|
+
const textPromotionDescription = formatMessage(_messages.default.textPromotionDescription);
|
|
5486
|
+
const textStreakTitle = formatMessage(_messages.default.textStreakTitle);
|
|
5487
|
+
const textStreakDescription = formatMessage(_messages.default.textStreakDescription);
|
|
5488
|
+
const textCouponPrompt = formatMessage(_messages.default.textCouponPrompt);
|
|
5489
|
+
const textPromotionPrompt = formatMessage(_messages.default.textPromotionPrompt);
|
|
5490
|
+
const textStreakPrompt = formatMessage(_messages.default.textStreakPrompt);
|
|
5465
5491
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
5466
5492
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AiraContainer.default, {
|
|
5467
5493
|
titlePadding: "0.5rem",
|
|
@@ -5476,7 +5502,27 @@ const ConfigurationBot = _ref => {
|
|
|
5476
5502
|
type: 'float-br',
|
|
5477
5503
|
padding: '0rem'
|
|
5478
5504
|
},
|
|
5479
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(PopupContent,
|
|
5505
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(PopupContent, {
|
|
5506
|
+
request: request,
|
|
5507
|
+
getAPICallObject: getAPICallObject,
|
|
5508
|
+
textPromptHere: textPromptHere,
|
|
5509
|
+
textCreate: textCreate,
|
|
5510
|
+
textCancel: textCancel,
|
|
5511
|
+
textGeneratingResponse: textGeneratingResponse,
|
|
5512
|
+
firstName: firstName,
|
|
5513
|
+
lastName: lastName,
|
|
5514
|
+
textUser: textUser,
|
|
5515
|
+
textPilot: textPilot,
|
|
5516
|
+
textCouponTile: textCouponTile,
|
|
5517
|
+
textCouponDescription: textCouponDescription,
|
|
5518
|
+
textPromotionTitle: textPromotionTitle,
|
|
5519
|
+
textPromotionDescription: textPromotionDescription,
|
|
5520
|
+
textStreakTitle: textStreakTitle,
|
|
5521
|
+
textStreakDescription: textStreakDescription,
|
|
5522
|
+
textCouponPrompt: textCouponPrompt,
|
|
5523
|
+
textPromotionPrompt: textPromotionPrompt,
|
|
5524
|
+
textStreakPrompt: textStreakPrompt
|
|
5525
|
+
})
|
|
5480
5526
|
})
|
|
5481
5527
|
});
|
|
5482
5528
|
};
|
|
@@ -5604,16 +5650,26 @@ const BootupPage = _ref2 => {
|
|
|
5604
5650
|
};
|
|
5605
5651
|
const PopupContent = _ref3 => {
|
|
5606
5652
|
let {
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5653
|
+
request,
|
|
5654
|
+
getAPICallObject,
|
|
5655
|
+
textPromptHere,
|
|
5656
|
+
textCreate,
|
|
5657
|
+
textCancel,
|
|
5658
|
+
textGeneratingResponse,
|
|
5659
|
+
firstName,
|
|
5660
|
+
lastName,
|
|
5661
|
+
textUser,
|
|
5662
|
+
textPilot,
|
|
5663
|
+
textCouponTile,
|
|
5664
|
+
textCouponDescription,
|
|
5665
|
+
textPromotionTitle,
|
|
5666
|
+
textPromotionDescription,
|
|
5667
|
+
textStreakTitle,
|
|
5668
|
+
textStreakDescription,
|
|
5669
|
+
textCouponPrompt,
|
|
5670
|
+
textPromotionPrompt,
|
|
5671
|
+
textStreakPrompt
|
|
5672
|
+
} = _ref3;
|
|
5617
5673
|
const [query, setQuery] = (0, _react.useState)('');
|
|
5618
5674
|
const [loading, setLoading] = (0, _react.useState)(false);
|
|
5619
5675
|
const [changes, setChanges] = (0, _react.useState)({});
|
|
@@ -5777,9 +5833,20 @@ const PopupContent = _ref3 => {
|
|
|
5777
5833
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
5778
5834
|
className: _styles.default[_constants2.clsPrefix + "-answer-container"] + " " + _rootStyles.default[_constants.rootClsPrefix + "-no-scrollbar"],
|
|
5779
5835
|
ref: scrollRef,
|
|
5780
|
-
children: [showBootupPage && /*#__PURE__*/(0, _jsxRuntime.jsx)(BootupPage,
|
|
5781
|
-
setQuery: setQuery
|
|
5782
|
-
|
|
5836
|
+
children: [showBootupPage && /*#__PURE__*/(0, _jsxRuntime.jsx)(BootupPage, {
|
|
5837
|
+
setQuery: setQuery,
|
|
5838
|
+
textUser: textUser,
|
|
5839
|
+
textPilot: textPilot,
|
|
5840
|
+
textCouponTile: textCouponTile,
|
|
5841
|
+
textCouponDescription: textCouponDescription,
|
|
5842
|
+
textPromotionTitle: textPromotionTitle,
|
|
5843
|
+
textPromotionDescription: textPromotionDescription,
|
|
5844
|
+
textStreakTitle: textStreakTitle,
|
|
5845
|
+
textStreakDescription: textStreakDescription,
|
|
5846
|
+
textCouponPrompt: textCouponPrompt,
|
|
5847
|
+
textPromotionPrompt: textPromotionPrompt,
|
|
5848
|
+
textStreakPrompt: textStreakPrompt
|
|
5849
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
|
|
5783
5850
|
className: _styles.default['copilot-body-container'],
|
|
5784
5851
|
children: renderChatMessages(chat, progressStatusData)
|
|
5785
5852
|
})]
|
|
@@ -5795,9 +5862,7 @@ const PopupContent = _ref3 => {
|
|
|
5795
5862
|
})]
|
|
5796
5863
|
});
|
|
5797
5864
|
};
|
|
5798
|
-
var _default = exports["default"] = (0,
|
|
5799
|
-
key: 'CapAskAira.ConfigurationBot'
|
|
5800
|
-
});
|
|
5865
|
+
var _default = exports["default"] = (0, _reactIntl.injectIntl)(ConfigurationBot);
|
|
5801
5866
|
|
|
5802
5867
|
/***/ }),
|
|
5803
5868
|
|
|
@@ -8254,7 +8319,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
|
8254
8319
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
8255
8320
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
8256
8321
|
// Module
|
|
8257
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-aira-audiencefilter-multiline-box-outer{background:linear-gradient(90deg, #
|
|
8322
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-aira-audiencefilter-multiline-box-outer{background:linear-gradient(90deg, #f5f5ff, #ebf6ff);padding:.5714rem 1.1429rem;width:74.143rem}.cap-aira-audiencefilter-multiline-box-outer.collapsed{height:2.8571rem}.cap-aira-audiencefilter-multiline-box-outer.expanded{height:auto}.cap-aira-audiencefilter-multiline-box-outer.analysis-height{height:max-content;min-height:6.0714rem;position:relative;overflow:visible}.cap-aira-audiencefilter-custom-title{font-weight:normal}.cap-aira-audiencefilter-info-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%}.cap-aira-audiencefilter-info-text{text-align:left;display:flex;align-items:center;font-family:"Roboto",sans-serif;font-weight:400;font-size:1rem;line-height:1.4286rem;letter-spacing:0}.cap-aira-audiencefilter-icon-margin{margin-right:.5714rem;width:1.1429rem;height:1.1429rem}.cap-aira-audiencefilter-icon-margin svg{width:1.1429rem;height:1.1429rem}.cap-aira-audiencefilter-ask-aira-wrapper{display:inline-flex;align-items:center;justify-content:flex-start;margin-left:.5rem;cursor:pointer;height:2rem;border-radius:.2857rem;padding:0;box-sizing:border-box;max-width:11.7143rem}.cap-aira-audiencefilter-ask-aira-wrapper:hover{background-color:#d4e1fc}.cap-aira-audiencefilter-ask-aira-link{font-family:"Roboto",sans-serif;font-weight:500;font-size:1rem;line-height:1.4286rem;letter-spacing:0;text-wrap:auto;word-break:break-word;overflow-wrap:break-word;background:linear-gradient(90deg, #6268ff, #3ba7ff);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0);display:inline-block;padding:.2857rem .5714rem;white-space:nowrap}.cap-aira-audiencefilter-ask-aira-link.query-display{margin-left:0;cursor:default;text-wrap:wrap;white-space:normal;word-break:break-word;overflow-wrap:break-word}.cap-aira-audiencefilter-ask-aira-link.normal-color{background:none;color:inherit;-webkit-background-clip:initial}.cap-aira-audiencefilter-query-label{font-family:"Roboto",sans-serif;font-weight:400;font-size:1rem;line-height:1.4286rem;letter-spacing:0}.cap-aira-audiencefilter-close-icon{cursor:pointer;align-self:flex-start}.cap-aira-audiencefilter-input-wrapper{display:flex;align-items:center;margin-top:0}.cap-aira-audiencefilter-hidden{display:none}.cap-aira-audiencefilter-error-container{text-align:left;padding:0;margin-top:0;width:100%}.cap-aira-audiencefilter-error-container .cap-aira-error-bar{justify-content:flex-start;margin:0;padding:0;text-align:left}.cap-aira-audiencefilter-error-container .cap-aira-error-bar span{padding-left:0;text-align:left}.cap-aira-audiencefilter-loading-text{font-family:"Roboto",sans-serif;font-weight:400;letter-spacing:0;font-size:.8571rem;line-height:1.1429rem;color:#091e42;display:block}.cap-aira-audiencefilter-header-container{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0 0 .5714rem 0}.cap-aira-audiencefilter-submitted-elements-container{display:flex;align-items:center;width:100%;justify-content:space-between;padding:0;border-radius:.2857rem;margin-bottom:0}.cap-aira-audiencefilter-submitted-left-section{display:flex;align-items:center;max-width:calc(100% - 1.7143rem);overflow:hidden}.cap-aira-audiencefilter-placeholder-container{display:flex;align-items:center;width:100%;justify-content:space-between}.cap-aira-audiencefilter-header-left-container{display:flex;align-items:center}.cap-aira-audiencefilter-header-icon{margin:0;width:1.1429rem;height:1.1429rem}.cap-aira-audiencefilter-header-icon svg{width:1.1429rem;height:1.1429rem}.cap-aira-audiencefilter-submitted-left-section .cap-aira-audiencefilter-header-icon{align-self:flex-start;margin-top:.5rem}.cap-aira-audiencefilter-header-label{margin:0 0 0 .5714rem;width:100%;display:block}.cap-aira-audiencefilter-close-button{margin:.4286rem 0 0 0;align-self:flex-start}.cap-aira-audiencefilter-divider{width:68rem;height:.0714rem;background-color:#dfe2e7;border:none;margin:0 !important;display:block}.cap-aira-audiencefilter-success-container{display:flex;justify-content:flex-end;width:100%;padding:0;margin:0}.cap-aira-audiencefilter-error-container,.cap-aira-audiencefilter-success-container{font-family:"Roboto",sans-serif;font-weight:400;font-size:1rem;line-height:1.4286rem;letter-spacing:0}.cap-aira-audiencefilter-edit-icon-container{display:inline-flex;margin-left:.2857rem;margin-top:-0.1429rem;vertical-align:middle;width:1.7143rem;height:1.7143rem;align-items:center;justify-content:center;border-radius:2.4286rem}.cap-aira-audiencefilter-edit-icon-container:hover{background-color:#ebecf0}.cap-aira-audiencefilter-edit-icon{width:1.1429rem;height:1.1429rem;cursor:pointer}.cap-aira-audiencefilter-loading-container{width:100%;padding:.7143rem 0;text-align:left}.cap-aira-audiencefilter-thought-process-heading{font-size:1rem;font-weight:bold;color:#091e42;margin:.5714rem 0 .1429rem 0;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cap-aira-audiencefilter-thought-process-text{cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-right:.2857rem}.cap-aira-audiencefilter-approach-item{margin-top:.2857rem;padding:0;color:#000;display:flex;align-items:flex-start}.cap-aira-audiencefilter-approach-content{display:none}.cap-aira-audiencefilter-approach-content-visible{display:block}.cap-aira-audiencefilter-bullet{display:inline-block;flex-shrink:0;width:.8571rem;margin:.1429rem 0 0 .5714rem;line-height:1.4286rem}.cap-aira-audiencefilter-approach-text{word-break:break-word;margin:.1429rem .1429rem;flex:1}.cap-aira-audiencefilter-approach-container{width:100%}.cap-aira-audiencefilter-error-item{margin:.5714rem 0 .2143rem .2143rem;padding:0;color:#ea213a;display:flex;align-items:flex-start;justify-content:flex-start;text-align:left;width:100%}.cap-aira-audiencefilter-error-icon{margin:.1429rem .5714rem 0 0;align-self:flex-start}.dAqpdr{font-size:1.3571rem !important}.cap-aira-audiencefilter-error-text{word-break:break-word;flex:1;white-space:pre-wrap;margin-left:.2857rem;padding-top:.0714rem;text-align:left}.cap-aira-audiencefilter-filters-added-container{width:100%;display:flex;margin:.5714rem 0 0 0;justify-content:space-between}.cap-aira-audiencefilter-filters-added-content{display:flex}.cap-aira-audiencefilter-filters-added-text{color:#091e42;padding:0 .5714rem;display:block;margin-top:.1429rem}.cap-aira-audiencefilter-full-width-row{width:100%}.cap-aira-audiencefilter-error-bar-no-padding{padding:0}.cap-aira-audiencefilter-chevron-icon{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.cap-aira-audiencefilter-feedback-buttons{display:flex;gap:.2857rem}.cap-aira-audiencefilter-feedback-icon{cursor:pointer;padding:.3571rem;border-radius:50%;transition:background-color .2s}.cap-aira-audiencefilter-feedback-icon:hover{background-color:rgba(0,0,0,.05)}.cap-aira-audiencefilter-feedback-textarea::placeholder{color:#b3bac5}.cap-aira-audiencefilter-feedback-disabled{opacity:.5;cursor:not-allowed}.cap-aira-audiencefilter-feedback-submitted{cursor:default}.cap-aira-audiencefilter-modal-footer{margin-left:.5714rem;display:flex;justify-content:flex-start}.cap-aira-audiencefilter-modal-flat-button{background-color:#ebecf0}.cap-aira-audiencefilter-modal-title{color:#091e42;font-weight:500}.cap-aira-audiencefilter-modal-title-optional{color:#5e6c84;margin-left:.2857rem}.cap-aira-audiencefilter-feedback-message{margin-bottom:1.1429rem;color:#091e42}.cap-aira-audiencefilter-textarea-container{position:relative;width:23.2857rem}.cap-aira-audiencefilter-character-count{position:absolute;bottom:.5714rem;right:.5714rem;font-size:.8571rem;color:#5e6c84;background-color:rgba(255,255,255,.8);padding:.1429rem .2857rem;border-radius:.1429rem}.cap-aira-audiencefilter-feedback-textarea{width:23.2857rem;height:8.5714rem;padding:.5714rem;border-radius:.2857rem;border:.0714rem solid #091e42;resize:none;padding-bottom:1.7143rem}.cap-aira-audiencefilter-warning-item{margin-top:.2857rem;padding:0;color:#f87d23;display:flex;align-items:flex-start}.cap-aira-audiencefilter-warning-icon{margin-right:.5714rem;align-self:flex-start}.cap-aira-audiencefilter-warning-text{word-break:break-word;flex:1}`, ""]);
|
|
8258
8323
|
// Exports
|
|
8259
8324
|
___CSS_LOADER_EXPORT___.locals = {
|
|
8260
8325
|
"cap-aira-audiencefilter-multiline-box-outer": `cap-aira-audiencefilter-multiline-box-outer`,
|
|
@@ -8754,7 +8819,7 @@ var _default = exports["default"] = SvgSync;
|
|
|
8754
8819
|
|
|
8755
8820
|
|
|
8756
8821
|
exports.__esModule = true;
|
|
8757
|
-
exports.rootClsPrefix = exports.WS_DOMAIN = exports.DOMAIN = exports.AIRA_REDUCER_DOMAIN = void 0;
|
|
8822
|
+
exports.rootClsPrefix = exports.WS_DOMAIN = exports.DOMAIN = exports.CAP_ASK_AIRA_COLORS = exports.AIRA_REDUCER_DOMAIN = void 0;
|
|
8758
8823
|
const DOMAIN = exports.DOMAIN = true ? '' :
|
|
8759
8824
|
// : 'https://crm-nightly-new.cc.capillarytech.com';
|
|
8760
8825
|
0;
|
|
@@ -8764,6 +8829,16 @@ const WS_DOMAIN = exports.WS_DOMAIN = true ? "wss://" + window.location.host :
|
|
|
8764
8829
|
const AIRA_REDUCER_DOMAIN = exports.AIRA_REDUCER_DOMAIN = 'ASK_AIRA';
|
|
8765
8830
|
const rootClsPrefix = exports.rootClsPrefix = 'cap-ask-aira';
|
|
8766
8831
|
|
|
8832
|
+
/** Shared color tokens for CapAskAira (align with components/styles/_variables.scss) */
|
|
8833
|
+
const CAP_ASK_AIRA_COLORS = exports.CAP_ASK_AIRA_COLORS = {
|
|
8834
|
+
SHADOW_GREY: '#aaaaaa',
|
|
8835
|
+
HIGHLIGHT_BG: '#eaf1ff',
|
|
8836
|
+
MASK_BG: 'rgba(244, 245, 247, 0.9)',
|
|
8837
|
+
TEXT_MUTED: '#808080',
|
|
8838
|
+
TEXT_SECONDARY: '#5e6c84',
|
|
8839
|
+
BORDER_EDIT: '0.1429rem solid #000000'
|
|
8840
|
+
};
|
|
8841
|
+
|
|
8767
8842
|
/***/ }),
|
|
8768
8843
|
|
|
8769
8844
|
/***/ 24081:
|
|
@@ -9253,6 +9328,22 @@ var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
|
9253
9328
|
aiRA: {
|
|
9254
9329
|
id: scope + ".aiRA",
|
|
9255
9330
|
defaultMessage: 'aiRA'
|
|
9331
|
+
},
|
|
9332
|
+
textBotPlaceholder: {
|
|
9333
|
+
id: scope + ".textBotPlaceholder",
|
|
9334
|
+
defaultMessage: 'Ask aiRA about anything on our CRM platform'
|
|
9335
|
+
},
|
|
9336
|
+
textChatBotLoader: {
|
|
9337
|
+
id: scope + ".textChatBotLoader",
|
|
9338
|
+
defaultMessage: 'Hang tight, analyzing your query...'
|
|
9339
|
+
},
|
|
9340
|
+
textChatBotDesc: {
|
|
9341
|
+
id: scope + ".textChatBotDesc",
|
|
9342
|
+
defaultMessage: 'Ask any doubts about our CRM platform and aiRA will do its best to find answers'
|
|
9343
|
+
},
|
|
9344
|
+
textChatBot: {
|
|
9345
|
+
id: scope + ".textChatBot",
|
|
9346
|
+
defaultMessage: 'Documentation Chat Bot'
|
|
9256
9347
|
}
|
|
9257
9348
|
});
|
|
9258
9349
|
|
|
@@ -9310,6 +9401,69 @@ var _default = exports["default"] = SvgAdd;
|
|
|
9310
9401
|
|
|
9311
9402
|
/***/ }),
|
|
9312
9403
|
|
|
9404
|
+
/***/ 26824:
|
|
9405
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
9406
|
+
|
|
9407
|
+
"use strict";
|
|
9408
|
+
|
|
9409
|
+
|
|
9410
|
+
exports.__esModule = true;
|
|
9411
|
+
exports.scope = exports["default"] = void 0;
|
|
9412
|
+
var _reactIntl = __webpack_require__(46407);
|
|
9413
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapAskAira.CapAiMediaGeneration';
|
|
9414
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
9415
|
+
textImageBotPlaceholder: {
|
|
9416
|
+
id: scope + ".textImageBotPlaceholder",
|
|
9417
|
+
defaultMessage: 'Ask aiRA to generate an image'
|
|
9418
|
+
},
|
|
9419
|
+
textChatBotLoader: {
|
|
9420
|
+
id: scope + ".textChatBotLoader",
|
|
9421
|
+
defaultMessage: 'Hang tight, analyzing your query...'
|
|
9422
|
+
},
|
|
9423
|
+
textImageBotDesc: {
|
|
9424
|
+
id: scope + ".textImageBotDesc",
|
|
9425
|
+
defaultMessage: 'Enter a prompt that describes your image.'
|
|
9426
|
+
},
|
|
9427
|
+
textImageBot: {
|
|
9428
|
+
id: scope + ".textImageBot",
|
|
9429
|
+
defaultMessage: 'aiRA Media Generator'
|
|
9430
|
+
},
|
|
9431
|
+
textImageFooter: {
|
|
9432
|
+
id: scope + ".textImageFooter",
|
|
9433
|
+
defaultMessage: 'Dragging and dropping generated images is only supported in the basic email builder.'
|
|
9434
|
+
},
|
|
9435
|
+
textTipsGenerate: {
|
|
9436
|
+
id: scope + ".textTipsGenerate",
|
|
9437
|
+
defaultMessage: 'Tips to generate better images:'
|
|
9438
|
+
},
|
|
9439
|
+
textCopy: {
|
|
9440
|
+
id: scope + ".textCopy",
|
|
9441
|
+
defaultMessage: 'Copy image'
|
|
9442
|
+
},
|
|
9443
|
+
textCopied: {
|
|
9444
|
+
id: scope + ".textCopied",
|
|
9445
|
+
defaultMessage: 'Copied'
|
|
9446
|
+
},
|
|
9447
|
+
textDownload: {
|
|
9448
|
+
id: scope + ".textDownload",
|
|
9449
|
+
defaultMessage: 'Download'
|
|
9450
|
+
},
|
|
9451
|
+
textImageDownload: {
|
|
9452
|
+
id: scope + ".textImageDownload",
|
|
9453
|
+
defaultMessage: 'Image downloaded successfully!'
|
|
9454
|
+
},
|
|
9455
|
+
textComingSoon: {
|
|
9456
|
+
id: scope + ".textComingSoon",
|
|
9457
|
+
defaultMessage: 'Coming soon'
|
|
9458
|
+
},
|
|
9459
|
+
textGenerateMore: {
|
|
9460
|
+
id: scope + ".textGenerateMore",
|
|
9461
|
+
defaultMessage: 'Generate more'
|
|
9462
|
+
}
|
|
9463
|
+
});
|
|
9464
|
+
|
|
9465
|
+
/***/ }),
|
|
9466
|
+
|
|
9313
9467
|
/***/ 26992:
|
|
9314
9468
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
9315
9469
|
|
|
@@ -13802,6 +13956,7 @@ var _classnames = _interopRequireDefault(__webpack_require__(46942));
|
|
|
13802
13956
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
13803
13957
|
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
13804
13958
|
var _CapInput = _interopRequireDefault(__webpack_require__(15773));
|
|
13959
|
+
var _constants = __webpack_require__(23944);
|
|
13805
13960
|
var _jsxRuntime = __webpack_require__(74848);
|
|
13806
13961
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13807
13962
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -13846,7 +14001,7 @@ const MetaBlock = _ref => {
|
|
|
13846
14001
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
13847
14002
|
style: {
|
|
13848
14003
|
fontSize: '0.9rem',
|
|
13849
|
-
color:
|
|
14004
|
+
color: _constants.CAP_ASK_AIRA_COLORS.TEXT_SECONDARY
|
|
13850
14005
|
},
|
|
13851
14006
|
children: hint
|
|
13852
14007
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
@@ -14134,53 +14289,6 @@ var _default = exports["default"] = SvgThreeStarDark;
|
|
|
14134
14289
|
|
|
14135
14290
|
/***/ }),
|
|
14136
14291
|
|
|
14137
|
-
/***/ 39879:
|
|
14138
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14139
|
-
|
|
14140
|
-
"use strict";
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
exports.__esModule = true;
|
|
14144
|
-
exports["default"] = void 0;
|
|
14145
|
-
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
14146
|
-
var _reactIntl = __webpack_require__(46407);
|
|
14147
|
-
var _en = _interopRequireDefault(__webpack_require__(49540));
|
|
14148
|
-
var _jsxRuntime = __webpack_require__(74848);
|
|
14149
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14150
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14151
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
14152
|
-
const prefix = "app.commonUtils.capUiLibrary";
|
|
14153
|
-
const LocaleHoc = (WrapperComponent, customProps) => {
|
|
14154
|
-
const Wrapper = props => {
|
|
14155
|
-
const componentName = customProps.key;
|
|
14156
|
-
const translatedDefaults = _en.default[componentName];
|
|
14157
|
-
const {
|
|
14158
|
-
intl
|
|
14159
|
-
} = props;
|
|
14160
|
-
const translatedProps = (0, _react.useMemo)(() => {
|
|
14161
|
-
if (!translatedDefaults) return {};
|
|
14162
|
-
return Object.keys(translatedDefaults).reduce((acc, key) => {
|
|
14163
|
-
const id = prefix + "." + componentName + "." + key;
|
|
14164
|
-
const defaultMessage = translatedDefaults[key];
|
|
14165
|
-
try {
|
|
14166
|
-
acc[key] = intl.formatMessage({
|
|
14167
|
-
id,
|
|
14168
|
-
defaultMessage
|
|
14169
|
-
});
|
|
14170
|
-
} catch (_err) {
|
|
14171
|
-
acc[key] = defaultMessage;
|
|
14172
|
-
}
|
|
14173
|
-
return acc;
|
|
14174
|
-
}, {});
|
|
14175
|
-
}, [translatedDefaults, intl, prefix, componentName]);
|
|
14176
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(WrapperComponent, _extends({}, translatedProps, props));
|
|
14177
|
-
};
|
|
14178
|
-
return (0, _reactIntl.injectIntl)(Wrapper);
|
|
14179
|
-
};
|
|
14180
|
-
var _default = exports["default"] = LocaleHoc;
|
|
14181
|
-
|
|
14182
|
-
/***/ }),
|
|
14183
|
-
|
|
14184
14292
|
/***/ 39958:
|
|
14185
14293
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14186
14294
|
|
|
@@ -14705,6 +14813,93 @@ var _default = exports["default"] = SvgTiktok;
|
|
|
14705
14813
|
|
|
14706
14814
|
/***/ }),
|
|
14707
14815
|
|
|
14816
|
+
/***/ 42639:
|
|
14817
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14818
|
+
|
|
14819
|
+
"use strict";
|
|
14820
|
+
|
|
14821
|
+
|
|
14822
|
+
exports.__esModule = true;
|
|
14823
|
+
exports.scope = exports["default"] = void 0;
|
|
14824
|
+
var _reactIntl = __webpack_require__(46407);
|
|
14825
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapAskAira.AudienceFilterBot';
|
|
14826
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
14827
|
+
textAiraTitle: {
|
|
14828
|
+
id: scope + ".textAiraTitle",
|
|
14829
|
+
defaultMessage: 'aiRA'
|
|
14830
|
+
},
|
|
14831
|
+
textNeedHelp: {
|
|
14832
|
+
id: scope + ".textNeedHelp",
|
|
14833
|
+
defaultMessage: 'Need help choosing the right filters?'
|
|
14834
|
+
},
|
|
14835
|
+
textAskAiraLink: {
|
|
14836
|
+
id: scope + ".textAskAiraLink",
|
|
14837
|
+
defaultMessage: 'Ask aiRA to apply filters'
|
|
14838
|
+
},
|
|
14839
|
+
textDescribeAudience: {
|
|
14840
|
+
id: scope + ".textDescribeAudience",
|
|
14841
|
+
defaultMessage: 'Describe your audience'
|
|
14842
|
+
},
|
|
14843
|
+
textPlaceholder: {
|
|
14844
|
+
id: scope + ".textPlaceholder",
|
|
14845
|
+
defaultMessage: 'e.g.: Filter customers who have made a purchase in the last 7 days'
|
|
14846
|
+
},
|
|
14847
|
+
textError: {
|
|
14848
|
+
id: scope + ".textError",
|
|
14849
|
+
defaultMessage: 'Something went wrong, please try again'
|
|
14850
|
+
},
|
|
14851
|
+
textThoughtProcess: {
|
|
14852
|
+
id: scope + ".textThoughtProcess",
|
|
14853
|
+
defaultMessage: 'Thought Process'
|
|
14854
|
+
},
|
|
14855
|
+
textFiltersAdded: {
|
|
14856
|
+
id: scope + ".textFiltersAdded",
|
|
14857
|
+
defaultMessage: 'Filters added below'
|
|
14858
|
+
},
|
|
14859
|
+
textAnalyzing: {
|
|
14860
|
+
id: scope + ".textAnalyzing",
|
|
14861
|
+
defaultMessage: 'Analyzing your query...'
|
|
14862
|
+
},
|
|
14863
|
+
textPartialFiltersAdded: {
|
|
14864
|
+
id: scope + ".textPartialFiltersAdded",
|
|
14865
|
+
defaultMessage: 'Rest of the filters added below'
|
|
14866
|
+
},
|
|
14867
|
+
textFeedbackTitle: {
|
|
14868
|
+
id: scope + ".textFeedbackTitle",
|
|
14869
|
+
defaultMessage: 'Give feedback'
|
|
14870
|
+
},
|
|
14871
|
+
textFeedbackOptional: {
|
|
14872
|
+
id: scope + ".textFeedbackOptional",
|
|
14873
|
+
defaultMessage: '(Optional)'
|
|
14874
|
+
},
|
|
14875
|
+
textFeedbackMessage: {
|
|
14876
|
+
id: scope + ".textFeedbackMessage",
|
|
14877
|
+
defaultMessage: 'Let us know what was wrong with the results'
|
|
14878
|
+
},
|
|
14879
|
+
textFeedbackPlaceholder: {
|
|
14880
|
+
id: scope + ".textFeedbackPlaceholder",
|
|
14881
|
+
defaultMessage: 'Share your feedback'
|
|
14882
|
+
},
|
|
14883
|
+
textFeedbackSubmit: {
|
|
14884
|
+
id: scope + ".textFeedbackSubmit",
|
|
14885
|
+
defaultMessage: 'Submit'
|
|
14886
|
+
},
|
|
14887
|
+
textFeedbackCancel: {
|
|
14888
|
+
id: scope + ".textFeedbackCancel",
|
|
14889
|
+
defaultMessage: 'Cancel'
|
|
14890
|
+
},
|
|
14891
|
+
textThankYouFeedback: {
|
|
14892
|
+
id: scope + ".textThankYouFeedback",
|
|
14893
|
+
defaultMessage: 'Thank you for your feedback!'
|
|
14894
|
+
},
|
|
14895
|
+
textThankYouDetailedFeedback: {
|
|
14896
|
+
id: scope + ".textThankYouDetailedFeedback",
|
|
14897
|
+
defaultMessage: 'Thank you for your detailed feedback!'
|
|
14898
|
+
}
|
|
14899
|
+
});
|
|
14900
|
+
|
|
14901
|
+
/***/ }),
|
|
14902
|
+
|
|
14708
14903
|
/***/ 42687:
|
|
14709
14904
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14710
14905
|
|
|
@@ -14839,7 +15034,6 @@ const Notification = _ref => {
|
|
|
14839
15034
|
className
|
|
14840
15035
|
} = _ref,
|
|
14841
15036
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
14842
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14843
15037
|
const NotificationComponent = _CapNotification.default;
|
|
14844
15038
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(NotificationComponent, _extends({
|
|
14845
15039
|
className: _rootStyles.default[_constants.rootClsPrefix + "-notification"] + " " + (className || '')
|
|
@@ -15087,6 +15281,7 @@ var _default = exports["default"] = SvgTestCheck;
|
|
|
15087
15281
|
exports.__esModule = true;
|
|
15088
15282
|
exports["default"] = exports.CapAiMediaGeneration = void 0;
|
|
15089
15283
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
15284
|
+
var _reactIntl = __webpack_require__(46407);
|
|
15090
15285
|
var _reactRedux = __webpack_require__(31286);
|
|
15091
15286
|
var _redux = __webpack_require__(90916);
|
|
15092
15287
|
var _reselect = __webpack_require__(86751);
|
|
@@ -15095,7 +15290,6 @@ var _CapHeading = _interopRequireDefault(__webpack_require__(7319));
|
|
|
15095
15290
|
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
15096
15291
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
15097
15292
|
var _CapSpin = _interopRequireDefault(__webpack_require__(56543));
|
|
15098
|
-
var _LocaleHoc = _interopRequireDefault(__webpack_require__(39879));
|
|
15099
15293
|
var _constants = __webpack_require__(23944);
|
|
15100
15294
|
var _rootStyles = _interopRequireDefault(__webpack_require__(43647));
|
|
15101
15295
|
var _AiraContainer = _interopRequireDefault(__webpack_require__(97060));
|
|
@@ -15106,6 +15300,7 @@ var _Tooltip = __webpack_require__(51007);
|
|
|
15106
15300
|
var action = _interopRequireWildcard(__webpack_require__(2641));
|
|
15107
15301
|
var _api = __webpack_require__(60258);
|
|
15108
15302
|
var _constants2 = __webpack_require__(48791);
|
|
15303
|
+
var _messages = _interopRequireDefault(__webpack_require__(26824));
|
|
15109
15304
|
var _selectors = __webpack_require__(44768);
|
|
15110
15305
|
var _styles = _interopRequireDefault(__webpack_require__(88780));
|
|
15111
15306
|
var _jsxRuntime = __webpack_require__(74848);
|
|
@@ -15113,23 +15308,26 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
15113
15308
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15114
15309
|
const CapAiMediaGeneration = _ref => {
|
|
15115
15310
|
let {
|
|
15116
|
-
textImageBot,
|
|
15117
|
-
textImageBotDesc,
|
|
15118
|
-
textImageBotPlaceholder,
|
|
15119
|
-
textImageFooter,
|
|
15120
|
-
textTipsGenerate,
|
|
15121
|
-
textCopy,
|
|
15122
|
-
textCopied,
|
|
15123
|
-
textDownload,
|
|
15124
|
-
textComingSoon,
|
|
15125
|
-
textGenerateMore,
|
|
15126
|
-
textImageDownload,
|
|
15127
15311
|
request,
|
|
15128
15312
|
getAPICallObject,
|
|
15129
15313
|
imageDetails,
|
|
15130
15314
|
actions,
|
|
15131
|
-
iconPlacement
|
|
15315
|
+
iconPlacement,
|
|
15316
|
+
intl: {
|
|
15317
|
+
formatMessage
|
|
15318
|
+
}
|
|
15132
15319
|
} = _ref;
|
|
15320
|
+
const textImageBot = formatMessage(_messages.default.textImageBot);
|
|
15321
|
+
const textImageBotDesc = formatMessage(_messages.default.textImageBotDesc);
|
|
15322
|
+
const textImageBotPlaceholder = formatMessage(_messages.default.textImageBotPlaceholder);
|
|
15323
|
+
const textImageFooter = formatMessage(_messages.default.textImageFooter);
|
|
15324
|
+
const textTipsGenerate = formatMessage(_messages.default.textTipsGenerate);
|
|
15325
|
+
const textCopy = formatMessage(_messages.default.textCopy);
|
|
15326
|
+
const textCopied = formatMessage(_messages.default.textCopied);
|
|
15327
|
+
const textDownload = formatMessage(_messages.default.textDownload);
|
|
15328
|
+
const textComingSoon = formatMessage(_messages.default.textComingSoon);
|
|
15329
|
+
const textGenerateMore = formatMessage(_messages.default.textGenerateMore);
|
|
15330
|
+
const textImageDownload = formatMessage(_messages.default.textImageDownload);
|
|
15133
15331
|
const [query, setQuery] = (0, _react.useState)('');
|
|
15134
15332
|
const [loading, setLoading] = (0, _react.useState)(false);
|
|
15135
15333
|
const [currentTab, setCurrentTab] = (0, _react.useState)(0);
|
|
@@ -15147,7 +15345,7 @@ const CapAiMediaGeneration = _ref => {
|
|
|
15147
15345
|
setLoading(false);
|
|
15148
15346
|
setShowImageBox(true);
|
|
15149
15347
|
_Notification.NotificationMethods.success({
|
|
15150
|
-
message: textImageDownload
|
|
15348
|
+
message: textImageDownload
|
|
15151
15349
|
});
|
|
15152
15350
|
}
|
|
15153
15351
|
}, [imageDetails]);
|
|
@@ -15179,11 +15377,11 @@ const CapAiMediaGeneration = _ref => {
|
|
|
15179
15377
|
titlePadding: "0.95rem",
|
|
15180
15378
|
popupWidth: "32rem",
|
|
15181
15379
|
Icon: _Icons.AiraChatBot,
|
|
15182
|
-
iconSize: "
|
|
15380
|
+
iconSize: "4.2857rem",
|
|
15183
15381
|
iconProps: {
|
|
15184
15382
|
svgProps: {
|
|
15185
15383
|
style: {
|
|
15186
|
-
padding: '
|
|
15384
|
+
padding: '1.1607rem'
|
|
15187
15385
|
}
|
|
15188
15386
|
}
|
|
15189
15387
|
},
|
|
@@ -15282,10 +15480,6 @@ const CapAiMediaGeneration = _ref => {
|
|
|
15282
15480
|
}, i)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
|
|
15283
15481
|
className: _styles.default[_constants2.clsPrefix + "-generate-more"] + " " + (loading ? _styles.default[_constants2.clsPrefix + "-loading"] : ''),
|
|
15284
15482
|
onClick: () => !loading && onSubmitHandler(true),
|
|
15285
|
-
style: {
|
|
15286
|
-
opacity: loading ? 0.5 : 1,
|
|
15287
|
-
pointerEvents: loading ? 'none' : 'auto'
|
|
15288
|
-
},
|
|
15289
15483
|
"data-testid": "generate-more",
|
|
15290
15484
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
15291
15485
|
size: "s",
|
|
@@ -15380,7 +15574,7 @@ const ImageContainer = _ref2 => {
|
|
|
15380
15574
|
type: "check-filled",
|
|
15381
15575
|
size: "s",
|
|
15382
15576
|
style: {
|
|
15383
|
-
marginRight: '
|
|
15577
|
+
marginRight: '0.2857rem'
|
|
15384
15578
|
},
|
|
15385
15579
|
"data-testid": "copied"
|
|
15386
15580
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
@@ -15427,9 +15621,7 @@ function mapDispatchToProps(dispatch) {
|
|
|
15427
15621
|
};
|
|
15428
15622
|
}
|
|
15429
15623
|
const withConnect = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps);
|
|
15430
|
-
var _default = exports["default"] = (0, _redux.compose)(withConnect)((0,
|
|
15431
|
-
key: 'CapAskAira.CapAiMediaGeneration'
|
|
15432
|
-
}));
|
|
15624
|
+
var _default = exports["default"] = (0, _redux.compose)(withConnect)((0, _reactIntl.injectIntl)(CapAiMediaGeneration));
|
|
15433
15625
|
|
|
15434
15626
|
/***/ }),
|
|
15435
15627
|
|
|
@@ -15704,6 +15896,8 @@ exports.watchUpdateLikeResult = watchUpdateLikeResult;
|
|
|
15704
15896
|
var _effects = __webpack_require__(20510);
|
|
15705
15897
|
var types = _interopRequireWildcard(__webpack_require__(75858));
|
|
15706
15898
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
15899
|
+
/** Worker type for takeLatest to satisfy overload (pattern, worker) */
|
|
15900
|
+
|
|
15707
15901
|
function getRule(_ref) {
|
|
15708
15902
|
let {
|
|
15709
15903
|
getRuleApi,
|
|
@@ -15773,15 +15967,12 @@ function updateDislikeResult(_ref3) {
|
|
|
15773
15967
|
}();
|
|
15774
15968
|
}
|
|
15775
15969
|
function* watchGetRule() {
|
|
15776
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15777
15970
|
yield (0, _effects.takeLatest)(types.GET_RULE_REQUEST, getRule);
|
|
15778
15971
|
}
|
|
15779
15972
|
function* watchUpdateLikeResult() {
|
|
15780
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15781
15973
|
yield (0, _effects.takeLatest)(types.UPDATE_LIKE_ANSWER_REQUEST, updateLikeResult);
|
|
15782
15974
|
}
|
|
15783
15975
|
function* watchUpdateDislikeResult() {
|
|
15784
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15785
15976
|
yield (0, _effects.takeLatest)(types.UPDATE_DISLIKE_ANSWER_REQUEST, updateDislikeResult);
|
|
15786
15977
|
}
|
|
15787
15978
|
var _default = exports["default"] = [watchGetRule, watchUpdateLikeResult, watchUpdateDislikeResult];
|
|
@@ -16582,13 +16773,13 @@ exports.__esModule = true;
|
|
|
16582
16773
|
exports["default"] = void 0;
|
|
16583
16774
|
var _markdownToJsx = _interopRequireDefault(__webpack_require__(36841));
|
|
16584
16775
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
16776
|
+
var _reactIntl = __webpack_require__(46407);
|
|
16585
16777
|
var _reactRedux = __webpack_require__(31286);
|
|
16586
16778
|
var _redux = __webpack_require__(90916);
|
|
16587
16779
|
var _reselect = __webpack_require__(86751);
|
|
16588
16780
|
var _CapHeading = _interopRequireDefault(__webpack_require__(7319));
|
|
16589
16781
|
var _CapIcon = _interopRequireDefault(__webpack_require__(65124));
|
|
16590
16782
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
16591
|
-
var _LocaleHoc = _interopRequireDefault(__webpack_require__(39879));
|
|
16592
16783
|
var _constants = __webpack_require__(23944);
|
|
16593
16784
|
var _useWebsocket = _interopRequireDefault(__webpack_require__(69406));
|
|
16594
16785
|
var _rootStyles = _interopRequireDefault(__webpack_require__(43647));
|
|
@@ -16607,10 +16798,6 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
16607
16798
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16608
16799
|
const DocumentationChatBot = _ref => {
|
|
16609
16800
|
let {
|
|
16610
|
-
textBotPlaceholder,
|
|
16611
|
-
textChatBotLoader,
|
|
16612
|
-
textChatBotDesc,
|
|
16613
|
-
textChatBot,
|
|
16614
16801
|
actions,
|
|
16615
16802
|
getAPICallObject,
|
|
16616
16803
|
request,
|
|
@@ -16619,6 +16806,10 @@ const DocumentationChatBot = _ref => {
|
|
|
16619
16806
|
formatMessage
|
|
16620
16807
|
}
|
|
16621
16808
|
} = _ref;
|
|
16809
|
+
const textBotPlaceholder = formatMessage(_messages.default.textBotPlaceholder);
|
|
16810
|
+
const textChatBotLoader = formatMessage(_messages.default.textChatBotLoader);
|
|
16811
|
+
const textChatBotDesc = formatMessage(_messages.default.textChatBotDesc);
|
|
16812
|
+
const textChatBot = formatMessage(_messages.default.textChatBot);
|
|
16622
16813
|
const [query, setQuery] = (0, _react.useState)('');
|
|
16623
16814
|
const [loading, setLoading] = (0, _react.useState)(false);
|
|
16624
16815
|
const [answerChunks, setAnswerChunks] = (0, _react.useState)([]);
|
|
@@ -16758,11 +16949,11 @@ const DocumentationChatBot = _ref => {
|
|
|
16758
16949
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_AiraContainer.default, {
|
|
16759
16950
|
titlePadding: "0.95rem",
|
|
16760
16951
|
popupWidth: "32rem",
|
|
16761
|
-
iconSize: "
|
|
16952
|
+
iconSize: "3.4286rem",
|
|
16762
16953
|
iconProps: {
|
|
16763
16954
|
svgProps: {
|
|
16764
16955
|
style: {
|
|
16765
|
-
padding: '
|
|
16956
|
+
padding: '0.9286rem'
|
|
16766
16957
|
}
|
|
16767
16958
|
}
|
|
16768
16959
|
},
|
|
@@ -16832,388 +17023,7 @@ function mapDispatchToProps(dispatch) {
|
|
|
16832
17023
|
};
|
|
16833
17024
|
}
|
|
16834
17025
|
const withConnect = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps);
|
|
16835
|
-
|
|
16836
|
-
// LocaleHoc + connect/compose produce a component type that's hard to express; cast avoids complex generics
|
|
16837
|
-
const LocalizedDocumentationChatBot = (0, _LocaleHoc.default)(DocumentationChatBot, {
|
|
16838
|
-
key: 'CapAskAira.DocumentationChatBot'
|
|
16839
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16840
|
-
});
|
|
16841
|
-
var _default = exports["default"] = (0, _redux.compose)(withConnect)(LocalizedDocumentationChatBot);
|
|
16842
|
-
|
|
16843
|
-
/***/ }),
|
|
16844
|
-
|
|
16845
|
-
/***/ 49540:
|
|
16846
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
16847
|
-
|
|
16848
|
-
"use strict";
|
|
16849
|
-
|
|
16850
|
-
|
|
16851
|
-
exports.__esModule = true;
|
|
16852
|
-
exports["default"] = void 0;
|
|
16853
|
-
var _default = exports["default"] = {
|
|
16854
|
-
CapMultiSelect: {
|
|
16855
|
-
noResultsFoundText: 'No results found',
|
|
16856
|
-
selectText: 'Select',
|
|
16857
|
-
closeText: 'Close',
|
|
16858
|
-
searchPlaceholder: 'Search',
|
|
16859
|
-
selectedText: 'selected',
|
|
16860
|
-
selectAllText: 'Select all',
|
|
16861
|
-
selectAllSearchResultsText: 'Select all searched results',
|
|
16862
|
-
moreText: 'more'
|
|
16863
|
-
},
|
|
16864
|
-
CapModal: {
|
|
16865
|
-
okText: 'Yes',
|
|
16866
|
-
closeText: 'No'
|
|
16867
|
-
},
|
|
16868
|
-
CapMultiSelectWithTree: {
|
|
16869
|
-
noResultsFoundText: 'No results found',
|
|
16870
|
-
selectText: 'Select',
|
|
16871
|
-
closeText: 'Close',
|
|
16872
|
-
searchPlaceholder: 'Search',
|
|
16873
|
-
selectedText: 'selected',
|
|
16874
|
-
selectAllText: 'Select all',
|
|
16875
|
-
selectAllSearchResultsText: 'Select all searched results',
|
|
16876
|
-
moreText: 'more',
|
|
16877
|
-
storeUploadsText: 'Store IDs are uploaded already'
|
|
16878
|
-
},
|
|
16879
|
-
CapCustomSelect: {
|
|
16880
|
-
searchPlaceholder: 'Search',
|
|
16881
|
-
selectPlaceholder: 'Select Option'
|
|
16882
|
-
},
|
|
16883
|
-
CapMultiSelectDatePicker: {
|
|
16884
|
-
lastDayText: 'Last day of month'
|
|
16885
|
-
},
|
|
16886
|
-
CapTable: {
|
|
16887
|
-
loadMoreData: 'Loading more data...'
|
|
16888
|
-
},
|
|
16889
|
-
CapIllustration: {
|
|
16890
|
-
accessForbiddenMsg: 'Action cannot be performed due to insufficient permission'
|
|
16891
|
-
},
|
|
16892
|
-
CapNavigation: {
|
|
16893
|
-
businessProcesses: 'Workbench',
|
|
16894
|
-
wecrm: 'Wecrm',
|
|
16895
|
-
loyaltyProgram: 'Loyalty+',
|
|
16896
|
-
storePerformance: 'Store Performance',
|
|
16897
|
-
memberCare: 'Member Care',
|
|
16898
|
-
storeCare: 'Store Care',
|
|
16899
|
-
insights: 'Insights+',
|
|
16900
|
-
connectPlus: 'Connect+',
|
|
16901
|
-
settingsLabel: 'Settings',
|
|
16902
|
-
campaign: 'Engage+',
|
|
16903
|
-
selectOrganization: 'Select Organization',
|
|
16904
|
-
organization: 'Organization',
|
|
16905
|
-
noResultText: 'No results found',
|
|
16906
|
-
selectProduct: 'Select Product'
|
|
16907
|
-
},
|
|
16908
|
-
InfoNote: {
|
|
16909
|
-
noteText: 'Note'
|
|
16910
|
-
},
|
|
16911
|
-
SomethingWentWrong: {
|
|
16912
|
-
title: 'Sorry, something went wrong.',
|
|
16913
|
-
description: 'Please try again. If this issue occurs again, please reach out to Capillary support team.',
|
|
16914
|
-
reloadText: 'Try refreshing again'
|
|
16915
|
-
},
|
|
16916
|
-
CapBlock: {
|
|
16917
|
-
deleteBlockMsg: 'Delete',
|
|
16918
|
-
expandBlockMsg: 'Expand',
|
|
16919
|
-
collapseBlockMsg: 'Collapse'
|
|
16920
|
-
},
|
|
16921
|
-
CapMultiplePath: {
|
|
16922
|
-
notUniqueMsg: 'Not Unique',
|
|
16923
|
-
deleteConfirmationTitleMsg: 'Confirm delete path',
|
|
16924
|
-
deleteConfirmationTextMsg: 'Are you sure you wish to delete path',
|
|
16925
|
-
deleteConfirmationWarningMsg: 'This action cannot be undone.',
|
|
16926
|
-
deleteButtonTextMsg: 'Yes, Delete',
|
|
16927
|
-
yesMsg: 'Yes',
|
|
16928
|
-
noMsg: 'No',
|
|
16929
|
-
pathMsg: 'Path',
|
|
16930
|
-
addPathMessage: 'Add Path'
|
|
16931
|
-
},
|
|
16932
|
-
CapCondition: {
|
|
16933
|
-
includeMsg: 'include',
|
|
16934
|
-
excludeMsg: 'exclude',
|
|
16935
|
-
equalMsg: 'equal to',
|
|
16936
|
-
greaterThanMsg: 'greater than',
|
|
16937
|
-
lessThanMsg: 'less than',
|
|
16938
|
-
greaterThanOrEqualMsg: 'greater than or equal to',
|
|
16939
|
-
lessThanorEqualMsg: 'less than or equal',
|
|
16940
|
-
inRangeMsg: 'in range',
|
|
16941
|
-
notEqualMsg: 'not equal to',
|
|
16942
|
-
whoseMsg: 'Whose',
|
|
16943
|
-
isMsg: 'is',
|
|
16944
|
-
andMsg: 'and',
|
|
16945
|
-
ANDMsg: 'AND',
|
|
16946
|
-
containsMsg: 'contains',
|
|
16947
|
-
startsWithMsg: 'starts with',
|
|
16948
|
-
endsWithMsg: 'ends with',
|
|
16949
|
-
exactMsg: 'exact',
|
|
16950
|
-
conditionStringInputPlaceholderMsg: 'Enter min. 3 characters',
|
|
16951
|
-
lineItemMsg: 'only for lineitems with',
|
|
16952
|
-
withMsg: 'with',
|
|
16953
|
-
additionalFieldsMsg: 'Additional condition',
|
|
16954
|
-
plusMinus: '+/-',
|
|
16955
|
-
inMsg: 'in',
|
|
16956
|
-
notInMsg: 'not in',
|
|
16957
|
-
uploadFailedError: 'Upload failed',
|
|
16958
|
-
uploadLimitExceeded: 'Please do not upload more than 1000 store codes',
|
|
16959
|
-
uploadReqLoader: 'Uploading stores',
|
|
16960
|
-
or: 'OR',
|
|
16961
|
-
search: 'Search',
|
|
16962
|
-
searchWithExact: 'Search with exact keyword',
|
|
16963
|
-
customFieldsTag: 'custom fields',
|
|
16964
|
-
storeSearchMsg: 'Enter min. 3 characters to search',
|
|
16965
|
-
uploadInProgressMsg: 'Upload in progress',
|
|
16966
|
-
unsupportedCsvHeaderMsg: "The CSV header must be 'Store code' or 'Store id'",
|
|
16967
|
-
csvFileNoEntryTxt: 'Please upload a file with atleast one entry',
|
|
16968
|
-
downloadedMsg: 'downloaded',
|
|
16969
|
-
reuploadFileMsg: 'Reupload file',
|
|
16970
|
-
storeIdsMsg: 'Store IDs',
|
|
16971
|
-
downloadStoreIdMsg: 'Download Store ID',
|
|
16972
|
-
downloadStoreIdCodeNameMsg: 'Download Store ID, code & name',
|
|
16973
|
-
downloadInProgressMsg: 'Download in progress, might take a while',
|
|
16974
|
-
onMsg: 'on',
|
|
16975
|
-
beforeMsg: 'before',
|
|
16976
|
-
afterMsg: 'after',
|
|
16977
|
-
xDaysBeforeMsg: 'x days before',
|
|
16978
|
-
xDaysAfterMsg: 'x days after',
|
|
16979
|
-
betweenMsg: 'between',
|
|
16980
|
-
specificDateLabel: 'specific date',
|
|
16981
|
-
eventDateAttributeLabel: 'Event date attribute',
|
|
16982
|
-
entryTriggerLabel: 'Entry trigger',
|
|
16983
|
-
waitTillEventLabel: 'Wait till event',
|
|
16984
|
-
andLabel: 'and',
|
|
16985
|
-
beforeLabel: 'before',
|
|
16986
|
-
afterLabel: 'after',
|
|
16987
|
-
daysSuffix: 'days',
|
|
16988
|
-
loadingTip: 'Loading...',
|
|
16989
|
-
specificDateToolTip: "Specific date cannot be selected for 'x days before/after'"
|
|
16990
|
-
},
|
|
16991
|
-
CapConditionPreview: {
|
|
16992
|
-
includeMsg: 'Include',
|
|
16993
|
-
excludeMsg: 'Exclude',
|
|
16994
|
-
equalMsg: 'equal to',
|
|
16995
|
-
greaterThanMsg: 'greater than',
|
|
16996
|
-
lessThanMsg: 'less than',
|
|
16997
|
-
greaterThanOrEqualMsg: 'greater than or equal to',
|
|
16998
|
-
lessThanorEqualMsg: 'less than or equal',
|
|
16999
|
-
inRangeMsg: 'in range',
|
|
17000
|
-
notEqualMsg: 'not equal to',
|
|
17001
|
-
whoseMsg: 'whose',
|
|
17002
|
-
isMsg: 'is',
|
|
17003
|
-
andMsg: 'and',
|
|
17004
|
-
ANDMsg: 'AND',
|
|
17005
|
-
lineItemMsg: 'only for lineitems with',
|
|
17006
|
-
withMsg: 'with',
|
|
17007
|
-
addedSKUsMsg: 'Added SKUs',
|
|
17008
|
-
skuFileName: 'SKU.csv',
|
|
17009
|
-
uploadedMsg: 'uploaded',
|
|
17010
|
-
inMsg: 'in',
|
|
17011
|
-
notInMsg: 'not in',
|
|
17012
|
-
storesMsg: 'Stores',
|
|
17013
|
-
viewMoreMsg: 'View more',
|
|
17014
|
-
uploadInProgressMsg: 'Upload in progress',
|
|
17015
|
-
uploadFailedErrorMsg: 'Upload failed',
|
|
17016
|
-
uploadInvalidErrorMsg: 'Invalid file uploaded'
|
|
17017
|
-
},
|
|
17018
|
-
CapPopoverTree: {
|
|
17019
|
-
emptyDataMessage: 'No data found',
|
|
17020
|
-
searchPlaceholder: 'Search'
|
|
17021
|
-
},
|
|
17022
|
-
CapGraphBlockNode: {
|
|
17023
|
-
configureText: 'Configure',
|
|
17024
|
-
replaceEngagementBlockMsg: 'Replace engagement block'
|
|
17025
|
-
},
|
|
17026
|
-
CapStaticTemplates: {
|
|
17027
|
-
strategyTitleMsg: 'Select the strategy',
|
|
17028
|
-
strategyDescriptionMsg: 'Use strategy driven pre-defined marketing use-cases or build your own strategy',
|
|
17029
|
-
comingSoonMsg: 'Coming soon',
|
|
17030
|
-
blankCategoryLabel: 'Custom',
|
|
17031
|
-
blankTemplateLabel: 'Build from scratch',
|
|
17032
|
-
blankTemplateDescription: 'Create your own journey from scratch',
|
|
17033
|
-
searchPlaceholderMsg: 'Search strategy'
|
|
17034
|
-
},
|
|
17035
|
-
CapProductSelection: {
|
|
17036
|
-
lineItem: 'Line items',
|
|
17037
|
-
selectAttribute: 'Select Attribute',
|
|
17038
|
-
brand: 'Brand',
|
|
17039
|
-
brandInfo: 'Brand',
|
|
17040
|
-
category: 'Category',
|
|
17041
|
-
categoryInfo: 'Category',
|
|
17042
|
-
product: 'Product',
|
|
17043
|
-
productInfo: 'Product',
|
|
17044
|
-
SKU: 'SKU',
|
|
17045
|
-
uploadSKU: 'Upload SKU',
|
|
17046
|
-
uploadSKUInfo: 'Upload SKU',
|
|
17047
|
-
changeSelection: 'Change the selection',
|
|
17048
|
-
description: 'Changing the attribute of additional condition will result in lose of previously defined additional condition',
|
|
17049
|
-
okText: 'Yes, change',
|
|
17050
|
-
cancelText: 'Cancel',
|
|
17051
|
-
comingSoon: 'Coming soon',
|
|
17052
|
-
selectValues: 'Select value(s)',
|
|
17053
|
-
atleast1Attribute: 'At least 1 attribute is required'
|
|
17054
|
-
},
|
|
17055
|
-
CapTruncateList: {
|
|
17056
|
-
more: 'more'
|
|
17057
|
-
},
|
|
17058
|
-
CapSKUUploader: {
|
|
17059
|
-
validatingSKUs: 'Validating SKUs',
|
|
17060
|
-
invalid: 'invalid',
|
|
17061
|
-
invalidSKUs: 'Invalid SKUs',
|
|
17062
|
-
valid: 'valid',
|
|
17063
|
-
addedSKUsMsg: 'Added SKUs',
|
|
17064
|
-
skuFileName: 'SKU.csv',
|
|
17065
|
-
invalidSKUFilename: 'invalidSKU.csv',
|
|
17066
|
-
uploadedMsg: 'uploaded'
|
|
17067
|
-
},
|
|
17068
|
-
CapDndGraph: {
|
|
17069
|
-
deleteBlockModalHeaderText: 'Delete block',
|
|
17070
|
-
deleteBlockModalDescriptionText: 'Are you sure you want to delete this block?',
|
|
17071
|
-
yesDeleteButtonText: 'Yes, delete',
|
|
17072
|
-
noButtonText: 'No',
|
|
17073
|
-
joinDropErrorText: 'Join block can only be added at the end of the path',
|
|
17074
|
-
jumpDropErrorText: 'Jump block can only be added at the end of the path',
|
|
17075
|
-
theText: 'The',
|
|
17076
|
-
endText: 'End',
|
|
17077
|
-
blockIsLinkedText: 'block is linked to the',
|
|
17078
|
-
blockText: 'block.',
|
|
17079
|
-
disconnectText: 'Deleting this block will disconnect the join.',
|
|
17080
|
-
areYouSureText: 'Are you sure?'
|
|
17081
|
-
},
|
|
17082
|
-
CapDragAndDrop: {
|
|
17083
|
-
dropboxtext: 'Drop here!',
|
|
17084
|
-
selectFilesText: 'Select files from your computer',
|
|
17085
|
-
invalidFileSelectionText: 'Invalid file selection!',
|
|
17086
|
-
or: 'OR',
|
|
17087
|
-
droptext: 'Drag and drop files'
|
|
17088
|
-
},
|
|
17089
|
-
CapRoadMap: {
|
|
17090
|
-
defaultRoadMapDisabledMessage: 'Not configured yet'
|
|
17091
|
-
},
|
|
17092
|
-
CapTimelineCard: {
|
|
17093
|
-
defaultConfiguringMessage: 'Configuring...',
|
|
17094
|
-
defaultNotConfiguredMessage: 'Not configured yet...',
|
|
17095
|
-
toConfigure: 'To configure ',
|
|
17096
|
-
completePrevSteps: ' complete the previous steps.'
|
|
17097
|
-
},
|
|
17098
|
-
CapTimelineNestedCard: {
|
|
17099
|
-
defaultConfiguringMessage: 'Configuring...',
|
|
17100
|
-
defaultNotConfiguredMessage: 'Not configured yet...',
|
|
17101
|
-
toConfigure: 'To configure ',
|
|
17102
|
-
completePrevSteps: ' complete the previous steps.'
|
|
17103
|
-
},
|
|
17104
|
-
NestedCardParent: {
|
|
17105
|
-
defaultNestedTitle: 'Triggers',
|
|
17106
|
-
toConfigure: 'To configure ',
|
|
17107
|
-
completePrevSteps: ' complete the previous steps.'
|
|
17108
|
-
},
|
|
17109
|
-
'CapAskAira.DocumentationBot': {
|
|
17110
|
-
textAskYourQuestion: 'Ask your question here',
|
|
17111
|
-
textVisitDocs: 'Visit Capillary Documentation',
|
|
17112
|
-
textNeedHelp: 'Need more help?',
|
|
17113
|
-
textHowMayIHelp: 'How may AI help you?',
|
|
17114
|
-
textAira: 'aiRA Documentation Bot',
|
|
17115
|
-
textLinks: 'Links',
|
|
17116
|
-
textWasHelpful: 'Was this response helpful?',
|
|
17117
|
-
textConfidence: 'confidence',
|
|
17118
|
-
textTooltip: 'Need help? Ask aiRA',
|
|
17119
|
-
textCantConnect: "Can't connect to the server."
|
|
17120
|
-
},
|
|
17121
|
-
'CapAskAira.RuleGenerationBot': {
|
|
17122
|
-
textTypeAMessage: 'Type a message above and ask aiRA to recommend the best content',
|
|
17123
|
-
textError: 'An error occurred while generating rule. Try again.',
|
|
17124
|
-
textAiraTitle: 'aiRA Rule Generation',
|
|
17125
|
-
textAiraTooltip: 'aiRA, our proprietary AI tool, generates rule expressions based on text query.',
|
|
17126
|
-
textCopy: 'Copy',
|
|
17127
|
-
textCopied: 'Copied',
|
|
17128
|
-
textRulePlaceholder: 'Enter query...',
|
|
17129
|
-
textRuleLoading: 'Rule is loading... Hang tight!',
|
|
17130
|
-
textThank: 'Thank you for your response!',
|
|
17131
|
-
textWarn: 'aiRA responses may be inaccurate or misleading. Help us to improve!',
|
|
17132
|
-
textAddCommentPlaceholder: 'Add comment'
|
|
17133
|
-
},
|
|
17134
|
-
'CapAskAira.ContentGenerationBot': {
|
|
17135
|
-
textTypeAMessage: 'Type a message above and ask aiRA to recommend the best content',
|
|
17136
|
-
textRecommendationsLoading: 'Recommendations loading... Hang tight!',
|
|
17137
|
-
textError: 'An error occurred while loading recommendations. Try again.',
|
|
17138
|
-
textAiraTitle: 'aiRA Content Recommendations',
|
|
17139
|
-
textAiraTooltip: 'aiRA, our proprietary AI tool, recommends tailored language to effectively engage customers and prompt desired actions.',
|
|
17140
|
-
textLoading: 'loading...',
|
|
17141
|
-
textCharacters: 'characters',
|
|
17142
|
-
textReplaceWithThis: 'Replace with this',
|
|
17143
|
-
textReplaced: 'Replaced',
|
|
17144
|
-
textResetToDefault: 'Reset to default',
|
|
17145
|
-
textMoreLikeThis: 'More like this',
|
|
17146
|
-
textGenerateMore: 'Generate more'
|
|
17147
|
-
},
|
|
17148
|
-
'CapAskAira.ConfigurationBot': {
|
|
17149
|
-
textAiraTitle: 'aiRA Configuration Bot',
|
|
17150
|
-
textAiraTooltip: 'aiRA, our proprietary AI tool, helps you configure promotions, campaigns, and more.',
|
|
17151
|
-
textTypeAMessage: 'Type a message above and ask aiRA to recommend the best content',
|
|
17152
|
-
textUser: 'Hello!',
|
|
17153
|
-
textPilot: "I'm your Copilot. I can create all type of promotions (milestones, streaks, etc.) on your behalf. Meanwhile, you can sit back, relax, and enjoy a cup of chai.",
|
|
17154
|
-
textCouponTile: 'Milestone on GS',
|
|
17155
|
-
textCouponDescription: 'Customer has to do 1000/- gross sales in a month, and can get 100 points.',
|
|
17156
|
-
textPromotionTitle: 'Milestone on count',
|
|
17157
|
-
textPromotionDescription: 'Eligible customers get points on every 5 transactions.',
|
|
17158
|
-
textStreakTitle: 'Reward on referral',
|
|
17159
|
-
textStreakDescription: 'Award customer 150 points if they refer 3 users in a month. Promotion starts on July 1 and runs for 5 months.',
|
|
17160
|
-
textPromptHere: 'Enter a prompt here...',
|
|
17161
|
-
textCouponPrompt: 'If customer does 1000 gross sales in a month, award them 100 points that expire in 20 days. Promotion runs from 1 July to 1 December.',
|
|
17162
|
-
textPromotionPrompt: 'After every 5 transactions I want to award customer with 200 points. Only customers with more than 2000 lifetime points are eligible. Promotion runs from 1 July to 1 December',
|
|
17163
|
-
textStreakPrompt: 'Award customer 150 points if they refer 3 users in a month. Promotion starts on July 1 and runs for 5 months. ',
|
|
17164
|
-
textCantConnect: "Can't connect to the server.",
|
|
17165
|
-
textCreate: 'Create',
|
|
17166
|
-
textCancel: 'Cancel',
|
|
17167
|
-
textGeneratingResponse: 'Generating response'
|
|
17168
|
-
},
|
|
17169
|
-
'CapAskAira.DocumentationChatBot': {
|
|
17170
|
-
textBotPlaceholder: 'Ask aiRA about anything on our CRM platform',
|
|
17171
|
-
textChatBotLoader: 'Hang tight, analyzing your query...',
|
|
17172
|
-
textChatBotDesc: 'Ask any doubts about our CRM platform and aiRA will do its best to find answers',
|
|
17173
|
-
textChatBot: 'Documentation Chat Bot'
|
|
17174
|
-
},
|
|
17175
|
-
'CapAskAira.CapAiMediaGeneration': {
|
|
17176
|
-
textImageBotPlaceholder: 'Ask aiRA to generate an image',
|
|
17177
|
-
textChatBotLoader: 'Hang tight, analyzing your query...',
|
|
17178
|
-
textImageBotDesc: 'Enter a prompt that describes your image.',
|
|
17179
|
-
textImageBot: 'aiRA Media Generator',
|
|
17180
|
-
textImageFooter: 'Dragging and dropping generated images is only supported in the basic email builder.',
|
|
17181
|
-
textTipsGenerate: 'Tips to generate better images:',
|
|
17182
|
-
textCopy: 'Copy image',
|
|
17183
|
-
textCopied: 'Copied',
|
|
17184
|
-
textDownload: 'Download',
|
|
17185
|
-
textImageDownload: 'Image downloaded successfully!',
|
|
17186
|
-
textComingSoon: 'Coming soon',
|
|
17187
|
-
textGenerateMore: 'Generate more'
|
|
17188
|
-
},
|
|
17189
|
-
'CapAskAira.RuleSummarizationBot': {
|
|
17190
|
-
textRuleBotPlaceholder: 'Ask aiRA to write an expression',
|
|
17191
|
-
textSummarizeBotPlaceholder: 'Ask aiRA to explain an expression',
|
|
17192
|
-
textRuleChatBotLoader: 'Hang tight, analyzing your query...',
|
|
17193
|
-
textRuleChatBotDesc: 'Write your detailed rule in simple english and aiRA will write the expression for you',
|
|
17194
|
-
textSummarizeChatBotDesc: 'Enter the expression and aiRA will generate a summary in plain english',
|
|
17195
|
-
textRuleChatBot: 'aiRA Expression Translator'
|
|
17196
|
-
},
|
|
17197
|
-
'CapAskAira.AudienceFilterBot': {
|
|
17198
|
-
textNeedHelp: 'Need help choosing the right filters?',
|
|
17199
|
-
textAskAiraLink: 'Ask aiRA to apply filters',
|
|
17200
|
-
textDescribeAudience: 'Describe your audience',
|
|
17201
|
-
textPlaceholder: 'e.g.: Filter customers who have made a purchase in the last 7 days',
|
|
17202
|
-
textError: 'Something went wrong, please try again',
|
|
17203
|
-
textThoughtProcess: 'Thought Process',
|
|
17204
|
-
textFiltersAdded: 'Filters added below',
|
|
17205
|
-
textAnalyzing: 'Analyzing your query...',
|
|
17206
|
-
textPartialFiltersAdded: 'Rest of the filters added below',
|
|
17207
|
-
textFeedbackTitle: 'Give feedback',
|
|
17208
|
-
textFeedbackOptional: '(Optional)',
|
|
17209
|
-
textFeedbackMessage: 'Let us know what was wrong with the results',
|
|
17210
|
-
textFeedbackPlaceholder: 'Share your feedback',
|
|
17211
|
-
textFeedbackSubmit: 'Submit',
|
|
17212
|
-
textFeedbackCancel: 'Cancel',
|
|
17213
|
-
textThankYouFeedback: 'Thank you for your feedback!',
|
|
17214
|
-
textThankYouDetailedFeedback: 'Thank you for your detailed feedback!'
|
|
17215
|
-
}
|
|
17216
|
-
};
|
|
17026
|
+
var _default = exports["default"] = (0, _redux.compose)(withConnect)((0, _reactIntl.injectIntl)(DocumentationChatBot));
|
|
17217
17027
|
|
|
17218
17028
|
/***/ }),
|
|
17219
17029
|
|
|
@@ -17271,6 +17081,61 @@ var _default = exports["default"] = SvgGroupChat;
|
|
|
17271
17081
|
|
|
17272
17082
|
/***/ }),
|
|
17273
17083
|
|
|
17084
|
+
/***/ 49956:
|
|
17085
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17086
|
+
|
|
17087
|
+
"use strict";
|
|
17088
|
+
|
|
17089
|
+
|
|
17090
|
+
exports.__esModule = true;
|
|
17091
|
+
exports.scope = exports["default"] = void 0;
|
|
17092
|
+
var _reactIntl = __webpack_require__(46407);
|
|
17093
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapAskAira.ContentGenerationBot';
|
|
17094
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
17095
|
+
textTypeAMessage: {
|
|
17096
|
+
id: scope + ".textTypeAMessage",
|
|
17097
|
+
defaultMessage: 'Type a message above and ask aiRA to recommend the best content'
|
|
17098
|
+
},
|
|
17099
|
+
textError: {
|
|
17100
|
+
id: scope + ".textError",
|
|
17101
|
+
defaultMessage: 'An error occurred while loading recommendations. Try again.'
|
|
17102
|
+
},
|
|
17103
|
+
textAiraTitle: {
|
|
17104
|
+
id: scope + ".textAiraTitle",
|
|
17105
|
+
defaultMessage: 'aiRA Content Recommendations'
|
|
17106
|
+
},
|
|
17107
|
+
textAiraTooltip: {
|
|
17108
|
+
id: scope + ".textAiraTooltip",
|
|
17109
|
+
defaultMessage: 'aiRA, our proprietary AI tool, recommends tailored language to effectively engage customers and prompt desired actions.'
|
|
17110
|
+
},
|
|
17111
|
+
textCharacters: {
|
|
17112
|
+
id: scope + ".textCharacters",
|
|
17113
|
+
defaultMessage: 'characters'
|
|
17114
|
+
},
|
|
17115
|
+
textReplaceWithThis: {
|
|
17116
|
+
id: scope + ".textReplaceWithThis",
|
|
17117
|
+
defaultMessage: 'Replace with this'
|
|
17118
|
+
},
|
|
17119
|
+
textReplaced: {
|
|
17120
|
+
id: scope + ".textReplaced",
|
|
17121
|
+
defaultMessage: 'Replaced'
|
|
17122
|
+
},
|
|
17123
|
+
textResetToDefault: {
|
|
17124
|
+
id: scope + ".textResetToDefault",
|
|
17125
|
+
defaultMessage: 'Reset to default'
|
|
17126
|
+
},
|
|
17127
|
+
textMoreLikeThis: {
|
|
17128
|
+
id: scope + ".textMoreLikeThis",
|
|
17129
|
+
defaultMessage: 'More like this'
|
|
17130
|
+
},
|
|
17131
|
+
textGenerateMore: {
|
|
17132
|
+
id: scope + ".textGenerateMore",
|
|
17133
|
+
defaultMessage: 'Generate more'
|
|
17134
|
+
}
|
|
17135
|
+
});
|
|
17136
|
+
|
|
17137
|
+
/***/ }),
|
|
17138
|
+
|
|
17274
17139
|
/***/ 50622:
|
|
17275
17140
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17276
17141
|
|
|
@@ -17380,12 +17245,13 @@ var _default = exports["default"] = TimerWarning;
|
|
|
17380
17245
|
exports.__esModule = true;
|
|
17381
17246
|
exports["default"] = void 0;
|
|
17382
17247
|
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
17248
|
+
var _reactIntl = __webpack_require__(46407);
|
|
17383
17249
|
var _reactRedux = __webpack_require__(31286);
|
|
17384
17250
|
var _redux = __webpack_require__(90916);
|
|
17385
17251
|
var _reselect = __webpack_require__(86751);
|
|
17386
17252
|
var _CapRow = _interopRequireDefault(__webpack_require__(69813));
|
|
17387
17253
|
var _CapSpin = _interopRequireDefault(__webpack_require__(56543));
|
|
17388
|
-
var
|
|
17254
|
+
var _constants = __webpack_require__(23944);
|
|
17389
17255
|
var _AiraContainer = _interopRequireDefault(__webpack_require__(97060));
|
|
17390
17256
|
var _ErrorBar = _interopRequireDefault(__webpack_require__(83985));
|
|
17391
17257
|
var _Icons = __webpack_require__(91540);
|
|
@@ -17394,6 +17260,7 @@ var _SecondaryButton = _interopRequireDefault(__webpack_require__(15488));
|
|
|
17394
17260
|
var action = _interopRequireWildcard(__webpack_require__(15608));
|
|
17395
17261
|
var _api = __webpack_require__(80935);
|
|
17396
17262
|
var constants = _interopRequireWildcard(__webpack_require__(75858));
|
|
17263
|
+
var _messages = _interopRequireDefault(__webpack_require__(69007));
|
|
17397
17264
|
var _selector = __webpack_require__(82713);
|
|
17398
17265
|
var _styles = _interopRequireDefault(__webpack_require__(69661));
|
|
17399
17266
|
var _UtilComponents = __webpack_require__(38273);
|
|
@@ -17403,23 +17270,26 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
17403
17270
|
const RuleGenerationBot = _ref => {
|
|
17404
17271
|
let {
|
|
17405
17272
|
popupWidth = '42rem',
|
|
17406
|
-
textAiraTitle,
|
|
17407
|
-
textAiraTooltip,
|
|
17408
|
-
textRulePlaceholder,
|
|
17409
|
-
textCopy,
|
|
17410
|
-
textCopied,
|
|
17411
|
-
textRuleLoading,
|
|
17412
|
-
textThank,
|
|
17413
|
-
textError,
|
|
17414
|
-
textAddCommentPlaceholder,
|
|
17415
|
-
textWarn,
|
|
17416
17273
|
askAiraData = {},
|
|
17417
17274
|
actions,
|
|
17418
17275
|
activity,
|
|
17419
17276
|
request,
|
|
17420
17277
|
getAPICallObject,
|
|
17421
|
-
iconPlacement
|
|
17278
|
+
iconPlacement,
|
|
17279
|
+
intl: {
|
|
17280
|
+
formatMessage
|
|
17281
|
+
}
|
|
17422
17282
|
} = _ref;
|
|
17283
|
+
const textAiraTitle = formatMessage(_messages.default.textAiraTitle);
|
|
17284
|
+
const textAiraTooltip = formatMessage(_messages.default.textAiraTooltip);
|
|
17285
|
+
const textRulePlaceholder = formatMessage(_messages.default.textRulePlaceholder);
|
|
17286
|
+
const textCopy = formatMessage(_messages.default.textCopy);
|
|
17287
|
+
const textCopied = formatMessage(_messages.default.textCopied);
|
|
17288
|
+
const textRuleLoading = formatMessage(_messages.default.textRuleLoading);
|
|
17289
|
+
const textThank = formatMessage(_messages.default.textThank);
|
|
17290
|
+
const textError = formatMessage(_messages.default.textError);
|
|
17291
|
+
const textAddCommentPlaceholder = formatMessage(_messages.default.textAddCommentPlaceholder);
|
|
17292
|
+
const textWarn = formatMessage(_messages.default.textWarn);
|
|
17423
17293
|
const [query, setQuery] = (0, _react.useState)('');
|
|
17424
17294
|
const [copyText, setCopyText] = (0, _react.useState)(textCopy);
|
|
17425
17295
|
const {
|
|
@@ -17489,7 +17359,7 @@ const RuleGenerationBot = _ref => {
|
|
|
17489
17359
|
})
|
|
17490
17360
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
17491
17361
|
style: {
|
|
17492
|
-
color:
|
|
17362
|
+
color: _constants.CAP_ASK_AIRA_COLORS.TEXT_MUTED,
|
|
17493
17363
|
fontSize: '0.9rem'
|
|
17494
17364
|
},
|
|
17495
17365
|
children: textRuleLoading
|
|
@@ -17533,8 +17403,6 @@ const RuleGenerationBot = _ref => {
|
|
|
17533
17403
|
const mapStateToProps = (0, _reselect.createStructuredSelector)({
|
|
17534
17404
|
askAiraData: (0, _selector.makeSelectRuleGenData)()
|
|
17535
17405
|
});
|
|
17536
|
-
|
|
17537
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17538
17406
|
function mapDispatchToProps(dispatch) {
|
|
17539
17407
|
return {
|
|
17540
17408
|
actions: (0, _redux.bindActionCreators)(action, dispatch)
|
|
@@ -17542,12 +17410,8 @@ function mapDispatchToProps(dispatch) {
|
|
|
17542
17410
|
}
|
|
17543
17411
|
const withConnect = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps);
|
|
17544
17412
|
|
|
17545
|
-
//
|
|
17546
|
-
|
|
17547
|
-
key: 'CapAskAira.RuleGenerationBot'
|
|
17548
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17549
|
-
});
|
|
17550
|
-
var _default = exports["default"] = (0, _redux.compose)(withConnect)(LocalizedRuleGenerationBot);
|
|
17413
|
+
// compose(connect)(injectIntl(...)) conflicts: connect infers actions return action objects, props type uses void; cast avoids complex generics
|
|
17414
|
+
var _default = exports["default"] = (0, _redux.compose)(withConnect)((0, _reactIntl.injectIntl)(RuleGenerationBot));
|
|
17551
17415
|
|
|
17552
17416
|
/***/ }),
|
|
17553
17417
|
|
|
@@ -20776,6 +20640,61 @@ var _default = exports["default"] = SvgSurveyBackground;
|
|
|
20776
20640
|
|
|
20777
20641
|
/***/ }),
|
|
20778
20642
|
|
|
20643
|
+
/***/ 63525:
|
|
20644
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
20645
|
+
|
|
20646
|
+
"use strict";
|
|
20647
|
+
|
|
20648
|
+
|
|
20649
|
+
exports.__esModule = true;
|
|
20650
|
+
exports.scope = exports["default"] = void 0;
|
|
20651
|
+
var _reactIntl = __webpack_require__(46407);
|
|
20652
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapAskAira.DocumentationBot';
|
|
20653
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
20654
|
+
textAskYourQuestion: {
|
|
20655
|
+
id: scope + ".textAskYourQuestion",
|
|
20656
|
+
defaultMessage: 'Ask your question here'
|
|
20657
|
+
},
|
|
20658
|
+
textVisitDocs: {
|
|
20659
|
+
id: scope + ".textVisitDocs",
|
|
20660
|
+
defaultMessage: 'Visit Capillary Documentation'
|
|
20661
|
+
},
|
|
20662
|
+
textNeedHelp: {
|
|
20663
|
+
id: scope + ".textNeedHelp",
|
|
20664
|
+
defaultMessage: 'Need more help?'
|
|
20665
|
+
},
|
|
20666
|
+
textHowMayIHelp: {
|
|
20667
|
+
id: scope + ".textHowMayIHelp",
|
|
20668
|
+
defaultMessage: 'How may AI help you?'
|
|
20669
|
+
},
|
|
20670
|
+
textAira: {
|
|
20671
|
+
id: scope + ".textAira",
|
|
20672
|
+
defaultMessage: 'aiRA Documentation Bot'
|
|
20673
|
+
},
|
|
20674
|
+
textTooltip: {
|
|
20675
|
+
id: scope + ".textTooltip",
|
|
20676
|
+
defaultMessage: 'Need help? Ask aiRA'
|
|
20677
|
+
},
|
|
20678
|
+
textLinks: {
|
|
20679
|
+
id: scope + ".textLinks",
|
|
20680
|
+
defaultMessage: 'Links'
|
|
20681
|
+
},
|
|
20682
|
+
textConfidence: {
|
|
20683
|
+
id: scope + ".textConfidence",
|
|
20684
|
+
defaultMessage: 'confidence'
|
|
20685
|
+
},
|
|
20686
|
+
textWasHelpful: {
|
|
20687
|
+
id: scope + ".textWasHelpful",
|
|
20688
|
+
defaultMessage: 'Was this response helpful?'
|
|
20689
|
+
},
|
|
20690
|
+
textCantConnect: {
|
|
20691
|
+
id: scope + ".textCantConnect",
|
|
20692
|
+
defaultMessage: "Can't connect to the server."
|
|
20693
|
+
}
|
|
20694
|
+
});
|
|
20695
|
+
|
|
20696
|
+
/***/ }),
|
|
20697
|
+
|
|
20779
20698
|
/***/ 63687:
|
|
20780
20699
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
20781
20700
|
|
|
@@ -21141,6 +21060,89 @@ var _default = exports["default"] = SvgShapeCopy;
|
|
|
21141
21060
|
|
|
21142
21061
|
/***/ }),
|
|
21143
21062
|
|
|
21063
|
+
/***/ 65061:
|
|
21064
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
21065
|
+
|
|
21066
|
+
"use strict";
|
|
21067
|
+
|
|
21068
|
+
|
|
21069
|
+
exports.__esModule = true;
|
|
21070
|
+
exports.scope = exports["default"] = void 0;
|
|
21071
|
+
var _reactIntl = __webpack_require__(46407);
|
|
21072
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapAskAira.ConfigurationBot';
|
|
21073
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
21074
|
+
textAiraTitle: {
|
|
21075
|
+
id: scope + ".textAiraTitle",
|
|
21076
|
+
defaultMessage: 'aiRA Configuration Bot'
|
|
21077
|
+
},
|
|
21078
|
+
textAiraTooltip: {
|
|
21079
|
+
id: scope + ".textAiraTooltip",
|
|
21080
|
+
defaultMessage: 'aiRA, our proprietary AI tool, helps you configure promotions, campaigns, and more.'
|
|
21081
|
+
},
|
|
21082
|
+
textUser: {
|
|
21083
|
+
id: scope + ".textUser",
|
|
21084
|
+
defaultMessage: 'Hello!'
|
|
21085
|
+
},
|
|
21086
|
+
textPilot: {
|
|
21087
|
+
id: scope + ".textPilot",
|
|
21088
|
+
defaultMessage: "I'm your Copilot. I can create all type of promotions (milestones, streaks, etc.) on your behalf. Meanwhile, you can sit back, relax, and enjoy a cup of chai."
|
|
21089
|
+
},
|
|
21090
|
+
textCouponTile: {
|
|
21091
|
+
id: scope + ".textCouponTile",
|
|
21092
|
+
defaultMessage: 'Milestone on GS'
|
|
21093
|
+
},
|
|
21094
|
+
textCouponDescription: {
|
|
21095
|
+
id: scope + ".textCouponDescription",
|
|
21096
|
+
defaultMessage: 'Customer has to do 1000/- gross sales in a month, and can get 100 points.'
|
|
21097
|
+
},
|
|
21098
|
+
textPromotionTitle: {
|
|
21099
|
+
id: scope + ".textPromotionTitle",
|
|
21100
|
+
defaultMessage: 'Milestone on count'
|
|
21101
|
+
},
|
|
21102
|
+
textPromotionDescription: {
|
|
21103
|
+
id: scope + ".textPromotionDescription",
|
|
21104
|
+
defaultMessage: 'Eligible customers get points on every 5 transactions.'
|
|
21105
|
+
},
|
|
21106
|
+
textStreakTitle: {
|
|
21107
|
+
id: scope + ".textStreakTitle",
|
|
21108
|
+
defaultMessage: 'Reward on referral'
|
|
21109
|
+
},
|
|
21110
|
+
textStreakDescription: {
|
|
21111
|
+
id: scope + ".textStreakDescription",
|
|
21112
|
+
defaultMessage: 'Award customer 150 points if they refer 3 users in a month. Promotion starts on July 1 and runs for 5 months.'
|
|
21113
|
+
},
|
|
21114
|
+
textPromptHere: {
|
|
21115
|
+
id: scope + ".textPromptHere",
|
|
21116
|
+
defaultMessage: 'Enter a prompt here...'
|
|
21117
|
+
},
|
|
21118
|
+
textCouponPrompt: {
|
|
21119
|
+
id: scope + ".textCouponPrompt",
|
|
21120
|
+
defaultMessage: 'If customer does 1000 gross sales in a month, award them 100 points that expire in 20 days. Promotion runs from 1 July to 1 December.'
|
|
21121
|
+
},
|
|
21122
|
+
textPromotionPrompt: {
|
|
21123
|
+
id: scope + ".textPromotionPrompt",
|
|
21124
|
+
defaultMessage: 'After every 5 transactions I want to award customer with 200 points. Only customers with more than 2000 lifetime points are eligible. Promotion runs from 1 July to 1 December'
|
|
21125
|
+
},
|
|
21126
|
+
textStreakPrompt: {
|
|
21127
|
+
id: scope + ".textStreakPrompt",
|
|
21128
|
+
defaultMessage: 'Award customer 150 points if they refer 3 users in a month. Promotion starts on July 1 and runs for 5 months. '
|
|
21129
|
+
},
|
|
21130
|
+
textCreate: {
|
|
21131
|
+
id: scope + ".textCreate",
|
|
21132
|
+
defaultMessage: 'Create'
|
|
21133
|
+
},
|
|
21134
|
+
textCancel: {
|
|
21135
|
+
id: scope + ".textCancel",
|
|
21136
|
+
defaultMessage: 'Cancel'
|
|
21137
|
+
},
|
|
21138
|
+
textGeneratingResponse: {
|
|
21139
|
+
id: scope + ".textGeneratingResponse",
|
|
21140
|
+
defaultMessage: 'Generating response'
|
|
21141
|
+
}
|
|
21142
|
+
});
|
|
21143
|
+
|
|
21144
|
+
/***/ }),
|
|
21145
|
+
|
|
21144
21146
|
/***/ 65124:
|
|
21145
21147
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
21146
21148
|
|
|
@@ -22011,6 +22013,65 @@ var _default = exports["default"] = SvgInfoWithError;
|
|
|
22011
22013
|
|
|
22012
22014
|
/***/ }),
|
|
22013
22015
|
|
|
22016
|
+
/***/ 69007:
|
|
22017
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
22018
|
+
|
|
22019
|
+
"use strict";
|
|
22020
|
+
|
|
22021
|
+
|
|
22022
|
+
exports.__esModule = true;
|
|
22023
|
+
exports.scope = exports["default"] = void 0;
|
|
22024
|
+
var _reactIntl = __webpack_require__(46407);
|
|
22025
|
+
const scope = exports.scope = 'app.commonUtils.capUiLibrary.CapAskAira.RuleGenerationBot';
|
|
22026
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
22027
|
+
textTypeAMessage: {
|
|
22028
|
+
id: scope + ".textTypeAMessage",
|
|
22029
|
+
defaultMessage: 'Type a message above and ask aiRA to recommend the best content'
|
|
22030
|
+
},
|
|
22031
|
+
textError: {
|
|
22032
|
+
id: scope + ".textError",
|
|
22033
|
+
defaultMessage: 'An error occurred while generating rule. Try again.'
|
|
22034
|
+
},
|
|
22035
|
+
textAiraTitle: {
|
|
22036
|
+
id: scope + ".textAiraTitle",
|
|
22037
|
+
defaultMessage: 'aiRA Rule Generation'
|
|
22038
|
+
},
|
|
22039
|
+
textAiraTooltip: {
|
|
22040
|
+
id: scope + ".textAiraTooltip",
|
|
22041
|
+
defaultMessage: 'aiRA, our proprietary AI tool, generates rule expressions based on text query.'
|
|
22042
|
+
},
|
|
22043
|
+
textCopy: {
|
|
22044
|
+
id: scope + ".textCopy",
|
|
22045
|
+
defaultMessage: 'Copy'
|
|
22046
|
+
},
|
|
22047
|
+
textCopied: {
|
|
22048
|
+
id: scope + ".textCopied",
|
|
22049
|
+
defaultMessage: 'Copied'
|
|
22050
|
+
},
|
|
22051
|
+
textRulePlaceholder: {
|
|
22052
|
+
id: scope + ".textRulePlaceholder",
|
|
22053
|
+
defaultMessage: 'Enter query...'
|
|
22054
|
+
},
|
|
22055
|
+
textRuleLoading: {
|
|
22056
|
+
id: scope + ".textRuleLoading",
|
|
22057
|
+
defaultMessage: 'Rule is loading... Hang tight!'
|
|
22058
|
+
},
|
|
22059
|
+
textThank: {
|
|
22060
|
+
id: scope + ".textThank",
|
|
22061
|
+
defaultMessage: 'Thank you for your response!'
|
|
22062
|
+
},
|
|
22063
|
+
textWarn: {
|
|
22064
|
+
id: scope + ".textWarn",
|
|
22065
|
+
defaultMessage: 'aiRA responses may be inaccurate or misleading. Help us to improve!'
|
|
22066
|
+
},
|
|
22067
|
+
textAddCommentPlaceholder: {
|
|
22068
|
+
id: scope + ".textAddCommentPlaceholder",
|
|
22069
|
+
defaultMessage: 'Add comment'
|
|
22070
|
+
}
|
|
22071
|
+
});
|
|
22072
|
+
|
|
22073
|
+
/***/ }),
|
|
22074
|
+
|
|
22014
22075
|
/***/ 69271:
|
|
22015
22076
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
22016
22077
|
|
|
@@ -23988,7 +24049,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
|
23988
24049
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
23989
24050
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
23990
24051
|
// Module
|
|
23991
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-aira-config-bot-root{height:100%;display:flex;line-height:1.5;flex-direction:column}.cap-aira-config-bot-root ul{padding-inline-start:2.5rem;list-style:disc}.cap-aira-config-bot-root .bootup-page-container{margin:auto}.cap-aira-config-bot-root .bootup-page-container .coupon-promotion-container{display:flex;gap:.5rem;width:100%;padding:.85rem}.cap-aira-config-bot-root .bootup-page-container .question-container{margin:0 .85rem 0 .85rem}.cap-aira-config-bot-root .bootup-page-container .bootup-page-r1{display:flex !important;flex-direction:column;align-items:center;margin-bottom
|
|
24052
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-aira-config-bot-root{height:100%;display:flex;line-height:1.5;flex-direction:column}.cap-aira-config-bot-root ul{padding-inline-start:2.5rem;list-style:disc}.cap-aira-config-bot-root .bootup-page-container{margin:auto}.cap-aira-config-bot-root .bootup-page-container .coupon-promotion-container{display:flex;gap:.5rem;width:100%;padding:.85rem}.cap-aira-config-bot-root .bootup-page-container .question-container{margin:0 .85rem 0 .85rem}.cap-aira-config-bot-root .bootup-page-container .bootup-page-r1{display:flex !important;flex-direction:column;align-items:center;margin-bottom:.5714rem}.cap-aira-config-bot-root .bootup-page-container .bootup-page-r1 .user-name-heading{margin-top:1rem}.cap-aira-config-bot-root .bootup-page-container .bootup-page-r1 .user-description-heading{margin-top:1rem;text-align:center;padding-left:1.1429rem;padding-right:1.1429rem}.cap-aira-config-bot-root .predefined-templates-container .each-item-margin{margin-top:.2857rem}.cap-aira-config-bot-root .predefined-templates-container .create-streak-margin{margin-left:.4286rem}.cap-aira-config-bot-root .predefined-templates-container .create-template-container{padding:1.2857rem 1rem 1rem 1rem;background-color:#e9f0fe;height:9.143rem}.cap-aira-config-bot-root .predefined-templates-container .create-template-container .title-margin{margin-left:.2857rem}.cap-aira-config-bot-root .predefined-templates-container .question-template-container{padding:1rem 1rem 1rem 1rem;background-color:#e9f0fe;height:6.429rem;width:100%}.cap-aira-config-bot-root .copilot-body-container{width:100%}.cap-aira-config-bot-root .copilot-body-container .each-response-display-container{width:100%;padding:1rem .85rem}.cap-aira-config-bot-root .copilot-body-container .gpt-response-divider{margin:0}.cap-aira-config-bot-root .copilot-body-container .render-chat-messages{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding-bottom:1.4286rem}.cap-aira-config-bot-root .copilot-body-container .chat-messages{user-select:text;width:100%}.cap-aira-config-bot-root .cap-aira-config-bot-answer-container{white-space:pre-wrap;overflow-y:scroll;flex-grow:1;display:flex;flex-direction:column;justify-content:start}.cap-aira-config-bot-root .identity-icon-container .user-name-icon{width:1.7143rem;height:1.7143rem;border-radius:.5714rem;background-color:#9747ff;padding:.2857rem 0 0 .2143rem}.cap-aira-config-bot-root .generating-container{display:grid;grid-template-columns:min-content max-content;align-items:center;grid-row-gap:.4rem;grid-column-gap:.6rem}.cap-aira-config-bot-root .generate-response-container{width:100%;flex-wrap:nowrap}.cap-aira-config-bot-root .generate-response-container .generate-response-description{margin-left:.6rem;padding-top:.1429rem;word-break:break-word;width:calc(100% - 1.7rem)}.cap-aira-config-bot-root .progress-status-container .each-status-message{margin-top:.5714rem}.cap-aira-config-bot-root .progress-status-container .completed-icon{padding-top:.2857rem;margin-left:.2857rem}.cap-aira-config-bot-root .progress-status-container .progress-icon{margin-left:.8571rem}.cap-aira-config-bot-root .progress-status-container .progress-status-heading{margin-left:1.2857rem}.cap-aira-config-bot-root .user-request-container{width:100%}.cap-aira-config-bot-root .user-request-container .user-request-description{width:85%;margin-left:.8571rem;padding-top:.1429rem;word-break:break-word}.cap-aira-config-bot-root .user-approve-container{justify-content:end}.cap-aira-config-bot-root .user-approve-container .user-approve-button{height:2rem}.cap-aira-config-bot-root .user-approve-container .cancel-button{margin-left:.7143rem}.cap-aira-config-bot-root .cap-aira-config-bot-expression-editor{width:100%;border-right:.1429rem solid #000}.cap-aira-config-bot-root .cap-aira-config-bot-expression-editor .ant-input{width:100%;padding:0;border:none;outline:none;border-radius:0;line-height:1.5}.cap-aira-config-bot-root .cap-aira-config-bot-expression-editor .ant-input:focus{outline:none;box-shadow:none}`, ""]);
|
|
23992
24053
|
// Exports
|
|
23993
24054
|
___CSS_LOADER_EXPORT___.locals = {
|
|
23994
24055
|
"cap-aira-config-bot-root": `cap-aira-config-bot-root`,
|
|
@@ -26896,9 +26957,7 @@ var _effects = __webpack_require__(20510);
|
|
|
26896
26957
|
var types = _interopRequireWildcard(__webpack_require__(41686));
|
|
26897
26958
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
26898
26959
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
26899
|
-
// takeLatest overload (pattern, worker) requires a type assertion to avoid channel overload
|
|
26900
26960
|
function* watchForUpvote() {
|
|
26901
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26902
26961
|
yield (0, _effects.takeLatest)(types.SEND_FEEDBACK_REQUEST, sendFeedbackApi);
|
|
26903
26962
|
}
|
|
26904
26963
|
function sendFeedbackApi(_ref) {
|
|
@@ -27218,7 +27277,7 @@ const MetaBlock = _ref => {
|
|
|
27218
27277
|
type: "check-filled",
|
|
27219
27278
|
size: "s",
|
|
27220
27279
|
style: {
|
|
27221
|
-
marginRight: '
|
|
27280
|
+
marginRight: '0.2857rem'
|
|
27222
27281
|
},
|
|
27223
27282
|
"data-testid": "copied"
|
|
27224
27283
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
@@ -27313,7 +27372,7 @@ const Window = _ref => {
|
|
|
27313
27372
|
const titleBarLastClick = (0, _react.useRef)(0);
|
|
27314
27373
|
const [finalPopupPosition, setFinalPopupPosition] = (0, _react.useState)(null);
|
|
27315
27374
|
const getDefaultPopupPosition = () => {
|
|
27316
|
-
if (!popupRef.current) return defaultPopupPosition(popupWidth, '
|
|
27375
|
+
if (!popupRef.current) return defaultPopupPosition(popupWidth, '0rem');
|
|
27317
27376
|
const rect = popupRef.current.getBoundingClientRect();
|
|
27318
27377
|
return defaultPopupPosition(popupWidth, rect.height + "px");
|
|
27319
27378
|
};
|
|
@@ -27356,8 +27415,8 @@ const Window = _ref => {
|
|
|
27356
27415
|
const handleMouseMove = e => {
|
|
27357
27416
|
if (dragging.current && dragPosition.current.popup && dragPosition.current.mouse) {
|
|
27358
27417
|
if (!popupPosition.current) popupPosition.current = {
|
|
27359
|
-
x: '
|
|
27360
|
-
y: '
|
|
27418
|
+
x: '0rem',
|
|
27419
|
+
y: '0rem'
|
|
27361
27420
|
};
|
|
27362
27421
|
const newX = dragPosition.current.popup.x + e.clientX - dragPosition.current.mouse.x;
|
|
27363
27422
|
const newY = dragPosition.current.popup.y + e.clientY - dragPosition.current.mouse.y;
|
|
@@ -30694,7 +30753,6 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
30694
30753
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
30695
30754
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
30696
30755
|
const _ = __webpack_require__(42551);
|
|
30697
|
-
const editBorder = '2px solid black';
|
|
30698
30756
|
const Chevron = _ref => {
|
|
30699
30757
|
let {
|
|
30700
30758
|
direction = 'right',
|
|
@@ -30756,7 +30814,7 @@ const EditableTextNode = _ref2 => {
|
|
|
30756
30814
|
onChange: handleChange,
|
|
30757
30815
|
style: {
|
|
30758
30816
|
flexGrow: 1,
|
|
30759
|
-
borderRight: disabled ? 'none' :
|
|
30817
|
+
borderRight: disabled ? 'none' : _constants.CAP_ASK_AIRA_COLORS.BORDER_EDIT
|
|
30760
30818
|
},
|
|
30761
30819
|
disabled: disabled
|
|
30762
30820
|
});
|
|
@@ -30844,7 +30902,7 @@ const ExpressionNode = _ref3 => {
|
|
|
30844
30902
|
children: [!enabled && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
30845
30903
|
style: {
|
|
30846
30904
|
fontFamily: 'monospace',
|
|
30847
|
-
borderRight: disabled ? 'none' :
|
|
30905
|
+
borderRight: disabled ? 'none' : _constants.CAP_ASK_AIRA_COLORS.BORDER_EDIT,
|
|
30848
30906
|
wordBreak: 'break-all'
|
|
30849
30907
|
},
|
|
30850
30908
|
children: expression
|
|
@@ -30930,9 +30988,9 @@ const InferenceNodeView = _ref5 => {
|
|
|
30930
30988
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
30931
30989
|
style: {
|
|
30932
30990
|
position: 'absolute',
|
|
30933
|
-
width: '
|
|
30991
|
+
width: '0.0714rem',
|
|
30934
30992
|
height: 'calc(100% - 1rem)',
|
|
30935
|
-
backgroundColor:
|
|
30993
|
+
backgroundColor: _constants.CAP_ASK_AIRA_COLORS.SHADOW_GREY,
|
|
30936
30994
|
left: "calc(" + chevronSize + " / 2)",
|
|
30937
30995
|
top: chevronSize,
|
|
30938
30996
|
display: isOpen ? 'block' : 'none'
|
|
@@ -31014,9 +31072,9 @@ const Inference = _ref6 => {
|
|
|
31014
31072
|
style: {
|
|
31015
31073
|
padding: '0.4rem 0.75rem',
|
|
31016
31074
|
borderRadius: '0.5rem',
|
|
31017
|
-
backgroundColor:
|
|
31075
|
+
backgroundColor: _constants.CAP_ASK_AIRA_COLORS.HIGHLIGHT_BG,
|
|
31018
31076
|
margin: '1rem 0',
|
|
31019
|
-
boxShadow:
|
|
31077
|
+
boxShadow: "0.0714rem 0.0714rem 0.2857rem " + _constants.CAP_ASK_AIRA_COLORS.SHADOW_GREY
|
|
31020
31078
|
},
|
|
31021
31079
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
31022
31080
|
style: {
|
|
@@ -31186,7 +31244,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
|
31186
31244
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
31187
31245
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
31188
31246
|
// Module
|
|
31189
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-ask-aira-rule-summarization-bot-tabs-container{display:flex;width:100%;justify-content:space-evenly}.cap-ask-aira-rule-summarization-bot-tab-item{flex:1;text-align:center;padding:1rem;cursor:pointer;font-weight:500;color:#
|
|
31247
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.cap-ask-aira-rule-summarization-bot-tabs-container{display:flex;width:100%;justify-content:space-evenly}.cap-ask-aira-rule-summarization-bot-tab-item{flex:1;text-align:center;padding:1rem;cursor:pointer;font-weight:500;color:#253858;transition:background-color .3s ease,color .3s ease}.cap-ask-aira-rule-summarization-bot-tab-item.active{background-color:#fff;border-bottom:.1429rem solid #1890ff;color:#1890ff}.cap-ask-aira-rule-summarization-bot-tab-content{padding:1rem}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content{padding:0rem .87rem 1.12rem .87rem;height:100%;display:flex;flex-direction:column;margin-top:1rem}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .rule-summarize-bot{text-align:center;margin:8rem 4.65rem}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .three-star-icon{margin-bottom:.715rem;border-radius:100%;padding:.715rem}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .rule-summarize-bot-desc{margin-top:.86rem;margin-bottom:2.86rem}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .conversation{display:flex;flex-direction:column;margin-bottom:.7rem;width:100%}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .query-sent{padding:.573rem .86rem;background:#d4e1fc;align-self:flex-end;border-radius:.25rem;margin:.5rem .5rem 1.2rem .5rem;user-select:text}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .answer-received{border:.0625rem solid #dfe2e7;padding:.573rem .86rem;border-radius:.25rem;align-self:normal;word-wrap:break-word;width:100%;box-sizing:border-box;user-select:text;overflow-y:auto;max-height:30rem}.cap-ask-aira-rule-summarization-bot-tab-content .cap-ask-aira-rule-summarization-bot-content .chat-loader-icon{padding:.48rem;display:flex}.cap-ask-aira-rule-summarization-bot-meta-data{display:flex;margin:.715rem;justify-content:space-between}`, ""]);
|
|
31190
31248
|
// Exports
|
|
31191
31249
|
___CSS_LOADER_EXPORT___.locals = {
|
|
31192
31250
|
"cap-ask-aira-rule-summarization-bot-tabs-container": `cap-ask-aira-rule-summarization-bot-tabs-container`,
|