@wssto2/vue-core 0.14.0 → 0.15.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 +21 -0
- package/README.md +2 -2
- package/bin/architecture/engine.mjs +11 -1
- package/bin/architecture/rules.mjs +95 -0
- package/bin/commands/check-architecture.mjs +8 -1
- package/bin/config.mjs +2 -0
- package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-DEzXovsY.js → AccessGate.vue_vue_type_script_setup_true_lang-BH3f0hda.js} +1 -1
- package/dist/{Activity-C0HUEDUz.js → Activity-MOAIv6s4.js} +3 -3
- package/dist/{Changes-CSaHgVuz.js → Changes-Bu7D0dhY.js} +2 -2
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-dIrdS_Gn.js → CollectionPage.vue_vue_type_script_setup_true_lang-D5HsYIck.js} +2 -2
- package/dist/{DeadLetters-CHX4Ypgy.js → DeadLetters-DsujMnLG.js} +4 -4
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-CTVuhEbW.js +428 -0
- package/dist/{FormView.vue_vue_type_script_setup_true_lang-DvbPEiNQ.js → FormView.vue_vue_type_script_setup_true_lang-Cfvh7rF6.js} +1 -1
- package/dist/{General-v_24-zZw.js → General-Dswj1oXt.js} +6 -6
- package/dist/{IncidentRecord-BwSBNE37.js → IncidentRecord-DcmqpziF.js} +7 -7
- package/dist/{IncidentsList-BqzRU5cZ.js → IncidentsList-BRNqHZdU.js} +3 -3
- package/dist/{NewRolePage-Dt0O0VSI.js → NewRolePage-dFLznJGH.js} +2 -2
- package/dist/{PersonAccess.vue_vue_type_script_setup_true_lang-CWCt9_dM.js → PersonAccess.vue_vue_type_script_setup_true_lang-D3yp43o5.js} +4 -4
- package/dist/{ProfilePage-DApTxq8C.js → ProfilePage-BnHR3xGB.js} +8 -8
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-d_aaeXTT.js → RoleEditor.vue_vue_type_script_setup_true_lang-DNF9wzE9.js} +4 -4
- package/dist/{RolePage-noy-wmNc.js → RolePage-BtM2rFLm.js} +5 -5
- package/dist/{RolesPage-NRRainCw.js → RolesPage-MO1gAfdT.js} +3 -3
- package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-D_08MS1-.js → SectionNavigator.vue_vue_type_script_setup_true_lang-TMdsmYAg.js} +1 -1
- package/dist/ServiceAccountDialog.vue_vue_type_script_setup_true_lang-Bo3phlqB.js +127 -0
- package/dist/{ServiceAccountRecord-D_HduQoK.js → ServiceAccountRecord-C1M-dcju.js} +6 -6
- package/dist/{ServiceAccountsList-CdSsqTGt.js → ServiceAccountsList-zfyS2WJB.js} +4 -4
- package/dist/{Sessions-CTjzMfNg.js → Sessions-BYBUSqHI.js} +3 -3
- package/dist/{SettingsPage-CpqASf_D.js → SettingsPage-C9Kp2ddX.js} +5 -5
- package/dist/{SignIn-D6tWsKf0.js → SignIn-HBYLSZ1M.js} +4 -4
- package/dist/{SignInPage-BCNGI871.js → SignInPage-CEoz3fWE.js} +3 -3
- package/dist/{SignIns-BxGGA99u.js → SignIns-BAz7V4vy.js} +2 -2
- package/dist/{UserRecord-B0kG0-Tm.js → UserRecord-DkyhGma-.js} +8 -8
- package/dist/{UsersList-KMgImERy.js → UsersList-CsW-jU0m.js} +3 -3
- package/dist/access/RestrictedPanel.vue.d.ts +20 -0
- package/dist/access/index.d.ts +1 -0
- package/dist/access/index.js +91 -31
- package/dist/app/application.d.ts +2 -2
- package/dist/app/current.d.ts +6 -0
- package/dist/app/index.d.ts +1 -1
- package/dist/app/index.js +17 -16
- package/dist/{application-CrXtiGdw.js → application-2gHiwAVy.js} +5 -5
- package/dist/client/client.d.ts +6 -0
- package/dist/client/index.js +1 -1
- package/dist/client-Do8v1I5l.js +193 -0
- package/dist/collection/index.js +4 -4
- package/dist/config/index.d.ts +21 -1
- package/dist/content/StatSummary.vue.d.ts +40 -0
- package/dist/content/index.d.ts +1 -0
- package/dist/content/index.js +245 -176
- package/dist/{contributions-obnyn03x.js → contributions-9CPT-Z5v.js} +1 -1
- package/dist/{current-B0lHKTWr.js → current-CslcEPXp.js} +8 -4
- package/dist/eslint/index.js +2 -2
- package/dist/form/index.js +8 -8
- package/dist/form/useForm.d.ts +1 -1
- package/dist/{guards-DGcSfTEh.js → guards-6fJxfUtk.js} +1 -1
- package/dist/{http-DOEfFCDA.js → http-D6qOS6xs.js} +1 -1
- package/dist/i18n/index.d.ts +5 -1
- package/dist/i18n/index.js +14 -13
- package/dist/i18n/serverMessages.d.ts +15 -1
- package/dist/identity/index.js +2 -2
- package/dist/incidents/index.js +1 -1
- package/dist/{index-D-2NNye6.js → index--AF_DNhE.js} +20 -20
- package/dist/{index-DNeIZpXo.js → index-DYva-K_4.js} +4 -4
- package/dist/{index-Crz-j_Hu.js → index-Dlu-PA4W.js} +105 -105
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{navigation-CctcxT51.js → navigation-DMJ6akat.js} +1 -1
- package/dist/{neighbors-Csfan8Ho.js → neighbors-DrEahe7B.js} +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/onboarding/index.js +1 -1
- package/dist/page/index.js +1 -1
- package/dist/phone/index.d.ts +1 -1
- package/dist/phone/index.js +153 -141
- package/dist/phone/phone.d.ts +6 -0
- package/dist/platform/index.js +3 -3
- package/dist/{platform-DtISOEt7.js → platform-ORzRR3Tw.js} +1 -1
- package/dist/resource/index.js +1 -1
- package/dist/router/index.js +3 -3
- package/dist/{sections-fkW_IJLc.js → sections-DI_JhgQG.js} +1 -1
- package/dist/serverMessages-Ce8-MK4e.js +30 -0
- package/dist/shell/index.js +4 -4
- package/dist/{state-CXMexi0l.js → state-QDaxntgR.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/{useCommand-Ch_nx1AQ.js → useCommand-BvcU3AlW.js} +1 -1
- package/dist/{useGroupSheet-CPjHydQV.js → useGroupSheet-BGIntPKD.js} +1 -1
- package/dist/{usePreferences-B8LIZp_f.js → usePreferences-BfMXVbSO.js} +1 -1
- package/dist/{useRecordDialog-DdkauXnU.js → useRecordDialog-q_BNXdb7.js} +1 -1
- package/dist/{useResourceForm-Dl6YFYyz.js → useResourceForm-C1S628UI.js} +1 -1
- package/package.json +1 -1
- package/dist/FormGroup.vue_vue_type_script_setup_true_lang-D6jYfNjW.js +0 -427
- package/dist/ServiceAccountDialog.vue_vue_type_script_setup_true_lang-DDcaju7L.js +0 -127
- package/dist/client-Dg303Pmc.js +0 -193
- package/dist/serverMessages-DnTqVS3h.js +0 -25
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useI18n as l } from "vue-i18n";
|
|
2
|
+
import { a as d } from "./error-CD7x0Jrz.js";
|
|
3
|
+
import { u as m } from "./format-Cp1h0vsC.js";
|
|
4
|
+
import { u as p } from "./describeError-B-NMa--w.js";
|
|
5
|
+
const v = /* @__PURE__ */ new Set(["min", "max", "min_value", "max_value", "between", "in", "not_in"]);
|
|
6
|
+
function _({ t: u, te: s }, { prefixes: c = ["validation_errors"] } = {}) {
|
|
7
|
+
return (o) => {
|
|
8
|
+
const i = c.find((e) => o.startsWith(`${e}.`)), n = i === void 0 ? o : v.has(o.slice(i.length + 1)) ? `${i}.out_of_range` : o, r = (i === void 0 ? [`errors.${n}`, `core.errors.${n}`] : [n, `core.${n}`]).find((e) => s(e));
|
|
9
|
+
return r === void 0 ? o : u(r);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
function x(u = {}) {
|
|
13
|
+
const { t: s, te: c } = l(), o = m(), i = p(), n = (e) => [`errors.${e}`, `core.errors.${e}`].find((t) => c(t));
|
|
14
|
+
function r(e, t) {
|
|
15
|
+
if (d(e) && e.code) {
|
|
16
|
+
const f = n(e.code), a = typeof e.params?.locked_until == "string" ? new Date(e.params.locked_until) : null;
|
|
17
|
+
if (f && a && !Number.isNaN(a.getTime())) return s(f, { ...e.params, locked_until: o.time(a) });
|
|
18
|
+
}
|
|
19
|
+
return i(e, t === void 0 ? void 0 : { fallback: t });
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
sentence: r,
|
|
23
|
+
describeFieldError: _({ t: (e) => s(e), te: c }, u),
|
|
24
|
+
failureMessage: (e, t) => d(t) && t.code && (e === "failed" || e === "forbidden" || e === "conflict") ? r(t) : void 0
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
_ as f,
|
|
29
|
+
x as u
|
|
30
|
+
};
|
package/dist/shell/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import { useI18n as K } from "vue-i18n";
|
|
|
3
3
|
import { _ as Ne } from "../Avatar.vue_vue_type_script_setup_true_lang-BPj_fkJR.js";
|
|
4
4
|
import { _ as q, u as st, c as lt } from "../Icon.vue_vue_type_script_lang-BhhsFYwp.js";
|
|
5
5
|
import { _ as rt } from "../Popover.vue_vue_type_script_setup_true_lang-C20Hf3Hl.js";
|
|
6
|
-
import { u as qe, S as J } from "../contributions-
|
|
6
|
+
import { u as qe, S as J } from "../contributions-9CPT-Z5v.js";
|
|
7
7
|
import { u as it } from "../environment-Dva-SG8D.js";
|
|
8
8
|
import { _ as ct } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
|
|
9
9
|
import { l as Ae } from "../languageName-CItV_SOv.js";
|
|
10
10
|
import { t as Be } from "../toast-CqSDTWRX.js";
|
|
11
|
-
import { u as de, h as Ce } from "../platform-
|
|
11
|
+
import { u as de, h as Ce } from "../platform-ORzRR3Tw.js";
|
|
12
12
|
import { a as ut, _ as $e, h as Ee } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-BIYgaihv.js";
|
|
13
13
|
import { _ as dt } from "../Sheet.vue_vue_type_script_setup_true_lang-B91aRD_y.js";
|
|
14
14
|
import { _ as ft } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CIwW7y4j.js";
|
|
@@ -17,7 +17,7 @@ import { _ as pt } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7x
|
|
|
17
17
|
import { b as je } from "../chrome-nUcmVu8G.js";
|
|
18
18
|
import { p as Ke, A as vt } from "../access-DmAceEo5.js";
|
|
19
19
|
import { RouterLink as Ve, useRoute as ht, useRouter as ge } from "vue-router";
|
|
20
|
-
import { u as bt } from "../navigation-
|
|
20
|
+
import { u as bt } from "../navigation-DMJ6akat.js";
|
|
21
21
|
import { u as gt } from "../leaveGuard-Cc8yeLxM.js";
|
|
22
22
|
import { u as yt, S as xt } from "../dialogStack-B5G6xHq0.js";
|
|
23
23
|
import { a as oe } from "../mediaQuery-CygcXmFW.js";
|
|
@@ -31,7 +31,7 @@ import { _ as De } from "../Highlight.vue_vue_type_script_setup_true_lang-DZGBmw
|
|
|
31
31
|
import { _ as Lt } from "../SearchInput.vue_vue_type_script_setup_true_lang-w4eAqyZ9.js";
|
|
32
32
|
import { _ as Ct } from "../Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
33
33
|
import { _ as Et } from "../StatusLine.vue_vue_type_script_setup_true_lang-DsdQmLq6.js";
|
|
34
|
-
import { u as Tt } from "../usePreferences-
|
|
34
|
+
import { u as Tt } from "../usePreferences-BfMXVbSO.js";
|
|
35
35
|
import { p as Mt } from "../preferences-hYhrw8Uy.js";
|
|
36
36
|
import { _ as At } from "../BottomDockPortal.vue_vue_type_script_setup_true_lang-DmwR-2SP.js";
|
|
37
37
|
const Dt = ["aria-expanded", "aria-controls"], zt = { class: "flex-1 whitespace-nowrap" }, It = { class: "truncate" }, Ot = ["id"], We = /* @__PURE__ */ O({
|