@mxtommy/kip 3.0.0-alpha.37 → 3.0.0-alpha.39
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 +21 -25
- package/public/main.js.map +1 -1
package/package.json
CHANGED
package/public/main.js
CHANGED
|
@@ -125260,7 +125260,7 @@ var WidgetFreeboardskComponent = class _WidgetFreeboardskComponent extends BaseW
|
|
|
125260
125260
|
triggerSwipe(direction) {
|
|
125261
125261
|
const element = document.getElementById("dashboardComponent");
|
|
125262
125262
|
if (element) {
|
|
125263
|
-
const event = new Event("swipeup");
|
|
125263
|
+
const event = new Event("swipeup", { bubbles: true, cancelable: true });
|
|
125264
125264
|
element.dispatchEvent(event);
|
|
125265
125265
|
} else {
|
|
125266
125266
|
console.error('Element with ID "yourElementId" not found.');
|
|
@@ -128921,25 +128921,25 @@ var WidgetWindComponent = class _WidgetWindComponent extends BaseWidgetComponent
|
|
|
128921
128921
|
})();
|
|
128922
128922
|
|
|
128923
128923
|
// src/app/core/components/dashboard/dashboard.component.ts
|
|
128924
|
-
function
|
|
128924
|
+
function DashboardComponent_Conditional_1_Template(rf, ctx) {
|
|
128925
128925
|
if (rf & 1) {
|
|
128926
|
-
const
|
|
128927
|
-
\u0275\u0275elementStart(0, "dashboard-editor",
|
|
128928
|
-
\u0275\u0275listener("OnChangeWidgetCategory", function
|
|
128929
|
-
\u0275\u0275restoreView(
|
|
128930
|
-
const
|
|
128931
|
-
return \u0275\u0275resetView(
|
|
128926
|
+
const _r1 = \u0275\u0275getCurrentView();
|
|
128927
|
+
\u0275\u0275elementStart(0, "dashboard-editor", 2);
|
|
128928
|
+
\u0275\u0275listener("OnChangeWidgetCategory", function DashboardComponent_Conditional_1_Template_dashboard_editor_OnChangeWidgetCategory_0_listener($event) {
|
|
128929
|
+
\u0275\u0275restoreView(_r1);
|
|
128930
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
128931
|
+
return \u0275\u0275resetView(ctx_r1.setupDragIn($event));
|
|
128932
128932
|
});
|
|
128933
128933
|
\u0275\u0275elementEnd();
|
|
128934
128934
|
}
|
|
128935
128935
|
}
|
|
128936
|
-
function
|
|
128936
|
+
function DashboardComponent_Conditional_2_Template(rf, ctx) {
|
|
128937
128937
|
if (rf & 1) {
|
|
128938
|
-
\u0275\u0275element(0, "dashboard-scroller",
|
|
128938
|
+
\u0275\u0275element(0, "dashboard-scroller", 1);
|
|
128939
128939
|
}
|
|
128940
128940
|
if (rf & 2) {
|
|
128941
|
-
const
|
|
128942
|
-
\u0275\u0275property("activePage",
|
|
128941
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
128942
|
+
\u0275\u0275property("activePage", ctx_r1.dashboard.activeDashboard())("dashboards", ctx_r1.dashboard.dashboards());
|
|
128943
128943
|
}
|
|
128944
128944
|
}
|
|
128945
128945
|
var DashboardComponent = class _DashboardComponent {
|
|
@@ -129130,30 +129130,26 @@ var DashboardComponent = class _DashboardComponent {
|
|
|
129130
129130
|
let _t;
|
|
129131
129131
|
\u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.gridstack = _t.first);
|
|
129132
129132
|
}
|
|
129133
|
-
}, standalone: true, features: [\u0275\u0275StandaloneFeature], decls:
|
|
129133
|
+
}, standalone: true, features: [\u0275\u0275StandaloneFeature], decls: 3, vars: 5, consts: [["id", "dashboardComponent", 3, "swipeup", "swipedown", "resize", "options"], [3, "activePage", "dashboards"], [3, "OnChangeWidgetCategory"]], template: function DashboardComponent_Template(rf, ctx) {
|
|
129134
129134
|
if (rf & 1) {
|
|
129135
|
-
|
|
129136
|
-
\u0275\u0275elementStart(0, "gridstack", 1, 0);
|
|
129135
|
+
\u0275\u0275elementStart(0, "gridstack", 0);
|
|
129137
129136
|
\u0275\u0275listener("swipeup", function DashboardComponent_Template_gridstack_swipeup_0_listener($event) {
|
|
129138
|
-
|
|
129139
|
-
return \u0275\u0275resetView(ctx.previousDashboard($event));
|
|
129137
|
+
return ctx.previousDashboard($event);
|
|
129140
129138
|
})("swipedown", function DashboardComponent_Template_gridstack_swipedown_0_listener($event) {
|
|
129141
|
-
|
|
129142
|
-
return \u0275\u0275resetView(ctx.nextDashboard($event));
|
|
129139
|
+
return ctx.nextDashboard($event);
|
|
129143
129140
|
})("resize", function DashboardComponent_Template_gridstack_resize_0_listener() {
|
|
129144
|
-
|
|
129145
|
-
return \u0275\u0275resetView(ctx.resizeGridColumns());
|
|
129141
|
+
return ctx.resizeGridColumns();
|
|
129146
129142
|
}, false, \u0275\u0275resolveWindow);
|
|
129147
129143
|
\u0275\u0275elementEnd();
|
|
129148
|
-
\u0275\u0275template(
|
|
129144
|
+
\u0275\u0275template(1, DashboardComponent_Conditional_1_Template, 1, 0, "dashboard-editor")(2, DashboardComponent_Conditional_2_Template, 1, 2, "dashboard-scroller", 1);
|
|
129149
129145
|
}
|
|
129150
129146
|
if (rf & 2) {
|
|
129151
129147
|
\u0275\u0275styleProp("width", ctx.dashboard.isDashboardStatic() ? "100%" : "calc(100% - 135px)");
|
|
129152
129148
|
\u0275\u0275property("options", ctx.gridOptions);
|
|
129153
|
-
\u0275\u0275advance(2);
|
|
129154
|
-
\u0275\u0275conditional(!ctx.dashboard.isDashboardStatic() ? 2 : -1);
|
|
129155
129149
|
\u0275\u0275advance();
|
|
129156
|
-
\u0275\u0275conditional(ctx.dashboard.isDashboardStatic() ?
|
|
129150
|
+
\u0275\u0275conditional(!ctx.dashboard.isDashboardStatic() ? 1 : -1);
|
|
129151
|
+
\u0275\u0275advance();
|
|
129152
|
+
\u0275\u0275conditional(ctx.dashboard.isDashboardStatic() ? 2 : -1);
|
|
129157
129153
|
}
|
|
129158
129154
|
}, dependencies: [GridstackModule, GridstackComponent, DashboardEditorComponent, DashboardScrollerComponent], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n height: 100%;\n width: 100%;\n}\n.grid-stack[_ngcontent-%COMP%] {\n width: 100%;\n}\n.test[_ngcontent-%COMP%] {\n background-color: red;\n}\n/*# sourceMappingURL=dashboard.component.css.map */"] });
|
|
129159
129155
|
};
|