isometrik-plugin-chat-sdk 2.0.2 → 2.0.4
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 +65 -3
- 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 +3 -2
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/shared/contact-info/contact-info.js +67 -3
- package/dist/collection/components/ChatUIComponent/shared/contact-info/contact-info.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/web-chat.css +5 -1
- package/dist/collection/components/theme-provider.js +2 -1
- package/dist/collection/components/theme-provider.js.map +1 -1
- package/dist/components/WebChat.js +1 -1
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/contact-info2.js +67 -3
- package/dist/components/contact-info2.js.map +1 -1
- package/dist/components/theme-provider2.js +2 -1
- package/dist/components/theme-provider2.js.map +1 -1
- package/dist/esm/attachment-preview_22.entry.js +65 -3
- 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 +3 -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-ee1c1648.entry.js → p-7d4cc4e3.entry.js} +2 -2
- package/dist/isometrik-webchat/p-7d4cc4e3.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-dc2bf17e.entry.js +2 -0
- package/dist/isometrik-webchat/p-dc2bf17e.entry.js.map +1 -0
- package/dist/types/components/ChatUIComponent/shared/contact-info/contact-info.d.ts +8 -0
- package/package.json +1 -1
- package/readme.md +3 -3
- package/dist/isometrik-webchat/p-b9056542.entry.js +0 -2
- package/dist/isometrik-webchat/p-b9056542.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-ee1c1648.entry.js.map +0 -1
|
@@ -142,7 +142,7 @@ const ThemeProvider = class {
|
|
|
142
142
|
return normalized;
|
|
143
143
|
}
|
|
144
144
|
render() {
|
|
145
|
-
return (h("div", { key: '
|
|
145
|
+
return (h("div", { key: '3e4ce98aeaeefa4f96aef5846aeecff68e13e63f', class: `theme-provider-container theme-${this.mode}` }, h("slot", { key: '9730319fa5c287526a00973be782ecf7db639ecc' })));
|
|
146
146
|
}
|
|
147
147
|
get hostElement() { return getElement(this); }
|
|
148
148
|
static get watchers() { return {
|
|
@@ -152,6 +152,7 @@ const ThemeProvider = class {
|
|
|
152
152
|
"mirrorToDocument": ["handleMirrorChange"]
|
|
153
153
|
}; }
|
|
154
154
|
};
|
|
155
|
+
ThemeProvider.style = ":host {\n display: block;\n width: 100%;\n height: 100%;\n min-height: 0;\n box-sizing: border-box;\n }\n .theme-provider-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 0;\n overflow: hidden;\n box-sizing: border-box;\n }";
|
|
155
156
|
|
|
156
157
|
/**
|
|
157
158
|
* Thin MQTT lifecycle helper around test-iso-chat-sdk's mqtt client.
|
|
@@ -2638,7 +2639,7 @@ function renderRightRail(host) {
|
|
|
2638
2639
|
return (h("div", { class: "chat-sidebar-right" }, renderRegion(host, 'right-panel', true, () => renderDefaultRightPanel(host))));
|
|
2639
2640
|
}
|
|
2640
2641
|
|
|
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:
|
|
2642
|
+
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:none;display:flex;flex:1 1 auto;height:100%;min-height:0;width:var(--w-full);max-height:100%;overflow:hidden}.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
2643
|
const WebChatStyle0 = webChatCss;
|
|
2643
2644
|
|
|
2644
2645
|
const WebChat = class {
|