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

@opentiny/vue-modal

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-modal - npm Package Compare versions

Comparing version 3.8.0 to 3.8.2

12

lib/index.js

@@ -21,8 +21,12 @@ function _extends() {

var template = function template2(mode) {
if ("mobile" === (process.env.TINY_MODE || mode))
if ("pc" === (process.env.TINY_MODE || mode)) {
return PcTemplate;
}
if ("mobile" === (process.env.TINY_MODE || mode)) {
return MobileTemplate;
else if ("mobile-first" === (process.env.TINY_MODE || mode))
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
return MobileFirstTemplate;
else
return PcTemplate;
}
return PcTemplate;
};

@@ -29,0 +33,0 @@ var $constants = {

{
"name": "@opentiny/vue-modal",
"version": "3.8.0",
"version": "3.8.2",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-common": "~3.8.0",
"@opentiny/vue-button": "~3.8.0",
"@opentiny/vue-locale": "~3.8.0"
"@opentiny/vue-renderless": "~3.8.2",
"@opentiny/vue-common": "~3.8.2",
"@opentiny/vue-button": "~3.8.2",
"@opentiny/vue-locale": "~3.8.2"
},

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

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

declare const _default: import("@vue/runtime-core").DefineComponent<{
_constants: {
type: ObjectConstructor;
default: () => {
MODAL_STATUS: {
INFO: string;
SUCCESS: string;
WARNING: string;
ERROR: string;
LOADING: string;
};
NODAL_TYPE: {
ALERT: string;
CONFIRM: string;
MESSAGE: string;
};
STATUS_MAPPING_CLASSS: {
INFO: string;
SUCCESS: string;
WARNING: string;
ERROR: string;
LOADING: string;
};
};
};
animat: {
type: BooleanConstructor;
default: () => boolean;
};
beforeClose: FunctionConstructor;
duration: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
escClosable: BooleanConstructor;
events: ObjectConstructor;
fullscreen: BooleanConstructor;
height: (StringConstructor | NumberConstructor)[];
id: StringConstructor;
isFormReset: {
type: BooleanConstructor;
default: boolean;
};
lockScroll: BooleanConstructor;
lockView: {
type: BooleanConstructor;
default: () => boolean;
};
marginSize: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
mask: {
type: BooleanConstructor;
default: () => boolean;
};
maskClosable: BooleanConstructor;
message: (StringConstructor | FunctionConstructor | ObjectConstructor)[];
minHeight: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
minWidth: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
modelValue: BooleanConstructor;
resize: BooleanConstructor;
showFooter: BooleanConstructor;
showHeader: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: (StringConstructor | ObjectConstructor)[];
default: string;
};
title: StringConstructor;
top: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
type: {
type: StringConstructor;
default: string;
};
vSize: StringConstructor;
width: (StringConstructor | NumberConstructor)[];
zIndex: (StringConstructor | NumberConstructor)[];
mode: null;
description: StringConstructor;
options: ArrayConstructor;
showClose: {
type: BooleanConstructor;
default: boolean;
};
confirmContent: StringConstructor;
cancelContent: StringConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
_constants: {
type: ObjectConstructor;
default: () => {
MODAL_STATUS: {
INFO: string;
SUCCESS: string;
WARNING: string;
ERROR: string;
LOADING: string;
};
NODAL_TYPE: {
ALERT: string;
CONFIRM: string;
MESSAGE: string;
};
STATUS_MAPPING_CLASSS: {
INFO: string;
SUCCESS: string;
WARNING: string;
ERROR: string;
LOADING: string;
};
};
};
animat: {
type: BooleanConstructor;
default: () => boolean;
};
beforeClose: FunctionConstructor;
duration: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
escClosable: BooleanConstructor;
events: ObjectConstructor;
fullscreen: BooleanConstructor;
height: (StringConstructor | NumberConstructor)[];
id: StringConstructor;
isFormReset: {
type: BooleanConstructor;
default: boolean;
};
lockScroll: BooleanConstructor;
lockView: {
type: BooleanConstructor;
default: () => boolean;
};
marginSize: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
mask: {
type: BooleanConstructor;
default: () => boolean;
};
maskClosable: BooleanConstructor;
message: (StringConstructor | FunctionConstructor | ObjectConstructor)[];
minHeight: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
minWidth: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
modelValue: BooleanConstructor;
resize: BooleanConstructor;
showFooter: BooleanConstructor;
showHeader: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: (StringConstructor | ObjectConstructor)[];
default: string;
};
title: StringConstructor;
top: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
type: {
type: StringConstructor;
default: string;
};
vSize: StringConstructor;
width: (StringConstructor | NumberConstructor)[];
zIndex: (StringConstructor | NumberConstructor)[];
mode: null;
description: StringConstructor;
options: ArrayConstructor;
showClose: {
type: BooleanConstructor;
default: boolean;
};
confirmContent: StringConstructor;
cancelContent: StringConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}>>, {
modelValue: boolean;
type: string;
tiny_mode_root: boolean;
duration: string | number;
showHeader: boolean;
showFooter: boolean;
mask: boolean;
maskClosable: boolean;
_constants: Record<string, any>;
resize: boolean;
status: string | Record<string, any>;
lockScroll: boolean;
fullscreen: boolean;
isFormReset: boolean;
showClose: boolean;
top: string | number;
animat: boolean;
escClosable: boolean;
lockView: boolean;
marginSize: string | number;
minHeight: string | number;
minWidth: string | number;
}>;
declare const _default: any;
export default _default;

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

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<{
animat: {
type: BooleanConstructor;
default: () => boolean;
};
beforeClose: FunctionConstructor;
duration: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
escClosable: BooleanConstructor;
events: ObjectConstructor;
fullscreen: BooleanConstructor;
height: (StringConstructor | NumberConstructor)[];
id: StringConstructor;
isFormReset: {
type: BooleanConstructor;
default: boolean;
};
lockScroll: BooleanConstructor;
lockView: {
type: BooleanConstructor;
default: () => boolean;
};
marginSize: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
mask: {
type: BooleanConstructor;
default: () => boolean;
};
maskClosable: BooleanConstructor;
message: (StringConstructor | FunctionConstructor)[];
minHeight: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
minWidth: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
modelValue: BooleanConstructor;
resize: BooleanConstructor;
showFooter: BooleanConstructor;
showHeader: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: (StringConstructor | ObjectConstructor)[];
default: string;
};
title: StringConstructor;
top: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
type: {
type: StringConstructor;
default: string;
};
vSize: StringConstructor;
width: (StringConstructor | NumberConstructor)[];
zIndex: (StringConstructor | NumberConstructor)[];
description: StringConstructor;
options: ArrayConstructor;
showClose: {
type: BooleanConstructor;
default: boolean;
};
confirmContent: StringConstructor;
cancelContent: StringConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, {
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "zoom" | "show" | "hide" | "custom-mousedown" | "custom-mousemove" | "custom-mouseup")[], "update:modelValue" | "zoom" | "show" | "hide" | "custom-mousedown" | "custom-mousemove" | "custom-mouseup", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
animat: {
type: BooleanConstructor;
default: () => boolean;
};
beforeClose: FunctionConstructor;
duration: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
escClosable: BooleanConstructor;
events: ObjectConstructor;
fullscreen: BooleanConstructor;
height: (StringConstructor | NumberConstructor)[];
id: StringConstructor;
isFormReset: {
type: BooleanConstructor;
default: boolean;
};
lockScroll: BooleanConstructor;
lockView: {
type: BooleanConstructor;
default: () => boolean;
};
marginSize: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
mask: {
type: BooleanConstructor;
default: () => boolean;
};
maskClosable: BooleanConstructor;
message: (StringConstructor | FunctionConstructor)[];
minHeight: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
minWidth: {
type: (StringConstructor | NumberConstructor)[];
default: () => number;
};
modelValue: BooleanConstructor;
resize: BooleanConstructor;
showFooter: BooleanConstructor;
showHeader: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: (StringConstructor | ObjectConstructor)[];
default: string;
};
title: StringConstructor;
top: {
type: (StringConstructor | NumberConstructor)[];
default: number;
};
type: {
type: StringConstructor;
default: string;
};
vSize: StringConstructor;
width: (StringConstructor | NumberConstructor)[];
zIndex: (StringConstructor | NumberConstructor)[];
description: StringConstructor;
options: ArrayConstructor;
showClose: {
type: BooleanConstructor;
default: boolean;
};
confirmContent: StringConstructor;
cancelContent: StringConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onShow?: ((...args: any[]) => any) | undefined;
onHide?: ((...args: any[]) => any) | undefined;
onZoom?: ((...args: any[]) => any) | undefined;
"onCustom-mousedown"?: ((...args: any[]) => any) | undefined;
"onCustom-mousemove"?: ((...args: any[]) => any) | undefined;
"onCustom-mouseup"?: ((...args: any[]) => any) | undefined;
}, {
modelValue: boolean;
type: string;
tiny_mode_root: boolean;
duration: string | number;
showHeader: boolean;
showFooter: boolean;
mask: boolean;
maskClosable: boolean;
resize: boolean;
status: string | Record<string, any>;
lockScroll: boolean;
fullscreen: boolean;
isFormReset: boolean;
showClose: boolean;
top: string | number;
animat: boolean;
escClosable: boolean;
lockView: boolean;
marginSize: string | number;
minHeight: string | number;
minWidth: string | number;
}>;
declare const _sfc_main: any;
export default _sfc_main;

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

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;
}>, {
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>>, {
[x: string]: any;
}>;
declare const _sfc_main: any;
export default _sfc_main;

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

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;
}>, {
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>>, {
[x: string]: any;
}>;
declare const _sfc_main: any;
export default _sfc_main;
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