jplan-pack 0.6.706 → 0.6.708

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.
@@ -7,7 +7,7 @@ const p = {
7
7
  __name: "AuthFailRoute",
8
8
  setup(u) {
9
9
  const n = () => {
10
- const t = window.location.pathname.replace("/jplan-auth-fail", "");
10
+ const t = window.location.pathname.replace("/jplan-auth-fail", "/");
11
11
  window.location.replace(t);
12
12
  };
13
13
  return (t, e) => (l(), r("div", p, [
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("vuetify/lib/components/VBtn/index.mjs"),l={style:{background:"rgba(0, 0, 0, 0.5)",height:"100vh"},class:"overlay d-flex flex-column align-center justify-center"},r=e.defineComponent({__name:"AuthFailRoute",setup(c){const o=()=>{const n=window.location.pathname.replace("/jplan-auth-fail","/");window.location.replace(n)};return(n,t)=>(e.openBlock(),e.createElementBlock("div",l,[t[1]||(t[1]=e.createElementVNode("div",{class:"w-100 text-h5 text-center mb-4"},"Unable to Access. Please allow pop-ups and try again.",-1)),e.createElementVNode("div",null,[e.createVNode(a.VBtn,{variant:"flat",color:"secondary",onClick:o},{default:e.withCtx(()=>t[0]||(t[0]=[e.createTextVNode("Login")])),_:1})])]))}});exports.default=r;
@@ -3,7 +3,7 @@ import "@vueuse/core";
3
3
  import "vuetify/lib/components/VBtn/index.mjs";
4
4
  import "vuetify/components";
5
5
  import "vuetify/lib/components/VIcon/index.mjs";
6
- import { m as t, S as w, _ as v } from "./index-Bh6KhIFH.mjs";
6
+ import { m as t, S as w, _ as v } from "./index-BBeMLRNJ.mjs";
7
7
  import "vuetify/lib/components/VCard/index.mjs";
8
8
  import "vuetify/lib/components/VDialog/index.mjs";
9
9
  import "vuetify/lib/components/VDivider/index.mjs";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("@vueuse/core");require("vuetify/lib/components/VBtn/index.mjs");require("vuetify/components");require("vuetify/lib/components/VIcon/index.mjs");const t=require("./index-BuICmkQ6.js");require("vuetify/lib/components/VCard/index.mjs");require("vuetify/lib/components/VDialog/index.mjs");require("vuetify/lib/components/VDivider/index.mjs");require("vuetify/lib/components/VGrid/index.mjs");require("vuetify/lib/components/VAvatar/index.mjs");require("vuetify/lib/components/VImg/index.mjs");require("vuetify/lib/components/VList/index.mjs");require("vuetify/lib/components/VMenu/index.mjs");require("vuetify/lib/components/VDataTable/index.mjs");require("vuetify/lib/components/VTextField/index.mjs");require("vuetify/lib/components/VSelect/index.mjs");require("vuetify/lib/components/VCheckbox/index.mjs");require("vuetify/lib/components/VChip/index.mjs");require("vuetify/lib/components/VLabel/index.mjs");require("vuetify/lib/components/VTextarea/index.mjs");require("vuetify/lib/components/VBtnToggle/index.mjs");const c={class:"overlay",style:{background:"rgba(0, 0, 0, 0.5)",height:"100vh"}},l={class:"text-white"},d={class:"text-white"},q=e.defineComponent({__name:"AuthRoute",setup(m){const s=r=>({scopes:["https://graph.microsoft.com/.default","openid","profile"],redirectStartPage:window.location.href,extraQueryParameters:r}),i=e.ref(!1);async function u(){t.msal.getAllAccounts().length===0&&(i.value=!0);const r=await t.msal.handleRedirectPromise();if(!r){await t.msal.initialize();const n=s();await t.msal.loginRedirect(n);return}t.msal.setActiveAccount(r.account)}e.onMounted(async()=>{await t.msal.initialize(),await u()});const o=[{title:"Authenticating...",subtitle:"Please wait."},{title:"Authorized",subtitle:"If this window don't closed automatically, you can close it now."}],a=e.computed(()=>i.value?o[0]:o[1]);return(r,n)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("h3",l,e.toDisplayString(a.value.title),1),e.createVNode(e.unref(t.SpinnerLoader)),e.createElementVNode("p",d,e.toDisplayString(a.value.subtitle),1)]))}}),h=t._export_sfc(q,[["__scopeId","data-v-f2fc8290"]]);exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("@vueuse/core");require("vuetify/lib/components/VBtn/index.mjs");require("vuetify/components");require("vuetify/lib/components/VIcon/index.mjs");const t=require("./index-Q6wZ76Xl.js");require("vuetify/lib/components/VCard/index.mjs");require("vuetify/lib/components/VDialog/index.mjs");require("vuetify/lib/components/VDivider/index.mjs");require("vuetify/lib/components/VGrid/index.mjs");require("vuetify/lib/components/VAvatar/index.mjs");require("vuetify/lib/components/VImg/index.mjs");require("vuetify/lib/components/VList/index.mjs");require("vuetify/lib/components/VMenu/index.mjs");require("vuetify/lib/components/VDataTable/index.mjs");require("vuetify/lib/components/VTextField/index.mjs");require("vuetify/lib/components/VSelect/index.mjs");require("vuetify/lib/components/VCheckbox/index.mjs");require("vuetify/lib/components/VChip/index.mjs");require("vuetify/lib/components/VLabel/index.mjs");require("vuetify/lib/components/VTextarea/index.mjs");require("vuetify/lib/components/VBtnToggle/index.mjs");const c={class:"overlay",style:{background:"rgba(0, 0, 0, 0.5)",height:"100vh"}},l={class:"text-white"},d={class:"text-white"},q=e.defineComponent({__name:"AuthRoute",setup(m){const s=r=>({scopes:["https://graph.microsoft.com/.default","openid","profile"],redirectStartPage:window.location.href,extraQueryParameters:r}),i=e.ref(!1);async function u(){t.msal.getAllAccounts().length===0&&(i.value=!0);const r=await t.msal.handleRedirectPromise();if(!r){await t.msal.initialize();const n=s();await t.msal.loginRedirect(n);return}t.msal.setActiveAccount(r.account)}e.onMounted(async()=>{await t.msal.initialize(),await u()});const o=[{title:"Authenticating...",subtitle:"Please wait."},{title:"Authorized",subtitle:"If this window don't closed automatically, you can close it now."}],a=e.computed(()=>i.value?o[0]:o[1]);return(r,n)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("h3",l,e.toDisplayString(a.value.title),1),e.createVNode(e.unref(t.SpinnerLoader)),e.createElementVNode("p",d,e.toDisplayString(a.value.subtitle),1)]))}}),h=t._export_sfc(q,[["__scopeId","data-v-f2fc8290"]]);exports.default=h;
