unika-components 1.0.262 → 1.0.263
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.
|
@@ -17,27 +17,6 @@ button.uni-text-component {
|
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
white-space: pre-wrap;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
.uni-video-component {
|
|
22
|
-
position: relative;
|
|
23
|
-
text-align: center;
|
|
24
|
-
}
|
|
25
|
-
.play-pause-button {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 50%;
|
|
28
|
-
left: 50%;
|
|
29
|
-
transform: translate(-50%, -50%);
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
font-size: 2rem;
|
|
32
|
-
color: #fff;
|
|
33
|
-
background: rgba(0, 0, 0, 0.6);
|
|
34
|
-
border-radius: 50%;
|
|
35
|
-
padding: 10px;
|
|
36
|
-
transition: background 0.3s;
|
|
37
|
-
}
|
|
38
|
-
.play-pause-button:hover {
|
|
39
|
-
background: rgba(0, 0, 0, 0.8);
|
|
40
|
-
}
|
|
41
20
|
|
|
42
21
|
.slide-guide {
|
|
43
22
|
position: absolute;
|
|
@@ -112,10 +91,26 @@ body, html {
|
|
|
112
91
|
}
|
|
113
92
|
}
|
|
114
93
|
|
|
115
|
-
.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
94
|
+
.uni-video-component {
|
|
95
|
+
position: relative;
|
|
96
|
+
text-align: center;
|
|
97
|
+
}
|
|
98
|
+
.play-pause-button {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 50%;
|
|
101
|
+
left: 50%;
|
|
102
|
+
transform: translate(-50%, -50%);
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
font-size: 2rem;
|
|
105
|
+
color: #fff;
|
|
106
|
+
background: rgba(0, 0, 0, 0.6);
|
|
107
|
+
border-radius: 50%;
|
|
108
|
+
padding: 10px;
|
|
109
|
+
transition: background 0.3s;
|
|
110
|
+
}
|
|
111
|
+
.play-pause-button:hover {
|
|
112
|
+
background: rgba(0, 0, 0, 0.8);
|
|
113
|
+
}
|
|
119
114
|
|
|
120
115
|
|
|
121
116
|
.uni-calendar-component {
|
|
@@ -164,6 +159,16 @@ body, html {
|
|
|
164
159
|
vertical-align: top;
|
|
165
160
|
}
|
|
166
161
|
|
|
162
|
+
.effect {
|
|
163
|
+
width: 100%;
|
|
164
|
+
height: 100%;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.uni-lotties-component {
|
|
168
|
+
width: 100%;
|
|
169
|
+
height: 100%;
|
|
170
|
+
}
|
|
171
|
+
|
|
167
172
|
.like-button {
|
|
168
173
|
display: flex;
|
|
169
174
|
flex-direction: column;
|
|
@@ -189,15 +194,6 @@ body, html {
|
|
|
189
194
|
.uni-build-up-component {
|
|
190
195
|
}
|
|
191
196
|
|
|
192
|
-
.uni-lotties-component {
|
|
193
|
-
width: 100%;
|
|
194
|
-
height: 100%;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.uni-svg-component {
|
|
198
|
-
display: inline-block;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
197
|
.swiper-warp {
|
|
202
198
|
width: 100%;
|
|
203
199
|
height: 100%;
|
|
@@ -211,6 +207,10 @@ body, html {
|
|
|
211
207
|
max-width: 100%;
|
|
212
208
|
max-height: 100%;
|
|
213
209
|
}
|
|
210
|
+
|
|
211
|
+
.uni-svg-component {
|
|
212
|
+
display: inline-block;
|
|
213
|
+
}
|
|
214
214
|
/**
|
|
215
215
|
* Swiper 6.8.4
|
|
216
216
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -5350,9 +5350,9 @@ const transformToComponentProps = (props, extraProps) => {
|
|
|
5350
5350
|
}
|
|
5351
5351
|
};
|
|
5352
5352
|
|
|
5353
|
-
const defaultStyles$
|
|
5353
|
+
const defaultStyles$e = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
|
|
5354
5354
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
|
5355
|
-
const useStylePick = (props, pickStyles = defaultStyles$
|
|
5355
|
+
const useStylePick = (props, pickStyles = defaultStyles$e) => {
|
|
5356
5356
|
return computed(() => pick$1(props, pickStyles));
|
|
5357
5357
|
};
|
|
5358
5358
|
|
|
@@ -5374,6 +5374,7 @@ const extraProps$1 = {
|
|
|
5374
5374
|
...isEditingProp
|
|
5375
5375
|
};
|
|
5376
5376
|
const defaultProps$g = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
|
|
5377
|
+
const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url');
|
|
5377
5378
|
// array that contains style props
|
|
5378
5379
|
var script$l = defineComponent({
|
|
5379
5380
|
name: 'uni-text',
|
|
@@ -5381,7 +5382,7 @@ var script$l = defineComponent({
|
|
|
5381
5382
|
...defaultProps$g
|
|
5382
5383
|
},
|
|
5383
5384
|
setup(props) {
|
|
5384
|
-
const styleProps = useStylePick(props);
|
|
5385
|
+
const styleProps = useStylePick(props, defaultStyles$d);
|
|
5385
5386
|
const handleClick = useComponentClick(props);
|
|
5386
5387
|
return {
|
|
5387
5388
|
styleProps,
|
|
@@ -13099,13 +13100,14 @@ var script$h = defineComponent({
|
|
|
13099
13100
|
animationIterationCount: animation.infinite ? 'infinite' : animation.interationCount,
|
|
13100
13101
|
animationDelay: `${animation.delay}s`,
|
|
13101
13102
|
animationFillMode: 'both',
|
|
13102
|
-
position: 'absolute' // 确保动画期间元素使用绝对布局
|
|
13103
|
+
position: 'absolute', // 确保动画期间元素使用绝对布局
|
|
13103
13104
|
};
|
|
13104
13105
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13105
13106
|
if (element) {
|
|
13106
13107
|
const innerElement = element.querySelector('.inner-component');
|
|
13107
13108
|
if (innerElement) {
|
|
13108
13109
|
innerElement.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13110
|
+
console.log(innerElement.style.cssText);
|
|
13109
13111
|
animIdx++;
|
|
13110
13112
|
}
|
|
13111
13113
|
}
|
|
@@ -5357,9 +5357,9 @@
|
|
|
5357
5357
|
}
|
|
5358
5358
|
};
|
|
5359
5359
|
|
|
5360
|
-
const defaultStyles$
|
|
5360
|
+
const defaultStyles$e = without$1(Object.keys(textDefaultProps), 'actionType', 'url', 'text');
|
|
5361
5361
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
|
|
5362
|
-
const useStylePick = (props, pickStyles = defaultStyles$
|
|
5362
|
+
const useStylePick = (props, pickStyles = defaultStyles$e) => {
|
|
5363
5363
|
return vue.computed(() => pick$1(props, pickStyles));
|
|
5364
5364
|
};
|
|
5365
5365
|
|
|
@@ -5381,6 +5381,7 @@
|
|
|
5381
5381
|
...isEditingProp
|
|
5382
5382
|
};
|
|
5383
5383
|
const defaultProps$g = transformToComponentProps(componentsDefaultProps['uni-text'].props, extraProps$1);
|
|
5384
|
+
const defaultStyles$d = without$1(Object.keys(textDefaultProps), 'actionType', 'url');
|
|
5384
5385
|
// array that contains style props
|
|
5385
5386
|
var script$l = vue.defineComponent({
|
|
5386
5387
|
name: 'uni-text',
|
|
@@ -5388,7 +5389,7 @@
|
|
|
5388
5389
|
...defaultProps$g
|
|
5389
5390
|
},
|
|
5390
5391
|
setup(props) {
|
|
5391
|
-
const styleProps = useStylePick(props);
|
|
5392
|
+
const styleProps = useStylePick(props, defaultStyles$d);
|
|
5392
5393
|
const handleClick = useComponentClick(props);
|
|
5393
5394
|
return {
|
|
5394
5395
|
styleProps,
|
|
@@ -13106,13 +13107,14 @@
|
|
|
13106
13107
|
animationIterationCount: animation.infinite ? 'infinite' : animation.interationCount,
|
|
13107
13108
|
animationDelay: `${animation.delay}s`,
|
|
13108
13109
|
animationFillMode: 'both',
|
|
13109
|
-
position: 'absolute' // 确保动画期间元素使用绝对布局
|
|
13110
|
+
position: 'absolute', // 确保动画期间元素使用绝对布局
|
|
13110
13111
|
};
|
|
13111
13112
|
const element = componentRefs.value.get('component-' + component.id);
|
|
13112
13113
|
if (element) {
|
|
13113
13114
|
const innerElement = element.querySelector('.inner-component');
|
|
13114
13115
|
if (innerElement) {
|
|
13115
13116
|
innerElement.style.cssText = getComputedCSSText(animationStyle) + getComputedCSSText(oldStyle);
|
|
13117
|
+
console.log(innerElement.style.cssText);
|
|
13116
13118
|
animIdx++;
|
|
13117
13119
|
}
|
|
13118
13120
|
}
|