@progress/kendo-react-conversational-ui 6.1.1-dev.202311151536 → 7.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 (109) hide show
  1. package/{dist/npm/ChatPropsAndState.d.ts → ChatPropsAndState.d.ts} +5 -2
  2. package/{dist/npm/Events.d.ts → Events.d.ts} +5 -1
  3. package/LICENSE.md +1 -1
  4. package/{dist/es/ViewItem.d.ts → ViewItem.d.ts} +6 -2
  5. package/{dist/npm/api → api}/action.interface.d.ts +5 -1
  6. package/{dist/es/api → api}/attachment.interface.d.ts +5 -1
  7. package/{dist/npm/api → api}/message.interface.d.ts +4 -0
  8. package/{dist/es/api → api}/user.interface.d.ts +4 -0
  9. package/{dist/npm/components → components}/Action.d.ts +6 -3
  10. package/{dist/npm/components → components}/ActionGroup.d.ts +5 -2
  11. package/{dist/npm/components → components}/Attachment.d.ts +6 -3
  12. package/{dist/npm/components → components}/AttachmentGroup.d.ts +5 -2
  13. package/{dist/es/components → components}/Chat.d.ts +6 -2
  14. package/{dist/npm/components → components}/ChatMessage.d.ts +5 -1
  15. package/components/DateMarker.d.ts +18 -0
  16. package/{dist/npm/components → components}/MessageGroup.d.ts +6 -2
  17. package/{dist/npm/components → components}/NewMessage.d.ts +6 -2
  18. package/components/Toolbar.d.ts +13 -0
  19. package/{dist/npm/components → components}/base/FocusableUponSelection.d.ts +4 -0
  20. package/{dist/es/components → components}/base/SelectableItemsContainer.d.ts +4 -0
  21. package/{dist/npm/components → components}/templates/HeroCard.d.ts +6 -2
  22. package/dist/cdn/js/kendo-react-conversational-ui.js +5 -1
  23. package/index.d.ts +15 -0
  24. package/index.js +5 -0
  25. package/index.mjs +671 -0
  26. package/{dist/npm/messages → messages}/index.d.ts +4 -0
  27. package/package-metadata.d.ts +9 -0
  28. package/package.json +29 -39
  29. package/utils.d.ts +9 -0
  30. package/about.md +0 -3
  31. package/dist/es/ChatPropsAndState.d.ts +0 -92
  32. package/dist/es/ChatPropsAndState.js +0 -1
  33. package/dist/es/Events.d.ts +0 -38
  34. package/dist/es/Events.js +0 -1
  35. package/dist/es/ViewItem.js +0 -90
  36. package/dist/es/api/action.interface.d.ts +0 -31
  37. package/dist/es/api/action.interface.js +0 -1
  38. package/dist/es/api/attachment.interface.js +0 -1
  39. package/dist/es/api/message.interface.d.ts +0 -56
  40. package/dist/es/api/message.interface.js +0 -1
  41. package/dist/es/api/user.interface.js +0 -1
  42. package/dist/es/components/Action.d.ts +0 -20
  43. package/dist/es/components/Action.js +0 -43
  44. package/dist/es/components/ActionGroup.d.ts +0 -24
  45. package/dist/es/components/ActionGroup.js +0 -40
  46. package/dist/es/components/Attachment.d.ts +0 -25
  47. package/dist/es/components/Attachment.js +0 -68
  48. package/dist/es/components/AttachmentGroup.d.ts +0 -24
  49. package/dist/es/components/AttachmentGroup.js +0 -92
  50. package/dist/es/components/Chat.js +0 -210
  51. package/dist/es/components/ChatMessage.d.ts +0 -68
  52. package/dist/es/components/ChatMessage.js +0 -83
  53. package/dist/es/components/DateMarker.d.ts +0 -14
  54. package/dist/es/components/DateMarker.js +0 -33
  55. package/dist/es/components/MessageGroup.d.ts +0 -25
  56. package/dist/es/components/MessageGroup.js +0 -61
  57. package/dist/es/components/NewMessage.d.ts +0 -34
  58. package/dist/es/components/NewMessage.js +0 -81
  59. package/dist/es/components/Toolbar.d.ts +0 -9
  60. package/dist/es/components/Toolbar.js +0 -31
  61. package/dist/es/components/base/FocusableUponSelection.d.ts +0 -20
  62. package/dist/es/components/base/FocusableUponSelection.js +0 -35
  63. package/dist/es/components/base/SelectableItemsContainer.js +0 -113
  64. package/dist/es/components/templates/HeroCard.d.ts +0 -41
  65. package/dist/es/components/templates/HeroCard.js +0 -64
  66. package/dist/es/main.d.ts +0 -11
  67. package/dist/es/main.js +0 -10
  68. package/dist/es/messages/index.d.ts +0 -30
  69. package/dist/es/messages/index.js +0 -31
  70. package/dist/es/package-metadata.d.ts +0 -5
  71. package/dist/es/package-metadata.js +0 -11
  72. package/dist/es/utils.d.ts +0 -5
  73. package/dist/es/utils.js +0 -6
  74. package/dist/npm/ChatPropsAndState.js +0 -2
  75. package/dist/npm/Events.js +0 -2
  76. package/dist/npm/ViewItem.d.ts +0 -57
  77. package/dist/npm/ViewItem.js +0 -94
  78. package/dist/npm/api/action.interface.js +0 -2
  79. package/dist/npm/api/attachment.interface.d.ts +0 -32
  80. package/dist/npm/api/attachment.interface.js +0 -2
  81. package/dist/npm/api/message.interface.js +0 -2
  82. package/dist/npm/api/user.interface.d.ts +0 -23
  83. package/dist/npm/api/user.interface.js +0 -2
  84. package/dist/npm/components/Action.js +0 -45
  85. package/dist/npm/components/ActionGroup.js +0 -42
  86. package/dist/npm/components/Attachment.js +0 -70
  87. package/dist/npm/components/AttachmentGroup.js +0 -94
  88. package/dist/npm/components/Chat.d.ts +0 -72
  89. package/dist/npm/components/Chat.js +0 -213
  90. package/dist/npm/components/ChatMessage.js +0 -86
  91. package/dist/npm/components/DateMarker.d.ts +0 -14
  92. package/dist/npm/components/DateMarker.js +0 -35
  93. package/dist/npm/components/MessageGroup.js +0 -63
  94. package/dist/npm/components/NewMessage.js +0 -83
  95. package/dist/npm/components/Toolbar.d.ts +0 -9
  96. package/dist/npm/components/Toolbar.js +0 -33
  97. package/dist/npm/components/base/FocusableUponSelection.js +0 -38
  98. package/dist/npm/components/base/SelectableItemsContainer.d.ts +0 -33
  99. package/dist/npm/components/base/SelectableItemsContainer.js +0 -116
  100. package/dist/npm/components/templates/HeroCard.js +0 -67
  101. package/dist/npm/main.d.ts +0 -11
  102. package/dist/npm/main.js +0 -27
  103. package/dist/npm/messages/index.js +0 -34
  104. package/dist/npm/package-metadata.d.ts +0 -5
  105. package/dist/npm/package-metadata.js +0 -14
  106. package/dist/npm/utils.d.ts +0 -5
  107. package/dist/npm/utils.js +0 -10
  108. package/dist/systemjs/kendo-react-conversational-ui.js +0 -1
  109. package/e2e-next/conversationalui.basic.tests.ts +0 -24