@@ -27164,11 +27164,11 @@ function lg() {
27164
27164
  }
27165
27165
  const gK = {
27166
27166
  path: "/_/dashboard",
27167
- component: () => import("./AuthRoute-Cif5Av_K.mjs"),
27167
+ component: () => import("./AuthRoute-C7VaZ5Ei.mjs"),
27168
27168
  meta: { requiresAuth: !1 }
27169
27169
  }, pK = {
27170
27170
  path: "/jplan-auth-fail",
27171
- component: () => import("./AuthFailRoute-BDI4nIKK.mjs"),
27171
+ component: () => import("./AuthFailRoute-Ct4QnQrq.mjs"),
27172
27172
  meta: { requiresAuth: !1 }
27173
27173
  }, { isAuthenticated: tC, handleRedirect: _K } = ob(), vK = lg();
27174
27174
  function m4(n, e) {
@@ -28551,15 +28551,15 @@ const ur = fe([]), cC = fe([]), dr = fe(null), BK = fe(null), VK = fe([]), _4 =
28551
28551
  userOrg: BK,
28552
28552
  userTeams: VK
28553
28553
  };
28554
- }, KK = (n) => {
28555
- n.use(DK), n.use(KP, LK), n.use(FK), Object.entries(MK).forEach(([e, t]) => {
28556
- n.component(e, t);
28557
- }), Object.entries(nN).forEach(([e, t]) => {
28558
- n.provide(e, t);
28554
+ }, KK = (n, e = !0) => {
28555
+ n.use(DK), n.use(KP, LK), e && n.use(FK), Object.entries(MK).forEach(([t, r]) => {
28556
+ n.component(t, r);
28557
+ }), Object.entries(nN).forEach(([t, r]) => {
28558
+ n.provide(t, r);
28559
28559
  });
28560
28560
  }, v4 = { install: KK };
28561
28561
  export {
28562
- ys as $,
28562
+ FK as $,
28563
28563
  c1 as A,
28564
28564
  l1 as B,
28565
28565
  d1 as C,
@@ -28585,19 +28585,20 @@ export {
28585
28585
  KC as W,
28586
28586
  h4 as X,
28587
28587
  Zf as Y,
28588
- FK as Z,
28588
+ ab as Z,
28589
28589
  ic as _,
28590
28590
  ob as a,
28591
- Si as a0,
28592
- Oi as a1,
28593
- gr as a2,
28594
- Cs as a3,
28595
- p4 as a4,
28596
- wK as a5,
28597
- g4 as a6,
28598
- bK as a7,
28599
- _4 as a8,
28600
- pc as a9,
28591
+ ys as a0,
28592
+ Si as a1,
28593
+ Oi as a2,
28594
+ gr as a3,
28595
+ Cs as a4,
28596
+ p4 as a5,
28597
+ wK as a6,
28598
+ g4 as a7,
28599
+ bK as a8,
28600
+ _4 as a9,
28601
+ pc as aa,
28601
28602
  f1 as b,
28602
28603
  ib as c,
28603
28604
  Px as d,