cognikit 1.0.1 → 1.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/client.js +28 -28
- package/dist/client.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +3 -3
- package/dist/shell/simple-shell/script.d.ts +1 -1
- package/package.json +1 -1
- package/public/app.js +6 -6
- package/public/app.js.map +2 -2
- package/public/index.html +1 -8
|
@@ -37,7 +37,7 @@ export declare class InteractionsBaseShell extends HTMLElement {
|
|
|
37
37
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
38
38
|
setInteraction<T extends InteractionData>(interaction: BaseInteraction<T>): void;
|
|
39
39
|
removeInteraction(): void;
|
|
40
|
-
|
|
40
|
+
setCloseBtnVisible(visible: boolean, handler?: () => void): void;
|
|
41
41
|
private setupShellListeners;
|
|
42
42
|
private setupInteractionListeners;
|
|
43
43
|
private removeInteractionListeners;
|
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -13534,14 +13534,14 @@ var InteractionsBaseShell = class extends HTMLElement {
|
|
|
13534
13534
|
this.interactionComplete = false;
|
|
13535
13535
|
}
|
|
13536
13536
|
}
|
|
13537
|
-
|
|
13538
|
-
if (
|
|
13539
|
-
this.$closeBtn.style.display = "
|
|
13540
|
-
this.$closeBtn.
|
|
13537
|
+
setCloseBtnVisible(visible, handler) {
|
|
13538
|
+
if (!visible) {
|
|
13539
|
+
this.$closeBtn.style.display = "none";
|
|
13540
|
+
this.$closeBtn.onclick = null;
|
|
13541
13541
|
return;
|
|
13542
13542
|
}
|
|
13543
|
-
this.$closeBtn.
|
|
13544
|
-
this.$closeBtn.
|
|
13543
|
+
this.$closeBtn.style.display = "block";
|
|
13544
|
+
this.$closeBtn.onclick = handler;
|
|
13545
13545
|
}
|
|
13546
13546
|
// ==================== EVENT LISTENERS ====================
|
|
13547
13547
|
setupShellListeners() {
|