@tplc/wot 0.1.28 → 0.1.29

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,44 @@
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.1.29](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.24...v0.1.29) (2024-11-21)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * lcb-vip 调整地址调整 ([08547c0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/08547c0bf975af2adb65e4e1effdb132149803e3))
11
+
12
+
13
+ ### 🚀 Chore | 构建/工程依赖/工具
14
+
15
+ * **release:** 0.0.59 ([e8b8eb1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e8b8eb15014d8410926d26d8e82d8e7351268ba6))
16
+ * **release:** 0.0.60 ([3c35e08](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3c35e087dab890aa4eb6728491250e0b0385e949))
17
+ * **release:** 0.0.61 ([3f73335](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3f733357fd76e43828261fdc593aad2430bb7578))
18
+ * **release:** 0.0.62 ([d49297d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d49297df383829ecc4f9dd22d791cf7f6e668928))
19
+ * **release:** 0.0.63 ([f9a0484](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f9a0484374a191ba7b49406bdd92fabe8471c8d8))
20
+ * **release:** 0.0.64 ([edbe549](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/edbe54969af400180a7f8f4d6e545b1a6a8d4a4f))
21
+ * **release:** 0.0.65 ([5e1ac06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5e1ac06a7375693149b86c1030dab7f07a2fc392))
22
+ * **release:** 0.0.66 ([4a12507](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4a1250740efeff889870d4f2ffb038780bd1df4b))
23
+ * **release:** 0.1.26 ([45b5ff0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/45b5ff0fa6c01b56b962dd264f9fae14af486e68))
24
+ * **release:** 0.1.27 ([89ac830](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/89ac830da7304cb2741c8ab1138f70f1ebebab3f))
25
+ * **release:** 0.1.28 ([ad80524](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ad80524068ce319ee72b52ebaf5ba97dfd8ad793))
26
+
27
+
28
+ ### ✨ Features | 新功能
29
+
30
+ * add lcb-vip ([efc7f5e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/efc7f5e3c24f616ebc7b41bc99dbb8918ed4b81d))
31
+ * add wd-qr-code ([83196b5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/83196b5294a8936b33eafe312cf203a3de531a8c))
32
+ * back home ([10a9148](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/10a91481426fe3a687401c54e593e06ab50560b3))
33
+ * lcb product item 支持横向布局时图片高度和圆角配置 ([020c710](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/020c710a96bc18540f80771dcf3bdc49eb268475))
34
+ * lcb-nav gap高度调整 ([6c2c940](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6c2c9401a2db6f9c75d1d5a0cb05c102a3e75517))
35
+ * lcb-nav 常规模式下新增gap 无需用户添加 ([1f9f7d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f9f7d6f00e3435b353b67db6cb4db42843f54dc))
36
+ * lcb-title 新增更多配置 ([0be4376](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0be4376cc7c5552a19f6f19b3088276a0fec5218))
37
+ * wd-qr-code ts global ([70bb8fe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/70bb8fe820d27a5a8d769ac0bfc4087a020d5835))
38
+ * wd-qr-code 新增class 调整项 ([ff1d67c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ff1d67cf638dcf29371d071203f087bdd3994282))
39
+ * 暂时提交qrcode ([6139d1f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6139d1f5f551a992277ffca11a09758cab9d2a2c))
40
+ * 调整引擎组件配置 ([e150cad](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e150cad11c4183cce1b5e731a295d8a061389bdd))
41
+ * 透明度 ([b7eb9aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b7eb9aa884d41db903cea4abe32cc84b71038ccb))
42
+
5
43
  ### [0.1.28](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.65...v0.1.28) (2024-11-21)
6
44
 
7
45
  ### [0.1.27](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.26...v0.1.27) (2024-11-20)
@@ -0,0 +1,6 @@
1
+ import { ref } from 'vue'
2
+
3
+ const showPopup = ref(false)
4
+ export const usePopup = () => {
5
+ return [showPopup]
6
+ }
@@ -35,6 +35,7 @@ export default {
35
35
  import { computed, onBeforeMount, ref, watch } from 'vue'
36
36
  import { isObj, requestAnimationFrame } from '../common/util'
37
37
  import { popupProps } from './types'
38
+ import { usePopup } from '../composables/usePopup'
38
39
 
39
40
  const props = defineProps(popupProps)
40
41
  const emit = defineEmits([
@@ -84,6 +85,8 @@ const safeBottom = ref<number>(0)
84
85
 
85
86
  const name = ref<string>('') // 动画名
86
87
 
88
+ const [showPopup] = usePopup()
89
+
87
90
  const style = computed(() => {
88
91
  return `z-index: ${props.zIndex}; padding-bottom: ${safeBottom.value}px; -webkit-transition-duration: ${
89
92
  currentDuration.value
@@ -119,6 +122,7 @@ watch(
119
122
  () => props.modelValue,
120
123
  (newVal) => {
121
124
  observermodelValue(newVal)
125
+ showPopup.value = newVal
122
126
  },
123
127
  { deep: true, immediate: true },
124
128
  )
package/index.ts CHANGED
@@ -17,6 +17,8 @@ export { useMessage } from './components/wd-message-box'
17
17
  // useQueue
18
18
  export { useQueue } from './components/composables/useQueue'
19
19
 
20
+ export { usePopup } from './components/composables/usePopup'
21
+
20
22
  // Notify
21
23
  export * from './components/wd-notify'
22
24
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "0.1.28",
4
+ "version": "0.1.29",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",
@@ -9,18 +9,18 @@
9
9
  "vue3",
10
10
  "暗黑模式"
11
11
  ],
12
- "scripts": {
13
- "pub": "pnpm dts && pnpm publish --no-git-checks",
14
- "dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
15
- "release-major": "standard-version --release-as major ",
16
- "release-minor": "standard-version --release-as minor",
17
- "release-patch": "standard-version --release-as patch "
18
- },
19
12
  "main": "index.ts",
20
13
  "peerDependencies": {
21
14
  "vue": ">=3.2.47"
22
15
  },
23
16
  "dependencies": {
24
17
  "mp-html": "^2.5.0"
18
+ },
19
+ "scripts": {
20
+ "pub": "pnpm dts && pnpm publish --no-git-checks",
21
+ "dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
22
+ "release-major": "standard-version --release-as major ",
23
+ "release-minor": "standard-version --release-as minor",
24
+ "release-patch": "standard-version --release-as patch "
25
25
  }
26
- }
26
+ }
@@ -0,0 +1 @@
1
+ export declare const usePopup: () => import('vue').Ref<boolean>[]