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