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.6.7 to 2.8.0

lib/mobile-first.js

9

lib/index.js

@@ -18,5 +18,8 @@ function _extends() {

import MobileTemplate from "./mobile.js";
import MobileFirstTemplate from "./mobile-first.js";
var template = function template2(mode) {
if ("mobile" === (process.env.TINY_MODE || mode))
return MobileTemplate;
else if ("mobile-first" === (process.env.TINY_MODE || mode))
return MobileFirstTemplate;
else

@@ -73,3 +76,7 @@ return PcTemplate;

},
beforeChange: Function
beforeChange: Function,
displayOnly: {
type: Boolean,
default: false
}
}),

@@ -76,0 +83,0 @@ setup: function setup(props, context) {

7

package.json
{
"name": "@opentiny/vue-switch",
"version": "2.6.7",
"version": "2.8.0",
"description": "",
"main": "./lib/index.js",
"module": "./lib/index.js",
"dependencies": {
"@opentiny/vue-renderless": "~3.6.6",
"@opentiny/vue-common": "~2.6.7"
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-common": "~2.8.0"
},

@@ -10,0 +11,0 @@ "license": "MIT",

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

beforeChange: FunctionConstructor;
displayOnly: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, {
modelValue: string | number | boolean;
disabled: boolean;
tabindex: string;
modelValue: string | number | boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
displayOnly: boolean;
mini: boolean;

@@ -55,2 +67,7 @@ showText: boolean;

size?: string | number | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
beforeChange?: Function | undefined;

@@ -60,6 +77,8 @@ falseColor?: string | undefined;

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

@@ -71,2 +90,7 @@ showText: boolean;

size?: string | number | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
beforeChange?: Function | undefined;

@@ -76,6 +100,8 @@ falseColor?: string | undefined;

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

@@ -87,2 +113,7 @@ showText: boolean;

size?: string | number | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
beforeChange?: Function | undefined;

@@ -92,6 +123,7 @@ falseColor?: string | undefined;

}, {
modelValue: string | number | boolean;
disabled: boolean;
tabindex: string;
modelValue: string | number | boolean;
_constants: Record<string, any>;
displayOnly: boolean;
mini: boolean;

@@ -98,0 +130,0 @@ showText: boolean;

@@ -8,2 +8,4 @@ declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{

dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api").Data, {}, {}, Readonly<{

@@ -22,2 +24,4 @@ [x: string]: any;

dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api").Data, {}, {}, {

@@ -24,0 +28,0 @@ [x: string]: any;

@@ -8,2 +8,4 @@ declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{

dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api").Data, {}, {}, Readonly<{

@@ -22,2 +24,4 @@ [x: string]: any;

dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api").Data, {}, {}, {

@@ -24,0 +28,0 @@ [x: string]: any;

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