@d0rich/esprit-design 0.2.1 → 0.2.3

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.
Files changed (85) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/components/DChip.vue.d.ts +2 -0
  3. package/dist/components/DPagination.vue.d.ts +30 -0
  4. package/dist/components/DStats.vue.d.ts +27 -0
  5. package/dist/components/animations/DAnimationAccordion.vue.d.ts +23 -0
  6. package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +2 -0
  7. package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +23 -0
  8. package/dist/components/animations/DAnimationHypnosis.vue.d.ts +23 -0
  9. package/dist/components/animations/DAnimationSpinner.vue.d.ts +23 -0
  10. package/dist/components/animations/index.d.ts +5 -0
  11. package/dist/components/buttons/DBigBangButton.vue.d.ts +35 -0
  12. package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +2 -0
  13. package/dist/components/buttons/DBtn.vue.d.ts +97 -0
  14. package/dist/components/buttons/index.d.ts +4 -0
  15. package/dist/components/cards/DCard.vue.d.ts +24 -0
  16. package/dist/components/cards/DCardTitle.vue.d.ts +2 -0
  17. package/dist/components/cards/index.d.ts +3 -0
  18. package/dist/components/content/DAlert.vue.d.ts +21 -0
  19. package/dist/components/content/DQuote.vue.d.ts +21 -0
  20. package/dist/components/content/index.d.ts +3 -0
  21. package/dist/components/index.d.ts +10 -0
  22. package/dist/components/lists/DActionsFan.vue.d.ts +55 -0
  23. package/dist/components/lists/DActionsList.vue.d.ts +50 -0
  24. package/dist/components/lists/index.d.ts +3 -0
  25. package/dist/components/utils/DWrapBackground.vue.d.ts +68 -0
  26. package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +67 -0
  27. package/dist/components/utils/DWrapShape.vue.d.ts +33 -0
  28. package/dist/components/utils/index.d.ts +4 -0
  29. package/dist/composables/big-bang-button-utils.d.ts +3 -0
  30. package/dist/composables/index.d.ts +2 -0
  31. package/dist/composables/router.d.ts +17 -0
  32. package/dist/composables/utils.d.ts +4 -0
  33. package/dist/esprit-design.js +4595 -0
  34. package/dist/esprit-design.umd.cjs +17 -0
  35. package/dist/index.d.ts +3 -0
  36. package/dist/style.css +1 -0
  37. package/dist/utils/boundings.d.ts +16 -0
  38. package/dist/utils/index.d.ts +3 -0
  39. package/dist/utils/pagination.d.ts +1 -0
  40. package/dist/utils/polygon-animation.d.ts +53 -0
  41. package/index.html +13 -0
  42. package/package.json +1 -4
  43. package/plugins/shadows.js +87 -0
  44. package/src/components/DChip.vue +32 -0
  45. package/src/components/DPagination.vue +91 -0
  46. package/src/components/DStats.vue +502 -0
  47. package/src/components/animations/DAnimationAccordion.vue +103 -0
  48. package/src/components/animations/DAnimationDefLetterD.vue +11 -0
  49. package/src/components/animations/DAnimationFloatingLetter.vue +58 -0
  50. package/src/components/animations/DAnimationHypnosis.vue +102 -0
  51. package/src/components/animations/DAnimationSpinner.vue +114 -0
  52. package/src/components/animations/index.ts +11 -0
  53. package/src/components/buttons/DBigBangButton.vue +70 -0
  54. package/src/components/buttons/DBigBangButtonAnimation.vue +117 -0
  55. package/src/components/buttons/DBtn.vue +106 -0
  56. package/src/components/buttons/index.ts +5 -0
  57. package/src/components/cards/DCard.vue +98 -0
  58. package/src/components/cards/DCardTitle.vue +67 -0
  59. package/src/components/cards/index.ts +4 -0
  60. package/src/components/content/DAlert.vue +112 -0
  61. package/src/components/content/DQuote.vue +71 -0
  62. package/src/components/content/index.ts +4 -0
  63. package/src/components/index.ts +12 -0
  64. package/src/components/lists/DActionsFan.vue +153 -0
  65. package/src/components/lists/DActionsList.vue +100 -0
  66. package/src/components/lists/index.ts +4 -0
  67. package/src/components/utils/DWrapBackground.vue +76 -0
  68. package/src/components/utils/DWrapFocusHighlight.vue +241 -0
  69. package/src/components/utils/DWrapShape.vue +170 -0
  70. package/src/components/utils/index.ts +7 -0
  71. package/src/composables/big-bang-button-utils.ts +7 -0
  72. package/src/composables/index.ts +2 -0
  73. package/src/composables/router.ts +66 -0
  74. package/src/composables/utils.ts +5 -0
  75. package/src/index.ts +3 -0
  76. package/src/style.css +3 -0
  77. package/src/utils/boundings.ts +35 -0
  78. package/src/utils/index.ts +3 -0
  79. package/src/utils/pagination.ts +4 -0
  80. package/src/utils/polygon-animation.ts +139 -0
  81. package/src/vite-env.d.ts +1 -0
  82. package/tailwind.config.js +22 -0
  83. package/tsconfig.json +25 -0
  84. package/tsconfig.node.json +10 -0
  85. package/vite.config.ts +35 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
1
+ # @d0rich/esprit-design
2
+
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - f33f4d9: Update list of published files
8
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 73798aa: Build before publishing
14
+
15
+ ## 0.2.1
16
+
17
+ ### Patch Changes
18
+
19
+ - f0811da: Update publish config
20
+
21
+ ## 0.2.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 660dbee: First published version
26
+
27
+ ## 0.1.0
28
+
29
+ ### Minor Changes
30
+
31
+ - c3d11c9: Extract components from Nuxt design system to the general Vue package
@@ -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,4 @@
1
+ import DBigBangButtonAnimation from './DBigBangButtonAnimation.vue';
2
+ import DBigBangButton from './DBigBangButton.vue';
3
+ import DBtn from './DBtn.vue';
4
+ export { DBigBangButtonAnimation, DBigBangButton, DBtn };
@@ -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,3 @@
1
+ import DCard from './DCard.vue';
2
+ import DCardTitle from './DCardTitle.vue';
3
+ export { DCard, DCardTitle };
@@ -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,3 @@
1
+ import DAlert from './DAlert.vue';
2
+ import DQuote from './DQuote.vue';
3
+ export { DAlert, DQuote };
@@ -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,3 @@
1
+ import DActionsFan, { type ActionFanItem } from './DActionsFan.vue';
2
+ import DActionsList, { type ActionListItem } from './DActionsList.vue';
3
+ export { DActionsFan, ActionFanItem, DActionsList, ActionListItem };
@@ -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
+ };