unika-components 1.0.396 → 1.0.399

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.
@@ -1,5 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import type { ElementData } from '@/defaultProps';
3
+ import '../../assets/css/calendar.css';
3
4
  declare const _default: import("vue").DefineComponent<{
4
5
  element: {
5
6
  type: PropType<ElementData>;
@@ -26,11 +27,12 @@ declare const _default: import("vue").DefineComponent<{
26
27
  opacity: number;
27
28
  }>;
28
29
  aniWrapStyle: import("vue").ComputedRef<{
29
- backgroundColor: string;
30
+ backgroundColor: string | undefined;
30
31
  borderRadius: string;
31
32
  borderColor: string | undefined;
32
- borderStyle: string;
33
+ borderStyle: string | undefined;
33
34
  borderWidth: string;
35
+ animation: string | undefined;
34
36
  }>;
35
37
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
38
  element: {
@@ -9,35 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  default: string;
10
10
  };
11
11
  }, {
12
- css: import("vue").ComputedRef<{
13
- fontFamily: string;
14
- fontSize: number;
15
- lineHeight: number;
16
- letterSpacing: number;
17
- fontWeight: string;
18
- textDecoration: string;
19
- textAlign: string;
20
- writingMode: string;
21
- webkitWritingMode: string;
22
- fontStyle: string;
23
- borderWidth: number;
24
- borderStyle: string;
25
- borderColor: string;
26
- color: string;
27
- opacity: number;
28
- width: number;
29
- height: number;
30
- left: number;
31
- top: number;
32
- transform: number;
33
- padding: number;
34
- backgroundColor: string;
35
- textIndent: number;
36
- borderRadius: number;
37
- animation: string;
38
- animation2: string;
39
- svgPathColor?: string | undefined;
40
- }>;
12
+ css: import("vue").ComputedRef<import("@/defaultProps").CssData>;
41
13
  btnText: import("vue").ComputedRef<string>;
42
14
  shadowStyle: import("vue").ComputedRef<string>;
43
15
  containerStyle: import("vue").ComputedRef<{
@@ -45,17 +45,17 @@ declare const _default: import("vue").DefineComponent<{
45
45
  }>;
46
46
  textContainerStyle: import("vue").ComputedRef<{
47
47
  transform: string;
48
- backgroundColor: string;
49
- borderColor: string;
48
+ backgroundColor: string | undefined;
49
+ borderColor: string | undefined;
50
50
  borderRadius: string;
51
- borderStyle: string;
51
+ borderStyle: string | undefined;
52
52
  borderWidth: string;
53
53
  }>;
54
54
  textContentStyle: import("vue").ComputedRef<{
55
55
  opacity: number;
56
56
  fontSize: string;
57
- color: string;
58
- textAlign: string;
57
+ color: string | undefined;
58
+ textAlign: string | undefined;
59
59
  }>;
60
60
  flipStyle: import("vue").ComputedRef<{
61
61
  transform: string;
@@ -64,23 +64,23 @@ declare const _default: import("vue").DefineComponent<{
64
64
  alignItems: string;
65
65
  }>;
66
66
  comStyle: import("vue").ComputedRef<{
67
- borderColor: string;
68
- borderStyle: string;
67
+ borderColor: string | undefined;
68
+ borderStyle: string | undefined;
69
69
  borderWidth: string;
70
70
  borderRadius: string;
71
- backgroundColor: string;
71
+ backgroundColor: string | undefined;
72
72
  margin: string;
73
73
  }>;
74
74
  numStyle: import("vue").ComputedRef<{
75
- color: string;
75
+ color: string | undefined;
76
76
  fontSize: string;
77
77
  }>;
78
78
  textStyle: import("vue").ComputedRef<{
79
- color: string;
79
+ color: string | undefined;
80
80
  fontSize: string;
81
81
  }>;
82
82
  separatorStyle: import("vue").ComputedRef<{
83
- color: string;
83
+ color: string | undefined;
84
84
  fontSize: string;
85
85
  margin: string;
86
86
  lineHeight: string;
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<{
18
18
  hasError: import("vue").Ref<boolean>;
19
19
  required: import("vue").ComputedRef<boolean>;
20
20
  containerStyles: import("vue").ComputedRef<{
21
- fontFamily: string;
21
+ fontFamily: string | undefined;
22
22
  fontSize: string;
23
- color: string;
23
+ color: string | undefined;
24
24
  opacity: number;
25
25
  left: string;
26
26
  top: string;
@@ -29,10 +29,10 @@ declare const _default: import("vue").DefineComponent<{
29
29
  transform: string;
30
30
  }>;
31
31
  innerStyles: import("vue").ComputedRef<{
32
- backgroundColor: string;
32
+ backgroundColor: string | undefined;
33
33
  borderRadius: string;
34
- borderColor: string;
35
- borderStyle: string;
34
+ borderColor: string | undefined;
35
+ borderStyle: string | undefined;
36
36
  borderWidth: string;
37
37
  }>;
38
38
  circleStyles: import("vue").ComputedRef<{
@@ -15,9 +15,9 @@ declare const _default: import("vue").DefineComponent<{
15
15
  };
16
16
  }, {
17
17
  containerStyle: import("vue").ComputedRef<{
18
- fontFamily: string;
18
+ fontFamily: string | undefined;
19
19
  fontSize: string;
20
- color: string;
20
+ color: string | undefined;
21
21
  opacity: number;
22
22
  left: string;
23
23
  top: string;
@@ -27,10 +27,10 @@ declare const _default: import("vue").DefineComponent<{
27
27
  zIndex: string | number;
28
28
  }>;
29
29
  innerStyle: import("vue").ComputedRef<{
30
- backgroundColor: string;
30
+ backgroundColor: string | undefined;
31
31
  borderRadius: string;
32
- borderColor: string;
33
- borderStyle: string;
32
+ borderColor: string | undefined;
33
+ borderStyle: string | undefined;
34
34
  borderWidth: string;
35
35
  position: string;
36
36
  }>;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
38
38
  width: string;
39
39
  maxHeight: string;
40
40
  overflowY: string;
41
- backgroundColor: string;
41
+ backgroundColor: string | undefined;
42
42
  border: string;
43
43
  borderRadius: string;
44
44
  borderTop: string;
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<{
18
18
  hasError: import("vue").Ref<boolean>;
19
19
  required: import("vue").ComputedRef<boolean>;
20
20
  containerStyles: import("vue").ComputedRef<{
21
- fontFamily: string;
21
+ fontFamily: string | undefined;
22
22
  fontSize: string;
23
- color: string;
23
+ color: string | undefined;
24
24
  opacity: number;
25
25
  left: string;
26
26
  top: string;
@@ -29,10 +29,10 @@ declare const _default: import("vue").DefineComponent<{
29
29
  transform: string;
30
30
  }>;
31
31
  innerStyles: import("vue").ComputedRef<{
32
- backgroundColor: string;
32
+ backgroundColor: string | undefined;
33
33
  borderRadius: string;
34
- borderColor: string;
35
- borderStyle: string;
34
+ borderColor: string | undefined;
35
+ borderStyle: string | undefined;
36
36
  borderWidth: string;
37
37
  }>;
38
38
  circleStyles: import("vue").ComputedRef<{
@@ -29,35 +29,7 @@ declare const _default: import("vue").DefineComponent<{
29
29
  opacity: number;
30
30
  }>;
31
31
  isSubmitting: import("vue").Ref<boolean>;
32
- css: import("vue").ComputedRef<{
33
- fontFamily: string;
34
- fontSize: number;
35
- lineHeight: number;
36
- letterSpacing: number;
37
- fontWeight: string;
38
- textDecoration: string;
39
- textAlign: string;
40
- writingMode: string;
41
- webkitWritingMode: string;
42
- fontStyle: string;
43
- borderWidth: number;
44
- borderStyle: string;
45
- borderColor: string;
46
- color: string;
47
- opacity: number;
48
- width: number;
49
- height: number;
50
- left: number;
51
- top: number;
52
- transform: number;
53
- padding: number;
54
- backgroundColor: string;
55
- textIndent: number;
56
- borderRadius: number;
57
- animation: string;
58
- animation2: string;
59
- svgPathColor?: string | undefined;
60
- }>;
32
+ css: import("vue").ComputedRef<import("@/defaultProps").CssData>;
61
33
  showMessage: import("vue").Ref<boolean>;
62
34
  message: import("vue").Ref<string>;
63
35
  isSuccess: import("vue").Ref<boolean>;
@@ -71,14 +71,14 @@ declare const _default: import("vue").DefineComponent<{
71
71
  transform: string;
72
72
  }>;
73
73
  imageStyle: import("vue").ComputedRef<{
74
- fontFamily: string;
74
+ fontFamily: string | undefined;
75
75
  fontSize: string;
76
- color: string;
76
+ color: string | undefined;
77
77
  opacity: number;
78
78
  borderRadius: string;
79
79
  borderWidth: string;
80
- borderStyle: string;
81
- borderColor: string;
80
+ borderStyle: string | undefined;
81
+ borderColor: string | undefined;
82
82
  boxShadow: string;
83
83
  }>;
84
84
  bgImageStyle: import("vue").ComputedRef<{
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<{
20
20
  transform: string;
21
21
  }>;
22
22
  aniWrapStyle: import("vue").ComputedRef<{
23
- borderColor: string;
24
- borderStyle: string;
23
+ borderColor: string | undefined;
24
+ borderStyle: string | undefined;
25
25
  borderWidth: string;
26
26
  borderRadius: string;
27
27
  }>;
@@ -31,8 +31,8 @@ declare const _default: import("vue").DefineComponent<{
31
31
  navButtonStyle: import("vue").ComputedRef<{
32
32
  opacity: number;
33
33
  fontSize: string;
34
- color: string;
35
- backgroundColor: string;
34
+ color: string | undefined;
35
+ backgroundColor: string | undefined;
36
36
  display: string;
37
37
  }>;
38
38
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -72,35 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  id: number;
73
73
  }[];
74
74
  }>;
75
- css: import("vue").ComputedRef<{
76
- fontFamily: string;
77
- fontSize: number;
78
- lineHeight: number;
79
- letterSpacing: number;
80
- fontWeight: string;
81
- textDecoration: string;
82
- textAlign: string;
83
- writingMode: string;
84
- webkitWritingMode: string;
85
- fontStyle: string;
86
- borderWidth: number;
87
- borderStyle: string;
88
- borderColor: string;
89
- color: string;
90
- opacity: number;
91
- width: number;
92
- height: number;
93
- left: number;
94
- top: number;
95
- transform: number;
96
- padding: number;
97
- backgroundColor: string;
98
- textIndent: number;
99
- borderRadius: number;
100
- animation: string;
101
- animation2: string;
102
- svgPathColor?: string | undefined;
103
- }>;
75
+ css: import("vue").ComputedRef<import("@/defaultProps").CssData>;
104
76
  svgContent: import("vue").Ref<string | null>;
105
77
  processedSvg: import("vue").ComputedRef<string | null>;
106
78
  isLoading: import("vue").Ref<boolean>;
@@ -5,35 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  required: true;
6
6
  };
7
7
  }, {
8
- css: {
9
- fontFamily: string;
10
- fontSize: number;
11
- lineHeight: number;
12
- letterSpacing: number;
13
- fontWeight: string;
14
- textDecoration: string;
15
- textAlign: string;
16
- writingMode: string;
17
- webkitWritingMode: string;
18
- fontStyle: string;
19
- borderWidth: number;
20
- borderStyle: string;
21
- borderColor: string;
22
- color: string;
23
- opacity: number;
24
- width: number;
25
- height: number;
26
- left: number;
27
- top: number;
28
- transform: number;
29
- padding: number;
30
- backgroundColor: string;
31
- textIndent: number;
32
- borderRadius: number;
33
- animation: string;
34
- animation2: string;
35
- svgPathColor?: string | undefined;
36
- };
8
+ css: import("../../defaultProps").CssData;
37
9
  properties: {
38
10
  visible: boolean;
39
11
  isLock: boolean;
@@ -122,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
122
94
  display: string;
123
95
  }>;
124
96
  textEditorStyle: import("vue").ComputedRef<{
125
- writingMode: string;
97
+ writingMode: string | undefined;
126
98
  display: string;
127
99
  fontFamily: string;
128
100
  fontSize: string;
@@ -11,35 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  }, {
12
12
  isPlaying: import("vue").Ref<boolean>;
13
13
  youtubeEmbedUrl: import("vue").ComputedRef<string>;
14
- css: import("vue").ComputedRef<{
15
- fontFamily: string;
16
- fontSize: number;
17
- lineHeight: number;
18
- letterSpacing: number;
19
- fontWeight: string;
20
- textDecoration: string;
21
- textAlign: string;
22
- writingMode: string;
23
- webkitWritingMode: string;
24
- fontStyle: string;
25
- borderWidth: number;
26
- borderStyle: string;
27
- borderColor: string;
28
- color: string;
29
- opacity: number;
30
- width: number;
31
- height: number;
32
- left: number;
33
- top: number;
34
- transform: number;
35
- padding: number;
36
- backgroundColor: string;
37
- textIndent: number;
38
- borderRadius: number;
39
- animation: string;
40
- animation2: string;
41
- svgPathColor?: string | undefined;
42
- }>;
14
+ css: import("vue").ComputedRef<import("@/defaultProps").CssData>;
43
15
  coverImage: import("vue").ComputedRef<string | undefined>;
44
16
  containerStyle: import("vue").ComputedRef<{
45
17
  left: string;
@@ -50,8 +22,8 @@ declare const _default: import("vue").DefineComponent<{
50
22
  opacity: number;
51
23
  borderRadius: string;
52
24
  borderWidth: string;
53
- borderStyle: string;
54
- borderColor: string;
25
+ borderStyle: string | undefined;
26
+ borderColor: string | undefined;
55
27
  }>;
56
28
  playVideo: () => void;
57
29
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -2,7 +2,7 @@ import { ElementData } from '../defaultProps';
2
2
  export declare function useElementStyle(element: ElementData): {
3
3
  elementStyle: import("vue").ComputedRef<{
4
4
  position: string;
5
- fontFamily: string;
5
+ fontFamily: string | undefined;
6
6
  fontSize: string;
7
7
  width: string;
8
8
  height: string;
@@ -12,7 +12,7 @@ export declare function useElementStyle(element: ElementData): {
12
12
  opacity: number;
13
13
  border: string;
14
14
  borderRadius: string;
15
- animation: string;
15
+ animation: string | undefined;
16
16
  boxShadow: string;
17
17
  }>;
18
18
  };
@@ -0,0 +1,10 @@
1
+ import { ElementData } from '../defaultProps';
2
+ export declare function commonStyle(element: ElementData, unit: string, size?: boolean): import("vue").ComputedRef<{
3
+ left: string;
4
+ top: string;
5
+ width: string;
6
+ height: string;
7
+ transform: string | number;
8
+ opacity: number;
9
+ }>;
10
+ export declare function aniWrapStyle(element: ElementData, unit: string): void;
@@ -0,0 +1,63 @@
1
+ export declare const calendarDefaultProps: {
2
+ id: string;
3
+ pid: string;
4
+ type: string;
5
+ layerName: string;
6
+ endTime: string;
7
+ language: string;
8
+ kind: number;
9
+ sign: boolean;
10
+ signSort: number;
11
+ showSize: string;
12
+ themeColor: string;
13
+ heartColor: string;
14
+ heartAni: boolean;
15
+ dateColor: string;
16
+ css: {
17
+ borderWidth: number;
18
+ borderStyle: string;
19
+ borderColor: string;
20
+ opacity: number;
21
+ backgroundColor: string;
22
+ width: number;
23
+ height: number;
24
+ borderRadius: number;
25
+ top: number;
26
+ left: number;
27
+ transform: number;
28
+ animation2: string;
29
+ animation: string;
30
+ };
31
+ properties: {
32
+ visible: boolean;
33
+ isLock: boolean;
34
+ required: boolean;
35
+ musicName: string;
36
+ musicLink: string;
37
+ musicHash: string;
38
+ shadowSize: number;
39
+ shadowColor: string;
40
+ shadowX: number;
41
+ shadowY: number;
42
+ shadowBlur: number;
43
+ shadowPoint: number;
44
+ aniOrigin: string;
45
+ animations: {
46
+ animate: string;
47
+ count: number;
48
+ timing: string;
49
+ loop: boolean;
50
+ delay: number;
51
+ duration: number;
52
+ name: string;
53
+ order: string;
54
+ type: string;
55
+ aniType: string;
56
+ allDelay: string;
57
+ id: number;
58
+ }[];
59
+ textAni: never[];
60
+ };
61
+ signType: string;
62
+ };
63
+ export default calendarDefaultProps;