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.10.1 to 3.11.0-alpha.0

154

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 { t } from "@opentiny/vue-locale";

@@ -33,77 +33,81 @@ import PcTemplate from "./pc.js";

};
var ISearchProps = _extends({}, $props, {
mini: {
type: Boolean,
default: false
},
big: {
type: Boolean,
default: false
},
buttonText: {
type: String,
default: function _default() {
return t("ui.search.placeholder");
}
},
/**
* 设置为透明模式,配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景
*/
transparent: {
type: Boolean,
default: false
},
/**
* 搜索的类型选项,格式为[{text:'文档',value:1},...],不配置时类型选择固定显示为All
*/
searchTypes: {
type: Array,
default: function _default2() {
return [];
}
},
/**
* 设置搜索输入框内的提示占位文本
*/
placeholder: {
type: String,
default: ""
},
modelValue: {
type: String,
default: ""
},
clearable: {
type: Boolean,
default: false
},
tabindex: {
type: String,
default: "1"
},
/**
* 配置搜索输入框enter键,enter按下触发搜索
*/
isEnterSearch: {
type: Boolean,
default: true
},
/**
* 配置主题色,primary:蓝 gray:灰
*/
themeType: {
type: String,
default: "primary",
validator: function validator(value) {
return ["primary", "gray"].includes(value);
}
},
showButton: {
type: Boolean,
default: false
},
changeBgColor: {
type: Boolean,
default: false
}
});
var Search = defineComponent({
name: $prefix + "Search",
props: _extends({}, $props, {
mini: {
type: Boolean,
default: false
},
big: {
type: Boolean,
default: false
},
buttonText: {
type: String,
default: function _default() {
return t("ui.search.placeholder");
}
},
/**
* 设置为透明模式,配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景
*/
transparent: {
type: Boolean,
default: false
},
/**
* 搜索的类型选项,格式为[{text:'文档',value:1},...],不配置时类型选择固定显示为All
*/
searchTypes: {
type: Array,
default: function _default2() {
return [];
}
},
/**
* 设置搜索输入框内的提示占位文本
*/
placeholder: {
type: String,
default: ""
},
modelValue: String,
clearable: {
type: Boolean,
default: false
},
tabindex: {
type: String,
default: "1"
},
/**
* 配置搜索输入框enter键,enter按下触发搜索
*/
isEnterSearch: {
type: Boolean,
default: true
},
/**
* 配置主题色,primary:蓝 gray:灰
*/
themeType: {
type: String,
default: "primary",
validator: function validator(value) {
return ["primary", "gray"].includes(value);
}
},
showButton: {
type: Boolean,
default: false
},
changeBgColor: {
type: Boolean,
default: false
}
}),
props: ISearchProps,
setup: function setup(props, context) {

@@ -117,3 +121,3 @@ return $setup({

});
var version = "3.10.1";
var version = "3.11.0-alpha.0";
Search.model = {

@@ -120,0 +124,0 @@ prop: "modelValue",

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

import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, Transition, withCtx, withDirectives, renderSlot, toDisplayString, vShow, normalizeStyle, withKeys, withModifiers, vModelText, createCommentVNode, Fragment, renderList, createTextVNode, createSlots } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -46,3 +46,3 @@ if (it)

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

@@ -56,10 +56,10 @@ target[key] = val;

"search-default": "relative inline-block text-xs w-full px-3 sm:px-0",
"pc-search-line": "w-full border border-solid rounded-sm bg-white transition duration-300 ease-in-out border-separate hidden sm:inline-table",
"pc-search-line": "w-full border border-solid rounded-full lg:rounded bg-color-bg-1 transition duration-300 ease-in-out border-separate hidden sm:inline-table",
"pc-search-line-focus": "border-color-border-focus",
"pc-search-line-unfocus": "border-color-border hover:border-color-border-hover",
"pc-search-line-big": "h-[1.875rem]",
"pc-search-line-unbig": "h-[1.625rem]",
"pc-search-line-big": "h-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))]",
"pc-search-line-unbig": "h-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))]",
"pc-search-present": "table-cell relative align-middle right-0 text-color-text-primary w-px whitespace-nowrap",
"pc-search-present-big": "pl-4 text-sm leading-[1.875rem]",
"pc-search-present-unbig": "pl-3 text-xs leading-[1.625rem]",
"pc-search-present-big": "pl-4 text-sm leading-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))",
"pc-search-present-unbig": "pl-3 text-xs leading-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))]",
"pc-search-present-pointer": "cursor-pointer",

@@ -75,26 +75,26 @@ "pc-search-present-icon-outer": "h-4 leading-4 inline-block pl-2 pr-3 py-0 border-r border-solid border-color-border-separator cursor-pointer",

"pc-search-input-collapse-unbig": "pl-2",
"pc-search-input-big": "pl-3 text-sm h-[1.875rem] leading-[1.875rem]",
"pc-search-input-unbig": "text-xs h-[1.625rem] leading-[1.625rem]",
"pc-search-input-big": "pl-3 text-sm h-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))] leading-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))]",
"pc-search-input-unbig": "text-xs h-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))] leading-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))]",
"pc-search-input-btn-transtion": "table-cell relative align-middle right-0 w-8 text-center z-10",
"pc-search-input-btn-transtion-big": "h-[1.875rem] translate-x-4",
"pc-search-input-btn-transtion-unbig": "h-[1.625rem] translate-x-3.5",
"pc-search-input-btn-transtion-big": "h-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))] translate-x-4",
"pc-search-input-btn-transtion-unbig": "h-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))] translate-x-3.5",
"pc-search-input-btn-transtion-a": "no-underline block w-8",
"pc-search-input-btn-transtion-a-big": "leading-[1.875rem]",
"pc-search-input-btn-transtion-a-unbig": "leading-[1.625rem]",
"pc-search-input-btn-transtion-a-big": "leading-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))]",
"pc-search-input-btn-transtion-a-unbig": "leading-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))]",
"pc-search-input-btn-transtion-svg-size": "text-base fill-color-icon-primary hover:fill-color-icon-hover",
"pc-search-input-btn": "table-cell relative align-middle right-0 text-center",
"pc-search-input-btn-big": "h-[1.875rem] w-11",
"pc-search-input-btn-unbig": "h-[1.625rem] w-10",
"pc-search-input-btn-big": "h-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))] w-11",
"pc-search-input-btn-unbig": "h-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))] w-10",
"pc-search-input-btn-a": "no-underline block",
"pc-search-input-btn-a-big": "w-11 leading-[1.875rem]",
"pc-search-input-btn-a-unbig": "w-10 leading-[1.625rem]",
"pc-search-input-btn-a-big": "w-11 leading-[calc(theme(spacing.8)-2*theme(borderWidth.DEFAULT))]",
"pc-search-input-btn-a-unbig": "w-10 leading-[calc(theme(spacing.7)-2*theme(borderWidth.DEFAULT))]",
"pc-search-input-btn-icon-search-transparent": "fill-color-bg-1",
"pc-search-input-btn-icon-search": "text-base fill-color-none",
"search-selector": "absolute top-full left-0 overflow-hidden min-w-[4.25rem] border border-solid border-color-border rounded text-xs shadow bg-white text-color-text-primary mt-0.5 py-1 hidden sm:block",
"search-selector-body": "max-h-[18rem] overflow-x-hidden overflow-y-auto",
"search-selector-poplist-item": "px-3 min-h-[1.5rem] leading-6 max-w-full overflow-hidden text-left text-ellipsis whitespace-nowrap cursor-pointer hover:bg-color-bg-2",
"search-selector": "absolute top-full left-0 overflow-hidden min-w-[theme(spacing.18)] border border-solid border-color-border rounded text-xs shadow bg-white text-color-text-primary mt-0.5 py-1 hidden sm:block",
"search-selector-body": "max-h-[theme(spacing.72)] overflow-x-hidden overflow-y-auto",
"search-selector-poplist-item": "px-3 min-h-[theme(spacing.6)] leading-6 max-w-full overflow-hidden text-left text-ellipsis whitespace-nowrap cursor-pointer hover:bg-color-bg-2",
"search-selector-poplist-item-big": "text-sm",
"search-selector-poplist-item-unbig": "text-xs",
"mobile-search": "flex sm:hidden w-full items-center shrink-0",
"mobile-search-input": "bg-color-bg-4 pl-9 placeholder:text-color-none focus:placeholder:text-color-text-placeholder",
"mobile-search-input": "bg-color-bg-4 pl-9 placeholder:text-color-none focus:placeholder:text-color-text-placeholder rounded-full",
"mobile-search-input-bg-change": "bg-color-bg-1",

@@ -194,3 +194,3 @@ "mobile-search-svg-size": "text-base fill-color-none translate-x-1.5",

},
toDisplayString(_ctx.state.searchValue.text),
toDisplayString(_ctx.state.searchValue["text"]),
3

@@ -246,4 +246,4 @@ /* TEXT, CLASS */

"data-tag": "tiny-search__input",
onKeyup: _cache[2] || (_cache[2] = withKeys(function($event) {
return _ctx.searchEnterKey($event);
onKeyup: _cache[2] || (_cache[2] = withKeys(function() {
return _ctx.searchEnterKey && _ctx.searchEnterKey.apply(_ctx, arguments);
}, ["enter"])),

@@ -283,4 +283,4 @@ onInput: _cache[3] || (_cache[3] = function() {

{
class: normalizeClass(_ctx.m(_ctx.gcls("pc-search-input-btn-transtion-a-big"), _ctx.gcls({
"pc-search-input-btn-transtion-a": _ctx.big
class: normalizeClass(_ctx.m(_ctx.gcls("pc-search-input-btn-transtion-a"), _ctx.gcls({
"pc-search-input-btn-transtion-a-big": _ctx.big
}), _ctx.gcls({

@@ -411,3 +411,3 @@ "pc-search-input-btn-transtion-a-unbig": !_ctx.big

onInput: _ctx.handleInput,
"input-class": _ctx.m(_ctx.gcls("mobile-search-input"), _ctx.gcls({
"custom-class": _ctx.m(_ctx.gcls("mobile-search-input"), _ctx.gcls({
"mobile-search-input-bg-change": _ctx.changeBgColor

@@ -437,3 +437,3 @@ })),

key: "0"
} : void 0]), 1032, ["modelValue", "onInput", "input-class", "placeholder"]), createVNode(_component_tiny_button, {
} : void 0]), 1032, ["modelValue", "onInput", "custom-class", "placeholder"]), createVNode(_component_tiny_button, {
type: "text",

@@ -446,3 +446,7 @@ onClick: _ctx.searchClick,

default: withCtx(function() {
return [createTextVNode(" 搜索 ")];
return [createTextVNode(
toDisplayString(_ctx.t("ui.search.placeholder")),
1
/* TEXT */
)];
}),

@@ -449,0 +453,0 @@ _: 1

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

import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, normalizeStyle, withDirectives, withKeys, withModifiers, vModelText, vShow, toDisplayString, renderSlot } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -45,3 +45,3 @@ if (it)

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

@@ -123,4 +123,4 @@ target[key] = val;

class: normalizeClass(["tiny-mobile-search__input", "tiny-mobile-search__input-" + _ctx.themeType]),
onKeyup: _cache[1] || (_cache[1] = withKeys(function($event) {
return _ctx.searchEnterKey($event);
onKeyup: _cache[1] || (_cache[1] = withKeys(function() {
return _ctx.searchEnterKey && _ctx.searchEnterKey.apply(_ctx, arguments);
}, ["enter"])),

@@ -127,0 +127,0 @@ onChange: _cache[2] || (_cache[2] = function() {

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

import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createVNode, Transition, withCtx, withDirectives, toDisplayString, vShow, normalizeStyle, withKeys, withModifiers, vModelText, Fragment, renderList, createTextVNode } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -45,3 +45,3 @@ if (it)

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

@@ -48,0 +48,0 @@ target[key] = val;

{
"name": "@opentiny/vue-search",
"version": "3.10.1",
"version": "3.11.0-alpha.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-common": "~3.10.0",
"@opentiny/vue-icon": "~3.10.0",
"@opentiny/vue-theme": "~3.10.0",
"@opentiny/vue-theme-mobile": "~3.10.0",
"@opentiny/vue-input": "~3.10.0",
"@opentiny/vue-locale": "~3.10.0",
"@opentiny/vue-button": "~3.10.0"
"@opentiny/vue-renderless": "~3.11.0-alpha.0",
"@opentiny/vue-common": "~3.11.0-alpha.0",
"@opentiny/vue-icon": "~3.11.0-alpha.0",
"@opentiny/vue-theme": "~3.11.0-alpha.0",
"@opentiny/vue-theme-mobile": "~3.11.0-alpha.0",
"@opentiny/vue-input": "~3.11.0-alpha.0",
"@opentiny/vue-locale": "~3.11.0-alpha.0",
"@opentiny/vue-button": "~3.11.0-alpha.0"
},

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

@@ -0,1 +1,77 @@

export declare const ISearchProps: {
mini: {
type: BooleanConstructor;
default: boolean;
};
big: {
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: {
type: StringConstructor;
default: string;
};
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: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
};
declare const _default: import("@vue/runtime-core").DefineComponent<{

@@ -35,3 +111,6 @@ mini: {

};
modelValue: StringConstructor;
modelValue: {
type: StringConstructor;
default: string;
};
clearable: {

@@ -110,3 +189,6 @@ type: BooleanConstructor;

};
modelValue: StringConstructor;
modelValue: {
type: StringConstructor;
default: string;
};
clearable: {

@@ -152,11 +234,12 @@ type: BooleanConstructor;

tiny_mode_root: boolean;
modelValue: string;
tabindex: string;
placeholder: string;
mini: boolean;
clearable: boolean;
transparent: boolean;
buttonText: string;
searchTypes: unknown[];
placeholder: string;
buttonText: string;
themeType: string;
isEnterSearch: boolean;
tabindex: string;
clearable: boolean;
mini: boolean;
showButton: boolean;

@@ -163,0 +246,0 @@ changeBgColor: boolean;

@@ -0,24 +1,67 @@

import type { ISearchApi } from '@opentiny/vue-renderless/types/search.type';
declare const _default: 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/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "update:modelValue" | "change" | "search" | "clear")[], "input" | "select" | "update:modelValue" | "change" | "search" | "clear", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
big?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
tabindex?: any;
placeholder?: any;
mini?: any;
clearable?: any;
transparent?: any;
searchTypes?: any;
isEnterSearch?: any;
showButton?: any;
changeBgColor?: any;
}>, ISearchApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "search" | "update:modelValue" | "change" | "clear")[], "input" | "select" | "search" | "update:modelValue" | "change" | "clear", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
big?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
tabindex?: any;
placeholder?: any;
mini?: any;
clearable?: any;
transparent?: any;
searchTypes?: any;
isEnterSearch?: any;
showButton?: any;
changeBgColor?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
readonly big?: any;
readonly tiny_mode?: any;
readonly tiny_mode_root?: any;
readonly tiny_template?: any;
readonly tiny_renderless?: any;
readonly _constants?: any;
readonly tiny_theme?: any;
readonly tiny_chart_theme?: any;
readonly modelValue?: any;
readonly tabindex?: any;
readonly placeholder?: any;
readonly mini?: any;
readonly clearable?: any;
readonly transparent?: any;
readonly searchTypes?: any;
readonly isEnterSearch?: any;
readonly showButton?: any;
readonly changeBgColor?: any;
}, {}>;
export default _default;

@@ -0,24 +1,55 @@

import type { ISearchApi } from '@opentiny/vue-renderless/types/search.type';
declare const _default: 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/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "update:modelValue" | "change" | "search" | "clear")[], "input" | "select" | "update:modelValue" | "change" | "search" | "clear", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
placeholder?: any;
transparent?: any;
buttonText?: any;
searchTypes?: any;
themeType?: any;
isEnterSearch?: any;
}>, ISearchApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "search" | "update:modelValue" | "change" | "clear")[], "input" | "select" | "search" | "update:modelValue" | "change" | "clear", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
placeholder?: any;
transparent?: any;
buttonText?: any;
searchTypes?: any;
themeType?: any;
isEnterSearch?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
readonly tiny_mode?: any;
readonly tiny_mode_root?: any;
readonly tiny_template?: any;
readonly tiny_renderless?: any;
readonly _constants?: any;
readonly tiny_theme?: any;
readonly tiny_chart_theme?: any;
readonly modelValue?: any;
readonly placeholder?: any;
readonly transparent?: any;
readonly buttonText?: any;
readonly searchTypes?: any;
readonly themeType?: any;
readonly isEnterSearch?: any;
}, {}>;
export default _default;

@@ -0,24 +1,58 @@

import type { ISearchApi } from '@opentiny/vue-renderless/types/search.type';
declare const _default: 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/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "update:modelValue" | "change" | "search" | "clear")[], "input" | "select" | "update:modelValue" | "change" | "search" | "clear", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
tabindex?: any;
placeholder?: any;
mini?: any;
clearable?: any;
transparent?: any;
searchTypes?: any;
isEnterSearch?: any;
}>, ISearchApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("input" | "select" | "search" | "update:modelValue" | "change" | "clear")[], "input" | "select" | "search" | "update:modelValue" | "change" | "clear", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
tabindex?: any;
placeholder?: any;
mini?: any;
clearable?: any;
transparent?: any;
searchTypes?: any;
isEnterSearch?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onClear?: ((...args: any[]) => any) | undefined;
onSearch?: ((...args: any[]) => any) | undefined;
onInput?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
readonly tiny_mode?: any;
readonly tiny_mode_root?: any;
readonly tiny_template?: any;
readonly tiny_renderless?: any;
readonly _constants?: any;
readonly tiny_theme?: any;
readonly tiny_chart_theme?: any;
readonly modelValue?: any;
readonly tabindex?: any;
readonly placeholder?: any;
readonly mini?: any;
readonly clearable?: any;
readonly transparent?: any;
readonly searchTypes?: any;
readonly isEnterSearch?: 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