@wssto2/vue-core 0.7.0 → 0.9.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 +33 -0
- package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-CkomzGrt.js → AccessGate.vue_vue_type_script_setup_true_lang-B8gpkhbw.js} +1 -1
- package/dist/{Activity-CW2TOQAY.js → Activity-CfG8_Pp3.js} +7 -7
- package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-9Lt1XggN.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-DC-zSRcl.js} +1 -1
- package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-GxAsImnO.js → AsyncSection.vue_vue_type_script_setup_true_lang-BTIUz3cG.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-DQq_0P0p.js → Button.vue_vue_type_script_setup_true_lang-Dn-cJcj3.js} +67 -65
- package/dist/{Changes-BCaVkeZg.js → Changes-BT__0XX0.js} +6 -6
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-BmXnfM5f.js → CollectionPage.vue_vue_type_script_setup_true_lang-Bcwwr8ng.js} +7 -7
- package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DRWrCRLr.js → DataTable.vue_vue_type_script_setup_true_lang-CJlllQII.js} +1 -1
- package/dist/{DateField.vue_vue_type_script_setup_true_lang-DmYp54mq.js → DateField.vue_vue_type_script_setup_true_lang-BuQY5e5x.js} +2 -2
- package/dist/{DeadLetters-DUM_bsL-.js → DeadLetters-Btv3u3qh.js} +4 -4
- package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-BTADNpwB.js → FormGroup.vue_vue_type_script_setup_true_lang-Bzm3yJy5.js} +1 -1
- package/dist/{General-Dsh0TJ5w.js → General-Cum9U4Z3.js} +6 -6
- package/dist/{IncidentRecord-C9zrjNrp.js → IncidentRecord-C4K8hDJ1.js} +10 -10
- package/dist/{IncidentsList-ClQOjd5c.js → IncidentsList-BHfJ1cbg.js} +16 -16
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-4MsnTWyx.js → Modal.vue_vue_type_script_setup_true_lang-BqO9X_-u.js} +1 -1
- package/dist/{NewRolePage-Bw2_jXcQ.js → NewRolePage-BSvYZkH4.js} +4 -4
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-C3nw944P.js → NumberField.vue_vue_type_script_setup_true_lang-CLN2COfp.js} +1 -1
- package/dist/{PageBar.vue_vue_type_script_setup_true_lang-DPpcZxuT.js → PageBar.vue_vue_type_script_setup_true_lang-OE8VgTkY.js} +1 -1
- package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-07pq4SrY.js → PersonAccess.vue_vue_type_script_setup_true_lang-CBQ1kv8G.js} +7 -7
- package/dist/{ProfilePage-CJIztbx3.js → ProfilePage-Dnn_VUoB.js} +13 -13
- package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-DPm9q1P_.js → RecordHeader.vue_vue_type_script_setup_true_lang-CU7fZpp2.js} +1 -1
- package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-Cm3tx76N.js → ResourcePage.vue_vue_type_script_setup_true_lang-y3gyR5A-.js} +3 -3
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-DuQR8hFf.js → RoleEditor.vue_vue_type_script_setup_true_lang-BcUxVL9y.js} +5 -5
- package/dist/{RolePage-Yv6m6u7o.js → RolePage-BIY9dEME.js} +10 -10
- package/dist/{RolesPage-TibtzxzQ.js → RolesPage-Be35CA_4.js} +5 -5
- package/dist/{SectionList.vue_vue_type_script_setup_true_lang-DAnZbfWA.js → SectionList.vue_vue_type_script_setup_true_lang-DzoE_o8v.js} +1 -1
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-ivdGWUeF.js → SectionNavigator.vue_vue_type_script_setup_true_lang-CWPD9zQJ.js} +3 -3
- package/dist/{SelectField.vue_vue_type_script_setup_true_lang-iJm8qmjT.js → SelectField.vue_vue_type_script_setup_true_lang-CYiarLAK.js} +1 -1
- package/dist/{ServiceAccountDialog.vue_vue_type_script_setup_true_lang-D2Xj5mr7.js → ServiceAccountDialog.vue_vue_type_script_setup_true_lang-CKIq1Ljb.js} +7 -7
- package/dist/{ServiceAccountRecord-Ct3TrSqZ.js → ServiceAccountRecord-QsIfylwj.js} +13 -13
- package/dist/{ServiceAccountsList-CaXEp73j.js → ServiceAccountsList-CVDIhuCh.js} +7 -7
- package/dist/{SessionList.vue_vue_type_script_setup_true_lang-BEKTaL0g.js → SessionList.vue_vue_type_script_setup_true_lang-CkN7vR71.js} +3 -3
- package/dist/{Sessions-Bg4Zk9Gf.js → Sessions-Cl2DTM7s.js} +5 -5
- package/dist/{SettingsPage-Brq9U4tJ.js → SettingsPage-B2uWw27O.js} +10 -10
- package/dist/{SignIn-DB5LRNlB.js → SignIn-BHYFSMOX.js} +5 -5
- package/dist/{SignInPage-Ts-iTaC1.js → SignInPage--OC0hQ8M.js} +3 -3
- package/dist/{SignIns-bCvvmCHF.js → SignIns-CJ09NqOn.js} +5 -5
- package/dist/{TimeField.vue_vue_type_script_setup_true_lang-BwoE08jT.js → TimeField.vue_vue_type_script_setup_true_lang-B140Gjqd.js} +2 -2
- package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-u53rHMFG.js → Timestamp.vue_vue_type_script_setup_true_lang-CAz2W69d.js} +1 -1
- package/dist/{UserRecord-DgK9FsvV.js → UserRecord-BjXUcHo8.js} +9 -9
- package/dist/{UsersList-Due2ZkbO.js → UsersList-D4-eC5tC.js} +9 -9
- package/dist/access/index.js +4 -4
- package/dist/app/application.d.ts +4 -2
- package/dist/app/index.js +2 -2
- package/dist/application-DtY0ef-w.js +420 -0
- package/dist/button/index.js +1 -1
- package/dist/button/shortcut.d.ts +7 -0
- package/dist/client/client.d.ts +33 -0
- package/dist/client/disposition.d.ts +5 -0
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client-Dr2vV3qH.js +193 -0
- package/dist/collection/index.d.ts +1 -1
- package/dist/collection/index.js +81 -60
- package/dist/collection/savedViews.d.ts +12 -2
- package/dist/content/Money.vue.d.ts +31 -0
- package/dist/content/index.d.ts +1 -0
- package/dist/content/index.js +75 -40
- package/dist/{contributions-BQ9dZoRw.js → contributions-DGsAIWd8.js} +1 -1
- package/dist/{fieldMessages-DTXpWnBd.js → fieldMessages-6UTV9yWL.js} +1 -1
- package/dist/form/FileField.vue.d.ts +1 -1
- package/dist/form/PhotoField.vue.d.ts +1 -1
- package/dist/form/index.js +18 -18
- package/dist/format/format.d.ts +9 -1
- package/dist/format/index.js +1 -1
- package/dist/format-Dn-BOb-o.js +86 -0
- package/dist/{guards-BFCulig0.js → guards-Cz7TOQD8.js} +1 -1
- package/dist/identity/index.js +1 -1
- package/dist/incidents/index.js +1 -1
- package/dist/{index-CXTJ_1NV.js → index-BB0_hxmE.js} +16 -16
- package/dist/{index-i-cTTVxo.js → index-C1jSzT1V.js} +7 -7
- package/dist/{index-D5_GAqjA.js → index-DZQ3gy3e.js} +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/modal/index.js +15 -15
- package/dist/modules/savedview/entities.d.ts +7 -0
- package/dist/modules/savedview/routes.d.ts +13 -0
- package/dist/modules/savedview/schemas.d.ts +11 -0
- package/dist/{navigation-BSC9X7FM.js → navigation-CWj6F_cV.js} +1 -1
- package/dist/{neighbors-BKzihEGQ.js → neighbors-CcCaurV5.js} +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/page/index.js +5 -5
- package/dist/platform/index.js +3 -3
- package/dist/{platform-Dr4iY3b8.js → platform-BZUWAXQV.js} +1 -1
- package/dist/pwa/index.d.ts +2 -0
- package/dist/pwa/index.js +51 -0
- package/dist/pwa/install.d.ts +12 -0
- package/dist/pwa/worker.d.ts +13 -0
- package/dist/resource/index.js +1 -1
- package/dist/router/index.js +3 -3
- package/dist/{rowLayout-Cz-K7jeo.js → rowLayout-BLhJ9-42.js} +4 -4
- package/dist/{sections-BXg4_ZhO.js → sections-CmqFs-U-.js} +1 -1
- package/dist/shell/index.js +3 -3
- package/dist/state/index.js +1 -1
- package/dist/{state-ChVIjayU.js → state-BiYPPKoj.js} +1 -1
- package/dist/{status-DZ4eSnAS.js → status-Bf4nfIe0.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/{useCommand-BIZX1ReM.js → useCommand-C3QTZIIw.js} +1 -1
- package/dist/{useGroupSheet-DxXzdKo3.js → useGroupSheet-LAnO37WV.js} +2 -2
- package/dist/{useRecordDialog-BLVSz7g3.js → useRecordDialog-Da1Sfak1.js} +1 -1
- package/dist/{useTypedEntry-CKuGqWT8.js → useTypedEntry-DIYdA7DK.js} +1 -1
- package/package.json +6 -2
- package/dist/application-D8Nm17zA.js +0 -420
- package/dist/client-CZgikXPG.js +0 -151
- package/dist/format-D8X4zsx6.js +0 -78
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { computed as o, shallowRef as l, ref as s } from "vue";
|
|
2
|
+
const n = l(null), r = s(!1);
|
|
3
|
+
let i = !1;
|
|
4
|
+
function p() {
|
|
5
|
+
i || typeof window > "u" || (i = !0, window.addEventListener("beforeinstallprompt", (e) => {
|
|
6
|
+
e.preventDefault(), n.value = e;
|
|
7
|
+
}), window.addEventListener("appinstalled", () => {
|
|
8
|
+
r.value = !0, n.value = null;
|
|
9
|
+
}));
|
|
10
|
+
}
|
|
11
|
+
function v() {
|
|
12
|
+
if (typeof navigator > "u") return "desktop";
|
|
13
|
+
const e = navigator.userAgent;
|
|
14
|
+
return /Android/i.test(e) ? "android" : /iPad|iPhone|iPod/.test(e) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1 ? "ios" : "desktop";
|
|
15
|
+
}
|
|
16
|
+
function d() {
|
|
17
|
+
return typeof window > "u" ? !1 : window.matchMedia?.("(display-mode: standalone)").matches === !0 || navigator.standalone === !0;
|
|
18
|
+
}
|
|
19
|
+
function m() {
|
|
20
|
+
return {
|
|
21
|
+
canInstall: o(() => n.value != null),
|
|
22
|
+
installed: o(() => r.value || d()),
|
|
23
|
+
/** Opens the browser's install dialog; true when the user accepted. */
|
|
24
|
+
async install() {
|
|
25
|
+
const e = n.value;
|
|
26
|
+
if (!e) return !1;
|
|
27
|
+
await e.prompt();
|
|
28
|
+
const { outcome: t } = await e.userChoice;
|
|
29
|
+
return n.value = null, t === "accepted" && (r.value = !0), t === "accepted";
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function c() {
|
|
34
|
+
const e = document.querySelector('script[type="module"][src*="/assets/"]');
|
|
35
|
+
return e ? new URL(e.src, location.href).pathname : null;
|
|
36
|
+
}
|
|
37
|
+
function w(e = {}) {
|
|
38
|
+
if (e.enabled === !1 || typeof navigator > "u" || !("serviceWorker" in navigator)) return;
|
|
39
|
+
const t = e.url ?? "/sw.js", u = encodeURIComponent(c() ?? "unknown"), a = () => {
|
|
40
|
+
navigator.serviceWorker.register(`${t}${t.includes("?") ? "&" : "?"}build=${u}`).catch(() => {
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
document.readyState === "complete" ? a() : window.addEventListener("load", a, { once: !0 });
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
p as captureInstallPrompt,
|
|
47
|
+
v as currentPlatform,
|
|
48
|
+
d as isStandalone,
|
|
49
|
+
w as registerServiceWorker,
|
|
50
|
+
m as useInstallPrompt
|
|
51
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Starts listening for the install prompt. Safe to call twice; does nothing without a `window`. */
|
|
2
|
+
export declare function captureInstallPrompt(): void;
|
|
3
|
+
export type AppPlatform = "ios" | "android" | "desktop";
|
|
4
|
+
export declare function currentPlatform(): AppPlatform;
|
|
5
|
+
/** Opened from the home screen or as an installed app, not in a browser tab. */
|
|
6
|
+
export declare function isStandalone(): boolean;
|
|
7
|
+
export declare function useInstallPrompt(): {
|
|
8
|
+
canInstall: import("vue").ComputedRef<boolean>;
|
|
9
|
+
installed: import("vue").ComputedRef<boolean>;
|
|
10
|
+
/** Opens the browser's install dialog; true when the user accepted. */
|
|
11
|
+
install(): Promise<boolean>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ServiceWorkerOptions {
|
|
2
|
+
/** Where the application serves its worker. Default `/sw.js`. */
|
|
3
|
+
url?: string;
|
|
4
|
+
/** Default true. Pass `import.meta.env.PROD` (and `false` inside an embedding page's iframe): a worker in development caches the dev server's modules. */
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Registers the application's service worker. The build entry goes into the worker's URL (`?build=`),
|
|
9
|
+
* so each deploy installs a fresh worker, which can clear the previous build's cache. Registered once
|
|
10
|
+
* the page has loaded, so it never competes with the first render. A failure is silent: the application
|
|
11
|
+
* works the same without a worker.
|
|
12
|
+
*/
|
|
13
|
+
export declare function registerServiceWorker(options?: ServiceWorkerOptions): void;
|
package/dist/resource/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as o, u as r, a, b as u } from "../routeResource-CcYA75T2.js";
|
|
2
|
-
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as R, a as c } from "../ResourcePage.vue_vue_type_script_setup_true_lang-y3gyR5A-.js";
|
|
3
3
|
export {
|
|
4
4
|
R as RecordPager,
|
|
5
5
|
c as ResourcePage,
|
package/dist/router/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as a, c as o, a as r, i as t } from "../NoAccess.vue_vue_type_script_setup_true_lang-BHzZtZ50.js";
|
|
2
2
|
import { d as c } from "../defineRoutes-BGAdiIrt.js";
|
|
3
3
|
import { A as u, f as p, i as f, r as A, u as m } from "../access-DmAceEo5.js";
|
|
4
|
-
import { i as l, r as x } from "../guards-
|
|
5
|
-
import { u as y } from "../sections-
|
|
6
|
-
import { b as v, c as N, n as H, u as b } from "../navigation-
|
|
4
|
+
import { i as l, r as x } from "../guards-Cz7TOQD8.js";
|
|
5
|
+
import { u as y } from "../sections-CmqFs-U-.js";
|
|
6
|
+
import { b as v, c as N, n as H, u as b } from "../navigation-CWj6F_cV.js";
|
|
7
7
|
export {
|
|
8
8
|
u as AppRouterView,
|
|
9
9
|
a as NoAccess,
|
|
@@ -6,9 +6,9 @@ import { _ as J } from "./Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
|
6
6
|
import { _ as Ne } from "./Menu.vue_vue_type_script_setup_true_lang-ldLdJ5Q-.js";
|
|
7
7
|
import { _ as ze } from "./Tooltip.vue_vue_type_script_setup_true_lang-mErNPt8e.js";
|
|
8
8
|
import { _ as he } from "./EmptyState.vue_vue_type_script_setup_true_lang-DbZiO2RF.js";
|
|
9
|
-
import { u as Fe } from "./format-
|
|
9
|
+
import { u as Fe } from "./format-Dn-BOb-o.js";
|
|
10
10
|
import { _ as Ve } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
11
|
-
import { _ as Oe } from "./Timestamp.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { _ as Oe } from "./Timestamp.vue_vue_type_script_setup_true_lang-CAz2W69d.js";
|
|
12
12
|
import { a as je } from "./mediaQuery-CygcXmFW.js";
|
|
13
13
|
function Ue(y, n) {
|
|
14
14
|
const d = (n ?? "").split(/\s+/).filter((v) => v !== "");
|
|
@@ -657,7 +657,7 @@ function Xt(y) {
|
|
|
657
657
|
}
|
|
658
658
|
export {
|
|
659
659
|
Wt as _,
|
|
660
|
-
|
|
661
|
-
|
|
660
|
+
ke as a,
|
|
661
|
+
V as b,
|
|
662
662
|
Xt as u
|
|
663
663
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as n, watch as h } from "vue";
|
|
2
2
|
import { useI18n as b } from "vue-i18n";
|
|
3
3
|
import { useRoute as g, useRouter as p } from "vue-router";
|
|
4
|
-
import { u as y } from "./platform-
|
|
4
|
+
import { u as y } from "./platform-BZUWAXQV.js";
|
|
5
5
|
import { i as w } from "./access-DmAceEo5.js";
|
|
6
6
|
function j() {
|
|
7
7
|
const t = g(), u = p(), { access: c } = y(), { t: r } = b(), i = n(() => {
|
package/dist/shell/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import { useI18n as B } from "vue-i18n";
|
|
|
3
3
|
import { _ as we } from "../Avatar.vue_vue_type_script_setup_true_lang-BPj_fkJR.js";
|
|
4
4
|
import { _ as P, u as Xe, c as Ue } from "../Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
5
5
|
import { _ as We } from "../Popover.vue_vue_type_script_setup_true_lang-C70GrCP7.js";
|
|
6
|
-
import { u as xe, S as X } from "../contributions-
|
|
6
|
+
import { u as xe, S as X } from "../contributions-DGsAIWd8.js";
|
|
7
7
|
import { u as Ye } from "../environment-Dva-SG8D.js";
|
|
8
8
|
import { _ as He } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
|
|
9
9
|
import { l as pe } from "../languageName-CItV_SOv.js";
|
|
10
10
|
import { t as _e } from "../toast-CqSDTWRX.js";
|
|
11
|
-
import { u as J, h as ue } from "../platform-
|
|
11
|
+
import { u as J, h as ue } from "../platform-BZUWAXQV.js";
|
|
12
12
|
import { a as qe, _ as ve, h as ke } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-BIYgaihv.js";
|
|
13
13
|
import { _ as Ge } from "../Sheet.vue_vue_type_script_setup_true_lang-sh9YD0Pm.js";
|
|
14
14
|
import { _ as Qe } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-ChIsmnts.js";
|
|
@@ -17,7 +17,7 @@ import { _ as Ze } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7x
|
|
|
17
17
|
import { b as $e } from "../chrome-nUcmVu8G.js";
|
|
18
18
|
import { p as Se, A as et } from "../access-DmAceEo5.js";
|
|
19
19
|
import { RouterLink as Le, useRoute as tt, useRouter as de } from "vue-router";
|
|
20
|
-
import { u as nt } from "../navigation-
|
|
20
|
+
import { u as nt } from "../navigation-CWj6F_cV.js";
|
|
21
21
|
import { u as at } from "../leaveGuard-Cc8yeLxM.js";
|
|
22
22
|
import { u as ot, S as st } from "../dialogStack-DZZg55w0.js";
|
|
23
23
|
import { a as H } from "../mediaQuery-CygcXmFW.js";
|
package/dist/state/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as D, a as I, b as W, i as F, v as O } from "../AsyncSection.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as D, a as I, b as W, i as F, v as O } from "../AsyncSection.vue_vue_type_script_setup_true_lang-BTIUz3cG.js";
|
|
2
2
|
import { _ as H } from "../Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
3
3
|
import { _ as R } from "../Banner.vue_vue_type_script_setup_true_lang-sv0phngk.js";
|
|
4
4
|
import { _ } from "../ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as o } from "./definition-C7QuyV3i.js";
|
|
2
2
|
import { r as a } from "./http-nz92KjdS.js";
|
|
3
|
-
import { i as r } from "./index-
|
|
3
|
+
import { i as r } from "./index-BB0_hxmE.js";
|
|
4
4
|
const n = ["active", "locked", "inactive", "all"];
|
|
5
5
|
function v(i) {
|
|
6
6
|
return o({
|