jplan-pack 0.1.0 → 0.1.2
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/jplan-lib.es.js.mjs +181 -400
- package/dist/style.css +1 -5
- package/dist/types/components/ConfirmDialog.vue.d.ts +5 -46
- package/dist/types/components/CopyButton.vue.d.ts +4 -4
- package/dist/types/components/GlobalDialog.vue.d.ts +15 -8
- package/dist/types/components/JBtn.vue.d.ts +12 -5
- package/dist/types/components/JIconBtn.vue.d.ts +4 -39
- package/dist/types/components/JTextField.vue.d.ts +4 -4
- package/dist/types/components/ParentCard.vue.d.ts +15 -8
- package/dist/types/components/icon/IconSet.vue.d.ts +10 -10
- package/dist/types/components/table/UiTable.vue.d.ts +23 -16
- package/dist/types/index.d.ts +1 -1
- package/package.json +3 -4
- package/dist/types/plugins/DarkTheme.d.ts +0 -5
- package/dist/types/plugins/LightTheme.d.ts +0 -4
- package/dist/types/plugins/_type.d.ts +0 -41
- package/dist/types/plugins/index.d.ts +0 -3
- package/dist/types/plugins/vuetify.d.ts +0 -82
@@ -6,62 +6,21 @@ export interface DialogProps<T> {
|
|
6
6
|
width?: string;
|
7
7
|
loading?: boolean;
|
8
8
|
}
|
9
|
-
declare const _default: <T>(__VLS_props: {
|
10
|
-
|
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;
|
9
|
+
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<{
|
10
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & DialogProps<T>> & import('vue').PublicProps;
|
34
11
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
35
12
|
attrs: any;
|
36
13
|
slots: {
|
37
14
|
button?(_: {
|
38
|
-
isActive:
|
39
|
-
props:
|
15
|
+
isActive: any;
|
16
|
+
props: any;
|
40
17
|
}): any;
|
41
18
|
};
|
42
19
|
emit: {};
|
43
20
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
44
21
|
[key: string]: any;
|
45
22
|
}> & {
|
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;
|
23
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
65
24
|
};
|
66
25
|
export default _default;
|
67
26
|
type __VLS_PrettifyLocal<T> = {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
2
2
|
contentToCopy: string;
|
3
|
-
size?:
|
4
|
-
color?: string
|
3
|
+
size?: "small" | "medium" | "large" | number;
|
4
|
+
color?: string;
|
5
5
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
6
6
|
contentToCopy: string;
|
7
|
-
size?:
|
8
|
-
color?: string
|
7
|
+
size?: "small" | "medium" | "large" | number;
|
8
|
+
color?: string;
|
9
9
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
10
10
|
export default _default;
|
@@ -8,16 +8,23 @@ export type JDialogType = {
|
|
8
8
|
reference?: boolean;
|
9
9
|
buttons?: boolean;
|
10
10
|
};
|
11
|
-
declare
|
11
|
+
declare function __VLS_template(): {
|
12
|
+
slots: {
|
13
|
+
title?(_: {}): any;
|
14
|
+
"heading-actions"?(_: {}): any;
|
15
|
+
default?(_: {}): any;
|
16
|
+
footer?(_: {}): any;
|
17
|
+
metadata?(_: {}): any;
|
18
|
+
};
|
19
|
+
refs: {};
|
20
|
+
attrs: Partial<{}>;
|
21
|
+
};
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<JDialogType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<JDialogType> & Readonly<{}>, {
|
12
24
|
width: string;
|
13
25
|
buttons: boolean;
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
15
|
-
|
16
|
-
"heading-actions"?(_: {}): any;
|
17
|
-
default?(_: {}): any;
|
18
|
-
footer?(_: {}): any;
|
19
|
-
metadata?(_: {}): any;
|
20
|
-
}>;
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
21
28
|
export default _default;
|
22
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
23
30
|
new (): {
|
@@ -7,16 +7,23 @@ export interface BtnProps {
|
|
7
7
|
color: string;
|
8
8
|
tooltip?: string;
|
9
9
|
}
|
10
|
-
declare
|
10
|
+
declare function __VLS_template(): {
|
11
|
+
slots: {
|
12
|
+
default?(_: {}): any;
|
13
|
+
};
|
14
|
+
refs: {};
|
15
|
+
attrs: Partial<{}>;
|
16
|
+
};
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<BtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
11
19
|
click: (...args: any[]) => void;
|
12
20
|
}, string, import('vue').PublicProps, Readonly<BtnProps> & Readonly<{
|
13
21
|
onClick?: ((...args: any[]) => any) | undefined;
|
14
22
|
}>, {
|
15
23
|
color: string;
|
16
|
-
variant: "
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
18
|
-
|
19
|
-
}>;
|
24
|
+
variant: VBtn["variant"];
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
20
27
|
export default _default;
|
21
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
22
29
|
new (): {
|
@@ -7,29 +7,10 @@ export interface Props<T> {
|
|
7
7
|
tooltip?: string;
|
8
8
|
size?: number;
|
9
9
|
}
|
10
|
-
declare const _default: <T>(__VLS_props: {
|
11
|
-
|
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: {
|
10
|
+
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<{
|
11
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
26
12
|
readonly onClick?: ((...args: any[]) => any) | undefined;
|
27
|
-
|
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;
|
13
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onClick"> & Props<T>> & import('vue').PublicProps;
|
33
14
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
34
15
|
attrs: any;
|
35
16
|
slots: {
|
@@ -40,23 +21,7 @@ declare const _default: <T>(__VLS_props: {
|
|
40
21
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
41
22
|
[key: string]: any;
|
42
23
|
}> & {
|
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;
|
24
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
60
25
|
};
|
61
26
|
export default _default;
|
62
27
|
type __VLS_PrettifyLocal<T> = {
|
@@ -1,14 +1,14 @@
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
2
2
|
modelValue: string;
|
3
|
-
name?: string
|
4
|
-
label?: string
|
3
|
+
name?: string;
|
4
|
+
label?: string;
|
5
5
|
type: "text" | "password" | "email" | "date";
|
6
6
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
7
7
|
"update:modelValue": (...args: any[]) => void;
|
8
8
|
}, string, import('vue').PublicProps, Readonly<{
|
9
9
|
modelValue: string;
|
10
|
-
name?: string
|
11
|
-
label?: string
|
10
|
+
name?: string;
|
11
|
+
label?: string;
|
12
12
|
type: "text" | "password" | "email" | "date";
|
13
13
|
}> & Readonly<{
|
14
14
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
@@ -1,14 +1,21 @@
|
|
1
|
-
declare
|
2
|
-
|
3
|
-
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
slots: {
|
3
|
+
default?(_: {}): any;
|
4
|
+
};
|
5
|
+
refs: {};
|
6
|
+
attrs: Partial<{}>;
|
7
|
+
};
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
10
|
+
title?: string;
|
11
|
+
height?: string;
|
4
12
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
5
|
-
title?: string
|
6
|
-
height?: string
|
13
|
+
title?: string;
|
14
|
+
height?: string;
|
7
15
|
}> & Readonly<{}>, {
|
8
16
|
height: string;
|
9
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
10
|
-
|
11
|
-
}>;
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
12
19
|
export default _default;
|
13
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
14
21
|
new (): {
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { TablerIconComponent } from 'vue-tabler-icons';
|
2
2
|
declare const _default: import('vue').DefineComponent<{
|
3
3
|
item: string | TablerIconComponent | SVGElement;
|
4
|
-
level?: number
|
5
|
-
size?: number
|
6
|
-
stroke?: number
|
7
|
-
color?: string
|
8
|
-
svg?: SVGElement | null
|
4
|
+
level?: number;
|
5
|
+
size?: number;
|
6
|
+
stroke?: number;
|
7
|
+
color?: string;
|
8
|
+
svg?: SVGElement | null;
|
9
9
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
10
10
|
item: string | TablerIconComponent | SVGElement;
|
11
|
-
level?: number
|
12
|
-
size?: number
|
13
|
-
stroke?: number
|
14
|
-
color?: string
|
15
|
-
svg?: SVGElement | null
|
11
|
+
level?: number;
|
12
|
+
size?: number;
|
13
|
+
stroke?: number;
|
14
|
+
color?: string;
|
15
|
+
svg?: SVGElement | null;
|
16
16
|
}> & Readonly<{}>, {
|
17
17
|
size: number;
|
18
18
|
color: string;
|
@@ -1,32 +1,39 @@
|
|
1
1
|
import { UiTableHeader } from '../../types/UiTableHeader';
|
2
|
-
declare
|
3
|
-
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
actions?(_: {
|
5
|
+
item: 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
|
+
headers?: UiTableHeader[];
|
4
14
|
items: any[];
|
5
15
|
actions?: any;
|
6
|
-
loading?: boolean
|
7
|
-
columns?: UiTableHeader[]
|
16
|
+
loading?: boolean;
|
17
|
+
columns?: UiTableHeader[];
|
8
18
|
sortBy?: {
|
9
19
|
key: string;
|
10
|
-
order: "
|
11
|
-
}[]
|
20
|
+
order: "asc" | "desc";
|
21
|
+
}[];
|
12
22
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
13
|
-
headers?: UiTableHeader[]
|
23
|
+
headers?: UiTableHeader[];
|
14
24
|
items: any[];
|
15
25
|
actions?: any;
|
16
|
-
loading?: boolean
|
17
|
-
columns?: UiTableHeader[]
|
26
|
+
loading?: boolean;
|
27
|
+
columns?: UiTableHeader[];
|
18
28
|
sortBy?: {
|
19
29
|
key: string;
|
20
|
-
order: "
|
21
|
-
}[]
|
30
|
+
order: "asc" | "desc";
|
31
|
+
}[];
|
22
32
|
}> & Readonly<{}>, {
|
23
33
|
items: any[];
|
24
34
|
columns: UiTableHeader[];
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
26
|
-
|
27
|
-
item: any;
|
28
|
-
}): any;
|
29
|
-
}>;
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
30
37
|
export default _default;
|
31
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
32
39
|
new (): {
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "jplan-pack",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.2",
|
4
4
|
"files": ["dist"],
|
5
5
|
"main": "./dist/jplan-lib.es.js",
|
6
6
|
"types": "./dist/types/index.d.ts",
|
@@ -29,8 +29,7 @@
|
|
29
29
|
"vuetify": "^3.7.4"
|
30
30
|
},
|
31
31
|
"peerDependencies": {
|
32
|
-
"
|
33
|
-
"vue": "^3.3.4"
|
32
|
+
"vue": "^3.0.0"
|
34
33
|
},
|
35
34
|
"devDependencies": {
|
36
35
|
"@types/node": "^20.3.3",
|
@@ -44,7 +43,7 @@
|
|
44
43
|
"vue-cli-plugin-vuetify": "2.5.8",
|
45
44
|
"vue-tsc": "^2.1.10"
|
46
45
|
},
|
47
|
-
"module": "./dist/jplan-
|
46
|
+
"module": "./dist/jplan-pack.es.js",
|
48
47
|
"repository": {
|
49
48
|
"type": "git",
|
50
49
|
"url": "git+https://github.com/wuruoyun/vue-component-lib-starter.git"
|
@@ -1,41 +0,0 @@
|
|
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
|
-
};
|
@@ -1,82 +0,0 @@
|
|
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;
|