@wssto2/vue-core 0.10.0 → 0.11.0
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/CHANGELOG.md +15 -0
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-DybAIOHS.js +64 -0
- package/dist/{Activity-CeAG0ZtJ.js → Activity-CdkJW68R.js} +2 -2
- package/dist/{Changes-B9-zpDxG.js → Changes-DxK_QfiB.js} +2 -2
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-Cn0YOWJF.js → CollectionPage.vue_vue_type_script_setup_true_lang-x0jyJ01f.js} +1 -1
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-BQRG8bpH.js → DataTable.vue_vue_type_script_setup_true_lang-C_ZytnW-.js} +1 -1
- package/dist/{DeadLetters-BP03yC4R.js → DeadLetters-DnA7LP1w.js} +2 -2
- package/dist/{General-BDmCJr3H.js → General-2matxl2Y.js} +23 -21
- package/dist/Highlight.vue_vue_type_script_setup_true_lang-DZGBmwcX.js +29 -0
- package/dist/{IncidentRecord-DEhl6AyA.js → IncidentRecord-Bt3G4HlX.js} +1 -1
- package/dist/{IncidentsList-COgRPdk3.js → IncidentsList-2iwgqp9J.js} +3 -3
- package/dist/{ProfilePage-BQCK2w8R.js → ProfilePage-CpuyDBAv.js} +21 -20
- package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-C0OIBrSp.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-FJbWxME_.js} +2 -2
- package/dist/{ServiceAccountRecord-gtlhYaAz.js → ServiceAccountRecord-0-JF5lRx.js} +29 -29
- package/dist/{ServiceAccountsList-BM7GGcvw.js → ServiceAccountsList-DcsnOcf-.js} +6 -6
- package/dist/{Sessions-BCDJYuV2.js → Sessions-DgWhpk-i.js} +2 -2
- package/dist/{SettingsPage-DUhMsYBf.js → SettingsPage-BXPWATYU.js} +5 -4
- package/dist/{SignIn-4D7WohI8.js → SignIn-DPoUwHZd.js} +2 -2
- package/dist/{SignInPage-B6B-34GG.js → SignInPage-OyrVemro.js} +1 -1
- package/dist/{SignIns-CFoe4hpX.js → SignIns-BMDrZVVp.js} +6 -6
- package/dist/{UserRecord-Cd1TCpJZ.js → UserRecord-BW-gdCqi.js} +43 -43
- package/dist/{UsersList-GJU5-CTG.js → UsersList-B3ZF_1Dj.js} +25 -25
- package/dist/app/index.d.ts +1 -0
- package/dist/app/index.js +11 -10
- package/dist/app/languages.d.ts +8 -0
- package/dist/collection/Highlight.vue.d.ts +12 -0
- package/dist/collection/index.d.ts +1 -0
- package/dist/collection/index.js +18 -17
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/index.js +6 -4
- package/dist/i18n/serverMessages.d.ts +16 -0
- package/dist/identity/index.d.ts +2 -1
- package/dist/identity/index.js +7 -7
- package/dist/identity/users/context.d.ts +3 -0
- package/dist/identity/users/feature.d.ts +12 -1
- package/dist/identity/users/list.d.ts +12 -1
- package/dist/identity/users/personSections.d.ts +14 -5
- package/dist/incidents/index.js +1 -1
- package/dist/{index-CTkG-acm.js → index-ClJeyW3F.js} +2 -2
- package/dist/{index-pJ_eRg80.js → index-Cq9TuOqH.js} +441 -434
- package/dist/{index-DUs7WSz-.js → index-kEHY7hcG.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/keepAlive-ClGnsIzT.js +55 -0
- package/dist/notifications/index.js +1 -1
- package/dist/rowLayout-BsKEzEME.js +650 -0
- package/dist/serverMessages-B6GHgi40.js +25 -0
- package/dist/shell/QuickSearchPalette.vue.d.ts +3 -3
- package/dist/shell/index.js +419 -427
- package/dist/shell/quickSearchControl.d.ts +8 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/ActionRow.vue_vue_type_script_setup_true_lang-IpcP3Bjc.js +0 -87
- package/dist/highlight-DnYhLXnu.js +0 -9
- package/dist/identity/fieldMessages.d.ts +0 -15
- package/dist/identity/users/languages.d.ts +0 -4
- package/dist/keepAlive-z3IRFkQq.js +0 -46
- package/dist/rowLayout-Il4psyXN.js +0 -658
|
@@ -262,11 +262,11 @@ const He = {
|
|
|
262
262
|
}, null, 8, ["label"])) : R("", !0);
|
|
263
263
|
}
|
|
264
264
|
}), M = Z({
|
|
265
|
-
index: { name: "incidents.index", path: "/incidents", component: () => import("./IncidentsList-
|
|
265
|
+
index: { name: "incidents.index", path: "/incidents", component: () => import("./IncidentsList-2iwgqp9J.js"), meta: { access: q, titleKey: "core.incidents.title" } },
|
|
266
266
|
details: {
|
|
267
267
|
name: "incidents.details",
|
|
268
268
|
path: "/incidents/:incidentID",
|
|
269
|
-
component: () => import("./IncidentRecord-
|
|
269
|
+
component: () => import("./IncidentRecord-Bt3G4HlX.js"),
|
|
270
270
|
// Previous / next record swaps the id in place.
|
|
271
271
|
meta: { access: q, titleKey: "core.incidents.title", remountOnParam: "incidentID" }
|
|
272
272
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The version of @wssto2/vue-core (kept equal to package.json by index.test.ts). */
|
|
2
|
-
export declare const version = "0.
|
|
2
|
+
export declare const version = "0.11.0";
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { computed as f } from "vue";
|
|
2
|
+
import { l as b } from "./languageName-CItV_SOv.js";
|
|
3
|
+
import { u as w } from "./environment-Dva-SG8D.js";
|
|
4
|
+
function A() {
|
|
5
|
+
const i = w();
|
|
6
|
+
return f(() => i.locales.map((t) => ({ value: t, label: b(t) })));
|
|
7
|
+
}
|
|
8
|
+
const h = 864e5;
|
|
9
|
+
function T(i = {}) {
|
|
10
|
+
const { margin: t = 6e4, retryAfter: m = 3e4 } = i;
|
|
11
|
+
return {
|
|
12
|
+
id: "vue-core.keep-session-alive",
|
|
13
|
+
scope: "session",
|
|
14
|
+
start({ signal: o, platform: s, report: v }) {
|
|
15
|
+
let r;
|
|
16
|
+
const a = () => {
|
|
17
|
+
const e = s.session.state.value;
|
|
18
|
+
return s.session.renewable && e.status === "authenticated" && e.expiresAt ? e.expiresAt.getTime() - Date.now() - t : null;
|
|
19
|
+
}, p = async () => {
|
|
20
|
+
try {
|
|
21
|
+
await s.session.renew();
|
|
22
|
+
} catch (e) {
|
|
23
|
+
v(e);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
function u(e = 0) {
|
|
27
|
+
clearTimeout(r);
|
|
28
|
+
const d = a();
|
|
29
|
+
d !== null && !o.aborted && (r = setTimeout(() => void n(), Math.min(Math.max(d, e), h)));
|
|
30
|
+
}
|
|
31
|
+
async function n() {
|
|
32
|
+
if (o.aborted || !navigator.onLine) return;
|
|
33
|
+
const e = a();
|
|
34
|
+
if (e !== null) {
|
|
35
|
+
if (e <= 0) {
|
|
36
|
+
if (await p(), o.aborted) return;
|
|
37
|
+
u((a() ?? 1) <= 0 ? m : 0);
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
u();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
const c = () => {
|
|
44
|
+
document.visibilityState === "visible" && n();
|
|
45
|
+
}, l = () => void n();
|
|
46
|
+
return document.addEventListener("visibilitychange", c), window.addEventListener("online", l), n(), () => {
|
|
47
|
+
clearTimeout(r), document.removeEventListener("visibilitychange", c), window.removeEventListener("online", l);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
T as k,
|
|
54
|
+
A as u
|
|
55
|
+
};
|