jplan-pack 0.5.97 → 0.5.99
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/{AuthFailRoute-CSDrotpw.mjs → AuthFailRoute-CarIdWNs.mjs} +1 -1
- package/dist/{AuthFailRoute-BdVU7CTx.js → AuthFailRoute-CzVzm1Iu.js} +1 -1
- package/dist/AuthRoute-CvusQP1y.js +1 -0
- package/dist/{AuthRoute-D91Q0lGq.mjs → AuthRoute-wDfmEsmW.mjs} +9 -7
- package/dist/AuthRoute.css +1 -1
- package/dist/{index-DqkMFYSn.mjs → index-C5t6e-s2.mjs} +21064 -20453
- package/dist/index-CMNL3KiA.js +87 -0
- package/dist/index.css +2 -2
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +55 -51
- package/dist/types/components/SearchFilter.d.ts +9 -0
- package/dist/types/components/form/footer/FormMetadata.d.ts +2 -2
- package/dist/types/components/index.d.ts +12 -6
- package/dist/types/components/table/UiTable.d.ts +29 -22
- package/dist/types/components/table/advanced/ColumnSettingsDialog.d.ts +10 -0
- package/dist/types/components/table/advanced/TableAdvanced.d.ts +66 -0
- package/dist/types/components/table/advanced/TableHeader.d.ts +38 -0
- package/dist/types/components/table/card/TableCard.d.ts +18 -0
- package/dist/types/components/table/card/TableCardsView.d.ts +31 -0
- package/dist/types/components/table/card/type.d.ts +14 -0
- package/dist/types/components/table/related/TableFilter.d.ts +0 -0
- package/package.json +12 -11
- package/dist/AuthRoute-ByaxsXtb.js +0 -1
- package/dist/index-lURfSTfH.js +0 -87
- package/dist/types/components/SearchBar.d.ts +0 -13
- package/dist/types/components/table/ColumnSettingsDialog.d.ts +0 -7
- /package/dist/types/components/{DeleteButton.d.ts → DeleteAllBtn.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-CMNL3KiA.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$21;exports.ColumnSettingsDialog=e._sfc_main$2;exports.ConfirmDialog=e._sfc_main$4;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$5;exports.DeleteAllBtn=e._sfc_main$10;exports.DotsMenu=e._sfc_main$6;exports.DotsMenuV1=e._sfc_main$7;exports.EditButton=e._sfc_main$11;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$8;exports.GlobalScopeFilter=e._sfc_main$22;exports.GlobalSpinner=e._sfc_main$23;exports.HttpCore=e.HttpCore;exports.JAvatar=e._sfc_main$20;exports.JBtn=e._sfc_main$9;exports.JDialog=e._sfc_main$12;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.SpinnerLoader=e.SpinnerLoader;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$18;exports.TableAdvanced=e._sfc_main$1;exports.TableCard=e._sfc_main$3;exports.TableCardsView=e.TableCardsView;exports.TableHeader=e.TableHeader;exports.UiTable=e._sfc_main;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.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.useBranchStore=e.useBranchStore;exports.useCustomizer=e.useCustomizer;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;
|
package/dist/jplan-pack.es.js
CHANGED
@@ -1,58 +1,62 @@
|
|
1
|
-
import {
|
1
|
+
import { B as t, d as n, g as o, C as r, h as i, o as l, j as u, k as d, p as c, N as T, F as m, l as S, D as p, E as C, K as b, A as g, n as I, q as v, x as B, r as D, t as J, v as F, w as A, P as f, z as M, S as x, O as E, y as H, b as P, e as h, f as y, T as G, a as O, J as U, Y as z, c as V, Q as j, M as w, i as K, W as L, L as N, R as Q, $ as Y, X as _, U as k, a5 as q, s as R, Z as W, V as X, a2 as Z, G as $, H as aa, a0 as sa, a4 as ea, a1 as ta, u as na, a3 as oa, I as ra } from "./index-C5t6e-s2.mjs";
|
2
2
|
import "@vueuse/core";
|
3
3
|
export {
|
4
4
|
t as AvatarPicture,
|
5
|
-
|
6
|
-
|
5
|
+
n as ColumnSettingsDialog,
|
6
|
+
o as ConfirmDialog,
|
7
7
|
r as ContextMenu,
|
8
8
|
i as CopyButton,
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
9
|
+
l as DeleteAllBtn,
|
10
|
+
u as DotsMenu,
|
11
|
+
d as DotsMenuV1,
|
12
|
+
c as EditButton,
|
13
|
+
T as EventBus,
|
14
|
+
m as FormHeadless,
|
15
|
+
S as FormMetadata,
|
16
|
+
p as GlobalScopeFilter,
|
17
|
+
C as GlobalSpinner,
|
18
|
+
b as HttpCore,
|
19
|
+
g as JAvatar,
|
20
|
+
I as JBtn,
|
21
|
+
v as JDialog,
|
22
|
+
B as JForm,
|
23
|
+
D as JIconBtn,
|
24
|
+
J as JSelect,
|
25
|
+
F as JTextArea,
|
26
|
+
A as JTextField,
|
27
|
+
f as POSITION,
|
28
|
+
M as ParentCard,
|
29
|
+
x as SpinnerLoader,
|
30
30
|
E as TYPE,
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
O as
|
37
|
-
U as
|
38
|
-
z as
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
R as
|
51
|
-
W as
|
52
|
-
X as
|
53
|
-
Z as
|
54
|
-
$ as
|
55
|
-
aa as
|
56
|
-
sa as
|
57
|
-
ea as
|
31
|
+
H as TabFormHeader,
|
32
|
+
P as TableAdvanced,
|
33
|
+
h as TableCard,
|
34
|
+
y as TableCardsView,
|
35
|
+
G as TableHeader,
|
36
|
+
O as UiTable,
|
37
|
+
U as __spinner,
|
38
|
+
z as branchInstance,
|
39
|
+
V as coreClient,
|
40
|
+
j as createToastInterface,
|
41
|
+
w as dateFormat,
|
42
|
+
K as default,
|
43
|
+
L as divisionInstance,
|
44
|
+
N as filterQuery,
|
45
|
+
Q as globalEventBus,
|
46
|
+
Y as manageUserInstance,
|
47
|
+
_ as orgInstance,
|
48
|
+
k as provideToast,
|
49
|
+
q as scopedClient,
|
50
|
+
R as setupAuthGuard,
|
51
|
+
W as teamInstance,
|
52
|
+
X as toastInjectionKey,
|
53
|
+
Z as useBranchStore,
|
54
|
+
$ as useCustomizer,
|
55
|
+
aa as useDialog,
|
56
|
+
sa as useDivisionStore,
|
57
|
+
ea as useManageUserStore,
|
58
|
+
ta as useOrganizationStore,
|
59
|
+
na as useSession,
|
60
|
+
oa as useTeamStore,
|
61
|
+
ra as useToast
|
58
62
|
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
type __VLS_PublicProps = {
|
2
|
+
'search'?: string;
|
3
|
+
};
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
5
|
+
"update:search": (search: string) => any;
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
7
|
+
"onUpdate:search"?: ((search: string) => any) | undefined;
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
9
|
+
export default _default;
|
@@ -11,13 +11,13 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
11
|
meta: Metadata;
|
12
12
|
id?: {
|
13
13
|
title: string;
|
14
|
-
key
|
14
|
+
key?: string;
|
15
15
|
};
|
16
16
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
17
17
|
meta: Metadata;
|
18
18
|
id?: {
|
19
19
|
title: string;
|
20
|
-
key
|
20
|
+
key?: string;
|
21
21
|
};
|
22
22
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
23
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
@@ -1,18 +1,22 @@
|
|
1
1
|
import { default as CopyButton } from './CopyButton';
|
2
2
|
import { default as JIconBtn } from './JIconBtn';
|
3
3
|
import { default as JBtn } from './JBtn';
|
4
|
-
import { default as
|
4
|
+
import { default as DeleteAllBtn } from './DeleteAllBtn';
|
5
5
|
import { default as EditButton } from './EditButton';
|
6
6
|
import { default as DotsMenu } from './DotsMenu';
|
7
7
|
import { default as DotsMenuV1 } from './DotsMenuV1';
|
8
|
-
import { default as UiTable } from './table/UiTable';
|
9
|
-
import { default as ColumnSettingsDialog } from './table/ColumnSettingsDialog';
|
10
8
|
import { default as ParentCard } from './ParentCard';
|
11
9
|
import { default as JDialog } from './JDialog';
|
12
10
|
import { default as ConfirmDialog } from './ConfirmDialog';
|
13
11
|
import { default as JAvatar } from './JAvatar';
|
14
12
|
import { default as AvatarPicture } from './AvatarPicture';
|
15
13
|
import { default as ContextMenu } from './ContextMenu';
|
14
|
+
import { default as UiTable } from './table/UiTable';
|
15
|
+
import { default as TableAdvanced } from './table/advanced/TableAdvanced';
|
16
|
+
import { default as TableHeader } from './table/advanced/TableHeader';
|
17
|
+
import { default as ColumnSettingsDialog } from './table/advanced/ColumnSettingsDialog';
|
18
|
+
import { default as TableCard } from './table/card/TableCard';
|
19
|
+
import { default as TableCardsView } from './table/card/TableCardsView';
|
16
20
|
import { default as JTextField } from './form/JTextField';
|
17
21
|
import { default as FormMetadata } from './form/footer/FormMetadata';
|
18
22
|
import { default as JSelect } from './form/JSelect';
|
@@ -23,7 +27,9 @@ import { default as FormHeadless } from './form/headless/FormHeadless';
|
|
23
27
|
import { default as GlobalScopeFilter } from '../modules/scope/GlobalScopeFilter';
|
24
28
|
import { default as SpinnerLoader } from './spinner/SpinnerLoader';
|
25
29
|
import { default as GlobalSpinner } from './spinner/GlobalSpinner';
|
26
|
-
export { UiTable, ConfirmDialog, //TODO REVIEW IF IT IS BEEN USED
|
27
|
-
CopyButton, DotsMenu, DotsMenuV1, FormMetadata, JBtn,
|
30
|
+
export { UiTable, TableAdvanced, TableHeader, ColumnSettingsDialog, TableCard, TableCardsView, ConfirmDialog, //TODO REVIEW IF IT IS BEEN USED
|
31
|
+
CopyButton, DotsMenu, DotsMenuV1, FormMetadata, JBtn, DeleteAllBtn, EditButton, JDialog, //OK
|
28
32
|
JIconBtn, JSelect, //OK
|
29
|
-
JTextArea,
|
33
|
+
JTextArea, //OK
|
34
|
+
JTextField, JForm, TabFormHeader, FormHeadless, ParentCard, SpinnerLoader, //OK
|
35
|
+
ContextMenu, JAvatar, AvatarPicture, GlobalScopeFilter, GlobalSpinner };
|
@@ -1,4 +1,18 @@
|
|
1
|
-
import { UiTableHeader } from '../../types';
|
1
|
+
import { UiTableHeader } from '../../types/UiTableHeader';
|
2
|
+
declare let __VLS_typeProps: {
|
3
|
+
headers?: UiTableHeader[];
|
4
|
+
items: any[];
|
5
|
+
actions?: any;
|
6
|
+
loading?: boolean;
|
7
|
+
columns?: UiTableHeader[];
|
8
|
+
sortBy?: {
|
9
|
+
key: string;
|
10
|
+
order: 'asc' | 'desc';
|
11
|
+
}[];
|
12
|
+
};
|
13
|
+
type __VLS_PublicProps = {
|
14
|
+
'selection'?: any;
|
15
|
+
} & typeof __VLS_typeProps;
|
2
16
|
declare function __VLS_template(): {
|
3
17
|
slots: {
|
4
18
|
avatar?(_: {
|
@@ -7,6 +21,15 @@ declare function __VLS_template(): {
|
|
7
21
|
active?(_: {
|
8
22
|
item: any;
|
9
23
|
}): any;
|
24
|
+
image?(_: {
|
25
|
+
item: any;
|
26
|
+
}): any;
|
27
|
+
picture?(_: {
|
28
|
+
item: any;
|
29
|
+
}): any;
|
30
|
+
icon?(_: {
|
31
|
+
item: any;
|
32
|
+
}): any;
|
10
33
|
actions?(_: {
|
11
34
|
item: any;
|
12
35
|
}): any;
|
@@ -15,27 +38,11 @@ declare function __VLS_template(): {
|
|
15
38
|
attrs: Partial<{}>;
|
16
39
|
};
|
17
40
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
columns?: UiTableHeader[];
|
24
|
-
sortBy?: {
|
25
|
-
key: string;
|
26
|
-
order: "asc" | "desc";
|
27
|
-
}[];
|
28
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
29
|
-
headers?: UiTableHeader[];
|
30
|
-
items: any[];
|
31
|
-
actions?: any;
|
32
|
-
loading?: boolean;
|
33
|
-
columns?: UiTableHeader[];
|
34
|
-
sortBy?: {
|
35
|
-
key: string;
|
36
|
-
order: "asc" | "desc";
|
37
|
-
}[];
|
38
|
-
}> & Readonly<{}>, {
|
41
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
42
|
+
"update:selection": (selection: any) => any;
|
43
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
44
|
+
"onUpdate:selection"?: ((selection: any) => any) | undefined;
|
45
|
+
}>, {
|
39
46
|
items: any[];
|
40
47
|
columns: UiTableHeader[];
|
41
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { UiTableHeader } from '../../../types/UiTableHeader';
|
2
|
+
type __VLS_PublicProps = {
|
3
|
+
modelValue?: UiTableHeader[];
|
4
|
+
};
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
6
|
+
"update:modelValue": (modelValue: UiTableHeader[]) => any;
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
8
|
+
"onUpdate:modelValue"?: ((modelValue: UiTableHeader[]) => any) | undefined;
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { UiTableHeader } from '../../../types/UiTableHeader';
|
2
|
+
interface TableProps {
|
3
|
+
headers?: UiTableHeader[];
|
4
|
+
items: any[];
|
5
|
+
actions?: any;
|
6
|
+
loading?: boolean;
|
7
|
+
columns?: UiTableHeader[];
|
8
|
+
sortBy?: {
|
9
|
+
key: string;
|
10
|
+
order: 'asc' | 'desc';
|
11
|
+
}[];
|
12
|
+
dateFields?: string[];
|
13
|
+
customFields?: string[];
|
14
|
+
search?: string;
|
15
|
+
filterKeys?: string[];
|
16
|
+
selectOnRowClick?: boolean;
|
17
|
+
}
|
18
|
+
declare let __VLS_typeProps: TableProps;
|
19
|
+
type __VLS_PublicProps = {
|
20
|
+
'selection'?: [];
|
21
|
+
} & typeof __VLS_typeProps;
|
22
|
+
declare function __VLS_template(): {
|
23
|
+
slots: Partial<Record<string, (_: {
|
24
|
+
item: any;
|
25
|
+
}) => any>> & {
|
26
|
+
contextmenu?(_: {
|
27
|
+
item: never;
|
28
|
+
}): any;
|
29
|
+
avatar?(_: {
|
30
|
+
item: any;
|
31
|
+
}): any;
|
32
|
+
active?(_: {
|
33
|
+
item: any;
|
34
|
+
}): any;
|
35
|
+
image?(_: {
|
36
|
+
item: any;
|
37
|
+
}): any;
|
38
|
+
picture?(_: {
|
39
|
+
item: any;
|
40
|
+
}): any;
|
41
|
+
icon?(_: {
|
42
|
+
item: any;
|
43
|
+
}): any;
|
44
|
+
actions?(_: {
|
45
|
+
item: any;
|
46
|
+
}): any;
|
47
|
+
};
|
48
|
+
refs: {};
|
49
|
+
attrs: Partial<{}>;
|
50
|
+
};
|
51
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
52
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
53
|
+
"update:selection": (selection: []) => any;
|
54
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
55
|
+
"onUpdate:selection"?: ((selection: []) => any) | undefined;
|
56
|
+
}>, {
|
57
|
+
items: any[];
|
58
|
+
columns: UiTableHeader[];
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
60
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
61
|
+
export default _default;
|
62
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
63
|
+
new (): {
|
64
|
+
$slots: S;
|
65
|
+
};
|
66
|
+
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { UiTableHeader } from '../../../types/UiTableHeader';
|
2
|
+
declare let __VLS_typeProps: {
|
3
|
+
columns: UiTableHeader[];
|
4
|
+
filters: {
|
5
|
+
title: string;
|
6
|
+
key: string;
|
7
|
+
}[];
|
8
|
+
};
|
9
|
+
type __VLS_PublicProps = {
|
10
|
+
'filterKeys'?: any;
|
11
|
+
'search'?: any;
|
12
|
+
'columns'?: UiTableHeader[];
|
13
|
+
} & typeof __VLS_typeProps;
|
14
|
+
declare function __VLS_template(): {
|
15
|
+
slots: {
|
16
|
+
"tleft-prepend"?(_: {}): 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
|
+
refresh: (...args: any[]) => void;
|
27
|
+
remove: (...args: any[]) => void;
|
28
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
29
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
30
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
33
|
+
export default _default;
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
35
|
+
new (): {
|
36
|
+
$slots: S;
|
37
|
+
};
|
38
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { TableCardType } from './type';
|
2
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & TableCardType> & import('vue').PublicProps;
|
4
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
5
|
+
attrs: any;
|
6
|
+
slots: {
|
7
|
+
actions?(_: {
|
8
|
+
item: Record<any, any>;
|
9
|
+
}): any;
|
10
|
+
};
|
11
|
+
emit: {};
|
12
|
+
}>) => import('vue').VNode & {
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
14
|
+
};
|
15
|
+
export default _default;
|
16
|
+
type __VLS_PrettifyLocal<T> = {
|
17
|
+
[K in keyof T]: T[K];
|
18
|
+
} & {};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { CardKeys } from './type';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
actions?(_: {
|
5
|
+
item: Record<any, any>;
|
6
|
+
}): any;
|
7
|
+
};
|
8
|
+
refs: {};
|
9
|
+
attrs: Partial<{}>;
|
10
|
+
};
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
13
|
+
data: Record<any, any>[];
|
14
|
+
columns: CardKeys[];
|
15
|
+
size?: number;
|
16
|
+
view?: "card" | "table";
|
17
|
+
itemKey: string;
|
18
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
19
|
+
data: Record<any, any>[];
|
20
|
+
columns: CardKeys[];
|
21
|
+
size?: number;
|
22
|
+
view?: "card" | "table";
|
23
|
+
itemKey: string;
|
24
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
26
|
+
export default _default;
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
28
|
+
new (): {
|
29
|
+
$slots: S;
|
30
|
+
};
|
31
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { UiTableHeader } from '../../../types';
|
2
|
+
export type TableCardType = {
|
3
|
+
item: Record<any, any>;
|
4
|
+
columns: CardKeys[];
|
5
|
+
size?: string | number;
|
6
|
+
image?: string;
|
7
|
+
tags?: string[];
|
8
|
+
route?: string;
|
9
|
+
callback?: () => void;
|
10
|
+
};
|
11
|
+
export type CardKeys = UiTableHeader & {
|
12
|
+
isHeader?: boolean;
|
13
|
+
isSubtitle?: boolean;
|
14
|
+
};
|
File without changes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "jplan-pack",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.99",
|
4
4
|
"main": "./dist/jplan-pack.cjs.js",
|
5
5
|
"module": "./dist/jplan-pack.es.js",
|
6
6
|
"types": "dist/types/index.d.ts",
|
@@ -39,8 +39,8 @@
|
|
39
39
|
"pinia": "^2.2.6",
|
40
40
|
"vite-plugin-css": "^1.0.4",
|
41
41
|
"vue-draggable-next": "^2.2.1",
|
42
|
-
"vue-
|
43
|
-
"vue-
|
42
|
+
"vue-tabler-icons": "^2.21.0",
|
43
|
+
"vue-toastification": "^2.0.0-rc.5"
|
44
44
|
},
|
45
45
|
"peerDependencies": {
|
46
46
|
"@mdi/font": "^7.4.47",
|
@@ -48,11 +48,13 @@
|
|
48
48
|
"@vueuse/core": "^11.2.0",
|
49
49
|
"vue": "^3.5.13",
|
50
50
|
"vue-router": "^4.5.0",
|
51
|
+
"vue-tabler-icons": "^2.21.0",
|
51
52
|
"vuetify": "^3.7.4",
|
52
|
-
"vue-
|
53
|
+
"vue-i18n": "^11.1.2"
|
53
54
|
},
|
54
55
|
"devDependencies": {
|
55
56
|
"@chromatic-com/storybook": "^3.2.5",
|
57
|
+
"@eslint/js": "^9.10.0",
|
56
58
|
"@storybook/addon-essentials": "^8.6.0",
|
57
59
|
"@storybook/addon-interactions": "^8.6.0",
|
58
60
|
"@storybook/addon-onboarding": "^8.6.0",
|
@@ -63,8 +65,13 @@
|
|
63
65
|
"@types/jest": "^29.5.14",
|
64
66
|
"@types/lodash": "^4.17.15",
|
65
67
|
"@types/node": "^22.13.10",
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.6.0",
|
69
|
+
"@typescript-eslint/parser": "^8.6.0",
|
70
|
+
"@vitejs/plugin-vue": "^5.1.2",
|
66
71
|
"autoprefixer": "^10.4.21",
|
72
|
+
"globals": "^15.11.0",
|
67
73
|
"jest": "^29.7.0",
|
74
|
+
"prettier": "3.3.3",
|
68
75
|
"rimraf": "^5.0.1",
|
69
76
|
"sass": "^1.63.6",
|
70
77
|
"storybook": "^8.6.0",
|
@@ -75,12 +82,6 @@
|
|
75
82
|
"vite-plugin-vuetify": "^2.0.4",
|
76
83
|
"vitepress": "^1.5.0",
|
77
84
|
"vue-cli-plugin-vuetify": "2.5.8",
|
78
|
-
"vue-tsc": "^2.1.10"
|
79
|
-
"@eslint/js": "^9.10.0",
|
80
|
-
"@typescript-eslint/eslint-plugin": "^8.6.0",
|
81
|
-
"@typescript-eslint/parser": "^8.6.0",
|
82
|
-
"@vitejs/plugin-vue": "^5.1.2",
|
83
|
-
"globals": "^15.11.0",
|
84
|
-
"prettier": "3.3.3"
|
85
|
+
"vue-tsc": "^2.1.10"
|
85
86
|
}
|
86
87
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("@vueuse/core");require("vuetify/lib/components/VBtn/index.mjs");require("vuetify/components");require("vuetify/lib/components/VIcon/index.mjs");const t=require("./index-lURfSTfH.js");require("vuetify/lib/components/VCard/index.mjs");require("vuetify/lib/components/VDialog/index.mjs");require("vuetify/lib/components/VDivider/index.mjs");require("vuetify/lib/components/VGrid/index.mjs");require("vuetify/lib/components/VDataTable/index.mjs");require("vuetify/lib/components/VCheckbox/index.mjs");require("vuetify/lib/components/VList/index.mjs");require("vuetify/lib/components/VAvatar/index.mjs");require("vuetify/lib/components/VImg/index.mjs");require("vuetify/lib/components/VMenu/index.mjs");require("vuetify/lib/components/VLabel/index.mjs");require("vuetify/lib/components/VTextarea/index.mjs");require("vuetify/lib/components/VBtnToggle/index.mjs");require("vuetify/lib/components/VSelect/index.mjs");const c={class:"overlay"},l={class:"text-white"},d={class:"text-white"},q=e.defineComponent({__name:"AuthRoute",setup(p){const s=i=>({scopes:["https://graph.microsoft.com/.default","openid","profile"],redirectStartPage:window.location.href,extraQueryParameters:i}),r=e.ref(!1);async function u(){t.msal.getAllAccounts().length===0&&(r.value=!0);const i=await t.msal.handleRedirectPromise();if(!i){await t.msal.initialize();const n=s();await t.msal.loginRedirect(n);return}t.msal.setActiveAccount(i.account)}e.onMounted(async()=>{await t.msal.initialize(),await u()});const o=[{title:"Authenticating...",subtitle:"Please wait."},{title:"Authorized",subtitle:"If this window don't closed automatically, you can close it now."}],a=e.computed(()=>r.value?o[0]:o[1]);return(i,n)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("h3",l,e.toDisplayString(a.value.title),1),e.createVNode(e.unref(t.SpinnerLoader)),e.createElementVNode("p",d,e.toDisplayString(a.value.subtitle),1)]))}}),m=t._export_sfc(q,[["__scopeId","data-v-b7679fd7"]]);exports.default=m;
|