jplan-pack 0.6.716 → 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-i0Nt5sxX.mjs → AuthRoute-B0DPlTg6.mjs} +1 -1
- package/dist/{AuthRoute-euKAeE4P.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-4e1P9WaS.mjs → WidgetLabel-C7uHB_nc.mjs} +1 -1
- package/dist/{WidgetLabel-DTgHjt89.js → WidgetLabel-Fmg1dNa1.js} +1 -1
- package/dist/WidgetShortcut-CUQa9Sd0.js +1 -0
- package/dist/{WidgetShortcut-QlP0y73q.mjs → WidgetShortcut-Csul1c__.mjs} +8 -9
- package/dist/WidgetSpacer-B14doy2V.js +1 -0
- package/dist/{WidgetSpacer-BLKBeo8N.mjs → WidgetSpacer-DOQ7RCTJ.mjs} +1 -1
- package/dist/{WidgetTask-CCrq4VJx.mjs → WidgetTask-BPK2zYor.mjs} +1 -1
- package/dist/{WidgetTask-12apXuBG.js → WidgetTask-CX3JyyOl.js} +1 -1
- package/dist/{index-CizTsjAP.mjs → index-C09JMLSH.mjs} +5340 -5300
- package/dist/{index-CdCGmjJJ.js → index-D_raEJ27.js} +35 -35
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +20 -19
- package/dist/types/modules/dashboard/dashboard/useDashbordStore.d.ts +1 -0
- package/dist/types/modules/dashboard/widgets/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/WidgetShortcut-OktPb_sd.js +0 -1
- package/dist/WidgetSpacer-BkQfAEGF.js +0 -1
- package/dist/useDashbordStore-_JHQsW6v.js +0 -1
- package/dist/useDashbordStore-q2U7uEYu.mjs +0 -45
- /package/dist/types/modules/dashboard/widgets/charts/{WidgetChartPieStatic.d.ts → WidgetChartPie.d.ts} +0 -0
package/dist/jplan-pack.cjs.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-D_raEJ27.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$21;exports.ColumnSettingsDialog=e._sfc_main$3;exports.ConfirmDialog=e._sfc_main$6;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$7;exports.DeleteAllBtn=e._sfc_main$11;exports.DotsMenu=e._sfc_main$8;exports.EditButton=e._sfc_main$12;exports.EmptyListImg=e.EmptyListImg;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$9;exports.GlobalScopeFilter=e._sfc_main$23;exports.GlobalSpinner=e._sfc_main$24;exports.HttpCore=e.HttpCore;exports.I18nMessages=e.I18nMessages;exports.JAvatar=e._sfc_main$20;exports.JBtn=e._sfc_main$10;exports.JDialog=e._sfc_main;exports.JForm=e._sfc_main$17;exports.JIconBtn=e._sfc_main$13;exports.JSelect=e._sfc_main$14;exports.JTextArea=e._sfc_main$15;exports.JTextField=e._sfc_main$16;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$19;exports.SearchFilter=e._sfc_main$5;exports.SpinnerLoader=e.SpinnerLoader;exports.SubMenu=e._sfc_main$22;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$18;exports.TableAdvanced=e._sfc_main$2;exports.TableCard=e._sfc_main$4;exports.TableCardsView=e.TableCardsView;exports.TableHeader=e.TableHeader;exports.UiTable=e._sfc_main$1;exports.__spinner=e.__spinner;exports.branchInstance=e.branchInstance;exports.coreClient=e.coreClient;exports.createToastInterface=e.createToastInterface;exports.dateFormat=e.dateFormat;exports.default=e.index;exports.divisionInstance=e.divisionInstance;exports.filterQuery=e.filterQuery;exports.globalEventBus=e.globalEventBus;exports.i18n=e.i18n;exports.manageUserInstance=e.manageUserInstance;exports.orgInstance=e.orgInstance;exports.provideToast=e.provideToast;exports.scopedClient=e.scopedClient;exports.setupAuthGuard=e.setupAuthGuard;exports.teamInstance=e.teamInstance;exports.toastInjectionKey=e.toastInjectionKey;exports.useAuth=e.useAuth;exports.useBranchStore=e.useBranchStore;exports.useCustomizer=e.useCustomizer;exports.useDashboardStore=e.useDashboardStore;exports.useDialog=e.useDialog;exports.useDivisionStore=e.useDivisionStore;exports.useManageUserStore=e.useManageUserStore;exports.useOrganizationStore=e.useOrganizationStore;exports.useSession=e.useSession;exports.useTeamStore=e.useTeamStore;exports.useToast=e.useToast;exports.widgets=e.widgets;
|
package/dist/jplan-pack.es.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { E as t, g as n, l as r, C as o, n as i, r as l, o as u, t as d, Q as c, R as S, F as m, p as T, H as b, I as g, N as p, $ as I, D as C, q as v, _ as B, z as D, v as F, w as J, x as A, y as h, U as M, B as f, k as E, S as x, G as y, V as H, A as P, f as G, h as O, j as U, T as w, e as z, M as L, a3 as _, d as j, W as K, P as N, i as Q, a1 as V, O as Y, X as k, a0 as q, a5 as R, a2 as W, Y as X, ab as Z, s as $, a4 as aa, Z as sa, c as ea, a8 as ta, J as na, u as ra, K as oa, a6 as ia, aa as la, a7 as ua, b as da, a9 as ca, L as Sa, ac as ma } from "./index-C09JMLSH.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
@@ -10,23 +10,23 @@ export {
|
|
10
10
|
u as DotsMenu,
|
11
11
|
d as EditButton,
|
12
12
|
c as EmptyListImg,
|
13
|
-
|
14
|
-
|
13
|
+
S as EventBus,
|
14
|
+
m as FormHeadless,
|
15
15
|
T as FormMetadata,
|
16
|
-
|
17
|
-
|
16
|
+
b as GlobalScopeFilter,
|
17
|
+
g as GlobalSpinner,
|
18
18
|
p as HttpCore,
|
19
19
|
I as I18nMessages,
|
20
20
|
C as JAvatar,
|
21
21
|
v as JBtn,
|
22
22
|
B as JDialog,
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
D as JForm,
|
24
|
+
F as JIconBtn,
|
25
|
+
J as JSelect,
|
26
|
+
A as JTextArea,
|
27
|
+
h as JTextField,
|
28
|
+
M as POSITION,
|
29
|
+
f as ParentCard,
|
30
30
|
E as SearchFilter,
|
31
31
|
x as SpinnerLoader,
|
32
32
|
y as SubMenu,
|
@@ -57,12 +57,13 @@ export {
|
|
57
57
|
ea as useAuth,
|
58
58
|
ta as useBranchStore,
|
59
59
|
na as useCustomizer,
|
60
|
-
ra as
|
61
|
-
oa as
|
62
|
-
ia as
|
63
|
-
la as
|
64
|
-
ua as
|
65
|
-
da as
|
66
|
-
ca as
|
60
|
+
ra as useDashboardStore,
|
61
|
+
oa as useDialog,
|
62
|
+
ia as useDivisionStore,
|
63
|
+
la as useManageUserStore,
|
64
|
+
ua as useOrganizationStore,
|
65
|
+
da as useSession,
|
66
|
+
ca as useTeamStore,
|
67
|
+
Sa as useToast,
|
67
68
|
ma as widgets
|
68
69
|
};
|
@@ -2,6 +2,7 @@ import { Ref } from 'vue';
|
|
2
2
|
import { LayoutInstance } from 'grid-layout-plus/dist/helpers/types';
|
3
3
|
import { DashboardWidget } from '../../../types';
|
4
4
|
export declare function useDashboardStore(): {
|
5
|
+
DEFAULT_CONFIG: Partial<LayoutInstance>;
|
5
6
|
config: Ref<Partial<LayoutInstance & {
|
6
7
|
cursor: "default" | "pointer" | "move";
|
7
8
|
}>, Partial<LayoutInstance & {
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./useDashbordStore-_JHQsW6v.js"),i=require("vuetify/lib/components/VImg/index.mjs"),s=require("vuetify/lib/components/VSheet/index.mjs"),u=require("./index-CdCGmjJJ.js"),a={class:"text-h6 text-center truncate w-100 px-4 mb-4"},d=e.defineComponent({__name:"WidgetShortcut",props:{title:{},image:{},url:{}},setup(r){const t=r,{edition:n}=c.useDashboardStore();function o(){window.open(t.url,"__blank")}return(_,p)=>(e.openBlock(),e.createBlock(s.VSheet,e.mergeProps(e.unref(n)?{}:{onClick:o},{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))}}),l=u._export_sfc(d,[["__scopeId","data-v-7045e16b"]]);exports.default=l;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./useDashbordStore-_JHQsW6v.js"),r=require("vuetify/lib/components/VCard/index.mjs"),n={key:0,class:"w-100 h-100"},c=e.defineComponent({__name:"WidgetSpacer",setup(s){const{edition:t}=o.useDashboardStore();return(a,i)=>e.unref(t)?(e.openBlock(),e.createBlock(r.VCard,{key:1,color:"containerBg",class:"w-100 h-100 d-flex align-center justify-center"})):(e.openBlock(),e.createElementBlock("div",n))}});exports.default=c;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const r=require("vue"),u=Object.freeze({colNum:24,rowHeight:50,useCssTransforms:!0,responsive:!0,margin:[12,10]}),s=r.ref(!1),t=r.ref([]);function o(){const e=r.ref({...u,isResizable:!1,isDraggable:!1,useStyleCursor:!1,cursor:"default"});function a(){if(s.value=!s.value,e.value.isDraggable=s.value,e.value.isResizable=s.value,!s.value){e.value.useStyleCursor=!0,e.value.cursor="pointer";return}e.value.useStyleCursor=!1,e.value.cursor="move"}function l(){e.value={...u,isResizable:!1,isDraggable:!1,useStyleCursor:!1,cursor:"default"}}return{config:e,layout:t,edition:s,toggleEdit:a,resetLayout:l}}exports.useDashboardStore=o;
|
@@ -1,45 +0,0 @@
|
|
1
|
-
import { ref as r } from "vue";
|
2
|
-
const u = Object.freeze({
|
3
|
-
colNum: 24,
|
4
|
-
rowHeight: 50,
|
5
|
-
useCssTransforms: !0,
|
6
|
-
responsive: !0,
|
7
|
-
margin: [12, 10]
|
8
|
-
}), s = r(!1), o = r([]);
|
9
|
-
function i() {
|
10
|
-
const e = r({
|
11
|
-
...u,
|
12
|
-
isResizable: !1,
|
13
|
-
isDraggable: !1,
|
14
|
-
useStyleCursor: !1,
|
15
|
-
cursor: "default"
|
16
|
-
});
|
17
|
-
function a() {
|
18
|
-
if (s.value = !s.value, e.value.isDraggable = s.value, e.value.isResizable = s.value, !s.value) {
|
19
|
-
e.value.useStyleCursor = !0, e.value.cursor = "pointer";
|
20
|
-
return;
|
21
|
-
}
|
22
|
-
e.value.useStyleCursor = !1, e.value.cursor = "move";
|
23
|
-
}
|
24
|
-
function l() {
|
25
|
-
e.value = {
|
26
|
-
...u,
|
27
|
-
isResizable: !1,
|
28
|
-
isDraggable: !1,
|
29
|
-
useStyleCursor: !1,
|
30
|
-
cursor: "default"
|
31
|
-
};
|
32
|
-
}
|
33
|
-
return {
|
34
|
-
config: e,
|
35
|
-
layout: o,
|
36
|
-
edition: s,
|
37
|
-
//loading,
|
38
|
-
toggleEdit: a,
|
39
|
-
//getDashboard,
|
40
|
-
resetLayout: l
|
41
|
-
};
|
42
|
-
}
|
43
|
-
export {
|
44
|
-
i as u
|
45
|
-
};
|
File without changes
|