web-mojo 2.1.783 → 2.1.799
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/admin.cjs.js +1 -1
- package/dist/admin.cjs.js.map +1 -1
- package/dist/admin.es.js +90 -28
- package/dist/admin.es.js.map +1 -1
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.cjs.js.map +1 -1
- package/dist/auth.es.js +3 -3
- package/dist/auth.es.js.map +1 -1
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +2 -2
- package/dist/chunks/{ChatView-DnlFXNbs.js → ChatView-CG0MxxC0.js} +9 -50
- package/dist/chunks/ChatView-CG0MxxC0.js.map +1 -0
- package/dist/chunks/{ChatView-DrBUQ373.js → ChatView-DsAe76Iw.js} +2 -2
- package/dist/chunks/ChatView-DsAe76Iw.js.map +1 -0
- package/dist/chunks/{ContextMenu-BnUxQSjf.js → ContextMenu-CUzoOzxz.js} +2 -2
- package/dist/chunks/{ContextMenu-BnUxQSjf.js.map → ContextMenu-CUzoOzxz.js.map} +1 -1
- package/dist/chunks/{ContextMenu-b_OrhKHs.js → ContextMenu-Cwwt69yf.js} +2 -2
- package/dist/chunks/{ContextMenu-b_OrhKHs.js.map → ContextMenu-Cwwt69yf.js.map} +1 -1
- package/dist/chunks/{DataView-DrEVJtrm.js → DataView-BpiXyyVG.js} +2 -2
- package/dist/chunks/{DataView-DrEVJtrm.js.map → DataView-BpiXyyVG.js.map} +1 -1
- package/dist/chunks/{DataView-t3OBXM-2.js → DataView-D0ycwi7W.js} +2 -2
- package/dist/chunks/{DataView-t3OBXM-2.js.map → DataView-D0ycwi7W.js.map} +1 -1
- package/dist/chunks/{Dialog-DmXdNWsq.js → Dialog-C1bsyxOc.js} +2 -2
- package/dist/chunks/{Dialog-DmXdNWsq.js.map → Dialog-C1bsyxOc.js.map} +1 -1
- package/dist/chunks/{Dialog-CCLikhVB.js → Dialog-C469ul5I.js} +5 -5
- package/dist/chunks/{Dialog-CCLikhVB.js.map → Dialog-C469ul5I.js.map} +1 -1
- package/dist/chunks/{FormView-CDR6Tkde.js → FormView-B_lR2GG4.js} +2 -2
- package/dist/chunks/{FormView-CDR6Tkde.js.map → FormView-B_lR2GG4.js.map} +1 -1
- package/dist/chunks/{FormView-DMyXiDWu.js → FormView-CFEBoHcV.js} +2 -2
- package/dist/chunks/{FormView-DMyXiDWu.js.map → FormView-CFEBoHcV.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-BmY66k1F.js → MetricsMiniChartWidget-BsGbSx8_.js} +3 -3
- package/dist/chunks/{MetricsMiniChartWidget-BmY66k1F.js.map → MetricsMiniChartWidget-BsGbSx8_.js.map} +1 -1
- package/dist/chunks/{MetricsMiniChartWidget-CZ2J2Hc2.js → MetricsMiniChartWidget-JdcYul7m.js} +2 -2
- package/dist/chunks/{MetricsMiniChartWidget-CZ2J2Hc2.js.map → MetricsMiniChartWidget-JdcYul7m.js.map} +1 -1
- package/dist/chunks/{PDFViewer-B6e5yweS.js → PDFViewer-BTePcTwW.js} +3 -3
- package/dist/chunks/{PDFViewer-B6e5yweS.js.map → PDFViewer-BTePcTwW.js.map} +1 -1
- package/dist/chunks/{PDFViewer-B8AW4CBc.js → PDFViewer-DgtfmQBH.js} +2 -2
- package/dist/chunks/{PDFViewer-B8AW4CBc.js.map → PDFViewer-DgtfmQBH.js.map} +1 -1
- package/dist/chunks/{Page-Bv3lkFL5.js → Page-BNzfxoLN.js} +2 -2
- package/dist/chunks/{Page-Bv3lkFL5.js.map → Page-BNzfxoLN.js.map} +1 -1
- package/dist/chunks/{Page-DEBpjrLS.js → Page-BOBZ_hsj.js} +2 -2
- package/dist/chunks/{Page-DEBpjrLS.js.map → Page-BOBZ_hsj.js.map} +1 -1
- package/dist/chunks/{TopNav-BLY2EcD5.js → TopNav-CBtwOzt8.js} +22 -8
- package/dist/chunks/TopNav-CBtwOzt8.js.map +1 -0
- package/dist/chunks/{TopNav-DNUFKcWJ.js → TopNav-pB6gzZRF.js} +2 -2
- package/dist/chunks/TopNav-pB6gzZRF.js.map +1 -0
- package/dist/chunks/{WebApp-AGmBnM8H.js → WebApp-BOZJfaC7.js} +33 -14
- package/dist/chunks/{WebApp-AGmBnM8H.js.map → WebApp-BOZJfaC7.js.map} +1 -1
- package/dist/chunks/{WebApp-BR_7YgWu.js → WebApp-NjfRcJiV.js} +2 -2
- package/dist/chunks/WebApp-NjfRcJiV.js.map +1 -0
- package/dist/core.css +264 -0
- package/dist/css/web-mojo.css +1 -1
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.es.js +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +25 -23
- package/dist/index.es.js.map +1 -1
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.es.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/ChatView-DnlFXNbs.js.map +0 -1
- package/dist/chunks/ChatView-DrBUQ373.js.map +0 -1
- package/dist/chunks/TopNav-BLY2EcD5.js.map +0 -1
- package/dist/chunks/TopNav-DNUFKcWJ.js.map +0 -1
- package/dist/chunks/WebApp-BR_7YgWu.js.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { V as View, W as WebApp, d as dataFormatter, M as Mustache } from "./chunks/WebApp-
|
|
2
|
-
import { B, D, g, E, h, r, R, b, a, c, e, f } from "./chunks/WebApp-
|
|
3
|
-
import { P as Page } from "./chunks/Page-
|
|
4
|
-
import { G as GroupList, T as ToastService, U as User, a as Group } from "./chunks/ContextMenu-
|
|
5
|
-
import { C, b as b2, c as c2, M, f as f2, g as g2, h as h2, i, j, e as e2, d } from "./chunks/ContextMenu-
|
|
6
|
-
import { M as Member } from "./chunks/ChatView-
|
|
7
|
-
import { f as f3, e as e3, C as C2, E as E2, k, j as j2, r as r2, t, s, x, z, y, u, w, v, F, g as g3, ap, aq, D as D2, I, B as B2, A, H, Q, R as R2, G, N, O, J, K, Y, Z, a2, a3, $, _, a0, a1, a5, a7, a6, a4, L, c as c3, a8, a9, l, n, m, ab, aa, ae, ac, ad, P, aj, an, ak, al, am, af, ag, ah, ao, ai, W, X, U, V, S, i as i2, h as h3, o, q, p, d as d2, b as b3, a as a10, T, ar, aw, av, as, at, au } from "./chunks/ChatView-
|
|
8
|
-
import { S as SimpleSearchView, T as TopNav } from "./chunks/TopNav-
|
|
9
|
-
import Dialog from "./chunks/Dialog-
|
|
1
|
+
import { V as View, W as WebApp, d as dataFormatter, M as Mustache } from "./chunks/WebApp-BOZJfaC7.js";
|
|
2
|
+
import { B, D, g, E, h, r, R, b, a, c, e, f } from "./chunks/WebApp-BOZJfaC7.js";
|
|
3
|
+
import { P as Page } from "./chunks/Page-BNzfxoLN.js";
|
|
4
|
+
import { G as GroupList, T as ToastService, U as User, a as Group } from "./chunks/ContextMenu-Cwwt69yf.js";
|
|
5
|
+
import { C, b as b2, c as c2, M, f as f2, g as g2, h as h2, i, j, e as e2, d } from "./chunks/ContextMenu-Cwwt69yf.js";
|
|
6
|
+
import { M as Member } from "./chunks/ChatView-CG0MxxC0.js";
|
|
7
|
+
import { f as f3, e as e3, C as C2, E as E2, k, j as j2, r as r2, t, s, x, z, y, u, w, v, F, g as g3, ap, aq, D as D2, I, B as B2, A, H, Q, R as R2, G, N, O, J, K, Y, Z, a2, a3, $, _, a0, a1, a5, a7, a6, a4, L, c as c3, a8, a9, l, n, m, ab, aa, ae, ac, ad, P, aj, an, ak, al, am, af, ag, ah, ao, ai, W, X, U, V, S, i as i2, h as h3, o, q, p, d as d2, b as b3, a as a10, T, ar, aw, av, as, at, au } from "./chunks/ChatView-CG0MxxC0.js";
|
|
8
|
+
import { S as SimpleSearchView, T as TopNav } from "./chunks/TopNav-CBtwOzt8.js";
|
|
9
|
+
import Dialog from "./chunks/Dialog-C469ul5I.js";
|
|
10
10
|
import { T as TokenManager } from "./chunks/TokenManager-CAZNcCMs.js";
|
|
11
|
-
import { default as default2 } from "./chunks/DataView-
|
|
12
|
-
import { F as F2, a as a11 } from "./chunks/FormView-
|
|
11
|
+
import { default as default2 } from "./chunks/DataView-BpiXyyVG.js";
|
|
12
|
+
import { F as F2, a as a11 } from "./chunks/FormView-CFEBoHcV.js";
|
|
13
13
|
import { W as W2 } from "./chunks/WebSocketClient-B6ribe3B.js";
|
|
14
14
|
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false };
|
|
15
15
|
const LEVELS = Object.freeze({
|
|
@@ -1012,7 +1012,7 @@ class Sidebar extends View {
|
|
|
1012
1012
|
setupRouteListeners() {
|
|
1013
1013
|
const app = this.getApp();
|
|
1014
1014
|
if (app && app.events) {
|
|
1015
|
-
app.events.on(["page:
|
|
1015
|
+
app.events.on(["page:showing", "page:hide", "page:denied"], (data) => {
|
|
1016
1016
|
this.onRouteChanged(data);
|
|
1017
1017
|
});
|
|
1018
1018
|
app.events.on("group:changed", (data) => {
|
|
@@ -1114,13 +1114,23 @@ class Sidebar extends View {
|
|
|
1114
1114
|
link.setAttribute("data-bs-title", tooltipText);
|
|
1115
1115
|
link.setAttribute("data-bs-container", "body");
|
|
1116
1116
|
if (window.bootstrap && window.bootstrap.Tooltip) {
|
|
1117
|
-
const
|
|
1117
|
+
const theme = link.getAttribute("data-tooltip-theme");
|
|
1118
|
+
const size = link.getAttribute("data-tooltip-size");
|
|
1119
|
+
let customClass = "";
|
|
1120
|
+
if (theme) customClass += `tooltip-${theme} `;
|
|
1121
|
+
if (size) customClass += `tooltip-${size}`;
|
|
1122
|
+
const tooltipOptions = {
|
|
1118
1123
|
placement: "right",
|
|
1119
1124
|
container: "body",
|
|
1120
1125
|
trigger: "hover",
|
|
1121
1126
|
delay: { show: 500, hide: 100 },
|
|
1122
1127
|
fallbackPlacements: ["top", "bottom", "left"]
|
|
1123
|
-
}
|
|
1128
|
+
};
|
|
1129
|
+
const trimmedClass = customClass.trim();
|
|
1130
|
+
if (trimmedClass) {
|
|
1131
|
+
tooltipOptions.customClass = trimmedClass;
|
|
1132
|
+
}
|
|
1133
|
+
const tooltip = new window.bootstrap.Tooltip(link, tooltipOptions);
|
|
1124
1134
|
link._tooltipInstance = tooltip;
|
|
1125
1135
|
link.addEventListener("click", () => {
|
|
1126
1136
|
tooltip.hide();
|
|
@@ -1860,15 +1870,7 @@ class NotFoundPage extends Page {
|
|
|
1860
1870
|
class PortalApp extends WebApp {
|
|
1861
1871
|
constructor(config = {}) {
|
|
1862
1872
|
super(config);
|
|
1863
|
-
this.sidebarConfig =
|
|
1864
|
-
if (config.sidebar && config.sidebar.menus) {
|
|
1865
|
-
this.sidebarConfig.menus = config.sidebar.menus;
|
|
1866
|
-
this.sidebarConfig.groupSelectorMode = config.sidebar.groupSelectorMode || "inline";
|
|
1867
|
-
} else if (config.sidebar.menu) {
|
|
1868
|
-
this.sidebarConfig.menu = config.sidebar.menu;
|
|
1869
|
-
} else if (config.sidebar.items) {
|
|
1870
|
-
this.sidebarConfig.menu = config.sidebar;
|
|
1871
|
-
}
|
|
1873
|
+
this.sidebarConfig = config.sidebar;
|
|
1872
1874
|
this.topbarConfig = config.topbar || {};
|
|
1873
1875
|
if (config.topnav && !config.topbar) {
|
|
1874
1876
|
this.topbarConfig = config.topnav;
|