@wssto2/vue-core 0.4.2 → 0.4.3
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/{Activity-Dn4TGnZE.js → Activity-DnW1LTO2.js} +1 -1
- package/dist/{Changes-vnJKoY8t.js → Changes-DJDSlnp1.js} +1 -1
- package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-21lc-EE4.js → CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js} +1 -1
- package/dist/{DeadLetters-hVaoctMw.js → DeadLetters-C8ICE47Y.js} +3 -3
- package/dist/{General-BS8GFldj.js → General-BbEDM3y_.js} +2 -2
- package/dist/{NewRolePage-Bz4AfDbT.js → NewRolePage-CYfEuRIV.js} +2 -2
- package/dist/{ProfilePage-DD0yQ8bd.js → ProfilePage-V2ywWbL3.js} +2 -2
- package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-P6MOBLbC.js → RoleEditor.vue_vue_type_script_setup_true_lang-et4dyitf.js} +2 -2
- package/dist/{RolePage-B9NAwbl1.js → RolePage-CjCBcRau.js} +3 -3
- package/dist/{RolesPage-BRSmWTD0.js → RolesPage-Cr3Hlr4Q.js} +1 -1
- package/dist/{Sessions-DVhVtiEg.js → Sessions-_35nYhoR.js} +2 -2
- package/dist/{SettingsPage-CDE4ucf0.js → SettingsPage-CDESMl3M.js} +2 -2
- package/dist/{SignIn-tQ67Acwu.js → SignIn-CkXwxorT.js} +2 -2
- package/dist/{SignInPage-saEqF2jO.js → SignInPage-BdwfKB31.js} +1 -1
- package/dist/{SignIns-DlAyzaD2.js → SignIns-Dvdid5QB.js} +1 -1
- package/dist/{UserRecord-DcTnTZDJ.js → UserRecord-CM0JQQGT.js} +3 -3
- package/dist/{UsersList-BPPMKPqX.js → UsersList-CR3RpQ4-.js} +4 -4
- package/dist/access/index.js +1 -1
- package/dist/app/index.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/identity/index.js +1 -1
- package/dist/{index-DhePSl1J.js → index-B1jflSA6.js} +12 -12
- package/dist/{index-CeZgHDOM.js → index-ClU_gPzK.js} +2 -2
- package/dist/{index-DCsIT4ib.js → index-DVp6cwfN.js} +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/keepAlive-CDvMQlcJ.js +49 -0
- package/dist/notifications/index.js +1 -1
- package/dist/overlay/index.js +1 -1
- package/dist/overlay/toast.d.ts +10 -0
- package/dist/shell/index.js +1 -1
- package/dist/{status-DmjQ1O3o.js → status-D2Fmu3YH.js} +1 -1
- package/dist/toast-CqSDTWRX.js +17 -0
- package/package.json +1 -1
- package/dist/keepAlive-WYQGRhuz.js +0 -48
- package/dist/toast-D9Z5To38.js +0 -13
|
@@ -6,7 +6,7 @@ import { u as O } from "./format-B8mJm946.js";
|
|
|
6
6
|
import { _ as U } from "./DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js";
|
|
7
7
|
import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
8
8
|
import { e as z } from "./control-7EP4tjYy.js";
|
|
9
|
-
import { P as G, c as H, i as J } from "./index-
|
|
9
|
+
import { P as G, c as H, i as J } from "./index-B1jflSA6.js";
|
|
10
10
|
import { u as K } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { b as M } from "./routeResource-DstM0hvf.js";
|
|
12
12
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as k, computed as N, openBlock as n, createBlock as u, unref as a, withCtx as g, createElementBlock as p, Fragment as _, renderList as $, createElementVNode as i, toDisplayString as h, createCommentVNode as C, ref as x, watch as b, createVNode as y } from "vue";
|
|
2
2
|
import { useI18n as E } from "vue-i18n";
|
|
3
|
-
import { P as V, i as R } from "./index-
|
|
3
|
+
import { P as V, i as R } from "./index-B1jflSA6.js";
|
|
4
4
|
import { u as S } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { b as B } from "./routeResource-DstM0hvf.js";
|
|
6
6
|
import { _ as F } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -17,7 +17,7 @@ import { _ as ft } from "./NumberField.vue_vue_type_script_setup_true_lang-C7N5n
|
|
|
17
17
|
import { _ as pt } from "./SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js";
|
|
18
18
|
import { a as vt } from "./mediaQuery-CygcXmFW.js";
|
|
19
19
|
import { _ as mt } from "./Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
|
|
20
|
-
import { t as ye } from "./toast-
|
|
20
|
+
import { t as ye } from "./toast-CqSDTWRX.js";
|
|
21
21
|
const ne = (a) => a == null || a === "";
|
|
22
22
|
function We(a) {
|
|
23
23
|
if (!a) return [null, null];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as B, useTemplateRef as C, computed as y, ref as v, openBlock as D, createBlock as z, unref as r, withCtx as m, createVNode as F, createElementVNode as b, normalizeClass as $, toDisplayString as h } from "vue";
|
|
2
2
|
import { useI18n as q } from "vue-i18n";
|
|
3
3
|
import { a as k } from "./error-CD7x0Jrz.js";
|
|
4
|
-
import { u as V, _ as N } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as V, _ as N } from "./CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js";
|
|
5
5
|
import { u as P } from "./describeError-Ctga6GcS.js";
|
|
6
6
|
import { u as I } from "./format-B8mJm946.js";
|
|
7
|
-
import { e as a, R as O } from "./index-
|
|
7
|
+
import { e as a, R as O } from "./index-ClU_gPzK.js";
|
|
8
8
|
import { _ as W } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
9
|
-
import { t as i } from "./toast-
|
|
9
|
+
import { t as i } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { u as Y } from "./useLoad-CYRVx6HW.js";
|
|
11
11
|
import { u as j } from "./platform-q3cjODLx.js";
|
|
12
12
|
import { a as G, r as H } from "./http-CNcDHSOj.js";
|
|
@@ -8,8 +8,8 @@ import { _ as F } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.
|
|
|
8
8
|
import { _ as L } from "./SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js";
|
|
9
9
|
import { _ as f } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
10
10
|
import { u as A } from "./useSaveChrome-DuWm0Czf.js";
|
|
11
|
-
import { P as D, b as G, i as I } from "./index-
|
|
12
|
-
import { t as M } from "./toast-
|
|
11
|
+
import { P as D, b as G, i as I } from "./index-B1jflSA6.js";
|
|
12
|
+
import { t as M } from "./toast-CqSDTWRX.js";
|
|
13
13
|
import { u as O } from "./platform-q3cjODLx.js";
|
|
14
14
|
import { b as U } from "./routeResource-DstM0hvf.js";
|
|
15
15
|
import { u as j } from "./fieldMessages-C3Rpbktw.js";
|
|
@@ -4,8 +4,8 @@ import { useRoute as k, useRouter as R } from "vue-router";
|
|
|
4
4
|
import { a as $ } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js";
|
|
5
5
|
import { _ as b } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
6
6
|
import { u as g } from "./useLoad-CYRVx6HW.js";
|
|
7
|
-
import { a as x, c as u } from "./index-
|
|
8
|
-
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { a as x, c as u } from "./index-DVp6cwfN.js";
|
|
8
|
+
import { _ as P } from "./RoleEditor.vue_vue_type_script_setup_true_lang-et4dyitf.js";
|
|
9
9
|
const V = /* @__PURE__ */ _({
|
|
10
10
|
__name: "NewRolePage",
|
|
11
11
|
setup(h) {
|
|
@@ -4,12 +4,12 @@ import { a as ge } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang
|
|
|
4
4
|
import { u as L } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { _ as Q } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
6
6
|
import { u as Y } from "./useLoad-CYRVx6HW.js";
|
|
7
|
-
import { i as k, d as G } from "./index-
|
|
7
|
+
import { i as k, d as G } from "./index-B1jflSA6.js";
|
|
8
8
|
import { u as Z } from "./FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js";
|
|
9
9
|
import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js";
|
|
10
10
|
import { _ as U } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
11
11
|
import { _ as H } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
12
|
-
import { t as C } from "./toast-
|
|
12
|
+
import { t as C } from "./toast-CqSDTWRX.js";
|
|
13
13
|
import { u as O } from "./fieldMessages-C3Rpbktw.js";
|
|
14
14
|
import { _ as re } from "./PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js";
|
|
15
15
|
import { _ as F } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
@@ -6,10 +6,10 @@ import { _ as ee } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP
|
|
|
6
6
|
import { _ as te } from "./TextareaField.vue_vue_type_script_setup_true_lang-CqAWfABZ.js";
|
|
7
7
|
import { _ as se } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
8
8
|
import { u as ae } from "./useSaveChrome-DuWm0Czf.js";
|
|
9
|
-
import { t as oe } from "./toast-
|
|
9
|
+
import { t as oe } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { _ as S } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
11
11
|
import { _ as E } from "./Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js";
|
|
12
|
-
import { d as W, u as J, p as ne, o as R, r as D, g as H, s as le, e as re, a as ie, f as ce, b as ue, h as de } from "./index-
|
|
12
|
+
import { d as W, u as J, p as ne, o as R, r as D, g as H, s as le, e as re, a as ie, f as ce, b as ue, h as de } from "./index-DVp6cwfN.js";
|
|
13
13
|
import { _ as me } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
14
14
|
import { _ as fe } from "./Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js";
|
|
15
15
|
import { _ as pe } from "./SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js";
|
|
@@ -6,18 +6,18 @@ import { _ as C } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a
|
|
|
6
6
|
import { e as F } from "./control-7EP4tjYy.js";
|
|
7
7
|
import { u as Z } from "./describeError-Ctga6GcS.js";
|
|
8
8
|
import { _ as ee } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
9
|
-
import { t as q } from "./toast-
|
|
9
|
+
import { t as q } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { _ as oe } from "./RecordHeader.vue_vue_type_script_setup_true_lang-BCTNrzBb.js";
|
|
11
11
|
import { u as te } from "./platform-q3cjODLx.js";
|
|
12
12
|
import { a as ae, u as le } from "./routeResource-DstM0hvf.js";
|
|
13
13
|
import { a as se } from "./ResourcePage.vue_vue_type_script_setup_true_lang-C_tQTUyN.js";
|
|
14
14
|
import { _ as re } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
15
15
|
import { _ as H } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
16
|
-
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-
|
|
16
|
+
import { u as O, a as U, f as ce, d as ne, b as M, c as T } from "./index-DVp6cwfN.js";
|
|
17
17
|
import { _ as J } from "./SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js";
|
|
18
18
|
import { u as ie, _ as ue } from "./useCommand-BkONMn3X.js";
|
|
19
19
|
import { _ as me } from "./Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
20
|
-
import { _ as pe } from "./RoleEditor.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { _ as pe } from "./RoleEditor.vue_vue_type_script_setup_true_lang-et4dyitf.js";
|
|
21
21
|
const de = { "data-test": "role-replace" }, fe = /* @__PURE__ */ I({
|
|
22
22
|
__name: "ReplaceRoleDialog",
|
|
23
23
|
props: {
|
|
@@ -11,7 +11,7 @@ import { u as K } from "./platform-q3cjODLx.js";
|
|
|
11
11
|
import { _ as T } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
12
12
|
import { _ as q } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
13
13
|
import { u as z } from "./useLoad-CYRVx6HW.js";
|
|
14
|
-
import { u as G, a as H, b as J, c as x } from "./index-
|
|
14
|
+
import { u as G, a as H, b as J, c as x } from "./index-DVp6cwfN.js";
|
|
15
15
|
const M = {
|
|
16
16
|
class: "flex min-w-0 flex-col gap-group-gap",
|
|
17
17
|
"data-test": "roles-index"
|
|
@@ -2,9 +2,9 @@ import { defineComponent as x, useTemplateRef as v, computed as w, ref as $, ope
|
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
3
|
import { _ as q } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js";
|
|
4
4
|
import { u as A } from "./describeError-Ctga6GcS.js";
|
|
5
|
-
import { P as D, b as L, e as O, i as g, d as T } from "./index-
|
|
5
|
+
import { P as D, b as L, e as O, i as g, d as T } from "./index-B1jflSA6.js";
|
|
6
6
|
import { _ as k } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
7
|
-
import { t as b } from "./toast-
|
|
7
|
+
import { t as b } from "./toast-CqSDTWRX.js";
|
|
8
8
|
import { u as V } from "./platform-q3cjODLx.js";
|
|
9
9
|
import { b as I } from "./routeResource-DstM0hvf.js";
|
|
10
10
|
import { _ as j } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as w, openBlock as u, createBlock as b, unref as e, wit
|
|
|
2
2
|
import { useI18n as v } from "vue-i18n";
|
|
3
3
|
import { useRouter as I } from "vue-router";
|
|
4
4
|
import { a as j } from "./AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js";
|
|
5
|
-
import { t as T } from "./toast-
|
|
5
|
+
import { t as T } from "./toast-CqSDTWRX.js";
|
|
6
6
|
import { u as N } from "./fieldMessages-C3Rpbktw.js";
|
|
7
7
|
import { _ as A } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
8
8
|
import { _ as O } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js";
|
|
@@ -15,7 +15,7 @@ import { _ as W } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.
|
|
|
15
15
|
import { _ as E } from "./TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js";
|
|
16
16
|
import { a as k, n as X } from "./useTypedEntry-aTfPBAhw.js";
|
|
17
17
|
import { _ as Y } from "./PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js";
|
|
18
|
-
import { n as q } from "./index-
|
|
18
|
+
import { n as q } from "./index-ClU_gPzK.js";
|
|
19
19
|
import { u as ee } from "./platform-q3cjODLx.js";
|
|
20
20
|
import { u as te } from "./useLoad-CYRVx6HW.js";
|
|
21
21
|
function ne() {
|
|
@@ -6,8 +6,8 @@ import { u as D } from "./format-B8mJm946.js";
|
|
|
6
6
|
import { _ as p } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
7
7
|
import { e as b } from "./control-7EP4tjYy.js";
|
|
8
8
|
import { u as U } from "./describeError-Ctga6GcS.js";
|
|
9
|
-
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-
|
|
10
|
-
import { t as h } from "./toast-
|
|
9
|
+
import { c as q, P as z, b as F, _ as L, i as O, d as T } from "./index-B1jflSA6.js";
|
|
10
|
+
import { t as h } from "./toast-CqSDTWRX.js";
|
|
11
11
|
import { u as j, h as G } from "./platform-q3cjODLx.js";
|
|
12
12
|
import { b as H } from "./routeResource-DstM0hvf.js";
|
|
13
13
|
import { _ as J } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
@@ -6,7 +6,7 @@ import { _ as N } from "./Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js"
|
|
|
6
6
|
import { _ as S } from "./FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js";
|
|
7
7
|
import { _ as a } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
8
8
|
import { r as $ } from "./guards-Dve61KjR.js";
|
|
9
|
-
import { u as C, a as E } from "./index-
|
|
9
|
+
import { u as C, a as E } from "./index-B1jflSA6.js";
|
|
10
10
|
const V = { class: "flex flex-1 flex-col items-center justify-center gap-8" }, k = { class: "text-xl font-semibold text-content-strong" }, H = /* @__PURE__ */ d({
|
|
11
11
|
__name: "SignInPage",
|
|
12
12
|
setup(q) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, ref as m, watch as p, openBlock as c, createElementBlock as v, createVNode as i, unref as e, withCtx as w, createBlock as x, createCommentVNode as y, createElementVNode as V, toDisplayString as $ } from "vue";
|
|
2
2
|
import { useI18n as N } from "vue-i18n";
|
|
3
|
-
import { P as S, i as b } from "./index-
|
|
3
|
+
import { P as S, i as b } from "./index-B1jflSA6.js";
|
|
4
4
|
import { u as k } from "./platform-q3cjODLx.js";
|
|
5
5
|
import { b as I } from "./routeResource-DstM0hvf.js";
|
|
6
6
|
import { _ as R } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
@@ -3,9 +3,9 @@ import { useI18n as A } from "vue-i18n";
|
|
|
3
3
|
import { u as F } from "./neighbors-DpaIMQAL.js";
|
|
4
4
|
import { _ as H } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
5
5
|
import { u as J } from "./describeError-Ctga6GcS.js";
|
|
6
|
-
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-
|
|
6
|
+
import { i as w, P as Q, p as W, f as X, M as Y, g as Z, d as ee } from "./index-B1jflSA6.js";
|
|
7
7
|
import { _ as se } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
8
|
-
import { t as k } from "./toast-
|
|
8
|
+
import { t as k } from "./toast-CqSDTWRX.js";
|
|
9
9
|
import { _ as ae } from "./SectionNavigator.vue_vue_type_script_setup_true_lang-BGc8A9AQ.js";
|
|
10
10
|
import { u as E } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { a as te } from "./routeResource-DstM0hvf.js";
|
|
@@ -18,7 +18,7 @@ import { _ as T } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a
|
|
|
18
18
|
import { e as B } from "./control-7EP4tjYy.js";
|
|
19
19
|
import { u as z, _ as K } from "./useCommand-BkONMn3X.js";
|
|
20
20
|
import { u as U } from "./fieldMessages-C3Rpbktw.js";
|
|
21
|
-
import { u as ce, s as le } from "./status-
|
|
21
|
+
import { u as ce, s as le } from "./status-D2Fmu3YH.js";
|
|
22
22
|
import { _ as M } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
23
23
|
const ue = /* @__PURE__ */ R({
|
|
24
24
|
__name: "DeactivateDialog",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { defineComponent as U, openBlock as p, createBlock as C, unref as e, withCtx as c, createVNode as r, mergeProps as i, useTemplateRef as V, computed as q, createTextVNode as z, toDisplayString as $, createCommentVNode as A, createElementBlock as S, normalizeClass as N } from "vue";
|
|
2
2
|
import { useI18n as B } from "vue-i18n";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { u as P, _ as D } from "./CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js";
|
|
5
5
|
import { _ as I } from "./Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
|
|
6
6
|
import { u as F } from "./format-B8mJm946.js";
|
|
7
7
|
import { u as L } from "./platform-q3cjODLx.js";
|
|
8
8
|
import { _ as G } from "./Badge.vue_vue_type_script_setup_true_lang-DJyZc0C7.js";
|
|
9
|
-
import { i as K, f as E, M as W } from "./index-
|
|
10
|
-
import { U as j, u as H, s as J } from "./status-
|
|
9
|
+
import { i as K, f as E, M as W } from "./index-B1jflSA6.js";
|
|
10
|
+
import { U as j, u as H, s as J } from "./status-D2Fmu3YH.js";
|
|
11
11
|
import { u as O } from "./environment-Dva-SG8D.js";
|
|
12
12
|
import { u as Q } from "./languages-BShG9LpE.js";
|
|
13
13
|
import { _ as X } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
14
14
|
import { _ as Y } from "./SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js";
|
|
15
15
|
import { _ as d } from "./TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js";
|
|
16
16
|
import { u as Z, _ as ee } from "./useCommand-BkONMn3X.js";
|
|
17
|
-
import { t as se } from "./toast-
|
|
17
|
+
import { t as se } from "./toast-CqSDTWRX.js";
|
|
18
18
|
import { u as te } from "./fieldMessages-C3Rpbktw.js";
|
|
19
19
|
const oe = /* @__PURE__ */ U({
|
|
20
20
|
__name: "NewUserDialog",
|
package/dist/access/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-
|
|
1
|
+
import { _ as a, i as c, j as o, c as r, b as n, k as i, l as u, p as l, m as p, n as t, u as d, f as m } from "../index-DVp6cwfN.js";
|
|
2
2
|
export {
|
|
3
3
|
a as BindingRow,
|
|
4
4
|
c as PersonAccess,
|
package/dist/app/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import { _ as ot } from "../Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.
|
|
|
23
23
|
import { _ as rt } from "../EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js";
|
|
24
24
|
import { i as nt } from "../feature-DdUAfyi4.js";
|
|
25
25
|
import { d as Bt, p as Dt } from "../feature-DdUAfyi4.js";
|
|
26
|
-
import { k as Vt } from "../keepAlive-
|
|
26
|
+
import { k as Vt } from "../keepAlive-CDvMQlcJ.js";
|
|
27
27
|
function at(e) {
|
|
28
28
|
const { platform: a } = e, r = W();
|
|
29
29
|
let i = null, w = null, v = !1;
|
package/dist/collection/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as M, L as O, a as V, h as j, l as U, r as G } from "../http-CNcDHSOj.js";
|
|
2
|
-
import { _ as Z, a as q, u as H } from "../CollectionPage.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as Z, a as q, u as H } from "../CollectionPage.vue_vue_type_script_setup_true_lang-B-TJDr4d.js";
|
|
3
3
|
import { u as K } from "../neighbors-DpaIMQAL.js";
|
|
4
4
|
import { a as W, b as Y } from "../rowLayout-CZ7uZFnE.js";
|
|
5
5
|
import { _ as te } from "../DataTable.vue_vue_type_script_setup_true_lang-DBtMgcW6.js";
|
package/dist/form/index.js
CHANGED
|
@@ -42,7 +42,7 @@ import { _ as ws } from "../TextareaField.vue_vue_type_script_setup_true_lang-Cq
|
|
|
42
42
|
import { _ as Rt } from "../Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js";
|
|
43
43
|
import { _ as We } from "../Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js";
|
|
44
44
|
import { D as Tt } from "../useWaitStatus-fsacMl4W.js";
|
|
45
|
-
import { t as Et } from "../toast-
|
|
45
|
+
import { t as Et } from "../toast-CqSDTWRX.js";
|
|
46
46
|
import { a as It } from "../AdaptivePageShell.vue_vue_type_script_setup_true_lang-bxYKlHB7.js";
|
|
47
47
|
import { _ as Gt, a as Nt } from "../SectionList.vue_vue_type_script_setup_true_lang-BtQjHjd4.js";
|
|
48
48
|
import { p as Kt } from "../sectionIndex-BS0ic5W7.js";
|
package/dist/identity/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-
|
|
1
|
+
import { _ as t, h as n, j as a, i, k as o, d as r, l as d, m as u, n as y, r as l, o as I, s as f, q as p, t as A, f as c } from "../index-B1jflSA6.js";
|
|
2
2
|
export {
|
|
3
3
|
t as SignInAsButton,
|
|
4
4
|
n as identityFeature,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as i } from "./route-goWMxDUN.js";
|
|
2
2
|
import { d as H, p as Y } from "./feature-DdUAfyi4.js";
|
|
3
|
-
import { k as ie } from "./keepAlive-
|
|
3
|
+
import { k as ie } from "./keepAlive-CDvMQlcJ.js";
|
|
4
4
|
import { d as z } from "./defineRoutes-BGAdiIrt.js";
|
|
5
5
|
import { d as I } from "./context-Ch1r4fdN.js";
|
|
6
6
|
import { defineComponent as E, computed as b, watch as $, openBlock as x, createElementBlock as G, ref as D, useTemplateRef as oe, watchEffect as re, onBeforeUnmount as ae, createVNode as _, unref as o, createElementVNode as m, toDisplayString as f, createCommentVNode as F, useId as ce, createBlock as N, Teleport as ue, normalizeClass as j, createTextVNode as O, withCtx as T, mergeProps as le, h as me } from "vue";
|
|
7
7
|
import { u as pe } from "./environment-Dva-SG8D.js";
|
|
8
8
|
import { u as P } from "./describeError-Ctga6GcS.js";
|
|
9
|
-
import { t as k } from "./toast-
|
|
9
|
+
import { t as k } from "./toast-CqSDTWRX.js";
|
|
10
10
|
import { u as A, h as q, f as M } from "./platform-q3cjODLx.js";
|
|
11
11
|
import { a as R } from "./error-CD7x0Jrz.js";
|
|
12
12
|
import { useI18n as C } from "vue-i18n";
|
|
@@ -315,7 +315,7 @@ function Cs(e) {
|
|
|
315
315
|
const Ye = async (e) => {
|
|
316
316
|
await B(e.http);
|
|
317
317
|
}, Je = z({
|
|
318
|
-
login: { name: "login", path: "/login", component: () => import("./SignInPage-
|
|
318
|
+
login: { name: "login", path: "/login", component: () => import("./SignInPage-BdwfKB31.js"), meta: { public: !0, titleKey: "core.identity.signin.title" } }
|
|
319
319
|
});
|
|
320
320
|
function Os(e = {}) {
|
|
321
321
|
return H({
|
|
@@ -334,7 +334,7 @@ function Os(e = {}) {
|
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
const Z = z({
|
|
337
|
-
index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-
|
|
337
|
+
index: { name: "profile", path: "/profile", component: () => import("./ProfilePage-V2ywWbL3.js"), meta: { titleKey: "core.profile.title" } }
|
|
338
338
|
}), Qe = /* @__PURE__ */ E({
|
|
339
339
|
__name: "ProfileMenuItem",
|
|
340
340
|
setup(e) {
|
|
@@ -358,19 +358,19 @@ function es(e) {
|
|
|
358
358
|
return { name: `users.record.${e.path}`, path: e.path, component: s, meta: { ...e.meta } };
|
|
359
359
|
}
|
|
360
360
|
const W = "iam.user:view", qs = "iam.user:manage", ss = "iam.user.activity:view", ee = z({
|
|
361
|
-
index: { name: "users.index", path: "/users", component: () => import("./UsersList-
|
|
361
|
+
index: { name: "users.index", path: "/users", component: () => import("./UsersList-CR3RpQ4-.js"), meta: { access: W, titleKey: "core.users.title" } },
|
|
362
362
|
record: {
|
|
363
363
|
name: "users.record",
|
|
364
364
|
path: "/users/:id",
|
|
365
|
-
component: () => import("./UserRecord-
|
|
365
|
+
component: () => import("./UserRecord-CM0JQQGT.js"),
|
|
366
366
|
meta: { access: W, titleKey: "core.users.title", remountOnParam: "id" },
|
|
367
367
|
children: [
|
|
368
|
-
{ name: "users.record.general", path: "general", component: () => import("./General-
|
|
369
|
-
{ name: "users.record.signin", path: "signin", component: () => import("./SignIn-
|
|
370
|
-
{ name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-
|
|
371
|
-
{ name: "users.record.signins", path: "signins", component: () => import("./SignIns-
|
|
372
|
-
{ name: "users.record.changes", path: "changes", component: () => import("./Changes-
|
|
373
|
-
{ name: "users.record.activity", path: "activity", component: () => import("./Activity-
|
|
368
|
+
{ name: "users.record.general", path: "general", component: () => import("./General-BbEDM3y_.js"), meta: { section: { labelKey: "core.users.sections.general", icon: "user3Line", groupKey: "core.users.section_groups.person" } } },
|
|
369
|
+
{ name: "users.record.signin", path: "signin", component: () => import("./SignIn-CkXwxorT.js"), meta: { section: { labelKey: "core.users.sections.signin", icon: "key2Line", groupKey: "core.users.section_groups.access" } } },
|
|
370
|
+
{ name: "users.record.sessions", path: "sessions", component: () => import("./Sessions-_35nYhoR.js"), meta: { section: { labelKey: "core.users.sections.sessions", icon: "deviceLine", groupKey: "core.users.section_groups.access" } } },
|
|
371
|
+
{ name: "users.record.signins", path: "signins", component: () => import("./SignIns-Dvdid5QB.js"), meta: { section: { labelKey: "core.users.sections.signins", icon: "timeFill", groupKey: "core.users.section_groups.activity" } } },
|
|
372
|
+
{ name: "users.record.changes", path: "changes", component: () => import("./Changes-DJDSlnp1.js"), meta: { section: { labelKey: "core.users.sections.changes", icon: "edit", groupKey: "core.users.section_groups.activity" } } },
|
|
373
|
+
{ name: "users.record.activity", path: "activity", component: () => import("./Activity-DnW1LTO2.js"), meta: { access: ss, section: { labelKey: "core.users.sections.activity", icon: "listCheck", groupKey: "core.users.section_groups.activity" } } }
|
|
374
374
|
]
|
|
375
375
|
}
|
|
376
376
|
});
|
|
@@ -31,9 +31,9 @@ const M = {
|
|
|
31
31
|
deadLettersRetryAll: y("POST", "/v1/events/dead-letters/retry", { permission: "events.deadletter:retry" }),
|
|
32
32
|
consumers: y("GET", "/v1/events/consumers", { permission: "events.deadletter:view" })
|
|
33
33
|
}, [ke, ee] = fe("vue-core.notifications"), we = "events.deadletter:view", bt = "events.deadletter:retry", J = Z({
|
|
34
|
-
index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-
|
|
34
|
+
index: { name: "events.deadletters", path: "/events/dead-letters", component: () => import("./DeadLetters-C8ICE47Y.js"), meta: { access: we, titleKey: "core.notifications.dead_letters.title" } }
|
|
35
35
|
}), j = Z({
|
|
36
|
-
index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-
|
|
36
|
+
index: { name: "notifications.settings", path: "/profile/notifications", component: () => import("./SettingsPage-CDESMl3M.js"), meta: { titleKey: "core.notifications.settings.title" } }
|
|
37
37
|
}), Te = /* @__PURE__ */ z({
|
|
38
38
|
__name: "SettingsMenuItem",
|
|
39
39
|
setup(o) {
|
|
@@ -10,7 +10,7 @@ import { _ as I } from "./Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js
|
|
|
10
10
|
import { _ as V } from "./FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js";
|
|
11
11
|
import { e as U } from "./control-7EP4tjYy.js";
|
|
12
12
|
import { _ as Te } from "./AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js";
|
|
13
|
-
import { t as ee } from "./toast-
|
|
13
|
+
import { t as ee } from "./toast-CqSDTWRX.js";
|
|
14
14
|
import { _ as ce } from "./AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js";
|
|
15
15
|
import { _ as Oe } from "./AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js";
|
|
16
16
|
import { u as Ae } from "./useLoad-CYRVx6HW.js";
|
|
@@ -43,12 +43,12 @@ const C = {
|
|
|
43
43
|
viewAccess: "iam.user:view",
|
|
44
44
|
manageBindings: "iam.user:manage"
|
|
45
45
|
}, re = Ee({
|
|
46
|
-
roles: { name: "access.roles", path: "/iam/roles", component: () => import("./RolesPage-
|
|
47
|
-
newRole: { name: "access.roles.new", path: "/iam/roles/new", component: () => import("./NewRolePage-
|
|
46
|
+
roles: { name: "access.roles", path: "/iam/roles", component: () => import("./RolesPage-Cr3Hlr4Q.js"), meta: { access: F.viewRoles, titleKey: "core.access.title" } },
|
|
47
|
+
newRole: { name: "access.roles.new", path: "/iam/roles/new", component: () => import("./NewRolePage-CYfEuRIV.js"), meta: { access: F.manageRoles, titleKey: "core.access.new_title" } },
|
|
48
48
|
role: {
|
|
49
49
|
name: "access.role",
|
|
50
50
|
path: "/iam/roles/:ref",
|
|
51
|
-
component: () => import("./RolePage-
|
|
51
|
+
component: () => import("./RolePage-CjCBcRau.js"),
|
|
52
52
|
// A role's ref (its key, or the id of a custom one) swaps in place when a link leads to another role.
|
|
53
53
|
meta: { access: F.viewRoles, titleKey: "core.access.title", remountOnParam: "ref" }
|
|
54
54
|
}
|
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.4.
|
|
2
|
+
export declare const version = "0.4.3";
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
function w(a = {}) {
|
|
2
|
+
const { margin: v = 6e4, retryAfter: h = 3e4 } = a;
|
|
3
|
+
return {
|
|
4
|
+
id: "vue-core.keep-session-alive",
|
|
5
|
+
scope: "session",
|
|
6
|
+
start({ signal: i, platform: t, report: f }) {
|
|
7
|
+
let s, r = null;
|
|
8
|
+
const o = () => {
|
|
9
|
+
const e = t.session.state.value;
|
|
10
|
+
return e.status === "authenticated" && e.expiresAt ? e.expiresAt.getTime() - Date.now() - v : null;
|
|
11
|
+
}, m = () => (r ?? (r = (async () => {
|
|
12
|
+
try {
|
|
13
|
+
if (await a.renew?.(t), t.session.state.value.status !== "authenticated") return;
|
|
14
|
+
await t.session.refresh();
|
|
15
|
+
} catch (e) {
|
|
16
|
+
f(e);
|
|
17
|
+
} finally {
|
|
18
|
+
r = null;
|
|
19
|
+
}
|
|
20
|
+
})()), r);
|
|
21
|
+
function u(e = 0) {
|
|
22
|
+
clearTimeout(s);
|
|
23
|
+
const d = o();
|
|
24
|
+
d !== null && !i.aborted && (s = setTimeout(() => void n(), Math.min(Math.max(d, e), 864e5)));
|
|
25
|
+
}
|
|
26
|
+
async function n() {
|
|
27
|
+
if (i.aborted || !navigator.onLine) return;
|
|
28
|
+
const e = o();
|
|
29
|
+
if (e !== null) {
|
|
30
|
+
if (e <= 0) {
|
|
31
|
+
if (await m(), i.aborted) return;
|
|
32
|
+
u((o() ?? 1) <= 0 ? h : 0);
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
u();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const c = () => {
|
|
39
|
+
document.visibilityState === "visible" && n();
|
|
40
|
+
}, l = () => void n();
|
|
41
|
+
return document.addEventListener("visibilitychange", c), window.addEventListener("online", l), n(), () => {
|
|
42
|
+
clearTimeout(s), document.removeEventListener("visibilitychange", c), window.removeEventListener("online", l);
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
w as k
|
|
49
|
+
};
|
package/dist/overlay/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as a } from "../Menu.vue_vue_type_script_setup_true_lang-ClsOlOSr.js"
|
|
|
3
3
|
import { _ as p } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
|
|
4
4
|
import { _ as m } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
|
|
5
5
|
import { _ as x } from "../Tooltip.vue_vue_type_script_setup_true_lang-OOD_XNWx.js";
|
|
6
|
-
import { t as T } from "../toast-
|
|
6
|
+
import { t as T } from "../toast-CqSDTWRX.js";
|
|
7
7
|
import { I as i, u as A } from "../dialogStack-DZZg55w0.js";
|
|
8
8
|
import { I as P, u as l } from "../useDialog-CXR3hN0G.js";
|
|
9
9
|
import { C as D, u as R } from "../mediaQuery-CygcXmFW.js";
|
package/dist/overlay/toast.d.ts
CHANGED
|
@@ -10,6 +10,11 @@ export interface ToastOptions {
|
|
|
10
10
|
duration?: number;
|
|
11
11
|
/** Showing a toast with the id of a visible one updates it instead of adding another. */
|
|
12
12
|
id?: string | number;
|
|
13
|
+
/**
|
|
14
|
+
* The user swiped the toast away (or closed it with a close button, if one is shown). Not called when it times out,
|
|
15
|
+
* when its action is pressed, or when code dismisses it with `toast.dismiss(id)`.
|
|
16
|
+
*/
|
|
17
|
+
onDismiss?: (id: ToastId) => void;
|
|
13
18
|
}
|
|
14
19
|
/** Identifies a toast, to update or dismiss it. */
|
|
15
20
|
export type ToastId = string | number;
|
|
@@ -18,11 +23,16 @@ export type ToastId = string | number;
|
|
|
18
23
|
* Undo (prefer Undo to a confirmation dialog whenever an action can be reversed). Toasts are one
|
|
19
24
|
* queue for the whole page, rendered by the single `<Toaster />` the app mounts.
|
|
20
25
|
*
|
|
26
|
+
* `message` is the plain toast, no status icon: a neutral fact, usually with Undo. `success`, `info`,
|
|
27
|
+
* `warning`, `error` and `loading` carry a status; pick one only when the status is the news.
|
|
28
|
+
*
|
|
21
29
|
* toast.success(t("saved"));
|
|
30
|
+
* toast.message(t("filterDeleted"), { action: { label: t("undo"), onClick: undo }, onDismiss: commit });
|
|
22
31
|
* toast.error(t("couldNotSave"), { action: { label: t("retry"), onClick: save } });
|
|
23
32
|
* const id = toast.loading(t("deleting")); … toast.dismiss(id);
|
|
24
33
|
*/
|
|
25
34
|
export declare const toast: {
|
|
35
|
+
message: (message: string, options?: ToastOptions) => ToastId;
|
|
26
36
|
success: (message: string, options?: ToastOptions) => ToastId;
|
|
27
37
|
info: (message: string, options?: ToastOptions) => ToastId;
|
|
28
38
|
warning: (message: string, options?: ToastOptions) => ToastId;
|
package/dist/shell/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { u as xe, S as X } from "../contributions-DsfmDoRD.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
|
-
import { t as _e } from "../toast-
|
|
10
|
+
import { t as _e } from "../toast-CqSDTWRX.js";
|
|
11
11
|
import { u as J, h as ue } from "../platform-q3cjODLx.js";
|
|
12
12
|
import { a as qe, _ as ve, h as ke } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
|
|
13
13
|
import { _ as Ge } from "../Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { toast as i } from "vue-sonner";
|
|
2
|
+
const r = ({ onDismiss: s, ...o } = {}) => ({
|
|
3
|
+
...o,
|
|
4
|
+
...s && { onDismiss: (a) => s(a.id) }
|
|
5
|
+
}), n = {
|
|
6
|
+
message: (s, o) => i.message(s, r(o)),
|
|
7
|
+
success: (s, o) => i.success(s, r(o)),
|
|
8
|
+
info: (s, o) => i.info(s, r(o)),
|
|
9
|
+
warning: (s, o) => i.warning(s, r(o)),
|
|
10
|
+
error: (s, o) => i.error(s, r(o)),
|
|
11
|
+
loading: (s, o) => i.loading(s, r(o)),
|
|
12
|
+
/** Dismisses one toast, or all of them without an id. */
|
|
13
|
+
dismiss: (s) => void i.dismiss(s)
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
n as t
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
function w(a = {}) {
|
|
2
|
-
const { margin: v = 6e4, retryAfter: m = 3e4 } = a;
|
|
3
|
-
return {
|
|
4
|
-
id: "vue-core.keep-session-alive",
|
|
5
|
-
scope: "session",
|
|
6
|
-
start({ signal: n, platform: i, report: f }) {
|
|
7
|
-
let r, s = null;
|
|
8
|
-
const o = () => {
|
|
9
|
-
const e = i.session.state.value;
|
|
10
|
-
return e.status === "authenticated" && e.expiresAt ? e.expiresAt.getTime() - Date.now() - v : null;
|
|
11
|
-
}, h = () => (s ?? (s = (async () => {
|
|
12
|
-
try {
|
|
13
|
-
await a.renew?.(i), await i.session.refresh();
|
|
14
|
-
} catch (e) {
|
|
15
|
-
f(e);
|
|
16
|
-
} finally {
|
|
17
|
-
s = null;
|
|
18
|
-
}
|
|
19
|
-
})()), s);
|
|
20
|
-
function u(e = 0) {
|
|
21
|
-
clearTimeout(r);
|
|
22
|
-
const d = o();
|
|
23
|
-
d !== null && !n.aborted && (r = setTimeout(() => void t(), Math.min(Math.max(d, e), 864e5)));
|
|
24
|
-
}
|
|
25
|
-
async function t() {
|
|
26
|
-
if (n.aborted || !navigator.onLine) return;
|
|
27
|
-
const e = o();
|
|
28
|
-
if (e !== null) {
|
|
29
|
-
if (e <= 0) {
|
|
30
|
-
if (await h(), n.aborted) return;
|
|
31
|
-
u((o() ?? 1) <= 0 ? m : 0);
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
u();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
const c = () => {
|
|
38
|
-
document.visibilityState === "visible" && t();
|
|
39
|
-
}, l = () => void t();
|
|
40
|
-
return document.addEventListener("visibilitychange", c), window.addEventListener("online", l), t(), () => {
|
|
41
|
-
clearTimeout(r), document.removeEventListener("visibilitychange", c), window.removeEventListener("online", l);
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export {
|
|
47
|
-
w as k
|
|
48
|
-
};
|
package/dist/toast-D9Z5To38.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { toast as i } from "vue-sonner";
|
|
2
|
-
const t = {
|
|
3
|
-
success: (s, o) => i.success(s, o),
|
|
4
|
-
info: (s, o) => i.info(s, o),
|
|
5
|
-
warning: (s, o) => i.warning(s, o),
|
|
6
|
-
error: (s, o) => i.error(s, o),
|
|
7
|
-
loading: (s, o) => i.loading(s, o),
|
|
8
|
-
/** Dismisses one toast, or all of them without an id. */
|
|
9
|
-
dismiss: (s) => void i.dismiss(s)
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
t
|
|
13
|
-
};
|