nutui-uniapp
Advanced tools
Comparing version 1.7.10 to 1.7.11
@@ -1,2 +0,6 @@ | ||
export const animationName = { | ||
import type { NutAnimationName } from '../transition' | ||
export type Position = 'center' | 'top' | 'bottom' | 'left' | 'right' | ||
export const animationName: Record<Position, NutAnimationName> = { | ||
center: 'fade', | ||
@@ -8,3 +12,1 @@ top: 'slide-down', | ||
} | ||
export type Position = (keyof typeof animationName) |
@@ -11,1 +11,2 @@ export * from './useStyle' | ||
export * from './useSelectorQuery' | ||
export * from './useGlobalZIndex' |
@@ -1,2 +0,2 @@ | ||
import type { ExtractPropTypes } from 'vue' | ||
import type { CSSProperties, ExtractPropTypes, PropType } from 'vue' | ||
import { popupProps } from '../popup/popup' | ||
@@ -13,2 +13,3 @@ import { commonProps, isBoolean, isNumber, makeArrayProp, makeStringProp, truthProp } from '../_utils' | ||
} | ||
export const actionsheetProps = { | ||
@@ -18,2 +19,20 @@ ...popupProps, | ||
/** | ||
* @description 是否显示圆角 | ||
*/ | ||
round: truthProp, | ||
/** | ||
* @description 是否开启 iPhone 系列全面屏底部安全区适配,仅当 `position` 为 `bottom` 时有效 | ||
*/ | ||
safeAreaInsetBottom: truthProp, | ||
/** | ||
* @description 遮罩显示时的背景是否锁定 | ||
*/ | ||
lockScroll: truthProp, | ||
/** | ||
* @description 自定义 popup 弹框样式 | ||
*/ | ||
popStyle: { | ||
type: Object as PropType<CSSProperties>, | ||
}, | ||
/** | ||
* @description 取消文案 | ||
@@ -63,5 +82,4 @@ */ | ||
[CHOOSE_EVENT]: (item: ActionSheetOption, index: number) => item instanceof Object && isNumber(index), | ||
} | ||
export type ActionsheetEmits = typeof actionsheetEmits |
@@ -1,1 +0,1 @@ | ||
export type * from './actionsheet' | ||
export * from './actionsheet' |
@@ -14,4 +14,8 @@ import type { ExtractPropTypes } from 'vue' | ||
themeVars: { type: Object, default: {} }, | ||
/** | ||
* @description 设置所有弹窗类组件的 z-index,该属性对全局生效 | ||
*/ | ||
zIndex: Number, | ||
} | ||
export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps> |
import type { ExtractPropTypes } from 'vue' | ||
import { commonProps, isNumber, isString, makeArrayProp, makeNumberProp, makeStringProp } from '../_utils' | ||
import { commonProps, makeArrayProp, makeNumberProp, makeStringProp } from '../_utils' | ||
import { CHANGE_EVENT, CLOSE_EVENT, OPEN_EVENT, UPDATE_MODEL_EVENT } from '../_constants' | ||
@@ -45,8 +45,12 @@ | ||
/* eslint-disable unused-imports/no-unused-vars */ | ||
export const menuitemEmits = { | ||
[UPDATE_MODEL_EVENT]: (val: string | number) => isString(val) || isNumber(val), | ||
[CHANGE_EVENT]: (val: string | number) => isString(val) || isNumber(val), | ||
[UPDATE_MODEL_EVENT]: (value: number | string) => true, | ||
[CHANGE_EVENT]: (value: number | string) => true, | ||
[OPEN_EVENT]: () => true, | ||
[CLOSE_EVENT]: () => true, | ||
itemClick: (item: MenuItemOption) => true, | ||
} | ||
/* eslint-enable unused-imports/no-unused-vars */ | ||
export type MenuitemEmits = typeof menuitemEmits | ||
@@ -56,5 +60,5 @@ | ||
/** | ||
* @description 选择 `option` 之后触发 | ||
* @description 变更选择项 | ||
*/ | ||
change: (val?: any) => any | ||
change: (value?: number | string) => any | ||
/** | ||
@@ -65,9 +69,9 @@ * @description 切换菜单展示状态,传 `true` 为显示,`false` 为隐藏,不传参为取反 | ||
/** | ||
* @description 打开菜单栏时触发 | ||
* @description 打开菜单栏 | ||
*/ | ||
open: () => void | ||
/** | ||
* @description 关闭菜单栏时触发 | ||
* @description 关闭菜单栏 | ||
*/ | ||
close: () => void | ||
} |
@@ -14,3 +14,3 @@ import type { CSSProperties, ExtractPropTypes, PropType } from 'vue' | ||
*/ | ||
zIndex: makeNumericProp(300), | ||
zIndex: Number, | ||
/** | ||
@@ -17,0 +17,0 @@ * @description 显示/隐藏的动画时长,单位毫秒 |
@@ -0,2 +1,2 @@ | ||
export * from './popup' | ||
export * from './use-popup' | ||
export * from './popup' |
@@ -75,5 +75,4 @@ import type { ExtractPropTypes, PropType } from 'vue' | ||
'click-overlay': () => true, | ||
} | ||
export type PopupEmits = typeof popupEmits |
@@ -1,16 +0,17 @@ | ||
import { type ComputedRef, type SetupContext, computed, reactive, toRefs, watch, watchEffect } from 'vue' | ||
import type { SetupContext } from 'vue' | ||
import { computed, reactive, toRefs, watch } from 'vue' | ||
import { CLOSED_EVENT, CLOSE_EVENT, OPENED_EVENT, OPEN_EVENT, PREFIX, UPDATE_VISIBLE_EVENT } from '../_constants' | ||
import { animationName } from '../_constants/types' | ||
import { getMainClass, getMainStyle } from '../_utils' | ||
import type { NutAnimationName } from '../transition' | ||
import { useGlobalZIndex } from '../_hooks' | ||
import type { PopupEmits, PopupProps } from './popup' | ||
const initIndex = 500 | ||
let _zIndex = initIndex | ||
const componentName = `${PREFIX}-popup` | ||
export function usePopup(props: PopupProps, emit: SetupContext<PopupEmits>['emit']) { | ||
let opened: boolean | ||
const state = reactive({ | ||
zIndex: props.zIndex, | ||
innerVisible: false, | ||
innerIndex: props.zIndex, | ||
showSlot: true, | ||
closed: props.closeable, | ||
}) | ||
@@ -28,5 +29,5 @@ | ||
const popStyle: ComputedRef = computed(() => { | ||
const popStyle = computed(() => { | ||
return getMainStyle(props, { | ||
zIndex: +state.zIndex, | ||
zIndex: state.innerIndex, | ||
transitionDuration: `${props.duration}ms`, | ||
@@ -36,3 +37,3 @@ }) | ||
const transitionName: ComputedRef = computed(() => { | ||
const transitionName = computed<NutAnimationName>(() => { | ||
return props.transition ? props.transition : `${animationName[props.position]}` | ||
@@ -42,30 +43,34 @@ }) | ||
const open = () => { | ||
if (!opened) { | ||
opened = true | ||
if (props.zIndex !== initIndex) | ||
_zIndex = Number(props.zIndex) | ||
if (state.innerVisible) | ||
return | ||
emit(UPDATE_VISIBLE_EVENT, true) | ||
state.zIndex = ++_zIndex | ||
state.showSlot = true | ||
state.innerIndex = props.zIndex !== undefined ? props.zIndex : useGlobalZIndex() | ||
emit(OPEN_EVENT) | ||
} | ||
state.innerVisible = true | ||
emit(UPDATE_VISIBLE_EVENT, true) | ||
state.showSlot = true | ||
emit(OPEN_EVENT) | ||
} | ||
const close = () => { | ||
if (opened) { | ||
opened = false | ||
emit(UPDATE_VISIBLE_EVENT, false) | ||
emit(CLOSE_EVENT) | ||
} | ||
if (!state.innerVisible) | ||
return | ||
state.innerVisible = false | ||
emit(UPDATE_VISIBLE_EVENT, false) | ||
emit(CLOSE_EVENT) | ||
} | ||
const onClick = (e: Event) => { | ||
const onClick = (e: any) => { | ||
emit('click-pop', e) | ||
} | ||
const onClickCloseIcon = (e: Event) => { | ||
const onClickCloseIcon = (e: any) => { | ||
e.stopPropagation() | ||
emit('click-close-icon') | ||
close() | ||
@@ -76,2 +81,3 @@ } | ||
emit('click-overlay') | ||
if (props.closeOnClickOverlay) | ||
@@ -82,4 +88,4 @@ close() | ||
const onOpened = () => { | ||
emit(OPENED_EVENT) | ||
emit('opend') | ||
emit(OPENED_EVENT) | ||
} | ||
@@ -93,17 +99,10 @@ | ||
watch( | ||
() => props.visible, | ||
(val) => { | ||
if (val && !opened) | ||
open() | ||
watch(() => props.visible, (value) => { | ||
if (value && !state.innerVisible) | ||
open() | ||
if (!val && opened) { | ||
opened = false | ||
emit('close') | ||
} | ||
}, | ||
) | ||
watchEffect(() => { | ||
// props.visible ? open() : close(); | ||
state.closed = props.closeable | ||
if (!value && state.innerVisible) { | ||
state.innerVisible = false | ||
emit(CLOSE_EVENT) | ||
} | ||
}) | ||
@@ -110,0 +109,0 @@ |
{ | ||
"name": "nutui-uniapp", | ||
"displayName": "nutui-uniapp 京东风格的轻量级移动端 Uniapp、Vue3 组件库", | ||
"version": "1.7.10", | ||
"version": "1.7.11", | ||
"description": "京东风格的轻量级移动端 Uniapp、Vue3 组件库(支持小程序开发)", | ||
@@ -6,0 +6,0 @@ "author": "yang1206 <y1149221897@outlook.com>", |
@@ -50,3 +50,3 @@ <p align="center"> | ||
请参考[快速上手](https://uniapp-nutui.tech/guide/quick-start.html)。 | ||
请参考[快速上手](https://nutui-uniapp.netlify.app/guide/quick-start.html)。 | ||
@@ -57,3 +57,3 @@ ## 链接 | ||
- [更新日志](https://github.com/nutui-uniapp/nutui-uniapp/releases) | ||
- [常见问题](https://uniapp-nutui.tech/guide/faq.html) | ||
- [常见问题](https://nutui-uniapp.netlify.app/guide/faq.html) | ||
- [Discussions 讨论区](https://github.com/nutui-uniapp/nutui-uniapp/discussions) | ||
@@ -60,0 +60,0 @@ |
227
tags.json
@@ -39,3 +39,3 @@ { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/button.html#button-按钮)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/button.html#button-按钮)" | ||
}, | ||
@@ -47,3 +47,3 @@ "nut-cell-group": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/cell.html#cellgroup)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/cell.html#cellgroup)" | ||
}, | ||
@@ -63,3 +63,3 @@ "nut-cell": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/cell.html#cell)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/cell.html#cell)" | ||
}, | ||
@@ -69,5 +69,6 @@ "nut-config-provider": { | ||
"theme", | ||
"theme-vars" | ||
"theme-vars", | ||
"z-index" | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/configprovider.html#configprovider-全局配置)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/configprovider.html#configprovider-全局配置)" | ||
}, | ||
@@ -83,3 +84,3 @@ "nut-icon": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/icon.html#icon-图标)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/icon.html#icon-图标)" | ||
}, | ||
@@ -97,3 +98,3 @@ "nut-overlay": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/overlay.html#overlay-遮罩层)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/overlay.html#overlay-遮罩层)" | ||
}, | ||
@@ -128,3 +129,3 @@ "nut-popup": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/popup.html#popup-弹出层)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/popup.html#popup-弹出层)" | ||
}, | ||
@@ -146,3 +147,3 @@ "nut-transition": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/basic/transition.html#transition-过渡动画)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/basic/transition.html#transition-过渡动画)" | ||
}, | ||
@@ -159,3 +160,3 @@ "nut-doll-machine": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/bingo/dollmachine.html#dollmachine-抓娃娃)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/bingo/dollmachine.html#dollmachine-抓娃娃)" | ||
}, | ||
@@ -168,3 +169,3 @@ "nut-gift-box": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/bingo/giftbox.html#giftbox-神秘大礼盒)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/bingo/giftbox.html#giftbox-神秘大礼盒)" | ||
}, | ||
@@ -180,3 +181,3 @@ "nut-hiteggs": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/bingo/hiteggs.html#hiteggs-组件)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/bingo/hiteggs.html#hiteggs-组件)" | ||
}, | ||
@@ -194,3 +195,3 @@ "nut-marquee": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/bingo/marquee.html#marquee-跑马灯)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/bingo/marquee.html#marquee-跑马灯)" | ||
}, | ||
@@ -205,3 +206,3 @@ "nut-shake-dice": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/bingo/shakedice.html#shakedice-组件)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/bingo/shakedice.html#shakedice-组件)" | ||
}, | ||
@@ -224,3 +225,3 @@ "nut-turntable": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/bingo/turntable.html#turntable-转盘抽奖-<badge-type=\"warning\">h5</badge>)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/bingo/turntable.html#turntable-转盘抽奖-<badge-type=\"warning\">h5</badge>)" | ||
}, | ||
@@ -249,3 +250,3 @@ "nut-address": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/address.html#address-地址)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/address.html#address-地址)" | ||
}, | ||
@@ -268,3 +269,3 @@ "nut-address-list": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/addresslist.html#addresslist-地址列表)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/addresslist.html#addresslist-地址列表)" | ||
}, | ||
@@ -281,3 +282,3 @@ "nut-barrage": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/barrage.html#barrage-弹幕)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/barrage.html#barrage-弹幕)" | ||
}, | ||
@@ -296,3 +297,3 @@ "nut-card": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/card.html#card-商品卡片)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/card.html#card-商品卡片)" | ||
}, | ||
@@ -307,3 +308,3 @@ "nut-category": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/category.html#category)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/category.html#category)" | ||
}, | ||
@@ -316,3 +317,3 @@ "nut-category-pane": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/category.html#categorypane)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/category.html#categorypane)" | ||
}, | ||
@@ -333,3 +334,3 @@ "nut-comment": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/comment.html#comment-商品评论)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/comment.html#comment-商品评论)" | ||
}, | ||
@@ -356,3 +357,3 @@ "nut-ecard": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/ecard.html#ecard-电子卡)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/ecard.html#ecard-电子卡)" | ||
}, | ||
@@ -366,3 +367,3 @@ "nut-invoice": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/invoice.html#invoice-发票)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/invoice.html#invoice-发票)" | ||
}, | ||
@@ -382,3 +383,3 @@ "nut-signature": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/signature.html#signature-签名)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/signature.html#signature-签名)" | ||
}, | ||
@@ -409,6 +410,6 @@ "nut-sku": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/sku.html#sku-商品规格选择)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/sku.html#sku-商品规格选择)" | ||
}, | ||
"nut-time-select": { | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/timeselect.html#timeselect-配送时间)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/timeselect.html#timeselect-配送时间)" | ||
}, | ||
@@ -420,3 +421,3 @@ "nut-time-pannel": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/timeselect.html#timepannel)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/timeselect.html#timepannel)" | ||
}, | ||
@@ -427,3 +428,3 @@ "nut-time-detail": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/business/timeselect.html#timedetail)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/business/timeselect.html#timedetail)" | ||
}, | ||
@@ -457,3 +458,3 @@ "nut-calendar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/calendar.html#calendar-日历)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/calendar.html#calendar-日历)" | ||
}, | ||
@@ -482,3 +483,3 @@ "nut-cascader": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/cascader.html#cascader-级联选择)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/cascader.html#cascader-级联选择)" | ||
}, | ||
@@ -496,3 +497,3 @@ "nut-checkbox": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/checkbox.html#checkbox)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/checkbox.html#checkbox)" | ||
}, | ||
@@ -506,3 +507,3 @@ "nut-checkbox-group": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/checkbox.html#checkboxgroup)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/checkbox.html#checkboxgroup)" | ||
}, | ||
@@ -528,3 +529,3 @@ "nut-code-input": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/codeinput.html#codeinput-验证码输入框)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/codeinput.html#codeinput-验证码输入框)" | ||
}, | ||
@@ -553,3 +554,3 @@ "nut-date-picker": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/datepicker.html#datepicker-日期选择器)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/datepicker.html#datepicker-日期选择器)" | ||
}, | ||
@@ -565,3 +566,3 @@ "nut-form": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/form.html#form)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/form.html#form)" | ||
}, | ||
@@ -582,3 +583,3 @@ "nut-form-item": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/form.html#formitem)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/form.html#formitem)" | ||
}, | ||
@@ -628,3 +629,3 @@ "nut-input": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/input.html#input-输入框)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/input.html#input-输入框)" | ||
}, | ||
@@ -649,3 +650,3 @@ "nut-input-number": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/inputnumber.html#inputnumber-数字输入框)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/inputnumber.html#inputnumber-数字输入框)" | ||
}, | ||
@@ -669,3 +670,3 @@ "nut-number-keyboard": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/numberkeyboard.html#numberkeyboard-数字键盘)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/numberkeyboard.html#numberkeyboard-数字键盘)" | ||
}, | ||
@@ -689,3 +690,3 @@ "nut-picker": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/picker.html#picker)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/picker.html#picker)" | ||
}, | ||
@@ -700,3 +701,3 @@ "nut-radio": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/radio.html#radio)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/radio.html#radio)" | ||
}, | ||
@@ -710,3 +711,3 @@ "nut-radio-group": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/radio.html#radiogroup)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/radio.html#radiogroup)" | ||
}, | ||
@@ -719,3 +720,3 @@ "nut-range": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/range.html#range-区间选择器)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/range.html#range-区间选择器)" | ||
}, | ||
@@ -736,3 +737,3 @@ "nut-rate": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/rate.html#rate-评分)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/rate.html#rate-评分)" | ||
}, | ||
@@ -767,3 +768,3 @@ "nut-searchbar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/searchbar.html#searchbar-搜索栏)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/searchbar.html#searchbar-搜索栏)" | ||
}, | ||
@@ -784,3 +785,3 @@ "nut-short-password": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/shortpassword.html#shortpassword-短密码)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/shortpassword.html#shortpassword-短密码)" | ||
}, | ||
@@ -820,3 +821,3 @@ "nut-textarea": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/textarea.html#textarea-文本域)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/textarea.html#textarea-文本域)" | ||
}, | ||
@@ -859,3 +860,3 @@ "nut-uploader": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/uploader.html#uploader-上传)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/dentry/uploader.html#uploader-上传)" | ||
}, | ||
@@ -872,3 +873,3 @@ "nut-animate": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/animate.html#animate)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/animate.html#animate)" | ||
}, | ||
@@ -882,3 +883,3 @@ "nut-avatar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/avatar.html#avatar)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/avatar.html#avatar)" | ||
}, | ||
@@ -896,3 +897,3 @@ "nut-avatar-group": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/avatar.html#avatargroup)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/avatar.html#avatargroup)" | ||
}, | ||
@@ -911,3 +912,3 @@ "nut-badge": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/badge.html#badge-徽标)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/badge.html#badge-徽标)" | ||
}, | ||
@@ -924,3 +925,3 @@ "nut-circle-progress": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/circleprogress.html#circleprogress-环形进度条)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/circleprogress.html#circleprogress-环形进度条)" | ||
}, | ||
@@ -931,3 +932,3 @@ "nut-collapse": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/collapse.html#collapse-折叠面板)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/collapse.html#collapse-折叠面板)" | ||
}, | ||
@@ -945,3 +946,3 @@ "nut-collapse-item": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/collapse.html#collapseitem)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/collapse.html#collapseitem)" | ||
}, | ||
@@ -962,3 +963,3 @@ "nut-countdown": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/countdown.html#countdown-倒计时)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/countdown.html#countdown-倒计时)" | ||
}, | ||
@@ -985,3 +986,3 @@ "nut-countup": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/countup.html#countup-数字滚动)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/countup.html#countup-数字滚动)" | ||
}, | ||
@@ -1000,3 +1001,3 @@ "nut-ellipsis": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/ellipsis.html#ellipsis)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/ellipsis.html#ellipsis)" | ||
}, | ||
@@ -1009,3 +1010,3 @@ "nut-empty": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/empty.html#empty-空状态)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/empty.html#empty-空状态)" | ||
}, | ||
@@ -1031,3 +1032,3 @@ "nut-image-preview": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/imagepreview.html#imagepreview-图片预览)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/imagepreview.html#imagepreview-图片预览)" | ||
}, | ||
@@ -1041,3 +1042,3 @@ "nut-list": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/list.html#list-虚拟列表)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/list.html#list-虚拟列表)" | ||
}, | ||
@@ -1055,3 +1056,3 @@ "nut-loading-page": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/loadingpage.html#loadingpage-加载页)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/loadingpage.html#loadingpage-加载页)" | ||
}, | ||
@@ -1068,3 +1069,3 @@ "nut-(direction=vertical)": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/noticebar.html#(direction=vertical))" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/noticebar.html#(direction=vertical))" | ||
}, | ||
@@ -1076,3 +1077,3 @@ "nut-noticebar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/noticebar.html#noticebar-通告栏)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/noticebar.html#noticebar-通告栏)" | ||
}, | ||
@@ -1101,3 +1102,3 @@ "nut-popover": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/popover.html#popover-气泡弹出框-<badge-type=\"tip\">1.6.8</badge>)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/popover.html#popover-气泡弹出框-<badge-type=\"tip\">1.6.8</badge>)" | ||
}, | ||
@@ -1115,3 +1116,3 @@ "nut-price": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/price.html#price-商品价格)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/price.html#price-商品价格)" | ||
}, | ||
@@ -1131,3 +1132,3 @@ "nut-progress": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/progress.html#progress-进度条)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/progress.html#progress-进度条)" | ||
}, | ||
@@ -1147,3 +1148,3 @@ "nut-skeleton": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/skeleton.html#skeleton-骨架屏)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/skeleton.html#skeleton-骨架屏)" | ||
}, | ||
@@ -1157,3 +1158,3 @@ "nut-steps": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/steps.html#steps)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/steps.html#steps)" | ||
}, | ||
@@ -1165,3 +1166,3 @@ "nut-step": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/steps.html#step)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/steps.html#step)" | ||
}, | ||
@@ -1185,3 +1186,3 @@ "nut-swiper": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/swiper.html#swiper-轮播)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/swiper.html#swiper-轮播)" | ||
}, | ||
@@ -1198,3 +1199,3 @@ "nut-table-column": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/table.html#tablecolumn)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/table.html#tablecolumn)" | ||
}, | ||
@@ -1210,3 +1211,3 @@ "nut-table": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/table.html#table-表格)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/table.html#table-表格)" | ||
}, | ||
@@ -1227,3 +1228,3 @@ "nut-tag": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/tag.html#tag-标签)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/tag.html#tag-标签)" | ||
}, | ||
@@ -1253,3 +1254,3 @@ "nut-tour": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/tour.html#tour-引导-<badge-type=\"warning\">h5</badge>)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/tour.html#tour-引导-<badge-type=\"warning\">h5</badge>)" | ||
}, | ||
@@ -1268,3 +1269,3 @@ "nut-trendarrow": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/trendarrow.html#trendarrow)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/trendarrow.html#trendarrow)" | ||
}, | ||
@@ -1288,3 +1289,3 @@ "nut-watermark": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/exhibition/watermark.html#watermark-水印)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/exhibition/watermark.html#watermark-水印)" | ||
}, | ||
@@ -1303,2 +1304,10 @@ "nut-action-sheet": { | ||
"close-abled", | ||
"round", | ||
"overlay", | ||
"pop-class", | ||
"pop-style", | ||
"overlay-class", | ||
"overlay-style", | ||
"lock-scroll", | ||
"safe-area-inset-bottom", | ||
"choose", | ||
@@ -1308,3 +1317,3 @@ "cancel", | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/actionsheet.html#actionsheet-动作面板)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/actionsheet.html#actionsheet-动作面板)" | ||
}, | ||
@@ -1321,3 +1330,3 @@ "nut-backtop": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/backtop.html#backtop-返回顶部)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/backtop.html#backtop-返回顶部)" | ||
}, | ||
@@ -1351,3 +1360,3 @@ "nut-dialog": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/dialog.html#dialog-对话框)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/dialog.html#dialog-对话框)" | ||
}, | ||
@@ -1360,3 +1369,3 @@ "nut-drag": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/drag.html#drag-拖拽)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/drag.html#drag-拖拽)" | ||
}, | ||
@@ -1378,3 +1387,3 @@ "nut-notify": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/notify.html#notify-消息通知)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/notify.html#notify-消息通知)" | ||
}, | ||
@@ -1387,3 +1396,3 @@ "nut-swipe": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/swipe.html#swipe-滑动手势)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/swipe.html#swipe-滑动手势)" | ||
}, | ||
@@ -1403,3 +1412,3 @@ "nut-switch": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/switch.html#switch-开关)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/switch.html#switch-开关)" | ||
}, | ||
@@ -1431,3 +1440,3 @@ "nut-toast": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/feedback/toast.html#toast-吐司)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/feedback/toast.html#toast-吐司)" | ||
}, | ||
@@ -1441,3 +1450,3 @@ "nut-divider": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/divider.html#divider-分割线)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/divider.html#divider-分割线)" | ||
}, | ||
@@ -1455,3 +1464,3 @@ "nut-grid": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/grid.html#grid)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/grid.html#grid)" | ||
}, | ||
@@ -1463,3 +1472,3 @@ "nut-grid-item": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/grid.html#griditem)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/grid.html#griditem)" | ||
}, | ||
@@ -1475,3 +1484,3 @@ "nut-row": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/layout.html#row)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/layout.html#row)" | ||
}, | ||
@@ -1484,3 +1493,3 @@ "nut-col": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/layout.html#col)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/layout.html#col)" | ||
}, | ||
@@ -1491,3 +1500,3 @@ "nut-safe-area": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/safearea.html#safearea-安全区-<badge>v1.5.8</badge>)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/safearea.html#safearea-安全区-<badge>v1.5.8</badge>)" | ||
}, | ||
@@ -1503,3 +1512,3 @@ "nut-sticky": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/layout/sticky.html#sticky-粘性布局)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/layout/sticky.html#sticky-粘性布局)" | ||
}, | ||
@@ -1518,3 +1527,3 @@ "nut-elevator": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/elevator.html#elevator-电梯楼层)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/elevator.html#elevator-电梯楼层)" | ||
}, | ||
@@ -1533,3 +1542,3 @@ "nut-fixed-nav": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/fixednav.html#fixednav-悬浮导航)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/fixednav.html#fixednav-悬浮导航)" | ||
}, | ||
@@ -1544,3 +1553,3 @@ "nut-indicator": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/indicator.html#indicator-指示器)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/indicator.html#indicator-指示器)" | ||
}, | ||
@@ -1559,3 +1568,3 @@ "nut-menu": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/menu.html#menu)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/menu.html#menu)" | ||
}, | ||
@@ -1572,7 +1581,7 @@ "nut-menu-item": { | ||
"change", | ||
"toggle", | ||
"open", | ||
"close" | ||
"close", | ||
"item-click" | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/menu.html#menuitem)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/menu.html#menuitem)" | ||
}, | ||
@@ -1598,3 +1607,3 @@ "nut-navbar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/navbar.html#navbar-头部导航)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/navbar.html#navbar-头部导航)" | ||
}, | ||
@@ -1614,3 +1623,3 @@ "nut-pagination": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/pagination.html#pagination-分页)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/pagination.html#pagination-分页)" | ||
}, | ||
@@ -1621,3 +1630,3 @@ "nut-side-navbar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/sidenavbar.html#sidenavbar)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/sidenavbar.html#sidenavbar)" | ||
}, | ||
@@ -1631,3 +1640,3 @@ "nut-sub-side-navbar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/sidenavbar.html#subsidenavbar)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/sidenavbar.html#subsidenavbar)" | ||
}, | ||
@@ -1640,3 +1649,3 @@ "nut-side-navbar-item": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/sidenavbar.html#sidenavbaritem)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/sidenavbar.html#sidenavbaritem)" | ||
}, | ||
@@ -1653,3 +1662,3 @@ "nut-tabbar": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/tabbar.html#tabbar)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/tabbar.html#tabbar)" | ||
}, | ||
@@ -1662,3 +1671,3 @@ "nut-tabbar-item": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/tabbar.html#tabbaritem)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/tabbar.html#tabbaritem)" | ||
}, | ||
@@ -1684,3 +1693,3 @@ "nut-tabs": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/tabs.html#tabs)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/tabs.html#tabs)" | ||
}, | ||
@@ -1693,4 +1702,4 @@ "nut-tab-pane": { | ||
], | ||
"description": "[Docs](https://www.uniapp-nutui.tech/components/nav/tabs.html#tabpane)" | ||
"description": "[Docs](https://nutui-uniapp.netlify.app/components/nav/tabs.html#tabpane)" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2841844
573
38007