@progress/kendo-vue-conversational-ui 4.3.0-dev.202401291303

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 (75) hide show
  1. package/LICENSE.md +11 -0
  2. package/NOTICE.txt +86 -0
  3. package/README.md +53 -0
  4. package/dist/cdn/js/kendo-vue-conversational-ui.js +1 -0
  5. package/dist/es/additionalTypes.ts +21 -0
  6. package/dist/es/ai-prompt/AIPrompt.d.ts +117 -0
  7. package/dist/es/ai-prompt/AIPrompt.js +117 -0
  8. package/dist/es/ai-prompt/AIPromptContent.d.ts +47 -0
  9. package/dist/es/ai-prompt/AIPromptContent.js +33 -0
  10. package/dist/es/ai-prompt/AIPromptExpander.d.ts +45 -0
  11. package/dist/es/ai-prompt/AIPromptExpander.js +66 -0
  12. package/dist/es/ai-prompt/AIPromptFooter.d.ts +44 -0
  13. package/dist/es/ai-prompt/AIPromptFooter.js +33 -0
  14. package/dist/es/ai-prompt/AIPromptHeader.d.ts +71 -0
  15. package/dist/es/ai-prompt/AIPromptHeader.js +141 -0
  16. package/dist/es/ai-prompt/views/AIPromptCommandsView.d.ts +87 -0
  17. package/dist/es/ai-prompt/views/AIPromptCommandsView.js +116 -0
  18. package/dist/es/ai-prompt/views/AIPromptOutputView.d.ts +77 -0
  19. package/dist/es/ai-prompt/views/AIPromptOutputView.js +2048 -0
  20. package/dist/es/ai-prompt/views/AIPromptView.d.ts +56 -0
  21. package/dist/es/ai-prompt/views/AIPromptView.js +297 -0
  22. package/dist/es/ai-prompt/views/AIPromptViewRender.d.ts +51 -0
  23. package/dist/es/ai-prompt/views/AIPromptViewRender.js +39 -0
  24. package/dist/es/main.d.ts +8 -0
  25. package/dist/es/main.js +8 -0
  26. package/dist/es/messages/main.d.ts +20 -0
  27. package/dist/es/messages/main.js +21 -0
  28. package/dist/esm/additionalTypes.ts +21 -0
  29. package/dist/esm/ai-prompt/AIPrompt.d.ts +117 -0
  30. package/dist/esm/ai-prompt/AIPrompt.js +117 -0
  31. package/dist/esm/ai-prompt/AIPromptContent.d.ts +47 -0
  32. package/dist/esm/ai-prompt/AIPromptContent.js +33 -0
  33. package/dist/esm/ai-prompt/AIPromptExpander.d.ts +45 -0
  34. package/dist/esm/ai-prompt/AIPromptExpander.js +66 -0
  35. package/dist/esm/ai-prompt/AIPromptFooter.d.ts +44 -0
  36. package/dist/esm/ai-prompt/AIPromptFooter.js +33 -0
  37. package/dist/esm/ai-prompt/AIPromptHeader.d.ts +71 -0
  38. package/dist/esm/ai-prompt/AIPromptHeader.js +141 -0
  39. package/dist/esm/ai-prompt/views/AIPromptCommandsView.d.ts +87 -0
  40. package/dist/esm/ai-prompt/views/AIPromptCommandsView.js +116 -0
  41. package/dist/esm/ai-prompt/views/AIPromptOutputView.d.ts +77 -0
  42. package/dist/esm/ai-prompt/views/AIPromptOutputView.js +2048 -0
  43. package/dist/esm/ai-prompt/views/AIPromptView.d.ts +56 -0
  44. package/dist/esm/ai-prompt/views/AIPromptView.js +297 -0
  45. package/dist/esm/ai-prompt/views/AIPromptViewRender.d.ts +51 -0
  46. package/dist/esm/ai-prompt/views/AIPromptViewRender.js +39 -0
  47. package/dist/esm/main.d.ts +8 -0
  48. package/dist/esm/main.js +8 -0
  49. package/dist/esm/messages/main.d.ts +20 -0
  50. package/dist/esm/messages/main.js +21 -0
  51. package/dist/esm/package.json +3 -0
  52. package/dist/npm/additionalTypes.ts +21 -0
  53. package/dist/npm/ai-prompt/AIPrompt.d.ts +117 -0
  54. package/dist/npm/ai-prompt/AIPrompt.js +124 -0
  55. package/dist/npm/ai-prompt/AIPromptContent.d.ts +47 -0
  56. package/dist/npm/ai-prompt/AIPromptContent.js +40 -0
  57. package/dist/npm/ai-prompt/AIPromptExpander.d.ts +45 -0
  58. package/dist/npm/ai-prompt/AIPromptExpander.js +73 -0
  59. package/dist/npm/ai-prompt/AIPromptFooter.d.ts +44 -0
  60. package/dist/npm/ai-prompt/AIPromptFooter.js +40 -0
  61. package/dist/npm/ai-prompt/AIPromptHeader.d.ts +71 -0
  62. package/dist/npm/ai-prompt/AIPromptHeader.js +148 -0
  63. package/dist/npm/ai-prompt/views/AIPromptCommandsView.d.ts +87 -0
  64. package/dist/npm/ai-prompt/views/AIPromptCommandsView.js +123 -0
  65. package/dist/npm/ai-prompt/views/AIPromptOutputView.d.ts +77 -0
  66. package/dist/npm/ai-prompt/views/AIPromptOutputView.js +2055 -0
  67. package/dist/npm/ai-prompt/views/AIPromptView.d.ts +56 -0
  68. package/dist/npm/ai-prompt/views/AIPromptView.js +304 -0
  69. package/dist/npm/ai-prompt/views/AIPromptViewRender.d.ts +51 -0
  70. package/dist/npm/ai-prompt/views/AIPromptViewRender.js +46 -0
  71. package/dist/npm/main.d.ts +8 -0
  72. package/dist/npm/main.js +24 -0
  73. package/dist/npm/messages/main.d.ts +20 -0
  74. package/dist/npm/messages/main.js +24 -0
  75. package/package.json +70 -0
