@epam/ai-dial-shared 0.24.0-rc.5 → 0.24.0-rc.7
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.
package/index.esm.js
CHANGED
|
@@ -100,6 +100,12 @@ var FormSchemaPropertyWidget;
|
|
|
100
100
|
(function (FormSchemaPropertyWidget) {
|
|
101
101
|
FormSchemaPropertyWidget["buttons"] = "buttons";
|
|
102
102
|
})(FormSchemaPropertyWidget || (FormSchemaPropertyWidget = {}));
|
|
103
|
+
var DialSchemaProperties;
|
|
104
|
+
(function (DialSchemaProperties) {
|
|
105
|
+
DialSchemaProperties["DialWidgetOptions"] = "dial:widgetOptions";
|
|
106
|
+
DialSchemaProperties["DialWidget"] = "dial:widget";
|
|
107
|
+
DialSchemaProperties["DialChatMessageInputDisabled"] = "dial:chatMessageInputDisabled";
|
|
108
|
+
})(DialSchemaProperties || (DialSchemaProperties = {}));
|
|
103
109
|
var FormSchemaPropertyType;
|
|
104
110
|
(function (FormSchemaPropertyType) {
|
|
105
111
|
FormSchemaPropertyType["array"] = "array";
|
|
@@ -260,4 +266,4 @@ var VisualizerConnectorRequests;
|
|
|
260
266
|
VisualizerConnectorRequests["setVisualizerOptions"] = "SET_VISUALIZER_OPTIONS";
|
|
261
267
|
})(VisualizerConnectorRequests || (VisualizerConnectorRequests = {}));
|
|
262
268
|
|
|
263
|
-
export { DeferredRequest, Feature, FormSchemaPropertyType, FormSchemaPropertyWidget, LikeState, OverlayEvents, OverlayRequests, PublishActions, Role, SharePermission, Task, UploadStatus, VisualizerConnectorEvents, VisualizerConnectorRequests, availableFeatures, overlayAppName, overlayLibName, setStyles, validateFeature, visualizerConnectorLibName };
|
|
269
|
+
export { DeferredRequest, DialSchemaProperties, Feature, FormSchemaPropertyType, FormSchemaPropertyWidget, LikeState, OverlayEvents, OverlayRequests, PublishActions, Role, SharePermission, Task, UploadStatus, VisualizerConnectorEvents, VisualizerConnectorRequests, availableFeatures, overlayAppName, overlayLibName, setStyles, validateFeature, visualizerConnectorLibName };
|
package/package.json
CHANGED
package/src/types/chat.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
export declare enum FormSchemaPropertyWidget {
|
|
2
2
|
buttons = "buttons"
|
|
3
3
|
}
|
|
4
|
+
export declare enum DialSchemaProperties {
|
|
5
|
+
DialWidgetOptions = "dial:widgetOptions",
|
|
6
|
+
DialWidget = "dial:widget",
|
|
7
|
+
DialChatMessageInputDisabled = "dial:chatMessageInputDisabled"
|
|
8
|
+
}
|
|
4
9
|
export interface FormSchemaButtonOption {
|
|
5
10
|
title: string;
|
|
6
11
|
const: number;
|
|
7
|
-
|
|
12
|
+
[DialSchemaProperties.DialWidgetOptions]?: {
|
|
8
13
|
confirmationMessage?: string;
|
|
9
14
|
populateText?: string;
|
|
10
15
|
submit?: boolean;
|
|
@@ -17,7 +22,7 @@ export declare enum FormSchemaPropertyType {
|
|
|
17
22
|
number = "number"
|
|
18
23
|
}
|
|
19
24
|
export interface FormSchemaProperty {
|
|
20
|
-
|
|
25
|
+
[DialSchemaProperties.DialWidget]?: FormSchemaPropertyWidget;
|
|
21
26
|
oneOf?: FormSchemaButtonOption[];
|
|
22
27
|
description?: string;
|
|
23
28
|
type: FormSchemaPropertyType;
|
|
@@ -25,6 +30,6 @@ export interface FormSchemaProperty {
|
|
|
25
30
|
export interface MessageFormSchema {
|
|
26
31
|
type: 'object';
|
|
27
32
|
required?: string[];
|
|
28
|
-
|
|
33
|
+
[DialSchemaProperties.DialChatMessageInputDisabled]?: boolean;
|
|
29
34
|
properties: Record<string, FormSchemaProperty>;
|
|
30
35
|
}
|