@aplus-frontend/ui 0.2.19 → 0.2.21
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/index.mjs +193 -189
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +18 -18
- package/es/src/ap-form/index.d.ts +5 -1
- package/es/src/ap-form/index.mjs +17 -9
- package/es/src/ap-form/interface.d.ts +10 -1
- package/es/src/ap-form/item/index.vue.mjs +48 -51
- package/es/src/ap-form/items/number/index.vue.d.ts +20 -20
- package/es/src/ap-form/items/text/index.vue.d.ts +20 -20
- package/es/src/ap-form/items/text/password.vue.d.ts +20 -20
- package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -18
- package/es/src/ap-form/render/control.vue.d.ts +29 -0
- package/es/src/ap-form/render/control.vue.mjs +23 -0
- package/es/src/ap-form/render/control.vue2.mjs +4 -0
- package/es/src/ap-form/render/item.vue.d.ts +63 -0
- package/es/src/ap-form/render/item.vue.mjs +72 -0
- package/es/src/ap-form/render/item.vue2.mjs +4 -0
- package/es/src/ap-form/render/style/css.d.ts +1 -0
- package/es/src/ap-form/render/style/css.js +1 -0
- package/es/src/ap-form/render/style/style.d.ts +1 -0
- package/es/src/ap-list/index.vue.d.ts +10 -2
- package/es/src/ap-list/index.vue.mjs +135 -85
- package/es/src/ap-list/interface.d.ts +22 -3
- package/es/src/ap-table/constants.d.ts +102 -102
- package/es/src/ap-tag/ap-tag.vue.mjs +16 -13
- package/es/src/business/ap-group-search/index.d.ts +36 -36
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +7 -7
- package/es/src/config-provider/config-provider.d.ts +5 -0
- package/es/src/config-provider/css-var.d.ts +5 -0
- package/es/src/config-provider/css-var.mjs +20 -10
- package/es/src/config-provider/index.d.ts +30 -0
- package/es/src/index.mjs +154 -150
- package/es/src/path-map.mjs +3 -1
- package/lib/index.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +1 -1
- package/lib/src/ap-form/index.d.ts +5 -1
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +10 -1
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +20 -20
- package/lib/src/ap-form/items/text/index.vue.d.ts +20 -20
- package/lib/src/ap-form/items/text/password.vue.d.ts +20 -20
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -18
- package/lib/src/ap-form/render/control.vue.d.ts +29 -0
- package/lib/src/ap-form/render/control.vue.js +1 -0
- package/lib/src/ap-form/render/control.vue2.js +1 -0
- package/lib/src/ap-form/render/item.vue.d.ts +63 -0
- package/lib/src/ap-form/render/item.vue.js +1 -0
- package/lib/src/ap-form/render/item.vue2.js +1 -0
- package/lib/src/ap-form/render/style/css.d.ts +1 -0
- package/lib/src/ap-form/render/style/css.js +1 -0
- package/lib/src/ap-form/render/style/style.d.ts +1 -0
- package/lib/src/ap-list/index.vue.d.ts +10 -2
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-list/interface.d.ts +22 -3
- package/lib/src/ap-table/constants.d.ts +102 -102
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +36 -36
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +7 -7
- package/lib/src/config-provider/config-provider.d.ts +5 -0
- package/lib/src/config-provider/css-var.d.ts +5 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/index.d.ts +30 -0
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/package.json +5 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Form as
|
|
1
|
+
import { defineComponent as D, useSlots as $, ref as d, onMounted as j, computed as F, unref as l, watch as q, cloneVNode as E, openBlock as g, createBlock as h, mergeProps as K, createSlots as O, withCtx as i, resolveDynamicComponent as Q, createCommentVNode as U, createElementVNode as G, normalizeClass as H, createVNode as p, normalizeStyle as J, renderList as M, renderSlot as W, normalizeProps as X, guardReactiveProps as Y } from "vue";
|
|
2
|
+
import { Form as Z, Tooltip as ee, TypographyText as oe } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useToken as le } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
|
-
import { isFunction as
|
|
4
|
+
import { isFunction as B, cloneDeep as te, isArray as ae, omit as C } from "lodash-unified";
|
|
5
5
|
import { apFormItemColPropKeys as re } from "../constant.mjs";
|
|
6
6
|
import { QuestionCircleOutlined as ne } from "@ant-design/icons-vue";
|
|
7
7
|
import "../../config-provider/index.mjs";
|
|
8
8
|
import { useInjectForm as ie } from "../context.mjs";
|
|
9
9
|
import { isPromise as se } from "@fruits-chain/utils";
|
|
10
10
|
import { getSingleVNode as ue, getValidVNodeList as me } from "../../utils/slot.mjs";
|
|
11
|
-
import { useNamespace as
|
|
12
|
-
const
|
|
11
|
+
import { useNamespace as fe } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
|
+
const Ce = /* @__PURE__ */ D({
|
|
13
13
|
name: "ApFormItem",
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -53,17 +53,17 @@ const fe = ["title"], Ne = /* @__PURE__ */ O({
|
|
|
53
53
|
_signal: {},
|
|
54
54
|
transform: {}
|
|
55
55
|
},
|
|
56
|
-
setup(
|
|
57
|
-
const o =
|
|
56
|
+
setup(N, { expose: k }) {
|
|
57
|
+
const o = N, r = $(), { model: s, updateModel: u, internalInstance: m } = ie(), { m: c, b: P } = fe("ap-form-item"), f = d(!1), n = d(), [, x] = le();
|
|
58
58
|
j(async () => {
|
|
59
|
-
let e =
|
|
59
|
+
let e = B(o.initialValue) ? o.initialValue() : o.initialValue;
|
|
60
60
|
se(e) && (e = await e), m == null || m.registerField({
|
|
61
61
|
name: o.name,
|
|
62
62
|
initialValue: te(e),
|
|
63
63
|
transform: o.transform
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
|
-
const
|
|
66
|
+
const y = F(() => o.name ? ae(o.name) ? o.name.reduce((e, t) => e == null ? void 0 : e[t], l(s)) : s == null ? void 0 : s.value[o.name] : null), v = d(ue(r.default));
|
|
67
67
|
q(
|
|
68
68
|
() => {
|
|
69
69
|
var e;
|
|
@@ -73,37 +73,37 @@ const fe = ["title"], Ne = /* @__PURE__ */ O({
|
|
|
73
73
|
v.value = me(e)[0];
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
|
-
function
|
|
76
|
+
function w(e) {
|
|
77
77
|
u == null || u(o.name, e);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
79
|
+
function S() {
|
|
80
|
+
f.value = !0;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
82
|
+
function I() {
|
|
83
|
+
f.value = !1;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const V = F(() => {
|
|
86
86
|
var t, a;
|
|
87
87
|
if (!o.name)
|
|
88
88
|
return (t = r.default()) == null ? void 0 : t[0];
|
|
89
89
|
const e = l(v);
|
|
90
90
|
return e ? E(e, {
|
|
91
|
-
[o.valuePropName]: l(
|
|
92
|
-
[`onUpdate:${o.valuePropName}`]:
|
|
91
|
+
[o.valuePropName]: l(y),
|
|
92
|
+
[`onUpdate:${o.valuePropName}`]: w,
|
|
93
93
|
bordered: o.bordered ? !1 : (a = e == null ? void 0 : e.props) == null ? void 0 : a.bordered,
|
|
94
|
-
onFocus:
|
|
95
|
-
onBlur:
|
|
94
|
+
onFocus: S,
|
|
95
|
+
onBlur: I
|
|
96
96
|
}) : null;
|
|
97
97
|
});
|
|
98
|
-
function
|
|
98
|
+
function T() {
|
|
99
99
|
var e;
|
|
100
100
|
(e = n.value) == null || e.onFieldBlur();
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function z() {
|
|
103
103
|
var e;
|
|
104
104
|
(e = n.value) == null || e.onFieldChange();
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function A() {
|
|
107
107
|
var e;
|
|
108
108
|
(e = n.value) == null || e.clearValidate();
|
|
109
109
|
}
|
|
@@ -112,46 +112,46 @@ const fe = ["title"], Ne = /* @__PURE__ */ O({
|
|
|
112
112
|
(e = n.value) == null || e.resetField();
|
|
113
113
|
}
|
|
114
114
|
function R(e = !1) {
|
|
115
|
-
const t = l(
|
|
115
|
+
const t = l(y);
|
|
116
116
|
if (!e || !o.transform)
|
|
117
117
|
return t;
|
|
118
|
-
const a =
|
|
118
|
+
const a = B(o.transform) ? o.transform : o.transform.transformer;
|
|
119
119
|
return o.transform ? a(t) : t;
|
|
120
120
|
}
|
|
121
|
-
return
|
|
122
|
-
onFieldBlur:
|
|
123
|
-
onFieldChange:
|
|
124
|
-
clearValidate:
|
|
121
|
+
return k({
|
|
122
|
+
onFieldBlur: T,
|
|
123
|
+
onFieldChange: z,
|
|
124
|
+
clearValidate: A,
|
|
125
125
|
resetField: L,
|
|
126
126
|
getFieldValue: R
|
|
127
|
-
}), (e, t) => (
|
|
127
|
+
}), (e, t) => (g(), h(l(Z).Item, K({
|
|
128
128
|
ref_key: "formItemRef",
|
|
129
129
|
ref: n
|
|
130
|
-
}, l(
|
|
130
|
+
}, l(C)(o, [...l(re), "tooltip", "label"]), {
|
|
131
131
|
class: {
|
|
132
|
-
[l(
|
|
133
|
-
[l(
|
|
132
|
+
[l(c)("bordered")]: e.bordered,
|
|
133
|
+
[l(c)("focused")]: e.bordered && f.value,
|
|
134
134
|
[l(P)()]: !0
|
|
135
135
|
},
|
|
136
136
|
colon: e.bordered ? !1 : o.colon
|
|
137
|
-
}),
|
|
137
|
+
}), O({
|
|
138
138
|
default: i(() => [
|
|
139
|
-
|
|
139
|
+
V.value ? (g(), h(Q(V.value), { key: 0 })) : U("", !0)
|
|
140
140
|
]),
|
|
141
141
|
_: 2
|
|
142
142
|
}, [
|
|
143
143
|
o.tooltip ? {
|
|
144
144
|
name: "tooltip",
|
|
145
145
|
fn: i(({ class: a }) => [
|
|
146
|
-
|
|
146
|
+
G("span", {
|
|
147
147
|
class: H(a)
|
|
148
148
|
}, [
|
|
149
|
-
|
|
149
|
+
p(l(ee), {
|
|
150
150
|
title: o.tooltip
|
|
151
151
|
}, {
|
|
152
152
|
default: i(() => [
|
|
153
|
-
|
|
154
|
-
style: J({ color: l(
|
|
153
|
+
p(l(ne), {
|
|
154
|
+
style: J({ color: l(x).colorPrimary })
|
|
155
155
|
}, null, 8, ["style"])
|
|
156
156
|
]),
|
|
157
157
|
_: 1
|
|
@@ -163,26 +163,23 @@ const fe = ["title"], Ne = /* @__PURE__ */ O({
|
|
|
163
163
|
e.label ? {
|
|
164
164
|
name: "label",
|
|
165
165
|
fn: i(() => [
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
textOverflow: "ellipsis"
|
|
172
|
-
}
|
|
173
|
-
}, M(e.label), 9, fe)
|
|
166
|
+
p(l(oe), {
|
|
167
|
+
content: e.label,
|
|
168
|
+
ellipsis: { tooltip: e.label },
|
|
169
|
+
style: { "min-width": "0px", flex: "1" }
|
|
170
|
+
}, null, 8, ["content", "ellipsis"])
|
|
174
171
|
]),
|
|
175
172
|
key: "1"
|
|
176
173
|
} : void 0,
|
|
177
|
-
|
|
178
|
-
name:
|
|
179
|
-
fn: i((
|
|
180
|
-
|
|
174
|
+
M(l(C)(r, "default"), (a, b) => ({
|
|
175
|
+
name: b,
|
|
176
|
+
fn: i((_) => [
|
|
177
|
+
W(e.$slots, b, X(Y(_ || {})))
|
|
181
178
|
])
|
|
182
179
|
}))
|
|
183
180
|
]), 1040, ["class", "colon"]));
|
|
184
181
|
}
|
|
185
182
|
});
|
|
186
183
|
export {
|
|
187
|
-
|
|
184
|
+
Ce as default
|
|
188
185
|
};
|
|
@@ -61,14 +61,14 @@ declare function __VLS_template(): {
|
|
|
61
61
|
readonly tabindex?: number | undefined;
|
|
62
62
|
readonly prefix?: any;
|
|
63
63
|
readonly autofocus?: boolean | undefined;
|
|
64
|
+
'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
65
|
+
readonly suffix?: any;
|
|
64
66
|
readonly defaultValue?: ValueType | undefined;
|
|
65
67
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
66
|
-
'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
|
|
67
68
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
68
69
|
readonly readonly?: boolean | undefined;
|
|
69
70
|
readonly addonBefore?: any;
|
|
70
71
|
readonly addonAfter?: any;
|
|
71
|
-
readonly suffix?: any;
|
|
72
72
|
readonly stringMode?: boolean | undefined;
|
|
73
73
|
readonly parser?: ((displayValue: string) => ValueType) | undefined;
|
|
74
74
|
readonly formatter?: ((value: ValueType, info: {
|
|
@@ -148,6 +148,9 @@ declare function __VLS_template(): {
|
|
|
148
148
|
autofocus: {
|
|
149
149
|
type: PropType<boolean>;
|
|
150
150
|
};
|
|
151
|
+
'onUpdate:value': {
|
|
152
|
+
type: PropType<(value: ValueType) => void>;
|
|
153
|
+
};
|
|
151
154
|
max: {
|
|
152
155
|
type: PropType<ValueType>;
|
|
153
156
|
default: number;
|
|
@@ -156,15 +159,15 @@ declare function __VLS_template(): {
|
|
|
156
159
|
type: PropType<ValueType>;
|
|
157
160
|
default: number;
|
|
158
161
|
};
|
|
162
|
+
suffix: {
|
|
163
|
+
type: PropType<any>;
|
|
164
|
+
};
|
|
159
165
|
defaultValue: {
|
|
160
166
|
type: PropType<ValueType>;
|
|
161
167
|
};
|
|
162
168
|
onPressEnter: {
|
|
163
169
|
type: PropType<KeyboardEventHandler>;
|
|
164
170
|
};
|
|
165
|
-
'onUpdate:value': {
|
|
166
|
-
type: PropType<(value: ValueType) => void>;
|
|
167
|
-
};
|
|
168
171
|
valueModifiers: {
|
|
169
172
|
type: PropType<Record<string, any>>;
|
|
170
173
|
};
|
|
@@ -177,9 +180,6 @@ declare function __VLS_template(): {
|
|
|
177
180
|
addonAfter: {
|
|
178
181
|
type: PropType<any>;
|
|
179
182
|
};
|
|
180
|
-
suffix: {
|
|
181
|
-
type: PropType<any>;
|
|
182
|
-
};
|
|
183
183
|
stringMode: {
|
|
184
184
|
type: PropType<boolean>;
|
|
185
185
|
};
|
|
@@ -305,6 +305,9 @@ declare function __VLS_template(): {
|
|
|
305
305
|
autofocus: {
|
|
306
306
|
type: PropType<boolean>;
|
|
307
307
|
};
|
|
308
|
+
'onUpdate:value': {
|
|
309
|
+
type: PropType<(value: ValueType) => void>;
|
|
310
|
+
};
|
|
308
311
|
max: {
|
|
309
312
|
type: PropType<ValueType>;
|
|
310
313
|
default: number;
|
|
@@ -313,15 +316,15 @@ declare function __VLS_template(): {
|
|
|
313
316
|
type: PropType<ValueType>;
|
|
314
317
|
default: number;
|
|
315
318
|
};
|
|
319
|
+
suffix: {
|
|
320
|
+
type: PropType<any>;
|
|
321
|
+
};
|
|
316
322
|
defaultValue: {
|
|
317
323
|
type: PropType<ValueType>;
|
|
318
324
|
};
|
|
319
325
|
onPressEnter: {
|
|
320
326
|
type: PropType<KeyboardEventHandler>;
|
|
321
327
|
};
|
|
322
|
-
'onUpdate:value': {
|
|
323
|
-
type: PropType<(value: ValueType) => void>;
|
|
324
|
-
};
|
|
325
328
|
valueModifiers: {
|
|
326
329
|
type: PropType<Record<string, any>>;
|
|
327
330
|
};
|
|
@@ -334,9 +337,6 @@ declare function __VLS_template(): {
|
|
|
334
337
|
addonAfter: {
|
|
335
338
|
type: PropType<any>;
|
|
336
339
|
};
|
|
337
|
-
suffix: {
|
|
338
|
-
type: PropType<any>;
|
|
339
|
-
};
|
|
340
340
|
stringMode: {
|
|
341
341
|
type: PropType<boolean>;
|
|
342
342
|
};
|
|
@@ -482,6 +482,9 @@ declare function __VLS_template(): {
|
|
|
482
482
|
autofocus: {
|
|
483
483
|
type: PropType<boolean>;
|
|
484
484
|
};
|
|
485
|
+
'onUpdate:value': {
|
|
486
|
+
type: PropType<(value: ValueType) => void>;
|
|
487
|
+
};
|
|
485
488
|
max: {
|
|
486
489
|
type: PropType<ValueType>;
|
|
487
490
|
default: number;
|
|
@@ -490,15 +493,15 @@ declare function __VLS_template(): {
|
|
|
490
493
|
type: PropType<ValueType>;
|
|
491
494
|
default: number;
|
|
492
495
|
};
|
|
496
|
+
suffix: {
|
|
497
|
+
type: PropType<any>;
|
|
498
|
+
};
|
|
493
499
|
defaultValue: {
|
|
494
500
|
type: PropType<ValueType>;
|
|
495
501
|
};
|
|
496
502
|
onPressEnter: {
|
|
497
503
|
type: PropType<KeyboardEventHandler>;
|
|
498
504
|
};
|
|
499
|
-
'onUpdate:value': {
|
|
500
|
-
type: PropType<(value: ValueType) => void>;
|
|
501
|
-
};
|
|
502
505
|
valueModifiers: {
|
|
503
506
|
type: PropType<Record<string, any>>;
|
|
504
507
|
};
|
|
@@ -511,9 +514,6 @@ declare function __VLS_template(): {
|
|
|
511
514
|
addonAfter: {
|
|
512
515
|
type: PropType<any>;
|
|
513
516
|
};
|
|
514
|
-
suffix: {
|
|
515
|
-
type: PropType<any>;
|
|
516
|
-
};
|
|
517
517
|
stringMode: {
|
|
518
518
|
type: PropType<boolean>;
|
|
519
519
|
};
|
|
@@ -60,13 +60,14 @@ declare function __VLS_template(): {
|
|
|
60
60
|
readonly prefix?: any;
|
|
61
61
|
readonly loading?: boolean | undefined;
|
|
62
62
|
readonly autofocus?: boolean | undefined;
|
|
63
|
+
'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
64
|
+
readonly suffix?: any;
|
|
63
65
|
readonly focused?: boolean | undefined;
|
|
64
66
|
readonly defaultValue?: string | number | undefined;
|
|
65
67
|
readonly maxlength?: number | undefined;
|
|
66
68
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
67
69
|
readonly htmlSize?: number | undefined;
|
|
68
70
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
69
|
-
'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
70
71
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
71
72
|
readonly inputElement?: any;
|
|
72
73
|
readonly triggerFocus?: (() => void) | undefined;
|
|
@@ -74,7 +75,6 @@ declare function __VLS_template(): {
|
|
|
74
75
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
75
76
|
readonly addonBefore?: any;
|
|
76
77
|
readonly addonAfter?: any;
|
|
77
|
-
readonly suffix?: any;
|
|
78
78
|
readonly clearIcon?: any;
|
|
79
79
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
80
80
|
size: {
|
|
@@ -158,6 +158,12 @@ declare function __VLS_template(): {
|
|
|
158
158
|
autofocus: {
|
|
159
159
|
type: PropType<boolean>;
|
|
160
160
|
};
|
|
161
|
+
'onUpdate:value': {
|
|
162
|
+
type: PropType<(val: string) => void>;
|
|
163
|
+
};
|
|
164
|
+
suffix: {
|
|
165
|
+
type: PropType<any>;
|
|
166
|
+
};
|
|
161
167
|
focused: {
|
|
162
168
|
type: PropType<boolean>;
|
|
163
169
|
};
|
|
@@ -180,9 +186,6 @@ declare function __VLS_template(): {
|
|
|
180
186
|
onPressEnter: {
|
|
181
187
|
type: PropType<KeyboardEventHandler>;
|
|
182
188
|
};
|
|
183
|
-
'onUpdate:value': {
|
|
184
|
-
type: PropType<(val: string) => void>;
|
|
185
|
-
};
|
|
186
189
|
valueModifiers: {
|
|
187
190
|
type: PropType<Record<string, any>>;
|
|
188
191
|
};
|
|
@@ -204,9 +207,6 @@ declare function __VLS_template(): {
|
|
|
204
207
|
addonAfter: {
|
|
205
208
|
type: PropType<any>;
|
|
206
209
|
};
|
|
207
|
-
suffix: {
|
|
208
|
-
type: PropType<any>;
|
|
209
|
-
};
|
|
210
210
|
clearIcon: {
|
|
211
211
|
type: PropType<any>;
|
|
212
212
|
};
|
|
@@ -316,6 +316,12 @@ declare function __VLS_template(): {
|
|
|
316
316
|
autofocus: {
|
|
317
317
|
type: PropType<boolean>;
|
|
318
318
|
};
|
|
319
|
+
'onUpdate:value': {
|
|
320
|
+
type: PropType<(val: string) => void>;
|
|
321
|
+
};
|
|
322
|
+
suffix: {
|
|
323
|
+
type: PropType<any>;
|
|
324
|
+
};
|
|
319
325
|
focused: {
|
|
320
326
|
type: PropType<boolean>;
|
|
321
327
|
};
|
|
@@ -338,9 +344,6 @@ declare function __VLS_template(): {
|
|
|
338
344
|
onPressEnter: {
|
|
339
345
|
type: PropType<KeyboardEventHandler>;
|
|
340
346
|
};
|
|
341
|
-
'onUpdate:value': {
|
|
342
|
-
type: PropType<(val: string) => void>;
|
|
343
|
-
};
|
|
344
347
|
valueModifiers: {
|
|
345
348
|
type: PropType<Record<string, any>>;
|
|
346
349
|
};
|
|
@@ -362,9 +365,6 @@ declare function __VLS_template(): {
|
|
|
362
365
|
addonAfter: {
|
|
363
366
|
type: PropType<any>;
|
|
364
367
|
};
|
|
365
|
-
suffix: {
|
|
366
|
-
type: PropType<any>;
|
|
367
|
-
};
|
|
368
368
|
clearIcon: {
|
|
369
369
|
type: PropType<any>;
|
|
370
370
|
};
|
|
@@ -495,6 +495,12 @@ declare function __VLS_template(): {
|
|
|
495
495
|
autofocus: {
|
|
496
496
|
type: PropType<boolean>;
|
|
497
497
|
};
|
|
498
|
+
'onUpdate:value': {
|
|
499
|
+
type: PropType<(val: string) => void>;
|
|
500
|
+
};
|
|
501
|
+
suffix: {
|
|
502
|
+
type: PropType<any>;
|
|
503
|
+
};
|
|
498
504
|
focused: {
|
|
499
505
|
type: PropType<boolean>;
|
|
500
506
|
};
|
|
@@ -517,9 +523,6 @@ declare function __VLS_template(): {
|
|
|
517
523
|
onPressEnter: {
|
|
518
524
|
type: PropType<KeyboardEventHandler>;
|
|
519
525
|
};
|
|
520
|
-
'onUpdate:value': {
|
|
521
|
-
type: PropType<(val: string) => void>;
|
|
522
|
-
};
|
|
523
526
|
valueModifiers: {
|
|
524
527
|
type: PropType<Record<string, any>>;
|
|
525
528
|
};
|
|
@@ -541,9 +544,6 @@ declare function __VLS_template(): {
|
|
|
541
544
|
addonAfter: {
|
|
542
545
|
type: PropType<any>;
|
|
543
546
|
};
|
|
544
|
-
suffix: {
|
|
545
|
-
type: PropType<any>;
|
|
546
|
-
};
|
|
547
547
|
clearIcon: {
|
|
548
548
|
type: PropType<any>;
|
|
549
549
|
};
|
|
@@ -68,13 +68,14 @@ declare function __VLS_template(): {
|
|
|
68
68
|
readonly prefix?: any;
|
|
69
69
|
readonly loading?: boolean | undefined;
|
|
70
70
|
readonly autofocus?: boolean | undefined;
|
|
71
|
+
'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
72
|
+
readonly suffix?: any;
|
|
71
73
|
readonly focused?: boolean | undefined;
|
|
72
74
|
readonly defaultValue?: string | number | undefined;
|
|
73
75
|
readonly maxlength?: number | undefined;
|
|
74
76
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
75
77
|
readonly htmlSize?: number | undefined;
|
|
76
78
|
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
77
|
-
'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
78
79
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
79
80
|
readonly inputElement?: any;
|
|
80
81
|
readonly triggerFocus?: (() => void) | undefined;
|
|
@@ -82,7 +83,6 @@ declare function __VLS_template(): {
|
|
|
82
83
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
83
84
|
readonly addonBefore?: any;
|
|
84
85
|
readonly addonAfter?: any;
|
|
85
|
-
readonly suffix?: any;
|
|
86
86
|
readonly clearIcon?: any;
|
|
87
87
|
readonly inputPrefixCls?: string | undefined;
|
|
88
88
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -174,6 +174,12 @@ declare function __VLS_template(): {
|
|
|
174
174
|
autofocus: {
|
|
175
175
|
type: PropType<boolean>;
|
|
176
176
|
};
|
|
177
|
+
'onUpdate:value': {
|
|
178
|
+
type: PropType<(val: string) => void>;
|
|
179
|
+
};
|
|
180
|
+
suffix: {
|
|
181
|
+
type: PropType<any>;
|
|
182
|
+
};
|
|
177
183
|
focused: {
|
|
178
184
|
type: PropType<boolean>;
|
|
179
185
|
};
|
|
@@ -196,9 +202,6 @@ declare function __VLS_template(): {
|
|
|
196
202
|
onPressEnter: {
|
|
197
203
|
type: PropType<KeyboardEventHandler>;
|
|
198
204
|
};
|
|
199
|
-
'onUpdate:value': {
|
|
200
|
-
type: PropType<(val: string) => void>;
|
|
201
|
-
};
|
|
202
205
|
valueModifiers: {
|
|
203
206
|
type: PropType<Record<string, any>>;
|
|
204
207
|
};
|
|
@@ -220,9 +223,6 @@ declare function __VLS_template(): {
|
|
|
220
223
|
addonAfter: {
|
|
221
224
|
type: PropType<any>;
|
|
222
225
|
};
|
|
223
|
-
suffix: {
|
|
224
|
-
type: PropType<any>;
|
|
225
|
-
};
|
|
226
226
|
clearIcon: {
|
|
227
227
|
type: PropType<any>;
|
|
228
228
|
};
|
|
@@ -351,6 +351,12 @@ declare function __VLS_template(): {
|
|
|
351
351
|
autofocus: {
|
|
352
352
|
type: PropType<boolean>;
|
|
353
353
|
};
|
|
354
|
+
'onUpdate:value': {
|
|
355
|
+
type: PropType<(val: string) => void>;
|
|
356
|
+
};
|
|
357
|
+
suffix: {
|
|
358
|
+
type: PropType<any>;
|
|
359
|
+
};
|
|
354
360
|
focused: {
|
|
355
361
|
type: PropType<boolean>;
|
|
356
362
|
};
|
|
@@ -373,9 +379,6 @@ declare function __VLS_template(): {
|
|
|
373
379
|
onPressEnter: {
|
|
374
380
|
type: PropType<KeyboardEventHandler>;
|
|
375
381
|
};
|
|
376
|
-
'onUpdate:value': {
|
|
377
|
-
type: PropType<(val: string) => void>;
|
|
378
|
-
};
|
|
379
382
|
valueModifiers: {
|
|
380
383
|
type: PropType<Record<string, any>>;
|
|
381
384
|
};
|
|
@@ -397,9 +400,6 @@ declare function __VLS_template(): {
|
|
|
397
400
|
addonAfter: {
|
|
398
401
|
type: PropType<any>;
|
|
399
402
|
};
|
|
400
|
-
suffix: {
|
|
401
|
-
type: PropType<any>;
|
|
402
|
-
};
|
|
403
403
|
clearIcon: {
|
|
404
404
|
type: PropType<any>;
|
|
405
405
|
};
|
|
@@ -550,6 +550,12 @@ declare function __VLS_template(): {
|
|
|
550
550
|
autofocus: {
|
|
551
551
|
type: PropType<boolean>;
|
|
552
552
|
};
|
|
553
|
+
'onUpdate:value': {
|
|
554
|
+
type: PropType<(val: string) => void>;
|
|
555
|
+
};
|
|
556
|
+
suffix: {
|
|
557
|
+
type: PropType<any>;
|
|
558
|
+
};
|
|
553
559
|
focused: {
|
|
554
560
|
type: PropType<boolean>;
|
|
555
561
|
};
|
|
@@ -572,9 +578,6 @@ declare function __VLS_template(): {
|
|
|
572
578
|
onPressEnter: {
|
|
573
579
|
type: PropType<KeyboardEventHandler>;
|
|
574
580
|
};
|
|
575
|
-
'onUpdate:value': {
|
|
576
|
-
type: PropType<(val: string) => void>;
|
|
577
|
-
};
|
|
578
581
|
valueModifiers: {
|
|
579
582
|
type: PropType<Record<string, any>>;
|
|
580
583
|
};
|
|
@@ -596,9 +599,6 @@ declare function __VLS_template(): {
|
|
|
596
599
|
addonAfter: {
|
|
597
600
|
type: PropType<any>;
|
|
598
601
|
};
|
|
599
|
-
suffix: {
|
|
600
|
-
type: PropType<any>;
|
|
601
|
-
};
|
|
602
602
|
clearIcon: {
|
|
603
603
|
type: PropType<any>;
|
|
604
604
|
};
|
|
@@ -95,6 +95,12 @@ declare function __VLS_template(): {
|
|
|
95
95
|
autofocus: {
|
|
96
96
|
type: PropType<boolean>;
|
|
97
97
|
};
|
|
98
|
+
'onUpdate:value': {
|
|
99
|
+
type: PropType<(val: string) => void>;
|
|
100
|
+
};
|
|
101
|
+
rows: {
|
|
102
|
+
type: PropType<number>;
|
|
103
|
+
};
|
|
98
104
|
focused: {
|
|
99
105
|
type: PropType<boolean>;
|
|
100
106
|
};
|
|
@@ -117,9 +123,6 @@ declare function __VLS_template(): {
|
|
|
117
123
|
onPressEnter: {
|
|
118
124
|
type: PropType<KeyboardEventHandler>;
|
|
119
125
|
};
|
|
120
|
-
'onUpdate:value': {
|
|
121
|
-
type: PropType<(val: string) => void>;
|
|
122
|
-
};
|
|
123
126
|
valueModifiers: {
|
|
124
127
|
type: PropType<Record<string, any>>;
|
|
125
128
|
};
|
|
@@ -142,9 +145,6 @@ declare function __VLS_template(): {
|
|
|
142
145
|
type: PropType<boolean>;
|
|
143
146
|
default: boolean;
|
|
144
147
|
};
|
|
145
|
-
rows: {
|
|
146
|
-
type: PropType<number>;
|
|
147
|
-
};
|
|
148
148
|
autoSize: {
|
|
149
149
|
type: PropType<boolean | AutoSizeType>;
|
|
150
150
|
};
|
|
@@ -245,6 +245,12 @@ declare function __VLS_template(): {
|
|
|
245
245
|
autofocus: {
|
|
246
246
|
type: PropType<boolean>;
|
|
247
247
|
};
|
|
248
|
+
'onUpdate:value': {
|
|
249
|
+
type: PropType<(val: string) => void>;
|
|
250
|
+
};
|
|
251
|
+
rows: {
|
|
252
|
+
type: PropType<number>;
|
|
253
|
+
};
|
|
248
254
|
focused: {
|
|
249
255
|
type: PropType<boolean>;
|
|
250
256
|
};
|
|
@@ -267,9 +273,6 @@ declare function __VLS_template(): {
|
|
|
267
273
|
onPressEnter: {
|
|
268
274
|
type: PropType<KeyboardEventHandler>;
|
|
269
275
|
};
|
|
270
|
-
'onUpdate:value': {
|
|
271
|
-
type: PropType<(val: string) => void>;
|
|
272
|
-
};
|
|
273
276
|
valueModifiers: {
|
|
274
277
|
type: PropType<Record<string, any>>;
|
|
275
278
|
};
|
|
@@ -292,9 +295,6 @@ declare function __VLS_template(): {
|
|
|
292
295
|
type: PropType<boolean>;
|
|
293
296
|
default: boolean;
|
|
294
297
|
};
|
|
295
|
-
rows: {
|
|
296
|
-
type: PropType<number>;
|
|
297
|
-
};
|
|
298
298
|
autoSize: {
|
|
299
299
|
type: PropType<boolean | AutoSizeType>;
|
|
300
300
|
};
|
|
@@ -403,6 +403,12 @@ declare function __VLS_template(): {
|
|
|
403
403
|
autofocus: {
|
|
404
404
|
type: PropType<boolean>;
|
|
405
405
|
};
|
|
406
|
+
'onUpdate:value': {
|
|
407
|
+
type: PropType<(val: string) => void>;
|
|
408
|
+
};
|
|
409
|
+
rows: {
|
|
410
|
+
type: PropType<number>;
|
|
411
|
+
};
|
|
406
412
|
focused: {
|
|
407
413
|
type: PropType<boolean>;
|
|
408
414
|
};
|
|
@@ -425,9 +431,6 @@ declare function __VLS_template(): {
|
|
|
425
431
|
onPressEnter: {
|
|
426
432
|
type: PropType<KeyboardEventHandler>;
|
|
427
433
|
};
|
|
428
|
-
'onUpdate:value': {
|
|
429
|
-
type: PropType<(val: string) => void>;
|
|
430
|
-
};
|
|
431
434
|
valueModifiers: {
|
|
432
435
|
type: PropType<Record<string, any>>;
|
|
433
436
|
};
|
|
@@ -450,9 +453,6 @@ declare function __VLS_template(): {
|
|
|
450
453
|
type: PropType<boolean>;
|
|
451
454
|
default: boolean;
|
|
452
455
|
};
|
|
453
|
-
rows: {
|
|
454
|
-
type: PropType<number>;
|
|
455
|
-
};
|
|
456
456
|
autoSize: {
|
|
457
457
|
type: PropType<boolean | AutoSizeType>;
|
|
458
458
|
};
|