@progress/kendo-react-conversational-ui 11.4.0 → 12.0.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/ai-prompt/views/AIPromptView.js +2 -2
  2. package/ai-prompt/views/AIPromptView.mjs +26 -26
  3. package/chat/components/Action.js +8 -0
  4. package/chat/components/Action.mjs +37 -0
  5. package/chat/components/ActionGroup.js +8 -0
  6. package/chat/components/ActionGroup.mjs +56 -0
  7. package/chat/components/Attachment.js +8 -0
  8. package/chat/components/Attachment.mjs +23 -0
  9. package/chat/components/AttachmentGroup.js +8 -0
  10. package/chat/components/AttachmentGroup.mjs +66 -0
  11. package/chat/components/Chat.js +8 -0
  12. package/chat/components/Chat.mjs +388 -0
  13. package/chat/components/ChatContext.js +8 -0
  14. package/{components/base/FocusableUponSelection.mjs → chat/components/ChatContext.mjs} +10 -10
  15. package/chat/components/ChatMessage.js +8 -0
  16. package/chat/components/ChatMessage.mjs +284 -0
  17. package/chat/components/DateMarker.js +8 -0
  18. package/chat/components/DateMarker.mjs +22 -0
  19. package/chat/components/Header.js +8 -0
  20. package/{utils.mjs → chat/components/Header.mjs} +4 -2
  21. package/chat/components/MessageGroup.js +8 -0
  22. package/chat/components/MessageGroup.mjs +88 -0
  23. package/chat/components/NewMessage.js +8 -0
  24. package/chat/components/NewMessage.mjs +264 -0
  25. package/chat/components/Notification.js +8 -0
  26. package/chat/components/Notification.mjs +24 -0
  27. package/chat/components/SuggestionsGroup.js +1 -1
  28. package/chat/components/SuggestionsGroup.mjs +40 -23
  29. package/chat/components/elements/FileBox.js +8 -0
  30. package/chat/components/elements/FileBox.mjs +69 -0
  31. package/chat/components/elements/PinnedMessage.js +8 -0
  32. package/chat/components/elements/PinnedMessage.mjs +46 -0
  33. package/chat/components/templates/HeroCard.js +8 -0
  34. package/chat/components/templates/HeroCard.mjs +26 -0
  35. package/chat/utils/fieldMapping.js +8 -0
  36. package/chat/utils/fieldMapping.mjs +79 -0
  37. package/chat/utils.js +8 -0
  38. package/chat/utils.mjs +65 -0
  39. package/dist/cdn/js/kendo-react-conversational-ui.js +1 -1
  40. package/index.d.mts +423 -165
  41. package/index.d.ts +423 -165
  42. package/index.js +1 -1
  43. package/index.mjs +34 -27
  44. package/messages/index.js +1 -1
  45. package/messages/index.mjs +38 -16
  46. package/package-metadata.js +1 -1
  47. package/package-metadata.mjs +2 -2
  48. package/package.json +7 -7
  49. package/components/Action.js +0 -8
  50. package/components/Action.mjs +0 -45
  51. package/components/ActionGroup.js +0 -8
  52. package/components/ActionGroup.mjs +0 -36
  53. package/components/Attachment.js +0 -8
  54. package/components/Attachment.mjs +0 -50
  55. package/components/AttachmentGroup.js +0 -8
  56. package/components/AttachmentGroup.mjs +0 -64
  57. package/components/Chat.js +0 -8
  58. package/components/Chat.mjs +0 -214
  59. package/components/ChatMessage.js +0 -8
  60. package/components/ChatMessage.mjs +0 -63
  61. package/components/ChatToolbar.js +0 -8
  62. package/components/ChatToolbar.mjs +0 -33
  63. package/components/DateMarker.js +0 -8
  64. package/components/DateMarker.mjs +0 -19
  65. package/components/MessageGroup.js +0 -8
  66. package/components/MessageGroup.mjs +0 -67
  67. package/components/NewMessage.js +0 -8
  68. package/components/NewMessage.mjs +0 -106
  69. package/components/base/FocusableUponSelection.js +0 -8
  70. package/components/base/SelectableItemsContainer.js +0 -8
  71. package/components/base/SelectableItemsContainer.mjs +0 -42
  72. package/components/templates/HeroCard.js +0 -8
  73. package/components/templates/HeroCard.mjs +0 -44
  74. package/utils.js +0 -8
  75. /package/{ViewItem.js → chat/ViewItem.js} +0 -0
  76. /package/{ViewItem.mjs → chat/ViewItem.mjs} +0 -0
@@ -1,44 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- import * as e from "react";
9
- import { Button as r } from "@progress/kendo-react-buttons";
10
- import { dispatchEvent as a } from "@progress/kendo-react-common";
11
- class o extends e.Component {
12
- constructor() {
13
- super(...arguments), this.onBtnClick = (t, i) => {
14
- a(this.props.onActionExecute, i, this, { action: t });
15
- };
16
- }
17
- /**
18
- * @hidden
19
- */
20
- render() {
21
- return /* @__PURE__ */ e.createElement("div", { className: "k-card" }, /* @__PURE__ */ e.createElement(
22
- "img",
23
- {
24
- className: "k-card-image",
25
- src: this.props.imageUrl,
26
- style: { maxWidth: this.props.imageMaxWidth }
27
- }
28
- ), /* @__PURE__ */ e.createElement("div", { className: "k-card-body" }, this.getTitleView(), this.getSubtitleView()), /* @__PURE__ */ e.createElement("div", { className: "k-card-actions k-card-actions-vertical" }, this.getActionsView()));
29
- }
30
- getActionsView() {
31
- return this.props.actions.map((t, i) => /* @__PURE__ */ e.createElement("span", { className: "k-card-action", key: i }, /* @__PURE__ */ e.createElement(r, { fillMode: "flat", onClick: (s) => this.onBtnClick(t, s) }, t.title)));
32
- }
33
- getTitleView() {
34
- let t = null;
35
- return this.props.title && (t = /* @__PURE__ */ e.createElement("h5", { className: "k-card-title" }, this.props.title)), t;
36
- }
37
- getSubtitleView() {
38
- let t = null;
39
- return this.props.subtitle && (t = /* @__PURE__ */ e.createElement("h6", { className: "k-card-subtitle" }, this.props.subtitle)), t;
40
- }
41
- }
42
- export {
43
- o as HeroCard
44
- };
package/utils.js DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
7
- */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(t,o)=>t&&o.author&&t.id===o.author.id;exports.isAuthor=i;
File without changes
File without changes