UNPKG

@progress/kendo-react-conversational-ui

Version:

React Chat component allows the user to participate in chat sessions with users or chat bots. KendoReact Conversational UI components

9 lines (8 loc) 950 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=["allowMessageCollapse","messageWidthMode","showAvatar","showUsername","messageTemplate","messageContentTemplate","messageToolbarActions","messageContextMenuActions","fileActions"],v=(e,t)=>{var o,m;return((o=e==null?void 0:e.author)==null?void 0:o.id)===t||((m=e==null?void 0:e.author)==null?void 0:m.id)===String(t)};function T(e,t,o,m,l){const c=v(e,t)?m:l,n={};return h.forEach(a=>{var d;n[a]=(d=c==null?void 0:c[a])!=null?d:o==null?void 0:o[a]}),n}exports.resolveMessageSettings=T;