@tplc/wot 0.1.80 → 0.1.82

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,34 @@
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.82](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.69...v0.1.82) (2025-04-15)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.1.81 ([2eefeaa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2eefeaa58ed163bf48b072cf66c56768d33e5b34))
11
+ * **release:** 0.4.70 ([5c937e7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5c937e7cf7f8f6c7331a746f854548cfb331bd3d))
12
+ * **release:** 0.4.71 ([5994b47](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5994b473a5182bfef6741625020e0a50a235af69))
13
+ * **release:** 0.4.72 ([b60babe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b60babefcbb146371d3b79b46905f286cbf56b75))
14
+
15
+
16
+ ### ✨ Features | 新功能
17
+
18
+ * 调整测试 ([987ae45](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/987ae45c379759df9b48f925e29f1f3be06a5de1))
19
+ * 调整缓存策略 ([45900e3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/45900e3c2619ed2c5dadcfa49da3a98aa73d79f6))
20
+
21
+ ### [0.1.81](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.68...v0.1.81) (2025-04-12)
22
+
23
+
24
+ ### ✨ Features | 新功能
25
+
26
+ * 调整按钮配置 ([db5503f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/db5503f9e94ba00bc37947c401a3e4d5b52abb4d))
27
+
28
+
29
+ ### 🚀 Chore | 构建/工程依赖/工具
30
+
31
+ * **release:** 0.4.69 ([da7b4b6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/da7b4b6c804f8525597bd52c227aa1676576c859))
32
+
5
33
  ### [0.1.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.67...v0.1.80) (2025-04-09)
6
34
 
7
35
 
@@ -13,6 +13,7 @@ export type MessageType = 'alert' | 'confirm' | 'prompt'
13
13
 
14
14
  export type MessageBeforeConfirmOption = {
15
15
  resolve: (isPass: boolean) => void
16
+ value: string | number
16
17
  }
17
18
 
18
19
  export type MessageOptions = {
@@ -212,6 +212,7 @@ function toggleModal(action: 'confirm' | 'cancel' | 'modal') {
212
212
  })
213
213
  }
214
214
  },
215
+ value: inputValue.value,
215
216
  })
216
217
  } else {
217
218
  handleConfirm({
@@ -72,6 +72,10 @@ export const tabsProps = {
72
72
  * 字体大小
73
73
  */
74
74
  itemFontSize: makeStringProp(28),
75
+ /**
76
+ * 字体粗细
77
+ */
78
+ itemFontWeight: makeStringProp('normal'),
75
79
  }
76
80
 
77
81
  export type TabsProps = ExtractPropTypes<typeof tabsProps>
@@ -21,7 +21,7 @@
21
21
  v-for="(item, index) in items"
22
22
  :key="index"
23
23
  :class="`wd-tabs__nav-item ${state.activeIndex === index ? 'is-active' : ''} ${item.disabled ? 'is-disabled' : ''}`"
24
- :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx`"
24
+ :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
25
25
  >
26
26
  {{ item.title }}
27
27
  </view>
@@ -58,7 +58,7 @@
58
58
  >
59
59
  <view
60
60
  :class="`wd-tabs__map-nav-btn ${state.activeIndex === index ? 'is-active' : ''} ${item.disabled ? 'is-disabled' : ''}`"
61
- :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx`"
61
+ :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
62
62
  >
63
63
  {{ item.title }}
64
64
  </view>
@@ -110,7 +110,7 @@
110
110
  @click="handleSelect(index)"
111
111
  :key="index"
112
112
  :class="`wd-tabs__nav-item ${state.activeIndex === index ? 'is-active' : ''} ${item.disabled ? 'is-disabled' : ''}`"
113
- :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx`"
113
+ :style="`color:${state.activeIndex === index ? color : inactiveColor};font-size:${itemFontSize}rpx;font-weight:${itemFontWeight}`"
114
114
  >
115
115
  {{ item.title }}
116
116
  </view>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "0.1.80",
4
+ "version": "0.1.82",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",
@@ -1,6 +1,7 @@
1
1
  export type MessageType = 'alert' | 'confirm' | 'prompt'
2
2
  export type MessageBeforeConfirmOption = {
3
3
  resolve: (isPass: boolean) => void
4
+ value: string | number
4
5
  }
5
6
  export type MessageOptions = {
6
7
  /**
@@ -96,6 +96,13 @@ export declare const tabsProps: {
96
96
  type: import('vue').PropType<number>
97
97
  default: number
98
98
  }
99
+ /**
100
+ * 字体粗细
101
+ */
102
+ itemFontWeight: {
103
+ type: import('vue').PropType<string>
104
+ default: string
105
+ }
99
106
  customStyle: {
100
107
  type: import('vue').PropType<string>
101
108
  default: string
@@ -51,6 +51,10 @@ declare const _default: __VLS_WithTemplateSlots<
51
51
  type: import('vue').PropType<number>
52
52
  default: number
53
53
  }
54
+ itemFontWeight: {
55
+ type: import('vue').PropType<string>
56
+ default: string
57
+ }
54
58
  customStyle: {
55
59
  type: import('vue').PropType<string>
56
60
  default: string
@@ -130,6 +134,10 @@ declare const _default: __VLS_WithTemplateSlots<
130
134
  type: import('vue').PropType<number>
131
135
  default: number
132
136
  }
137
+ itemFontWeight: {
138
+ type: import('vue').PropType<string>
139
+ default: string
140
+ }
133
141
  customStyle: {
134
142
  type: import('vue').PropType<string>
135
143
  default: string
@@ -160,6 +168,7 @@ declare const _default: __VLS_WithTemplateSlots<
160
168
  swipeable: boolean
161
169
  animated: boolean
162
170
  itemFontSize: number
171
+ itemFontWeight: string
163
172
  },
164
173
  {}
165
174
  >,