@tplc/business 0.7.62 → 0.7.63
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.7.63](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.62...v0.7.63) (2026-01-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
9
|
+
|
|
10
|
+
* **lcb-tabs:** extend timeout duration for currentTab initialization to enhance default tab selection accuracy ([a29ae0c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a29ae0cf9c1b0c9ef483c4ca94f094fb7286153c))
|
|
11
|
+
|
|
5
12
|
### [0.7.62](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.61...v0.7.62) (2026-01-10)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -6,12 +6,16 @@
|
|
|
6
6
|
:autoplay="autoplay"
|
|
7
7
|
:muted="muted"
|
|
8
8
|
:showProgress="showProgress"
|
|
9
|
-
|
|
9
|
+
:style="{
|
|
10
|
+
height: videoHeight ? transformValueUnit(videoHeight) : '',
|
|
11
|
+
width: videoWidth ? transformValueUnit(videoWidth) : '100%',
|
|
12
|
+
}"
|
|
10
13
|
/>
|
|
11
14
|
</lcb-block>
|
|
12
15
|
</template>
|
|
13
16
|
|
|
14
17
|
<script setup lang="ts">
|
|
18
|
+
import { transformValueUnit } from '../../utils/transform'
|
|
15
19
|
import { LcbVideoProps } from './types'
|
|
16
20
|
defineOptions({
|
|
17
21
|
name: 'LcbVideo',
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { LcbBlockProps } from '../../components/lcb-block/types'
|
|
2
|
+
|
|
3
|
+
export interface LcbVideoProps extends LcbBlockProps {
|
|
2
4
|
// Define the component's prop types here
|
|
3
5
|
src?: string
|
|
4
6
|
loop?: boolean
|
|
@@ -8,4 +10,6 @@ export interface LcbVideoProps {
|
|
|
8
10
|
marginTop?: number
|
|
9
11
|
marginBottom?: number
|
|
10
12
|
marginHorizontal?: number
|
|
13
|
+
videoHeight?: number
|
|
14
|
+
videoWidth?: number
|
|
11
15
|
}
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { LcbBlockProps } from '../../components/lcb-block/types'
|
|
2
|
+
export interface LcbVideoProps extends LcbBlockProps {
|
|
2
3
|
src?: string
|
|
3
4
|
loop?: boolean
|
|
4
5
|
muted?: boolean
|
|
@@ -7,4 +8,6 @@ export interface LcbVideoProps {
|
|
|
7
8
|
marginTop?: number
|
|
8
9
|
marginBottom?: number
|
|
9
10
|
marginHorizontal?: number
|
|
11
|
+
videoHeight?: number
|
|
12
|
+
videoWidth?: number
|
|
10
13
|
}
|