@@ -1,5 +1,8 @@
1
- /// <reference types="react" />
2
- import { Message, User, ChatActionExecuteEvent, ChatMessageSendEvent, ChatToolbarActionExecuteEvent } from './main';
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Message, User, ChatActionExecuteEvent, ChatMessageSendEvent, ChatToolbarActionExecuteEvent } from '.';
3
6
  import { ChatMessageProps, ChatMessageTemplateProps } from './components/ChatMessage';
4
7
  /**
5
8
  * Represents a Chat message box.
@@ -1,4 +1,8 @@
1
- import { Chat, Action, Message, HeroCard } from './main';
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Chat, Action, Message, HeroCard } from '.';
2
6
  import { BaseEvent } from '@progress/kendo-react-common';
3
7
  /**
4
8
  * The arguments for the `actionexecute` event of the hero card.
package/LICENSE.md CHANGED
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**End User Lic
8
8
 
9
9
  All available KendoReact commercial licenses may be obtained at the [KendoReact website](https://www.telerik.com/kendo-react-ui/pricing).
10
10
 
11
- *Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
11
+ *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
@@ -1,4 +1,8 @@
1
- import { Message, User, Action, Attachment, AttachmentLayout } from './main';
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Message, User, Action, Attachment, AttachmentLayout } from '.';
2
6
  /**
3
7
  * @hidden
4
8
  */
