Comparing version 1.1.8 to 1.1.9
{ | ||
"name": "le-ui", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "leke vue components", | ||
@@ -5,0 +5,0 @@ "author": { |
import Checkbox from './src/checkbox.vue'; | ||
import CheckboxGroup from './src/checkbox-group.vue'; | ||
Checkbox.Group = CheckboxGroup; | ||
export default Checkbox; |
@@ -46,3 +46,3 @@ export default { | ||
name: '', | ||
describe: '主题位置的额外内容' | ||
describe: '主体位置的额外内容' | ||
}, | ||
@@ -49,0 +49,0 @@ { |
@@ -8,37 +8,56 @@ export default { | ||
{ | ||
name: 'options', | ||
type: ['Array'], | ||
describe: '选择项', | ||
name: 'checked', | ||
type: ['Boolean', 'Number'], | ||
describe: '是否选中,若传入则组件为受控组件,由该属性控制', | ||
default: '0', | ||
option: [], | ||
required: false | ||
}, | ||
{ | ||
name: 'value', | ||
type: ['String', 'Number'], | ||
describe: '传入的value值,用于返回给用户', | ||
default: '', | ||
option: [], | ||
required: true, | ||
example: [ | ||
{ | ||
label: '瑜伽', | ||
value: '1' | ||
}, | ||
{ | ||
label: '踏板', | ||
value: '2' | ||
}, | ||
{ | ||
label: '舞蹈', | ||
value: '3', | ||
disabled: true | ||
}, | ||
{ | ||
label: '杠铃', | ||
value: '4' | ||
}, | ||
{ | ||
label: '搏击', | ||
value: '5' | ||
}, | ||
{ | ||
label: '单车', | ||
value: '6' | ||
} | ||
] | ||
required: false | ||
}, | ||
{ | ||
name: 'label', | ||
type: ['String', 'Number'], | ||
describe: '显示的文案,与slot二选一', | ||
default: '', | ||
option: [], | ||
required: false | ||
}, | ||
{ | ||
name: 'vertical', | ||
type: ['Boolean'], | ||
describe: '组件模型为块状排列还是按行排列', | ||
default: false, | ||
option: [], | ||
required: false | ||
}, | ||
{ | ||
name: 'disabled', | ||
type: ['Boolean'], | ||
describe: 'checkbox是否不可用', | ||
default: '', | ||
option: [], | ||
required: false | ||
}, | ||
{ | ||
name: 'group', | ||
type: ['Boolean'], | ||
describe: '是否有多个group', | ||
default: '', | ||
option: [], | ||
required: false | ||
} | ||
], | ||
slot: [ | ||
{ | ||
name: '', | ||
describe: '主体位置的内容' | ||
} | ||
] | ||
} |
@@ -49,2 +49,3 @@ // es6 polyfill | ||
Checkbox, | ||
CheckboxGroup: Checkbox.Group, | ||
Empty, | ||
@@ -51,0 +52,0 @@ Week, |
Sorry, the diff of this file is too big to display
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
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1953301
158
10075
2
6
9