@progress/kendo-react-conversational-ui 11.4.0-develop.9 → 12.0.0-develop.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.
Files changed (81) hide show
  1. package/README.md +80 -23
  2. package/ai-prompt/AIPrompt.js +1 -1
  3. package/ai-prompt/AIPrompt.mjs +40 -38
  4. package/ai-prompt/views/AIPromptView.js +2 -2
  5. package/ai-prompt/views/AIPromptView.mjs +42 -47
  6. package/ai-prompt/views/constants.js +1 -1
  7. package/ai-prompt/views/constants.mjs +1 -1
  8. package/chat/components/Action.js +8 -0
  9. package/chat/components/Action.mjs +37 -0
  10. package/chat/components/ActionGroup.js +8 -0
  11. package/chat/components/ActionGroup.mjs +56 -0
  12. package/chat/components/Attachment.js +8 -0
  13. package/chat/components/Attachment.mjs +23 -0
  14. package/chat/components/AttachmentGroup.js +8 -0
  15. package/chat/components/AttachmentGroup.mjs +66 -0
  16. package/chat/components/Chat.js +8 -0
  17. package/chat/components/Chat.mjs +388 -0
  18. package/chat/components/ChatContext.js +8 -0
  19. package/{components/base/FocusableUponSelection.mjs → chat/components/ChatContext.mjs} +10 -10
  20. package/chat/components/ChatMessage.js +8 -0
  21. package/chat/components/ChatMessage.mjs +284 -0
  22. package/chat/components/DateMarker.js +8 -0
  23. package/chat/components/DateMarker.mjs +22 -0
  24. package/chat/components/Header.js +8 -0
  25. package/{utils.mjs → chat/components/Header.mjs} +4 -2
  26. package/chat/components/MessageGroup.js +8 -0
  27. package/chat/components/MessageGroup.mjs +88 -0
  28. package/chat/components/NewMessage.js +8 -0
  29. package/chat/components/NewMessage.mjs +264 -0
  30. package/chat/components/Notification.js +8 -0
  31. package/chat/components/Notification.mjs +24 -0
  32. package/chat/components/SuggestionsGroup.js +1 -1
  33. package/chat/components/SuggestionsGroup.mjs +39 -20
  34. package/chat/components/elements/FileBox.js +8 -0
  35. package/chat/components/elements/FileBox.mjs +69 -0
  36. package/chat/components/elements/PinnedMessage.js +8 -0
  37. package/chat/components/elements/PinnedMessage.mjs +46 -0
  38. package/chat/components/templates/HeroCard.js +8 -0
  39. package/chat/components/templates/HeroCard.mjs +26 -0
  40. package/chat/utils/fieldMapping.js +8 -0
  41. package/chat/utils/fieldMapping.mjs +79 -0
  42. package/chat/utils.js +8 -0
  43. package/chat/utils.mjs +65 -0
  44. package/dist/cdn/js/kendo-react-conversational-ui.js +1 -1
  45. package/index.d.mts +437 -165
  46. package/index.d.ts +437 -165
  47. package/index.js +1 -1
  48. package/index.mjs +34 -27
  49. package/messages/index.js +1 -1
  50. package/messages/index.mjs +38 -16
  51. package/package-metadata.js +1 -1
  52. package/package-metadata.mjs +2 -2
  53. package/package.json +7 -7
  54. package/components/Action.js +0 -8
  55. package/components/Action.mjs +0 -45
  56. package/components/ActionGroup.js +0 -8
  57. package/components/ActionGroup.mjs +0 -36
  58. package/components/Attachment.js +0 -8
  59. package/components/Attachment.mjs +0 -50
  60. package/components/AttachmentGroup.js +0 -8
  61. package/components/AttachmentGroup.mjs +0 -64
  62. package/components/Chat.js +0 -8
  63. package/components/Chat.mjs +0 -214
  64. package/components/ChatMessage.js +0 -8
  65. package/components/ChatMessage.mjs +0 -63
  66. package/components/ChatToolbar.js +0 -8
  67. package/components/ChatToolbar.mjs +0 -33
  68. package/components/DateMarker.js +0 -8
  69. package/components/DateMarker.mjs +0 -19
  70. package/components/MessageGroup.js +0 -8
  71. package/components/MessageGroup.mjs +0 -67
  72. package/components/NewMessage.js +0 -8
  73. package/components/NewMessage.mjs +0 -106
  74. package/components/base/FocusableUponSelection.js +0 -8
  75. package/components/base/SelectableItemsContainer.js +0 -8
  76. package/components/base/SelectableItemsContainer.mjs +0 -42
  77. package/components/templates/HeroCard.js +0 -8
  78. package/components/templates/HeroCard.mjs +0 -44
  79. package/utils.js +0 -8
  80. /package/{ViewItem.js → chat/ViewItem.js} +0 -0
  81. /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