@oiij/naive-ui 0.0.64 → 0.0.65

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.
Files changed (85) hide show
  1. package/dist/_virtual/_/plugin-vue/export-helper.js +9 -0
  2. package/dist/components/_utils/cssr-bem.js +7 -0
  3. package/dist/components/_utils/prismjs.js +16 -0
  4. package/dist/components/bubble/Bubble.js +67 -0
  5. package/dist/components/bubble/Bubble.vue.d.ts +51 -46
  6. package/dist/components/bubble/bubble.cssr.js +23 -0
  7. package/dist/components/bubble/index.d.ts +19 -15
  8. package/dist/components/config-providers/ConfigProviders.js +78 -0
  9. package/dist/components/config-providers/ConfigProviders.vue.d.ts +37 -33
  10. package/dist/components/config-providers/index.d.ts +28 -24
  11. package/dist/components/copy-button/CopyButton.js +50 -0
  12. package/dist/components/copy-button/CopyButton.vue.d.ts +36 -30
  13. package/dist/components/copy-button/index.d.ts +13 -9
  14. package/dist/components/data-table-plus/DataTablePlus.js +374 -0
  15. package/dist/components/data-table-plus/DataTablePlus.vue.d.ts +365 -351
  16. package/dist/components/data-table-plus/index.d.ts +54 -48
  17. package/dist/components/full-loading/FullLoading.js +70 -0
  18. package/dist/components/full-loading/FullLoading.vue.d.ts +36 -32
  19. package/dist/components/full-loading/full-loading.cssr.js +22 -0
  20. package/dist/components/full-loading/index.d.ts +16 -12
  21. package/dist/components/icons/MageArrowUp.js +29 -0
  22. package/dist/components/icons/MageCopyFill.js +21 -0
  23. package/dist/components/icons/MageMultiplyCircleFill.js +21 -0
  24. package/dist/components/icons/MageSearch.js +25 -0
  25. package/dist/components/index.d.ts +31 -15
  26. package/dist/components/preset-form/PresetForm.js +176 -0
  27. package/dist/components/preset-form/PresetForm.vue.d.ts +82 -72
  28. package/dist/components/preset-form/_utils.js +16 -0
  29. package/dist/components/preset-form/index.d.ts +34 -29
  30. package/dist/components/preset-input/PresetInput.js +87 -0
  31. package/dist/components/preset-input/PresetInput.vue.d.ts +20 -15
  32. package/dist/components/preset-input/index.d.ts +147 -145
  33. package/dist/components/preset-picker/PresetPicker.js +209 -0
  34. package/dist/components/preset-picker/PresetPicker.vue.d.ts +62 -49
  35. package/dist/components/preset-picker/index.d.ts +55 -49
  36. package/dist/components/preset-select/PresetSelect.js +274 -0
  37. package/dist/components/preset-select/PresetSelect.vue.d.ts +190 -180
  38. package/dist/components/preset-select/index.d.ts +44 -38
  39. package/dist/components/remote-request/RemoteRequest.js +90 -0
  40. package/dist/components/remote-request/RemoteRequest.vue.d.ts +55 -49
  41. package/dist/components/remote-request/index.d.ts +23 -17
  42. package/dist/components/search-input/SearchInput.js +85 -0
  43. package/dist/components/search-input/SearchInput.vue.d.ts +48 -2332
  44. package/dist/components/search-input/index.d.ts +16 -12
  45. package/dist/components/toggle-editor/ToggleEditor.js +44 -0
  46. package/dist/components/toggle-editor/ToggleEditor.vue.d.ts +18 -1157
  47. package/dist/components/toggle-editor/index.d.ts +1 -1
  48. package/dist/components/tooltip-button/TooltipButton.js +31 -0
  49. package/dist/components/tooltip-button/TooltipButton.vue.d.ts +33 -28
  50. package/dist/components/tooltip-button/index.d.ts +11 -7
  51. package/dist/components/transition/BaseTransition.js +30 -0
  52. package/dist/components/transition/BaseTransition.vue.d.ts +23 -21
  53. package/dist/components/transition/index.d.ts +10 -6
  54. package/dist/components/transition/transition.cssr.js +20 -0
  55. package/dist/components/type-writer/TypeWriter.js +72 -0
  56. package/dist/components/type-writer/TypeWriter.vue.d.ts +34 -29
  57. package/dist/components/type-writer/index.d.ts +12 -8
  58. package/dist/components/type-writer/type-writer.cssr.js +27 -0
  59. package/dist/components.d.ts +33 -1
  60. package/dist/components.js +18 -7893
  61. package/dist/composables/{index.d.mts → index.d.ts} +3 -3
  62. package/dist/composables/{useNaiveForm.d.mts → useNaiveForm.d.ts} +1 -1
  63. package/dist/composables/{useNaiveTheme.d.mts → useNaiveTheme.d.ts} +1 -1
  64. package/dist/composables/{useNaiveTheme.mjs → useNaiveTheme.js} +1 -1
  65. package/dist/{index.d.mts → index.d.ts} +4 -4
  66. package/dist/index.js +5 -0
  67. package/package.json +11 -10
  68. package/dist/components/_utils/cssr-bem.d.ts +0 -1
  69. package/dist/components/_utils/index.d.ts +0 -2
  70. package/dist/components/_utils/prismjs.d.ts +0 -1
  71. package/dist/components/bubble/bubble.cssr.d.ts +0 -2
  72. package/dist/components/full-loading/full-loading.cssr.d.ts +0 -2
  73. package/dist/components/icons/MageArrowUp.vue.d.ts +0 -2
  74. package/dist/components/icons/MageCopyFill.vue.d.ts +0 -2
  75. package/dist/components/icons/MageMultiplyCircleFill.vue.d.ts +0 -2
  76. package/dist/components/icons/MageSearch.vue.d.ts +0 -2
  77. package/dist/components/preset-form/_utils.d.ts +0 -8
  78. package/dist/components/transition/transition.cssr.d.ts +0 -13
  79. package/dist/components/type-writer/type-writer.cssr.d.ts +0 -2
  80. package/dist/index.mjs +0 -5
  81. /package/dist/composables/{_helper.d.mts → _helper.d.ts} +0 -0
  82. /package/dist/composables/{_helper.mjs → _helper.js} +0 -0
  83. /package/dist/composables/{useDataRequest.d.mts → useDataRequest.d.ts} +0 -0
  84. /package/dist/composables/{useDataRequest.mjs → useDataRequest.js} +0 -0
  85. /package/dist/composables/{useNaiveForm.mjs → useNaiveForm.js} +0 -0
