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 2.9.0 to 2.10.0

__tests__/search.test.d.ts

6

lib/index.js

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

},
big: {
type: Boolean,
default: false
},
buttonText: {

@@ -112,3 +116,3 @@ type: String,

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

@@ -115,0 +119,0 @@ prop: "modelValue",

25

lib/mobile-first.js

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

},
emits: ["change", "update:modelValue", "select", "search", "clear"],
emits: ["change", "update:modelValue", "select", "search", "clear", "input"],
setup: function setup(props2, context) {

@@ -190,3 +190,3 @@ return _setup({

}
}, [_vm._v(_vm._s(_vm.state.searchValue["text"]))])];
}, [_vm._v(_vm._s(_vm.state.searchValue.text))])];
}, {

@@ -371,3 +371,2 @@ "slotScope": _vm.state.searchValue

attrs: {
"clearable": "",
"input-class": _vm.m(_vm.gcls("mobile-search-input"), _vm.gcls({

@@ -394,3 +393,19 @@ "mobile-search-input-bg-change": _vm.changeBgColor

proxy: true
}]),
}, _vm.state.showClear && !_vm.state.collapse ? {
key: "suffix",
fn: function fn() {
return [_c("span", {
staticClass: "inline-block w-3.5 h-3.5 rounded-full bg-color-none-hover"
}, [_c("icon-close", {
attrs: {
"data-tag": "tiny-svg-size",
"custom-class": "w-3 h-3 fill-color-bg-1 relative -top-0.5"
},
on: {
"click": _vm.clear
}
})], 1)];
},
proxy: true
} : null], null, true),
model: {

@@ -413,3 +428,3 @@ value: _vm.state.currentValue,

}
}, [_vm._v("搜索")])], 1)], 1);
}, [_vm._v(" 搜索 ")])], 1)], 1);
};

@@ -416,0 +431,0 @@ var staticRenderFns = [];

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

},
emits: ["change", "search", "update:modelValue", "clear", "select"],
emits: ["change", "search", "update:modelValue", "clear", "select", "input"],
setup: function setup(props2, context) {

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

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

props: [].concat(props, ["mini", "transparent", "searchTypes", "placeholder", "modelValue", "tabindex", "clearable", "isEnterSearch"]),
emits: ["change", "search", "update:modelValue", "clear", "select"],
emits: ["change", "search", "update:modelValue", "clear", "select", "input"],
components: {

@@ -178,3 +178,5 @@ IconChevronDown: iconChevronDown(),

on: {
"click": _vm.clear
"click": function click($event) {
return _vm.clear($event);
}
}

@@ -192,3 +194,5 @@ }, [_c("icon-close", {

on: {
"click": _vm.searchClick
"click": function click($event) {
return _vm.searchClick($event);
}
}

@@ -195,0 +199,0 @@ }, [_c("icon-search", {

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

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

"sideEffects": false,
"type": "module",
"dependencies": {
"@opentiny/vue-renderless": "~3.9.0",
"@opentiny/vue-common": "~2.9.0",
"@opentiny/vue-icon": "~2.9.0"
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-common": "~2.10.0",
"@opentiny/vue-icon": "~2.10.0",
"@opentiny/vue-theme": "~3.10.0",
"@opentiny/vue-theme-mobile": "~3.10.0",
"@opentiny/vue-input": "~2.10.0",
"@opentiny/vue-locale": "~2.10.0",
"@opentiny/vue-button": "~2.10.0"
},

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

@@ -6,2 +6,6 @@ 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, {}, {}, {

};
big: {
type: BooleanConstructor;
default: boolean;
};
buttonText: {

@@ -68,17 +72,16 @@ type: StringConstructor;

tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor; /**
* 设置为透明模式,配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景
*/
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, {
big: boolean;
tiny_mode_root: boolean;
placeholder: string;
tabindex: string;
placeholder: string;
mini: boolean;
clearable: boolean;
mini: boolean;
transparent: boolean;
buttonText: string;
transparent: boolean;
searchTypes: unknown[];
themeType: string;
isEnterSearch: boolean;
themeType: string;
showButton: boolean;

@@ -88,3 +91,2 @@ changeBgColor: boolean;

tiny_mode?: string | undefined;
modelValue?: string | undefined;
tiny_template?: unknown;

@@ -94,13 +96,15 @@ tiny_renderless?: Function | undefined;

tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: string | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
big: boolean;
tiny_mode_root: boolean;
placeholder: string;
tabindex: string;
placeholder: string;
mini: boolean;
clearable: boolean;
mini: boolean;
transparent: boolean;
buttonText: string;
transparent: boolean;
searchTypes: unknown[];
themeType: string;
isEnterSearch: boolean;
themeType: string;
showButton: boolean;

@@ -110,3 +114,2 @@ changeBgColor: boolean;

tiny_mode?: string | undefined;
modelValue?: string | undefined;
tiny_template?: unknown;

@@ -116,13 +119,15 @@ tiny_renderless?: Function | undefined;

tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: 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, {}, {}, {
big: boolean;
tiny_mode_root: boolean;
placeholder: string;
tabindex: string;
placeholder: string;
mini: boolean;
clearable: boolean;
mini: boolean;
transparent: boolean;
buttonText: string;
transparent: boolean;
searchTypes: unknown[];
themeType: string;
isEnterSearch: boolean;
themeType: string;
showButton: boolean;

@@ -132,3 +137,2 @@ changeBgColor: boolean;

tiny_mode?: string | undefined;
modelValue?: string | undefined;
tiny_template?: unknown;

@@ -138,12 +142,14 @@ tiny_renderless?: Function | undefined;

tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: string | undefined;
}, {
big: boolean;
placeholder: string;
tabindex: string;
placeholder: string;
mini: boolean;
clearable: boolean;
mini: boolean;
transparent: boolean;
buttonText: string;
transparent: boolean;
searchTypes: unknown[];
themeType: string;
isEnterSearch: boolean;
themeType: string;
showButton: boolean;

@@ -150,0 +156,0 @@ changeBgColor: boolean;

@@ -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;

@@ -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