jplan-pack 0.6.34 → 0.6.35
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-BAHEa7ge.js → AuthFailRoute-CEE4wJ2j.js} +1 -1
- package/dist/{AuthFailRoute-CMwefoLR.mjs → AuthFailRoute-DoymHvOi.mjs} +1 -1
- package/dist/{AuthRoute-BS4gssap.js → AuthRoute-BdDuLqA7.js} +1 -1
- package/dist/{AuthRoute-CpbDQrMC.mjs → AuthRoute-CZTWYTZr.mjs} +1 -1
- package/dist/index-B8DHmuRq.js +87 -0
- package/dist/{index-v2dkfvbH.mjs → index-C-ofeLLF.mjs} +3504 -3499
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/dist/types/_auth/composables/useSession.d.ts +2 -1
- package/dist/types/_auth/msal/msal.d.ts +2 -1
- package/dist/types/_auth/navigation-guard/type.d.ts +2 -1
- package/package.json +1 -1
- package/dist/index-DBhmY1Fn.js +0 -87
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-B8DHmuRq.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.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 { B as t, d as n, g as o, C as r, h as i, o as l, j as u, k as d, p as c, N as T, F as m, l as S, D as p, E as C, K as b, A as g, n as I, q as v, x as B, r as D, t as J, v as F, w as A, P as f, z as M, S as x, O as E, y as H, b as P, e as h, f as y, T as G, a as O, J as U, Y as z, c as V, Q as j, M as w, i as K, W as L, L as N, R as Q, $ as Y, X as _, U as k, a5 as q, s as R, Z as W, V as X, a2 as Z, G as $, H as aa, a0 as sa, a4 as ea, a1 as ta, u as na, a3 as oa, I as ra } from "./index-
|
1
|
+
import { B as t, d as n, g as o, C as r, h as i, o as l, j as u, k as d, p as c, N as T, F as m, l as S, D as p, E as C, K as b, A as g, n as I, q as v, x as B, r as D, t as J, v as F, w as A, P as f, z as M, S as x, O as E, y as H, b as P, e as h, f as y, T as G, a as O, J as U, Y as z, c as V, Q as j, M as w, i as K, W as L, L as N, R as Q, $ as Y, X as _, U as k, a5 as q, s as R, Z as W, V as X, a2 as Z, G as $, H as aa, a0 as sa, a4 as ea, a1 as ta, u as na, a3 as oa, I as ra } from "./index-C-ofeLLF.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
@@ -4,10 +4,10 @@ import { Scope } from '../../types/client/scope';
|
|
4
4
|
export default function useSession(): {
|
5
5
|
__init__: () => Promise<void>;
|
6
6
|
user: Ref<User | null, User | null>;
|
7
|
-
domain: unknown;
|
8
7
|
userDomains: Ref<Domain[] | null, Domain[] | null>;
|
9
8
|
setEnv: (newEnv: string) => void;
|
10
9
|
setScope: (newScope: Scope | null) => void;
|
10
|
+
changeDomain: (newDomain: string) => Promise<void>;
|
11
11
|
session: ComputedRef<{
|
12
12
|
domain: Readonly<string>;
|
13
13
|
environment: Readonly<string>;
|
@@ -17,4 +17,5 @@ export default function useSession(): {
|
|
17
17
|
team?: string;
|
18
18
|
}>;
|
19
19
|
scope: ComputedRef<Scope>;
|
20
|
+
logout: () => Promise<void>;
|
20
21
|
};
|
@@ -1,3 +1,4 @@
|
|
1
|
-
import { PublicClientApplication } from '@azure/msal-browser';
|
1
|
+
import { PublicClientApplication, RedirectRequest } from '@azure/msal-browser';
|
2
|
+
export declare const loginRequest: (query?: Record<string, string>) => RedirectRequest;
|
2
3
|
declare const msal: PublicClientApplication;
|
3
4
|
export default msal;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
2
|
-
import { AccountInfo } from '@azure/msal-browser';
|
2
|
+
import { AccountInfo, PublicClientApplication } from '@azure/msal-browser';
|
3
3
|
export type AuthMode = 'tab' | 'redirect';
|
4
4
|
export type useAuthType = {
|
5
5
|
isAuthenticated: ComputedRef<boolean>;
|
@@ -8,4 +8,5 @@ export type useAuthType = {
|
|
8
8
|
logout: () => Promise<void>;
|
9
9
|
handleRedirect: (authMode?: AuthMode) => Promise<void>;
|
10
10
|
refreshToken(): Promise<void>;
|
11
|
+
msal: PublicClientApplication;
|
11
12
|
};
|