@@ -1,2335 +1,51 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- prefix?(_: {}): any;
5
- 'prefix-icon'?(_: {}): any;
6
- button?(_: {
7
- value: string | null | undefined;
8
- loading: boolean;
9
- }): any;
10
- 'button-icon'?(_: {}): any;
11
- };
12
- refs: {
13
- 'input-ref': import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
14
- bordered: {
15
- type: import('vue').PropType<boolean | undefined>;
16
- default: undefined;
17
- };
18
- type: {
19
- type: import('vue').PropType<"text" | "textarea" | "password">;
20
- default: string;
21
- };
22
- placeholder: import('vue').PropType<string | [string, string]>;
23
- defaultValue: {
24
- type: import('vue').PropType<null | string | [string, string]>;
25
- default: null;
26
- };
27
- value: import('vue').PropType<null | string | [string, string]>;
28
- disabled: {
29
- type: import('vue').PropType<boolean | undefined>;
30
- default: undefined;
31
- };
32
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
33
- rows: {
34
- type: import('vue').PropType<number | string>;
35
- default: number;
36
- };
37
- round: BooleanConstructor;
38
- minlength: import('vue').PropType<number | string>;
39
- maxlength: import('vue').PropType<number | string>;
40
- clearable: BooleanConstructor;
41
- autosize: {
42
- type: import('vue').PropType<boolean | {
43
- minRows?: number;
44
- maxRows?: number;
45
- }>;
46
- default: boolean;
47
- };
48
- pair: BooleanConstructor;
49
- separator: StringConstructor;
50
- readonly: {
51
- type: (StringConstructor | BooleanConstructor)[];
52
- default: boolean;
53
- };
54
- passivelyActivated: BooleanConstructor;
55
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
56
- stateful: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- autofocus: BooleanConstructor;
61
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
62
- resizable: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- showCount: BooleanConstructor;
67
- loading: {
68
- type: BooleanConstructor;
69
- default: undefined;
70
- };
71
- allowInput: import('vue').PropType<(value: string) => boolean>;
72
- renderCount: import('vue').PropType<(props: {
73
- value: string;
74
- }) => import('vue').VNodeChild>;
75
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
76
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
77
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
78
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
79
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
80
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
81
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
82
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
83
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
84
- countGraphemes: import('vue').PropType<(value: string) => number>;
85
- status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
86
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
87
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
88
- textDecoration: import('vue').PropType<string | [string, string]>;
89
- attrSize: {
90
- type: NumberConstructor;
91
- default: number;
92
- };
93
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
94
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
95
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
96
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
97
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
98
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
99
- internalDeactivateOnEnter: BooleanConstructor;
100
- internalForceFocus: BooleanConstructor;
101
- internalLoadingBeforeSuffix: {
102
- type: BooleanConstructor;
103
- default: boolean;
104
- };
105
- showPasswordToggle: BooleanConstructor;
106
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
107
- fontWeight: string;
108
- countTextColorDisabled: string;
109
- countTextColor: string;
110
- heightTiny: string;
111
- heightSmall: string;
112
- heightMedium: string;
113
- heightLarge: string;
114
- fontSizeTiny: string;
115
- fontSizeSmall: string;
116
- fontSizeMedium: string;
117
- fontSizeLarge: string;
118
- lineHeight: string;
119
- lineHeightTextarea: string;
120
- borderRadius: string;
121
- iconSize: string;
122
- groupLabelColor: string;
123
- groupLabelTextColor: string;
124
- textColor: string;
125
- textColorDisabled: string;
126
- textDecorationColor: string;
127
- caretColor: string;
128
- placeholderColor: string;
129
- placeholderColorDisabled: string;
130
- color: string;
131
- colorDisabled: string;
132
- colorFocus: string;
133
- groupLabelBorder: string;
134
- border: string;
135
- borderHover: string;
136
- borderDisabled: string;
137
- borderFocus: string;
138
- boxShadowFocus: string;
139
- loadingColor: string;
140
- loadingColorWarning: string;
141
- borderWarning: string;
142
- borderHoverWarning: string;
143
- colorFocusWarning: string;
144
- borderFocusWarning: string;
145
- boxShadowFocusWarning: string;
146
- caretColorWarning: string;
147
- loadingColorError: string;
148
- borderError: string;
149
- borderHoverError: string;
150
- colorFocusError: string;
151
- borderFocusError: string;
152
- boxShadowFocusError: string;
153
- caretColorError: string;
154
- clearColor: string;
155
- clearColorHover: string;
156
- clearColorPressed: string;
157
- iconColor: string;
158
- iconColorDisabled: string;
159
- iconColorHover: string;
160
- iconColorPressed: string;
161
- suffixTextColor: string;
162
- paddingTiny: string;
163
- paddingSmall: string;
164
- paddingMedium: string;
165
- paddingLarge: string;
166
- clearSize: string;
167
- }, {
168
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
169
- height: string;
170
- width: string;
171
- borderRadius: string;
172
- color: string;
173
- colorHover: string;
174
- railInsetHorizontalBottom: string;
175
- railInsetHorizontalTop: string;
176
- railInsetVerticalRight: string;
177
- railInsetVerticalLeft: string;
178
- railColor: string;
179
- }, any>;
180
- }>>;
181
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
182
- fontWeight: string;
183
- countTextColorDisabled: string;
184
- countTextColor: string;
185
- heightTiny: string;
186
- heightSmall: string;
187
- heightMedium: string;
188
- heightLarge: string;
189
- fontSizeTiny: string;
190
- fontSizeSmall: string;
191
- fontSizeMedium: string;
192
- fontSizeLarge: string;
193
- lineHeight: string;
194
- lineHeightTextarea: string;
195
- borderRadius: string;
196
- iconSize: string;
197
- groupLabelColor: string;
198
- groupLabelTextColor: string;
199
- textColor: string;
200
- textColorDisabled: string;
201
- textDecorationColor: string;
202
- caretColor: string;
203
- placeholderColor: string;
204
- placeholderColorDisabled: string;
205
- color: string;
206
- colorDisabled: string;
207
- colorFocus: string;
208
- groupLabelBorder: string;
209
- border: string;
210
- borderHover: string;
211
- borderDisabled: string;
212
- borderFocus: string;
213
- boxShadowFocus: string;
214
- loadingColor: string;
215
- loadingColorWarning: string;
216
- borderWarning: string;
217
- borderHoverWarning: string;
218
- colorFocusWarning: string;
219
- borderFocusWarning: string;
220
- boxShadowFocusWarning: string;
221
- caretColorWarning: string;
222
- loadingColorError: string;
223
- borderError: string;
224
- borderHoverError: string;
225
- colorFocusError: string;
226
- borderFocusError: string;
227
- boxShadowFocusError: string;
228
- caretColorError: string;
229
- clearColor: string;
230
- clearColorHover: string;
231
- clearColorPressed: string;
232
- iconColor: string;
233
- iconColorDisabled: string;
234
- iconColorHover: string;
235
- iconColorPressed: string;
236
- suffixTextColor: string;
237
- paddingTiny: string;
238
- paddingSmall: string;
239
- paddingMedium: string;
240
- paddingLarge: string;
241
- clearSize: string;
242
- }, {
243
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
244
- height: string;
245
- width: string;
246
- borderRadius: string;
247
- color: string;
248
- colorHover: string;
249
- railInsetHorizontalBottom: string;
250
- railInsetHorizontalTop: string;
251
- railInsetVerticalRight: string;
252
- railInsetVerticalLeft: string;
253
- railColor: string;
254
- }, any>;
255
- }>>>;
256
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
257
- fontWeight: string;
258
- countTextColorDisabled: string;
259
- countTextColor: string;
260
- heightTiny: string;
261
- heightSmall: string;
262
- heightMedium: string;
263
- heightLarge: string;
264
- fontSizeTiny: string;
265
- fontSizeSmall: string;
266
- fontSizeMedium: string;
267
- fontSizeLarge: string;
268
- lineHeight: string;
269
- lineHeightTextarea: string;
270
- borderRadius: string;
271
- iconSize: string;
272
- groupLabelColor: string;
273
- groupLabelTextColor: string;
274
- textColor: string;
275
- textColorDisabled: string;
276
- textDecorationColor: string;
277
- caretColor: string;
278
- placeholderColor: string;
279
- placeholderColorDisabled: string;
280
- color: string;
281
- colorDisabled: string;
282
- colorFocus: string;
283
- groupLabelBorder: string;
284
- border: string;
285
- borderHover: string;
286
- borderDisabled: string;
287
- borderFocus: string;
288
- boxShadowFocus: string;
289
- loadingColor: string;
290
- loadingColorWarning: string;
291
- borderWarning: string;
292
- borderHoverWarning: string;
293
- colorFocusWarning: string;
294
- borderFocusWarning: string;
295
- boxShadowFocusWarning: string;
296
- caretColorWarning: string;
297
- loadingColorError: string;
298
- borderError: string;
299
- borderHoverError: string;
300
- colorFocusError: string;
301
- borderFocusError: string;
302
- boxShadowFocusError: string;
303
- caretColorError: string;
304
- clearColor: string;
305
- clearColorHover: string;
306
- clearColorPressed: string;
307
- iconColor: string;
308
- iconColorDisabled: string;
309
- iconColorHover: string;
310
- iconColorPressed: string;
311
- suffixTextColor: string;
312
- paddingTiny: string;
313
- paddingSmall: string;
314
- paddingMedium: string;
315
- paddingLarge: string;
316
- clearSize: string;
317
- }, {
318
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
319
- height: string;
320
- width: string;
321
- borderRadius: string;
322
- color: string;
323
- colorHover: string;
324
- railInsetHorizontalBottom: string;
325
- railInsetHorizontalTop: string;
326
- railInsetVerticalRight: string;
327
- railInsetVerticalLeft: string;
328
- railColor: string;
329
- }, any>;
330
- }>>>;
331
- }>> & Readonly<{}>, {
332
- wrapperElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
333
- inputElRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
334
- inputMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
335
- inputEl2Ref: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
336
- textareaElRef: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
337
- textareaMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
338
- textareaScrollbarInstRef: import('vue').Ref<{
339
- $el: HTMLElement;
340
- containerRef: HTMLElement | null;
341
- contentRef: HTMLElement | null;
342
- containerScrollTop: number;
343
- syncUnifiedContainer: () => void;
344
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
345
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
346
- sync: () => void;
347
- handleMouseEnterWrapper: () => void;
348
- handleMouseLeaveWrapper: () => void;
349
- } | null, import('naive-ui/es/_internal').ScrollbarInst | {
350
- $el: HTMLElement;
351
- containerRef: HTMLElement | null;
352
- contentRef: HTMLElement | null;
353
- containerScrollTop: number;
354
- syncUnifiedContainer: () => void;
355
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
356
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
357
- sync: () => void;
358
- handleMouseEnterWrapper: () => void;
359
- handleMouseLeaveWrapper: () => void;
360
- } | null>;
361
- rtlEnabled: import('vue').Ref<import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined, import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined> | undefined;
362
- uncontrolledValue: import('vue').Ref<string | [string, string] | null, string | [string, string] | null>;
363
- mergedValue: import('vue').ComputedRef<string | [string, string] | null>;
364
- passwordVisible: import('vue').Ref<boolean, boolean>;
365
- mergedPlaceholder: import('vue').ComputedRef<[string, string] | [string]>;
366
- showPlaceholder1: import('vue').ComputedRef<string | false>;
367
- showPlaceholder2: import('vue').ComputedRef<boolean | "" | undefined>;
368
- mergedFocus: import('vue').ComputedRef<boolean>;
369
- isComposing: import('vue').Ref<boolean, boolean>;
370
- activated: import('vue').Ref<boolean, boolean>;
371
- showClearButton: import('vue').ComputedRef<boolean>;
372
- mergedSize: import('vue').ComputedRef<"tiny" | "small" | "medium" | "large">;
373
- mergedDisabled: import('vue').ComputedRef<boolean>;
374
- textDecorationStyle: import('vue').ComputedRef<string[] | {
375
- textDecoration: string;
376
- }[]>;
377
- mergedClsPrefix: import('vue').Ref<string, string>;
378
- mergedBordered: import('vue').ComputedRef<boolean>;
379
- mergedShowPasswordOn: import('vue').ComputedRef<"click" | "mousedown" | undefined>;
380
- placeholderStyle: import('vue').Ref<{
381
- top: string;
382
- }, {
383
- top: string;
384
- } | {
385
- top: string;
386
- }>;
387
- mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
388
- textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
389
- handleTextAreaScroll: (e: Event) => void;
390
- handleCompositionStart: () => void;
391
- handleCompositionEnd: (e: CompositionEvent) => void;
392
- handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void;
393
- handleInputBlur: (e: FocusEvent) => void;
394
- handleInputFocus: (e: FocusEvent, index: number) => void;
395
- handleWrapperBlur: (e: FocusEvent) => void;
396
- handleWrapperFocus: (e: FocusEvent) => void;
397
- handleMouseEnter: () => void;
398
- handleMouseLeave: () => void;
399
- handleMouseDown: (e: MouseEvent) => void;
400
- handleChange: (e: Event, index?: 0 | 1) => void;
401
- handleClick: (e: MouseEvent) => void;
402
- handleClear: (e: MouseEvent) => void;
403
- handlePasswordToggleClick: () => void;
404
- handlePasswordToggleMousedown: (e: MouseEvent) => void;
405
- handleWrapperKeydown: (e: KeyboardEvent) => void;
406
- handleWrapperKeyup: (e: KeyboardEvent) => void;
407
- handleTextAreaMirrorResize: () => void;
408
- getTextareaScrollContainer: () => HTMLTextAreaElement | null;
409
- mergedTheme: import('vue').ComputedRef<{
410
- common: import('naive-ui').ThemeCommonVars;
411
- self: {
412
- fontWeight: string;
413
- countTextColorDisabled: string;
414
- countTextColor: string;
415
- heightTiny: string;
416
- heightSmall: string;
417
- heightMedium: string;
418
- heightLarge: string;
419
- fontSizeTiny: string;
420
- fontSizeSmall: string;
421
- fontSizeMedium: string;
422
- fontSizeLarge: string;
423
- lineHeight: string;
424
- lineHeightTextarea: string;
425
- borderRadius: string;
426
- iconSize: string;
427
- groupLabelColor: string;
428
- groupLabelTextColor: string;
429
- textColor: string;
430
- textColorDisabled: string;
431
- textDecorationColor: string;
432
- caretColor: string;
433
- placeholderColor: string;
434
- placeholderColorDisabled: string;
435
- color: string;
436
- colorDisabled: string;
437
- colorFocus: string;
438
- groupLabelBorder: string;
439
- border: string;
440
- borderHover: string;
441
- borderDisabled: string;
442
- borderFocus: string;
443
- boxShadowFocus: string;
444
- loadingColor: string;
445
- loadingColorWarning: string;
446
- borderWarning: string;
447
- borderHoverWarning: string;
448
- colorFocusWarning: string;
449
- borderFocusWarning: string;
450
- boxShadowFocusWarning: string;
451
- caretColorWarning: string;
452
- loadingColorError: string;
453
- borderError: string;
454
- borderHoverError: string;
455
- colorFocusError: string;
456
- borderFocusError: string;
457
- boxShadowFocusError: string;
458
- caretColorError: string;
459
- clearColor: string;
460
- clearColorHover: string;
461
- clearColorPressed: string;
462
- iconColor: string;
463
- iconColorDisabled: string;
464
- iconColorHover: string;
465
- iconColorPressed: string;
466
- suffixTextColor: string;
467
- paddingTiny: string;
468
- paddingSmall: string;
469
- paddingMedium: string;
470
- paddingLarge: string;
471
- clearSize: string;
472
- };
473
- peers: {
474
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
475
- height: string;
476
- width: string;
477
- borderRadius: string;
478
- color: string;
479
- colorHover: string;
480
- railInsetHorizontalBottom: string;
481
- railInsetHorizontalTop: string;
482
- railInsetVerticalRight: string;
483
- railInsetVerticalLeft: string;
484
- railColor: string;
485
- }, any>;
486
- };
487
- peerOverrides: {
488
- Scrollbar?: {
489
- peers?: {
490
- [x: string]: any;
491
- } | undefined;
492
- } | undefined;
493
- };
494
- }>;
495
- cssVars: import('vue').ComputedRef<{
496
- "--n-bezier": string;
497
- "--n-count-text-color": string;
498
- "--n-count-text-color-disabled": string;
499
- "--n-color": string;
500
- "--n-font-size": string;
501
- "--n-font-weight": string;
502
- "--n-border-radius": string;
503
- "--n-height": string;
504
- "--n-padding-left": string;
505
- "--n-padding-right": string;
506
- "--n-text-color": string;
507
- "--n-caret-color": string;
508
- "--n-text-decoration-color": string;
509
- "--n-border": string;
510
- "--n-border-disabled": string;
511
- "--n-border-hover": string;
512
- "--n-border-focus": string;
513
- "--n-placeholder-color": string;
514
- "--n-placeholder-color-disabled": string;
515
- "--n-icon-size": string;
516
- "--n-line-height-textarea": string;
517
- "--n-color-disabled": string;
518
- "--n-color-focus": string;
519
- "--n-text-color-disabled": string;
520
- "--n-box-shadow-focus": string;
521
- "--n-loading-color": string;
522
- "--n-caret-color-warning": string;
523
- "--n-color-focus-warning": string;
524
- "--n-box-shadow-focus-warning": string;
525
- "--n-border-warning": string;
526
- "--n-border-focus-warning": string;
527
- "--n-border-hover-warning": string;
528
- "--n-loading-color-warning": string;
529
- "--n-caret-color-error": string;
530
- "--n-color-focus-error": string;
531
- "--n-box-shadow-focus-error": string;
532
- "--n-border-error": string;
533
- "--n-border-focus-error": string;
534
- "--n-border-hover-error": string;
535
- "--n-loading-color-error": string;
536
- "--n-clear-color": string;
537
- "--n-clear-size": string;
538
- "--n-clear-color-hover": string;
539
- "--n-clear-color-pressed": string;
540
- "--n-icon-color": string;
541
- "--n-icon-color-hover": string;
542
- "--n-icon-color-pressed": string;
543
- "--n-icon-color-disabled": string;
544
- "--n-suffix-text-color": string;
545
- }> | undefined;
546
- themeClass: import('vue').Ref<string, string> | undefined;
547
- onRender: (() => void) | undefined;
548
- isCompositing: import('vue').Ref<boolean>;
549
- blur: () => void;
550
- clear: () => void;
551
- focus: () => void;
552
- select: () => void;
553
- activate: () => void;
554
- deactivate: () => void;
555
- scrollTo: (options: ScrollToOptions) => void;
556
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
557
- disabled: boolean | undefined;
558
- type: "text" | "textarea" | "password";
559
- bordered: boolean | undefined;
560
- clearable: boolean;
561
- defaultValue: string | [string, string] | null;
562
- loading: boolean;
563
- round: boolean;
564
- resizable: boolean;
565
- stateful: boolean;
566
- pair: boolean;
567
- rows: string | number;
568
- autosize: boolean | {
569
- minRows?: number;
570
- maxRows?: number;
571
- };
572
- readonly: string | boolean;
573
- passivelyActivated: boolean;
574
- autofocus: boolean;
575
- showCount: boolean;
576
- attrSize: number;
577
- internalDeactivateOnEnter: boolean;
578
- internalForceFocus: boolean;
579
- internalLoadingBeforeSuffix: boolean;
580
- showPasswordToggle: boolean;
581
- }, true, {}, import('vue').SlotsType<import('naive-ui').InputSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
582
- P: {};
583
- B: {};
584
- D: {};
585
- C: {};
586
- M: {};
587
- Defaults: {};
588
- }, Readonly<import('vue').ExtractPropTypes<{
589
- bordered: {
590
- type: import('vue').PropType<boolean | undefined>;
591
- default: undefined;
592
- };
593
- type: {
594
- type: import('vue').PropType<"text" | "textarea" | "password">;
595
- default: string;
596
- };
597
- placeholder: import('vue').PropType<string | [string, string]>;
598
- defaultValue: {
599
- type: import('vue').PropType<null | string | [string, string]>;
600
- default: null;
601
- };
602
- value: import('vue').PropType<null | string | [string, string]>;
603
- disabled: {
604
- type: import('vue').PropType<boolean | undefined>;
605
- default: undefined;
606
- };
607
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
608
- rows: {
609
- type: import('vue').PropType<number | string>;
610
- default: number;
611
- };
612
- round: BooleanConstructor;
613
- minlength: import('vue').PropType<number | string>;
614
- maxlength: import('vue').PropType<number | string>;
615
- clearable: BooleanConstructor;
616
- autosize: {
617
- type: import('vue').PropType<boolean | {
618
- minRows?: number;
619
- maxRows?: number;
620
- }>;
621
- default: boolean;
622
- };
623
- pair: BooleanConstructor;
624
- separator: StringConstructor;
625
- readonly: {
626
- type: (StringConstructor | BooleanConstructor)[];
627
- default: boolean;
628
- };
629
- passivelyActivated: BooleanConstructor;
630
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
631
- stateful: {
632
- type: BooleanConstructor;
633
- default: boolean;
634
- };
635
- autofocus: BooleanConstructor;
636
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
637
- resizable: {
638
- type: BooleanConstructor;
639
- default: boolean;
640
- };
641
- showCount: BooleanConstructor;
642
- loading: {
643
- type: BooleanConstructor;
644
- default: undefined;
645
- };
646
- allowInput: import('vue').PropType<(value: string) => boolean>;
647
- renderCount: import('vue').PropType<(props: {
648
- value: string;
649
- }) => import('vue').VNodeChild>;
650
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
651
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
652
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
653
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
654
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
655
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
656
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
657
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
658
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
659
- countGraphemes: import('vue').PropType<(value: string) => number>;
660
- status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
661
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
662
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
663
- textDecoration: import('vue').PropType<string | [string, string]>;
664
- attrSize: {
665
- type: NumberConstructor;
666
- default: number;
667
- };
668
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
669
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
670
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
671
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
672
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
673
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
674
- internalDeactivateOnEnter: BooleanConstructor;
675
- internalForceFocus: BooleanConstructor;
676
- internalLoadingBeforeSuffix: {
677
- type: BooleanConstructor;
678
- default: boolean;
679
- };
680
- showPasswordToggle: BooleanConstructor;
681
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
682
- fontWeight: string;
683
- countTextColorDisabled: string;
684
- countTextColor: string;
685
- heightTiny: string;
686
- heightSmall: string;
687
- heightMedium: string;
688
- heightLarge: string;
689
- fontSizeTiny: string;
690
- fontSizeSmall: string;
691
- fontSizeMedium: string;
692
- fontSizeLarge: string;
693
- lineHeight: string;
694
- lineHeightTextarea: string;
695
- borderRadius: string;
696
- iconSize: string;
697
- groupLabelColor: string;
698
- groupLabelTextColor: string;
699
- textColor: string;
700
- textColorDisabled: string;
701
- textDecorationColor: string;
702
- caretColor: string;
703
- placeholderColor: string;
704
- placeholderColorDisabled: string;
705
- color: string;
706
- colorDisabled: string;
707
- colorFocus: string;
708
- groupLabelBorder: string;
709
- border: string;
710
- borderHover: string;
711
- borderDisabled: string;
712
- borderFocus: string;
713
- boxShadowFocus: string;
714
- loadingColor: string;
715
- loadingColorWarning: string;
716
- borderWarning: string;
717
- borderHoverWarning: string;
718
- colorFocusWarning: string;
719
- borderFocusWarning: string;
720
- boxShadowFocusWarning: string;
721
- caretColorWarning: string;
722
- loadingColorError: string;
723
- borderError: string;
724
- borderHoverError: string;
725
- colorFocusError: string;
726
- borderFocusError: string;
727
- boxShadowFocusError: string;
728
- caretColorError: string;
729
- clearColor: string;
730
- clearColorHover: string;
731
- clearColorPressed: string;
732
- iconColor: string;
733
- iconColorDisabled: string;
734
- iconColorHover: string;
735
- iconColorPressed: string;
736
- suffixTextColor: string;
737
- paddingTiny: string;
738
- paddingSmall: string;
739
- paddingMedium: string;
740
- paddingLarge: string;
741
- clearSize: string;
742
- }, {
743
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
744
- height: string;
745
- width: string;
746
- borderRadius: string;
747
- color: string;
748
- colorHover: string;
749
- railInsetHorizontalBottom: string;
750
- railInsetHorizontalTop: string;
751
- railInsetVerticalRight: string;
752
- railInsetVerticalLeft: string;
753
- railColor: string;
754
- }, any>;
755
- }>>;
756
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
757
- fontWeight: string;
758
- countTextColorDisabled: string;
759
- countTextColor: string;
760
- heightTiny: string;
761
- heightSmall: string;
762
- heightMedium: string;
763
- heightLarge: string;
764
- fontSizeTiny: string;
765
- fontSizeSmall: string;
766
- fontSizeMedium: string;
767
- fontSizeLarge: string;
768
- lineHeight: string;
769
- lineHeightTextarea: string;
770
- borderRadius: string;
771
- iconSize: string;
772
- groupLabelColor: string;
773
- groupLabelTextColor: string;
774
- textColor: string;
775
- textColorDisabled: string;
776
- textDecorationColor: string;
777
- caretColor: string;
778
- placeholderColor: string;
779
- placeholderColorDisabled: string;
780
- color: string;
781
- colorDisabled: string;
782
- colorFocus: string;
783
- groupLabelBorder: string;
784
- border: string;
785
- borderHover: string;
786
- borderDisabled: string;
787
- borderFocus: string;
788
- boxShadowFocus: string;
789
- loadingColor: string;
790
- loadingColorWarning: string;
791
- borderWarning: string;
792
- borderHoverWarning: string;
793
- colorFocusWarning: string;
794
- borderFocusWarning: string;
795
- boxShadowFocusWarning: string;
796
- caretColorWarning: string;
797
- loadingColorError: string;
798
- borderError: string;
799
- borderHoverError: string;
800
- colorFocusError: string;
801
- borderFocusError: string;
802
- boxShadowFocusError: string;
803
- caretColorError: string;
804
- clearColor: string;
805
- clearColorHover: string;
806
- clearColorPressed: string;
807
- iconColor: string;
808
- iconColorDisabled: string;
809
- iconColorHover: string;
810
- iconColorPressed: string;
811
- suffixTextColor: string;
812
- paddingTiny: string;
813
- paddingSmall: string;
814
- paddingMedium: string;
815
- paddingLarge: string;
816
- clearSize: string;
817
- }, {
818
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
819
- height: string;
820
- width: string;
821
- borderRadius: string;
822
- color: string;
823
- colorHover: string;
824
- railInsetHorizontalBottom: string;
825
- railInsetHorizontalTop: string;
826
- railInsetVerticalRight: string;
827
- railInsetVerticalLeft: string;
828
- railColor: string;
829
- }, any>;
830
- }>>>;
831
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
832
- fontWeight: string;
833
- countTextColorDisabled: string;
834
- countTextColor: string;
835
- heightTiny: string;
836
- heightSmall: string;
837
- heightMedium: string;
838
- heightLarge: string;
839
- fontSizeTiny: string;
840
- fontSizeSmall: string;
841
- fontSizeMedium: string;
842
- fontSizeLarge: string;
843
- lineHeight: string;
844
- lineHeightTextarea: string;
845
- borderRadius: string;
846
- iconSize: string;
847
- groupLabelColor: string;
848
- groupLabelTextColor: string;
849
- textColor: string;
850
- textColorDisabled: string;
851
- textDecorationColor: string;
852
- caretColor: string;
853
- placeholderColor: string;
854
- placeholderColorDisabled: string;
855
- color: string;
856
- colorDisabled: string;
857
- colorFocus: string;
858
- groupLabelBorder: string;
859
- border: string;
860
- borderHover: string;
861
- borderDisabled: string;
862
- borderFocus: string;
863
- boxShadowFocus: string;
864
- loadingColor: string;
865
- loadingColorWarning: string;
866
- borderWarning: string;
867
- borderHoverWarning: string;
868
- colorFocusWarning: string;
869
- borderFocusWarning: string;
870
- boxShadowFocusWarning: string;
871
- caretColorWarning: string;
872
- loadingColorError: string;
873
- borderError: string;
874
- borderHoverError: string;
875
- colorFocusError: string;
876
- borderFocusError: string;
877
- boxShadowFocusError: string;
878
- caretColorError: string;
879
- clearColor: string;
880
- clearColorHover: string;
881
- clearColorPressed: string;
882
- iconColor: string;
883
- iconColorDisabled: string;
884
- iconColorHover: string;
885
- iconColorPressed: string;
886
- suffixTextColor: string;
887
- paddingTiny: string;
888
- paddingSmall: string;
889
- paddingMedium: string;
890
- paddingLarge: string;
891
- clearSize: string;
892
- }, {
893
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
894
- height: string;
895
- width: string;
896
- borderRadius: string;
897
- color: string;
898
- colorHover: string;
899
- railInsetHorizontalBottom: string;
900
- railInsetHorizontalTop: string;
901
- railInsetVerticalRight: string;
902
- railInsetVerticalLeft: string;
903
- railColor: string;
904
- }, any>;
905
- }>>>;
906
- }>> & Readonly<{}>, {
907
- wrapperElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
908
- inputElRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
909
- inputMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
910
- inputEl2Ref: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
911
- textareaElRef: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
912
- textareaMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
913
- textareaScrollbarInstRef: import('vue').Ref<{
914
- $el: HTMLElement;
915
- containerRef: HTMLElement | null;
916
- contentRef: HTMLElement | null;
917
- containerScrollTop: number;
918
- syncUnifiedContainer: () => void;
919
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
920
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
921
- sync: () => void;
922
- handleMouseEnterWrapper: () => void;
923
- handleMouseLeaveWrapper: () => void;
924
- } | null, import('naive-ui/es/_internal').ScrollbarInst | {
925
- $el: HTMLElement;
926
- containerRef: HTMLElement | null;
927
- contentRef: HTMLElement | null;
928
- containerScrollTop: number;
929
- syncUnifiedContainer: () => void;
930
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
931
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
932
- sync: () => void;
933
- handleMouseEnterWrapper: () => void;
934
- handleMouseLeaveWrapper: () => void;
935
- } | null>;
936
- rtlEnabled: import('vue').Ref<import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined, import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined> | undefined;
937
- uncontrolledValue: import('vue').Ref<string | [string, string] | null, string | [string, string] | null>;
938
- mergedValue: import('vue').ComputedRef<string | [string, string] | null>;
939
- passwordVisible: import('vue').Ref<boolean, boolean>;
940
- mergedPlaceholder: import('vue').ComputedRef<[string, string] | [string]>;
941
- showPlaceholder1: import('vue').ComputedRef<string | false>;
942
- showPlaceholder2: import('vue').ComputedRef<boolean | "" | undefined>;
943
- mergedFocus: import('vue').ComputedRef<boolean>;
944
- isComposing: import('vue').Ref<boolean, boolean>;
945
- activated: import('vue').Ref<boolean, boolean>;
946
- showClearButton: import('vue').ComputedRef<boolean>;
947
- mergedSize: import('vue').ComputedRef<"tiny" | "small" | "medium" | "large">;
948
- mergedDisabled: import('vue').ComputedRef<boolean>;
949
- textDecorationStyle: import('vue').ComputedRef<string[] | {
950
- textDecoration: string;
951
- }[]>;
952
- mergedClsPrefix: import('vue').Ref<string, string>;
953
- mergedBordered: import('vue').ComputedRef<boolean>;
954
- mergedShowPasswordOn: import('vue').ComputedRef<"click" | "mousedown" | undefined>;
955
- placeholderStyle: import('vue').Ref<{
956
- top: string;
957
- }, {
958
- top: string;
959
- } | {
960
- top: string;
961
- }>;
962
- mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
963
- textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
964
- handleTextAreaScroll: (e: Event) => void;
965
- handleCompositionStart: () => void;
966
- handleCompositionEnd: (e: CompositionEvent) => void;
967
- handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void;
968
- handleInputBlur: (e: FocusEvent) => void;
969
- handleInputFocus: (e: FocusEvent, index: number) => void;
970
- handleWrapperBlur: (e: FocusEvent) => void;
971
- handleWrapperFocus: (e: FocusEvent) => void;
972
- handleMouseEnter: () => void;
973
- handleMouseLeave: () => void;
974
- handleMouseDown: (e: MouseEvent) => void;
975
- handleChange: (e: Event, index?: 0 | 1) => void;
976
- handleClick: (e: MouseEvent) => void;
977
- handleClear: (e: MouseEvent) => void;
978
- handlePasswordToggleClick: () => void;
979
- handlePasswordToggleMousedown: (e: MouseEvent) => void;
980
- handleWrapperKeydown: (e: KeyboardEvent) => void;
981
- handleWrapperKeyup: (e: KeyboardEvent) => void;
982
- handleTextAreaMirrorResize: () => void;
983
- getTextareaScrollContainer: () => HTMLTextAreaElement | null;
984
- mergedTheme: import('vue').ComputedRef<{
985
- common: import('naive-ui').ThemeCommonVars;
986
- self: {
987
- fontWeight: string;
988
- countTextColorDisabled: string;
989
- countTextColor: string;
990
- heightTiny: string;
991
- heightSmall: string;
992
- heightMedium: string;
993
- heightLarge: string;
994
- fontSizeTiny: string;
995
- fontSizeSmall: string;
996
- fontSizeMedium: string;
997
- fontSizeLarge: string;
998
- lineHeight: string;
999
- lineHeightTextarea: string;
1000
- borderRadius: string;
1001
- iconSize: string;
1002
- groupLabelColor: string;
1003
- groupLabelTextColor: string;
1004
- textColor: string;
1005
- textColorDisabled: string;
1006
- textDecorationColor: string;
1007
- caretColor: string;
1008
- placeholderColor: string;
1009
- placeholderColorDisabled: string;
1010
- color: string;
1011
- colorDisabled: string;
1012
- colorFocus: string;
1013
- groupLabelBorder: string;
1014
- border: string;
1015
- borderHover: string;
1016
- borderDisabled: string;
1017
- borderFocus: string;
1018
- boxShadowFocus: string;
1019
- loadingColor: string;
1020
- loadingColorWarning: string;
1021
- borderWarning: string;
1022
- borderHoverWarning: string;
1023
- colorFocusWarning: string;
1024
- borderFocusWarning: string;
1025
- boxShadowFocusWarning: string;
1026
- caretColorWarning: string;
1027
- loadingColorError: string;
1028
- borderError: string;
1029
- borderHoverError: string;
1030
- colorFocusError: string;
1031
- borderFocusError: string;
1032
- boxShadowFocusError: string;
1033
- caretColorError: string;
1034
- clearColor: string;
1035
- clearColorHover: string;
1036
- clearColorPressed: string;
1037
- iconColor: string;
1038
- iconColorDisabled: string;
1039
- iconColorHover: string;
1040
- iconColorPressed: string;
1041
- suffixTextColor: string;
1042
- paddingTiny: string;
1043
- paddingSmall: string;
1044
- paddingMedium: string;
1045
- paddingLarge: string;
1046
- clearSize: string;
1047
- };
1048
- peers: {
1049
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1050
- height: string;
1051
- width: string;
1052
- borderRadius: string;
1053
- color: string;
1054
- colorHover: string;
1055
- railInsetHorizontalBottom: string;
1056
- railInsetHorizontalTop: string;
1057
- railInsetVerticalRight: string;
1058
- railInsetVerticalLeft: string;
1059
- railColor: string;
1060
- }, any>;
1061
- };
1062
- peerOverrides: {
1063
- Scrollbar?: {
1064
- peers?: {
1065
- [x: string]: any;
1066
- } | undefined;
1067
- } | undefined;
1068
- };
1069
- }>;
1070
- cssVars: import('vue').ComputedRef<{
1071
- "--n-bezier": string;
1072
- "--n-count-text-color": string;
1073
- "--n-count-text-color-disabled": string;
1074
- "--n-color": string;
1075
- "--n-font-size": string;
1076
- "--n-font-weight": string;
1077
- "--n-border-radius": string;
1078
- "--n-height": string;
1079
- "--n-padding-left": string;
1080
- "--n-padding-right": string;
1081
- "--n-text-color": string;
1082
- "--n-caret-color": string;
1083
- "--n-text-decoration-color": string;
1084
- "--n-border": string;
1085
- "--n-border-disabled": string;
1086
- "--n-border-hover": string;
1087
- "--n-border-focus": string;
1088
- "--n-placeholder-color": string;
1089
- "--n-placeholder-color-disabled": string;
1090
- "--n-icon-size": string;
1091
- "--n-line-height-textarea": string;
1092
- "--n-color-disabled": string;
1093
- "--n-color-focus": string;
1094
- "--n-text-color-disabled": string;
1095
- "--n-box-shadow-focus": string;
1096
- "--n-loading-color": string;
1097
- "--n-caret-color-warning": string;
1098
- "--n-color-focus-warning": string;
1099
- "--n-box-shadow-focus-warning": string;
1100
- "--n-border-warning": string;
1101
- "--n-border-focus-warning": string;
1102
- "--n-border-hover-warning": string;
1103
- "--n-loading-color-warning": string;
1104
- "--n-caret-color-error": string;
1105
- "--n-color-focus-error": string;
1106
- "--n-box-shadow-focus-error": string;
1107
- "--n-border-error": string;
1108
- "--n-border-focus-error": string;
1109
- "--n-border-hover-error": string;
1110
- "--n-loading-color-error": string;
1111
- "--n-clear-color": string;
1112
- "--n-clear-size": string;
1113
- "--n-clear-color-hover": string;
1114
- "--n-clear-color-pressed": string;
1115
- "--n-icon-color": string;
1116
- "--n-icon-color-hover": string;
1117
- "--n-icon-color-pressed": string;
1118
- "--n-icon-color-disabled": string;
1119
- "--n-suffix-text-color": string;
1120
- }> | undefined;
1121
- themeClass: import('vue').Ref<string, string> | undefined;
1122
- onRender: (() => void) | undefined;
1123
- isCompositing: import('vue').Ref<boolean>;
1124
- blur: () => void;
1125
- clear: () => void;
1126
- focus: () => void;
1127
- select: () => void;
1128
- activate: () => void;
1129
- deactivate: () => void;
1130
- scrollTo: (options: ScrollToOptions) => void;
1131
- }, {}, {}, {}, {
1132
- disabled: boolean | undefined;
1133
- type: "text" | "textarea" | "password";
1134
- bordered: boolean | undefined;
1135
- clearable: boolean;
1136
- defaultValue: string | [string, string] | null;
1137
- loading: boolean;
1138
- round: boolean;
1139
- resizable: boolean;
1140
- stateful: boolean;
1141
- pair: boolean;
1142
- rows: string | number;
1143
- autosize: boolean | {
1144
- minRows?: number;
1145
- maxRows?: number;
1146
- };
1147
- readonly: string | boolean;
1148
- passivelyActivated: boolean;
1149
- autofocus: boolean;
1150
- showCount: boolean;
1151
- attrSize: number;
1152
- internalDeactivateOnEnter: boolean;
1153
- internalForceFocus: boolean;
1154
- internalLoadingBeforeSuffix: boolean;
1155
- showPasswordToggle: boolean;
1156
- }> | null;
1157
- };
1158
- rootEl: any;
1
+ import { ClassStyle } from "../data-table-plus/index.js";
2
+ import "../../components.js";
3
+ import * as vue58 from "vue";
4
+ import * as naive_ui23 from "naive-ui";
5
+
6
+ //#region src/components/search-input/SearchInput.vue.d.ts
7
+ declare var __VLS_19: {}, __VLS_21: {}, __VLS_28: {
8
+ value: string | null | undefined;
9
+ loading: boolean;
10
+ }, __VLS_39: {};
11
+ type __VLS_Slots = {} & {
12
+ prefix?: (props: typeof __VLS_19) => any;
13
+ } & {
14
+ 'prefix-icon'?: (props: typeof __VLS_21) => any;
15
+ } & {
16
+ button?: (props: typeof __VLS_28) => any;
17
+ } & {
18
+ 'button-icon'?: (props: typeof __VLS_39) => any;
1159
19
  };
