toku-ui 1.0.1 → 1.0.2
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.
|
@@ -15,7 +15,7 @@ export declare const TTextInput: import("vue").DefineComponent<{
|
|
|
15
15
|
maxlength: PropType<(string | number) | undefined>;
|
|
16
16
|
min: PropType<(string | number) | undefined>;
|
|
17
17
|
max: PropType<(string | number) | undefined>;
|
|
18
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "change" | "focus" | "update:
|
|
18
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "change" | "focus" | "update:modelValue")[], "input" | "blur" | "change" | "focus" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
error: PropType<boolean | undefined>;
|
|
20
20
|
disabled: PropType<boolean | undefined>;
|
|
21
21
|
leftIcon: PropType<string | undefined>;
|
|
@@ -36,6 +36,6 @@ export declare const TTextInput: import("vue").DefineComponent<{
|
|
|
36
36
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
"onUpdate:
|
|
39
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}, {}, {}>;
|
|
41
41
|
//# sourceMappingURL=TTextInput.d.ts.map
|
package/dist/index.es.js
CHANGED
|
@@ -6351,7 +6351,7 @@ const Mo = {
|
|
|
6351
6351
|
type: "text"
|
|
6352
6352
|
}, $b = /* @__PURE__ */ de({
|
|
6353
6353
|
name: "TTextInput",
|
|
6354
|
-
emits: ["input", "change", "update:
|
|
6354
|
+
emits: ["input", "change", "update:modelValue", "focus", "blur"],
|
|
6355
6355
|
props: {
|
|
6356
6356
|
error: Boolean,
|
|
6357
6357
|
disabled: Boolean,
|
|
@@ -6378,7 +6378,7 @@ const Mo = {
|
|
|
6378
6378
|
const d = A(() => ae.merge({}, Jm, i, a)), h = Xm(), b = se(), y = A({
|
|
6379
6379
|
get: () => d.value.modelValue !== void 0 ? d.value.modelValue : d.value.value,
|
|
6380
6380
|
set: (D) => {
|
|
6381
|
-
r("update:
|
|
6381
|
+
r("update:modelValue", D), r("input", D), r("change", D);
|
|
6382
6382
|
}
|
|
6383
6383
|
}), C = (D) => {
|
|
6384
6384
|
y.value = D.target.value;
|