jplan-pack 0.6.717 → 0.6.718
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-54Pl0J81.mjs → AuthRoute-B0DPlTg6.mjs} +1 -1
- package/dist/{AuthRoute-DwvptKt4.js → AuthRoute-D3mGuQzV.js} +1 -1
- package/dist/{WidgetChartPieStatic-BYkR3u15.js → WidgetChartPie-C2AIgVQ2.js} +1 -1
- package/dist/{WidgetChartPieStatic-ClHypXEk.mjs → WidgetChartPie-DRDzhB9v.mjs} +5 -5
- package/dist/{WidgetLabel-DW87gbVO.mjs → WidgetLabel-C7uHB_nc.mjs} +1 -1
- package/dist/{WidgetLabel-CpfCwV2y.js → WidgetLabel-Fmg1dNa1.js} +1 -1
- package/dist/{WidgetShortcut-C_Ga4Z91.js → WidgetShortcut-CUQa9Sd0.js} +1 -1
- package/dist/{WidgetShortcut-aWAR2seM.mjs → WidgetShortcut-Csul1c__.mjs} +1 -1
- package/dist/{WidgetSpacer-BH9EKTpW.js → WidgetSpacer-B14doy2V.js} +1 -1
- package/dist/{WidgetSpacer-11xp0knO.mjs → WidgetSpacer-DOQ7RCTJ.mjs} +1 -1
- package/dist/{WidgetTask-DGRY2n2N.mjs → WidgetTask-BPK2zYor.mjs} +1 -1
- package/dist/{WidgetTask-DJbCSvNG.js → WidgetTask-CX3JyyOl.js} +1 -1
- package/dist/{index-BPA79bUI.mjs → index-C09JMLSH.mjs} +1725 -1728
- package/dist/{index-B0hKovj4.js → index-D_raEJ27.js} +22 -22
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/package.json +1 -1
- /package/dist/types/modules/dashboard/widgets/charts/{WidgetChartPieStatic.d.ts → WidgetChartPie.d.ts} +0 -0
@@ -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-C09JMLSH.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-
|
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-D_raEJ27.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 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./vue3-apexcharts-D5PsMTKp.js"),c=require("vuetify/lib/components/VSheet/index.mjs");function u(l,s){if(l.length===0)throw new Error("Empty data.");const{title:a,labels:t,series:o}=s;return{chart:{type:"pie"},title:{text:a,style:{fontSize:"18px",fontFamily:"inherit",color:"#F1F1F1",fontWeight:12}},labels:t,series:o,colors:["#00F981","#dc3545"],legend:{show:!0,labels:{colors:"#FFFFFF"}},dataLabels:{enabled:!0,formatter:(r,n)=>n.w.config.series[n.seriesIndex],style:{fontSize:"16px",fontWeight:"bold",colors:["#FFFFFF"]}},stroke:{show:!1}}}const d=e.defineComponent({__name:"
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./vue3-apexcharts-D5PsMTKp.js"),c=require("vuetify/lib/components/VSheet/index.mjs");function u(l,s){if(l.length===0)throw new Error("Empty data.");const{title:a,labels:t,series:o}=s;return{chart:{type:"pie"},title:{text:a,style:{fontSize:"18px",fontFamily:"inherit",color:"#F1F1F1",fontWeight:12}},labels:t,series:o,colors:["#00F981","#dc3545"],legend:{show:!0,labels:{colors:"#FFFFFF"}},dataLabels:{enabled:!0,formatter:(r,n)=>n.w.config.series[n.seriesIndex],style:{fontSize:"16px",fontWeight:"bold",colors:["#FFFFFF"]}},stroke:{show:!1}}}const d=e.defineComponent({__name:"WidgetChartPie",setup(l){const s=[{status:"Success",count:12},{status:"Fail",count:4}],a={title:"Execution Status for the Past Week",labels:s.map(r=>r.status),series:s.map(r=>r.count)},t=e.ref(),o=e.ref(!1);return e.onMounted(()=>{o.value=!0,t.value=u(s,a),setTimeout(()=>{o.value=!1},0)}),(r,n)=>t.value&&!o.value?(e.openBlock(),e.createBlock(c.VSheet,{key:0,rounded:"md",color:"containerBg",class:"pa-3 h-100"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.unref(i.m),{type:"pie",options:t.value,series:t.value.series,width:"100%",height:"100%",key:o.value},null,8,["options","series"]))]),_:1})):e.createCommentVNode("",!0)}});exports.default=d;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as u, ref as
|
1
|
+
import { defineComponent as u, ref as l, onMounted as f, openBlock as i, createBlock as c, withCtx as p, unref as m, createCommentVNode as d } from "vue";
|
2
2
|
import { m as h } from "./vue3-apexcharts-B4K8ww3j.mjs";
|
3
3
|
import { VSheet as F } from "vuetify/lib/components/VSheet/index.mjs";
|
4
4
|
function g(n, o) {
|
@@ -43,7 +43,7 @@ function g(n, o) {
|
|
43
43
|
};
|
44
44
|
}
|
45
45
|
const y = /* @__PURE__ */ u({
|
46
|
-
__name: "
|
46
|
+
__name: "WidgetChartPie",
|
47
47
|
setup(n) {
|
48
48
|
const o = [
|
49
49
|
{ status: "Success", count: 12 },
|
@@ -52,19 +52,19 @@ const y = /* @__PURE__ */ u({
|
|
52
52
|
title: "Execution Status for the Past Week",
|
53
53
|
labels: o.map((s) => s.status),
|
54
54
|
series: o.map((s) => s.count)
|
55
|
-
}, e =
|
55
|
+
}, e = l(), t = l(!1);
|
56
56
|
return f(() => {
|
57
57
|
t.value = !0, e.value = g(o, a), setTimeout(() => {
|
58
58
|
t.value = !1;
|
59
59
|
}, 0);
|
60
|
-
}), (s, r) => e.value && !t.value ? (
|
60
|
+
}), (s, r) => e.value && !t.value ? (i(), c(F, {
|
61
61
|
key: 0,
|
62
62
|
rounded: "md",
|
63
63
|
color: "containerBg",
|
64
64
|
class: "pa-3 h-100"
|
65
65
|
}, {
|
66
66
|
default: p(() => [
|
67
|
-
(
|
67
|
+
(i(), c(m(h), {
|
68
68
|
type: "pie",
|
69
69
|
options: e.value,
|
70
70
|
series: e.value.series,
|
@@ -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-C09JMLSH.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-D_raEJ27.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-D_raEJ27.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-C09JMLSH.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 +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-D_raEJ27.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,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-C09JMLSH.mjs";
|
3
3
|
import { VCard as s } from "vuetify/lib/components/VCard/index.mjs";
|
4
4
|
const i = {
|
5
5
|
key: 0,
|
@@ -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-C09JMLSH.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";
|
@@ -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-D_raEJ27.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/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
|