bkui-vue 0.0.1-beta.127 → 0.0.1-beta.128
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/dist/index.cjs.js +31 -145
- package/dist/index.esm.js +471 -3573
- package/dist/index.umd.js +31 -145
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +2 -2
- package/lib/affix/index.d.ts +22 -118
- package/lib/alert/alert.variable.css +2 -2
- package/lib/alert/index.d.ts +28 -146
- package/lib/animate-number/index.d.ts +14 -84
- package/lib/backtop/backtop.variable.css +2 -2
- package/lib/backtop/index.d.ts +29 -135
- package/lib/badge/badge.variable.css +2 -2
- package/lib/badge/index.d.ts +46 -211
- package/lib/breadcrumb/breadcrumb.css +0 -43
- package/lib/breadcrumb/breadcrumb.variable.css +2 -45
- package/lib/button/button.css +0 -4
- package/lib/button/button.less +7 -13
- package/lib/button/button.variable.css +2 -6
- package/lib/card/card.css +0 -43
- package/lib/card/card.variable.css +2 -45
- package/lib/card/index.d.ts +50 -223
- package/lib/cascader/cascader.variable.css +2 -2
- package/lib/checkbox/checkbox.css +2 -4
- package/lib/checkbox/checkbox.less +2 -4
- package/lib/checkbox/checkbox.variable.css +4 -6
- package/lib/code-diff/code-diff.variable.css +2 -2
- package/lib/code-diff/index.d.ts +23 -123
- package/lib/collapse/collapse.variable.css +2 -2
- package/lib/collapse/index.d.ts +28 -147
- package/lib/components.d.ts +0 -1
- package/lib/components.js +1 -1
- package/lib/container/container.css +0 -43
- package/lib/container/container.variable.css +2 -45
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/date-picker/index.d.ts +124 -566
- package/lib/dialog/index.d.ts +140 -557
- package/lib/divider/divider.variable.css +2 -2
- package/lib/divider/index.d.ts +23 -117
- package/lib/dropdown/dropdown.variable.css +2 -2
- package/lib/exception/exception.variable.css +2 -2
- package/lib/exception/index.d.ts +13 -83
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
- package/lib/fixed-navbar/index.d.ts +22 -121
- package/lib/form/form.variable.css +2 -2
- package/lib/input/index.d.ts +92 -408
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +5 -56
- package/lib/input/input.less +2 -12
- package/lib/input/input.variable.css +4 -55
- package/lib/link/index.d.ts +28 -134
- package/lib/link/link.variable.css +2 -2
- package/lib/loading/loading.css +2 -43
- package/lib/loading/loading.less +2 -2
- package/lib/loading/loading.variable.css +4 -45
- package/lib/menu/menu.css +0 -43
- package/lib/menu/menu.variable.css +2 -45
- package/lib/menu/submenu.variable.css +2 -2
- package/lib/message/message.variable.css +2 -2
- package/lib/navigation/index.d.ts +51 -244
- package/lib/navigation/navigation.variable.css +2 -2
- package/lib/notify/notify.variable.css +2 -2
- package/lib/pagination/index.d.ts +68 -305
- package/lib/pagination/pagination.variable.css +2 -2
- package/lib/popover/index.d.ts +76 -298
- package/lib/popover/popover.variable.css +2 -2
- package/lib/popover2/index.d.ts +92 -378
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/popover2.variable.css +2 -2
- package/lib/process/index.d.ts +35 -166
- package/lib/process/process.variable.css +2 -2
- package/lib/progress/index.d.ts +76 -306
- package/lib/progress/progress.css +0 -43
- package/lib/progress/progress.variable.css +2 -45
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio.css +5 -4
- package/lib/radio/radio.less +5 -4
- package/lib/radio/radio.variable.css +7 -6
- package/lib/rate/index.d.ts +15 -96
- package/lib/resize-layout/index.d.ts +52 -261
- package/lib/resize-layout/resize-layout.variable.css +2 -2
- package/lib/select/select.css +23 -23
- package/lib/select/select.less +122 -126
- package/lib/select/select.variable.css +25 -25
- package/lib/shared/index.d.ts +3 -3
- package/lib/sideslider/index.d.ts +91 -369
- package/lib/sideslider/sideslider.variable.css +2 -2
- package/lib/slider/index.d.ts +78 -319
- package/lib/slider/slider.variable.css +2 -2
- package/lib/steps/index.d.ts +43 -198
- package/lib/steps/steps.variable.css +2 -2
- package/lib/styles/mixins/mixins.css +0 -43
- package/lib/styles/mixins/mixins.less +0 -1
- package/lib/styles/mixins/mixins.variable.css +0 -43
- package/lib/styles/mixins/scroll.variable.css +2 -2
- package/lib/styles/themes/themes.less +2 -2
- package/lib/swiper/index.d.ts +30 -146
- package/lib/switcher/index.d.ts +50 -223
- package/lib/switcher/switcher.css +0 -43
- package/lib/switcher/switcher.variable.css +2 -45
- package/lib/tab/tab.variable.css +2 -2
- package/lib/table/const.d.ts +0 -5
- package/lib/table/index.d.ts +101 -419
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.variable.css +2 -2
- package/lib/table/plugins/head-sort.variable.css +2 -2
- package/lib/table/plugins/settings.css +4 -23
- package/lib/table/plugins/settings.less +4 -25
- package/lib/table/plugins/settings.variable.css +6 -25
- package/lib/table/props.d.ts +0 -1
- package/lib/table/table.css +5 -668
- package/lib/table/table.less +1 -7
- package/lib/table/table.variable.css +7 -670
- package/lib/table/use-common.d.ts +1 -16
- package/lib/table/utils.d.ts +1 -1
- package/lib/tag/index.d.ts +38 -183
- package/lib/tag/tag.variable.css +2 -2
- package/lib/tag-input/index.d.ts +145 -666
- package/lib/tag-input/tag-input.variable.css +2 -2
- package/lib/timeline/index.d.ts +19 -109
- package/lib/timeline/timeline.variable.css +2 -2
- package/lib/transfer/index.d.ts +59 -264
- package/lib/transfer/transfer.variable.css +2 -2
- package/lib/tree/index.d.ts +103 -401
- package/lib/tree/index.js +1 -1
- package/lib/tree/tree.css +0 -107
- package/lib/tree/tree.less +0 -2
- package/lib/tree/tree.variable.css +2 -109
- package/lib/tree/use-node-action.d.ts +1 -1
- package/lib/tree/use-node-attribute.d.ts +0 -1
- package/lib/upload/upload.css +0 -43
- package/lib/upload/upload.variable.css +2 -45
- package/lib/virtual-render/index.d.ts +109 -433
- package/lib/virtual-render/virtual-render.variable.css +2 -2
- package/package.json +1 -1
- package/lib/popover2/use-platform.d.ts +0 -30
package/lib/input/index.d.ts
CHANGED
@@ -1,394 +1,4 @@
|
|
1
|
-
declare const BkInput: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
$: import("vue").ComponentInternalInstance;
|
4
|
-
$data: {};
|
5
|
-
$props: Partial<{
|
6
|
-
type: string;
|
7
|
-
disabled: boolean;
|
8
|
-
placeholder: string;
|
9
|
-
prefix: string;
|
10
|
-
step: number;
|
11
|
-
min: number;
|
12
|
-
max: number;
|
13
|
-
maxlength: number;
|
14
|
-
clearable: boolean;
|
15
|
-
readonly: boolean;
|
16
|
-
prefixIcon: string;
|
17
|
-
suffixIcon: string;
|
18
|
-
suffix: string;
|
19
|
-
behavior: string;
|
20
|
-
showWordLimit: boolean;
|
21
|
-
showControl: boolean;
|
22
|
-
showClearOnlyHover: boolean;
|
23
|
-
precision: number;
|
24
|
-
modelValue: string | number;
|
25
|
-
rows: number;
|
26
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
27
|
-
type: import("vue-types").VueTypeValidableDef<string> & {
|
28
|
-
default: string;
|
29
|
-
} & {
|
30
|
-
default: string;
|
31
|
-
};
|
32
|
-
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
33
|
-
default: boolean;
|
34
|
-
};
|
35
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
-
default: boolean;
|
37
|
-
};
|
38
|
-
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
-
default: boolean;
|
40
|
-
};
|
41
|
-
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
42
|
-
default: string;
|
43
|
-
} & {
|
44
|
-
default: string;
|
45
|
-
};
|
46
|
-
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
-
default: string;
|
48
|
-
};
|
49
|
-
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
50
|
-
default: string;
|
51
|
-
};
|
52
|
-
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
53
|
-
default: string;
|
54
|
-
};
|
55
|
-
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
56
|
-
default: string;
|
57
|
-
};
|
58
|
-
step: import("vue-types").VueTypeDef<number> & {
|
59
|
-
default: number;
|
60
|
-
};
|
61
|
-
max: import("vue-types").VueTypeDef<number> & {
|
62
|
-
default: number;
|
63
|
-
};
|
64
|
-
min: import("vue-types").VueTypeDef<number> & {
|
65
|
-
default: number;
|
66
|
-
};
|
67
|
-
maxlength: import("vue-types").VueTypeDef<number> & {
|
68
|
-
default: number;
|
69
|
-
};
|
70
|
-
behavior: import("vue-types").VueTypeDef<string> & {
|
71
|
-
default: string;
|
72
|
-
};
|
73
|
-
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
74
|
-
default: boolean;
|
75
|
-
};
|
76
|
-
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
77
|
-
default: boolean;
|
78
|
-
} & {
|
79
|
-
default: boolean;
|
80
|
-
};
|
81
|
-
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
82
|
-
default: boolean;
|
83
|
-
} & {
|
84
|
-
default: boolean;
|
85
|
-
};
|
86
|
-
precision: import("vue-types").VueTypeValidableDef<number> & {
|
87
|
-
default: number;
|
88
|
-
} & {
|
89
|
-
default: number;
|
90
|
-
} & {
|
91
|
-
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
92
|
-
};
|
93
|
-
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
94
|
-
default: string | number;
|
95
|
-
};
|
96
|
-
size: import("vue-types").VueTypeDef<string>;
|
97
|
-
rows: import("vue-types").VueTypeValidableDef<number> & {
|
98
|
-
default: number;
|
99
|
-
};
|
100
|
-
}>> & {
|
101
|
-
onPaste?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
102
|
-
onCompositionend?: (evt: CompositionEvent) => any;
|
103
|
-
onCompositionstart?: (evt: CompositionEvent) => any;
|
104
|
-
onCompositionupdate?: (evt: CompositionEvent) => any;
|
105
|
-
onFocus?: (evt: FocusEvent) => any;
|
106
|
-
onBlur?: (evt: FocusEvent) => any;
|
107
|
-
onChange?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
108
|
-
onInput?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
109
|
-
onKeydown?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
110
|
-
onKeypress?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
111
|
-
onKeyup?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
112
|
-
onEnter?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
113
|
-
"onUpdate:modelValue"?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
114
|
-
onClear?: () => any;
|
115
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "placeholder" | "prefix" | "step" | "min" | "max" | "maxlength" | "clearable" | "readonly" | "prefixIcon" | "suffixIcon" | "suffix" | "behavior" | "showWordLimit" | "showControl" | "showClearOnlyHover" | "precision" | "modelValue" | "rows">;
|
116
|
-
$attrs: {
|
117
|
-
[x: string]: unknown;
|
118
|
-
};
|
119
|
-
$refs: {
|
120
|
-
[x: string]: unknown;
|
121
|
-
};
|
122
|
-
$slots: Readonly<{
|
123
|
-
[name: string]: import("vue").Slot;
|
124
|
-
}>;
|
125
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
126
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
127
|
-
$emit: ((event: import("./input").EVENTS.UPDATE, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.FOCUS, evt: FocusEvent) => void) & ((event: import("./input").EVENTS.BLUR, evt: FocusEvent) => void) & ((event: import("./input").EVENTS.CHANGE, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.CLEAR) => void) & ((event: import("./input").EVENTS.INPUT, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.KEYPRESS, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.KEYDOWN, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.KEYUP, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.ENTER, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.PASTE, value: string | number, evt?: Event | KeyboardEvent) => void) & ((event: import("./input").EVENTS.COMPOSITIONSTART, evt: CompositionEvent) => void) & ((event: import("./input").EVENTS.COMPOSITIONUPDATE, evt: CompositionEvent) => void) & ((event: import("./input").EVENTS.COMPOSITIONEND, evt: CompositionEvent) => void);
|
128
|
-
$el: any;
|
129
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
130
|
-
type: import("vue-types").VueTypeValidableDef<string> & {
|
131
|
-
default: string;
|
132
|
-
} & {
|
133
|
-
default: string;
|
134
|
-
};
|
135
|
-
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
136
|
-
default: boolean;
|
137
|
-
};
|
138
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
-
default: boolean;
|
140
|
-
};
|
141
|
-
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
142
|
-
default: boolean;
|
143
|
-
};
|
144
|
-
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
145
|
-
default: string;
|
146
|
-
} & {
|
147
|
-
default: string;
|
148
|
-
};
|
149
|
-
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
-
default: string;
|
151
|
-
};
|
152
|
-
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
153
|
-
default: string;
|
154
|
-
};
|
155
|
-
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
156
|
-
default: string;
|
157
|
-
};
|
158
|
-
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
159
|
-
default: string;
|
160
|
-
};
|
161
|
-
step: import("vue-types").VueTypeDef<number> & {
|
162
|
-
default: number;
|
163
|
-
};
|
164
|
-
max: import("vue-types").VueTypeDef<number> & {
|
165
|
-
default: number;
|
166
|
-
};
|
167
|
-
min: import("vue-types").VueTypeDef<number> & {
|
168
|
-
default: number;
|
169
|
-
};
|
170
|
-
maxlength: import("vue-types").VueTypeDef<number> & {
|
171
|
-
default: number;
|
172
|
-
};
|
173
|
-
behavior: import("vue-types").VueTypeDef<string> & {
|
174
|
-
default: string;
|
175
|
-
};
|
176
|
-
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
177
|
-
default: boolean;
|
178
|
-
};
|
179
|
-
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
|
-
default: boolean;
|
181
|
-
} & {
|
182
|
-
default: boolean;
|
183
|
-
};
|
184
|
-
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
185
|
-
default: boolean;
|
186
|
-
} & {
|
187
|
-
default: boolean;
|
188
|
-
};
|
189
|
-
precision: import("vue-types").VueTypeValidableDef<number> & {
|
190
|
-
default: number;
|
191
|
-
} & {
|
192
|
-
default: number;
|
193
|
-
} & {
|
194
|
-
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
195
|
-
};
|
196
|
-
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
197
|
-
default: string | number;
|
198
|
-
};
|
199
|
-
size: import("vue-types").VueTypeDef<string>;
|
200
|
-
rows: import("vue-types").VueTypeValidableDef<number> & {
|
201
|
-
default: number;
|
202
|
-
};
|
203
|
-
}>> & {
|
204
|
-
onPaste?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
205
|
-
onCompositionend?: (evt: CompositionEvent) => any;
|
206
|
-
onCompositionstart?: (evt: CompositionEvent) => any;
|
207
|
-
onCompositionupdate?: (evt: CompositionEvent) => any;
|
208
|
-
onFocus?: (evt: FocusEvent) => any;
|
209
|
-
onBlur?: (evt: FocusEvent) => any;
|
210
|
-
onChange?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
211
|
-
onInput?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
212
|
-
onKeydown?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
213
|
-
onKeypress?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
214
|
-
onKeyup?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
215
|
-
onEnter?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
216
|
-
"onUpdate:modelValue"?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
217
|
-
onClear?: () => any;
|
218
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
219
|
-
"update:modelValue": (value: string | number, evt?: Event | KeyboardEvent) => {
|
220
|
-
value: string | number;
|
221
|
-
evt: Event | KeyboardEvent;
|
222
|
-
};
|
223
|
-
focus: (evt: FocusEvent) => FocusEvent;
|
224
|
-
blur: (evt: FocusEvent) => FocusEvent;
|
225
|
-
change: (value: string | number, evt?: Event | KeyboardEvent) => {
|
226
|
-
value: string | number;
|
227
|
-
evt: Event | KeyboardEvent;
|
228
|
-
};
|
229
|
-
clear: () => boolean;
|
230
|
-
input: (value: string | number, evt?: Event | KeyboardEvent) => {
|
231
|
-
value: string | number;
|
232
|
-
evt: Event | KeyboardEvent;
|
233
|
-
};
|
234
|
-
keypress: (value: string | number, evt?: Event | KeyboardEvent) => {
|
235
|
-
value: string | number;
|
236
|
-
evt: Event | KeyboardEvent;
|
237
|
-
};
|
238
|
-
keydown: (value: string | number, evt?: Event | KeyboardEvent) => {
|
239
|
-
value: string | number;
|
240
|
-
evt: Event | KeyboardEvent;
|
241
|
-
};
|
242
|
-
keyup: (value: string | number, evt?: Event | KeyboardEvent) => {
|
243
|
-
value: string | number;
|
244
|
-
evt: Event | KeyboardEvent;
|
245
|
-
};
|
246
|
-
enter: (value: string | number, evt?: Event | KeyboardEvent) => {
|
247
|
-
value: string | number;
|
248
|
-
evt: Event | KeyboardEvent;
|
249
|
-
};
|
250
|
-
paste: (value: string | number, evt?: Event | KeyboardEvent) => {
|
251
|
-
value: string | number;
|
252
|
-
evt: Event | KeyboardEvent;
|
253
|
-
};
|
254
|
-
compositionstart: (evt: CompositionEvent) => CompositionEvent;
|
255
|
-
compositionupdate: (evt: CompositionEvent) => CompositionEvent;
|
256
|
-
compositionend: (evt: CompositionEvent) => CompositionEvent;
|
257
|
-
}, string, {
|
258
|
-
type: string;
|
259
|
-
disabled: boolean;
|
260
|
-
placeholder: string;
|
261
|
-
prefix: string;
|
262
|
-
step: number;
|
263
|
-
min: number;
|
264
|
-
max: number;
|
265
|
-
maxlength: number;
|
266
|
-
clearable: boolean;
|
267
|
-
readonly: boolean;
|
268
|
-
prefixIcon: string;
|
269
|
-
suffixIcon: string;
|
270
|
-
suffix: string;
|
271
|
-
behavior: string;
|
272
|
-
showWordLimit: boolean;
|
273
|
-
showControl: boolean;
|
274
|
-
showClearOnlyHover: boolean;
|
275
|
-
precision: number;
|
276
|
-
modelValue: string | number;
|
277
|
-
rows: number;
|
278
|
-
}> & {
|
279
|
-
beforeCreate?: (() => void) | (() => void)[];
|
280
|
-
created?: (() => void) | (() => void)[];
|
281
|
-
beforeMount?: (() => void) | (() => void)[];
|
282
|
-
mounted?: (() => void) | (() => void)[];
|
283
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
284
|
-
updated?: (() => void) | (() => void)[];
|
285
|
-
activated?: (() => void) | (() => void)[];
|
286
|
-
deactivated?: (() => void) | (() => void)[];
|
287
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
288
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
289
|
-
destroyed?: (() => void) | (() => void)[];
|
290
|
-
unmounted?: (() => void) | (() => void)[];
|
291
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
292
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
293
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
294
|
-
};
|
295
|
-
$forceUpdate: () => void;
|
296
|
-
$nextTick: typeof import("vue").nextTick;
|
297
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
298
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
299
|
-
type: import("vue-types").VueTypeValidableDef<string> & {
|
300
|
-
default: string;
|
301
|
-
} & {
|
302
|
-
default: string;
|
303
|
-
};
|
304
|
-
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
305
|
-
default: boolean;
|
306
|
-
};
|
307
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
308
|
-
default: boolean;
|
309
|
-
};
|
310
|
-
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
311
|
-
default: boolean;
|
312
|
-
};
|
313
|
-
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
314
|
-
default: string;
|
315
|
-
} & {
|
316
|
-
default: string;
|
317
|
-
};
|
318
|
-
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
319
|
-
default: string;
|
320
|
-
};
|
321
|
-
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
322
|
-
default: string;
|
323
|
-
};
|
324
|
-
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
325
|
-
default: string;
|
326
|
-
};
|
327
|
-
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
328
|
-
default: string;
|
329
|
-
};
|
330
|
-
step: import("vue-types").VueTypeDef<number> & {
|
331
|
-
default: number;
|
332
|
-
};
|
333
|
-
max: import("vue-types").VueTypeDef<number> & {
|
334
|
-
default: number;
|
335
|
-
};
|
336
|
-
min: import("vue-types").VueTypeDef<number> & {
|
337
|
-
default: number;
|
338
|
-
};
|
339
|
-
maxlength: import("vue-types").VueTypeDef<number> & {
|
340
|
-
default: number;
|
341
|
-
};
|
342
|
-
behavior: import("vue-types").VueTypeDef<string> & {
|
343
|
-
default: string;
|
344
|
-
};
|
345
|
-
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
346
|
-
default: boolean;
|
347
|
-
};
|
348
|
-
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
349
|
-
default: boolean;
|
350
|
-
} & {
|
351
|
-
default: boolean;
|
352
|
-
};
|
353
|
-
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
354
|
-
default: boolean;
|
355
|
-
} & {
|
356
|
-
default: boolean;
|
357
|
-
};
|
358
|
-
precision: import("vue-types").VueTypeValidableDef<number> & {
|
359
|
-
default: number;
|
360
|
-
} & {
|
361
|
-
default: number;
|
362
|
-
} & {
|
363
|
-
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
364
|
-
};
|
365
|
-
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
366
|
-
default: string | number;
|
367
|
-
};
|
368
|
-
size: import("vue-types").VueTypeDef<string>;
|
369
|
-
rows: import("vue-types").VueTypeValidableDef<number> & {
|
370
|
-
default: number;
|
371
|
-
};
|
372
|
-
}>> & {
|
373
|
-
onPaste?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
374
|
-
onCompositionend?: (evt: CompositionEvent) => any;
|
375
|
-
onCompositionstart?: (evt: CompositionEvent) => any;
|
376
|
-
onCompositionupdate?: (evt: CompositionEvent) => any;
|
377
|
-
onFocus?: (evt: FocusEvent) => any;
|
378
|
-
onBlur?: (evt: FocusEvent) => any;
|
379
|
-
onChange?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
380
|
-
onInput?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
381
|
-
onKeydown?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
382
|
-
onKeypress?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
383
|
-
onKeyup?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
384
|
-
onEnter?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
385
|
-
"onUpdate:modelValue"?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
386
|
-
onClear?: () => any;
|
387
|
-
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
388
|
-
__isFragment?: never;
|
389
|
-
__isTeleport?: never;
|
390
|
-
__isSuspense?: never;
|
391
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
1
|
+
declare const BkInput: import("vue").DefineComponent<{
|
392
2
|
type: import("vue-types").VueTypeValidableDef<string> & {
|
393
3
|
default: string;
|
394
4
|
} & {
|
@@ -462,21 +72,6 @@ declare const BkInput: {
|
|
462
72
|
rows: import("vue-types").VueTypeValidableDef<number> & {
|
463
73
|
default: number;
|
464
74
|
};
|
465
|
-
}>> & {
|
466
|
-
onPaste?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
467
|
-
onCompositionend?: (evt: CompositionEvent) => any;
|
468
|
-
onCompositionstart?: (evt: CompositionEvent) => any;
|
469
|
-
onCompositionupdate?: (evt: CompositionEvent) => any;
|
470
|
-
onFocus?: (evt: FocusEvent) => any;
|
471
|
-
onBlur?: (evt: FocusEvent) => any;
|
472
|
-
onChange?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
473
|
-
onInput?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
474
|
-
onKeydown?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
475
|
-
onKeypress?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
476
|
-
onKeyup?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
477
|
-
onEnter?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
478
|
-
"onUpdate:modelValue"?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
479
|
-
onClear?: () => any;
|
480
75
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
481
76
|
"update:modelValue": (value: string | number, evt?: Event | KeyboardEvent) => {
|
482
77
|
value: string | number;
|
@@ -516,7 +111,96 @@ declare const BkInput: {
|
|
516
111
|
compositionstart: (evt: CompositionEvent) => CompositionEvent;
|
517
112
|
compositionupdate: (evt: CompositionEvent) => CompositionEvent;
|
518
113
|
compositionend: (evt: CompositionEvent) => CompositionEvent;
|
519
|
-
}, string, {
|
114
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
115
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
116
|
+
default: string;
|
117
|
+
} & {
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
121
|
+
default: boolean;
|
122
|
+
};
|
123
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
124
|
+
default: boolean;
|
125
|
+
};
|
126
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
127
|
+
default: boolean;
|
128
|
+
};
|
129
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
130
|
+
default: string;
|
131
|
+
} & {
|
132
|
+
default: string;
|
133
|
+
};
|
134
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
135
|
+
default: string;
|
136
|
+
};
|
137
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
141
|
+
default: string;
|
142
|
+
};
|
143
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
step: import("vue-types").VueTypeDef<number> & {
|
147
|
+
default: number;
|
148
|
+
};
|
149
|
+
max: import("vue-types").VueTypeDef<number> & {
|
150
|
+
default: number;
|
151
|
+
};
|
152
|
+
min: import("vue-types").VueTypeDef<number> & {
|
153
|
+
default: number;
|
154
|
+
};
|
155
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
156
|
+
default: number;
|
157
|
+
};
|
158
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
159
|
+
default: string;
|
160
|
+
};
|
161
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
162
|
+
default: boolean;
|
163
|
+
};
|
164
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
165
|
+
default: boolean;
|
166
|
+
} & {
|
167
|
+
default: boolean;
|
168
|
+
};
|
169
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
170
|
+
default: boolean;
|
171
|
+
} & {
|
172
|
+
default: boolean;
|
173
|
+
};
|
174
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
175
|
+
default: number;
|
176
|
+
} & {
|
177
|
+
default: number;
|
178
|
+
} & {
|
179
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
180
|
+
};
|
181
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
182
|
+
default: string | number;
|
183
|
+
};
|
184
|
+
size: import("vue-types").VueTypeDef<string>;
|
185
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
186
|
+
default: number;
|
187
|
+
};
|
188
|
+
}>> & {
|
189
|
+
onPaste?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
190
|
+
onCompositionend?: (evt: CompositionEvent) => any;
|
191
|
+
onCompositionstart?: (evt: CompositionEvent) => any;
|
192
|
+
onCompositionupdate?: (evt: CompositionEvent) => any;
|
193
|
+
onFocus?: (evt: FocusEvent) => any;
|
194
|
+
onBlur?: (evt: FocusEvent) => any;
|
195
|
+
onChange?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
196
|
+
onInput?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
197
|
+
onKeydown?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
198
|
+
onKeypress?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
199
|
+
onKeyup?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
200
|
+
onEnter?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
201
|
+
"onUpdate:modelValue"?: (value: string | number, evt?: Event | KeyboardEvent) => any;
|
202
|
+
onClear?: () => any;
|
203
|
+
}, {
|
520
204
|
type: string;
|
521
205
|
disabled: boolean;
|
522
206
|
placeholder: string;
|
@@ -537,5 +221,5 @@ declare const BkInput: {
|
|
537
221
|
precision: number;
|
538
222
|
modelValue: string | number;
|
539
223
|
rows: number;
|
540
|
-
}
|
224
|
+
}>;
|
541
225
|
export default BkInput;
|
package/lib/input/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon")):t(e["../shared"],e.vue,e["../icon"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t,r)=>(()=>{"use strict";var o={6870:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,a),r.exports}a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{default:()=>v});var e=a(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=a(748);Object.create,Object.create;var n,i,u=a(6870),s={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string.def("Enter"),prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:e.PropTypes.commonType(["simplicity","normal"]).def("normal"),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!1),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),size:e.PropTypes.size(),rows:e.PropTypes.number};function c(e,t){return{value:e,evt:t}}function p(e){return e}!function(e){e.UPDATE="update:modelValue",e.FOCUS="focus",e.BLUR="blur",e.CHANGE="change",e.CLEAR="clear",e.INPUT="input",e.KEYPRESS="keypress",e.KEYDOWN="keydown",e.KEYUP="keyup",e.ENTER="enter",e.PASTE="paste",e.COMPOSITIONSTART="compositionstart",e.COMPOSITIONUPDATE="compositionupdate",e.COMPOSITIONEND="compositionend"}(i||(i={}));var d=(r(n={},i.UPDATE,c),r(n,i.FOCUS,(function(e){return e})),r(n,i.BLUR,(function(e){return e})),r(n,i.CHANGE,c),r(n,i.CLEAR,(function(){return!0})),r(n,i.INPUT,c),r(n,i.KEYPRESS,c),r(n,i.KEYDOWN,c),r(n,i.KEYUP,c),r(n,i.ENTER,c),r(n,i.PASTE,c),r(n,i.COMPOSITIONSTART,p),r(n,i.COMPOSITIONUPDATE,p),r(n,i.COMPOSITIONEND,p),n);const f=(0,o.defineComponent)({name:"Input",inheritAttrs:!1,props:s,emits:d,setup:function(n,a){var l=(0,e.useFormItem)(),s=(0,o.ref)(!1),c=(0,o.ref)(!1),p=(0,o.computed)((function(){return"textarea"===n.type})),d=(0,o.computed)((function(){return p.value?"bk-textarea":"bk-input"})),f=a.attrs,v=f.class,m=f.style,y=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(f,["class","style"]),b=(0,o.ref)(),P=(0,o.computed)((function(){var t;return(0,e.classes)((r(t={},"".concat(d.value,"--").concat(n.size),!!n.size),r(t,"is-focused",s.value),r(t,"is-readonly",n.readonly),r(t,"is-disabled",n.disabled),r(t,"is-simplicity","simplicity"===n.behavior),r(t,"".concat(v),!!v),t),d.value)})),T={search:function(){return(0,o.createVNode)(u.Search,null,null)},password:function(){return(0,o.createVNode)(u.Eye,{onClick:B},null)}},x=z("suffix-icon"),g=(0,o.computed)((function(){var e=T[n.type];return E.value?(0,o.createVNode)(u.Unvisible,{onClick:B,class:x},null):e?(0,o.createVNode)(e,{class:x},null):null})),h=(0,o.computed)((function(){return"number"===n.type})),N=(0,o.computed)((function(){return Math.floor(n.maxlength)})),E=(0,o.ref)(!1),O=(0,o.computed)((function(){return(0,e.classes)({"show-clear-only-hover":n.showClearOnlyHover},x)})),S=(0,o.computed)((function(){return(0,e.classes)({"is-disabled":n.disabled||n.modelValue>=n.max})})),C=(0,o.computed)((function(){return(0,e.classes)({"is-disabled":n.disabled||n.modelValue<=n.min})}));function I(){var e,t=h.value?n.min:"";a.emit(i.UPDATE,t),a.emit(i.CHANGE,t),a.emit(i.CLEAR),null===(e=null==l?void 0:l.validate)||void 0===e||e.call(l,"change")}function A(e){s.value=!0,a.emit(i.FOCUS,e)}function w(e){var t;if(s.value=!1,a.emit(i.BLUR,e),h.value&&(e.target.value>n.max||e.target.value<n.min)){var r=e.target.value>n.max?n.max:n.min;a.emit(i.UPDATE,r),a.emit(i.CHANGE,r)}null===(t=null==l?void 0:l.validate)||void 0===t||t.call(l,"blur")}a.expose({focus:function(){b.value.focus()},clear:I});var U,V,j=[i.KEYUP,i.KEYDOWN,i.KEYPRESS,i.PASTE,i.CHANGE,i.INPUT].map((function(e){return function(t){var r;e!==i.KEYDOWN||"Enter"!==t.code&&"Enter"!==t.key&&13!==t.keyCode||a.emit(i.ENTER,t.target.value,t),c.value&&[i.INPUT,i.CHANGE].some((function(t){return e===t}))||(e===i.INPUT&&a.emit(i.UPDATE,h.value?+t.target.value:t.target.value),a.emit(e,t.target.value,t),e===i.INPUT&&(null===(r=null==l?void 0:l.validate)||void 0===r||r.call(l,"change")))}})),D=(V=6,function(e){if(Array.isArray(e))return e}(U=j)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);l=!0);}catch(e){i=!0,n=e}finally{try{l||null==r.return||r.return()}finally{if(i)throw n}}return a}}(U,V)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,r):void 0}}(U,V)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),k=D[0],R=D[1],K=D[2],M=D[3],Y=D[4],H=D[5];function L(){c.value=!0}function F(e){c.value=!1,H(e)}function q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=parseInt(String(e),10),o=Number.isInteger(n.precision)?n.precision:0,a=parseFloat(n.modelValue.toString()),l=Number.isInteger(r)?r:1,i=a+(t?l:-1*l);return Number.isInteger(n.max)&&(i=Math.min(i,n.max)),Number.isInteger(n.min)&&(i=Math.max(i,n.min)),+i.toFixed(o)}function G(){if(!n.disabled){var e=q(n.step);a.emit(i.UPDATE,e)}}function W(){if(!n.disabled){var e=q(n.step,!1);a.emit(i.UPDATE,e)}}function z(e){return"".concat(d.value,"--").concat(e)}function B(){E.value=!E.value}var _=(0,o.computed)((function(){return{value:n.modelValue,maxlength:n.maxlength,placeholder:n.placeholder,readonly:n.readonly,disabled:n.disabled,onInput:H,onFocus:A,onBlur:w,onPaste:M,onChange:Y,onKeypress:K,onKeydown:R,onKeyup:k,onCompositionstart:L,onCompositionend:F}}));return function(){var e,t,r,l,i,s;return(0,o.createVNode)("div",{class:P.value,style:m},[null!==(r=null===(t=null===(e=a.slots)||void 0===e?void 0:e.prefix)||void 0===t?void 0:t.call(e))&&void 0!==r?r:n.prefix&&(0,o.createVNode)("div",{class:z("prefix-area")},[(0,o.createVNode)("span",{class:z("prefix-area--text")},[n.prefix])]),p.value?(0,o.createVNode)("textarea",(0,o.mergeProps)({ref:b,spellcheck:!1},y,_.value,{rows:n.rows}),null):(0,o.createVNode)("input",(0,o.mergeProps)({spellcheck:!1},y,{ref:b,class:"".concat(d.value,"--text"),type:E.value&&"password"===n.type?"text":n.type,step:n.step,max:n.max,min:n.min},_.value),null),!p.value&&n.clearable&&!!n.modelValue&&(0,o.createVNode)(u.Close,{onClick:I,class:O.value},null),g.value,"number"==typeof n.maxlength&&(n.showWordLimit||p.value)&&(0,o.createVNode)("p",{class:z("max-length")},[n.modelValue.toString().length,(0,o.createTextVNode)("/"),(0,o.createVNode)("span",null,[N.value])]),h.value&&n.showControl&&(0,o.createVNode)("div",{class:z("number-control")},[(0,o.createVNode)(u.DownSmall,{class:S.value,onClick:G},null),(0,o.createVNode)(u.DownSmall,{class:C.value,onClick:W},null)]),null!==(s=null===(i=null===(l=a.slots)||void 0===l?void 0:l.suffix)||void 0===i?void 0:i.call(l))&&void 0!==s?s:n.suffix&&(0,o.createVNode)("div",{class:z("suffix-area")},[(0,o.createVNode)("span",{class:z("suffix-area--text")},[n.suffix])])])}}}),v=(0,e.withInstall)(f)})(),l})()));
|