2025/2/8第一次更新

This commit is contained in:
爱吃咸鱼小猫咪
2025-02-08 18:50:38 +08:00
commit d7af560866
26519 changed files with 5046029 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
export const tuniaoColors = [
'red',
'purplered',
'purple',
'bluepurple',
'aquablue',
'blue',
'indigo',
'cyan',
'teal',
'green',
'yellowgreen',
'lime',
'yellow',
'orangeyellow',
'orange',
'orangered',
'brown',
'grey',
'gray',
] as const
export const tuniaoColorType = ['', 'dark', 'disabled', 'light'] as const
export const tuniaoColorNames = ['bg', 'text', 'border', 'shadow'] as const
export type TuniaoColor = (typeof tuniaoColors)[number]
export type TuniaoColorType = (typeof tuniaoColorType)[number]
export type TuniaoColorName = (typeof tuniaoColorNames)[number]
+3
View File
@@ -0,0 +1,3 @@
export const UPDATE_MODEL_EVENT = 'update:modelValue'
export const CHANGE_EVENT = 'change'
export const INPUT_EVENT = 'input'
+18
View File
@@ -0,0 +1,18 @@
export const componentImgModes = [
'scaleToFill',
'aspectFit',
'aspectFill',
'widthFix',
'heightFix',
'top',
'bottom',
'center',
'left',
'right',
'top left',
'top right',
'bottom left',
'bottom right',
] as const
export type ComponentImgMode = (typeof componentImgModes)[number]
+8
View File
@@ -0,0 +1,8 @@
export * from './size'
export * from './shape'
export * from './img-mode'
export * from './types'
export * from './color'
export * from './key'
export * from './event'
export * from './z-index'
+1
View File
@@ -0,0 +1 @@
export const INSTALLED_KEY = Symbol('INSTALLED_KEY')
+3
View File
@@ -0,0 +1,3 @@
export const componentShapes = ['', 'circle', 'round'] as const
export type ComponentShape = (typeof componentShapes)[number]
+5
View File
@@ -0,0 +1,5 @@
export const componentSizes = ['', 'sm', 'lg', 'xl'] as const
export const formComponentSizes = ['', 'sm', 'lg'] as const
export type ComponentSize = (typeof componentSizes)[number]
export type FormComponentSize = (typeof formComponentSizes)[number]
+10
View File
@@ -0,0 +1,10 @@
export const componentTypes = [
'',
'primary',
'success',
'warning',
'danger',
'info',
] as const
export type ComponentType = (typeof componentTypes)[number]
+18
View File
@@ -0,0 +1,18 @@
export const ZIndex: Record<string, number> = {
/** navbar */
navbar: 20090,
/** tabbar */
tabbar: 20090,
/** modal弹框 */
modal: 20076,
/** popup 弹出层 */
popup: 20075,
/** notify */
notify: 20074,
/** 吸顶 */
sticky: 10030,
/** 气泡弹框 */
bubble: 10020,
/** mask 遮罩 */
mask: 9999,
}