@@ -50,7 +54,7 @@ export interface DateMarker {
50
54
  /**
51
55
  * @hidden
52
56
  */
53
- export declare type ViewItem = MessageGroup | AttachmentGroup | ActionGroup | DateMarker;
57
+ export type ViewItem = MessageGroup | AttachmentGroup | ActionGroup | DateMarker;
54
58
  /**
55
59
  * @hidden
56
60
  */
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  /**
2
6
  * The button type of the quick action
3
7
  * ([see examples]({% slug suggested_actions_chat %})).
@@ -9,7 +13,7 @@
9
13
  * * other&mdash;
10
14
  * Handled by user code in the [`ExecuteActionEvent`]({% slug api_conversational-ui_chatactionexecuteevent %}).
11
15
  */
12
- export declare type ActionType = 'openUrl' | 'reply' | 'call' | any;
16
+ export type ActionType = 'openUrl' | 'reply' | 'call' | any;
13
17
  /**
14
18
  * Defines a quick action for a message.
15
19
  * The value is interpreted according to the specified action type.
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  /**
2
6
  * Represents a message attachment
3
7
  * ([see examples]({% slug attachments_chat %})).
@@ -29,4 +33,4 @@ export interface Attachment {
29
33
  * * `"list"`&mdash;A vertical list.
30
34
  * * `"carousel"`&mdash;A horizontal, scrollable list. Also called a card deck.
31
35
  */
32
- export declare type AttachmentLayout = 'list' | 'carousel';
36
+ export type AttachmentLayout = 'list' | 'carousel';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import { Action } from './action.interface';
2
6
  import { Attachment, AttachmentLayout } from './attachment.interface';
3
7
  import { User } from './user.interface';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  /**
2
6
  * Represents a participant in a Chat conversation.
3
7
  */
@@ -1,5 +1,8 @@
1
- /// <reference types="react" />
2
- import { Action as ActionModel } from './../main';
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Action as ActionModel } from './..';
3
6
  import { FocusableUponSelection, FocusableUponSelectionProps } from './base/FocusableUponSelection';
4
7
  /**
5
8
  * @hidden
@@ -14,7 +17,7 @@ export interface ActionProps extends FocusableUponSelectionProps {
14
17
  * @hidden
15
18
  */
16
19
  export default class Action extends FocusableUponSelection<ActionProps, {}> {
17
- render(): JSX.Element;
20
+ render(): import("react/jsx-runtime").JSX.Element;
18
21
  private onKeyDown;
19
22
  private getClassNames;
20
23
  }
@@ -1,4 +1,7 @@
1
- /// <reference types="react" />
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
2
5
  import { ActionGroup as ActionGroupModel } from './../ViewItem';
3
6
  import { SelectableItemsContainer, SelectableItemsContainerProps, SelectableItemsContainerState } from './base/SelectableItemsContainer';
4
7
  /**
@@ -19,6 +22,6 @@ export interface ActionGroupState extends SelectableItemsContainerState {
19
22
  */
20
23
  export default class ActionGroup extends SelectableItemsContainer<ActionGroupProps, ActionGroupState> {
21
24
  constructor(props: any);
22
- render(): JSX.Element;
25
+ render(): import("react/jsx-runtime").JSX.Element;
23
26
  private getClassNames;
24
27
  }
@@ -1,5 +1,8 @@
1
- /// <reference types="react" />
2
- import { Attachment as AttachmentModel } from './../main';
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Attachment as AttachmentModel } from './..';
3
6
  import { FocusableUponSelection, FocusableUponSelectionProps } from './base/FocusableUponSelection';
4
7
  /**
5
8
  * @hidden
@@ -16,7 +19,7 @@ export interface AttachmentProps extends FocusableUponSelectionProps {
16
19
  * @hidden
17
20
  */
