jplan-pack 0.6.708 → 0.6.710

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.
@@ -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-BBeMLRNJ.mjs";
6
+ import { m as t, S as w, _ as v } from "./index-CMJPKYcA.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-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;
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-CWkg-M1Y.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;
@@ -1110,7 +1110,7 @@ This will fail in production.`);
1110
1110
  }
1111
1111
  return a.$id = r, a;
1112
1112
  }
1113
- const d4 = /* @__PURE__ */ qN({
1113
+ const h4 = /* @__PURE__ */ qN({
1114
1114
  id: "customizer",
1115
1115
  state: () => ({
1116
1116
  Sidebar_drawer: !0,
@@ -1861,7 +1861,7 @@ var Zf = Symbol("VueToastification"), KC = new Xf(), VP = (n, e) => {
1861
1861
  eventBus: KC
1862
1862
  }, e));
1863
1863
  n.provide(Zf, t);
1864
- }, h4 = (n) => {
1864
+ }, f4 = (n) => {
1865
1865
  const e = ql(n);
1866
1866
  Mr() && q0(Zf, e);
1867
1867
  }, io = (n) => {
@@ -12646,7 +12646,7 @@ Tt.formToJSON = (n) => rT(H.isHTMLForm(n) ? new FormData(n) : n);
12646
12646
  Tt.getAdapter = uT.getAdapter;
12647
12647
  Tt.HttpStatusCode = Ef;
12648
12648
  Tt.default = Tt;
12649
- async function f4({
12649
+ async function m4({
12650
12650
  url: n,
12651
12651
  method: e,
12652
12652
  header: t = {},
@@ -27164,14 +27164,14 @@ function lg() {
27164
27164
  }
27165
27165
  const gK = {
27166
27166
  path: "/_/dashboard",
27167
- component: () => import("./AuthRoute-C7VaZ5Ei.mjs"),
27167
+ component: () => import("./AuthRoute-CLAgxQ5T.mjs"),
27168
27168
  meta: { requiresAuth: !1 }
27169
27169
  }, pK = {
27170
27170
  path: "/jplan-auth-fail",
27171
27171
  component: () => import("./AuthFailRoute-Ct4QnQrq.mjs"),
27172
27172
  meta: { requiresAuth: !1 }
27173
27173
  }, { isAuthenticated: tC, handleRedirect: _K } = ob(), vK = lg();
27174
- function m4(n, e) {
27174
+ function g4(n, e) {
27175
27175
  n.addRoute(gK), n.addRoute(pK), n.beforeEach(async (t, r, o) => {
27176
27176
  function a(u) {
27177
27177
  return u.matched.some((d) => d.meta.requiresAuth);
@@ -28164,7 +28164,7 @@ const RK = /* @__PURE__ */ ic(IK, [["render", OK], ["__scopeId", "data-v-00d7a69
28164
28164
  messages: ab
28165
28165
  });
28166
28166
  let Vh = !1;
28167
- const Kh = fe(!1), cr = fe([]), aC = fe([]), Zt = fe(null), Ca = fe([]), g4 = () => {
28167
+ const Kh = fe(!1), cr = fe([]), aC = fe([]), Zt = fe(null), Ca = fe([]), p4 = () => {
28168
28168
  const n = io(), e = async (g) => {
28169
28169
  Kh.value = !0;
28170
28170
  const E = g ? `_active eq true and ${g}` : "_active eq true", y = await Oi.getBranchList(E);
@@ -28326,7 +28326,7 @@ function HK() {
28326
28326
  }
28327
28327
  const ys = HK();
28328
28328
  let Wh = !1;
28329
- const zh = fe(!1), lr = fe([]), sC = fe([]), en = fe(null), Ea = fe([]), p4 = () => {
28329
+ const zh = fe(!1), lr = fe([]), sC = fe([]), en = fe(null), Ea = fe([]), _4 = () => {
28330
28330
  const n = io(), e = async (g) => {
28331
28331
  zh.value = !0;
28332
28332
  const E = g ? `_active eq true and ${g}` : "_active eq true", y = await ys.getDivisionList(E);
@@ -28486,7 +28486,7 @@ function $K() {
28486
28486
  }
28487
28487
  const Cs = $K();
28488
28488
  let Gh = !1, qh = fe(!1);
28489
- const ur = fe([]), cC = fe([]), dr = fe(null), BK = fe(null), VK = fe([]), _4 = () => {
28489
+ const ur = fe([]), cC = fe([]), dr = fe(null), BK = fe(null), VK = fe([]), v4 = () => {
28490
28490
  const n = io(), e = async (m) => {
28491
28491
  qh.value = !0;
28492
28492
  const _ = m ? `_active eq true and ${m}` : "_active eq true", g = await Cs.getManageUserList(_);
@@ -28551,13 +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, e = !0) => {
28555
- n.use(DK), n.use(KP, LK), e && n.use(FK), Object.entries(MK).forEach(([t, r]) => {
28554
+ }, KK = {
28555
+ defaultI18n: !0
28556
+ }, WK = (n, e) => {
28557
+ ({ ...KK, ...e }, n.use(DK)), n.use(KP, LK), e.defaultI18n && n.use(FK), Object.entries(MK).forEach(([t, r]) => {
28556
28558
  n.component(t, r);
28557
28559
  }), Object.entries(nN).forEach(([t, r]) => {
28558
28560
  n.provide(t, r);
28559
28561
  });
28560
- }, v4 = { install: KK };
28562
+ }, y4 = { install: WK };
28561
28563
  export {
28562
28564
  FK as $,
28563
28565
  c1 as A,
@@ -28568,11 +28570,11 @@ export {
28568
28570
  xH as F,
28569
28571
  AK as G,
28570
28572
  NK as H,
28571
- d4 as I,
28573
+ h4 as I,
28572
28574
  gu as J,
28573
28575
  io as K,
28574
28576
  Ie as L,
28575
- f4 as M,
28577
+ m4 as M,
28576
28578
  dc as N,
28577
28579
  Pl as O,
28578
28580
  Wv as P,
@@ -28583,7 +28585,7 @@ export {
28583
28585
  Gn as U,
28584
28586
  ql as V,
28585
28587
  KC as W,
28586
- h4 as X,
28588
+ f4 as X,
28587
28589
  Zf as Y,
28588
28590
  ab as Z,
28589
28591
  ic as _,
@@ -28593,11 +28595,11 @@ export {
28593
28595
  Oi as a2,
28594
28596
  gr as a3,
28595
28597
  Cs as a4,
28596
- p4 as a5,
28598
+ _4 as a5,
28597
28599
  wK as a6,
28598
- g4 as a7,
28600
+ p4 as a7,
28599
28601
  bK as a8,
28600
- _4 as a9,
28602
+ v4 as a9,
28601
28603
  pc as aa,
28602
28604
  f1 as b,
28603
28605
  ib as c,
@@ -28606,7 +28608,7 @@ export {
28606
28608
  BE as f,
28607
28609
  OF as g,
28608
28610
  mm as h,
28609
- v4 as i,
28611
+ y4 as i,
28610
28612
  s1 as j,
28611
28613
  Yf as k,
28612
28614
  a1 as l,
@@ -28616,7 +28618,7 @@ export {
28616
28618
  WC as p,
28617
28619
  qP as q,
28618
28620
  _N as r,
28619
- m4 as s,
28621
+ g4 as s,
28620
28622
  CH as t,
28621
28623
  lg as u,
28622
28624
  wH as v,