sep-yui 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
9
9
|
enter: (value: string) => void;
|
10
10
|
input: (value: string) => void;
|
11
11
|
"update:modelValue": (value: string) => void;
|
12
|
+
choosed: (value: string) => void;
|
12
13
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
|
13
14
|
placeholder: string;
|
14
15
|
height: string;
|
@@ -17,6 +18,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
17
18
|
}>>> & {
|
18
19
|
onInput?: ((value: string) => any) | undefined;
|
19
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
21
|
+
onChoosed?: ((value: string) => any) | undefined;
|
20
22
|
onEnter?: ((value: string) => any) | undefined;
|
21
23
|
}, {
|
22
24
|
height: string;
|
package/dist/sep-yui.es.ts
CHANGED
@@ -10031,7 +10031,7 @@ const q2 = (e = "") => e + Z2(), oE = ["data-testid"], iE = ["data-testid"], sE
|
|
10031
10031
|
modelValue: { default: "" },
|
10032
10032
|
dataTestid: { default: "Search" }
|
10033
10033
|
},
|
10034
|
-
emits: ["enter", "input", "update:modelValue"],
|
10034
|
+
emits: ["enter", "input", "update:modelValue", "choosed"],
|
10035
10035
|
setup(e, { emit: t }) {
|
10036
10036
|
const n = z2(), i = e, s = t, l = We({
|
10037
10037
|
isShowList: !1,
|
@@ -10046,7 +10046,7 @@ const q2 = (e = "") => e + Z2(), oE = ["data-testid"], iE = ["data-testid"], sE
|
|
10046
10046
|
width: "100%",
|
10047
10047
|
height: i.height
|
10048
10048
|
}, c = (w) => {
|
10049
|
-
l.searchValue = w, l.isShowList = !1, s("input", w), s("update:modelValue", l.searchValue);
|
10049
|
+
l.searchValue = w, l.isShowList = !1, s("input", w), s("update:modelValue", l.searchValue), s("choosed", w);
|
10050
10050
|
}, f = A(() => ({
|
10051
10051
|
"search-yui-kit__icon-wrapper": !0
|
10052
10052
|
})), h = () => {
|
@@ -10117,7 +10117,7 @@ const q2 = (e = "") => e + Z2(), oE = ["data-testid"], iE = ["data-testid"], sE
|
|
10117
10117
|
}, null, 8, ["is-show-list", "global-results-function", "is-show-result", "search-value", "data-testid"])) : ne("", !0)
|
10118
10118
|
], 40, oE));
|
10119
10119
|
}
|
10120
|
-
}), ds = /* @__PURE__ */ Ce(lE, [["__scopeId", "data-v-
|
10120
|
+
}), ds = /* @__PURE__ */ Ce(lE, [["__scopeId", "data-v-af419749"]]);
|
10121
10121
|
var Wi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ia = { exports: {} };
|
10122
10122
|
/**
|
10123
10123
|
* @license
|