@mxtommy/kip 3.0.0-alpha.45 → 3.0.0-alpha.46
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/package.json +1 -1
- package/public/main.js +4 -4
- package/public/main.js.map +1 -1
package/package.json
CHANGED
package/public/main.js
CHANGED
|
@@ -125255,7 +125255,6 @@ var WidgetFreeboardskComponent = class _WidgetFreeboardskComponent extends BaseW
|
|
|
125255
125255
|
handleIframeGesture = (event) => {
|
|
125256
125256
|
if (!event.data || !event.data.gesture)
|
|
125257
125257
|
return;
|
|
125258
|
-
console.log("Received iframe gesture:", event.data.gesture);
|
|
125259
125258
|
switch (event.data.gesture) {
|
|
125260
125259
|
case "swipeup":
|
|
125261
125260
|
if (this._dashboard.isDashboardStatic()) {
|
|
@@ -125269,13 +125268,13 @@ var WidgetFreeboardskComponent = class _WidgetFreeboardskComponent extends BaseW
|
|
|
125269
125268
|
break;
|
|
125270
125269
|
case "swipeleft":
|
|
125271
125270
|
if (this._dashboard.isDashboardStatic()) {
|
|
125272
|
-
const sidebarEvent = new Event("
|
|
125271
|
+
const sidebarEvent = new Event("openLeftSidenav", { bubbles: true, cancelable: true });
|
|
125273
125272
|
window.document.dispatchEvent(sidebarEvent);
|
|
125274
125273
|
}
|
|
125275
125274
|
break;
|
|
125276
125275
|
case "swiperight":
|
|
125277
125276
|
if (this._dashboard.isDashboardStatic()) {
|
|
125278
|
-
const sidebarEvent = new Event("
|
|
125277
|
+
const sidebarEvent = new Event("openRightSidenav", { bubbles: true, cancelable: true });
|
|
125279
125278
|
window.document.dispatchEvent(sidebarEvent);
|
|
125280
125279
|
}
|
|
125281
125280
|
break;
|
|
@@ -145602,7 +145601,7 @@ var AppComponent = class _AppComponent {
|
|
|
145602
145601
|
Howler.autoSuspend = false;
|
|
145603
145602
|
}
|
|
145604
145603
|
});
|
|
145605
|
-
window.addEventListener("
|
|
145604
|
+
window.addEventListener("openLeftSidenav", this.onSwipeLeft);
|
|
145606
145605
|
}
|
|
145607
145606
|
menuClosed() {
|
|
145608
145607
|
if (this.notificationsPresent) {
|
|
@@ -145678,6 +145677,7 @@ var AppComponent = class _AppComponent {
|
|
|
145678
145677
|
this.themeNameSub.unsubscribe();
|
|
145679
145678
|
this.appNotificationSub.unsubscribe();
|
|
145680
145679
|
this.connectionStatusSub.unsubscribe();
|
|
145680
|
+
window.removeEventListener("openSidenav", this.onOpenSidenav);
|
|
145681
145681
|
}
|
|
145682
145682
|
static \u0275fac = function AppComponent_Factory(__ngFactoryType__) {
|
|
145683
145683
|
return new (__ngFactoryType__ || _AppComponent)();
|