jplan-pack 0.6.783 → 0.6.785
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-CkMow6Lc.mjs → AuthRoute-CM4T-4Gf.mjs} +1 -1
- package/dist/{AuthRoute-DqVX_Rtv.js → AuthRoute-Cn52r32r.js} +1 -1
- package/dist/{WidgetLabel-7LzYMAgr.js → WidgetLabel-Bw9j6pzJ.js} +1 -1
- package/dist/{WidgetLabel-COuybmNh.mjs → WidgetLabel-Dpye5mbx.mjs} +1 -1
- package/dist/{WidgetShortcut-B5YowRpU.js → WidgetShortcut-Bs51Jvm4.js} +1 -1
- package/dist/{WidgetShortcut-CS-UGT4z.mjs → WidgetShortcut-DCZEqk78.mjs} +1 -1
- package/dist/{WidgetSpacer-J-D-4ndR.js → WidgetSpacer-C9hW1xHQ.js} +1 -1
- package/dist/{WidgetSpacer-C6aUpOCw.mjs → WidgetSpacer-CbepG2rz.mjs} +1 -1
- package/dist/{WidgetTask-D1ikc5BY.js → WidgetTask-BryId_NG.js} +1 -1
- package/dist/{WidgetTask-CQBJ0VMz.mjs → WidgetTask-Fn74GZ1T.mjs} +1 -1
- package/dist/index-7z8x6nRw.js +113 -0
- package/dist/{index-B8nu_x_B.mjs → index-D9CtH2Bz.mjs} +14900 -14346
- package/dist/index.css +2 -2
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +61 -57
- package/dist/types/components/form/headless/TabFormHeader.d.ts +2 -2
- package/dist/types/components/index.d.ts +4 -1
- package/dist/types/components/table/UiTableFooter.d.ts +20 -0
- package/dist/types/components/table/virtual/ColumnSettingsFlashDialog.d.ts +11 -0
- package/dist/types/components/table/virtual/TableFlash.d.ts +74 -0
- package/dist/types/components/table/virtual/TableHeaderFlash.d.ts +41 -0
- package/dist/types/utils/helpers/Static.d.ts +11 -0
- package/dist/types/utils/helpers/withSpinner.d.ts +1 -0
- package/dist/types/utils/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/index-XceKD9kD.js +0 -113
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-7z8x6nRw.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$26;exports.ColumnSettingsDialog=e._sfc_main$5;exports.ConfirmDialog=e._sfc_main$8;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$9;exports.DeleteAllBtn=e._sfc_main$13;exports.DotsMenu=e._sfc_main$10;exports.EditButton=e._sfc_main$14;exports.EmptyListImg=e.EmptyListImg;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$11;exports.GlobalScopeFilter=e._sfc_main$28;exports.GlobalSpinner=e._sfc_main$29;exports.HttpCore=e.HttpCore;exports.I18nMessages=e.I18nMessages;exports.JAutocomplete=e._sfc_main$18;exports.JAvatar=e._sfc_main$25;exports.JBtn=e._sfc_main$12;exports.JDialog=e._sfc_main;exports.JForm=e._sfc_main$21;exports.JIconBtn=e._sfc_main$15;exports.JNumberField=e._sfc_main$17;exports.JSelect=e._sfc_main$16;exports.JTextArea=e._sfc_main$19;exports.JTextField=e._sfc_main$20;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$24;exports.SearchFilter=e._sfc_main$7;exports.SpinnerLoader=e.SpinnerLoader;exports.SubMenu=e._sfc_main$27;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$22;exports.TabFormHeaderV2=e._sfc_main$23;exports.TableAdvanced=e._sfc_main$4;exports.TableCard=e._sfc_main$6;exports.TableCardsView=e.TableCardsView;exports.TableFlash=e._sfc_main$2;exports.TableHeader=e.TableHeader;exports.TableHeaderFlash=e.TableHeaderFlash;exports.UiTable=e._sfc_main$1;exports.UiTableFooter=e._sfc_main$3;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;exports.withSpinner=e.withSpinner;
|
package/dist/jplan-pack.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as t, k as o, p as r, J as n, q as i, w as l, r as u, x as d, $ as c, a0 as b, H as T, t as m, N as S, O as g, W as p, a7 as F, B as I, K as C, v as h, _ as J, E as v, y as A, A as B, z as D, C as f, D as H, a1 as M, I as E, o as x, S as y, M as P, a2 as U, F as w, G, h as N, l as O, n as j, f as z, j as L, T as V, e as _, g as k, V as K, ab as Q, d as Y, a3 as q, Y as R, i as W, a9 as X, X as Z, a4 as $, a8 as aa, ad as sa, aa as ea, a5 as ta, aj as oa, s as ra, ac as na, a6 as ia, c as la, ag as ua, Q as da, u as ca, R as ba, ae as Ta, ai as ma, P as Sa, af as ga, b as pa, ah as Fa, U as Ia, ak as Ca, Z as ha } from "./index-D9CtH2Bz.mjs";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
export {
|
|
4
4
|
t as AvatarPicture,
|
|
@@ -6,68 +6,72 @@ export {
|
|
|
6
6
|
r as ConfirmDialog,
|
|
7
7
|
n as ContextMenu,
|
|
8
8
|
i as CopyButton,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
l as DeleteAllBtn,
|
|
10
|
+
u as DotsMenu,
|
|
11
11
|
d as EditButton,
|
|
12
12
|
c as EmptyListImg,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
b as EventBus,
|
|
14
|
+
T as FormHeadless,
|
|
15
|
+
m as FormMetadata,
|
|
16
|
+
S as GlobalScopeFilter,
|
|
17
17
|
g as GlobalSpinner,
|
|
18
18
|
p as HttpCore,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
F as I18nMessages,
|
|
20
|
+
I as JAutocomplete,
|
|
21
|
+
C as JAvatar,
|
|
22
|
+
h as JBtn,
|
|
23
|
+
J as JDialog,
|
|
24
|
+
v as JForm,
|
|
25
|
+
A as JIconBtn,
|
|
26
|
+
B as JNumberField,
|
|
27
|
+
D as JSelect,
|
|
28
|
+
f as JTextArea,
|
|
29
|
+
H as JTextField,
|
|
30
|
+
M as POSITION,
|
|
31
|
+
E as ParentCard,
|
|
32
32
|
x as SearchFilter,
|
|
33
33
|
y as SpinnerLoader,
|
|
34
34
|
P as SubMenu,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
U as TYPE,
|
|
36
|
+
w as TabFormHeader,
|
|
37
|
+
G as TabFormHeaderV2,
|
|
38
|
+
N as TableAdvanced,
|
|
39
|
+
O as TableCard,
|
|
40
|
+
j as TableCardsView,
|
|
41
|
+
z as TableFlash,
|
|
41
42
|
L as TableHeader,
|
|
42
|
-
V as
|
|
43
|
-
_ as
|
|
44
|
-
|
|
45
|
-
K as
|
|
46
|
-
Q as
|
|
47
|
-
Y as
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
ua as
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Sa as
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
43
|
+
V as TableHeaderFlash,
|
|
44
|
+
_ as UiTable,
|
|
45
|
+
k as UiTableFooter,
|
|
46
|
+
K as __spinner,
|
|
47
|
+
Q as branchInstance,
|
|
48
|
+
Y as coreClient,
|
|
49
|
+
q as createToastInterface,
|
|
50
|
+
R as dateFormat,
|
|
51
|
+
W as default,
|
|
52
|
+
X as divisionInstance,
|
|
53
|
+
Z as filterQuery,
|
|
54
|
+
$ as globalEventBus,
|
|
55
|
+
aa as i18n,
|
|
56
|
+
sa as manageUserInstance,
|
|
57
|
+
ea as orgInstance,
|
|
58
|
+
ta as provideToast,
|
|
59
|
+
oa as scopedClient,
|
|
60
|
+
ra as setupAuthGuard,
|
|
61
|
+
na as teamInstance,
|
|
62
|
+
ia as toastInjectionKey,
|
|
63
|
+
la as useAuth,
|
|
64
|
+
ua as useBranchStore,
|
|
65
|
+
da as useCustomizer,
|
|
66
|
+
ca as useDashboardStore,
|
|
67
|
+
ba as useDialog,
|
|
68
|
+
Ta as useDivisionStore,
|
|
69
|
+
ma as useManageUserStore,
|
|
70
|
+
Sa as useNotifications,
|
|
71
|
+
ga as useOrganizationStore,
|
|
72
|
+
pa as useSession,
|
|
73
|
+
Fa as useTeamStore,
|
|
74
|
+
Ia as useToast,
|
|
75
|
+
Ca as widgets,
|
|
76
|
+
ha as withSpinner
|
|
73
77
|
};
|
|
@@ -6,8 +6,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
6
6
|
cancel: () => any;
|
|
7
7
|
delete: () => any;
|
|
8
8
|
save: () => any;
|
|
9
|
-
"update:isEdition": (value: boolean) => any;
|
|
10
9
|
disable: () => any;
|
|
10
|
+
"update:isEdition": (value: boolean) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<{
|
|
12
12
|
id?: string;
|
|
13
13
|
readonly?: boolean;
|
|
@@ -15,8 +15,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
15
15
|
onCancel?: (() => any) | undefined;
|
|
16
16
|
onDelete?: (() => any) | undefined;
|
|
17
17
|
onSave?: (() => any) | undefined;
|
|
18
|
-
"onUpdate:isEdition"?: ((value: boolean) => any) | undefined;
|
|
19
18
|
onDisable?: (() => any) | undefined;
|
|
19
|
+
"onUpdate:isEdition"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
readonly: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,6 +10,9 @@ import { default as JAvatar } from './JAvatar';
|
|
|
10
10
|
import { default as AvatarPicture } from './AvatarPicture';
|
|
11
11
|
import { default as ContextMenu } from './ContextMenu';
|
|
12
12
|
import { default as UiTable } from './table/UiTable';
|
|
13
|
+
import { default as TableFlash } from './table/virtual/TableFlash';
|
|
14
|
+
import { default as TableHeaderFlash } from './table/virtual/TableHeaderFlash';
|
|
15
|
+
import { default as UiTableFooter } from './table/UiTableFooter';
|
|
13
16
|
import { default as TableAdvanced } from './table/advanced/TableAdvanced';
|
|
14
17
|
import { default as TableHeader } from './table/advanced/TableHeader';
|
|
15
18
|
import { default as ColumnSettingsDialog } from './table/advanced/ColumnSettingsDialog';
|
|
@@ -31,7 +34,7 @@ import { default as SpinnerLoader } from './spinner/SpinnerLoader';
|
|
|
31
34
|
import { default as GlobalSpinner } from './spinner/GlobalSpinner';
|
|
32
35
|
import { default as JDialog } from './JDialog';
|
|
33
36
|
import { default as SubMenu } from './menu/SubMenu';
|
|
34
|
-
export { UiTable, TableAdvanced, TableHeader, ColumnSettingsDialog, TableCard, TableCardsView, SearchFilter, ConfirmDialog, //TODO REVIEW IF IT IS BEEN USED
|
|
37
|
+
export { UiTable, TableFlash, TableHeaderFlash, UiTableFooter, TableAdvanced, TableHeader, ColumnSettingsDialog, TableCard, TableCardsView, SearchFilter, ConfirmDialog, //TODO REVIEW IF IT IS BEEN USED
|
|
35
38
|
CopyButton, DotsMenu, FormMetadata, JBtn, DeleteAllBtn, EditButton, JIconBtn, JSelect, //OK
|
|
36
39
|
JNumberField, //OK
|
|
37
40
|
JAutocomplete, JTextArea, //OK
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
itemsPerPageOptions: {
|
|
3
|
+
value: number;
|
|
4
|
+
title: string;
|
|
5
|
+
}[];
|
|
6
|
+
pageCount: number;
|
|
7
|
+
itemsLength: number;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
'itemsPerPage'?: number;
|
|
11
|
+
'page'?: number;
|
|
12
|
+
} & typeof __VLS_typeProps;
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:page": (page: number) => any;
|
|
15
|
+
"update:itemsPerPage": (itemsPerPage: number) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
18
|
+
"onUpdate:itemsPerPage"?: ((itemsPerPage: number) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UiTableHeader } from '../../../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
columns: UiTableHeader[];
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
+
confirm: (columns: UiTableHeader[]) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
+
columns: UiTableHeader[];
|
|
8
|
+
}> & Readonly<{
|
|
9
|
+
onConfirm?: ((columns: UiTableHeader[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { UiTableHeader } from '../../../types';
|
|
2
|
+
export type TableProps = {
|
|
3
|
+
headers?: UiTableHeader[];
|
|
4
|
+
items: any[];
|
|
5
|
+
actions?: any;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
sortBy?: {
|
|
8
|
+
key: string;
|
|
9
|
+
order: 'asc' | 'desc';
|
|
10
|
+
}[];
|
|
11
|
+
customFields?: string[];
|
|
12
|
+
search?: string;
|
|
13
|
+
filterKeys?: string[];
|
|
14
|
+
selectOnRowClick?: boolean;
|
|
15
|
+
footer?: {
|
|
16
|
+
itemsPerPageStart?: number;
|
|
17
|
+
itemsPerPageOptions?: {
|
|
18
|
+
value: number;
|
|
19
|
+
title: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type TableEmits = {
|
|
24
|
+
(event: 'rowClick', item: any): void;
|
|
25
|
+
(event: 'update:selection', value: any[]): void;
|
|
26
|
+
(event: 'getSelection', value: any[]): void;
|
|
27
|
+
};
|
|
28
|
+
declare function getSelection(): any[];
|
|
29
|
+
declare function __VLS_template(): {
|
|
30
|
+
slots: Partial<Record<string, (_: {
|
|
31
|
+
item: any;
|
|
32
|
+
}) => any>> & {
|
|
33
|
+
contextmenu?(_: {
|
|
34
|
+
item: null;
|
|
35
|
+
}): any;
|
|
36
|
+
actions?(_: {
|
|
37
|
+
item: any;
|
|
38
|
+
}): any;
|
|
39
|
+
};
|
|
40
|
+
refs: {
|
|
41
|
+
rootRef: HTMLDivElement;
|
|
42
|
+
activatorRef: HTMLDivElement;
|
|
43
|
+
};
|
|
44
|
+
attrs: Partial<{}>;
|
|
45
|
+
};
|
|
46
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
|
+
declare const __VLS_component: import('vue').DefineComponent<TableProps, {
|
|
48
|
+
getSelection: typeof getSelection;
|
|
49
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
50
|
+
"update:selection": (value: any[]) => any;
|
|
51
|
+
rowClick: (item: any) => any;
|
|
52
|
+
getSelection: (value: any[]) => any;
|
|
53
|
+
}, string, import('vue').PublicProps, Readonly<TableProps> & Readonly<{
|
|
54
|
+
"onUpdate:selection"?: ((value: any[]) => any) | undefined;
|
|
55
|
+
onRowClick?: ((item: any) => any) | undefined;
|
|
56
|
+
onGetSelection?: ((value: any[]) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
footer: {
|
|
59
|
+
itemsPerPageStart?: number;
|
|
60
|
+
itemsPerPageOptions?: {
|
|
61
|
+
value: number;
|
|
62
|
+
title: string;
|
|
63
|
+
}[];
|
|
64
|
+
};
|
|
65
|
+
items: any[];
|
|
66
|
+
headers: UiTableHeader[];
|
|
67
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
68
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
69
|
+
export default _default;
|
|
70
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UiTableHeader } from '../../../types';
|
|
2
|
+
export type TableHeaderProps = {
|
|
3
|
+
confirmColumnsSettings?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type TableHeaderEmits = {
|
|
6
|
+
(event: 'refresh'): void;
|
|
7
|
+
(event: 'remove'): void;
|
|
8
|
+
};
|
|
9
|
+
declare let __VLS_typeProps: TableHeaderProps;
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
'columns'?: UiTableHeader[];
|
|
12
|
+
} & typeof __VLS_typeProps;
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
slots: {
|
|
15
|
+
filter?(_: {}): any;
|
|
16
|
+
"top-right"?(_: {}): any;
|
|
17
|
+
"left-prepend"?(_: {}): any;
|
|
18
|
+
"left-append"?(_: {}): any;
|
|
19
|
+
"right-prepend"?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
attrs: Partial<{}>;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"update:columns": (columns: UiTableHeader[]) => any;
|
|
27
|
+
} & {
|
|
28
|
+
remove: () => any;
|
|
29
|
+
refresh: () => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
+
onRemove?: (() => any) | undefined;
|
|
32
|
+
onRefresh?: (() => any) | undefined;
|
|
33
|
+
"onUpdate:columns"?: ((columns: UiTableHeader[]) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type FetchAssetOptions = {
|
|
2
|
+
path: string;
|
|
3
|
+
baseUrl?: string;
|
|
4
|
+
cache?: RequestCache;
|
|
5
|
+
headers?: HeadersInit;
|
|
6
|
+
responseType?: 'json' | 'text' | 'auto';
|
|
7
|
+
};
|
|
8
|
+
declare const Static: {
|
|
9
|
+
get<T = unknown>({ path, baseUrl, cache, headers, responseType, }: FetchAssetOptions): Promise<T>;
|
|
10
|
+
};
|
|
11
|
+
export default Static;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function withSpinner<T>(fn: (...args: any[]) => Promise<T> | T, ...args: any[]): Promise<T>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { HttpCore } from './HttpCore';
|
|
2
2
|
import { default as filterQuery } from './helpers/filterQuery';
|
|
3
3
|
import { dateFormat } from './helpers/dateFormat';
|
|
4
|
-
|
|
4
|
+
import { withSpinner } from './helpers/withSpinner';
|
|
5
|
+
export * from './helpers/Static';
|
|
6
|
+
export { HttpCore, filterQuery, dateFormat, withSpinner };
|