unika-components 1.0.393 → 1.0.395
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/src/components/UniShape/UniShape.vue.d.ts +10 -0
- package/dist/src/components/WorkRender/WorkRender.vue.d.ts +18 -9
- package/dist/src/composables/useTouchHandler.d.ts +2 -3
- package/dist/src/defaultProps.d.ts +1 -1
- package/dist/unika-components.css +2021 -968
- package/dist/unika-components.esm.js +418 -679
- package/dist/unika-components.umd.js +415 -676
- package/package.json +1 -1
|
@@ -10,6 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
+
unint: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
13
17
|
}, {
|
|
14
18
|
properties: import("vue").ComputedRef<{
|
|
15
19
|
visible: boolean;
|
|
@@ -98,6 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
102
|
svgPathColor?: string | undefined;
|
|
99
103
|
}>;
|
|
100
104
|
svgContent: import("vue").Ref<string | null>;
|
|
105
|
+
processedSvg: import("vue").ComputedRef<string | null>;
|
|
101
106
|
isLoading: import("vue").Ref<boolean>;
|
|
102
107
|
loadError: import("vue").Ref<boolean>;
|
|
103
108
|
containerStyle: import("vue").ComputedRef<{
|
|
@@ -125,7 +130,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
130
|
type: StringConstructor;
|
|
126
131
|
default: string;
|
|
127
132
|
};
|
|
133
|
+
unint: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
128
137
|
}>>, {
|
|
129
138
|
preserveAspectRatio: string;
|
|
139
|
+
unint: string;
|
|
130
140
|
}, {}>;
|
|
131
141
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
1
|
import { WorkData, GlobalData, PageData, PersonalData } from '../../defaultProps';
|
|
3
2
|
declare const _default: import("vue").DefineComponent<{
|
|
4
3
|
workData: {
|
|
@@ -9,27 +8,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
8
|
type: BooleanConstructor;
|
|
10
9
|
default: boolean;
|
|
11
10
|
};
|
|
11
|
+
unit: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
12
15
|
}, {
|
|
13
|
-
bgMusic: Ref<HTMLAudioElement | null>;
|
|
16
|
+
bgMusic: import("vue").Ref<HTMLAudioElement | null>;
|
|
14
17
|
personalData: import("vue").ComputedRef<PersonalData>;
|
|
15
18
|
global: import("vue").ComputedRef<GlobalData>;
|
|
16
|
-
pages: import("vue").ComputedRef<PageData[]>;
|
|
17
|
-
displayPages: import("vue").ComputedRef<PageData[]>;
|
|
18
|
-
currentPageId: Ref<string>;
|
|
19
|
+
pages: import("vue").ComputedRef<[] | PageData[]>;
|
|
20
|
+
displayPages: import("vue").ComputedRef<[] | PageData[]>;
|
|
21
|
+
currentPageId: import("vue").Ref<string>;
|
|
22
|
+
currentTransition: import("vue").ComputedRef<string>;
|
|
19
23
|
containerStyle: import("vue").ComputedRef<{
|
|
20
24
|
width: string;
|
|
21
25
|
height: string;
|
|
22
26
|
backgroundColor: string;
|
|
23
27
|
}>;
|
|
24
28
|
showPageIndicator: import("vue").ComputedRef<boolean>;
|
|
25
|
-
pageTransition: import("vue").ComputedRef<"fade" | "slide-up" | "slide-down">;
|
|
26
29
|
isScrollMode: import("vue").ComputedRef<boolean>;
|
|
27
|
-
showPopup: Ref<boolean>;
|
|
30
|
+
showPopup: import("vue").Ref<boolean>;
|
|
31
|
+
direction: import("vue").Ref<"down" | "up">;
|
|
28
32
|
getPageStyle: (page: PageData) => {
|
|
29
33
|
backgroundColor: string;
|
|
30
34
|
backgroundImage: string;
|
|
31
35
|
opacity: string;
|
|
32
|
-
animation: string;
|
|
33
36
|
};
|
|
34
37
|
handleSubmit: (formData: Record<string, any>) => Promise<void>;
|
|
35
38
|
switchPage: (pageId: string) => void;
|
|
@@ -38,13 +41,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
41
|
eventType: string;
|
|
39
42
|
data: any;
|
|
40
43
|
}) => void;
|
|
44
|
+
beforeEnter: (el: HTMLElement) => void;
|
|
45
|
+
afterEnter: (el: HTMLElement) => void;
|
|
41
46
|
handleTouchStart: (e: TouchEvent) => void;
|
|
42
47
|
handleTouchMove: (e: TouchEvent) => void;
|
|
43
48
|
handleTouchEnd: (e: TouchEvent) => void;
|
|
44
49
|
handleMouseDown: (e: MouseEvent) => void;
|
|
45
50
|
handleMouseMove: (e: MouseEvent) => void;
|
|
46
51
|
handleMouseUp: (e: MouseEvent) => void;
|
|
47
|
-
getPageClasses: (page: PageData) => string[];
|
|
48
52
|
getComponentName: (type: string) => string;
|
|
49
53
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
54
|
workData: {
|
|
@@ -55,7 +59,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
59
|
type: BooleanConstructor;
|
|
56
60
|
default: boolean;
|
|
57
61
|
};
|
|
62
|
+
unit: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
58
66
|
}>>, {
|
|
59
67
|
autoPlay: boolean;
|
|
68
|
+
unit: string;
|
|
60
69
|
}, {}>;
|
|
61
70
|
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare function useTouchHandler(pages: Ref<PageData[]>, currentPageId: Ref<string>, deltaY: Ref<number>): {
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export declare function useTouchHandler(pages: Ref<any[]>, currentPageId: Ref<string>, direction: Ref<'up' | 'down'>, isLoopEnabled: Ref<boolean>): {
|
|
4
3
|
handleTouchStart: (e: TouchEvent) => void;
|
|
5
4
|
handleTouchMove: (e: TouchEvent) => void;
|
|
6
5
|
handleTouchEnd: (e: TouchEvent) => void;
|