jplan-pack 0.6.531 → 0.6.533
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/{AuthFailRoute-USh_0wFF.js → AuthFailRoute-DNSeS3_5.js} +1 -1
- package/dist/{AuthFailRoute-DTpFoofS.mjs → AuthFailRoute-ufs2z-PB.mjs} +1 -1
- package/dist/{AuthRoute-CkxhAzuM.mjs → AuthRoute-ChfyW_YY.mjs} +1 -1
- package/dist/{AuthRoute-DkdY4AHX.js → AuthRoute-PkK6x6e9.js} +1 -1
- package/dist/{index-FFnEQ1V6.js → index-DnJTue5F.js} +24 -24
- package/dist/{index-O7Tf6LHQ.mjs → index-LMb42XWv.mjs} +2324 -2326
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/dist/types/_auth/composables/useAuth.d.ts +13 -2
- package/package.json +1 -1
package/dist/jplan-pack.cjs.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-DnJTue5F.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$21;exports.ColumnSettingsDialog=e._sfc_main$2;exports.ConfirmDialog=e._sfc_main$4;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$5;exports.DeleteAllBtn=e._sfc_main$10;exports.DotsMenu=e._sfc_main$6;exports.DotsMenuV1=e._sfc_main$7;exports.EditButton=e._sfc_main$11;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$8;exports.GlobalScopeFilter=e._sfc_main$22;exports.GlobalSpinner=e._sfc_main$23;exports.HttpCore=e.HttpCore;exports.JAvatar=e._sfc_main$20;exports.JBtn=e._sfc_main$9;exports.JDialog=e._sfc_main$12;exports.JForm=e._sfc_main$17;exports.JIconBtn=e._sfc_main$13;exports.JSelect=e._sfc_main$14;exports.JTextArea=e._sfc_main$15;exports.JTextField=e._sfc_main$16;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$19;exports.SpinnerLoader=e.SpinnerLoader;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$18;exports.TableAdvanced=e._sfc_main$1;exports.TableCard=e._sfc_main$3;exports.TableCardsView=e.TableCardsView;exports.TableHeader=e.TableHeader;exports.UiTable=e._sfc_main;exports.__spinner=e.__spinner;exports.branchInstance=e.branchInstance;exports.coreClient=e.coreClient;exports.createToastInterface=e.createToastInterface;exports.dateFormat=e.dateFormat;exports.default=e.index;exports.divisionInstance=e.divisionInstance;exports.filterQuery=e.filterQuery;exports.globalEventBus=e.globalEventBus;exports.manageUserInstance=e.manageUserInstance;exports.orgInstance=e.orgInstance;exports.provideToast=e.provideToast;exports.scopedClient=e.scopedClient;exports.setupAuthGuard=e.setupAuthGuard;exports.teamInstance=e.teamInstance;exports.toastInjectionKey=e.toastInjectionKey;exports.useAuth=e.useAuth;exports.useBranchStore=e.useBranchStore;exports.useCustomizer=e.useCustomizer;exports.useDialog=e.useDialog;exports.useDivisionStore=e.useDivisionStore;exports.useManageUserStore=e.useManageUserStore;exports.useOrganizationStore=e.useOrganizationStore;exports.useSession=e.useSession;exports.useTeamStore=e.useTeamStore;exports.useToast=e.useToast;
|
package/dist/jplan-pack.es.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { D as t, e as n, h as o, C as r, j as i, p as l, k as u, l as d, q as c, O as T, F as m, n as S, E as p, G as C, L as b, B as g, o as I, r as v, y as B, t as D, v as J, w as A, x as F, P as f, A as M, S as h, Q as x, z as E, d as H, f as P, g as y, T as G, b as O, K as U, Z as z, c as V, R as j, N as w, i as K, X as L, M as N, U as Q, a0 as Y, Y as _, V as k, a6 as q, s as R, $ as W, W as X, a as Z, a3 as $, H as aa, I as sa, a1 as ea, a5 as ta, a2 as na, u as oa, a4 as ra, J as ia } from "./index-
|
1
|
+
import { D as t, e as n, h as o, C as r, j as i, p as l, k as u, l as d, q as c, O as T, F as m, n as S, E as p, G as C, L as b, B as g, o as I, r as v, y as B, t as D, v as J, w as A, x as F, P as f, A as M, S as h, Q as x, z as E, d as H, f as P, g as y, T as G, b as O, K as U, Z as z, c as V, R as j, N as w, i as K, X as L, M as N, U as Q, a0 as Y, Y as _, V as k, a6 as q, s as R, $ as W, W as X, a as Z, a3 as $, H as aa, I as sa, a1 as ea, a5 as ta, a2 as na, u as oa, a4 as ra, J as ia } from "./index-LMb42XWv.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
@@ -1,2 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
2
|
+
import { AccountInfo } from '@azure/msal-browser';
|
3
|
+
import { AuthMode } from '../navigation-guard/type';
|
4
|
+
export default function useAuth(): {
|
5
|
+
isAuthenticated: ComputedRef<boolean>;
|
6
|
+
authState: Ref<'updating' | 'updated' | 'error' | null>;
|
7
|
+
account: ComputedRef<AccountInfo | null>;
|
8
|
+
token: ComputedRef<string>;
|
9
|
+
refreshToken: () => Promise<void>;
|
10
|
+
handleRedirect: (auth_mode?: AuthMode) => Promise<void>;
|
11
|
+
logout: () => Promise<void>;
|
12
|
+
refreshTime: Ref<number>;
|
13
|
+
};
|