jplan-pack 0.1.0
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/README.md +184 -0
- package/dist/jplan-lib.es.js.mjs +170633 -0
- package/dist/style.css +5 -0
- package/dist/types/components/ConfirmDialog.vue.d.ts +69 -0
- package/dist/types/components/CopyButton.vue.d.ts +10 -0
- package/dist/types/components/DotsMenu.vue.d.ts +18 -0
- package/dist/types/components/GlobalDialog.vue.d.ts +26 -0
- package/dist/types/components/JBtn.vue.d.ts +25 -0
- package/dist/types/components/JIconBtn.vue.d.ts +64 -0
- package/dist/types/components/JTextField.vue.d.ts +18 -0
- package/dist/types/components/ParentCard.vue.d.ts +17 -0
- package/dist/types/components/icon/IconSet.vue.d.ts +23 -0
- package/dist/types/components/icon/tabler.d.ts +2 -0
- package/dist/types/components/index.d.ts +13 -0
- package/dist/types/components/layout/header/EnvironmentDialog.vue.d.ts +2 -0
- package/dist/types/components/layout/header/MegaMenuDD.vue.d.ts +2 -0
- package/dist/types/components/layout/header/NotificationDD.vue.d.ts +2 -0
- package/dist/types/components/layout/header/ProfileDD.vue.d.ts +2 -0
- package/dist/types/components/layout/header/UiHeader.vue.d.ts +2 -0
- package/dist/types/components/layout/header/data.d.ts +20 -0
- package/dist/types/components/layout/sidebar/_type.d.ts +11 -0
- package/dist/types/components/table/UiTable.vue.d.ts +35 -0
- package/dist/types/composables/index.d.ts +3 -0
- package/dist/types/composables/useCustomizer.d.ts +19 -0
- package/dist/types/composables/useDialog.d.ts +9 -0
- package/dist/types/constants/MyConstants.d.ts +1 -0
- package/dist/types/constants/index.d.ts +2 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/plugins/DarkTheme.d.ts +5 -0
- package/dist/types/plugins/LightTheme.d.ts +4 -0
- package/dist/types/plugins/_type.d.ts +41 -0
- package/dist/types/plugins/index.d.ts +3 -0
- package/dist/types/plugins/pinia/pinia.d.ts +1 -0
- package/dist/types/plugins/vuetify.d.ts +82 -0
- package/dist/types/types/UiTableHeader.d.ts +10 -0
- package/dist/types/types/sidebarItem.d.ts +8 -0
- package/dist/types/utils/MyUtil.d.ts +5 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +52 -0
@@ -0,0 +1,69 @@
|
|
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: boolean;
|
21
|
+
props: Record<string, 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: boolean;
|
39
|
+
props: Record<string, 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: boolean;
|
60
|
+
props: Record<string, 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
|
+
} & {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
|
+
contentToCopy: string;
|
3
|
+
size?: number | "small" | "medium" | "large" | undefined;
|
4
|
+
color?: string | undefined;
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
6
|
+
contentToCopy: string;
|
7
|
+
size?: number | "small" | "medium" | "large" | undefined;
|
8
|
+
color?: string | undefined;
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
|
+
color: string;
|
3
|
+
orientation: "x" | "y";
|
4
|
+
options: {
|
5
|
+
name: string;
|
6
|
+
action: () => void;
|
7
|
+
}[];
|
8
|
+
size: number;
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
10
|
+
color: string;
|
11
|
+
orientation: "x" | "y";
|
12
|
+
options: {
|
13
|
+
name: string;
|
14
|
+
action: () => void;
|
15
|
+
}[];
|
16
|
+
size: number;
|
17
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
18
|
+
export default _default;
|
@@ -0,0 +1,26 @@
|
|
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
|
+
};
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { VBtn } from 'vuetify/components';
|
2
|
+
import { TablerIconComponent } from 'vue-tabler-icons';
|
3
|
+
export interface BtnProps {
|
4
|
+
variant?: VBtn['variant'];
|
5
|
+
text?: string;
|
6
|
+
icon?: string | TablerIconComponent;
|
7
|
+
color: string;
|
8
|
+
tooltip?: string;
|
9
|
+
}
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
11
|
+
click: (...args: any[]) => void;
|
12
|
+
}, string, import('vue').PublicProps, Readonly<BtnProps> & Readonly<{
|
13
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
14
|
+
}>, {
|
15
|
+
color: string;
|
16
|
+
variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
18
|
+
default?(_: {}): any;
|
19
|
+
}>;
|
20
|
+
export default _default;
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
22
|
+
new (): {
|
23
|
+
$slots: S;
|
24
|
+
};
|
25
|
+
};
|
@@ -0,0 +1,64 @@
|
|
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
|
+
} & {};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
|
+
modelValue: string;
|
3
|
+
name?: string | undefined;
|
4
|
+
label?: string | undefined;
|
5
|
+
type: "text" | "password" | "email" | "date";
|
6
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{
|
9
|
+
modelValue: string;
|
10
|
+
name?: string | undefined;
|
11
|
+
label?: string | undefined;
|
12
|
+
type: "text" | "password" | "email" | "date";
|
13
|
+
}> & Readonly<{
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
15
|
+
}>, {
|
16
|
+
type: "text" | "password" | "email" | "date";
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
18
|
+
export default _default;
|
@@ -0,0 +1,17 @@
|
|
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
|
+
};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { TablerIconComponent } from 'vue-tabler-icons';
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
3
|
+
item: string | TablerIconComponent | SVGElement;
|
4
|
+
level?: number | undefined;
|
5
|
+
size?: number | undefined;
|
6
|
+
stroke?: number | undefined;
|
7
|
+
color?: string | undefined;
|
8
|
+
svg?: SVGElement | null | undefined;
|
9
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
10
|
+
item: string | TablerIconComponent | SVGElement;
|
11
|
+
level?: number | undefined;
|
12
|
+
size?: number | undefined;
|
13
|
+
stroke?: number | undefined;
|
14
|
+
color?: string | undefined;
|
15
|
+
svg?: SVGElement | null | undefined;
|
16
|
+
}> & Readonly<{}>, {
|
17
|
+
size: number;
|
18
|
+
color: string;
|
19
|
+
svg: SVGElement | null;
|
20
|
+
level: number;
|
21
|
+
stroke: number;
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
23
|
+
export default _default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { default as CopyButton } from './CopyButton.vue';
|
2
|
+
import { default as JIconBtn } from './JIconBtn.vue';
|
3
|
+
import { default as JBtn } from './JBtn.vue';
|
4
|
+
import { default as DotsMenu } from './DotsMenu.vue';
|
5
|
+
import { default as IconSet } from './icon/IconSet.vue';
|
6
|
+
import { default as UiTable } from './table/UiTable.vue';
|
7
|
+
import { default as ParentCard } from './ParentCard.vue';
|
8
|
+
import { default as GlobalDialog } from './GlobalDialog.vue';
|
9
|
+
import { default as ConfirmDialog } from './ConfirmDialog.vue';
|
10
|
+
import { default as UiHeader } from './layout/header/UiHeader.vue';
|
11
|
+
import { default as JTextField } from './JTextField.vue';
|
12
|
+
import { TablerIcons } from './icon/tabler';
|
13
|
+
export { CopyButton, JIconBtn, JBtn, JTextField, DotsMenu, ConfirmDialog, GlobalDialog, IconSet, TablerIcons, ParentCard, UiTable, UiHeader, };
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
declare const message: {
|
2
|
+
image: string;
|
3
|
+
avatarstatus: string;
|
4
|
+
title: string;
|
5
|
+
desc: string;
|
6
|
+
time: string;
|
7
|
+
}[];
|
8
|
+
declare const notification: {
|
9
|
+
color: string;
|
10
|
+
icon: string;
|
11
|
+
title: string;
|
12
|
+
desc: string;
|
13
|
+
}[];
|
14
|
+
declare const profile: {
|
15
|
+
color: string;
|
16
|
+
icon: string;
|
17
|
+
title: string;
|
18
|
+
desc: string;
|
19
|
+
}[];
|
20
|
+
export { message, profile, notification };
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { TablerIconComponent } from 'vue-tabler-icons';
|
2
|
+
export interface Context {
|
3
|
+
name: string;
|
4
|
+
icon: TablerIconComponent | string | object;
|
5
|
+
}
|
6
|
+
export interface SidebarItem {
|
7
|
+
header?: string;
|
8
|
+
title?: string;
|
9
|
+
divider?: boolean;
|
10
|
+
children?: SidebarItem[];
|
11
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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
|
+
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
type ConfigProps = {
|
2
|
+
Sidebar_drawer: boolean;
|
3
|
+
Customizer_drawer: boolean;
|
4
|
+
mini_sidebar: boolean;
|
5
|
+
setHorizontalLayout: boolean;
|
6
|
+
actTheme: string;
|
7
|
+
fontTheme: string;
|
8
|
+
inputBg: boolean;
|
9
|
+
boxed: boolean;
|
10
|
+
};
|
11
|
+
export declare const useCustomizer: import('pinia').StoreDefinition<"customizer", ConfigProps, {}, {
|
12
|
+
SET_SIDEBAR_DRAWER(): void;
|
13
|
+
SET_MINI_SIDEBAR(payload: boolean): void;
|
14
|
+
SET_CUSTOMIZER_DRAWER(payload: boolean): void;
|
15
|
+
SET_LAYOUT(payload: boolean): void;
|
16
|
+
SET_THEME(payload: string): void;
|
17
|
+
SET_FONT(payload: string): void;
|
18
|
+
}>;
|
19
|
+
export {};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ComputedRef } from 'vue';
|
2
|
+
interface UseDialogReturn {
|
3
|
+
isDialogActive: ComputedRef<boolean>;
|
4
|
+
openDialog: () => void;
|
5
|
+
closeDialog: () => void;
|
6
|
+
}
|
7
|
+
type useDialogState = (id?: string) => UseDialogReturn;
|
8
|
+
export declare const useDialog: useDialogState;
|
9
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const MAGIC_NUM = 100;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export type ThemeTypes = {
|
2
|
+
name: string;
|
3
|
+
dark: boolean;
|
4
|
+
variables?: object;
|
5
|
+
colors: {
|
6
|
+
primary?: string;
|
7
|
+
secondary?: string;
|
8
|
+
info?: string;
|
9
|
+
success?: string;
|
10
|
+
accent?: string;
|
11
|
+
warning?: string;
|
12
|
+
error?: string;
|
13
|
+
lightprimary?: string;
|
14
|
+
lightsecondary?: string;
|
15
|
+
lightsuccess?: string;
|
16
|
+
lighterror?: string;
|
17
|
+
lightwarning?: string;
|
18
|
+
darkprimary?: string;
|
19
|
+
darksecondary?: string;
|
20
|
+
darkText?: string;
|
21
|
+
lightText?: string;
|
22
|
+
borderLight?: string;
|
23
|
+
inputBorder?: string;
|
24
|
+
containerBg?: string;
|
25
|
+
surface?: string;
|
26
|
+
background?: string;
|
27
|
+
'on-surface-variant'?: string;
|
28
|
+
blue?: string;
|
29
|
+
facebook?: string;
|
30
|
+
twitter?: string;
|
31
|
+
linkedin?: string;
|
32
|
+
whatsapp?: string;
|
33
|
+
telegram?: string;
|
34
|
+
instagram?: string;
|
35
|
+
gray100?: string;
|
36
|
+
primary200?: string;
|
37
|
+
secondary200?: string;
|
38
|
+
scroll?: string;
|
39
|
+
faded?: string;
|
40
|
+
};
|
41
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const pinia: import('pinia').Pinia;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
install: (app: import('vue').App<any>) => void;
|
3
|
+
defaults: import('vue').Ref<import('vuetify').DefaultsInstance, import('vuetify').DefaultsInstance>;
|
4
|
+
display: import('vuetify').DisplayInstance;
|
5
|
+
theme: import('vuetify').ThemeInstance & {
|
6
|
+
install: (app: import('vue').App<any>) => void;
|
7
|
+
};
|
8
|
+
icons: {
|
9
|
+
defaultSet: string;
|
10
|
+
aliases: Partial<import('vuetify').IconAliases>;
|
11
|
+
sets: Record<string, import('vuetify').IconSet>;
|
12
|
+
};
|
13
|
+
locale: {
|
14
|
+
isRtl: import('vue').Ref<boolean, boolean>;
|
15
|
+
rtl: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
16
|
+
rtlClasses: import('vue').Ref<string, string>;
|
17
|
+
name: string;
|
18
|
+
messages: import('vue').Ref<import('vuetify').LocaleMessages, import('vuetify').LocaleMessages>;
|
19
|
+
current: import('vue').Ref<string, string>;
|
20
|
+
fallback: import('vue').Ref<string, string>;
|
21
|
+
t: (key: string, ...params: unknown[]) => string;
|
22
|
+
n: (value: number) => string;
|
23
|
+
provide: (props: import('vuetify').LocaleOptions) => import('vuetify').LocaleInstance;
|
24
|
+
};
|
25
|
+
date: {
|
26
|
+
options: {
|
27
|
+
adapter: (new (options: {
|
28
|
+
locale: any;
|
29
|
+
formats?: any;
|
30
|
+
}) => import('vuetify').DateInstance) | import('vuetify').DateInstance;
|
31
|
+
formats?: Record<string, any> | undefined;
|
32
|
+
locale: Record<string, any>;
|
33
|
+
};
|
34
|
+
instance: {
|
35
|
+
locale?: any;
|
36
|
+
date: (value?: any) => unknown;
|
37
|
+
format: (date: unknown, formatString: string) => string;
|
38
|
+
toJsDate: (value: unknown) => Date;
|
39
|
+
parseISO: (date: string) => unknown;
|
40
|
+
toISO: (date: unknown) => string;
|
41
|
+
startOfDay: (date: unknown) => unknown;
|
42
|
+
endOfDay: (date: unknown) => unknown;
|
43
|
+
startOfWeek: (date: unknown, firstDayOfWeek?: string | number | undefined) => unknown;
|
44
|
+
endOfWeek: (date: unknown) => unknown;
|
45
|
+
startOfMonth: (date: unknown) => unknown;
|
46
|
+
endOfMonth: (date: unknown) => unknown;
|
47
|
+
startOfYear: (date: unknown) => unknown;
|
48
|
+
endOfYear: (date: unknown) => unknown;
|
49
|
+
isAfter: (date: unknown, comparing: unknown) => boolean;
|
50
|
+
isAfterDay: (value: unknown, comparing: unknown) => boolean;
|
51
|
+
isSameDay: (date: unknown, comparing: unknown) => boolean;
|
52
|
+
isSameMonth: (date: unknown, comparing: unknown) => boolean;
|
53
|
+
isSameYear: (value: unknown, comparing: unknown) => boolean;
|
54
|
+
isBefore: (date: unknown, comparing: unknown) => boolean;
|
55
|
+
isEqual: (date: unknown, comparing: unknown) => boolean;
|
56
|
+
isValid: (date: any) => boolean;
|
57
|
+
isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
|
58
|
+
addMinutes: (date: unknown, amount: number) => unknown;
|
59
|
+
addHours: (date: unknown, amount: number) => unknown;
|
60
|
+
addDays: (date: unknown, amount: number) => unknown;
|
61
|
+
addWeeks: (date: unknown, amount: number) => unknown;
|
62
|
+
addMonths: (date: unknown, amount: number) => unknown;
|
63
|
+
getYear: (date: unknown) => number;
|
64
|
+
setYear: (date: unknown, year: number) => unknown;
|
65
|
+
getDiff: (date: unknown, comparing: unknown, unit?: string | undefined) => number;
|
66
|
+
getWeekArray: (date: unknown, firstDayOfWeek?: string | number | undefined) => unknown[][];
|
67
|
+
getWeekdays: (firstDayOfWeek?: string | number | undefined) => string[];
|
68
|
+
getMonth: (date: unknown) => number;
|
69
|
+
setMonth: (date: unknown, month: number) => unknown;
|
70
|
+
getDate: (date: unknown) => number;
|
71
|
+
setDate: (date: unknown, day: number) => unknown;
|
72
|
+
getNextMonth: (date: unknown) => unknown;
|
73
|
+
getPreviousMonth: (date: unknown) => unknown;
|
74
|
+
getHours: (date: unknown) => number;
|
75
|
+
setHours: (date: unknown, hours: number) => unknown;
|
76
|
+
getMinutes: (date: unknown) => number;
|
77
|
+
setMinutes: (date: unknown, minutes: number) => unknown;
|
78
|
+
};
|
79
|
+
};
|
80
|
+
goTo: import('vuetify').GoToInstance;
|
81
|
+
};
|
82
|
+
export default _default;
|