@aplus-frontend/ui 0.2.27 → 0.2.29
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.
- package/es/src/ap-field/number/index.vue.d.ts +8 -8
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/text/index.vue2.mjs +23 -20
- package/es/src/ap-field/text/password.vue.mjs +19 -16
- package/es/src/ap-field/text-area/index.vue.mjs +7 -4
- package/es/src/ap-form/items/text/index.vue.d.ts +30 -0
- package/es/src/ap-form/items/text/password.vue.d.ts +30 -0
- package/es/src/ap-form/items/text-area/index.vue.d.ts +27 -0
- package/es/src/ap-form/search-form/index.vue.mjs +77 -77
- package/es/src/ap-form/search-form/utils.d.ts +1 -0
- package/es/src/ap-form/search-form/utils.mjs +18 -11
- package/es/src/ap-table/constants.d.ts +90 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +15 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +57 -56
- package/es/src/business/ap-export-group/index.d.ts +57 -35
- package/es/src/business/ap-export-group/interface.d.ts +1 -0
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +5 -5
- package/es/src/business/batch-input-group/index.vue.mjs +35 -32
- package/es/src/locale/lang/en.mjs +2 -1
- package/es/src/locale/lang/zh-cn.mjs +2 -1
- package/lib/src/ap-field/number/index.vue.d.ts +8 -8
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +30 -0
- package/lib/src/ap-form/items/text/password.vue.d.ts +30 -0
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +27 -0
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/utils.d.ts +1 -0
- package/lib/src/ap-form/search-form/utils.js +1 -1
- package/lib/src/ap-table/constants.d.ts +90 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +15 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +57 -35
- package/lib/src/business/ap-export-group/interface.d.ts +1 -0
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/package.json +5 -5
|
@@ -279,6 +279,10 @@ declare function __VLS_template(): {
|
|
|
279
279
|
step: ValueType;
|
|
280
280
|
bordered: boolean;
|
|
281
281
|
onPressEnter: KeyboardEventHandler;
|
|
282
|
+
formatter: (value: ValueType, info: {
|
|
283
|
+
userTyping: boolean;
|
|
284
|
+
input: string;
|
|
285
|
+
}) => string;
|
|
282
286
|
keyboard: boolean;
|
|
283
287
|
onStep: (value: ValueType, info: {
|
|
284
288
|
offset: ValueType;
|
|
@@ -287,10 +291,6 @@ declare function __VLS_template(): {
|
|
|
287
291
|
stringMode: boolean;
|
|
288
292
|
controls: boolean;
|
|
289
293
|
parser: (displayValue: string) => ValueType;
|
|
290
|
-
formatter: (value: ValueType, info: {
|
|
291
|
-
userTyping: boolean;
|
|
292
|
-
input: string;
|
|
293
|
-
}) => string;
|
|
294
294
|
}, true, {}, CustomSlotsType<{
|
|
295
295
|
addonBefore?: any;
|
|
296
296
|
addonAfter?: any;
|
|
@@ -446,6 +446,10 @@ declare function __VLS_template(): {
|
|
|
446
446
|
step: ValueType;
|
|
447
447
|
bordered: boolean;
|
|
448
448
|
onPressEnter: KeyboardEventHandler;
|
|
449
|
+
formatter: (value: ValueType, info: {
|
|
450
|
+
userTyping: boolean;
|
|
451
|
+
input: string;
|
|
452
|
+
}) => string;
|
|
449
453
|
keyboard: boolean;
|
|
450
454
|
onStep: (value: ValueType, info: {
|
|
451
455
|
offset: ValueType;
|
|
@@ -454,10 +458,6 @@ declare function __VLS_template(): {
|
|
|
454
458
|
stringMode: boolean;
|
|
455
459
|
controls: boolean;
|
|
456
460
|
parser: (displayValue: string) => ValueType;
|
|
457
|
-
formatter: (value: ValueType, info: {
|
|
458
|
-
userTyping: boolean;
|
|
459
|
-
input: string;
|
|
460
|
-
}) => string;
|
|
461
461
|
}> | null;
|
|
462
462
|
};
|
|
463
463
|
attrs: Partial<{}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, ref as y, onMounted as
|
|
1
|
+
import { defineComponent as _, ref as y, onMounted as L, computed as w, unref as a, openBlock as S, createElementBlock as R, toDisplayString as U, createBlock as z, mergeProps as D, createSlots as K, renderList as H, withCtx as B, renderSlot as $, normalizeProps as j, guardReactiveProps as E, createVNode as W } from "vue";
|
|
2
2
|
import { debounce as G, isFunction as g, isArray as J, isNil as Q, omit as X } from "lodash-unified";
|
|
3
3
|
import { Select as Y, Spin as Z } from "@aplus-frontend/antdv";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -95,7 +95,7 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
95
95
|
onBeforeSelect: {}
|
|
96
96
|
},
|
|
97
97
|
emits: ["update:value"],
|
|
98
|
-
setup(
|
|
98
|
+
setup(C, { expose: F, emit: b }) {
|
|
99
99
|
let r = 0;
|
|
100
100
|
const N = G((o) => {
|
|
101
101
|
if (!g(e.request))
|
|
@@ -107,11 +107,11 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
107
107
|
}).finally(() => {
|
|
108
108
|
u.value = !1;
|
|
109
109
|
});
|
|
110
|
-
}, 300), e =
|
|
110
|
+
}, 300), e = C, x = (o, t) => {
|
|
111
111
|
var n;
|
|
112
112
|
const l = ((n = e.fieldNames) == null ? void 0 : n.label) || "label";
|
|
113
|
-
return typeof (t == null ? void 0 : t[l]) == "string" && t[l].indexOf(o) > -1;
|
|
114
|
-
}, { options: s, updateOptions: i } = te(e), c = y(), u = y((e == null ? void 0 : e.loading) || !1), I =
|
|
113
|
+
return typeof (t == null ? void 0 : t[l]) == "string" && t[l].toLowerCase().indexOf(o.toLowerCase()) > -1;
|
|
114
|
+
}, { options: s, updateOptions: i } = te(e), c = y(), u = y((e == null ? void 0 : e.loading) || !1), I = b;
|
|
115
115
|
async function f(o = !0) {
|
|
116
116
|
if (!g(e.request))
|
|
117
117
|
return;
|
|
@@ -131,14 +131,14 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
131
131
|
var t;
|
|
132
132
|
(t = e.onFocus) == null || t.call(e, o), e.refetchOnFocus && r > 0 && !u.value && f(!0);
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
L(() => {
|
|
135
135
|
if (e.lazy) {
|
|
136
136
|
r += 1;
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
139
|
f();
|
|
140
140
|
});
|
|
141
|
-
const { value: m, updateValue: V } = le(e, I, { beforeUpdateValue: e.onBeforeSelect }), P = oe("Select", e), k =
|
|
141
|
+
const { value: m, updateValue: V } = le(e, I, { beforeUpdateValue: e.onBeforeSelect }), P = oe("Select", e), k = w(() => {
|
|
142
142
|
var d, v;
|
|
143
143
|
const o = a(m);
|
|
144
144
|
if (!o)
|
|
@@ -155,7 +155,7 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
155
155
|
(p) => p[l] === o
|
|
156
156
|
);
|
|
157
157
|
return (n == null ? void 0 : n[t]) || e.emptyText;
|
|
158
|
-
}), q =
|
|
158
|
+
}), q = w(() => {
|
|
159
159
|
const o = !!(e != null && e.showSearch), t = e.searchMode;
|
|
160
160
|
let l = {};
|
|
161
161
|
return o && (l = t === "request" ? {
|
|
@@ -190,11 +190,11 @@ const ne = { key: 0 }, pe = /* @__PURE__ */ _({
|
|
|
190
190
|
var o;
|
|
191
191
|
(o = c.value) == null || o.blur();
|
|
192
192
|
}
|
|
193
|
-
return
|
|
193
|
+
return F({
|
|
194
194
|
focus: A,
|
|
195
195
|
blur: M,
|
|
196
196
|
request: f
|
|
197
|
-
}), (o, t) => o.mode === "read" ? (
|
|
197
|
+
}), (o, t) => o.mode === "read" ? (S(), R("span", ne, U(k.value), 1)) : (S(), z(a(Y), D({
|
|
198
198
|
key: 1,
|
|
199
199
|
"allow-clear": "",
|
|
200
200
|
ref_key: "selectRef",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { isVNode as v, defineComponent as B, ref as g, useSlots as h, computed as b, createVNode as d, mergeProps as C, unref as u, Fragment as S, openBlock as _, createBlock as R, resolveDynamicComponent as
|
|
2
|
-
import { Input as
|
|
1
|
+
import { isVNode as v, defineComponent as B, ref as g, useSlots as h, computed as b, createVNode as d, mergeProps as C, unref as u, Fragment as S, openBlock as _, createBlock as R, resolveDynamicComponent as w } from "vue";
|
|
2
|
+
import { Input as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
|
-
import { omit as
|
|
5
|
-
import { useDefaultPlaceholder as
|
|
6
|
-
import { useControllableValue as
|
|
7
|
-
function
|
|
4
|
+
import { omit as V } from "lodash-unified";
|
|
5
|
+
import { useDefaultPlaceholder as j } from "../hooks/use-default-placeholder.mjs";
|
|
6
|
+
import { useControllableValue as F } from "../../hooks/useControllableValue.mjs";
|
|
7
|
+
function I(l) {
|
|
8
8
|
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !v(l);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const K = /* @__PURE__ */ B({
|
|
11
11
|
name: "ApFieldText",
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: {
|
|
@@ -46,10 +46,13 @@ const M = /* @__PURE__ */ B({
|
|
|
46
46
|
onPressEnter: {},
|
|
47
47
|
onKeydown: {},
|
|
48
48
|
onKeyup: {},
|
|
49
|
+
onMousedown: {},
|
|
50
|
+
onMouseUp: {},
|
|
49
51
|
onFocus: {},
|
|
50
52
|
onBlur: {},
|
|
51
53
|
onChange: {},
|
|
52
54
|
onInput: {},
|
|
55
|
+
onRawInput: {},
|
|
53
56
|
"onUpdate:value": {},
|
|
54
57
|
onCompositionstart: {},
|
|
55
58
|
onCompositionend: {},
|
|
@@ -92,19 +95,19 @@ const M = /* @__PURE__ */ B({
|
|
|
92
95
|
expose: i,
|
|
93
96
|
emit: c
|
|
94
97
|
}) {
|
|
95
|
-
const a = g(),
|
|
98
|
+
const a = g(), o = h();
|
|
96
99
|
i({
|
|
97
100
|
focus: (e) => {
|
|
98
|
-
var
|
|
99
|
-
(
|
|
101
|
+
var t;
|
|
102
|
+
(t = a.value) == null || t.focus(e);
|
|
100
103
|
},
|
|
101
104
|
blur: () => {
|
|
102
105
|
var e;
|
|
103
106
|
(e = a.value) == null || e.blur();
|
|
104
107
|
},
|
|
105
|
-
setSelectionRange: (e,
|
|
108
|
+
setSelectionRange: (e, t, x) => {
|
|
106
109
|
var p;
|
|
107
|
-
(p = a.value) == null || p.setSelectionRange(e,
|
|
110
|
+
(p = a.value) == null || p.setSelectionRange(e, t, x);
|
|
108
111
|
},
|
|
109
112
|
select: () => {
|
|
110
113
|
var e;
|
|
@@ -118,21 +121,21 @@ const M = /* @__PURE__ */ B({
|
|
|
118
121
|
const f = c, n = l, {
|
|
119
122
|
value: r,
|
|
120
123
|
updateValue: s
|
|
121
|
-
} =
|
|
124
|
+
} = F(n, f), m = j("Text", n);
|
|
122
125
|
function y() {
|
|
123
|
-
var e,
|
|
124
|
-
return n.mode === "edit" ? d(
|
|
126
|
+
var e, t;
|
|
127
|
+
return n.mode === "edit" ? d(T, C(V(n, ["mode", "emptyText", "value", "onUpdate:value"]), {
|
|
125
128
|
placeholder: u(m),
|
|
126
129
|
value: u(r),
|
|
127
130
|
"onUpdate:value": s,
|
|
128
131
|
ref: a
|
|
129
|
-
}),
|
|
130
|
-
default: () => [
|
|
131
|
-
}) : d(S, null, [n.prefix || ((e =
|
|
132
|
+
}), I(o) ? o : {
|
|
133
|
+
default: () => [o]
|
|
134
|
+
}) : d(S, null, [n.prefix || ((e = o == null ? void 0 : o.prefix) == null ? void 0 : e.call(o)), u(r) || n.emptyText, n.suffix || ((t = o == null ? void 0 : o.suffix) == null ? void 0 : t.call(o))]);
|
|
132
135
|
}
|
|
133
|
-
return (e,
|
|
136
|
+
return (e, t) => (_(), R(w(y())));
|
|
134
137
|
}
|
|
135
138
|
});
|
|
136
139
|
export {
|
|
137
|
-
|
|
140
|
+
K as default
|
|
138
141
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as
|
|
2
|
-
import { Input as
|
|
1
|
+
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { Input as S, Space as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
|
-
import { omit as
|
|
5
|
-
import { EyeOutlined as
|
|
6
|
-
import { useDefaultPlaceholder as
|
|
7
|
-
import { useControllableValue as
|
|
8
|
-
function
|
|
4
|
+
import { omit as I } from "lodash-unified";
|
|
5
|
+
import { EyeOutlined as O, EyeInvisibleOutlined as j } from "@ant-design/icons-vue";
|
|
6
|
+
import { useDefaultPlaceholder as k } from "../hooks/use-default-placeholder.mjs";
|
|
7
|
+
import { useControllableValue as d } from "../../hooks/useControllableValue.mjs";
|
|
8
|
+
function E(l) {
|
|
9
9
|
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !x(l);
|
|
10
10
|
}
|
|
11
11
|
const G = /* @__PURE__ */ h({
|
|
@@ -47,10 +47,13 @@ const G = /* @__PURE__ */ h({
|
|
|
47
47
|
onPressEnter: {},
|
|
48
48
|
onKeydown: {},
|
|
49
49
|
onKeyup: {},
|
|
50
|
+
onMousedown: {},
|
|
51
|
+
onMouseUp: {},
|
|
50
52
|
onFocus: {},
|
|
51
53
|
onBlur: {},
|
|
52
54
|
onChange: {},
|
|
53
55
|
onInput: {},
|
|
56
|
+
onRawInput: {},
|
|
54
57
|
"onUpdate:value": {},
|
|
55
58
|
onCompositionstart: {},
|
|
56
59
|
onCompositionend: {},
|
|
@@ -120,36 +123,36 @@ const G = /* @__PURE__ */ h({
|
|
|
120
123
|
const s = f, t = l, {
|
|
121
124
|
value: m,
|
|
122
125
|
updateValue: y
|
|
123
|
-
} =
|
|
126
|
+
} = d(t, s), v = k("TextPassword", t), {
|
|
124
127
|
value: b,
|
|
125
128
|
updateValue: r
|
|
126
|
-
} =
|
|
129
|
+
} = d(t, s, {
|
|
127
130
|
valuePropName: "visible"
|
|
128
131
|
});
|
|
129
132
|
function B() {
|
|
130
133
|
const e = i(m), n = i(b);
|
|
131
134
|
if (t.mode === "edit")
|
|
132
|
-
return o(
|
|
135
|
+
return o(S.Password, w(I(t, ["mode", "emptyText", "value", "onUpdate:value", "visible", "onUpdate:visible"]), {
|
|
133
136
|
placeholder: i(v),
|
|
134
137
|
value: e,
|
|
135
138
|
"onUpdate:value": y,
|
|
136
139
|
visible: n,
|
|
137
140
|
"onUpdate:visible": r,
|
|
138
141
|
ref: a
|
|
139
|
-
}),
|
|
142
|
+
}), E(u) ? u : {
|
|
140
143
|
default: () => [u]
|
|
141
144
|
});
|
|
142
|
-
let
|
|
143
|
-
return e && (
|
|
145
|
+
let p = o(P, null, [t.emptyText]);
|
|
146
|
+
return e && (p = o(T, null, {
|
|
144
147
|
default: () => [o("span", null, [n ? e : "********"]), o("span", {
|
|
145
148
|
style: {
|
|
146
149
|
cursor: "pointer"
|
|
147
150
|
},
|
|
148
151
|
onClick: () => r(!n)
|
|
149
|
-
}, [n ? o(
|
|
150
|
-
})),
|
|
152
|
+
}, [n ? o(O, null, null) : o(j, null, null)])]
|
|
153
|
+
})), p;
|
|
151
154
|
}
|
|
152
|
-
return (e, n) => (
|
|
155
|
+
return (e, n) => (U(), V(_(B())));
|
|
153
156
|
}
|
|
154
157
|
});
|
|
155
158
|
export {
|
|
@@ -5,8 +5,8 @@ import "../../config-provider/index.mjs";
|
|
|
5
5
|
import { Input as g } from "@aplus-frontend/antdv";
|
|
6
6
|
import { useDefaultPlaceholder as T } from "../hooks/use-default-placeholder.mjs";
|
|
7
7
|
import { useControllableValue as k } from "../../hooks/useControllableValue.mjs";
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
const
|
|
8
|
+
import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const S = /* @__PURE__ */ f({
|
|
10
10
|
name: "ApFieldTextArea",
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -29,6 +29,7 @@ const V = /* @__PURE__ */ f({
|
|
|
29
29
|
onInput: {},
|
|
30
30
|
onKeydown: {},
|
|
31
31
|
onKeyup: {},
|
|
32
|
+
onMousedown: {},
|
|
32
33
|
focused: { type: Boolean },
|
|
33
34
|
hidden: { type: Boolean },
|
|
34
35
|
disabled: { type: Boolean, default: void 0 },
|
|
@@ -48,6 +49,8 @@ const V = /* @__PURE__ */ f({
|
|
|
48
49
|
showCount: { type: [Boolean, Object] },
|
|
49
50
|
htmlSize: {},
|
|
50
51
|
onPressEnter: {},
|
|
52
|
+
onMouseUp: {},
|
|
53
|
+
onRawInput: {},
|
|
51
54
|
inputElement: {},
|
|
52
55
|
triggerFocus: {},
|
|
53
56
|
handleReset: {},
|
|
@@ -57,7 +60,7 @@ const V = /* @__PURE__ */ f({
|
|
|
57
60
|
},
|
|
58
61
|
emits: ["update:value"],
|
|
59
62
|
setup(u, { expose: p, emit: s }) {
|
|
60
|
-
const t = y(), l = u, d = s, { value: a, updateValue: i } = k(l, d), { b: m } =
|
|
63
|
+
const t = y(), l = u, d = s, { value: a, updateValue: i } = k(l, d), { b: m } = w("field-text-area"), c = T("TextArea", l);
|
|
61
64
|
return p({
|
|
62
65
|
focus: (e) => {
|
|
63
66
|
var n;
|
|
@@ -84,5 +87,5 @@ const V = /* @__PURE__ */ f({
|
|
|
84
87
|
}
|
|
85
88
|
});
|
|
86
89
|
export {
|
|
87
|
-
|
|
90
|
+
S as default
|
|
88
91
|
};
|
|
@@ -49,6 +49,7 @@ declare function __VLS_template(): {
|
|
|
49
49
|
readonly onInput?: ChangeEventHandler | undefined;
|
|
50
50
|
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
51
51
|
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
52
|
+
readonly onMousedown?: MouseEventHandler | undefined;
|
|
52
53
|
readonly class?: unknown;
|
|
53
54
|
readonly value?: string | number | undefined;
|
|
54
55
|
readonly disabled?: boolean | undefined;
|
|
@@ -69,6 +70,8 @@ declare function __VLS_template(): {
|
|
|
69
70
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
70
71
|
readonly htmlSize?: number | undefined;
|
|
71
72
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
73
|
+
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
74
|
+
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
72
75
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
73
76
|
readonly inputElement?: any;
|
|
74
77
|
readonly triggerFocus?: (() => void) | undefined;
|
|
@@ -115,6 +118,9 @@ declare function __VLS_template(): {
|
|
|
115
118
|
onKeyup: {
|
|
116
119
|
type: PropType<KeyboardEventHandler>;
|
|
117
120
|
};
|
|
121
|
+
onMousedown: {
|
|
122
|
+
type: PropType<MouseEventHandler>;
|
|
123
|
+
};
|
|
118
124
|
mode: {
|
|
119
125
|
type: PropType<FieldMode>;
|
|
120
126
|
default: string;
|
|
@@ -188,6 +194,12 @@ declare function __VLS_template(): {
|
|
|
188
194
|
onPressEnter: {
|
|
189
195
|
type: PropType<KeyboardEventHandler>;
|
|
190
196
|
};
|
|
197
|
+
onMouseUp: {
|
|
198
|
+
type: PropType<MouseEventHandler>;
|
|
199
|
+
};
|
|
200
|
+
onRawInput: {
|
|
201
|
+
type: PropType<ChangeEventHandler>;
|
|
202
|
+
};
|
|
191
203
|
valueModifiers: {
|
|
192
204
|
type: PropType<Record<string, any>>;
|
|
193
205
|
};
|
|
@@ -274,6 +286,9 @@ declare function __VLS_template(): {
|
|
|
274
286
|
onKeyup: {
|
|
275
287
|
type: PropType<KeyboardEventHandler>;
|
|
276
288
|
};
|
|
289
|
+
onMousedown: {
|
|
290
|
+
type: PropType<MouseEventHandler>;
|
|
291
|
+
};
|
|
277
292
|
mode: {
|
|
278
293
|
type: PropType<FieldMode>;
|
|
279
294
|
default: string;
|
|
@@ -347,6 +362,12 @@ declare function __VLS_template(): {
|
|
|
347
362
|
onPressEnter: {
|
|
348
363
|
type: PropType<KeyboardEventHandler>;
|
|
349
364
|
};
|
|
365
|
+
onMouseUp: {
|
|
366
|
+
type: PropType<MouseEventHandler>;
|
|
367
|
+
};
|
|
368
|
+
onRawInput: {
|
|
369
|
+
type: PropType<ChangeEventHandler>;
|
|
370
|
+
};
|
|
350
371
|
valueModifiers: {
|
|
351
372
|
type: PropType<Record<string, any>>;
|
|
352
373
|
};
|
|
@@ -455,6 +476,9 @@ declare function __VLS_template(): {
|
|
|
455
476
|
onKeyup: {
|
|
456
477
|
type: PropType<KeyboardEventHandler>;
|
|
457
478
|
};
|
|
479
|
+
onMousedown: {
|
|
480
|
+
type: PropType<MouseEventHandler>;
|
|
481
|
+
};
|
|
458
482
|
mode: {
|
|
459
483
|
type: PropType<FieldMode>;
|
|
460
484
|
default: string;
|
|
@@ -528,6 +552,12 @@ declare function __VLS_template(): {
|
|
|
528
552
|
onPressEnter: {
|
|
529
553
|
type: PropType<KeyboardEventHandler>;
|
|
530
554
|
};
|
|
555
|
+
onMouseUp: {
|
|
556
|
+
type: PropType<MouseEventHandler>;
|
|
557
|
+
};
|
|
558
|
+
onRawInput: {
|
|
559
|
+
type: PropType<ChangeEventHandler>;
|
|
560
|
+
};
|
|
531
561
|
valueModifiers: {
|
|
532
562
|
type: PropType<Record<string, any>>;
|
|
533
563
|
};
|
|
@@ -55,6 +55,7 @@ declare function __VLS_template(): {
|
|
|
55
55
|
readonly onInput?: ChangeEventHandler | undefined;
|
|
56
56
|
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
57
57
|
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
58
|
+
readonly onMousedown?: MouseEventHandler | undefined;
|
|
58
59
|
readonly class?: unknown;
|
|
59
60
|
readonly value?: string | number | undefined;
|
|
60
61
|
readonly visible?: boolean | undefined;
|
|
@@ -77,6 +78,8 @@ declare function __VLS_template(): {
|
|
|
77
78
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
78
79
|
readonly htmlSize?: number | undefined;
|
|
79
80
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
81
|
+
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
82
|
+
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
80
83
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
81
84
|
readonly inputElement?: any;
|
|
82
85
|
readonly triggerFocus?: (() => void) | undefined;
|
|
@@ -124,6 +127,9 @@ declare function __VLS_template(): {
|
|
|
124
127
|
onKeyup: {
|
|
125
128
|
type: PropType<KeyboardEventHandler>;
|
|
126
129
|
};
|
|
130
|
+
onMousedown: {
|
|
131
|
+
type: PropType<MouseEventHandler>;
|
|
132
|
+
};
|
|
127
133
|
mode: {
|
|
128
134
|
type: PropType<FieldMode>;
|
|
129
135
|
default: string;
|
|
@@ -204,6 +210,12 @@ declare function __VLS_template(): {
|
|
|
204
210
|
onPressEnter: {
|
|
205
211
|
type: PropType<KeyboardEventHandler>;
|
|
206
212
|
};
|
|
213
|
+
onMouseUp: {
|
|
214
|
+
type: PropType<MouseEventHandler>;
|
|
215
|
+
};
|
|
216
|
+
onRawInput: {
|
|
217
|
+
type: PropType<ChangeEventHandler>;
|
|
218
|
+
};
|
|
207
219
|
valueModifiers: {
|
|
208
220
|
type: PropType<Record<string, any>>;
|
|
209
221
|
};
|
|
@@ -302,6 +314,9 @@ declare function __VLS_template(): {
|
|
|
302
314
|
onKeyup: {
|
|
303
315
|
type: PropType<KeyboardEventHandler>;
|
|
304
316
|
};
|
|
317
|
+
onMousedown: {
|
|
318
|
+
type: PropType<MouseEventHandler>;
|
|
319
|
+
};
|
|
305
320
|
mode: {
|
|
306
321
|
type: PropType<FieldMode>;
|
|
307
322
|
default: string;
|
|
@@ -382,6 +397,12 @@ declare function __VLS_template(): {
|
|
|
382
397
|
onPressEnter: {
|
|
383
398
|
type: PropType<KeyboardEventHandler>;
|
|
384
399
|
};
|
|
400
|
+
onMouseUp: {
|
|
401
|
+
type: PropType<MouseEventHandler>;
|
|
402
|
+
};
|
|
403
|
+
onRawInput: {
|
|
404
|
+
type: PropType<ChangeEventHandler>;
|
|
405
|
+
};
|
|
385
406
|
valueModifiers: {
|
|
386
407
|
type: PropType<Record<string, any>>;
|
|
387
408
|
};
|
|
@@ -503,6 +524,9 @@ declare function __VLS_template(): {
|
|
|
503
524
|
onKeyup: {
|
|
504
525
|
type: PropType<KeyboardEventHandler>;
|
|
505
526
|
};
|
|
527
|
+
onMousedown: {
|
|
528
|
+
type: PropType<MouseEventHandler>;
|
|
529
|
+
};
|
|
506
530
|
mode: {
|
|
507
531
|
type: PropType<FieldMode>;
|
|
508
532
|
default: string;
|
|
@@ -583,6 +607,12 @@ declare function __VLS_template(): {
|
|
|
583
607
|
onPressEnter: {
|
|
584
608
|
type: PropType<KeyboardEventHandler>;
|
|
585
609
|
};
|
|
610
|
+
onMouseUp: {
|
|
611
|
+
type: PropType<MouseEventHandler>;
|
|
612
|
+
};
|
|
613
|
+
onRawInput: {
|
|
614
|
+
type: PropType<ChangeEventHandler>;
|
|
615
|
+
};
|
|
586
616
|
valueModifiers: {
|
|
587
617
|
type: PropType<Record<string, any>>;
|
|
588
618
|
};
|
|
@@ -54,6 +54,9 @@ declare function __VLS_template(): {
|
|
|
54
54
|
onKeyup: {
|
|
55
55
|
type: PropType<KeyboardEventHandler>;
|
|
56
56
|
};
|
|
57
|
+
onMousedown: {
|
|
58
|
+
type: PropType<MouseEventHandler>;
|
|
59
|
+
};
|
|
57
60
|
mode: {
|
|
58
61
|
type: PropType<FieldMode>;
|
|
59
62
|
default: string;
|
|
@@ -124,6 +127,12 @@ declare function __VLS_template(): {
|
|
|
124
127
|
onPressEnter: {
|
|
125
128
|
type: PropType<KeyboardEventHandler>;
|
|
126
129
|
};
|
|
130
|
+
onMouseUp: {
|
|
131
|
+
type: PropType<MouseEventHandler>;
|
|
132
|
+
};
|
|
133
|
+
onRawInput: {
|
|
134
|
+
type: PropType<ChangeEventHandler>;
|
|
135
|
+
};
|
|
127
136
|
valueModifiers: {
|
|
128
137
|
type: PropType<Record<string, any>>;
|
|
129
138
|
};
|
|
@@ -205,6 +214,9 @@ declare function __VLS_template(): {
|
|
|
205
214
|
onKeyup: {
|
|
206
215
|
type: PropType<KeyboardEventHandler>;
|
|
207
216
|
};
|
|
217
|
+
onMousedown: {
|
|
218
|
+
type: PropType<MouseEventHandler>;
|
|
219
|
+
};
|
|
208
220
|
mode: {
|
|
209
221
|
type: PropType<FieldMode>;
|
|
210
222
|
default: string;
|
|
@@ -275,6 +287,12 @@ declare function __VLS_template(): {
|
|
|
275
287
|
onPressEnter: {
|
|
276
288
|
type: PropType<KeyboardEventHandler>;
|
|
277
289
|
};
|
|
290
|
+
onMouseUp: {
|
|
291
|
+
type: PropType<MouseEventHandler>;
|
|
292
|
+
};
|
|
293
|
+
onRawInput: {
|
|
294
|
+
type: PropType<ChangeEventHandler>;
|
|
295
|
+
};
|
|
278
296
|
valueModifiers: {
|
|
279
297
|
type: PropType<Record<string, any>>;
|
|
280
298
|
};
|
|
@@ -365,6 +383,9 @@ declare function __VLS_template(): {
|
|
|
365
383
|
onKeyup: {
|
|
366
384
|
type: PropType<KeyboardEventHandler>;
|
|
367
385
|
};
|
|
386
|
+
onMousedown: {
|
|
387
|
+
type: PropType<MouseEventHandler>;
|
|
388
|
+
};
|
|
368
389
|
mode: {
|
|
369
390
|
type: PropType<FieldMode>;
|
|
370
391
|
default: string;
|
|
@@ -435,6 +456,12 @@ declare function __VLS_template(): {
|
|
|
435
456
|
onPressEnter: {
|
|
436
457
|
type: PropType<KeyboardEventHandler>;
|
|
437
458
|
};
|
|
459
|
+
onMouseUp: {
|
|
460
|
+
type: PropType<MouseEventHandler>;
|
|
461
|
+
};
|
|
462
|
+
onRawInput: {
|
|
463
|
+
type: PropType<ChangeEventHandler>;
|
|
464
|
+
};
|
|
438
465
|
valueModifiers: {
|
|
439
466
|
type: PropType<Record<string, any>>;
|
|
440
467
|
};
|