@xpert-ai/chatkit-ui5 0.4.2 → 0.4.3
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/chatkit.cjs +10 -0
- package/dist/chatkit.cjs.map +1 -1
- package/dist/chatkit.ui5.js +10 -0
- package/dist/chatkit.ui5.js.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/chatkit.cjs
CHANGED
|
@@ -2513,6 +2513,16 @@ class ChatKitElementBase extends (_c = HTMLElement, _focusComposer_dec = [requir
|
|
|
2513
2513
|
}
|
|
2514
2514
|
return onRequestPreview(request);
|
|
2515
2515
|
},
|
|
2516
|
+
onConnectWorkspaceConnector: async (request) => {
|
|
2517
|
+
var _a2, _b2, _c2;
|
|
2518
|
+
const connect = (_c2 = (_b2 = (_a2 = __privateGet(this, _opts)) == null ? void 0 : _a2.composer) == null ? void 0 : _b2.resources) == null ? void 0 : _c2.onConnect;
|
|
2519
|
+
if (!connect) {
|
|
2520
|
+
__privateMethod(this, _ChatKitElementBase_instances, emitAndThrow_fn).call(this, new IntegrationError2(
|
|
2521
|
+
"Add composer.resources.onConnect to handle workspace Connector connections."
|
|
2522
|
+
));
|
|
2523
|
+
}
|
|
2524
|
+
return connect(request);
|
|
2525
|
+
},
|
|
2516
2526
|
onWorkbenchClientCommand: async ({
|
|
2517
2527
|
commandKey,
|
|
2518
2528
|
payload,
|