jplan-pack 0.6.61 → 0.6.62

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-B4S1fO8F.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$20;exports.ColumnSettingsDialog=e._sfc_main$2;exports.ConfirmDialog=e._sfc_main$5;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$6;exports.DeleteAllBtn=e._sfc_main$10;exports.DotsMenu=e._sfc_main$7;exports.EditButton=e._sfc_main$11;exports.EmptyListImg=e.EmptyListImg;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$8;exports.GlobalScopeFilter=e._sfc_main$23;exports.GlobalSpinner=e._sfc_main$24;exports.HttpCore=e.HttpCore;exports.JAvatar=e._sfc_main$19;exports.JBtn=e._sfc_main$9;exports.JDialog=e._sfc_main$21;exports.JForm=e._sfc_main$16;exports.JIconBtn=e._sfc_main$12;exports.JSelect=e._sfc_main$13;exports.JTextArea=e._sfc_main$14;exports.JTextField=e._sfc_main$15;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$18;exports.SearchFilter=e._sfc_main$4;exports.SpinnerLoader=e.SpinnerLoader;exports.SubMenu=e._sfc_main$22;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$17;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;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-Cp9H58gZ.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$20;exports.ColumnSettingsDialog=e._sfc_main$2;exports.ConfirmDialog=e._sfc_main$5;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$6;exports.DeleteAllBtn=e._sfc_main$10;exports.DotsMenu=e._sfc_main$7;exports.EditButton=e._sfc_main$11;exports.EmptyListImg=e.EmptyListImg;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$8;exports.GlobalScopeFilter=e._sfc_main$23;exports.GlobalSpinner=e._sfc_main$24;exports.HttpCore=e.HttpCore;exports.JAvatar=e._sfc_main$19;exports.JBtn=e._sfc_main$9;exports.JDialog=e._sfc_main$21;exports.JForm=e._sfc_main$16;exports.JIconBtn=e._sfc_main$12;exports.JSelect=e._sfc_main$13;exports.JTextArea=e._sfc_main$14;exports.JTextField=e._sfc_main$15;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$18;exports.SearchFilter=e._sfc_main$4;exports.SpinnerLoader=e.SpinnerLoader;exports.SubMenu=e._sfc_main$22;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$17;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;
@@ -1,4 +1,4 @@
1
- import { D as t, f as n, k as r, C as o, l as i, q as l, n as u, r as c, P as d, Q as m, F as S, o as T, H as p, I as b, M as g, B as C, p as I, E as v, y as B, t as F, v as J, w as A, x as D, R as f, A as h, j as E, S as M, G as x, U as y, z as H, e as P, g as G, h as O, T as U, d as z, a as L, a0 as j, c as w, V as K, O as N, i as Q, Z as V, N as Y, W as _, a2 as k, $ as q, X as R, a8 as W, s as X, a1 as Z, Y as $, b as aa, a5 as sa, J as ea, K as ta, a3 as na, a7 as ra, a4 as oa, u as ia, a6 as la, L as ua } from "./index-DdvbspiB.mjs";
1
+ import { D as t, f as n, k as r, C as o, l as i, q as l, n as u, r as c, P as d, Q as m, F as S, o as T, H as p, I as b, M as g, B as C, p as I, E as v, y as B, t as F, v as J, w as A, x as D, R as f, A as h, j as E, S as M, G as x, U as y, z as H, e as P, g as G, h as O, T as U, d as z, a as L, a0 as j, c as w, V as K, O as N, i as Q, Z as V, N as Y, W as _, a2 as k, $ as q, X as R, a8 as W, s as X, a1 as Z, Y as $, b as aa, a5 as sa, J as ea, K as ta, a3 as na, a7 as ra, a4 as oa, u as ia, a6 as la, L as ua } from "./index-CKfwLeOX.mjs";
2
2
  import "@vueuse/core";
3
3
  export {
4
4
  t as AvatarPicture,
@@ -1,13 +1,14 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { Domain, User } from './type';
3
3
  import { Scope } from '../../types/client/scope';
4
+ import { RouteLocationNormalized } from 'vue-router';
4
5
  export default function useSession(): {
5
6
  __init__: () => Promise<void>;
6
7
  user: Ref<User | null, User | null>;
7
8
  userDomains: Ref<Domain[] | null, Domain[] | null>;
8
9
  setEnv: (newEnv: string) => void;
9
10
  setScope: (newScope: Scope | null) => void;
10
- changeDomain: (newDomain: string) => Promise<void>;
11
+ changeDomain: (returnPath: RouteLocationNormalized["fullPath"], newDomain: string) => Promise<void>;
11
12
  session: ComputedRef<{
12
13
  domain: Readonly<string>;
13
14
  environment: Readonly<string>;
@@ -1,4 +1,4 @@
1
1
  import { PublicClientApplication, RedirectRequest } from '@azure/msal-browser';
2
- export declare const loginRequest: (query?: Record<string, string>) => RedirectRequest;
2
+ export declare const loginRequest: (redirectRoute: string, query?: Record<string, string>) => RedirectRequest;
3
3
  declare const msal: PublicClientApplication;
4
4
  export default msal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jplan-pack",
3
- "version": "0.6.61",
3
+ "version": "0.6.62",
4
4
  "main": "./dist/jplan-pack.cjs.js",
5
5
  "module": "./dist/jplan-pack.es.js",
6
6
  "types": "dist/types/index.d.ts",