@@ -0,0 +1,56 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { AIPromptToolbarItemInterface } from '../AIPromptHeader';
7
+ /**
8
+ * @hidden
9
+ */
10
+ interface AIPromptViewProps {
11
+ promptInput?: any;
12
+ generateButton?: any;
13
+ promptValue?: string;
14
+ promptSuggestions?: string[];
15
+ }
16
+ /**
17
+ * Specifies the default values for Prompt view Toolbar.
18
+ */
19
+ export declare const promptViewDefaults: AIPromptToolbarItemInterface;
20
+ /**
21
+ * @hidden
22
+ */
23
+ interface AIPromptViewState {
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ interface AIPromptViewData {
29
+ }
30
+ /**
31
+ * @hidden
32
+ */
33
+ export interface AIPromptViewMethods {
34
+ [key: string]: any;
35
+ }
36
+ /**
37
+ * @hidden
38
+ */
39
+ export interface AIPromptViewComputed {
40
+ [key: string]: any;
41
+ computedValue: object;
42
+ }
43
+ /**
44
+ * @hidden
45
+ */
46
+ export interface AIPromptViewAll extends AIPromptViewMethods, AIPromptViewState, AIPromptViewData, AIPromptViewComputed, Vue2type {
47
+ }
48
+ /**
49
+ * @hidden
50
+ */
51
+ declare const AIPromptViewVue2: ComponentOptions<Vue2type, DefaultData<AIPromptViewData>, DefaultMethods<AIPromptViewAll>, AIPromptViewComputed, RecordPropsDefinition<AIPromptViewProps>>;
52
+ /**
53
+ * @hidden
54
+ */
55
+ declare const AIPromptView: DefineComponent<AIPromptViewProps, any, AIPromptViewData, AIPromptViewComputed, AIPromptViewMethods, {}, {}, {}, string, AIPromptViewProps, AIPromptViewProps, {}>;
56
+ export { AIPromptView, AIPromptViewVue2 };
@@ -0,0 +1,304 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AIPromptViewVue2 = exports.AIPromptView = exports.promptViewDefaults = void 0;
7
+ // @ts-ignore
8
+ var Vue = require("vue");
9
+ var allVue = Vue;
10
+ var gh = allVue.h;
11
+ var isV3 = allVue.version && allVue.version[0] === '3';
12
+ var AIPromptContent_1 = require("../AIPromptContent");
13
+ var AIPromptFooter_1 = require("../AIPromptFooter");
14
+ var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
15
+ var kendo_vue_inputs_1 = require("@progress/kendo-vue-inputs");
16
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
17
+ var AIPromptViewRender_1 = require("./AIPromptViewRender");
18
+ var AIPromptExpander_1 = require("../AIPromptExpander");
19
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
20
+ /**
21
+ * Specifies the default values for Prompt view Toolbar.
22
+ */
23
+ exports.promptViewDefaults = {
24
+ name: 'prompt-view',
25
+ buttonText: 'Ask AI',
26
+ buttonIcon: kendo_svg_icons_1.sparklesIcon
27
+ };
28
+ /**
29
+ * @hidden
30
+ */
31
+ var AIPromptViewVue2 = {
32
+ name: 'KendoAIPromptView',
33
+ props: {
34
+ promptInput: [Object, String],
35
+ generateButton: [Object, String],
36
+ promptValue: String,
37
+ promptSuggestions: Array
38
+ },
39
+ // @ts-ignore
40
+ setup: !isV3 ? undefined : function () {
41
+ var v3 = !!isV3;
42
+ return {
43
+ v3: v3
44
+ };
45
+ },
46
+ inject: {
47
+ kendoAIPrompt: {
48
+ default: null
49
+ }
50
+ },
51
+ computed: {
52
+ computedValue: function computedValue() {
53
+ return this.$props.promptValue !== undefined ? this.$props.promptValue : this.value;
54
+ }
55
+ },
56
+ data: function data() {
57
+ return {
58
+ value: ''
59
+ };
60
+ },
61
+ methods: {
62
+ handleOnRequest: function handleOnRequest() {
63
+ if (this.kendoAIPrompt.onPromptRequest) {
64
+ this.kendoAIPrompt.onPromptRequest.call(null, this.value);
65
+ }
66
+ this.value = '';
67
+ },
68
+ handleSuggestionSelect: function handleSuggestionSelect(suggestion) {
69
+ this.value = suggestion;
70
+ },
71
+ onTextChange: function onTextChange(event) {
72
+ this.value = event.value;
73
+ }
74
+ },
75
+ render: function render(createElement) {
76
+ var _this2 = this;
77
+ var h = gh || createElement;
78
+ var buttonText = 'Generate';
79
+ var promptSuggestions = this.$props.promptSuggestions;
80
+ var promptInput = kendo_vue_common_1.templateRendering.call(this, this.$props.promptInput, kendo_vue_common_1.getListeners.call(this));
81
+ var promptInputDefaultRendering = h(kendo_vue_inputs_1.TextArea, {
82
+ value: this.computedValue,
83
+ attrs: this.v3 ? undefined : {
84
+ value: this.computedValue,
85
+ placeholder: 'Ask or generate content with AI ...',
86
+ rows: 2
87
+ },
88
+ onChange: this.onTextChange,
89
+ on: this.v3 ? undefined : {
90
+ "change": this.onTextChange
91
+ },
92
+ placeholder: 'Ask or generate content with AI ...',
93
+ rows: 2
94
+ });
95
+ var promptInputRendering = kendo_vue_common_1.getTemplate.call(this, {
96
+ h: h,
97
+ template: promptInput,
98
+ defaultRendering: promptInputDefaultRendering
99
+ });
100
+ var generateButton = kendo_vue_common_1.templateRendering.call(this, this.$props.generateButton, kendo_vue_common_1.getListeners.call(this));
101
+ var generateButtonDefaultRendering =
102
+ // @ts-ignore function children
103
+ h(kendo_vue_buttons_1.Button, {
104
+ themeColor: "primary",
105
+ attrs: this.v3 ? undefined : {
106
+ themeColor: "primary",
107
+ fillMode: "solid",
108
+ "aria-hidden": "true",
109
+ rounded: "full",
110
+ size: "medium",
111
+ title: 'Generate',
112
+ svgIcon: kendo_svg_icons_1.sparklesIcon
113
+ },
114
+ fillMode: "solid",
115
+ "aria-hidden": "true",
116
+ rounded: "full",
117
+ size: "medium",
118
+ onClick: this.handleOnRequest,
119
+ on: this.v3 ? undefined : {
120
+ "click": this.handleOnRequest
121
+ },
122
+ title: 'Generate',
123
+ svgIcon: kendo_svg_icons_1.sparklesIcon
124
+ }, this.v3 ? function () {
125
+ return [buttonText];
126
+ } : [buttonText]);
127
+ var generateButtonRendering = kendo_vue_common_1.getTemplate.call(this, {
128
+ h: h,
129
+ template: generateButton,
130
+ defaultRendering: generateButtonDefaultRendering
131
+ });
132
+ return (
133
+ // @ts-ignore function children
134
+ h(AIPromptViewRender_1.AIPromptViewRender, {
135
+ name: exports.promptViewDefaults.name,
136
+ attrs: this.v3 ? undefined : {
137
+ name: exports.promptViewDefaults.name
138
+ }
139
+ }, this.v3 ? function () {
140
+ return [
141
+ // @ts-ignore function children
142
+ h(AIPromptContent_1.AIPromptContent, _this2.v3 ? function () {
143
+ return [promptInputRendering, promptSuggestions && promptSuggestions.length > 0 &&
144
+ // @ts-ignore function children
145
+ h(AIPromptExpander_1.AIPromptExpander, {
146
+ title: 'Prompt Suggestions',
147
+ attrs: _this2.v3 ? undefined : {
148
+ title: 'Prompt Suggestions'
149
+ }
150
+ }, _this2.v3 ? function () {
151
+ return [promptSuggestions.map(function (suggestion) {
152
+ var _this = this;
153
+ return h("div", {
154
+ key: suggestion,
155
+ "class": "k-prompt-suggestion",
156
+ onClick: function onClick() {
157
+ return _this.handleSuggestionSelect(suggestion);
158
+ },
159
+ on: this.v3 ? undefined : {
160
+ "click": function onClick() {
161
+ return _this.handleSuggestionSelect(suggestion);
162
+ }
163
+ }
164
+ }, [suggestion]);
165
+ }, _this2)];
166
+ } : [promptSuggestions.map(function (suggestion) {
167
+ var _this = this;
168
+ return h("div", {
169
+ key: suggestion,
170
+ "class": "k-prompt-suggestion",
171
+ onClick: function onClick() {
172
+ return _this.handleSuggestionSelect(suggestion);
173
+ },
174
+ on: this.v3 ? undefined : {
175
+ "click": function onClick() {
176
+ return _this.handleSuggestionSelect(suggestion);
177
+ }
178
+ }
179
+ }, [suggestion]);
180
+ }, _this2)])];
181
+ } : [promptInputRendering, promptSuggestions && promptSuggestions.length > 0 && h(AIPromptExpander_1.AIPromptExpander, {
182
+ title: 'Prompt Suggestions',
183
+ attrs: _this2.v3 ? undefined : {
184
+ title: 'Prompt Suggestions'
185
+ }
186
+ }, _this2.v3 ? function () {
187
+ return [promptSuggestions.map(function (suggestion) {
188
+ var _this = this;
189
+ return h("div", {
190
+ key: suggestion,
191
+ "class": "k-prompt-suggestion",
192
+ onClick: function onClick() {
193
+ return _this.handleSuggestionSelect(suggestion);
194
+ },
195
+ on: this.v3 ? undefined : {
196
+ "click": function onClick() {
197
+ return _this.handleSuggestionSelect(suggestion);
198
+ }
199
+ }
200
+ }, [suggestion]);
201
+ }, _this2)];
202
+ } : [promptSuggestions.map(function (suggestion) {
203
+ var _this = this;
204
+ return h("div", {
205
+ key: suggestion,
206
+ "class": "k-prompt-suggestion",
207
+ onClick: function onClick() {
208
+ return _this.handleSuggestionSelect(suggestion);
209
+ },
210
+ on: this.v3 ? undefined : {
211
+ "click": function onClick() {
212
+ return _this.handleSuggestionSelect(suggestion);
213
+ }
214
+ }
215
+ }, [suggestion]);
216
+ }, _this2)])]),
217
+ // @ts-ignore function children
218
+ h(AIPromptFooter_1.AIPromptFooter, _this2.v3 ? function () {
219
+ return [generateButtonRendering];
220
+ } : [generateButtonRendering])];
221
+ } : [h(AIPromptContent_1.AIPromptContent, _this2.v3 ? function () {
222
+ return [promptInputRendering, promptSuggestions && promptSuggestions.length > 0 && h(AIPromptExpander_1.AIPromptExpander, {
223
+ title: 'Prompt Suggestions',
224
+ attrs: _this2.v3 ? undefined : {
225
+ title: 'Prompt Suggestions'
226
+ }
227
+ }, _this2.v3 ? function () {
228
+ return [promptSuggestions.map(function (suggestion) {
229
+ var _this = this;
230
+ return h("div", {
231
+ key: suggestion,
232
+ "class": "k-prompt-suggestion",
233
+ onClick: function onClick() {
234
+ return _this.handleSuggestionSelect(suggestion);
235
+ },
236
+ on: this.v3 ? undefined : {
237
+ "click": function onClick() {
238
+ return _this.handleSuggestionSelect(suggestion);
239
+ }
240
+ }
241
+ }, [suggestion]);
242
+ }, _this2)];
243
+ } : [promptSuggestions.map(function (suggestion) {
244
+ var _this = this;
245
+ return h("div", {
246
+ key: suggestion,
247
+ "class": "k-prompt-suggestion",
248
+ onClick: function onClick() {
249
+ return _this.handleSuggestionSelect(suggestion);
250
+ },
251
+ on: this.v3 ? undefined : {
252
+ "click": function onClick() {
253
+ return _this.handleSuggestionSelect(suggestion);
254
+ }
255
+ }
256
+ }, [suggestion]);
257
+ }, _this2)])];
258
+ } : [promptInputRendering, promptSuggestions && promptSuggestions.length > 0 && h(AIPromptExpander_1.AIPromptExpander, {
259
+ title: 'Prompt Suggestions',
260
+ attrs: _this2.v3 ? undefined : {
261
+ title: 'Prompt Suggestions'
262
+ }
263
+ }, _this2.v3 ? function () {
264
+ return [promptSuggestions.map(function (suggestion) {
265
+ var _this = this;
266
+ return h("div", {
267
+ key: suggestion,
268
+ "class": "k-prompt-suggestion",
269
+ onClick: function onClick() {
270
+ return _this.handleSuggestionSelect(suggestion);
271
+ },
272
+ on: this.v3 ? undefined : {
273
+ "click": function onClick() {
274
+ return _this.handleSuggestionSelect(suggestion);
275
+ }
276
+ }
277
+ }, [suggestion]);
278
+ }, _this2)];
279
+ } : [promptSuggestions.map(function (suggestion) {
280
+ var _this = this;
281
+ return h("div", {
282
+ key: suggestion,
283
+ "class": "k-prompt-suggestion",
284
+ onClick: function onClick() {
285
+ return _this.handleSuggestionSelect(suggestion);
286
+ },
287
+ on: this.v3 ? undefined : {
288
+ "click": function onClick() {
289
+ return _this.handleSuggestionSelect(suggestion);
290
+ }
291
+ }
292
+ }, [suggestion]);
293
+ }, _this2)])]), h(AIPromptFooter_1.AIPromptFooter, _this2.v3 ? function () {
294
+ return [generateButtonRendering];
295
+ } : [generateButtonRendering])])
296
+ );
297
+ }
298
+ };
299
+ exports.AIPromptViewVue2 = AIPromptViewVue2;
300
+ /**
301
+ * @hidden
302
+ */
303
+ var AIPromptView = AIPromptViewVue2;
304
+ exports.AIPromptView = AIPromptView;
@@ -0,0 +1,51 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ /**
7
+ * The props of the AIPromptViewRender component.
8
+ */
9
+ interface AIPromptViewRenderProps {
10
+ /**
11
+ * Specifies the name of the view.
12
+ */
13
+ name: string;
14
+ }
15
+ /**
16
+ * @hidden
17
+ */
18
+ interface AIPromptViewRenderState {
19
+ }
20
+ /**
21
+ * @hidden
22
+ */
23
+ interface AIPromptViewRenderData {
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ export interface AIPromptViewRenderMethods {
29
+ [key: string]: any;
30
+ }
31
+ /**
32
+ * @hidden
33
+ */
34
+ export interface AIPromptViewRenderComputed {
35
+ [key: string]: any;
36
+ wrapperClass: object;
37
+ }
38
+ /**
39
+ * @hidden
40
+ */
41
+ export interface AIPromptViewRenderAll extends AIPromptViewRenderMethods, AIPromptViewRenderState, AIPromptViewRenderData, AIPromptViewRenderComputed, Vue2type {
42
+ }
43
+ /**
44
+ * @hidden
45
+ */
46
+ declare const AIPromptViewRenderVue2: ComponentOptions<Vue2type, DefaultData<AIPromptViewRenderData>, DefaultMethods<AIPromptViewRenderAll>, AIPromptViewRenderComputed, RecordPropsDefinition<AIPromptViewRenderProps>>;
47
+ /**
48
+ * @hidden
49
+ */
50
+ declare const AIPromptViewRender: DefineComponent<AIPromptViewRenderProps, any, AIPromptViewRenderData, AIPromptViewRenderComputed, AIPromptViewRenderMethods, {}, {}, {}, string, AIPromptViewRenderProps, AIPromptViewRenderProps, {}>;
51
+ export { AIPromptViewRender, AIPromptViewRenderVue2 };
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AIPromptViewRenderVue2 = exports.AIPromptViewRender = void 0;
7
+ // @ts-ignore
8
+ var Vue = require("vue");
9
+ var allVue = Vue;
10
+ var gh = allVue.h;
11
+ var isV3 = allVue.version && allVue.version[0] === '3';
12
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
13
+ /**
14
+ * @hidden
15
+ */
16
+ var AIPromptViewRenderVue2 = {
17
+ name: 'KendoAIPromptViewRender',
18
+ inheritAttrs: false,
19
+ props: {
20
+ name: String
21
+ },
22
+ // @ts-ignore
23
+ setup: !isV3 ? undefined : function () {
24
+ var v3 = !!isV3;
25
+ return {
26
+ v3: v3
27
+ };
28
+ },
29
+ inject: {
30
+ kendoAIPrompt: {
31
+ default: null
32
+ }
33
+ },
34
+ render: function render(createElement) {
35
+ var h = gh || createElement;
36
+ var defaultSlots = (0, kendo_vue_common_1.getDefaultSlots)(this);
37
+ var active = this.kendoAIPrompt.activeView === this.$props.name;
38
+ return active ? this.v3 ? defaultSlots : h("div", [defaultSlots]) : null;
39
+ }
40
+ };
41
+ exports.AIPromptViewRenderVue2 = AIPromptViewRenderVue2;
42
+ /**
43
+ * @hidden
44
+ */
45
+ var AIPromptViewRender = AIPromptViewRenderVue2;
46
+ exports.AIPromptViewRender = AIPromptViewRender;
@@ -0,0 +1,8 @@
1
+ export * from './ai-prompt/AIPrompt';
2
+ export * from './ai-prompt/AIPromptHeader';
3
+ export * from './ai-prompt/AIPromptFooter';
4
+ export * from './ai-prompt/AIPromptContent';
5
+ export * from './ai-prompt/views/AIPromptView';
6
+ export * from './ai-prompt/views/AIPromptOutputView';
7
+ export * from './ai-prompt/views/AIPromptCommandsView';
8
+ export * from './ai-prompt/views/AIPromptViewRender';
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ai-prompt/AIPrompt"), exports);
18
+ __exportStar(require("./ai-prompt/AIPromptHeader"), exports);
19
+ __exportStar(require("./ai-prompt/AIPromptFooter"), exports);
20
+ __exportStar(require("./ai-prompt/AIPromptContent"), exports);
21
+ __exportStar(require("./ai-prompt/views/AIPromptView"), exports);
22
+ __exportStar(require("./ai-prompt/views/AIPromptOutputView"), exports);
23
+ __exportStar(require("./ai-prompt/views/AIPromptCommandsView"), exports);
24
+ __exportStar(require("./ai-prompt/views/AIPromptViewRender"), exports);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ export declare const avatarAlt = "avatar.alt";
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare const ariaLabelMessageList = "messageList.ariaLabel";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const aIPromptNoOutputs = "aIPrompt.noOutputs";
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const messages: {
17
+ "avatar.alt": string;
18
+ "messageList.ariaLabel": string;
19
+ "aIPrompt.noOutputs": string;
20
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.messages = exports.aIPromptNoOutputs = exports.ariaLabelMessageList = exports.avatarAlt = void 0;
5
+ /**
6
+ * @hidden
7
+ */
8
+ exports.avatarAlt = 'avatar.alt';
9
+ /**
10
+ * @hidden
11
+ */
12
+ exports.ariaLabelMessageList = 'messageList.ariaLabel';
13
+ /**
14
+ * @hidden
15
+ */
16
+ exports.aIPromptNoOutputs = 'aIPrompt.noOutputs';
17
+ /**
18
+ * @hidden
19
+ */
20
+ exports.messages = (_a = {},
21
+ _a[exports.avatarAlt] = 'Avatar',
22
+ _a[exports.ariaLabelMessageList] = 'Message list',
23
+ _a[exports.aIPromptNoOutputs] = 'No output from Ai available',
24
+ _a);
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@progress/kendo-vue-conversational-ui",
3
+ "version": "4.3.0-dev.202401291303",
4
+ "description": "Vue Chat component allows the user to participate in chat sessions with users or chat bots. Kendo UI for Vue Conversational UI components",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/telerik/kendo-vue.git"
8
+ },
9
+ "main": "dist/npm/main.js",
10
+ "types": "dist/npm/main.d.ts",
11
+ "module": "dist/es/main.js",
12
+ "jsnext:main": "dist/es/main.js",
13
+ "exports": {
14
+ "node": "./dist/esm/main.js",
15
+ "import": "./dist/es/main.js",
16
+ "require": "./dist/npm/main.js",
17
+ "default": "./dist/npm/main.js"
18
+ },
19
+ "scripts": {
20
+ "test": "cd ../../ && npm run test -- --testPathPattern=/packages/conversational-ui/.*",
21
+ "start": "gulp start",
22
+ "build-package": "gulp build-package"
23
+ },
24
+ "homepage": "https://www.telerik.com/kendo-vue-ui",
25
+ "keywords": [
26
+ "Kendo UI",
27
+ "Vue",
28
+ "Conversational UI",
29
+ "Chat",
30
+ "Chat Bot UI",
31
+ "Progress",
32
+ "Kendo UI for Vue",
33
+ "vuejs",
34
+ "UI",
35
+ "components",
36
+ "Vue component",
37
+ "Telerik"
38
+ ],
39
+ "peerDependencies": {
40
+ "@progress/kendo-licensing": "^1.3.0",
41
+ "@progress/kendo-svg-icons": "^2.1.0",
42
+ "@progress/kendo-vue-buttons": "4.3.0-dev.202401231815",
43
+ "@progress/kendo-vue-inputs": "4.3.0-dev.202401231815",
44
+ "@progress/kendo-vue-intl": "4.3.0-dev.202401231815",
45
+ "@progress/kendo-vue-layout": "4.3.0-dev.202401231815",
46
+ "vue": "^2.6.12 || ^3.0.2"
47
+ },
48
+ "dependencies": {
49
+ "@progress/kendo-vue-common": "4.3.0-dev.202401291303"
50
+ },
51
+ "devDependencies": {
52
+ "@progress/kendo-licensing": "^1.3.0",
53
+ "@progress/kendo-svg-icons": "^2.0.0",
54
+ "@progress/kendo-vue-buttons": "4.3.0-dev.202401291303",
55
+ "@progress/kendo-vue-inputs": "4.3.0-dev.202401291303",
56
+ "@progress/kendo-vue-intl": "4.3.0-dev.202401291303",
57
+ "@progress/kendo-vue-layout": "4.3.0-dev.202401291303",
58
+ "@progress/kendo-vue-popup": "4.3.0-dev.202401291303"
59
+ },
60
+ "@progress": {
61
+ "friendlyName": "ListBox",
62
+ "framework": "Kendo UI for Vue"
63
+ },
64
+ "author": "Progress",
65
+ "license": "SEE LICENSE IN LICENSE.md",
66
+ "publishConfig": {
67
+ "access": "public"
68
+ },
69
+ "sideEffects": false
70
+ }