Skip to content

Commit 5729b85

Browse files
feat: fix InputNumber unvalidated input
1 parent 2bb1335 commit 5729b85

32 files changed

+22249
-18739
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## Features
1818

19-
- The component library is implemented with `Vue@3.5.22`+ `TypeScript@5.9.3` + `Vite@7.1.10` + `Less@4.4.2`.
19+
- The component library is implemented with `Vue@3.5.24`+ `TypeScript@5.9.3` + `Vite@7.2.2` + `Less@4.4.2`.
2020
- Currently, it includes `67` basic UI components and `18` utility functions, with continuous exploration and updates ongoing...
2121
- Theme Customizable, all you need is to provide a theme color, then all the stuffs will be done by me.
2222
- By the way, they are all treeshakable.

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## 特性
1818

19-
- 组件库采用 `Vue@3.5.22`+ `TypeScript@5.9.3` + `Vite@7.1.10` + `Less@4.4.2` 实现
19+
- 组件库采用 `Vue@3.5.24`+ `TypeScript@5.9.3` + `Vite@7.2.2` + `Less@4.4.2` 实现
2020
- 目前共包含 `67` 个基础 `UI` 组件以及 `18` 个工具函数,并且持续探索更新中...
2121
- 主题可调,你只需提供一个主题色,剩下的都交给我
2222
- 顺便一提,它们全都可以 `treeshaking`

components.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
/* eslint-disable */
22
// @ts-nocheck
3+
// biome-ignore lint: disable
4+
// oxlint-disable
5+
// ------
36
// Generated by unplugin-vue-components
47
// Read more: https://github.com/vuejs/core/pull/3399
5-
// biome-ignore lint: disable
8+
69
export {}
710

811
/* prettier-ignore */
912
declare module 'vue' {
1013
export interface GlobalComponents {
11-
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
12-
AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
13-
AMenu: typeof import('ant-design-vue/es')['Menu']
14-
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
1514
RouterLink: typeof import('vue-router')['RouterLink']
1615
RouterView: typeof import('vue-router')['RouterView']
1716
}

components/carousel/Carousel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ function toggleNumber(target: number): void {
279279
// 滑动效果函数
280280
function moveEffect(): void {
281281
if (baseNumber.value) {
282-
offset.value = originNumber.value + distance.value * cubicBezierNumber.value
282+
offset.value = originNumber.value + distance.value * (cubicBezierNumber.value as unknown as number)
283283
} else {
284-
offset.value = originNumber.value + distance.value * (1 - cubicBezierNumber.value)
284+
offset.value = originNumber.value + distance.value * (1 - (cubicBezierNumber.value as unknown as number))
285285
}
286286
}
287287
function moveLeftEffect(): void {

components/datepicker/DatePicker.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import VueDatePicker from '@vuepic/vue-datepicker'
2+
import { VueDatePicker } from '@vuepic/vue-datepicker'
33
import '@vuepic/vue-datepicker/dist/main.css'
44
import { computed, ref, watch } from 'vue'
55
import { useInject } from 'components/utils'
@@ -99,7 +99,6 @@ function maxRangeDisabledDates(date: Date): boolean {
9999
--datepicker-primary-color-focus: ${colorPalettes[4]};
100100
--datepicker-primary-shadow-color: ${shadowColor};
101101
`"
102-
locale="zh-CN"
103102
position="left"
104103
:month-change-on-scroll="false"
105104
:enable-time-picker="showTime"

components/utils/resolver.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ function getSideEffects(componentName: string, options?: VueAmazingUIResolverOpt
119119
if (componentName === 'DatePicker') {
120120
// 特殊处理 DatePicker 组件样式依赖文件
121121
sideEffects.push(
122-
`vue-amazing-ui/${type}/node_modules/.pnpm/@vuepic_vue-datepicker@11.0.2_vue@3.5.22_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css`
122+
`vue-amazing-ui/${type}/node_modules/.pnpm/@vuepic_vue-datepicker@12.0.4_vue@3.5.24_typescript@5.9.3_/node_modules/@vuepic/vue-datepicker/dist/main.css`
123123
)
124124
}
125125
if (componentName === 'Swiper') {
126126
// 特殊处理 Swiper 组件样式依赖文件
127-
sideEffects.push(`vue-amazing-ui/${type}/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/swiper.css`)
127+
sideEffects.push(`vue-amazing-ui/${type}/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper.css`)
128128
const swiperModulesStyle = [
129129
'effect-cards',
130130
'effect-creative',
@@ -136,7 +136,7 @@ function getSideEffects(componentName: string, options?: VueAmazingUIResolverOpt
136136
]
137137
swiperModulesStyle.forEach((moduleName) => {
138138
sideEffects.push(
139-
`vue-amazing-ui/${type}/node_modules/.pnpm/swiper@12.0.2/node_modules/swiper/modules/${moduleName}.css`
139+
`vue-amazing-ui/${type}/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/${moduleName}.css`
140140
)
141141
})
142142
}

docs/.vitepress/cache/deps/@ant-design_icons-vue.js

Lines changed: 799 additions & 799 deletions
Large diffs are not rendered by default.

docs/.vitepress/cache/deps/@ant-design_icons-vue.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)