1160
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1161
- declare const __VLS_component: import('vue').DefineComponent<{
1162
- value?: string | null;
1163
- type?: import('naive-ui').ButtonProps["type"];
1164
- placeholder?: string;
1165
- loading?: boolean;
1166
- autoTrigger?: boolean | number;
1167
- searchButton?: "text" | "icon" | boolean;
1168
- inputProps?: import('naive-ui').InputProps & import('..').ClassStyle;
1169
- buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
1170
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1171
- "update:value": (v: string | null | undefined) => any;
1172
- }, string, import('vue').PublicProps, Readonly<{
1173
- value?: string | null;
1174
- type?: import('naive-ui').ButtonProps["type"];
1175
- placeholder?: string;
1176
- loading?: boolean;
1177
- autoTrigger?: boolean | number;
1178
- searchButton?: "text" | "icon" | boolean;
1179
- inputProps?: import('naive-ui').InputProps & import('..').ClassStyle;
1180
- buttonProps?: import('naive-ui').ButtonProps & import('..').ClassStyle;
20
+ declare const __VLS_base: vue58.DefineComponent<{
21
+ value?: string | null;
22
+ type?: naive_ui23.ButtonProps["type"];
23
+ placeholder?: string;
24
+ loading?: boolean;
25
+ autoTrigger?: boolean | number;
26
+ searchButton?: "text" | "icon" | boolean;
27
+ inputProps?: naive_ui23.InputProps & ClassStyle;
28
+ buttonProps?: naive_ui23.ButtonProps & ClassStyle;
29
+ }, {}, {}, {}, {}, vue58.ComponentOptionsMixin, vue58.ComponentOptionsMixin, {} & {
30
+ "update:value": (v: string | null | undefined) => any;
31
+ }, string, vue58.PublicProps, Readonly<{
32
+ value?: string | null;
33
+ type?: naive_ui23.ButtonProps["type"];
34
+ placeholder?: string;
35
+ loading?: boolean;
36
+ autoTrigger?: boolean | number;
37
+ searchButton?: "text" | "icon" | boolean;
38
+ inputProps?: naive_ui23.InputProps & ClassStyle;
39
+ buttonProps?: naive_ui23.ButtonProps & ClassStyle;
1181
40
  }> & Readonly<{
1182
- "onUpdate:value"?: ((v: string | null | undefined) => any) | undefined;
1183
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
1184
- 'input-ref': import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1185
- bordered: {
1186
- type: import('vue').PropType<boolean | undefined>;
1187
- default: undefined;
1188
- };
1189
- type: {
1190
- type: import('vue').PropType<"text" | "textarea" | "password">;
1191
- default: string;
1192
- };
1193
- placeholder: import('vue').PropType<string | [string, string]>;
1194
- defaultValue: {
1195
- type: import('vue').PropType<null | string | [string, string]>;
1196
- default: null;
1197
- };
1198
- value: import('vue').PropType<null | string | [string, string]>;
1199
- disabled: {
1200
- type: import('vue').PropType<boolean | undefined>;
1201
- default: undefined;
1202
- };
1203
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
1204
- rows: {
1205
- type: import('vue').PropType<number | string>;
1206
- default: number;
1207
- };
1208
- round: BooleanConstructor;
1209
- minlength: import('vue').PropType<number | string>;
1210
- maxlength: import('vue').PropType<number | string>;
1211
- clearable: BooleanConstructor;
1212
- autosize: {
1213
- type: import('vue').PropType<boolean | {
1214
- minRows?: number;
1215
- maxRows?: number;
1216
- }>;
1217
- default: boolean;
1218
- };
1219
- pair: BooleanConstructor;
1220
- separator: StringConstructor;
1221
- readonly: {
1222
- type: (StringConstructor | BooleanConstructor)[];
1223
- default: boolean;
1224
- };
1225
- passivelyActivated: BooleanConstructor;
1226
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
1227
- stateful: {
1228
- type: BooleanConstructor;
1229
- default: boolean;
1230
- };
1231
- autofocus: BooleanConstructor;
1232
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
1233
- resizable: {
1234
- type: BooleanConstructor;
1235
- default: boolean;
1236
- };
1237
- showCount: BooleanConstructor;
1238
- loading: {
1239
- type: BooleanConstructor;
1240
- default: undefined;
1241
- };
1242
- allowInput: import('vue').PropType<(value: string) => boolean>;
1243
- renderCount: import('vue').PropType<(props: {
1244
- value: string;
1245
- }) => import('vue').VNodeChild>;
1246
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
1247
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
1248
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
1249
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
1250
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1251
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1252
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
1253
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
1254
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
1255
- countGraphemes: import('vue').PropType<(value: string) => number>;
1256
- status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
1257
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
1258
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
1259
- textDecoration: import('vue').PropType<string | [string, string]>;
1260
- attrSize: {
1261
- type: NumberConstructor;
1262
- default: number;
1263
- };
1264
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1265
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1266
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
1267
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
1268
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1269
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1270
- internalDeactivateOnEnter: BooleanConstructor;
1271
- internalForceFocus: BooleanConstructor;
1272
- internalLoadingBeforeSuffix: {
1273
- type: BooleanConstructor;
1274
- default: boolean;
1275
- };
1276
- showPasswordToggle: BooleanConstructor;
1277
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
1278
- fontWeight: string;
1279
- countTextColorDisabled: string;
1280
- countTextColor: string;
1281
- heightTiny: string;
1282
- heightSmall: string;
1283
- heightMedium: string;
1284
- heightLarge: string;
1285
- fontSizeTiny: string;
1286
- fontSizeSmall: string;
1287
- fontSizeMedium: string;
1288
- fontSizeLarge: string;
1289
- lineHeight: string;
1290
- lineHeightTextarea: string;
1291
- borderRadius: string;
1292
- iconSize: string;
1293
- groupLabelColor: string;
1294
- groupLabelTextColor: string;
1295
- textColor: string;
1296
- textColorDisabled: string;
1297
- textDecorationColor: string;
1298
- caretColor: string;
1299
- placeholderColor: string;
1300
- placeholderColorDisabled: string;
1301
- color: string;
1302
- colorDisabled: string;
1303
- colorFocus: string;
1304
- groupLabelBorder: string;
1305
- border: string;
1306
- borderHover: string;
1307
- borderDisabled: string;
1308
- borderFocus: string;
1309
- boxShadowFocus: string;
1310
- loadingColor: string;
1311
- loadingColorWarning: string;
1312
- borderWarning: string;
1313
- borderHoverWarning: string;
1314
- colorFocusWarning: string;
1315
- borderFocusWarning: string;
1316
- boxShadowFocusWarning: string;
1317
- caretColorWarning: string;
1318
- loadingColorError: string;
1319
- borderError: string;
1320
- borderHoverError: string;
1321
- colorFocusError: string;
1322
- borderFocusError: string;
1323
- boxShadowFocusError: string;
1324
- caretColorError: string;
1325
- clearColor: string;
1326
- clearColorHover: string;
1327
- clearColorPressed: string;
1328
- iconColor: string;
1329
- iconColorDisabled: string;
1330
- iconColorHover: string;
1331
- iconColorPressed: string;
1332
- suffixTextColor: string;
1333
- paddingTiny: string;
1334
- paddingSmall: string;
1335
- paddingMedium: string;
1336
- paddingLarge: string;
1337
- clearSize: string;
1338
- }, {
1339
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1340
- height: string;
1341
- width: string;
1342
- borderRadius: string;
1343
- color: string;
1344
- colorHover: string;
1345
- railInsetHorizontalBottom: string;
1346
- railInsetHorizontalTop: string;
1347
- railInsetVerticalRight: string;
1348
- railInsetVerticalLeft: string;
1349
- railColor: string;
1350
- }, any>;
1351
- }>>;
1352
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
1353
- fontWeight: string;
1354
- countTextColorDisabled: string;
1355
- countTextColor: string;
1356
- heightTiny: string;
1357
- heightSmall: string;
1358
- heightMedium: string;
1359
- heightLarge: string;
1360
- fontSizeTiny: string;
1361
- fontSizeSmall: string;
1362
- fontSizeMedium: string;
1363
- fontSizeLarge: string;
1364
- lineHeight: string;
1365
- lineHeightTextarea: string;
1366
- borderRadius: string;
1367
- iconSize: string;
1368
- groupLabelColor: string;
1369
- groupLabelTextColor: string;
1370
- textColor: string;
1371
- textColorDisabled: string;
1372
- textDecorationColor: string;
1373
- caretColor: string;
1374
- placeholderColor: string;
1375
- placeholderColorDisabled: string;
1376
- color: string;
1377
- colorDisabled: string;
1378
- colorFocus: string;
1379
- groupLabelBorder: string;
1380
- border: string;
1381
- borderHover: string;
1382
- borderDisabled: string;
1383
- borderFocus: string;
1384
- boxShadowFocus: string;
1385
- loadingColor: string;
1386
- loadingColorWarning: string;
1387
- borderWarning: string;
1388
- borderHoverWarning: string;
1389
- colorFocusWarning: string;
1390
- borderFocusWarning: string;
1391
- boxShadowFocusWarning: string;
1392
- caretColorWarning: string;
1393
- loadingColorError: string;
1394
- borderError: string;
1395
- borderHoverError: string;
1396
- colorFocusError: string;
1397
- borderFocusError: string;
1398
- boxShadowFocusError: string;
1399
- caretColorError: string;
1400
- clearColor: string;
1401
- clearColorHover: string;
1402
- clearColorPressed: string;
1403
- iconColor: string;
1404
- iconColorDisabled: string;
1405
- iconColorHover: string;
1406
- iconColorPressed: string;
1407
- suffixTextColor: string;
1408
- paddingTiny: string;
1409
- paddingSmall: string;
1410
- paddingMedium: string;
1411
- paddingLarge: string;
1412
- clearSize: string;
1413
- }, {
1414
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1415
- height: string;
1416
- width: string;
1417
- borderRadius: string;
1418
- color: string;
1419
- colorHover: string;
1420
- railInsetHorizontalBottom: string;
1421
- railInsetHorizontalTop: string;
1422
- railInsetVerticalRight: string;
1423
- railInsetVerticalLeft: string;
1424
- railColor: string;
1425
- }, any>;
1426
- }>>>;
1427
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
1428
- fontWeight: string;
1429
- countTextColorDisabled: string;
1430
- countTextColor: string;
1431
- heightTiny: string;
1432
- heightSmall: string;
1433
- heightMedium: string;
1434
- heightLarge: string;
1435
- fontSizeTiny: string;
1436
- fontSizeSmall: string;
1437
- fontSizeMedium: string;
1438
- fontSizeLarge: string;
1439
- lineHeight: string;
1440
- lineHeightTextarea: string;
1441
- borderRadius: string;
1442
- iconSize: string;
1443
- groupLabelColor: string;
1444
- groupLabelTextColor: string;
1445
- textColor: string;
1446
- textColorDisabled: string;
1447
- textDecorationColor: string;
1448
- caretColor: string;
1449
- placeholderColor: string;
1450
- placeholderColorDisabled: string;
1451
- color: string;
1452
- colorDisabled: string;
1453
- colorFocus: string;
1454
- groupLabelBorder: string;
1455
- border: string;
1456
- borderHover: string;
1457
- borderDisabled: string;
1458
- borderFocus: string;
1459
- boxShadowFocus: string;
1460
- loadingColor: string;
1461
- loadingColorWarning: string;
1462
- borderWarning: string;
1463
- borderHoverWarning: string;
1464
- colorFocusWarning: string;
1465
- borderFocusWarning: string;
1466
- boxShadowFocusWarning: string;
1467
- caretColorWarning: string;
1468
- loadingColorError: string;
1469
- borderError: string;
1470
- borderHoverError: string;
1471
- colorFocusError: string;
1472
- borderFocusError: string;
1473
- boxShadowFocusError: string;
1474
- caretColorError: string;
1475
- clearColor: string;
1476
- clearColorHover: string;
1477
- clearColorPressed: string;
1478
- iconColor: string;
1479
- iconColorDisabled: string;
1480
- iconColorHover: string;
1481
- iconColorPressed: string;
1482
- suffixTextColor: string;
1483
- paddingTiny: string;
1484
- paddingSmall: string;
1485
- paddingMedium: string;
1486
- paddingLarge: string;
1487
- clearSize: string;
1488
- }, {
1489
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1490
- height: string;
1491
- width: string;
1492
- borderRadius: string;
1493
- color: string;
1494
- colorHover: string;
1495
- railInsetHorizontalBottom: string;
1496
- railInsetHorizontalTop: string;
1497
- railInsetVerticalRight: string;
1498
- railInsetVerticalLeft: string;
1499
- railColor: string;
1500
- }, any>;
1501
- }>>>;
1502
- }>> & Readonly<{}>, {
1503
- wrapperElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1504
- inputElRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
1505
- inputMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1506
- inputEl2Ref: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
1507
- textareaElRef: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
1508
- textareaMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1509
- textareaScrollbarInstRef: import('vue').Ref<{
1510
- $el: HTMLElement;
1511
- containerRef: HTMLElement | null;
1512
- contentRef: HTMLElement | null;
1513
- containerScrollTop: number;
1514
- syncUnifiedContainer: () => void;
1515
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
1516
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
1517
- sync: () => void;
1518
- handleMouseEnterWrapper: () => void;
1519
- handleMouseLeaveWrapper: () => void;
1520
- } | null, import('naive-ui/es/_internal').ScrollbarInst | {
1521
- $el: HTMLElement;
1522
- containerRef: HTMLElement | null;
1523
- contentRef: HTMLElement | null;
1524
- containerScrollTop: number;
1525
- syncUnifiedContainer: () => void;
1526
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
1527
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
1528
- sync: () => void;
1529
- handleMouseEnterWrapper: () => void;
1530
- handleMouseLeaveWrapper: () => void;
1531
- } | null>;
1532
- rtlEnabled: import('vue').Ref<import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined, import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined> | undefined;
1533
- uncontrolledValue: import('vue').Ref<string | [string, string] | null, string | [string, string] | null>;
1534
- mergedValue: import('vue').ComputedRef<string | [string, string] | null>;
1535
- passwordVisible: import('vue').Ref<boolean, boolean>;
1536
- mergedPlaceholder: import('vue').ComputedRef<[string, string] | [string]>;
1537
- showPlaceholder1: import('vue').ComputedRef<string | false>;
1538
- showPlaceholder2: import('vue').ComputedRef<boolean | "" | undefined>;
1539
- mergedFocus: import('vue').ComputedRef<boolean>;
1540
- isComposing: import('vue').Ref<boolean, boolean>;
1541
- activated: import('vue').Ref<boolean, boolean>;
1542
- showClearButton: import('vue').ComputedRef<boolean>;
1543
- mergedSize: import('vue').ComputedRef<"tiny" | "small" | "medium" | "large">;
1544
- mergedDisabled: import('vue').ComputedRef<boolean>;
1545
- textDecorationStyle: import('vue').ComputedRef<string[] | {
1546
- textDecoration: string;
1547
- }[]>;
1548
- mergedClsPrefix: import('vue').Ref<string, string>;
1549
- mergedBordered: import('vue').ComputedRef<boolean>;
1550
- mergedShowPasswordOn: import('vue').ComputedRef<"click" | "mousedown" | undefined>;
1551
- placeholderStyle: import('vue').Ref<{
1552
- top: string;
1553
- }, {
1554
- top: string;
1555
- } | {
1556
- top: string;
1557
- }>;
1558
- mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
1559
- textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
1560
- handleTextAreaScroll: (e: Event) => void;
1561
- handleCompositionStart: () => void;
1562
- handleCompositionEnd: (e: CompositionEvent) => void;
1563
- handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void;
1564
- handleInputBlur: (e: FocusEvent) => void;
1565
- handleInputFocus: (e: FocusEvent, index: number) => void;
1566
- handleWrapperBlur: (e: FocusEvent) => void;
1567
- handleWrapperFocus: (e: FocusEvent) => void;
1568
- handleMouseEnter: () => void;
1569
- handleMouseLeave: () => void;
1570
- handleMouseDown: (e: MouseEvent) => void;
1571
- handleChange: (e: Event, index?: 0 | 1) => void;
1572
- handleClick: (e: MouseEvent) => void;
1573
- handleClear: (e: MouseEvent) => void;
1574
- handlePasswordToggleClick: () => void;
1575
- handlePasswordToggleMousedown: (e: MouseEvent) => void;
1576
- handleWrapperKeydown: (e: KeyboardEvent) => void;
1577
- handleWrapperKeyup: (e: KeyboardEvent) => void;
1578
- handleTextAreaMirrorResize: () => void;
1579
- getTextareaScrollContainer: () => HTMLTextAreaElement | null;
1580
- mergedTheme: import('vue').ComputedRef<{
1581
- common: import('naive-ui').ThemeCommonVars;
1582
- self: {
1583
- fontWeight: string;
1584
- countTextColorDisabled: string;
1585
- countTextColor: string;
1586
- heightTiny: string;
1587
- heightSmall: string;
1588
- heightMedium: string;
1589
- heightLarge: string;
1590
- fontSizeTiny: string;
1591
- fontSizeSmall: string;
1592
- fontSizeMedium: string;
1593
- fontSizeLarge: string;
1594
- lineHeight: string;
1595
- lineHeightTextarea: string;
1596
- borderRadius: string;
1597
- iconSize: string;
1598
- groupLabelColor: string;
1599
- groupLabelTextColor: string;
1600
- textColor: string;
1601
- textColorDisabled: string;
1602
- textDecorationColor: string;
1603
- caretColor: string;
1604
- placeholderColor: string;
1605
- placeholderColorDisabled: string;
1606
- color: string;
1607
- colorDisabled: string;
1608
- colorFocus: string;
1609
- groupLabelBorder: string;
1610
- border: string;
1611
- borderHover: string;
1612
- borderDisabled: string;
1613
- borderFocus: string;
1614
- boxShadowFocus: string;
1615
- loadingColor: string;
1616
- loadingColorWarning: string;
1617
- borderWarning: string;
1618
- borderHoverWarning: string;
1619
- colorFocusWarning: string;
1620
- borderFocusWarning: string;
1621
- boxShadowFocusWarning: string;
1622
- caretColorWarning: string;
1623
- loadingColorError: string;
1624
- borderError: string;
1625
- borderHoverError: string;
1626
- colorFocusError: string;
1627
- borderFocusError: string;
1628
- boxShadowFocusError: string;
1629
- caretColorError: string;
1630
- clearColor: string;
1631
- clearColorHover: string;
1632
- clearColorPressed: string;
1633
- iconColor: string;
1634
- iconColorDisabled: string;
1635
- iconColorHover: string;
1636
- iconColorPressed: string;
1637
- suffixTextColor: string;
1638
- paddingTiny: string;
1639
- paddingSmall: string;
1640
- paddingMedium: string;
1641
- paddingLarge: string;
1642
- clearSize: string;
1643
- };
1644
- peers: {
1645
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1646
- height: string;
1647
- width: string;
1648
- borderRadius: string;
1649
- color: string;
1650
- colorHover: string;
1651
- railInsetHorizontalBottom: string;
1652
- railInsetHorizontalTop: string;
1653
- railInsetVerticalRight: string;
1654
- railInsetVerticalLeft: string;
1655
- railColor: string;
1656
- }, any>;
1657
- };
1658
- peerOverrides: {
1659
- Scrollbar?: {
1660
- peers?: {
1661
- [x: string]: any;
1662
- } | undefined;
1663
- } | undefined;
1664
- };
1665
- }>;
1666
- cssVars: import('vue').ComputedRef<{
1667
- "--n-bezier": string;
1668
- "--n-count-text-color": string;
1669
- "--n-count-text-color-disabled": string;
1670
- "--n-color": string;
1671
- "--n-font-size": string;
1672
- "--n-font-weight": string;
1673
- "--n-border-radius": string;
1674
- "--n-height": string;
1675
- "--n-padding-left": string;
1676
- "--n-padding-right": string;
1677
- "--n-text-color": string;
1678
- "--n-caret-color": string;
1679
- "--n-text-decoration-color": string;
1680
- "--n-border": string;
1681
- "--n-border-disabled": string;
1682
- "--n-border-hover": string;
1683
- "--n-border-focus": string;
1684
- "--n-placeholder-color": string;
1685
- "--n-placeholder-color-disabled": string;
1686
- "--n-icon-size": string;
1687
- "--n-line-height-textarea": string;
1688
- "--n-color-disabled": string;
1689
- "--n-color-focus": string;
1690
- "--n-text-color-disabled": string;
1691
- "--n-box-shadow-focus": string;
1692
- "--n-loading-color": string;
1693
- "--n-caret-color-warning": string;
1694
- "--n-color-focus-warning": string;
1695
- "--n-box-shadow-focus-warning": string;
1696
- "--n-border-warning": string;
1697
- "--n-border-focus-warning": string;
1698
- "--n-border-hover-warning": string;
1699
- "--n-loading-color-warning": string;
1700
- "--n-caret-color-error": string;
1701
- "--n-color-focus-error": string;
1702
- "--n-box-shadow-focus-error": string;
1703
- "--n-border-error": string;
1704
- "--n-border-focus-error": string;
1705
- "--n-border-hover-error": string;
1706
- "--n-loading-color-error": string;
1707
- "--n-clear-color": string;
1708
- "--n-clear-size": string;
1709
- "--n-clear-color-hover": string;
1710
- "--n-clear-color-pressed": string;
1711
- "--n-icon-color": string;
1712
- "--n-icon-color-hover": string;
1713
- "--n-icon-color-pressed": string;
1714
- "--n-icon-color-disabled": string;
1715
- "--n-suffix-text-color": string;
1716
- }> | undefined;
1717
- themeClass: import('vue').Ref<string, string> | undefined;
1718
- onRender: (() => void) | undefined;
1719
- isCompositing: import('vue').Ref<boolean>;
1720
- blur: () => void;
1721
- clear: () => void;
1722
- focus: () => void;
1723
- select: () => void;
1724
- activate: () => void;
1725
- deactivate: () => void;
1726
- scrollTo: (options: ScrollToOptions) => void;
1727
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1728
- disabled: boolean | undefined;
1729
- type: "text" | "textarea" | "password";
1730
- bordered: boolean | undefined;
1731
- clearable: boolean;
1732
- defaultValue: string | [string, string] | null;
1733
- loading: boolean;
1734
- round: boolean;
1735
- resizable: boolean;
1736
- stateful: boolean;
1737
- pair: boolean;
1738
- rows: string | number;
1739
- autosize: boolean | {
1740
- minRows?: number;
1741
- maxRows?: number;
1742
- };
1743
- readonly: string | boolean;
1744
- passivelyActivated: boolean;
1745
- autofocus: boolean;
1746
- showCount: boolean;
1747
- attrSize: number;
1748
- internalDeactivateOnEnter: boolean;
1749
- internalForceFocus: boolean;
1750
- internalLoadingBeforeSuffix: boolean;
1751
- showPasswordToggle: boolean;
1752
- }, true, {}, import('vue').SlotsType<import('naive-ui').InputSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1753
- P: {};
1754
- B: {};
1755
- D: {};
1756
- C: {};
1757
- M: {};
1758
- Defaults: {};
1759
- }, Readonly<import('vue').ExtractPropTypes<{
1760
- bordered: {
1761
- type: import('vue').PropType<boolean | undefined>;
1762
- default: undefined;
1763
- };
1764
- type: {
1765
- type: import('vue').PropType<"text" | "textarea" | "password">;
1766
- default: string;
1767
- };
1768
- placeholder: import('vue').PropType<string | [string, string]>;
1769
- defaultValue: {
1770
- type: import('vue').PropType<null | string | [string, string]>;
1771
- default: null;
1772
- };
1773
- value: import('vue').PropType<null | string | [string, string]>;
1774
- disabled: {
1775
- type: import('vue').PropType<boolean | undefined>;
1776
- default: undefined;
1777
- };
1778
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
1779
- rows: {
1780
- type: import('vue').PropType<number | string>;
1781
- default: number;
1782
- };
1783
- round: BooleanConstructor;
1784
- minlength: import('vue').PropType<number | string>;
1785
- maxlength: import('vue').PropType<number | string>;
1786
- clearable: BooleanConstructor;
1787
- autosize: {
1788
- type: import('vue').PropType<boolean | {
1789
- minRows?: number;
1790
- maxRows?: number;
1791
- }>;
1792
- default: boolean;
1793
- };
1794
- pair: BooleanConstructor;
1795
- separator: StringConstructor;
1796
- readonly: {
1797
- type: (StringConstructor | BooleanConstructor)[];
1798
- default: boolean;
1799
- };
1800
- passivelyActivated: BooleanConstructor;
1801
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
1802
- stateful: {
1803
- type: BooleanConstructor;
1804
- default: boolean;
1805
- };
1806
- autofocus: BooleanConstructor;
1807
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
1808
- resizable: {
1809
- type: BooleanConstructor;
1810
- default: boolean;
1811
- };
1812
- showCount: BooleanConstructor;
1813
- loading: {
1814
- type: BooleanConstructor;
1815
- default: undefined;
1816
- };
1817
- allowInput: import('vue').PropType<(value: string) => boolean>;
1818
- renderCount: import('vue').PropType<(props: {
1819
- value: string;
1820
- }) => import('vue').VNodeChild>;
1821
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
1822
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
1823
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
1824
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
1825
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1826
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1827
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
1828
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
1829
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
1830
- countGraphemes: import('vue').PropType<(value: string) => number>;
1831
- status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
1832
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
1833
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
1834
- textDecoration: import('vue').PropType<string | [string, string]>;
1835
- attrSize: {
1836
- type: NumberConstructor;
1837
- default: number;
1838
- };
1839
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1840
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1841
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
1842
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
1843
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1844
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
1845
- internalDeactivateOnEnter: BooleanConstructor;
1846
- internalForceFocus: BooleanConstructor;
1847
- internalLoadingBeforeSuffix: {
1848
- type: BooleanConstructor;
1849
- default: boolean;
1850
- };
1851
- showPasswordToggle: BooleanConstructor;
1852
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
1853
- fontWeight: string;
1854
- countTextColorDisabled: string;
1855
- countTextColor: string;
1856
- heightTiny: string;
1857
- heightSmall: string;
1858
- heightMedium: string;
1859
- heightLarge: string;
1860
- fontSizeTiny: string;
1861
- fontSizeSmall: string;
1862
- fontSizeMedium: string;
1863
- fontSizeLarge: string;
1864
- lineHeight: string;
1865
- lineHeightTextarea: string;
1866
- borderRadius: string;
1867
- iconSize: string;
1868
- groupLabelColor: string;
1869
- groupLabelTextColor: string;
1870
- textColor: string;
1871
- textColorDisabled: string;
1872
- textDecorationColor: string;
1873
- caretColor: string;
1874
- placeholderColor: string;
1875
- placeholderColorDisabled: string;
1876
- color: string;
1877
- colorDisabled: string;
1878
- colorFocus: string;
1879
- groupLabelBorder: string;
1880
- border: string;
1881
- borderHover: string;
1882
- borderDisabled: string;
1883
- borderFocus: string;
1884
- boxShadowFocus: string;
1885
- loadingColor: string;
1886
- loadingColorWarning: string;
1887
- borderWarning: string;
1888
- borderHoverWarning: string;
1889
- colorFocusWarning: string;
1890
- borderFocusWarning: string;
1891
- boxShadowFocusWarning: string;
1892
- caretColorWarning: string;
1893
- loadingColorError: string;
1894
- borderError: string;
1895
- borderHoverError: string;
1896
- colorFocusError: string;
1897
- borderFocusError: string;
1898
- boxShadowFocusError: string;
1899
- caretColorError: string;
1900
- clearColor: string;
1901
- clearColorHover: string;
1902
- clearColorPressed: string;
1903
- iconColor: string;
1904
- iconColorDisabled: string;
1905
- iconColorHover: string;
1906
- iconColorPressed: string;
1907
- suffixTextColor: string;
1908
- paddingTiny: string;
1909
- paddingSmall: string;
1910
- paddingMedium: string;
1911
- paddingLarge: string;
1912
- clearSize: string;
1913
- }, {
1914
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1915
- height: string;
1916
- width: string;
1917
- borderRadius: string;
1918
- color: string;
1919
- colorHover: string;
1920
- railInsetHorizontalBottom: string;
1921
- railInsetHorizontalTop: string;
1922
- railInsetVerticalRight: string;
1923
- railInsetVerticalLeft: string;
1924
- railColor: string;
1925
- }, any>;
1926
- }>>;
1927
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
1928
- fontWeight: string;
1929
- countTextColorDisabled: string;
1930
- countTextColor: string;
1931
- heightTiny: string;
1932
- heightSmall: string;
1933
- heightMedium: string;
1934
- heightLarge: string;
1935
- fontSizeTiny: string;
1936
- fontSizeSmall: string;
1937
- fontSizeMedium: string;
1938
- fontSizeLarge: string;
1939
- lineHeight: string;
1940
- lineHeightTextarea: string;
1941
- borderRadius: string;
1942
- iconSize: string;
1943
- groupLabelColor: string;
1944
- groupLabelTextColor: string;
1945
- textColor: string;
1946
- textColorDisabled: string;
1947
- textDecorationColor: string;
1948
- caretColor: string;
1949
- placeholderColor: string;
1950
- placeholderColorDisabled: string;
1951
- color: string;
1952
- colorDisabled: string;
1953
- colorFocus: string;
1954
- groupLabelBorder: string;
1955
- border: string;
1956
- borderHover: string;
1957
- borderDisabled: string;
1958
- borderFocus: string;
1959
- boxShadowFocus: string;
1960
- loadingColor: string;
1961
- loadingColorWarning: string;
1962
- borderWarning: string;
1963
- borderHoverWarning: string;
1964
- colorFocusWarning: string;
1965
- borderFocusWarning: string;
1966
- boxShadowFocusWarning: string;
1967
- caretColorWarning: string;
1968
- loadingColorError: string;
1969
- borderError: string;
1970
- borderHoverError: string;
1971
- colorFocusError: string;
1972
- borderFocusError: string;
1973
- boxShadowFocusError: string;
1974
- caretColorError: string;
1975
- clearColor: string;
1976
- clearColorHover: string;
1977
- clearColorPressed: string;
1978
- iconColor: string;
1979
- iconColorDisabled: string;
1980
- iconColorHover: string;
1981
- iconColorPressed: string;
1982
- suffixTextColor: string;
1983
- paddingTiny: string;
1984
- paddingSmall: string;
1985
- paddingMedium: string;
1986
- paddingLarge: string;
1987
- clearSize: string;
1988
- }, {
1989
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1990
- height: string;
1991
- width: string;
1992
- borderRadius: string;
1993
- color: string;
1994
- colorHover: string;
1995
- railInsetHorizontalBottom: string;
1996
- railInsetHorizontalTop: string;
1997
- railInsetVerticalRight: string;
1998
- railInsetVerticalLeft: string;
1999
- railColor: string;
2000
- }, any>;
2001
- }>>>;
2002
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
2003
- fontWeight: string;
2004
- countTextColorDisabled: string;
2005
- countTextColor: string;
2006
- heightTiny: string;
2007
- heightSmall: string;
2008
- heightMedium: string;
2009
- heightLarge: string;
2010
- fontSizeTiny: string;
2011
- fontSizeSmall: string;
2012
- fontSizeMedium: string;
2013
- fontSizeLarge: string;
2014
- lineHeight: string;
2015
- lineHeightTextarea: string;
2016
- borderRadius: string;
2017
- iconSize: string;
2018
- groupLabelColor: string;
2019
- groupLabelTextColor: string;
2020
- textColor: string;
2021
- textColorDisabled: string;
2022
- textDecorationColor: string;
2023
- caretColor: string;
2024
- placeholderColor: string;
2025
- placeholderColorDisabled: string;
2026
- color: string;
2027
- colorDisabled: string;
2028
- colorFocus: string;
2029
- groupLabelBorder: string;
2030
- border: string;
2031
- borderHover: string;
2032
- borderDisabled: string;
2033
- borderFocus: string;
2034
- boxShadowFocus: string;
2035
- loadingColor: string;
2036
- loadingColorWarning: string;
2037
- borderWarning: string;
2038
- borderHoverWarning: string;
2039
- colorFocusWarning: string;
2040
- borderFocusWarning: string;
2041
- boxShadowFocusWarning: string;
2042
- caretColorWarning: string;
2043
- loadingColorError: string;
2044
- borderError: string;
2045
- borderHoverError: string;
2046
- colorFocusError: string;
2047
- borderFocusError: string;
2048
- boxShadowFocusError: string;
2049
- caretColorError: string;
2050
- clearColor: string;
2051
- clearColorHover: string;
2052
- clearColorPressed: string;
2053
- iconColor: string;
2054
- iconColorDisabled: string;
2055
- iconColorHover: string;
2056
- iconColorPressed: string;
2057
- suffixTextColor: string;
2058
- paddingTiny: string;
2059
- paddingSmall: string;
2060
- paddingMedium: string;
2061
- paddingLarge: string;
2062
- clearSize: string;
2063
- }, {
2064
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2065
- height: string;
2066
- width: string;
2067
- borderRadius: string;
2068
- color: string;
2069
- colorHover: string;
2070
- railInsetHorizontalBottom: string;
2071
- railInsetHorizontalTop: string;
2072
- railInsetVerticalRight: string;
2073
- railInsetVerticalLeft: string;
2074
- railColor: string;
2075
- }, any>;
2076
- }>>>;
2077
- }>> & Readonly<{}>, {
2078
- wrapperElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2079
- inputElRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
2080
- inputMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2081
- inputEl2Ref: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
2082
- textareaElRef: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
2083
- textareaMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2084
- textareaScrollbarInstRef: import('vue').Ref<{
2085
- $el: HTMLElement;
2086
- containerRef: HTMLElement | null;
2087
- contentRef: HTMLElement | null;
2088
- containerScrollTop: number;
2089
- syncUnifiedContainer: () => void;
2090
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
2091
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
2092
- sync: () => void;
2093
- handleMouseEnterWrapper: () => void;
2094
- handleMouseLeaveWrapper: () => void;
2095
- } | null, import('naive-ui/es/_internal').ScrollbarInst | {
2096
- $el: HTMLElement;
2097
- containerRef: HTMLElement | null;
2098
- contentRef: HTMLElement | null;
2099
- containerScrollTop: number;
2100
- syncUnifiedContainer: () => void;
2101
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
2102
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
2103
- sync: () => void;
2104
- handleMouseEnterWrapper: () => void;
2105
- handleMouseLeaveWrapper: () => void;
2106
- } | null>;
2107
- rtlEnabled: import('vue').Ref<import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined, import('naive-ui/es/config-provider/src/internal-interface').RtlItem | undefined> | undefined;
2108
- uncontrolledValue: import('vue').Ref<string | [string, string] | null, string | [string, string] | null>;
2109
- mergedValue: import('vue').ComputedRef<string | [string, string] | null>;
2110
- passwordVisible: import('vue').Ref<boolean, boolean>;
2111
- mergedPlaceholder: import('vue').ComputedRef<[string, string] | [string]>;
2112
- showPlaceholder1: import('vue').ComputedRef<string | false>;
2113
- showPlaceholder2: import('vue').ComputedRef<boolean | "" | undefined>;
2114
- mergedFocus: import('vue').ComputedRef<boolean>;
2115
- isComposing: import('vue').Ref<boolean, boolean>;
2116
- activated: import('vue').Ref<boolean, boolean>;
2117
- showClearButton: import('vue').ComputedRef<boolean>;
2118
- mergedSize: import('vue').ComputedRef<"tiny" | "small" | "medium" | "large">;
2119
- mergedDisabled: import('vue').ComputedRef<boolean>;
2120
- textDecorationStyle: import('vue').ComputedRef<string[] | {
2121
- textDecoration: string;
2122
- }[]>;
2123
- mergedClsPrefix: import('vue').Ref<string, string>;
2124
- mergedBordered: import('vue').ComputedRef<boolean>;
2125
- mergedShowPasswordOn: import('vue').ComputedRef<"click" | "mousedown" | undefined>;
2126
- placeholderStyle: import('vue').Ref<{
2127
- top: string;
2128
- }, {
2129
- top: string;
2130
- } | {
2131
- top: string;
2132
- }>;
2133
- mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
2134
- textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
2135
- handleTextAreaScroll: (e: Event) => void;
2136
- handleCompositionStart: () => void;
2137
- handleCompositionEnd: (e: CompositionEvent) => void;
2138
- handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void;
2139
- handleInputBlur: (e: FocusEvent) => void;
2140
- handleInputFocus: (e: FocusEvent, index: number) => void;
2141
- handleWrapperBlur: (e: FocusEvent) => void;
2142
- handleWrapperFocus: (e: FocusEvent) => void;
2143
- handleMouseEnter: () => void;
2144
- handleMouseLeave: () => void;
2145
- handleMouseDown: (e: MouseEvent) => void;
2146
- handleChange: (e: Event, index?: 0 | 1) => void;
2147
- handleClick: (e: MouseEvent) => void;
2148
- handleClear: (e: MouseEvent) => void;
2149
- handlePasswordToggleClick: () => void;
2150
- handlePasswordToggleMousedown: (e: MouseEvent) => void;
2151
- handleWrapperKeydown: (e: KeyboardEvent) => void;
2152
- handleWrapperKeyup: (e: KeyboardEvent) => void;
2153
- handleTextAreaMirrorResize: () => void;
2154
- getTextareaScrollContainer: () => HTMLTextAreaElement | null;
2155
- mergedTheme: import('vue').ComputedRef<{
2156
- common: import('naive-ui').ThemeCommonVars;
2157
- self: {
2158
- fontWeight: string;
2159
- countTextColorDisabled: string;
2160
- countTextColor: string;
2161
- heightTiny: string;
2162
- heightSmall: string;
2163
- heightMedium: string;
2164
- heightLarge: string;
2165
- fontSizeTiny: string;
2166
- fontSizeSmall: string;
2167
- fontSizeMedium: string;
2168
- fontSizeLarge: string;
2169
- lineHeight: string;
2170
- lineHeightTextarea: string;
2171
- borderRadius: string;
2172
- iconSize: string;
2173
- groupLabelColor: string;
2174
- groupLabelTextColor: string;
2175
- textColor: string;
2176
- textColorDisabled: string;
2177
- textDecorationColor: string;
2178
- caretColor: string;
2179
- placeholderColor: string;
2180
- placeholderColorDisabled: string;
2181
- color: string;
2182
- colorDisabled: string;
2183
- colorFocus: string;
2184
- groupLabelBorder: string;
2185
- border: string;
2186
- borderHover: string;
2187
- borderDisabled: string;
2188
- borderFocus: string;
2189
- boxShadowFocus: string;
2190
- loadingColor: string;
2191
- loadingColorWarning: string;
2192
- borderWarning: string;
2193
- borderHoverWarning: string;
2194
- colorFocusWarning: string;
2195
- borderFocusWarning: string;
2196
- boxShadowFocusWarning: string;
2197
- caretColorWarning: string;
2198
- loadingColorError: string;
2199
- borderError: string;
2200
- borderHoverError: string;
2201
- colorFocusError: string;
2202
- borderFocusError: string;
2203
- boxShadowFocusError: string;
2204
- caretColorError: string;
2205
- clearColor: string;
2206
- clearColorHover: string;
2207
- clearColorPressed: string;
2208
- iconColor: string;
2209
- iconColorDisabled: string;
2210
- iconColorHover: string;
2211
- iconColorPressed: string;
2212
- suffixTextColor: string;
2213
- paddingTiny: string;
2214
- paddingSmall: string;
2215
- paddingMedium: string;
2216
- paddingLarge: string;
2217
- clearSize: string;
2218
- };
2219
- peers: {
2220
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
2221
- height: string;
2222
- width: string;
2223
- borderRadius: string;
2224
- color: string;
2225
- colorHover: string;
2226
- railInsetHorizontalBottom: string;
2227
- railInsetHorizontalTop: string;
2228
- railInsetVerticalRight: string;
2229
- railInsetVerticalLeft: string;
2230
- railColor: string;
2231
- }, any>;
2232
- };
2233
- peerOverrides: {
2234
- Scrollbar?: {
2235
- peers?: {
2236
- [x: string]: any;
2237
- } | undefined;
2238
- } | undefined;
2239
- };
2240
- }>;
2241
- cssVars: import('vue').ComputedRef<{
2242
- "--n-bezier": string;
2243
- "--n-count-text-color": string;
2244
- "--n-count-text-color-disabled": string;
2245
- "--n-color": string;
2246
- "--n-font-size": string;
2247
- "--n-font-weight": string;
2248
- "--n-border-radius": string;
2249
- "--n-height": string;
2250
- "--n-padding-left": string;
2251
- "--n-padding-right": string;
2252
- "--n-text-color": string;
2253
- "--n-caret-color": string;
2254
- "--n-text-decoration-color": string;
2255
- "--n-border": string;
2256
- "--n-border-disabled": string;
2257
- "--n-border-hover": string;
2258
- "--n-border-focus": string;
2259
- "--n-placeholder-color": string;
2260
- "--n-placeholder-color-disabled": string;
2261
- "--n-icon-size": string;
2262
- "--n-line-height-textarea": string;
2263
- "--n-color-disabled": string;
2264
- "--n-color-focus": string;
2265
- "--n-text-color-disabled": string;
2266
- "--n-box-shadow-focus": string;
2267
- "--n-loading-color": string;
2268
- "--n-caret-color-warning": string;
2269
- "--n-color-focus-warning": string;
2270
- "--n-box-shadow-focus-warning": string;
2271
- "--n-border-warning": string;
2272
- "--n-border-focus-warning": string;
2273
- "--n-border-hover-warning": string;
2274
- "--n-loading-color-warning": string;
2275
- "--n-caret-color-error": string;
2276
- "--n-color-focus-error": string;
2277
- "--n-box-shadow-focus-error": string;
2278
- "--n-border-error": string;
2279
- "--n-border-focus-error": string;
2280
- "--n-border-hover-error": string;
2281
- "--n-loading-color-error": string;
2282
- "--n-clear-color": string;
2283
- "--n-clear-size": string;
2284
- "--n-clear-color-hover": string;
2285
- "--n-clear-color-pressed": string;
2286
- "--n-icon-color": string;
2287
- "--n-icon-color-hover": string;
2288
- "--n-icon-color-pressed": string;
2289
- "--n-icon-color-disabled": string;
2290
- "--n-suffix-text-color": string;
2291
- }> | undefined;
2292
- themeClass: import('vue').Ref<string, string> | undefined;
2293
- onRender: (() => void) | undefined;
2294
- isCompositing: import('vue').Ref<boolean>;
2295
- blur: () => void;
2296
- clear: () => void;
2297
- focus: () => void;
2298
- select: () => void;
2299
- activate: () => void;
2300
- deactivate: () => void;
2301
- scrollTo: (options: ScrollToOptions) => void;
2302
- }, {}, {}, {}, {
2303
- disabled: boolean | undefined;
2304
- type: "text" | "textarea" | "password";
2305
- bordered: boolean | undefined;
2306
- clearable: boolean;
2307
- defaultValue: string | [string, string] | null;
2308
- loading: boolean;
2309
- round: boolean;
2310
- resizable: boolean;
2311
- stateful: boolean;
2312
- pair: boolean;
2313
- rows: string | number;
2314
- autosize: boolean | {
2315
- minRows?: number;
2316
- maxRows?: number;
2317
- };
2318
- readonly: string | boolean;
2319
- passivelyActivated: boolean;
2320
- autofocus: boolean;
2321
- showCount: boolean;
2322
- attrSize: number;
2323
- internalDeactivateOnEnter: boolean;
2324
- internalForceFocus: boolean;
2325
- internalLoadingBeforeSuffix: boolean;
2326
- showPasswordToggle: boolean;
2327
- }> | null;
2328
- }, any>;
2329
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
2330
- export default _default;
2331
- type __VLS_WithTemplateSlots<T, S> = T & {
2332
- new (): {
2333
- $slots: S;
2334
- };
41
+ "onUpdate:value"?: ((v: string | null | undefined) => any) | undefined;
42
+ }>, {}, {}, {}, {}, string, vue58.ComponentProvideOptions, false, {}, any>;
43
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
44
+ declare const _default: typeof __VLS_export;
45
+ type __VLS_WithSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
2335
49
  };
50
+ //#endregion
51
+ export { _default };