@appcorp/app-corp-vista 0.3.35 → 0.3.37
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/data/vista-chat-props.js
CHANGED
|
@@ -157,6 +157,48 @@ exports.vistaChatV2Props = {
|
|
|
157
157
|
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.READ,
|
|
158
158
|
isUser: true,
|
|
159
159
|
},
|
|
160
|
+
{
|
|
161
|
+
message: 'Hello from Psychic',
|
|
162
|
+
id: 'item-2',
|
|
163
|
+
createdAt: '2025-01-11T10:15:49.891',
|
|
164
|
+
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.DELIVERED,
|
|
165
|
+
isUser: false,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
message: 'Hello from User',
|
|
169
|
+
id: 'item-3',
|
|
170
|
+
createdAt: '2025-01-11T10:19:49.891',
|
|
171
|
+
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.DELIVERED,
|
|
172
|
+
isUser: true,
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
message: 'Hello from User',
|
|
176
|
+
id: 'item-4',
|
|
177
|
+
createdAt: '2025-01-12T10:29:49.891',
|
|
178
|
+
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.READ,
|
|
179
|
+
isUser: true,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
message: 'Hello from Psychic',
|
|
183
|
+
id: 'item-2',
|
|
184
|
+
createdAt: '2025-01-11T10:15:49.891',
|
|
185
|
+
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.DELIVERED,
|
|
186
|
+
isUser: false,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
message: 'Hello from User',
|
|
190
|
+
id: 'item-3',
|
|
191
|
+
createdAt: '2025-01-11T10:19:49.891',
|
|
192
|
+
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.DELIVERED,
|
|
193
|
+
isUser: true,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
message: 'Hello from User',
|
|
197
|
+
id: 'item-4',
|
|
198
|
+
createdAt: '2025-01-12T10:29:49.891',
|
|
199
|
+
messageStatus: vista_chat_type_1.VISTA_CHAT_MESSAGE_STATUS.READ,
|
|
200
|
+
isUser: true,
|
|
201
|
+
},
|
|
160
202
|
],
|
|
161
203
|
actionItems: [
|
|
162
204
|
{
|
|
@@ -28,7 +28,7 @@ var VistaModalV1 = function (_a) {
|
|
|
28
28
|
react_1.default.createElement("div", { className: "mt-4 text-center sm:mt-6" },
|
|
29
29
|
react_1.default.createElement(react_2.DialogTitle, { as: "h3", className: "text-base font-semibold text-gray-900" }, title),
|
|
30
30
|
react_1.default.createElement("div", { className: "mt-2" }, children))),
|
|
31
|
-
enableActions && (react_1.default.createElement("div", { className: "w-full row-span-1 flex flex-col justify-center items-
|
|
31
|
+
enableActions && (react_1.default.createElement("div", { className: "w-full row-span-1 flex flex-col justify-center items-center h-full mt-2 rounded-md" },
|
|
32
32
|
react_1.default.createElement("div", { className: "py-4 flex flex-row justify-end items-center gap-4" },
|
|
33
33
|
react_1.default.createElement(vista_button_v1_1.VistaButtonV1, { className: "min-w-60 max-w-60", disabled: cancelDisabled, handleOnClick: function () { return handleCancelOnClick(false); }, label: cancelLabel, prefixIcon: cancelPrefixIcon, rounded: cancelRounded, size: cancelSize, suffixIcon: cancelSuffixIcon, variant: vista_button_type_1.VISTA_BUTTON_VARIANT.SECONDARY }),
|
|
34
34
|
handleSaveOnClick && saveLabel && (react_1.default.createElement(vista_button_v1_1.VistaButtonV1, { className: "min-w-60 max-w-60", disabled: saveDisabled, handleOnClick: handleSaveOnClick, label: saveLabel, prefixIcon: savePrefixIcon, rounded: saveRounded, size: saveSize, suffixIcon: saveSuffixIcon, variant: vista_button_type_1.VISTA_BUTTON_VARIANT.PRIMARY }))))))))));
|
|
@@ -23,7 +23,7 @@ var VistaChatV2 = function (_a) {
|
|
|
23
23
|
return (react_1.default.createElement("div", { className: "relative h-screen overflow-hidden max-w-7xl mx-auto grid grid-cols-6 ".concat(containerClassName) },
|
|
24
24
|
sideBarNode && (react_1.default.createElement("div", { className: "col-span-1 h-full" },
|
|
25
25
|
react_1.default.createElement(vista_chat_side_bar_v2_1.VistaChatSideBarV2, { sideBarHeading: sideBarHeading, sideBarNode: sideBarNode }))),
|
|
26
|
-
react_1.default.createElement("section", { className: "flex flex-col h-full w-full mx-auto ".concat(!sideBarNode ? 'col-span-6' : 'col-span-5') },
|
|
26
|
+
react_1.default.createElement("section", { className: "flex flex-col h-full w-full mx-auto overflow-scroll ".concat(!sideBarNode ? 'col-span-6' : 'col-span-5') },
|
|
27
27
|
react_1.default.createElement(vista_chat_heading_v1_1.VistaChatHeadingV1, { estimatedBalance: estimatedBalance, heading: name, timer: timer }),
|
|
28
28
|
showBanner && (react_1.default.createElement(vista_banner_v1_1.VistaBannerV1, { description: bannerDescription, heading: bannerHeading })),
|
|
29
29
|
react_1.default.createElement("div", { className: "overflow-y-auto h-full flex flex-col justify-end p-4" },
|