@tplc/wot 0.1.56 → 0.1.58

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,23 @@
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.58](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.26...v0.1.58) (2025-02-09)
6
+
7
+ ### [0.1.57](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.10...v0.1.57) (2025-02-05)
8
+
9
+
10
+ ### 🚀 Chore | 构建/工程依赖/工具
11
+
12
+ * **release:** 0.3.11 ([45418e5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/45418e593a3e30a17a2950507324471f98db413b))
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * 基础文档 ([1dbb814](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1dbb81490b60620b6e6f8c90fcfac0940ec04e16))
18
+ * 支持poster ([018b16a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/018b16af46d78b97ac6b2133daac985754154d40))
19
+ * 新增action 支持 ([30da0d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/30da0d6c458d50380985089265c17f05308c5957))
20
+ * 调整数据 ([33a53ea](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/33a53eab1f40f838feb62991fef21fdc7b318161))
21
+
5
22
  ### [0.1.55](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.8...v0.1.55) (2025-01-20)
6
23
 
7
24
  ### [0.1.53](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.75...v0.1.53) (2025-01-06)
@@ -220,7 +220,7 @@ const formatRange = (value: number, rangeType: 'start' | 'end', type: CalendarTy
220
220
  }
221
221
 
222
222
  const props = defineProps(calendarProps)
223
- const emit = defineEmits(['cancel', 'change', 'update:modelValue', 'confirm', 'open'])
223
+ const emit = defineEmits(['cancel', 'change', 'update:modelValue', 'confirm', 'open', 'beforeOpen'])
224
224
 
225
225
  const pickerShow = ref<boolean>(false)
226
226
  const calendarValue = ref<null | number | number[]>(null)
@@ -343,7 +343,8 @@ function scrollIntoView() {
343
343
  calendarView.value && calendarView.value && calendarView.value.$.exposed.scrollIntoView()
344
344
  }
345
345
  // 对外暴露方法
346
- function open() {
346
+ async function open() {
347
+ emit('beforeOpen')
347
348
  const { disabled, readonly } = props
348
349
 
349
350
  if (disabled || readonly) return
@@ -8,10 +8,10 @@
8
8
  customClass,
9
9
  ]"
10
10
  :style="customStyle"
11
- :hover-class="isLink || clickable ? 'is-hover' : 'none'"
12
11
  hover-stay-time="70"
13
12
  @click="onClick"
14
13
  >
14
+ <!-- :hover-class="isLink || clickable ? 'is-hover' : 'none'" -->
15
15
  <view :class="['wd-cell__wrapper', vertical ? 'is-vertical' : '']">
16
16
  <view
17
17
  :class="['wd-cell__left', isRequired ? 'is-required' : '']"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "0.1.56",
4
+ "version": "0.1.58",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",
@@ -153,6 +153,7 @@ declare const _default: __VLS_WithTemplateSlots<
153
153
  'update:modelValue': (...args: any[]) => void
154
154
  change: (...args: any[]) => void
155
155
  confirm: (...args: any[]) => void
156
+ beforeOpen: (...args: any[]) => void
156
157
  },
157
158
  string,
158
159
  import('vue').PublicProps,
@@ -299,6 +300,7 @@ declare const _default: __VLS_WithTemplateSlots<
299
300
  'onUpdate:modelValue'?: ((...args: any[]) => any) | undefined
300
301
  onChange?: ((...args: any[]) => any) | undefined
301
302
  onConfirm?: ((...args: any[]) => any) | undefined
303
+ onBeforeOpen?: ((...args: any[]) => any) | undefined
302
304
  },
303
305
  {
304
306
  closeOnClickModal: boolean