jplan-pack 0.6.742 → 0.6.744
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/dist/types/types/client/scopeClient.d.ts +2 -2
- 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-DpPBmEX0.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,4 +1,4 @@
|
|
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-
|
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-CovloIvZ.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
package/dist/types/api/type.d.ts
CHANGED
@@ -1,11 +1,24 @@
|
|
1
|
-
import { AxiosInstance, Method } from 'axios';
|
1
|
+
import { AxiosInstance, AxiosResponse, Method } from 'axios';
|
2
2
|
export type HTTP_RequestConfig<T> = {
|
3
3
|
url: string;
|
4
4
|
method: Method;
|
5
5
|
header?: Record<string, string>;
|
6
6
|
body?: T | T[];
|
7
7
|
};
|
8
|
-
export type
|
8
|
+
export type JAxiosResponse<T = any> = AxiosResponse<T> & {
|
9
|
+
notify?: () => void;
|
10
|
+
};
|
11
|
+
export interface JAxiosClient extends Omit<AxiosInstance, 'get' | 'post' | 'put' | 'patch' | 'delete' | 'request' | 'head' | 'options'> {
|
12
|
+
get<T = any, R = JAxiosResponse<T>>(url: string, config?: any): Promise<R>;
|
13
|
+
post<T = any, R = JAxiosResponse<T>>(url: string, data?: any, config?: any): Promise<R>;
|
14
|
+
put<T = any, R = JAxiosResponse<T>>(url: string, data?: any, config?: any): Promise<R>;
|
15
|
+
patch<T = any, R = JAxiosResponse<T>>(url: string, data?: any, config?: any): Promise<R>;
|
16
|
+
delete<T = any, R = JAxiosResponse<T>>(url: string, config?: any): Promise<R>;
|
17
|
+
request<T = any, R = JAxiosResponse<T>>(config: any): Promise<R>;
|
18
|
+
head<T = any, R = JAxiosResponse<T>>(url: string, config?: any): Promise<R>;
|
19
|
+
options<T = any, R = JAxiosResponse<T>>(url: string, config?: any): Promise<R>;
|
20
|
+
}
|
21
|
+
export type CoreClient = JAxiosClient & {
|
9
22
|
_request<T>(config: HTTP_RequestConfig<T> & {
|
10
23
|
baseURL?: string;
|
11
24
|
}): Promise<T>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { AxiosInstance } from 'axios';
|
2
1
|
import { Scope } from './scope';
|
3
2
|
import { Ref } from 'vue';
|
4
|
-
|
3
|
+
import { JAxiosClient } from '../../api/type';
|
4
|
+
export type InstanceScoped = JAxiosClient & {
|
5
5
|
setScope: (scope: Scope) => void;
|
6
6
|
scope: Readonly<Ref<Scope | null>>;
|
7
7
|
};
|