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

@opentiny/vue-search

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-search - 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 Search = defineComponent({

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

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

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

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

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

declare const _default: import("@vue/runtime-core").DefineComponent<{
mini: {
type: BooleanConstructor;
default: boolean;
};
buttonText: {
type: StringConstructor;
default: () => any;
};
/**
* 设置为透明模式,配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景
*/
transparent: {
type: BooleanConstructor;
default: boolean;
};
/**
* 搜索的类型选项,格式为[{text:'文档',value:1},...],不配置时类型选择固定显示为All
*/
searchTypes: {
type: ArrayConstructor;
default: () => never[];
};
/**
* 设置搜索输入框内的提示占位文本
*/
placeholder: {
type: StringConstructor;
default: string;
};
modelValue: StringConstructor;
clearable: {
type: BooleanConstructor;
default: boolean;
};
tabindex: {
type: StringConstructor;
default: string;
};
/**
* 配置搜索输入框enter键,enter按下触发搜索
*/
isEnterSearch: {
type: BooleanConstructor;
default: boolean;
};
/**
* 配置主题色,primary:蓝 gray:灰
*/
themeType: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
showButton: {
type: BooleanConstructor;
default: boolean;
};
changeBgColor: {
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;
}, () => 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<{
mini: {
type: BooleanConstructor;
default: boolean;
};
buttonText: {
type: StringConstructor;
default: () => any;
};
/**
* 设置为透明模式,配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景
*/
transparent: {
type: BooleanConstructor;
default: boolean;
};
/**
* 搜索的类型选项,格式为[{text:'文档',value:1},...],不配置时类型选择固定显示为All
*/
searchTypes: {
type: ArrayConstructor;
default: () => never[];
};
/**
* 设置搜索输入框内的提示占位文本
*/
placeholder: {
type: StringConstructor;
default: string;
};
modelValue: StringConstructor;
clearable: {
type: BooleanConstructor;
default: boolean;
};
tabindex: {
type: StringConstructor;
default: string;
};
/**
* 配置搜索输入框enter键,enter按下触发搜索
*/
isEnterSearch: {
type: BooleanConstructor;
default: boolean;
};
/**
* 配置主题色,primary:蓝 gray:灰
*/
themeType: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
showButton: {
type: BooleanConstructor;
default: boolean;
};
changeBgColor: {
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;
}>>, {
tabindex: string;
tiny_mode_root: boolean;
clearable: boolean;
mini: boolean;
placeholder: string;
buttonText: string;
transparent: boolean;
searchTypes: unknown[];
isEnterSearch: boolean;
themeType: string;
showButton: boolean;
changeBgColor: boolean;
}>;
declare const _default: any;
export default _default;

@@ -1,23 +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, ("search" | "update:modelValue" | "change" | "clear" | "select")[], "search" | "update:modelValue" | "change" | "clear" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
}>;
declare const _sfc_main: any;
export default _sfc_main;

@@ -1,23 +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, ("search" | "update:modelValue" | "change" | "clear" | "select")[], "search" | "update:modelValue" | "change" | "clear" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
}>;
declare const _sfc_main: any;
export default _sfc_main;

@@ -1,23 +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, ("search" | "update:modelValue" | "change" | "clear" | "select")[], "search" | "update:modelValue" | "change" | "clear" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
}, {
[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