Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nutui-uniapp

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nutui-uniapp - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

17

components/input/input.ts

@@ -1,3 +0,4 @@

import type { ExtractPropTypes, PropType } from 'vue'
import type { ExtractPropTypes, PropType, StyleValue } from 'vue'
import type { InputOnBlurEvent, InputOnConfirmEvent, InputOnFocusEvent, InputOnInputEvent } from '@uni-helper/uni-app-types'
import type { ClassType } from '../_utils'
import { commonProps, isNumber, isString, makeNumberProp, makeNumericProp, makeStringProp, truthProp } from '../_utils'

@@ -18,2 +19,16 @@ import { BLUR_EVENT, CLEAR_EVENT, CLICK_EVENT, CONFIRM_EVENT, FOCUS_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT } from '../_constants'

/**
* @description 输入框自定义类名
*/
inputClass: {
type: [String, Object, Array] as PropType<ClassType>,
default: '',
},
/**
* @description 输入框自定义样式
*/
inputStyle: {
type: [String, Object, Array] as PropType<StyleValue>,
default: '',
},
/**
* @description 输入框为空时占位符

@@ -20,0 +35,0 @@ */

4

components/picker/picker.ts

@@ -11,3 +11,3 @@ import type { ExtractPropTypes, PropType } from 'vue'

*/
modelValue: makeArrayProp<(string | number)[]>([]),
modelValue: makeArrayProp<(string | number)>([]),
/**

@@ -28,3 +28,3 @@ * @description 设置标题

*/
columns: makeArrayProp<(PickerOption | PickerOption[])[]>([]),
columns: makeArrayProp<(PickerOption | PickerOption[])>([]),
/**

@@ -31,0 +31,0 @@ * @description 是否开启3D效果

@@ -10,2 +10,3 @@ import { computed, reactive, ref, toRefs, watch } from 'vue'

children: 'children',
className: '',
}

@@ -12,0 +13,0 @@

@@ -30,3 +30,3 @@ export interface PickerOption {

children?: string
className: string
className?: string
}

@@ -1,7 +0,8 @@

import type { ExtractPropTypes, PropType } from 'vue'
import type { ExtractPropTypes, PropType, StyleValue } from 'vue'
import type { TextareaOnBlurEvent, TextareaOnConfirmEvent, TextareaOnFocusEvent, TextareaOnInputEvent } from '@uni-helper/uni-app-types'
import type { ClassType } from '../_utils'
import { commonProps, isString, makeNumberProp, makeStringProp, truthProp } from '../_utils'
import { BLUR_EVENT, CHANGE_EVENT, CONFIRM_EVENT, FOCUS_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT } from '../_constants'
import type { InputAlignType } from '../input'
import type { TextareaAdjustKeyboardTo, TextareaConfirmType } from './type'
import type { TextareaAdjustKeyboardTo, TextareaAutosizeObject, TextareaConfirmType } from './type'

@@ -31,2 +32,16 @@ export const textareaProps = {

/**
* @description 文本域自定义类名
*/
textareaClass: {
type: [String, Object, Array] as PropType<ClassType>,
default: '',
},
/**
* @description 文本域自定义样式
*/
textareaStyle: {
type: [String, Object, Array] as PropType<StyleValue>,
default: '',
},
/**
* @description 设置占位提示文字

@@ -55,3 +70,3 @@ */

autosize: {
type: [Boolean, Object],
type: [Boolean, Object] as PropType<boolean | TextareaAutosizeObject>,
default: false,

@@ -58,0 +73,0 @@ },

{
"name": "nutui-uniapp",
"displayName": "nutui-uniapp 京东风格的轻量级移动端 Uniapp、Vue3 组件库",
"version": "1.7.2",
"version": "1.7.3",
"description": "京东风格的轻量级移动端 Uniapp、Vue3 组件库(支持小程序开发)",

@@ -6,0 +6,0 @@ "author": "yang1206 <y1149221897@outlook.com>",

@@ -550,2 +550,4 @@ {

"type",
"input-style",
"input-class",
"placeholder",

@@ -555,3 +557,3 @@ "placeholder-style",

"input-align",
"custom-style",
"required",
"border",

@@ -563,3 +565,3 @@ "disabled",

"clearable",
"showClearIcon",
"show-clear-icon",
"clear-size",

@@ -741,2 +743,4 @@ "show-word-limit",

"model-value",
"textarea-style",
"textarea-class",
"placeholder",

@@ -743,0 +747,0 @@ "placeholder-style",

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 too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc