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

@opentiny/vue-popover

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-popover - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0-alpha.0

159

lib/index.js

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

}
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
import PcTemplate from "./pc.js";

@@ -32,81 +32,84 @@ import MobileFirstTemplate from "./mobile-first.js";

};
var popoverProps = _extends({}, $props, {
appendToBody: {
type: Boolean,
default: true
},
arrowOffset: {
type: Number,
default: 0
},
boundariesPadding: {
type: Number,
default: 5
},
closeDelay: {
type: Number,
default: 200
},
content: String,
disabled: Boolean,
modelValue: Boolean,
offset: {
default: 0
},
openDelay: {
type: Number,
default: 0
},
placement: {
type: String,
default: "bottom"
},
popper: {},
popperClass: String,
popperOptions: {
type: Object,
default: function _default() {
return {
gpuAcceleration: false
};
}
},
reference: {},
tabindex: {
type: Number,
default: 0
},
title: String,
transition: {
type: String,
default: "fade-in-linear"
},
trigger: {
type: String,
default: "click",
validator: function validator(value) {
return Boolean(~["click", "focus", "hover", "manual"].indexOf(value));
}
},
visibleArrow: {
default: true
},
width: {
type: [String, Number]
},
height: {
type: [String, Number]
},
maxHeight: {
type: [String, Number]
},
listData: [Object, Array],
genArrowByHtml: {
type: Boolean,
default: function _default2() {
return true;
}
}
});
var Popover = defineComponent({
inheritAttrs: true,
name: $prefix + "Popover",
props: _extends({}, $props, {
appendToBody: {
type: Boolean,
default: true
},
arrowOffset: {
type: Number,
default: 0
},
boundariesPadding: {
type: Number,
default: 5
},
closeDelay: {
type: Number,
default: 200
},
content: String,
disabled: Boolean,
modelValue: Boolean,
offset: {
default: 0
},
openDelay: {
type: Number,
default: 0
},
placement: {
type: String,
default: "bottom"
},
popper: {},
popperClass: String,
popperOptions: {
type: Object,
default: function _default() {
return {
gpuAcceleration: false
};
}
},
reference: {},
tabindex: {
type: Number,
default: 0
},
title: String,
transformOrigin: {
type: [Boolean, String],
default: true
},
transition: {
type: String,
default: "fade-in-linear"
},
trigger: {
type: String,
default: "click",
validator: function validator(value) {
return Boolean(~["click", "focus", "hover", "manual"].indexOf(value));
}
},
visibleArrow: {
default: true
},
width: {
type: [String, Number]
},
height: {
type: [String, Number]
},
maxHeight: {
type: [String, Number]
},
listData: [Object, Array]
}),
props: popoverProps,
setup: function setup(props, context) {

@@ -120,3 +123,3 @@ return $setup({

});
var version = "2.10.0";
var version = "2.11.0-alpha.0";
Popover.install = function(Vue) {

@@ -123,0 +126,0 @@ Vue.component(Popover.name, Popover);

@@ -135,6 +135,2 @@ function _extends() {

title: String,
transformOrigin: {
type: [Boolean, String],
default: true
},
transition: {

@@ -141,0 +137,0 @@ type: String,

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

emits: ["update:modelValue", "hide", "show", "after-enter", "after-leave", "created", "itemClick"],
props: [].concat(props, ["appendToBody", "arrowOffset", "boundariesPadding", "closeDelay", "disabled", "modelValue", "offset", "openDelay", "placement", "popper", "popperClass", "popperOptions", "reference", "tabindex", "title", "transformOrigin", "transition", "trigger", "visibleArrow", "width", "maxHeight", "listData"]),
props: [].concat(props, ["appendToBody", "arrowOffset", "boundariesPadding", "closeDelay", "disabled", "modelValue", "offset", "openDelay", "placement", "popper", "popperClass", "popperOptions", "reference", "tabindex", "title", "transition", "trigger", "visibleArrow", "width", "maxHeight", "listData"]),
setup: function setup(props2, context) {

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

@@ -60,3 +60,3 @@ import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";

emits: ["update:modelValue", "hide", "show", "after-enter", "after-leave", "created"],
props: [].concat(props, ["appendToBody", "arrowOffset", "boundariesPadding", "closeDelay", "content", "disabled", "modelValue", "offset", "openDelay", "placement", "popper", "popperClass", "popperOptions", "reference", "tabindex", "title", "transformOrigin", "transition", "trigger", "visibleArrow", "width", "height"]),
props: [].concat(props, ["appendToBody", "arrowOffset", "boundariesPadding", "closeDelay", "content", "disabled", "modelValue", "offset", "openDelay", "placement", "popper", "popperClass", "popperOptions", "reference", "tabindex", "title", "transition", "trigger", "visibleArrow", "width", "height"]),
setup: function setup(props2, context) {

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

{
"name": "@opentiny/vue-popover",
"version": "2.10.0",
"version": "2.11.0-alpha.0",
"description": "",

@@ -10,4 +10,4 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~2.10.0",
"@opentiny/vue-renderless": "~3.10.0"
"@opentiny/vue-common": "~2.11.0",
"@opentiny/vue-renderless": "~3.11.0"
},

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

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

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, {}, {}, {
export declare const popoverProps: {
appendToBody: {

@@ -46,6 +46,2 @@ type: BooleanConstructor;

title: StringConstructor;
transformOrigin: {
type: (StringConstructor | BooleanConstructor)[];
default: boolean;
};
transition: {

@@ -72,3 +68,7 @@ type: StringConstructor;

};
listData: (ObjectConstructor | ArrayConstructor)[];
listData: (ArrayConstructor | ObjectConstructor)[];
genArrowByHtml: {
type: BooleanConstructor;
default: () => boolean;
};
tiny_mode: StringConstructor;

@@ -80,113 +80,4 @@ tiny_mode_root: BooleanConstructor;

tiny_chart_theme: ObjectConstructor;
}, {
disabled: boolean;
tiny_mode_root: boolean;
modelValue: boolean;
tabindex: number;
transition: string;
offset: number;
placement: string;
popperOptions: Record<string, any>;
transformOrigin: string | boolean;
appendToBody: boolean;
arrowOffset: number;
boundariesPadding: number;
closeDelay: number;
openDelay: number;
trigger: string;
visibleArrow: boolean;
} & {
title?: string | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
width?: string | number | undefined;
height?: string | number | undefined;
popper?: unknown;
content?: string | undefined;
maxHeight?: string | number | undefined;
popperClass?: string | undefined;
reference?: unknown;
listData?: unknown;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
disabled: boolean;
tiny_mode_root: boolean;
modelValue: boolean;
tabindex: number;
transition: string;
offset: number;
placement: string;
popperOptions: Record<string, any>;
transformOrigin: string | boolean;
appendToBody: boolean;
arrowOffset: number;
boundariesPadding: number;
closeDelay: number;
openDelay: number;
trigger: string;
visibleArrow: boolean;
} & {
title?: string | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
width?: string | number | undefined;
height?: string | number | undefined;
popper?: unknown;
content?: string | undefined;
maxHeight?: string | number | undefined;
popperClass?: string | undefined;
reference?: unknown;
listData?: unknown;
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
disabled: boolean;
tiny_mode_root: boolean;
modelValue: boolean;
tabindex: number;
transition: string;
offset: number;
placement: string;
popperOptions: Record<string, any>;
transformOrigin: string | boolean;
appendToBody: boolean;
arrowOffset: number;
boundariesPadding: number;
closeDelay: number;
openDelay: number;
trigger: string;
visibleArrow: boolean;
} & {
title?: string | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
width?: string | number | undefined;
height?: string | number | undefined;
popper?: unknown;
content?: string | undefined;
maxHeight?: string | number | undefined;
popperClass?: string | undefined;
reference?: unknown;
listData?: unknown;
}, {
tabindex: number;
transition: string;
offset: number;
placement: string;
popperOptions: Record<string, any>;
transformOrigin: string | boolean;
appendToBody: boolean;
arrowOffset: number;
boundariesPadding: number;
closeDelay: number;
openDelay: number;
trigger: string;
visibleArrow: boolean;
}, true>);
};
declare const _default: any;
export default _default;

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

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<unknown> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, unknown, {
[x: string]: any;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<unknown>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
}, {}, true>);
declare const _default: any;
export default _default;

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

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;
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;
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
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;
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;

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

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;
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;
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
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;
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
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