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

@opentiny/vue-search

Package Overview
Dependencies
Maintainers
0
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.17.0 to 3.18.0

9

lib/index.js

@@ -110,3 +110,8 @@ function _extends() {

typeValue: Object,
suffixIcon: [Object, String]
suffixIcon: [Object, String],
// tiny新增
disabled: {
type: Boolean,
default: false
}
});

@@ -124,3 +129,3 @@ var Search = defineComponent({

});
var version = "3.17.0";
var version = "3.18.0";
Search.model = {

@@ -127,0 +132,0 @@ prop: "modelValue",

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

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
target[key] = val;

@@ -41,0 +41,0 @@ }

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

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
target[key] = val;

@@ -40,0 +40,0 @@ }

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

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
target[key] = val;

@@ -45,3 +45,3 @@ }

var _sfc_main = /* @__PURE__ */ defineComponent({
props: [].concat(props, ["mini", "transparent", "searchTypes", "placeholder", "modelValue", "tabindex", "clearable", "isEnterSearch", "typeValue", "size"]),
props: [].concat(props, ["mini", "transparent", "searchTypes", "placeholder", "modelValue", "tabindex", "clearable", "isEnterSearch", "typeValue", "size", "disabled"]),
emits: ["change", "search", "update:modelValue", "clear", "select", "input"],

@@ -72,3 +72,3 @@ components: {

};
var _hoisted_4 = ["placeholder", "tabindex"];
var _hoisted_4 = ["disabled", "placeholder", "tabindex"];
var _hoisted_5 = {

@@ -104,3 +104,5 @@ key: 0,

collapse: _ctx.state.collapse
}, _ctx.state.searchSize ? "tiny-search--" + _ctx.state.searchSize : ""]),
}, _ctx.state.searchSize ? "tiny-search--" + _ctx.state.searchSize : "", {
"is-disabled": _ctx.disabled
}]),
onMouseenter: _cache[11] || (_cache[11] = function($event) {

@@ -155,6 +157,7 @@ return _ctx.state.hovering = true;

ref: "input"
}, _ctx.a(_ctx.$attrs, ["type", "class", "style", "^on[A-Z]", "id", "disabled", "clearable"]), {
}, _ctx.a(_ctx.$attrs, ["type", "class", "style", "^on[A-Z]", "id", "clearable"]), {
"onUpdate:modelValue": _cache[1] || (_cache[1] = function($event) {
return _ctx.state.currentValue = $event;
}),
disabled: _ctx.disabled,
style: _ctx.transparent ? {

@@ -161,0 +164,0 @@ border: "transparent",

{
"name": "@opentiny/vue-search",
"version": "3.17.0",
"version": "3.18.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.17.0",
"@opentiny/vue-common": "~3.17.0",
"@opentiny/vue-icon": "~3.17.0",
"@opentiny/vue-theme": "~3.17.0",
"@opentiny/vue-theme-mobile": "~3.17.0",
"@opentiny/vue-input": "~3.17.0",
"@opentiny/vue-locale": "~3.17.0",
"@opentiny/vue-button": "~3.17.0"
"@opentiny/vue-renderless": "~3.18.0",
"@opentiny/vue-common": "~3.18.0",
"@opentiny/vue-icon": "~3.18.0",
"@opentiny/vue-theme": "~3.18.0",
"@opentiny/vue-theme-mobile": "~3.18.0",
"@opentiny/vue-input": "~3.18.0",
"@opentiny/vue-locale": "~3.18.0",
"@opentiny/vue-button": "~3.18.0"
},

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

@@ -76,4 +76,11 @@ export declare const searchProps: {

suffixIcon: (StringConstructor | ObjectConstructor)[];
disabled: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
/**
* 配置主题色,primary:蓝 gray:灰
*/
tiny_template: (ObjectConstructor | FunctionConstructor)[];

@@ -159,4 +166,11 @@ tiny_renderless: FunctionConstructor;

suffixIcon: (StringConstructor | ObjectConstructor)[];
disabled: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
/**
* 配置主题色,primary:蓝 gray:灰
*/
tiny_template: (ObjectConstructor | FunctionConstructor)[];

@@ -243,4 +257,11 @@ tiny_renderless: FunctionConstructor;

suffixIcon: (StringConstructor | ObjectConstructor)[];
disabled: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
/**
* 配置主题色,primary:蓝 gray:灰
*/
tiny_template: (ObjectConstructor | FunctionConstructor)[];

@@ -251,2 +272,3 @@ tiny_renderless: FunctionConstructor;

}>>, {
disabled: boolean;
size: string;

@@ -257,5 +279,5 @@ big: boolean;

tabindex: string;
placeholder: string;
mini: boolean;
clearable: boolean;
placeholder: string;
transparent: boolean;

@@ -262,0 +284,0 @@ buttonText: string;

@@ -15,5 +15,5 @@ import type { ISearchApi } from '@opentiny/vue-renderless/types/search.type';

suffixIcon?: any;
placeholder?: any;
mini?: any;
clearable?: any;
placeholder?: any;
transparent?: any;

@@ -37,5 +37,5 @@ searchTypes?: any;

suffixIcon?: any;
placeholder?: any;
mini?: any;
clearable?: any;
placeholder?: any;
transparent?: any;

@@ -66,5 +66,5 @@ searchTypes?: any;

readonly suffixIcon?: any;
readonly placeholder?: any;
readonly mini?: any;
readonly clearable?: any;
readonly placeholder?: any;
readonly transparent?: any;

@@ -71,0 +71,0 @@ readonly searchTypes?: any;

import type { ISearchApi } from '@opentiny/vue-renderless/types/search.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
disabled?: any;
size?: any;

@@ -13,5 +14,5 @@ tiny_mode?: any;

tabindex?: any;
placeholder?: any;
mini?: any;
clearable?: any;
placeholder?: any;
transparent?: any;

@@ -22,2 +23,3 @@ searchTypes?: any;

}>, ISearchApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "clear" | "change" | "search" | "update:modelValue")[], "input" | "select" | "clear" | "change" | "search" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
disabled?: any;
size?: any;

@@ -33,5 +35,5 @@ tiny_mode?: any;

tabindex?: any;
placeholder?: any;
mini?: any;
clearable?: any;
placeholder?: any;
transparent?: any;

@@ -49,2 +51,3 @@ searchTypes?: any;

}, {
readonly disabled?: any;
readonly size?: any;

@@ -60,5 +63,5 @@ readonly tiny_mode?: any;

readonly tabindex?: any;
readonly placeholder?: any;
readonly mini?: any;
readonly clearable?: any;
readonly placeholder?: any;
readonly transparent?: any;

@@ -65,0 +68,0 @@ readonly searchTypes?: any;

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