jplan-pack 0.6.742 → 0.6.743
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/{AuthRoute-DrHZarQP.js → AuthRoute-hvAAEzUX.js} +1 -1
- package/dist/{AuthRoute-F6Af1tVl.mjs → AuthRoute-uGOt7KIH.mjs} +1 -1
- package/dist/{WidgetLabel-CiIaRtZv.mjs → WidgetLabel-Dl1LSkqm.mjs} +1 -1
- package/dist/{WidgetLabel-Cbafb0Tw.js → WidgetLabel-e6wuE_t2.js} +1 -1
- package/dist/{WidgetShortcut-L0EvAKPt.js → WidgetShortcut-CmE2AmVN.js} +1 -1
- package/dist/{WidgetShortcut-Bf5ucz83.mjs → WidgetShortcut-DNBidY44.mjs} +1 -1
- package/dist/{WidgetSpacer-CRx7ldqe.mjs → WidgetSpacer-BYZZnA3T.mjs} +1 -1
- package/dist/{WidgetSpacer-CK5q_9Ye.js → WidgetSpacer-CbaCsTfK.js} +1 -1
- package/dist/{WidgetTask-BtmNyVXn.js → WidgetTask-CBixNCa8.js} +1 -1
- package/dist/{WidgetTask-CrxeLods.mjs → WidgetTask-eeGihfIT.mjs} +1 -1
- package/dist/{index-BVmnEe45.mjs → index-CovloIvZ.mjs} +22 -19
- package/dist/{index-r-MrkzDI.js → index-DpPBmEX0.js} +1 -1
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/dist/types/api/type.d.ts +15 -2
- package/package.json +1 -1
@@ -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-
|
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-DpPBmEX0.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/VAutocomplete/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;
|
@@ -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, a as v } from "./index-
|
6
|
+
import { m as t, S as w, a as v } from "./index-CovloIvZ.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,6 +1,6 @@
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, withCtx as c, createElementVNode as l, normalizeClass as d, toDisplayString as i } from "vue";
|
2
2
|
import { VCard as p } from "vuetify/lib/components/VCard/index.mjs";
|
3
|
-
import { a as f } from "./index-
|
3
|
+
import { a as f } from "./index-CovloIvZ.mjs";
|
4
4
|
const m = /* @__PURE__ */ o({
|
5
5
|
__name: "WidgetLabel",
|
6
6
|
props: {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("vuetify/lib/components/VCard/index.mjs"),o=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("vuetify/lib/components/VCard/index.mjs"),o=require("./index-DpPBmEX0.js"),a=e.defineComponent({__name:"WidgetLabel",props:{label:{},font_size:{}},setup(n){const t=n,s=r=>{switch(r){case"body":return"text-body-1";case"sm":return"text-h5";case"md":return"text-h4";case"lg":return"text-h3";default:return"text-body-1"}};return(r,i)=>(e.openBlock(),e.createBlock(c.VCard,{color:"containerBg",class:"w-100 h-100 d-flex align-center justify-center"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass([s(t.font_size),"text-center truncate"])},e.toDisplayString(t.label),3)]),_:1}))}}),l=o._export_sfc(a,[["__scopeId","data-v-9d79374d"]]);exports.default=l;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-DpPBmEX0.js"),i=require("vuetify/lib/components/VImg/index.mjs"),s=require("vuetify/lib/components/VSheet/index.mjs"),a={class:"text-h6 text-center truncate w-100 px-4 mb-4"},u=e.defineComponent({__name:"WidgetShortcut",props:{title:{},image:{},url:{}},setup(r){const t=r,{edition:o}=n.useDashboardStore();function c(){window.open(t.url,"__blank")}return(l,_)=>(e.openBlock(),e.createBlock(s.VSheet,e.mergeProps(e.unref(o)?{}:{onClick:c},{ripple:"",rounded:"md",class:"d-flex flex-column align-center justify-center w-100 h-100 bg-containerBg"}),{default:e.withCtx(()=>[e.createVNode(i.VImg,{src:t.image,height:"45",width:"45"},null,8,["src"]),e.createElementVNode("div",a,e.toDisplayString(t.title),1)]),_:1},16))}}),d=n._export_sfc(u,[["__scopeId","data-v-7045e16b"]]);exports.default=d;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as n, openBlock as c, createBlock as i, mergeProps as a, unref as s, withCtx as l, createVNode as p, createElementVNode as d, toDisplayString as m } from "vue";
|
2
|
-
import { u, a as _ } from "./index-
|
2
|
+
import { u, a as _ } from "./index-CovloIvZ.mjs";
|
3
3
|
import { VImg as f } from "vuetify/lib/components/VImg/index.mjs";
|
4
4
|
import { VSheet as g } from "vuetify/lib/components/VSheet/index.mjs";
|
5
5
|
const h = { class: "text-h6 text-center truncate w-100 px-4 mb-4" }, x = /* @__PURE__ */ n({
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as t, unref as r, openBlock as e, createElementBlock as c, createBlock as n } from "vue";
|
2
|
-
import { u as a } from "./index-
|
2
|
+
import { u as a } from "./index-CovloIvZ.mjs";
|
3
3
|
import { VCard as s } from "vuetify/lib/components/VCard/index.mjs";
|
4
4
|
const i = {
|
5
5
|
key: 0,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-DpPBmEX0.js"),o=require("vuetify/lib/components/VCard/index.mjs"),r={key:0,class:"w-100 h-100"},c=e.defineComponent({__name:"WidgetSpacer",setup(s){const{edition:t}=n.useDashboardStore();return(i,a)=>e.unref(t)?(e.openBlock(),e.createBlock(o.VCard,{key:1,color:"containerBg",class:"w-100 h-100 d-flex align-center justify-center"})):(e.openBlock(),e.createElementBlock("div",r))}});exports.default=c;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("@vueuse/core");const i=require("vuetify/lib/components/VBtn/index.mjs");require("vuetify/components");require("vuetify/lib/components/VIcon/index.mjs");const V=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("@vueuse/core");const i=require("vuetify/lib/components/VBtn/index.mjs");require("vuetify/components");require("vuetify/lib/components/VIcon/index.mjs");const V=require("./index-DpPBmEX0.js"),s=require("vuetify/lib/components/VCard/index.mjs");require("vuetify/lib/components/VDialog/index.mjs");require("vuetify/lib/components/VAvatar/index.mjs");require("vuetify/lib/components/VImg/index.mjs");const n=require("vuetify/lib/components/VList/index.mjs"),x=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/VDivider/index.mjs");require("vuetify/lib/components/VGrid/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/VAutocomplete/index.mjs");require("vuetify/lib/components/VTextarea/index.mjs");require("vuetify/lib/components/VBtnToggle/index.mjs");const N=require("vuetify/lib/components/VBanner/index.mjs");/*!
|
2
2
|
* vue-router v4.5.0
|
3
3
|
* (c) 2024 Eduardo San Martin Morote
|
4
4
|
* @license MIT
|
@@ -3,7 +3,7 @@ import "@vueuse/core";
|
|
3
3
|
import { VBtn as u } from "vuetify/lib/components/VBtn/index.mjs";
|
4
4
|
import "vuetify/components";
|
5
5
|
import "vuetify/lib/components/VIcon/index.mjs";
|
6
|
-
import { _ as w } from "./index-
|
6
|
+
import { _ as w } from "./index-CovloIvZ.mjs";
|
7
7
|
import { VCard as C, VCardText as g } from "vuetify/lib/components/VCard/index.mjs";
|
8
8
|
import "vuetify/lib/components/VDialog/index.mjs";
|
9
9
|
import "vuetify/lib/components/VAvatar/index.mjs";
|
@@ -27068,38 +27068,41 @@ const { jToken: tC } = cb(), { server: nC } = ZP(), db = () => {
|
|
27068
27068
|
);
|
27069
27069
|
let e = 1;
|
27070
27070
|
n.interceptors.response.use(
|
27071
|
-
async (o) => {
|
27071
|
+
async (o) => (o.notify = () => {
|
27072
27072
|
var a, c;
|
27073
|
-
|
27073
|
+
nC.value.push({
|
27074
27074
|
type: "success",
|
27075
27075
|
url: ((a = o.config) == null ? void 0 : a.url) || "",
|
27076
27076
|
method: ((c = o.config) == null ? void 0 : c.method) || "",
|
27077
27077
|
status: o.status,
|
27078
27078
|
data: o.data,
|
27079
27079
|
timestamp: /* @__PURE__ */ new Date()
|
27080
|
-
})
|
27081
|
-
},
|
27080
|
+
});
|
27081
|
+
}, o),
|
27082
27082
|
async (o) => {
|
27083
|
-
var a
|
27083
|
+
var a;
|
27084
27084
|
if (o.config && o.config.headers) {
|
27085
|
-
const
|
27085
|
+
const c = o.config;
|
27086
27086
|
if (((a = o.response) == null ? void 0 : a.status) === 401 && e > 0) {
|
27087
27087
|
e--;
|
27088
27088
|
try {
|
27089
|
-
return
|
27090
|
-
} catch (
|
27091
|
-
return Promise.reject(
|
27089
|
+
return c.headers.Authorization = `Bearer ${tC.value}`, await n(c);
|
27090
|
+
} catch (u) {
|
27091
|
+
return Promise.reject(u);
|
27092
27092
|
}
|
27093
27093
|
}
|
27094
27094
|
}
|
27095
|
-
return
|
27096
|
-
|
27097
|
-
|
27098
|
-
|
27099
|
-
|
27100
|
-
|
27101
|
-
|
27102
|
-
|
27095
|
+
return o.response && (o.response.notify = () => {
|
27096
|
+
var c, u, d, f;
|
27097
|
+
nC.value.push({
|
27098
|
+
type: "error",
|
27099
|
+
url: ((c = o.config) == null ? void 0 : c.url) || "",
|
27100
|
+
method: ((u = o.config) == null ? void 0 : u.method) || "",
|
27101
|
+
status: ((d = o.response) == null ? void 0 : d.status) || 0,
|
27102
|
+
data: (f = o.response) == null ? void 0 : f.data,
|
27103
|
+
message: o.message,
|
27104
|
+
timestamp: /* @__PURE__ */ new Date()
|
27105
|
+
});
|
27103
27106
|
}), Promise.reject(o);
|
27104
27107
|
}
|
27105
27108
|
);
|
@@ -27229,7 +27232,7 @@ function fm() {
|
|
27229
27232
|
}
|
27230
27233
|
const AK = {
|
27231
27234
|
path: "/_/dashboard",
|
27232
|
-
component: () => import("./AuthRoute-
|
27235
|
+
component: () => import("./AuthRoute-uGOt7KIH.mjs"),
|
27233
27236
|
meta: { requiresAuth: !1 }
|
27234
27237
|
}, IK = {
|
27235
27238
|
path: "/jplan-auth-fail",
|
@@ -28746,7 +28749,7 @@ function x4() {
|
|
28746
28749
|
resetLayout: t
|
28747
28750
|
};
|
28748
28751
|
}
|
28749
|
-
const ZK = ji(() => import("./WidgetTask-
|
28752
|
+
const ZK = ji(() => import("./WidgetTask-eeGihfIT.mjs")), e4 = ji(() => import("./WidgetImage-B6vopC2A.mjs")), t4 = ji(() => import("./WidgetShortcut-DNBidY44.mjs")), n4 = ji(() => import("./WidgetSpacer-BYZZnA3T.mjs")), r4 = ji(() => import("./WidgetLabel-Dl1LSkqm.mjs")), o4 = ji(() => import("./WidgetChartBar-SQYYhXES.mjs")), i4 = ji(() => import("./WidgetChartPie-DRDzhB9v.mjs")), F4 = {
|
28750
28753
|
WidgetSpacer: n4,
|
28751
28754
|
WidgetLabel: r4,
|
28752
28755
|
WidgetTask: ZK,
|