jplan-pack 0.6.653 → 0.6.655

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.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("vuetify/lib/components/VBtn/index.mjs"),l=require("./index-DTlp0gvM.js"),r={class:"overlay d-flex flex-column align-center justify-center"},c=e.defineComponent({__name:"AuthFailRoute",setup(s){const o=()=>{const n=window.location.pathname.replace("/jplan-auth","");window.location.replace(n)};return(n,t)=>(e.openBlock(),e.createElementBlock("div",r,[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})])]))}}),i=l._export_sfc(c,[["__scopeId","data-v-2004772e"]]);exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("vuetify/lib/components/VBtn/index.mjs"),l=require("./index-C8Twtu2J.js"),r={class:"overlay d-flex flex-column align-center justify-center"},c=e.defineComponent({__name:"AuthFailRoute",setup(s){const o=()=>{const n=window.location.pathname.replace("/jplan-auth","");window.location.replace(n)};return(n,t)=>(e.openBlock(),e.createElementBlock("div",r,[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})])]))}}),i=l._export_sfc(c,[["__scopeId","data-v-2004772e"]]);exports.default=i;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, openBlock as l, createElementBlock as r, createElementVNode as o, createVNode as c, withCtx as s, createTextVNode as i } from "vue";
2
2
  import { VBtn as d } from "vuetify/lib/components/VBtn/index.mjs";
3
- import { _ as p } from "./index-C6Z4OvGi.mjs";
3
+ import { _ as p } from "./index-BC8XfkrC.mjs";
4
4
  const m = { class: "overlay d-flex flex-column align-center justify-center" }, u = /* @__PURE__ */ a({
5
5
  __name: "AuthFailRoute",
6
6
  setup(f) {
@@ -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-DTlp0gvM.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"},l={class:"text-white"},d={class:"text-white"},q=e.defineComponent({__name:"AuthRoute",setup(p){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)]))}}),m=t._export_sfc(q,[["__scopeId","data-v-b7679fd7"]]);exports.default=m;
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-C8Twtu2J.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"},l={class:"text-white"},d={class:"text-white"},q=e.defineComponent({__name:"AuthRoute",setup(p){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)]))}}),m=t._export_sfc(q,[["__scopeId","data-v-b7679fd7"]]);exports.default=m;
@@ -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 g, _ as v } from "./index-C6Z4OvGi.mjs";
6
+ import { m as t, S as g, _ as v } from "./index-BC8XfkrC.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";
@@ -5652,7 +5652,7 @@ const hM = {
5652
5652
  A(qt, {
5653
5653
  md: "7",
5654
5654
  cols: "12",
5655
- class: "d-flex justify-end align-center border"
5655
+ class: "d-flex justify-end align-center"
5656
5656
  }, {
5657
5657
  default: k(() => [
5658
5658
  Z("div", null, [
@@ -5703,7 +5703,7 @@ const hM = {
5703
5703
  ]);
5704
5704
  };
5705
5705
  }
5706
- }), TM = /* @__PURE__ */ ja(CM, [["__scopeId", "data-v-c63a0eeb"]]);
5706
+ }), TM = /* @__PURE__ */ ja(CM, [["__scopeId", "data-v-0b456bbf"]]);
5707
5707
  /*!
5708
5708
  * vue-draggable-next v2.2.0
5709
5709
  * (c) 2023 Anish George
@@ -18128,7 +18128,7 @@ function U_() {
18128
18128
  });
18129
18129
  Lt.setActiveAccount(p.account), await r(xn.value), li.value = "updated";
18130
18130
  } catch (p) {
18131
- console.error("Failed to refresh token, forcing new login.", p), li.value = "error", await s();
18131
+ console.error("Failed to refresh token, forcing new login.", p), li.value = "error", localStorage.clear(), window.location.reload();
18132
18132
  }
18133
18133
  fe.value = !1;
18134
18134
  }
@@ -23672,11 +23672,11 @@ function print() { __p += __j.call(arguments, '') }
23672
23672
  var Bi = eH();
23673
23673
  const kc = /* @__PURE__ */ X2(Bi), tH = {
23674
23674
  path: "/_/dashboard",
23675
- component: () => import("./AuthRoute-Cb0Mipoh.mjs"),
23675
+ component: () => import("./AuthRoute-BttfKsx2.mjs"),
23676
23676
  meta: { requiresAuth: !1 }
23677
23677
  }, nH = {
23678
23678
  path: "/jplan-auth-fail",
23679
- component: () => import("./AuthFailRoute-cw57A5s9.mjs"),
23679
+ component: () => import("./AuthFailRoute-C9WUCgaB.mjs"),
23680
23680
  meta: { requiresAuth: !1 }
23681
23681
  }, { isAuthenticated: Nv, handleRedirect: rH } = U_(), oH = _f();
23682
23682
  function XH(r, e) {