@mxtommy/kip 3.0.0-alpha.46 → 3.0.0-alpha.47
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 +7 -9
- package/public/main.js.map +1 -1
package/package.json
CHANGED
package/public/main.js
CHANGED
|
@@ -125267,16 +125267,12 @@ var WidgetFreeboardskComponent = class _WidgetFreeboardskComponent extends BaseW
|
|
|
125267
125267
|
}
|
|
125268
125268
|
break;
|
|
125269
125269
|
case "swipeleft":
|
|
125270
|
-
|
|
125271
|
-
|
|
125272
|
-
window.document.dispatchEvent(sidebarEvent);
|
|
125273
|
-
}
|
|
125270
|
+
const leftSidebarEvent = new Event("openLeftSidenav", { bubbles: true, cancelable: true });
|
|
125271
|
+
window.document.dispatchEvent(leftSidebarEvent);
|
|
125274
125272
|
break;
|
|
125275
125273
|
case "swiperight":
|
|
125276
|
-
|
|
125277
|
-
|
|
125278
|
-
window.document.dispatchEvent(sidebarEvent);
|
|
125279
|
-
}
|
|
125274
|
+
const rightSidebarEvent = new Event("openRightSidenav", { bubbles: true, cancelable: true });
|
|
125275
|
+
window.document.dispatchEvent(rightSidebarEvent);
|
|
125280
125276
|
break;
|
|
125281
125277
|
default:
|
|
125282
125278
|
break;
|
|
@@ -145602,6 +145598,7 @@ var AppComponent = class _AppComponent {
|
|
|
145602
145598
|
}
|
|
145603
145599
|
});
|
|
145604
145600
|
window.addEventListener("openLeftSidenav", this.onSwipeLeft);
|
|
145601
|
+
window.addEventListener("openRightSidenav", this.onSwipeRight);
|
|
145605
145602
|
}
|
|
145606
145603
|
menuClosed() {
|
|
145607
145604
|
if (this.notificationsPresent) {
|
|
@@ -145677,7 +145674,8 @@ var AppComponent = class _AppComponent {
|
|
|
145677
145674
|
this.themeNameSub.unsubscribe();
|
|
145678
145675
|
this.appNotificationSub.unsubscribe();
|
|
145679
145676
|
this.connectionStatusSub.unsubscribe();
|
|
145680
|
-
window.removeEventListener("
|
|
145677
|
+
window.removeEventListener("openLeftSidenav", this.onSwipeLeft);
|
|
145678
|
+
window.removeEventListener("openRightSidenav", this.onSwipeRight);
|
|
145681
145679
|
}
|
|
145682
145680
|
static \u0275fac = function AppComponent_Factory(__ngFactoryType__) {
|
|
145683
145681
|
return new (__ngFactoryType__ || _AppComponent)();
|