jplan-pack 0.6.761 → 0.6.762
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-DP7V-GDH.mjs → AuthRoute-D5I2jOa8.mjs} +1 -1
- package/dist/{AuthRoute-CssqWdUU.js → AuthRoute-DwwjZZsA.js} +1 -1
- package/dist/{WidgetLabel-CjCQBD0l.mjs → WidgetLabel-AwarcTiD.mjs} +1 -1
- package/dist/{WidgetLabel-DxWUXd5B.js → WidgetLabel-T588tWM_.js} +1 -1
- package/dist/{WidgetShortcut-B-0LmZBJ.js → WidgetShortcut-DfCNpVgO.js} +1 -1
- package/dist/{WidgetShortcut-DkZnuBkn.mjs → WidgetShortcut-G1BKBL3Q.mjs} +1 -1
- package/dist/{WidgetSpacer-lO3HT8T-.mjs → WidgetSpacer-Bbhl0wpv.mjs} +1 -1
- package/dist/{WidgetSpacer-zmMJCcCd.js → WidgetSpacer-CXF5oAcc.js} +1 -1
- package/dist/{WidgetTask-ZGAFZEXM.js → WidgetTask-B02xWxts.js} +1 -1
- package/dist/{WidgetTask-7Q9sYnba.mjs → WidgetTask-CO45sukv.mjs} +1 -1
- package/dist/{index-CrWsR_Ej.mjs → index-C1r6Qsgl.mjs} +4934 -4874
- package/dist/{index-CzTboB4C.js → index-DQYWod2R.js} +35 -35
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/dist/types/api/type.d.ts +23 -4
- package/dist/types/components/form/JSelect.d.ts +0 -1
- 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-DQYWod2R.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.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 n, l as o, D as r, n as i, r as l, o as u, t as d, R as c, U as m, F as S, p as T, I as b, J as g, O as p, a0 as I, x as C, E as J, q as v, _ as A, A as B, v as D, w as F, y as h, z as M, V as f, C as E, k as x, S as y, H, W as P, B as G, f as O, h as U, j as w, T as z, e as L, N as _, a4 as j, d as K, X as N, Q, i as V, a2 as Y, P as k, Y as q, a1 as R, a6 as W, a3 as X, Z, ac as $, s as aa, a5 as sa, $ as ea, c as ta, a9 as na, K as oa, u as ra, L as ia, a7 as la, ab as ua, a8 as da, b as ca, aa as ma, M as Sa, ad as Ta } from "./index-
|
1
|
+
import { G as t, g as n, l as o, D as r, n as i, r as l, o as u, t as d, R as c, U as m, F as S, p as T, I as b, J as g, O as p, a0 as I, x as C, E as J, q as v, _ as A, A as B, v as D, w as F, y as h, z as M, V as f, C as E, k as x, S as y, H, W as P, B as G, f as O, h as U, j as w, T as z, e as L, N as _, a4 as j, d as K, X as N, Q, i as V, a2 as Y, P as k, Y as q, a1 as R, a6 as W, a3 as X, Z, ac as $, s as aa, a5 as sa, $ as ea, c as ta, a9 as na, K as oa, u as ra, L as ia, a7 as la, ab as ua, a8 as da, b as ca, aa as ma, M as Sa, ad as Ta } from "./index-C1r6Qsgl.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
package/dist/types/api/type.d.ts
CHANGED
@@ -1,15 +1,34 @@
|
|
1
|
-
import { AxiosInstance, Method } from 'axios';
|
1
|
+
import { AxiosInstance, AxiosRequestConfig, 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 NotifyMethods = {
|
9
|
+
success: (message: string) => void;
|
10
|
+
error: (message: string) => void;
|
11
|
+
warning: (message: string) => void;
|
12
|
+
info: (message: string) => void;
|
13
|
+
};
|
14
|
+
export type JResponse<T = any> = AxiosResponse<T> & {
|
15
|
+
notify: NotifyMethods;
|
16
|
+
};
|
17
|
+
export interface CoreClientInstance extends Omit<AxiosInstance, 'get' | 'post' | 'put' | 'delete' | 'patch' | 'head' | 'options' | 'request'> {
|
18
|
+
get<T = any, R = JResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
19
|
+
delete<T = any, R = JResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
20
|
+
head<T = any, R = JResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
21
|
+
options<T = any, R = JResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
22
|
+
post<T = any, R = JResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
23
|
+
put<T = any, R = JResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
24
|
+
patch<T = any, R = JResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R>;
|
25
|
+
request<T = any, R = JResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
26
|
+
}
|
27
|
+
export type CoreClient = CoreClientInstance & {
|
9
28
|
_request<T>(config: HTTP_RequestConfig<T> & {
|
10
29
|
baseURL?: string;
|
11
|
-
}): Promise<T
|
30
|
+
}): Promise<JResponse<T>>;
|
12
31
|
rawRequest(config: HTTP_RequestConfig<any> & {
|
13
32
|
baseURL?: string;
|
14
|
-
}): Promise<any
|
33
|
+
}): Promise<JResponse<any>>;
|
15
34
|
};
|