@opentiny/vue-search
Advanced tools
Comparing version 2.9.0 to 2.10.0
@@ -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", |
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44381
13
1296
Yes
8
16
+ Added@opentiny/vue-button@~2.10.0
+ Added@opentiny/vue-input@~2.10.0
+ Added@opentiny/vue-locale@~2.10.0
+ Added@opentiny/vue-theme@~3.10.0
+ Added@better-scroll/core@2.5.0(transitive)
+ Added@better-scroll/shared-utils@2.5.1(transitive)
+ Added@opentiny/vue-action-sheet@2.10.0(transitive)
+ Added@opentiny/vue-button@2.10.0(transitive)
+ Added@opentiny/vue-common@2.10.0(transitive)
+ Added@opentiny/vue-drawer@2.10.0(transitive)
+ Added@opentiny/vue-icon@2.10.1(transitive)
+ Added@opentiny/vue-input@2.10.0(transitive)
+ Added@opentiny/vue-locale@2.10.0(transitive)
+ Added@opentiny/vue-renderless@3.10.7(transitive)
+ Added@opentiny/vue-theme@3.10.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.10.1(transitive)
+ Added@opentiny/vue-tooltip@2.10.1(transitive)
- Removed@opentiny/vue-common@2.9.0(transitive)
- Removed@opentiny/vue-icon@2.9.1(transitive)
- Removed@opentiny/vue-locale@2.9.0(transitive)
- Removed@opentiny/vue-renderless@3.9.3(transitive)
- Removed@opentiny/vue-theme@3.9.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.9.0(transitive)
Updated@opentiny/vue-common@~2.10.0
Updated@opentiny/vue-icon@~2.10.0