qrcode.vue
Advanced tools
Comparing version 3.3.1 to 3.3.2
import { PropType } from 'vue'; | ||
declare const QrcodeVue: import("vue").DefineComponent<{ | ||
readonly renderAs: { | ||
readonly type: StringConstructor; | ||
readonly required: false; | ||
readonly default: "canvas"; | ||
readonly validator: (as: any) => boolean; | ||
renderAs: { | ||
type: PropType<"canvas" | "svg">; | ||
required: boolean; | ||
default: string; | ||
validator: (as: any) => boolean; | ||
}; | ||
readonly value: { | ||
readonly type: StringConstructor; | ||
readonly required: true; | ||
readonly default: ""; | ||
value: { | ||
type: StringConstructor; | ||
required: boolean; | ||
default: string; | ||
}; | ||
readonly size: { | ||
readonly type: NumberConstructor; | ||
readonly default: 100; | ||
size: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
readonly level: { | ||
readonly type: PropType<"L" | "M" | "Q" | "H">; | ||
readonly default: "H"; | ||
readonly validator: (l: any) => boolean; | ||
level: { | ||
type: PropType<"L" | "M" | "Q" | "H">; | ||
default: string; | ||
validator: (l: any) => boolean; | ||
}; | ||
readonly background: { | ||
readonly type: StringConstructor; | ||
readonly default: "#fff"; | ||
background: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
readonly foreground: { | ||
readonly type: StringConstructor; | ||
readonly default: "#000"; | ||
foreground: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
readonly margin: { | ||
readonly type: NumberConstructor; | ||
readonly required: false; | ||
readonly default: 0; | ||
margin: { | ||
type: NumberConstructor; | ||
required: boolean; | ||
default: number; | ||
}; | ||
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
readonly renderAs?: unknown; | ||
readonly value?: unknown; | ||
readonly size?: unknown; | ||
readonly level?: unknown; | ||
readonly background?: unknown; | ||
readonly foreground?: unknown; | ||
readonly margin?: unknown; | ||
renderAs?: unknown; | ||
value?: unknown; | ||
size?: unknown; | ||
level?: unknown; | ||
background?: unknown; | ||
foreground?: unknown; | ||
margin?: unknown; | ||
} & { | ||
@@ -51,3 +51,3 @@ value: string; | ||
margin: number; | ||
renderAs: string; | ||
renderAs: "canvas" | "svg"; | ||
} & {}>, { | ||
@@ -60,4 +60,4 @@ value: string; | ||
margin: number; | ||
renderAs: string; | ||
renderAs: "canvas" | "svg"; | ||
}>; | ||
export default QrcodeVue; |
/*! | ||
* qrcode.vue v3.3.1 | ||
* qrcode.vue v3.3.2 | ||
* A Vue.js component to generate QRCode. | ||
@@ -4,0 +4,0 @@ * © 2017-2021 @scopewu(https://github.com/scopewu) |
/*! | ||
* qrcode.vue v3.3.1 | ||
* qrcode.vue v3.3.2 | ||
* A Vue.js component to generate QRCode. | ||
@@ -4,0 +4,0 @@ * © 2017-2021 @scopewu(https://github.com/scopewu) |
/*! | ||
* qrcode.vue v3.3.1 | ||
* qrcode.vue v3.3.2 | ||
* A Vue.js component to generate QRCode. | ||
@@ -4,0 +4,0 @@ * © 2017-2021 @scopewu(https://github.com/scopewu) |
/*! | ||
* qrcode.vue v3.3.1 | ||
* qrcode.vue v3.3.2 | ||
* A Vue.js component to generate QRCode. | ||
@@ -4,0 +4,0 @@ * © 2017-2021 @scopewu(https://github.com/scopewu) |
{ | ||
"name": "qrcode.vue", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "A Vue.js component to generate QRCode.", | ||
@@ -14,3 +14,2 @@ "main": "dist/qrcode.vue.cjs.js", | ||
"build": "rimraf dist && rollup -c", | ||
"github:pages": "sh deploy-github-pages.sh", | ||
"prepublishOnly": "npm run build" | ||
@@ -17,0 +16,0 @@ }, |
@@ -88,3 +88,3 @@ # qrcode.vue | ||
- 类型:`string` | ||
- 类型:`string('canvas' | 'svg')` | ||
- 默认值:`canvas` | ||
@@ -103,3 +103,3 @@ | ||
- 类型:`string` | ||
- 类型:`string('L' | 'M' | 'Q' | 'H')` | ||
- 默认值:`H` | ||
@@ -106,0 +106,0 @@ |
@@ -90,3 +90,3 @@ # qrcode.vue | ||
- Type: `string` | ||
- Type: `string('canvas' | 'svg')` | ||
- Default: `canvas` | ||
@@ -105,3 +105,3 @@ | ||
- Type: `string` | ||
- Type: `string('L' | 'M' | 'Q' | 'H')` | ||
- Default: `H` | ||
@@ -108,0 +108,0 @@ |
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
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
0
139940