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

@opentiny/vue-switch

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-switch - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

__tests__/switch.test.d.ts

2

lib/index.js

@@ -93,3 +93,3 @@ function _extends() {

});
var version = "2.9.0";
var version = "2.10.0";
Switch.model = {

@@ -96,0 +96,0 @@ prop: "modelValue",

@@ -60,3 +60,3 @@ import { renderless, api } from "@opentiny/vue-renderless/switch/vue";

emits: ["change", "update:modelValue"],
props: [].concat(props, ["modelValue", "trueValue", "falseValue", "disabled", "mini", "tabindex", "showText", "beforeChange"]),
props: [].concat(props, ["modelValue", "trueValue", "falseValue", "disabled", "mini", "tabindex", "showText", "beforeChange", "displayOnly"]),
setup: function setup(props2, context) {

@@ -63,0 +63,0 @@ return _setup({

{
"name": "@opentiny/vue-switch",
"version": "2.9.0",
"version": "2.10.0",
"description": "",

@@ -8,5 +8,6 @@ "main": "./lib/index.js",

"sideEffects": false,
"type": "module",
"dependencies": {
"@opentiny/vue-renderless": "~3.9.0",
"@opentiny/vue-common": "~2.9.0"
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-common": "~2.10.0"
},

@@ -13,0 +14,0 @@ "license": "MIT",

@@ -21,3 +21,3 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {

falseValue: {
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
default: boolean;

@@ -30,6 +30,6 @@ };

modelValue: {
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
default: boolean;
};
size: (NumberConstructor | StringConstructor)[];
size: (StringConstructor | NumberConstructor)[];
tabindex: {

@@ -41,3 +41,3 @@ type: StringConstructor;

trueValue: {
type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
default: boolean;

@@ -57,12 +57,12 @@ };

}, {
modelValue: string | number | boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
modelValue: string | number | boolean;
tabindex: string;
disabled: boolean;
mini: boolean;
displayOnly: boolean;
mini: boolean;
trueValue: string | number | boolean;
falseValue: string | number | boolean;
showText: boolean;
falseValue: string | number | boolean;
trueValue: string | number | boolean;
} & {

@@ -79,12 +79,12 @@ tiny_mode?: string | undefined;

}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
modelValue: string | number | boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
modelValue: string | number | boolean;
tabindex: string;
disabled: boolean;
mini: boolean;
displayOnly: boolean;
mini: boolean;
trueValue: string | number | boolean;
falseValue: string | number | boolean;
showText: boolean;
falseValue: string | number | boolean;
trueValue: string | number | boolean;
} & {

@@ -101,12 +101,12 @@ tiny_mode?: string | undefined;

}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
modelValue: string | number | boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
modelValue: string | number | boolean;
tabindex: string;
disabled: boolean;
mini: boolean;
displayOnly: boolean;
mini: boolean;
trueValue: string | number | boolean;
falseValue: string | number | boolean;
showText: boolean;
falseValue: string | number | boolean;
trueValue: string | number | boolean;
} & {

@@ -123,12 +123,12 @@ tiny_mode?: string | undefined;

}, {
disabled: boolean;
_constants: Record<string, any>;
modelValue: string | number | boolean;
_constants: Record<string, any>;
tabindex: string;
disabled: boolean;
mini: boolean;
displayOnly: boolean;
mini: boolean;
trueValue: string | number | boolean;
falseValue: string | number | boolean;
showText: boolean;
falseValue: string | number | boolean;
trueValue: string | number | boolean;
}, true>);
export default _default;

@@ -1,2 +0,2 @@

declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;

@@ -12,2 +12,2 @@ }>, {

}, true>);
export default _sfc_main;
export default _default;

@@ -1,2 +0,2 @@

declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;

@@ -30,2 +30,2 @@ vm: any;

}, true>);
export default _sfc_main;
export default _default;

@@ -1,2 +0,2 @@

declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;

@@ -30,2 +30,2 @@ vm: any;

}, true>);
export default _sfc_main;
export default _default;
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