@tplc/wot 1.0.33 → 1.0.35

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,10 @@
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
+ ### [1.0.35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.89...v1.0.35) (2026-01-22)
6
+
7
+ ### [1.0.34](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.87...v1.0.34) (2026-01-21)
8
+
5
9
  ### [1.0.33](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.79...v1.0.33) (2026-01-20)
6
10
 
7
11
 
@@ -84,7 +84,7 @@ import { deepClone, isArray, isFunction } from '../../common/util'
84
84
  import { useTranslate } from '../../composables/useTranslate'
85
85
  import type { CalendarDayItem, CalendarDayType, CalendarType } from '../types'
86
86
  import { monthProps } from './types'
87
- import dayjs from 'dayjs'
87
+ import { dayjs } from '../../common/dayjs'
88
88
 
89
89
  const props = defineProps(monthProps)
90
90
  const emit = defineEmits(['change'])
@@ -479,7 +479,7 @@ watch(
479
479
  handleDateRangeChange({
480
480
  date: dayjs(startDate)
481
481
  .add(props.defaultDays - 1, 'days')
482
- .valueOf(),
482
+ .valueOf() as number,
483
483
  type: 'end',
484
484
  })
485
485
  return
@@ -89,7 +89,8 @@ const innerOffsetTop = computed(() => {
89
89
 
90
90
  // 如果是小程序 需要 44+statusBar高度
91
91
  // #ifdef MP
92
- top = 44 + (uni.getWindowInfo().statusBarHeight || 0)
92
+ const windowInfo = uni.getWindowInfo ? uni.getWindowInfo() : uni.getSystemInfoSync()
93
+ top = 44 + (windowInfo.statusBarHeight || 0)
93
94
  // #endif
94
95
  return top + props.offsetTop
95
96
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "1.0.33",
4
+ "version": "1.0.35",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",
@@ -129,7 +129,7 @@ declare const _default: __VLS_WithTemplateSlots<
129
129
  customClass: string
130
130
  modelValue: boolean
131
131
  disabled: boolean
132
- offset: number | number[] | Record<'y' | 'x', number>
132
+ offset: number | number[] | Record<'x' | 'y', number>
133
133
  showClose: boolean
134
134
  customArrow: string
135
135
  customPop: string