jplan-pack 0.3.63 → 0.3.65
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/components/ConfirmDialog.vue.d.ts +29 -0
- package/dist/{types/components → components}/CopyButton.vue.d.ts +4 -4
- package/dist/components/GlobalDialog.vue.d.ts +33 -0
- package/dist/{types/components → components}/JBtn.vue.d.ts +12 -5
- package/dist/components/JIconBtn.vue.d.ts +29 -0
- package/dist/{types/components → components}/JTextField.vue.d.ts +4 -4
- package/dist/components/ParentCard.vue.d.ts +24 -0
- package/dist/{types/components → components}/icon/IconSet.vue.d.ts +10 -10
- package/dist/components/table/UiTable.vue.d.ts +42 -0
- package/dist/index.d.ts +10 -0
- package/dist/jplan-lib.es.js.mjs +15298 -13582
- package/dist/types/index.d.ts +2 -10
- package/dist/types/{types/sidebarItem.d.ts → sidebarItem.d.ts} +1 -0
- package/dist/utils/HttpCore.d.ts +9 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +7 -4
- package/dist/types/components/ConfirmDialog.vue.d.ts +0 -69
- package/dist/types/components/GlobalDialog.vue.d.ts +0 -26
- package/dist/types/components/JIconBtn.vue.d.ts +0 -64
- package/dist/types/components/ParentCard.vue.d.ts +0 -17
- package/dist/types/components/table/UiTable.vue.d.ts +0 -35
- package/dist/types/types/index.d.ts +0 -2
- package/dist/types/utils/MyUtil.d.ts +0 -5
- package/dist/types/utils/index.d.ts +0 -1
- /package/dist/{types/components → components}/DotsMenu.vue.d.ts +0 -0
- /package/dist/{types/components → components}/icon/tabler.d.ts +0 -0
- /package/dist/{types/components → components}/index.d.ts +0 -0
- /package/dist/{types/components → components}/layout/header/EnvironmentDialog.vue.d.ts +0 -0
- /package/dist/{types/components → components}/layout/header/MegaMenuDD.vue.d.ts +0 -0
- /package/dist/{types/components → components}/layout/header/NotificationDD.vue.d.ts +0 -0
- /package/dist/{types/components → components}/layout/header/ProfileDD.vue.d.ts +0 -0
- /package/dist/{types/components → components}/layout/header/UiHeader.vue.d.ts +0 -0
- /package/dist/{types/components → components}/layout/header/data.d.ts +0 -0
- /package/dist/{types/components → components}/layout/sidebar/_type.d.ts +0 -0
- /package/dist/{types/composables → composables}/index.d.ts +0 -0
- /package/dist/{types/composables → composables}/useCustomizer.d.ts +0 -0
- /package/dist/{types/composables → composables}/useDialog.d.ts +0 -0
- /package/dist/{types/constants → constants}/index.d.ts +0 -0
- /package/dist/{types/plugins → plugins}/pinia/pinia.d.ts +0 -0
- /package/dist/types/{types/UiTableHeader.d.ts → UiTableHeader.d.ts} +0 -0
package/dist/types/index.d.ts
CHANGED
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
install: (app: App<any>) => void;
|
4
|
-
};
|
5
|
-
export default _default;
|
6
|
-
export * from './components';
|
7
|
-
export * from './composables';
|
8
|
-
export * from './constants';
|
9
|
-
export * from './utils';
|
10
|
-
export * from './types';
|
1
|
+
export * from './UiTableHeader';
|
2
|
+
export * from './sidebarItem';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Method } from 'axios';
|
2
|
+
export type HTTP_RequestConfig<T> = {
|
3
|
+
url: string;
|
4
|
+
method: Method;
|
5
|
+
header?: Record<string, string>;
|
6
|
+
body?: T | T[];
|
7
|
+
bearerToken?: string;
|
8
|
+
};
|
9
|
+
export declare function HttpCore<T>({ url, method, header, body, bearerToken, }: HTTP_RequestConfig<T>): Promise<T | T[]>;
|
package/package.json
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "jplan-pack",
|
3
|
-
"version": "0.3.
|
4
|
-
"files": [
|
3
|
+
"version": "0.3.65",
|
4
|
+
"files": [
|
5
|
+
"dist"
|
6
|
+
],
|
5
7
|
"main": "./dist/jplan-lib.es.js",
|
6
8
|
"types": "./dist/types/index.d.ts",
|
7
9
|
"scripts": {
|
@@ -15,6 +17,7 @@
|
|
15
17
|
"@vitejs/plugin-vue": "^5.1.5",
|
16
18
|
"@vue/compiler-core": "^3.3.4",
|
17
19
|
"@vueuse/core": "^11.2.0",
|
20
|
+
"axios": "^1.7.7",
|
18
21
|
"lodash": "^4.17.21",
|
19
22
|
"pinia": "^2.2.6",
|
20
23
|
"vue-tabler-icons": "^2.21.0"
|
@@ -22,8 +25,8 @@
|
|
22
25
|
"peerDependencies": {
|
23
26
|
"@mdi/font": "^7.4.47",
|
24
27
|
"@vueuse/core": "^11.2.0",
|
25
|
-
"
|
26
|
-
"
|
28
|
+
"vue": "^3.3.4",
|
29
|
+
"vuetify": "^3.7.4"
|
27
30
|
},
|
28
31
|
"devDependencies": {
|
29
32
|
"@types/node": "^20.3.3",
|
@@ -1,69 +0,0 @@
|
|
1
|
-
export interface DialogProps<T> {
|
2
|
-
title: string;
|
3
|
-
text?: string;
|
4
|
-
callback?: () => Promise<void> | void;
|
5
|
-
cancelCallback?: () => void;
|
6
|
-
width?: string;
|
7
|
-
loading?: boolean;
|
8
|
-
}
|
9
|
-
declare const _default: <T>(__VLS_props: {
|
10
|
-
title: string;
|
11
|
-
text?: string | undefined;
|
12
|
-
callback?: (() => void | Promise<void>) | undefined;
|
13
|
-
cancelCallback?: (() => void) | undefined;
|
14
|
-
width?: string | undefined;
|
15
|
-
loading?: boolean | undefined;
|
16
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
17
|
-
attrs: any;
|
18
|
-
slots: {
|
19
|
-
button?(_: {
|
20
|
-
isActive: any;
|
21
|
-
props: any;
|
22
|
-
}): any;
|
23
|
-
};
|
24
|
-
emit: {};
|
25
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
26
|
-
props: {
|
27
|
-
title: string;
|
28
|
-
text?: string | undefined;
|
29
|
-
callback?: (() => void | Promise<void>) | undefined;
|
30
|
-
cancelCallback?: (() => void) | undefined;
|
31
|
-
width?: string | undefined;
|
32
|
-
loading?: boolean | undefined;
|
33
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
34
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
35
|
-
attrs: any;
|
36
|
-
slots: {
|
37
|
-
button?(_: {
|
38
|
-
isActive: any;
|
39
|
-
props: any;
|
40
|
-
}): any;
|
41
|
-
};
|
42
|
-
emit: {};
|
43
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
44
|
-
[key: string]: any;
|
45
|
-
}> & {
|
46
|
-
__ctx?: {
|
47
|
-
props: {
|
48
|
-
title: string;
|
49
|
-
text?: string | undefined;
|
50
|
-
callback?: (() => void | Promise<void>) | undefined;
|
51
|
-
cancelCallback?: (() => void) | undefined;
|
52
|
-
width?: string | undefined;
|
53
|
-
loading?: boolean | undefined;
|
54
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
55
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
56
|
-
attrs: any;
|
57
|
-
slots: {
|
58
|
-
button?(_: {
|
59
|
-
isActive: any;
|
60
|
-
props: any;
|
61
|
-
}): any;
|
62
|
-
};
|
63
|
-
emit: {};
|
64
|
-
} | undefined;
|
65
|
-
};
|
66
|
-
export default _default;
|
67
|
-
type __VLS_PrettifyLocal<T> = {
|
68
|
-
[K in keyof T]: T[K];
|
69
|
-
} & {};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
export type JDialogType = {
|
2
|
-
dialogId?: string;
|
3
|
-
title?: string;
|
4
|
-
text?: string;
|
5
|
-
callback?: (...params: any) => any;
|
6
|
-
cancelCallback?: () => void;
|
7
|
-
width?: string;
|
8
|
-
reference?: boolean;
|
9
|
-
buttons?: boolean;
|
10
|
-
};
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<JDialogType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<JDialogType> & Readonly<{}>, {
|
12
|
-
width: string;
|
13
|
-
buttons: boolean;
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
15
|
-
title?(_: {}): any;
|
16
|
-
"heading-actions"?(_: {}): any;
|
17
|
-
default?(_: {}): any;
|
18
|
-
footer?(_: {}): any;
|
19
|
-
metadata?(_: {}): any;
|
20
|
-
}>;
|
21
|
-
export default _default;
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
23
|
-
new (): {
|
24
|
-
$slots: S;
|
25
|
-
};
|
26
|
-
};
|
@@ -1,64 +0,0 @@
|
|
1
|
-
import { VBtn } from 'vuetify/components';
|
2
|
-
import { TablerIconComponent } from 'vue-tabler-icons';
|
3
|
-
export interface Props<T> {
|
4
|
-
variant?: VBtn['variant'];
|
5
|
-
icon?: string | TablerIconComponent | SVGElement;
|
6
|
-
color?: string;
|
7
|
-
tooltip?: string;
|
8
|
-
size?: number;
|
9
|
-
}
|
10
|
-
declare const _default: <T>(__VLS_props: {
|
11
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
12
|
-
variant?: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
|
13
|
-
icon?: string | TablerIconComponent | SVGElement | undefined;
|
14
|
-
color?: string | undefined;
|
15
|
-
tooltip?: string | undefined;
|
16
|
-
size?: number | undefined;
|
17
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
18
|
-
attrs: any;
|
19
|
-
slots: {
|
20
|
-
default?(_: {}): any;
|
21
|
-
default?(_: {}): any;
|
22
|
-
};
|
23
|
-
emit: (event: "click", ...args: any[]) => void;
|
24
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
25
|
-
props: {
|
26
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
27
|
-
variant?: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
|
28
|
-
icon?: string | TablerIconComponent | SVGElement | undefined;
|
29
|
-
color?: string | undefined;
|
30
|
-
tooltip?: string | undefined;
|
31
|
-
size?: number | undefined;
|
32
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
33
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
34
|
-
attrs: any;
|
35
|
-
slots: {
|
36
|
-
default?(_: {}): any;
|
37
|
-
default?(_: {}): any;
|
38
|
-
};
|
39
|
-
emit: (event: "click", ...args: any[]) => void;
|
40
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
41
|
-
[key: string]: any;
|
42
|
-
}> & {
|
43
|
-
__ctx?: {
|
44
|
-
props: {
|
45
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
46
|
-
variant?: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
|
47
|
-
icon?: string | TablerIconComponent | SVGElement | undefined;
|
48
|
-
color?: string | undefined;
|
49
|
-
tooltip?: string | undefined;
|
50
|
-
size?: number | undefined;
|
51
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
52
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
53
|
-
attrs: any;
|
54
|
-
slots: {
|
55
|
-
default?(_: {}): any;
|
56
|
-
default?(_: {}): any;
|
57
|
-
};
|
58
|
-
emit: (event: "click", ...args: any[]) => void;
|
59
|
-
} | undefined;
|
60
|
-
};
|
61
|
-
export default _default;
|
62
|
-
type __VLS_PrettifyLocal<T> = {
|
63
|
-
[K in keyof T]: T[K];
|
64
|
-
} & {};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
2
|
-
title?: string | undefined;
|
3
|
-
height?: string | undefined;
|
4
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
5
|
-
title?: string | undefined;
|
6
|
-
height?: string | undefined;
|
7
|
-
}> & Readonly<{}>, {
|
8
|
-
height: string;
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
10
|
-
default?(_: {}): any;
|
11
|
-
}>;
|
12
|
-
export default _default;
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
14
|
-
new (): {
|
15
|
-
$slots: S;
|
16
|
-
};
|
17
|
-
};
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { UiTableHeader } from '../../types/UiTableHeader';
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
3
|
-
headers?: UiTableHeader[] | undefined;
|
4
|
-
items: any[];
|
5
|
-
actions?: any;
|
6
|
-
loading?: boolean | undefined;
|
7
|
-
columns?: UiTableHeader[] | undefined;
|
8
|
-
sortBy?: {
|
9
|
-
key: string;
|
10
|
-
order: "desc" | "asc";
|
11
|
-
}[] | undefined;
|
12
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
13
|
-
headers?: UiTableHeader[] | undefined;
|
14
|
-
items: any[];
|
15
|
-
actions?: any;
|
16
|
-
loading?: boolean | undefined;
|
17
|
-
columns?: UiTableHeader[] | undefined;
|
18
|
-
sortBy?: {
|
19
|
-
key: string;
|
20
|
-
order: "desc" | "asc";
|
21
|
-
}[] | undefined;
|
22
|
-
}> & Readonly<{}>, {
|
23
|
-
items: any[];
|
24
|
-
columns: UiTableHeader[];
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
26
|
-
actions?(_: {
|
27
|
-
item: any;
|
28
|
-
}): any;
|
29
|
-
}>;
|
30
|
-
export default _default;
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
32
|
-
new (): {
|
33
|
-
$slots: S;
|
34
|
-
};
|
35
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|