nutui-uniapp
Advanced tools
Comparing version 1.7.8 to 1.7.9
import type { ExtractPropTypes, PropType, StyleValue } from 'vue' | ||
import type { InputOnBlurEvent, InputOnConfirmEvent, InputOnFocusEvent, InputOnInputEvent } from '@uni-helper/uni-app-types' | ||
import type { | ||
BaseEvent, | ||
InputOnBlurEvent, | ||
InputOnConfirmEvent, | ||
InputOnFocusEvent, | ||
InputOnInputEvent, | ||
} from '@uni-helper/uni-app-types' | ||
import type { ClassType } from '../_utils' | ||
@@ -152,4 +158,4 @@ import { commonProps, isNumber, isString, makeNumberProp, makeNumericProp, makeStringProp, truthProp } from '../_utils' | ||
export const inputEmits = { | ||
[CLICK_EVENT]: (evt: Event) => evt instanceof Object, | ||
clickInput: (evt: Event) => evt instanceof Object, | ||
[CLICK_EVENT]: (evt: BaseEvent) => evt instanceof Object, | ||
clickInput: (evt: BaseEvent) => evt instanceof Object, | ||
[BLUR_EVENT]: (evt: InputOnBlurEvent) => evt instanceof Object, | ||
@@ -159,3 +165,3 @@ [FOCUS_EVENT]: (evt: InputOnFocusEvent) => evt instanceof Object, | ||
[CONFIRM_EVENT]: (evt: InputOnConfirmEvent) => evt instanceof Object, | ||
[UPDATE_MODEL_EVENT]: (val1?: string | number, val2?: Event) => (isString(val1) || isNumber(val1)) && ((val2 instanceof Object) || val2 === undefined), | ||
[UPDATE_MODEL_EVENT]: (val1: string | number, val2?: BaseEvent) => (isString(val1) || isNumber(val1)) && ((val2 instanceof Object) || val2 === undefined), | ||
[INPUT_EVENT]: (val: string | number, evt: InputOnInputEvent) => (isString(val) || isNumber(val)) && evt instanceof Object, | ||
@@ -162,0 +168,0 @@ } |
import type { ExtractPropTypes } from 'vue' | ||
import { commonProps, isBoolean, isNumber, isString, makeArrayProp, makeNumericProp, makeStringProp } from '../_utils' | ||
import { CLOSE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT, UPDATE_VISIBLE_EVENT } from '../_constants' | ||
import { CLOSE_EVENT, CONFIRM_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT, UPDATE_VISIBLE_EVENT } from '../_constants' | ||
@@ -60,4 +60,5 @@ export const numberkeyboardProps = { | ||
[UPDATE_MODEL_EVENT]: (val: string | number) => isString(val) || isNumber(val), | ||
[CONFIRM_EVENT]: () => true, | ||
} | ||
export type NumberKeyBoardEmits = typeof numberkeyboardEmits |
{ | ||
"name": "nutui-uniapp", | ||
"displayName": "nutui-uniapp 京东风格的轻量级移动端 Uniapp、Vue3 组件库", | ||
"version": "1.7.8", | ||
"version": "1.7.9", | ||
"description": "京东风格的轻量级移动端 Uniapp、Vue3 组件库(支持小程序开发)", | ||
@@ -6,0 +6,0 @@ "author": "yang1206 <y1149221897@outlook.com>", |
@@ -629,3 +629,4 @@ { | ||
"delete", | ||
"close" | ||
"close", | ||
"confirm" | ||
], | ||
@@ -632,0 +633,0 @@ "description": "[Docs](https://www.uniapp-nutui.tech/components/dentry/numberkeyboard.html#numberkeyboard-数字键盘)" |
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 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
2827165
37844