jplan-pack 0.6.738 → 0.6.740
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-C0s1dbSx.js → AuthRoute-DOVO-uRx.js} +1 -1
- package/dist/{AuthRoute-BybPewoO.mjs → AuthRoute-DWLTXgrw.mjs} +1 -1
- package/dist/{WidgetLabel-C_1-ZMNf.mjs → WidgetLabel-CQoZ2wWG.mjs} +1 -1
- package/dist/{WidgetLabel-BtYa8-Pk.js → WidgetLabel-roMNc3d2.js} +1 -1
- package/dist/{WidgetShortcut-Dr6vCLAq.js → WidgetShortcut-CpCJ_QL3.js} +1 -1
- package/dist/{WidgetShortcut-L2Q0q83g.mjs → WidgetShortcut-IfJaWaBs.mjs} +1 -1
- package/dist/{WidgetSpacer-CizTH3Bg.js → WidgetSpacer-C_VATRnP.js} +1 -1
- package/dist/{WidgetSpacer-BYWz-UpU.mjs → WidgetSpacer-CiDUfmmN.mjs} +1 -1
- package/dist/{WidgetTask-B7_w7VXa.mjs → WidgetTask-D4pkQ_UC.mjs} +1 -1
- package/dist/{WidgetTask-LCd9yvYc.js → WidgetTask-Dc823WrS.js} +1 -1
- package/dist/{index-Ch_9TYsZ.mjs → index-CEqQtES8.mjs} +2694 -2668
- package/dist/{index-DeGS4hHq.js → index-CTERtCvs.js} +30 -30
- package/dist/index.css +1 -1
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +23 -22
- package/dist/types/composables/index.d.ts +2 -1
- package/dist/types/modules/notification.d.ts +27 -0
- package/dist/types/theme/_type.d.ts +1 -0
- package/dist/types/types/Notification.d.ts +14 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +1 -1
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-CTERtCvs.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$22;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$24;exports.GlobalSpinner=e._sfc_main$25;exports.HttpCore=e.HttpCore;exports.I18nMessages=e.I18nMessages;exports.JAutocomplete=e._sfc_main$15;exports.JAvatar=e._sfc_main$21;exports.JBtn=e._sfc_main$10;exports.JDialog=e._sfc_main;exports.JForm=e._sfc_main$18;exports.JIconBtn=e._sfc_main$13;exports.JSelect=e._sfc_main$14;exports.JTextArea=e._sfc_main$16;exports.JTextField=e._sfc_main$17;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$20;exports.SearchFilter=e._sfc_main$5;exports.SpinnerLoader=e.SpinnerLoader;exports.SubMenu=e._sfc_main$23;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$19;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.useNotifications=e.useNotifications;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,15 +1,15 @@
|
|
1
|
-
import { G as t, g as
|
1
|
+
import { G as t, g as o, l as n, D as r, n as i, r as u, o as l, t as c, U as d, V as m, F as S, p as T, I as b, J as g, P as p, a1 as I, x as C, E as J, q as v, _ as A, A as B, v as D, w as F, y as f, z as h, W as M, C as E, k as x, S as y, H, X as P, B as G, f as O, h as U, j as w, T as z, e as L, O as N, a5 as _, d as j, Y as K, R as Q, i as V, a3 as Y, Q as k, Z as q, a2 as R, a7 as W, a4 as X, $ as Z, ad as $, s as aa, a6 as sa, a0 as ea, c as ta, aa as oa, K as na, u as ra, L as ia, a8 as ua, ac as la, N as ca, a9 as da, b as ma, ab as Sa, M as Ta, ae as ba } from "./index-CEqQtES8.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
5
|
-
|
6
|
-
|
5
|
+
o as ColumnSettingsDialog,
|
6
|
+
n as ConfirmDialog,
|
7
7
|
r as ContextMenu,
|
8
8
|
i as CopyButton,
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
u as DeleteAllBtn,
|
10
|
+
l as DotsMenu,
|
11
|
+
c as EditButton,
|
12
|
+
d as EmptyListImg,
|
13
13
|
m as EventBus,
|
14
14
|
S as FormHeadless,
|
15
15
|
T as FormMetadata,
|
@@ -24,9 +24,9 @@ export {
|
|
24
24
|
B as JForm,
|
25
25
|
D as JIconBtn,
|
26
26
|
F as JSelect,
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
f as JTextArea,
|
28
|
+
h as JTextField,
|
29
|
+
M as POSITION,
|
30
30
|
E as ParentCard,
|
31
31
|
x as SearchFilter,
|
32
32
|
y as SpinnerLoader,
|
@@ -38,10 +38,10 @@ export {
|
|
38
38
|
w as TableCardsView,
|
39
39
|
z as TableHeader,
|
40
40
|
L as UiTable,
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
N as __spinner,
|
42
|
+
_ as branchInstance,
|
43
|
+
j as coreClient,
|
44
|
+
K as createToastInterface,
|
45
45
|
Q as dateFormat,
|
46
46
|
V as default,
|
47
47
|
Y as divisionInstance,
|
@@ -56,15 +56,16 @@ export {
|
|
56
56
|
sa as teamInstance,
|
57
57
|
ea as toastInjectionKey,
|
58
58
|
ta as useAuth,
|
59
|
-
|
60
|
-
|
59
|
+
oa as useBranchStore,
|
60
|
+
na as useCustomizer,
|
61
61
|
ra as useDashboardStore,
|
62
62
|
ia as useDialog,
|
63
|
-
|
64
|
-
|
63
|
+
ua as useDivisionStore,
|
64
|
+
la as useManageUserStore,
|
65
|
+
ca as useNotifications,
|
65
66
|
da as useOrganizationStore,
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
ma as useSession,
|
68
|
+
Sa as useTeamStore,
|
69
|
+
Ta as useToast,
|
70
|
+
ba as widgets
|
70
71
|
};
|
@@ -2,4 +2,5 @@ import { useCustomizer } from './useCustomizer';
|
|
2
2
|
import { useDialog } from './useDialog';
|
3
3
|
import { useToast } from 'vue-toastification';
|
4
4
|
import { ___spinner } from './__spinner';
|
5
|
-
|
5
|
+
import { useNotifications } from '../modules/notification';
|
6
|
+
export { useCustomizer, useDialog, useToast, useNotifications, __spinner };
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { ClientNotification, ServerNotification } from '../types/Notification';
|
2
|
+
export declare function useNotifications(): {
|
3
|
+
client: import('vue').Ref<{
|
4
|
+
content: string;
|
5
|
+
timestamp: Date;
|
6
|
+
}[], ClientNotification[] | {
|
7
|
+
content: string;
|
8
|
+
timestamp: Date;
|
9
|
+
}[]>;
|
10
|
+
server: import('vue').Ref<{
|
11
|
+
type: "error" | "success";
|
12
|
+
url: string;
|
13
|
+
method: string;
|
14
|
+
status: number;
|
15
|
+
data: any;
|
16
|
+
timestamp: Date;
|
17
|
+
message?: string | undefined;
|
18
|
+
}[], ServerNotification[] | {
|
19
|
+
type: "error" | "success";
|
20
|
+
url: string;
|
21
|
+
method: string;
|
22
|
+
status: number;
|
23
|
+
data: any;
|
24
|
+
timestamp: Date;
|
25
|
+
message?: string | undefined;
|
26
|
+
}[]>;
|
27
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export type ClientNotification = {
|
2
|
+
content: string;
|
3
|
+
timestamp: Date;
|
4
|
+
};
|
5
|
+
export type ServerNotification = {
|
6
|
+
type: 'error' | 'success';
|
7
|
+
url: string;
|
8
|
+
method: string;
|
9
|
+
status: number;
|
10
|
+
data: any;
|
11
|
+
timestamp: Date;
|
12
|
+
message?: string;
|
13
|
+
};
|
14
|
+
export type JNotification = ClientNotification | ServerNotification;
|