isometrik-plugin-chat-sdk 2.0.0 → 2.0.2
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/dist/cjs/attachment-preview_22.cjs.entry.js +6 -2
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
- package/dist/cjs/isometrik-webchat.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/login-page_3.cjs.entry.js +2 -2
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js +20 -1
- package/dist/collection/components/ChatUIComponent/ChatSidebar/ChatSidebar.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/new chat/new-chat.js +22 -1
- package/dist/collection/components/ChatUIComponent/shared/new chat/new-chat.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/web-chat.css +11 -9
- package/dist/components/ChatSidebar.js +3 -1
- package/dist/components/ChatSidebar.js.map +1 -1
- package/dist/components/WebChat.js +2 -2
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/new-chat2.js +5 -1
- package/dist/components/new-chat2.js.map +1 -1
- package/dist/esm/attachment-preview_22.entry.js +6 -2
- package/dist/esm/attachment-preview_22.entry.js.map +1 -1
- package/dist/esm/isometrik-webchat.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/login-page_3.entry.js +2 -2
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js.map +1 -1
- package/dist/isometrik-webchat/{p-53ee98a7.entry.js → p-b9056542.entry.js} +2 -2
- package/dist/isometrik-webchat/{p-53ee98a7.entry.js.map → p-b9056542.entry.js.map} +1 -1
- package/dist/isometrik-webchat/p-ee1c1648.entry.js +2 -0
- package/dist/isometrik-webchat/p-ee1c1648.entry.js.map +1 -0
- package/dist/types/components/ChatUIComponent/ChatSidebar/ChatSidebar.d.ts +2 -0
- package/dist/types/components/ChatUIComponent/shared/new chat/new-chat.d.ts +2 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/readme.md +3 -3
- package/dist/isometrik-webchat/p-b61d6c0c.entry.js +0 -2
- package/dist/isometrik-webchat/p-b61d6c0c.entry.js.map +0 -1
|
@@ -2493,7 +2493,7 @@ function renderDefaultConversationList(host) {
|
|
|
2493
2493
|
var _a;
|
|
2494
2494
|
return (h("chat-side-bar", { conversationDetails: host.conversationMetaData, isMqttConnected: host.isMqttConnected, unreadConversationsCount: host.unreadConversationsCount, hasMoreConversations: host.hasMoreConversations, userMetaData: host.userMetaData, onChatTileSelected: (e) => host.handleChatSelect(e.detail), onDeleteConversation: (conversationId) => host.deleteConversation(conversationId), conversationList: host.allConversationList, isTyping: host.isTyping, typingUserName: host.typingUserName, typingConversationId: host.typingConversationId,
|
|
2495
2495
|
//@ts-ignore
|
|
2496
|
-
isChatFilter: host.isChatFilter, customParts: (_a = host.customParts) !== null && _a !== void 0 ? _a : {}, customTypes: [
|
|
2496
|
+
isChatFilter: host.isChatFilter, customParts: (_a = host.customParts) !== null && _a !== void 0 ? _a : {}, groupcastEnabled: host.groupcastEnabled !== false, customTypes: [
|
|
2497
2497
|
{ type: 'Test conversations', label: 'Unread' },
|
|
2498
2498
|
{ type: 'SingleChat', label: 'Past' },
|
|
2499
2499
|
{ type: 'Chatbot', label: 'Present' },
|
|
@@ -2638,7 +2638,7 @@ function renderRightRail(host) {
|
|
|
2638
2638
|
return (h("div", { class: "chat-sidebar-right" }, renderRegion(host, 'right-panel', true, () => renderDefaultRightPanel(host))));
|
|
2639
2639
|
}
|
|
2640
2640
|
|
|
2641
|
-
const webChatCss = ":host{display:flex;flex:1;width:var(--w-full);min-height:
|
|
2641
|
+
const webChatCss = ":host{display:flex;flex:1;width:var(--w-full);min-height:0;height:100%}web-chat{display:flex;flex:1;width:var(--w-full);min-height:0;height:100%}.boot-loader-shell{display:flex;flex:1;width:var(--w-full);min-height:0;height:100%;align-items:stretch;justify-content:stretch}.boot-loader-shell>chat-loading-placeholder,.boot-loader-shell>slot[name='boot-loader']{display:flex;flex:1;width:var(--w-full);min-height:0;height:100%}.isometrik-quickchat{box-shadow:0 0 1.25rem 1px color-mix(in srgb, var(--brand) 15%, transparent);display:flex;height:100%;min-height:0;width:var(--w-full)}.chat-sidebar-container{width:30%;min-width:var(--sidebar-width);transition:all 0.3s ease;border-right:1px solid var(--border);display:flex;flex-direction:row;background-color:var(--bg-primary);overflow:hidden;min-height:0}profile-sidebar,profile-sidebar-ui{display:flex;height:var(--h-full);flex-shrink:0}.chat-sidebar-right{width:30%;min-width:var(--sidebar-width);transition:all 0.3s ease;border-left:1px solid var(--border);background-color:var(--bg-primary)}.loaderoverlay{width:var(--w-full);position:absolute;margin:auto;background:var(--overlay);z-index:1400}.sidebar-tab{flex:1;min-width:0;height:var(--h-full);min-height:0;background-color:var(--bg-primary);display:flex;flex-direction:column;overflow:hidden}.sidebar-tab>*{flex:1;min-height:0;min-width:0;width:var(--w-full);max-width:var(--w-full)}.chat-body-container{flex:1;display:flex;flex-direction:column;transition:all 0.3s ease;background-color:var(--bg-secondary);position:relative;min-height:0;min-width:0}.chat-pane-row{flex:1;min-height:0;min-width:0;display:flex;flex-direction:row;align-items:stretch;overflow:hidden}.chat-main-stack{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.message-info-dock{flex:0 0 clamp(280px, 36%, 380px);height:var(--h-full);min-height:0;display:flex;flex-direction:column;background:var(--bg-primary);border-left:1px solid var(--border);overflow:hidden}.message-info-dock message-info{flex:1;min-height:0;height:var(--h-full);display:block}.message-info-loading{flex:1;display:flex;align-items:center;justify-content:center}.chat-sidebar-container>slot[name='sidebar'],.chat-sidebar-container slot[name='profile-rail'],.sidebar-tab>slot[name='conversation-list'],.sidebar-tab>slot[name='profile-page'],.sidebar-tab>slot[name='group-cast'],.chat-body-container>slot[name='empty'],.chat-main-stack>slot[name='header'],.chat-main-stack>slot[name='messages'],.chat-main-stack>slot[name='composer'],.chat-sidebar-right>slot[name='right-panel']{display:contents}::slotted([slot='sidebar']),::slotted([slot='profile-rail']),::slotted([slot='conversation-list']),::slotted([slot='profile-page']),::slotted([slot='group-cast']),::slotted([slot='empty']),::slotted([slot='messages']),::slotted([slot='right-panel']),::slotted([slot='contact-info']),::slotted([slot='profile-info']),::slotted([slot='message-search']),::slotted([slot='boot-loader']){display:flex;flex-direction:column;flex:1;min-height:0;width:var(--w-full);height:var(--h-full)}::slotted([slot='header']),::slotted([slot='composer']),::slotted([slot='composer-input']),::slotted([slot='reply-preview']),::slotted([slot='attachment-preview']){display:block;width:var(--w-full);flex-shrink:0}.noChatSelectedPlaceholder{height:var(--h-full);width:var(--w-full);display:flex;align-items:center;justify-content:center;font-size:var(--text-20);flex-direction:column;gap:var(--gap-4);color:var(--text-primary)}.noChatSelectedPlaceholder span:nth-child(2){font-size:var(--text-24);font-weight:var(--fw-700);margin-top:var(--space-16)}.noChatSelectedPlaceholder span:nth-child(3){font-size:var(--text-18);text-align:center;color:var(--text-secondary)}.loadingPlaceholder{height:var(--h-full);width:var(--w-full);z-index:12839283}.back-button{display:none;padding:0;background:none;border:none;cursor:pointer;align-items:center;gap:var(--gap-4)}spinner-loader{display:flex;height:100%}.blockMessageContainer{text-align:center;padding:var(--space-16) 0;margin:0;background-color:var(--bg-secondary);color:var(--text-secondary)}@media (max-width: 768px){.isometrik-quickchat{position:relative;overflow:hidden}.chat-sidebar-right{width:var(--w-full);height:var(--h-full);min-width:100% !important;position:absolute;left:0;top:0;z-index:20;display:flex;flex-direction:column;background-color:var(--bg-primary);transition:all 0.3s ease;border:none}.chat-sidebar-right>*{flex:1;min-height:0;width:var(--w-full);height:var(--h-full)}.chat-sidebar-container{width:var(--w-full);height:var(--h-full);position:absolute;left:0;top:0;transform:translateX(0);transition:transform 0.3s ease;z-index:2;min-width:100% !important}.chat-sidebar-container.hidden{transform:translateX(-100%)}.chat-body-container{width:var(--w-full);height:var(--h-full);position:absolute;left:0;top:0;transform:translateX(100%);transition:transform 0.3s ease;z-index:1}.chat-body-container.hidden{transform:translateX(0)}.chat-body-container.show{transform:translateX(0);z-index:3}.back-button{display:flex;align-items:center;justify-content:center;position:absolute;right:var(--rail-width);z-index:10;top:var(--space-16)}}";
|
|
2642
2642
|
const WebChatStyle0 = webChatCss;
|
|
2643
2643
|
|
|
2644
2644
|
const WebChat = class {
|