18
21
  export default class Attachment extends FocusableUponSelection<AttachmentProps, {}> {
19
- render(): JSX.Element;
22
+ render(): import("react/jsx-runtime").JSX.Element;
20
23
  private getTabIndexValue;
21
24
  private getClassNames;
22
25
  private getTitleView;
@@ -1,4 +1,7 @@
1
- /// <reference types="react" />
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
2
5
  import { AttachmentGroup as AttachmentGroupModel } from './../ViewItem';
3
6
  import { SelectableItemsContainer, SelectableItemsContainerProps, SelectableItemsContainerState } from './base/SelectableItemsContainer';
4
7
  /**
@@ -12,7 +15,7 @@ export interface AttachmentGroupProps extends SelectableItemsContainerProps {
12
15
  * @hidden
13
16
  */
14
17
  export default class AttachmentGroup extends SelectableItemsContainer<AttachmentGroupProps, SelectableItemsContainerState> {
15
- render(): JSX.Element;
18
+ render(): import("react/jsx-runtime").JSX.Element;
16
19
  protected get isKeyboardNavigationLeftRight(): boolean;
17
20
  private getLastItemIndex;
18
21
  private getLeftScrollBtn;
@@ -1,7 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as PropTypes from 'prop-types';
2
6
  import * as React from 'react';
3
7
  import { ChatState } from './../ChatPropsAndState';
4
- import { ChatProps } from './../main';
8
+ import { ChatProps } from './..';
5
9
  import { ChatMessage } from './ChatMessage';
6
10
  /**
7
11
  * Represents the [KendoReact Chat component]({% slug overview_convui %}).
@@ -45,7 +49,7 @@ export declare class Chat extends React.Component<ChatProps, ChatState> {
45
49
  /**
46
50
  * @hidden
47
51
  */
48
- render(): JSX.Element;
52
+ render(): import("react/jsx-runtime").JSX.Element;
49
53
  /**
50
54
  * @hidden
51
55
  */
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { MessageModel } from './../ViewItem';
3
7
  import { FocusableUponSelection, FocusableUponSelectionProps } from './base/FocusableUponSelection';
@@ -60,7 +64,7 @@ export declare class ChatMessage extends FocusableUponSelection<ChatMessageProps
60
64
  /**
61
65
  * @hidden
62
66
  */
63
- render(): JSX.Element;
67
+ render(): import("react/jsx-runtime").JSX.Element;
64
68
  private getMainView;
65
69
  private getTimestampView;
66
70
  private getStatusView;
@@ -0,0 +1,18 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { DateMarker as DateMarkerModel } from './../ViewItem';
7
+ /**
8
+ * @hidden
9
+ */
10
+ export interface DateMarkerProps {
11
+ item: DateMarkerModel;
12
+ }
13
+ /**
14
+ * @hidden
15
+ */
16
+ export default class DateMarker extends React.Component<DateMarkerProps, {}> {
17
+ render(): import("react/jsx-runtime").JSX.Element;
18
+ }
@@ -1,5 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
- import { User } from './../main';
6
+ import { User } from './..';
3
7
  import { MessageGroup as MessageGroupModel } from './../ViewItem';
4
8
  import { ChatMessageProps } from './ChatMessage';
5
9
  /**
@@ -19,7 +23,7 @@ export interface MessageGroupProps {
19
23
  * @hidden
20
24
  */
21
25
  export default class MessageGroup extends React.Component<MessageGroupProps, {}> {
22
- render(): JSX.Element;
26
+ render(): import("react/jsx-runtime").JSX.Element;
23
27
  private getMsgGroupClassNames;
24
28
  private getGroupMessagesView;
25
29
  }
@@ -1,5 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
- import { User } from './../main';
6
+ import { User } from './..';
3
7
  import { ChatMessageBoxProps } from '../ChatPropsAndState';
4
8
  /**
5
9
  * @hidden
@@ -26,7 +30,7 @@ export interface NewMessageState {
26
30
  export default class NewMessage extends React.Component<NewMessageProps, NewMessageState> {
27
31
  readonly state: NewMessageState;
28
32
  private inputEl;
29
- render(): JSX.Element;
33
+ render(): import("react/jsx-runtime").JSX.Element;
30
34
  focusInput(): void;
31
35
  private onInputKeyDown;
32
36
  private getClassNames;
@@ -0,0 +1,13 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export default class Toolbar extends React.Component<{
10
+ children?: React.ReactNode;
11
+ }> {
12
+ render(): import("react/jsx-runtime").JSX.Element;
13
+ }
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  /**
3
7
  * @hidden
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { ActionGroup, AttachmentGroup } from './../../ViewItem';
3
7
  /**
@@ -1,5 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
- import { Action, HeroCardActionExecuteEvent } from './../../main';
6
+ import { Action, HeroCardActionExecuteEvent } from './../..';
3
7
  export interface HeroCardProps {
4
8
  /**
5
9
  * The URL of the hero card image.
@@ -33,7 +37,7 @@ export declare class HeroCard extends React.Component<HeroCardProps, {}> {
33
37
  /**
34
38
  * @hidden
35
39
  */
36
- render(): JSX.Element;
40
+ render(): import("react/jsx-runtime").JSX.Element;
37
41
  private onBtnClick;
38
42
  private getActionsView;
39
43
  private getTitleView;