@d0rich/esprit-design 0.2.1 → 0.2.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/components/DChip.vue.d.ts +2 -0
- package/dist/components/DPagination.vue.d.ts +30 -0
- package/dist/components/DStats.vue.d.ts +27 -0
- package/dist/components/animations/DAnimationAccordion.vue.d.ts +23 -0
- package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +2 -0
- package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +23 -0
- package/dist/components/animations/DAnimationHypnosis.vue.d.ts +23 -0
- package/dist/components/animations/DAnimationSpinner.vue.d.ts +23 -0
- package/dist/components/animations/index.d.ts +5 -0
- package/dist/components/buttons/DBigBangButton.vue.d.ts +35 -0
- package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +2 -0
- package/dist/components/buttons/DBtn.vue.d.ts +97 -0
- package/dist/components/buttons/index.d.ts +4 -0
- package/dist/components/cards/DCard.vue.d.ts +24 -0
- package/dist/components/cards/DCardTitle.vue.d.ts +2 -0
- package/dist/components/cards/index.d.ts +3 -0
- package/dist/components/content/DAlert.vue.d.ts +21 -0
- package/dist/components/content/DQuote.vue.d.ts +21 -0
- package/dist/components/content/index.d.ts +3 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/lists/DActionsFan.vue.d.ts +55 -0
- package/dist/components/lists/DActionsList.vue.d.ts +50 -0
- package/dist/components/lists/index.d.ts +3 -0
- package/dist/components/utils/DWrapBackground.vue.d.ts +68 -0
- package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +67 -0
- package/dist/components/utils/DWrapShape.vue.d.ts +33 -0
- package/dist/components/utils/index.d.ts +4 -0
- package/dist/composables/big-bang-button-utils.d.ts +3 -0
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/router.d.ts +17 -0
- package/dist/composables/utils.d.ts +4 -0
- package/dist/esprit-design.js +4595 -0
- package/dist/esprit-design.umd.cjs +17 -0
- package/dist/index.d.ts +3 -0
- package/dist/style.css +1 -0
- package/dist/utils/boundings.d.ts +16 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/pagination.d.ts +1 -0
- package/dist/utils/polygon-animation.d.ts +53 -0
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
currentPage: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
allPages: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
baseLink: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
currentPage: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
allPages: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
baseLink: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
currentPage: number;
|
|
29
|
+
}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type StatsProps = {
|
|
2
|
+
groupTitle?: string;
|
|
3
|
+
titles: string[];
|
|
4
|
+
values: number[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<StatsProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<StatsProps>>>, {}, {}>, {
|
|
7
|
+
"icon-1"?(_: {}): any;
|
|
8
|
+
"icon-2"?(_: {}): any;
|
|
9
|
+
"icon-3"?(_: {}): any;
|
|
10
|
+
"icon-4"?(_: {}): any;
|
|
11
|
+
"icon-5"?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
wigglePeriod: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
delay: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
wigglePeriod: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
delay: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
wigglePeriod: number;
|
|
21
|
+
delay: number;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
floatPeriod: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
pathClass: {
|
|
7
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
floatPeriod: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
pathClass: {
|
|
16
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
floatPeriod: number;
|
|
21
|
+
pathClass: string | Record<string, boolean>;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
wigglePeriod: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
delay: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
wigglePeriod: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
delay: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
wigglePeriod: number;
|
|
21
|
+
delay: number;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
spinPeriod: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
bladeWigglePeriod: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
spinPeriod: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
bladeWigglePeriod: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
spinPeriod: number;
|
|
21
|
+
bladeWigglePeriod: number;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import DAnimationAccordion from './DAnimationAccordion.vue';
|
|
2
|
+
import DAnimationFloatingLetter from './DAnimationFloatingLetter.vue';
|
|
3
|
+
import DAnimationHypnosis from './DAnimationHypnosis.vue';
|
|
4
|
+
import DAnimationSpinner from './DAnimationSpinner.vue';
|
|
5
|
+
export { DAnimationAccordion, DAnimationFloatingLetter, DAnimationHypnosis, DAnimationSpinner };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
tag: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
to: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
click: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
text: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
tag: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
to: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
tag: string;
|
|
33
|
+
to: string;
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { HighlightVariant } from '../utils/index';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
to: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
href: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* If true, the highlight will be shown only if the link is exact string a URL.
|
|
13
|
+
*/
|
|
14
|
+
exact: BooleanConstructor;
|
|
15
|
+
/**
|
|
16
|
+
* Turn off the highlight for active links.
|
|
17
|
+
*/
|
|
18
|
+
noPassiveHighlight: BooleanConstructor;
|
|
19
|
+
/**
|
|
20
|
+
* Turn on the highlight even if the link is not active.
|
|
21
|
+
*/
|
|
22
|
+
active: BooleanConstructor;
|
|
23
|
+
noRotate: BooleanConstructor;
|
|
24
|
+
tag: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
highlight: {
|
|
29
|
+
type: () => HighlightVariant;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
colorClass: {
|
|
33
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
textTransform: {
|
|
37
|
+
type: () => 'uppercase' | 'capitalize' | 'lowercase' | 'none';
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
to: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
href: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* If true, the highlight will be shown only if the link is exact string a URL.
|
|
51
|
+
*/
|
|
52
|
+
exact: BooleanConstructor;
|
|
53
|
+
/**
|
|
54
|
+
* Turn off the highlight for active links.
|
|
55
|
+
*/
|
|
56
|
+
noPassiveHighlight: BooleanConstructor;
|
|
57
|
+
/**
|
|
58
|
+
* Turn on the highlight even if the link is not active.
|
|
59
|
+
*/
|
|
60
|
+
active: BooleanConstructor;
|
|
61
|
+
noRotate: BooleanConstructor;
|
|
62
|
+
tag: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
highlight: {
|
|
67
|
+
type: () => HighlightVariant;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
colorClass: {
|
|
71
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
textTransform: {
|
|
75
|
+
type: () => 'uppercase' | 'capitalize' | 'lowercase' | 'none';
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
}>>, {
|
|
79
|
+
tag: string;
|
|
80
|
+
active: boolean;
|
|
81
|
+
colorClass: string | Record<string, boolean>;
|
|
82
|
+
to: string;
|
|
83
|
+
href: string;
|
|
84
|
+
exact: boolean;
|
|
85
|
+
noPassiveHighlight: boolean;
|
|
86
|
+
noRotate: boolean;
|
|
87
|
+
highlight: HighlightVariant;
|
|
88
|
+
textTransform: "uppercase" | "capitalize" | "lowercase" | "none";
|
|
89
|
+
}, {}>, {
|
|
90
|
+
default?(_: {}): any;
|
|
91
|
+
}>;
|
|
92
|
+
export default _default;
|
|
93
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
94
|
+
new (): {
|
|
95
|
+
$slots: S;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
mode: {
|
|
3
|
+
type: () => 'default' | 'homepage-story' | 'homepage-skills';
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
dense: BooleanConstructor;
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
mode: {
|
|
9
|
+
type: () => 'default' | 'homepage-story' | 'homepage-skills';
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
dense: BooleanConstructor;
|
|
13
|
+
}>>, {
|
|
14
|
+
mode: "default" | "homepage-story" | "homepage-skills";
|
|
15
|
+
dense: boolean;
|
|
16
|
+
}, {}>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: () => "info" | "question" | "warning";
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
type: {
|
|
8
|
+
type: () => "info" | "question" | "warning";
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
type: "info" | "question" | "warning";
|
|
13
|
+
}, {}>, {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
direction: {
|
|
3
|
+
type: () => "left" | "right";
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
direction: {
|
|
8
|
+
type: () => "left" | "right";
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
direction: "left" | "right";
|
|
13
|
+
}, {}>, {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import DChip from './DChip.vue';
|
|
2
|
+
import DPagination from './DPagination.vue';
|
|
3
|
+
import DStats from './DStats.vue';
|
|
4
|
+
export { DChip, DPagination, DStats };
|
|
5
|
+
export * from './animations';
|
|
6
|
+
export * from './buttons';
|
|
7
|
+
export * from './cards';
|
|
8
|
+
export * from './content';
|
|
9
|
+
export * from './lists';
|
|
10
|
+
export * from './utils';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
export type ActionFanItem<TEmit = any> = {
|
|
3
|
+
title: string;
|
|
4
|
+
emit?: TEmit;
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
shapeClass?: string;
|
|
8
|
+
shapeStyle?: CSSProperties;
|
|
9
|
+
attrs?: {
|
|
10
|
+
to?: string;
|
|
11
|
+
href?: string;
|
|
12
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
13
|
+
[k: string]: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import("vue").DefineComponent<{
|
|
17
|
+
actions: {
|
|
18
|
+
type: () => ActionFanItem[];
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
side: {
|
|
22
|
+
type: () => 'right' | 'left';
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
filterClass: {
|
|
26
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
actionFocus: (...args: any[]) => void;
|
|
31
|
+
actionUnfocus: (...args: any[]) => void;
|
|
32
|
+
actionChoose: (...args: any[]) => void;
|
|
33
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
actions: {
|
|
35
|
+
type: () => ActionFanItem[];
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
side: {
|
|
39
|
+
type: () => 'right' | 'left';
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
filterClass: {
|
|
43
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}>> & {
|
|
47
|
+
onActionFocus?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
onActionUnfocus?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onActionChoose?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
filterClass: string | Record<string, boolean>;
|
|
52
|
+
actions: ActionFanItem<any>[];
|
|
53
|
+
side: "left" | "right";
|
|
54
|
+
}, {}>;
|
|
55
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type HighlightVariant } from '../utils/DWrapFocusHighlight.vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
actions: {
|
|
4
|
+
type: () => ActionListItem[];
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
listClass: {
|
|
8
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
actionFocus: (...args: any[]) => void;
|
|
13
|
+
actionUnfocus: (...args: any[]) => void;
|
|
14
|
+
actionChoose: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
actions: {
|
|
17
|
+
type: () => ActionListItem[];
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
listClass: {
|
|
21
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
25
|
+
onActionFocus?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onActionUnfocus?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onActionChoose?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
actions: ActionListItem<any>[];
|
|
30
|
+
listClass: string | Record<string, boolean>;
|
|
31
|
+
}, {}>, {
|
|
32
|
+
header?(_: {}): any;
|
|
33
|
+
}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type ActionListItem<TEmit = any> = {
|
|
41
|
+
title: string;
|
|
42
|
+
emit?: TEmit;
|
|
43
|
+
attrs?: {
|
|
44
|
+
to?: string;
|
|
45
|
+
href?: string;
|
|
46
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
47
|
+
highlightVariant?: HighlightVariant;
|
|
48
|
+
[k: string]: any;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type StyleValue } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
overlayClass: {
|
|
4
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
overlayStyle: {
|
|
8
|
+
type: () => StyleValue;
|
|
9
|
+
default: () => void;
|
|
10
|
+
};
|
|
11
|
+
dotsClass: {
|
|
12
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
dotsStyle: {
|
|
16
|
+
type: () => StyleValue;
|
|
17
|
+
default: () => void;
|
|
18
|
+
};
|
|
19
|
+
dots: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
tag: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
overlayClass: {
|
|
29
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
overlayStyle: {
|
|
33
|
+
type: () => StyleValue;
|
|
34
|
+
default: () => void;
|
|
35
|
+
};
|
|
36
|
+
dotsClass: {
|
|
37
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
dotsStyle: {
|
|
41
|
+
type: () => StyleValue;
|
|
42
|
+
default: () => void;
|
|
43
|
+
};
|
|
44
|
+
dots: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
tag: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
}>>, {
|
|
53
|
+
tag: string;
|
|
54
|
+
overlayClass: string | Record<string, boolean>;
|
|
55
|
+
overlayStyle: StyleValue;
|
|
56
|
+
dotsClass: string | Record<string, boolean>;
|
|
57
|
+
dotsStyle: StyleValue;
|
|
58
|
+
dots: boolean;
|
|
59
|
+
}, {}>, {
|
|
60
|
+
svg?(_: {}): any;
|
|
61
|
+
default?(_: {}): any;
|
|
62
|
+
}>;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export type HighlightVariant = 'negative-tile' | 'list-item' | 'negative-list-item' | 'composite-list-item';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* If true, the highlight will be shown only if the link is exact string a URL.
|
|
5
|
+
*/
|
|
6
|
+
linkExact: BooleanConstructor;
|
|
7
|
+
/**
|
|
8
|
+
* Turn off the highlight for active links.
|
|
9
|
+
*/
|
|
10
|
+
noPassiveLink: BooleanConstructor;
|
|
11
|
+
/**
|
|
12
|
+
* Turn on the highlight even if the link is not active.
|
|
13
|
+
*/
|
|
14
|
+
active: BooleanConstructor;
|
|
15
|
+
variant: {
|
|
16
|
+
type: () => HighlightVariant;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
tag: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
colorClass: {
|
|
24
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
/**
|
|
29
|
+
* If true, the highlight will be shown only if the link is exact string a URL.
|
|
30
|
+
*/
|
|
31
|
+
linkExact: BooleanConstructor;
|
|
32
|
+
/**
|
|
33
|
+
* Turn off the highlight for active links.
|
|
34
|
+
*/
|
|
35
|
+
noPassiveLink: BooleanConstructor;
|
|
36
|
+
/**
|
|
37
|
+
* Turn on the highlight even if the link is not active.
|
|
38
|
+
*/
|
|
39
|
+
active: BooleanConstructor;
|
|
40
|
+
variant: {
|
|
41
|
+
type: () => HighlightVariant;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
tag: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
colorClass: {
|
|
49
|
+
type: (StringConstructor | (() => Record<string, boolean>))[];
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
}>>, {
|
|
53
|
+
tag: string;
|
|
54
|
+
linkExact: boolean;
|
|
55
|
+
noPassiveLink: boolean;
|
|
56
|
+
active: boolean;
|
|
57
|
+
variant: HighlightVariant;
|
|
58
|
+
colorClass: string | Record<string, boolean>;
|
|
59
|
+
}, {}>, {
|
|
60
|
+
default?(_: {}): any;
|
|
61
|
+
}>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|