@oiij/naive-ui 0.0.63 → 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 (90) 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 -260
  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 -74
  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 -7910
  61. package/dist/composables/useDataRequest.d.ts +1 -1
  62. package/dist/composables/useNaiveForm.d.ts +3 -4
  63. package/dist/composables/useNaiveForm.js +1 -3
  64. package/dist/composables/useNaiveTheme.js +1 -1
  65. package/package.json +20 -22
  66. package/dist/_virtual/rolldown_runtime.cjs +0 -25
  67. package/dist/components/_utils/cssr-bem.d.ts +0 -1
  68. package/dist/components/_utils/index.d.ts +0 -2
  69. package/dist/components/_utils/prismjs.d.ts +0 -1
  70. package/dist/components/bubble/bubble.cssr.d.ts +0 -2
  71. package/dist/components/full-loading/full-loading.cssr.d.ts +0 -2
  72. package/dist/components/icons/MageArrowUp.vue.d.ts +0 -2
  73. package/dist/components/icons/MageCopyFill.vue.d.ts +0 -2
  74. package/dist/components/icons/MageMultiplyCircleFill.vue.d.ts +0 -2
  75. package/dist/components/icons/MageSearch.vue.d.ts +0 -2
  76. package/dist/components/preset-form/_utils.d.ts +0 -8
  77. package/dist/components/transition/transition.cssr.d.ts +0 -13
  78. package/dist/components/type-writer/type-writer.cssr.d.ts +0 -2
  79. package/dist/components.cjs +0 -42
  80. package/dist/components.umd.cjs +0 -42
  81. package/dist/composables/_helper.cjs +0 -29
  82. package/dist/composables/_helper.d.cts +0 -10
  83. package/dist/composables/useDataRequest.cjs +0 -105
  84. package/dist/composables/useDataRequest.d.cts +0 -61
  85. package/dist/composables/useNaiveForm.cjs +0 -92
  86. package/dist/composables/useNaiveForm.d.cts +0 -40
  87. package/dist/composables/useNaiveTheme.cjs +0 -89
  88. package/dist/composables/useNaiveTheme.d.cts +0 -171
  89. package/dist/index.cjs +0 -7
  90. package/dist/index.d.cts +0 -4
@@ -1,1159 +1,20 @@
1
- import { InputProps } from 'naive-ui';
2
- import { ClassStyle } from '../data-table-plus';
1
+ import { ClassStyle } from "../data-table-plus/index.js";
2
+ import * as vue13 from "vue";
3
+ import { InputProps } from "naive-ui";
4
+
5
+ //#region src/components/toggle-editor/ToggleEditor.vue.d.ts
3
6
  type __VLS_Props = {
4
- inputProps?: InputProps & ClassStyle;
7
+ inputProps?: InputProps & ClassStyle;
5
8
  };
6
- type __VLS_PublicProps = {
7
- 'value'?: string;
8
- } & __VLS_Props;
9
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:value": (value: string) => any;
11
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- "onUpdate:value"?: ((value: string) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
- inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
15
- bordered: {
16
- type: import('vue').PropType<boolean | undefined>;
17
- default: undefined;
18
- };
19
- type: {
20
- type: import('vue').PropType<"text" | "textarea" | "password">;
21
- default: string;
22
- };
23
- placeholder: import('vue').PropType<string | [string, string]>;
24
- defaultValue: {
25
- type: import('vue').PropType<null | string | [string, string]>;
26
- default: null;
27
- };
28
- value: import('vue').PropType<null | string | [string, string]>;
29
- disabled: {
30
- type: import('vue').PropType<boolean | undefined>;
31
- default: undefined;
32
- };
33
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
34
- rows: {
35
- type: import('vue').PropType<number | string>;
36
- default: number;
37
- };
38
- round: BooleanConstructor;
39
- minlength: import('vue').PropType<number | string>;
40
- maxlength: import('vue').PropType<number | string>;
41
- clearable: BooleanConstructor;
42
- autosize: {
43
- type: import('vue').PropType<boolean | {
44
- minRows?: number;
45
- maxRows?: number;
46
- }>;
47
- default: boolean;
48
- };
49
- pair: BooleanConstructor;
50
- separator: StringConstructor;
51
- readonly: {
52
- type: (BooleanConstructor | StringConstructor)[];
53
- default: boolean;
54
- };
55
- passivelyActivated: BooleanConstructor;
56
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
57
- stateful: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- autofocus: BooleanConstructor;
62
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
63
- resizable: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- showCount: BooleanConstructor;
68
- loading: {
69
- type: BooleanConstructor;
70
- default: undefined;
71
- };
72
- allowInput: import('vue').PropType<(value: string) => boolean>;
73
- renderCount: import('vue').PropType<(props: {
74
- value: string;
75
- }) => import('vue').VNodeChild>;
76
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
77
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
78
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
79
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
80
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
81
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
82
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
83
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
84
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
85
- countGraphemes: import('vue').PropType<(value: string) => number>;
86
- status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
87
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
88
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
89
- textDecoration: import('vue').PropType<string | [string, string]>;
90
- attrSize: {
91
- type: NumberConstructor;
92
- default: number;
93
- };
94
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
95
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
96
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
97
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
98
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
99
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
100
- internalDeactivateOnEnter: BooleanConstructor;
101
- internalForceFocus: BooleanConstructor;
102
- internalLoadingBeforeSuffix: {
103
- type: BooleanConstructor;
104
- default: boolean;
105
- };
106
- showPasswordToggle: BooleanConstructor;
107
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
108
- fontWeight: string;
109
- countTextColorDisabled: string;
110
- countTextColor: string;
111
- heightTiny: string;
112
- heightSmall: string;
113
- heightMedium: string;
114
- heightLarge: string;
115
- fontSizeTiny: string;
116
- fontSizeSmall: string;
117
- fontSizeMedium: string;
118
- fontSizeLarge: string;
119
- lineHeight: string;
120
- lineHeightTextarea: string;
121
- borderRadius: string;
122
- iconSize: string;
123
- groupLabelColor: string;
124
- groupLabelTextColor: string;
125
- textColor: string;
126
- textColorDisabled: string;
127
- textDecorationColor: string;
128
- caretColor: string;
129
- placeholderColor: string;
130
- placeholderColorDisabled: string;
131
- color: string;
132
- colorDisabled: string;
133
- colorFocus: string;
134
- groupLabelBorder: string;
135
- border: string;
136
- borderHover: string;
137
- borderDisabled: string;
138
- borderFocus: string;
139
- boxShadowFocus: string;
140
- loadingColor: string;
141
- loadingColorWarning: string;
142
- borderWarning: string;
143
- borderHoverWarning: string;
144
- colorFocusWarning: string;
145
- borderFocusWarning: string;
146
- boxShadowFocusWarning: string;
147
- caretColorWarning: string;
148
- loadingColorError: string;
149
- borderError: string;
150
- borderHoverError: string;
151
- colorFocusError: string;
152
- borderFocusError: string;
153
- boxShadowFocusError: string;
154
- caretColorError: string;
155
- clearColor: string;
156
- clearColorHover: string;
157
- clearColorPressed: string;
158
- iconColor: string;
159
- iconColorDisabled: string;
160
- iconColorHover: string;
161
- iconColorPressed: string;
162
- suffixTextColor: string;
163
- paddingTiny: string;
164
- paddingSmall: string;
165
- paddingMedium: string;
166
- paddingLarge: string;
167
- clearSize: string;
168
- }, {
169
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
170
- height: string;
171
- width: string;
172
- borderRadius: string;
173
- color: string;
174
- colorHover: string;
175
- railInsetHorizontalBottom: string;
176
- railInsetHorizontalTop: string;
177
- railInsetVerticalRight: string;
178
- railInsetVerticalLeft: string;
179
- railColor: string;
180
- }, any>;
181
- }>>;
182
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
183
- fontWeight: string;
184
- countTextColorDisabled: string;
185
- countTextColor: string;
186
- heightTiny: string;
187
- heightSmall: string;
188
- heightMedium: string;
189
- heightLarge: string;
190
- fontSizeTiny: string;
191
- fontSizeSmall: string;
192
- fontSizeMedium: string;
193
- fontSizeLarge: string;
194
- lineHeight: string;
195
- lineHeightTextarea: string;
196
- borderRadius: string;
197
- iconSize: string;
198
- groupLabelColor: string;
199
- groupLabelTextColor: string;
200
- textColor: string;
201
- textColorDisabled: string;
202
- textDecorationColor: string;
203
- caretColor: string;
204
- placeholderColor: string;
205
- placeholderColorDisabled: string;
206
- color: string;
207
- colorDisabled: string;
208
- colorFocus: string;
209
- groupLabelBorder: string;
210
- border: string;
211
- borderHover: string;
212
- borderDisabled: string;
213
- borderFocus: string;
214
- boxShadowFocus: string;
215
- loadingColor: string;
216
- loadingColorWarning: string;
217
- borderWarning: string;
218
- borderHoverWarning: string;
219
- colorFocusWarning: string;
220
- borderFocusWarning: string;
221
- boxShadowFocusWarning: string;
222
- caretColorWarning: string;
223
- loadingColorError: string;
224
- borderError: string;
225
- borderHoverError: string;
226
- colorFocusError: string;
227
- borderFocusError: string;
228
- boxShadowFocusError: string;
229
- caretColorError: string;
230
- clearColor: string;
231
- clearColorHover: string;
232
- clearColorPressed: string;
233
- iconColor: string;
234
- iconColorDisabled: string;
235
- iconColorHover: string;
236
- iconColorPressed: string;
237
- suffixTextColor: string;
238
- paddingTiny: string;
239
- paddingSmall: string;
240
- paddingMedium: string;
241
- paddingLarge: string;
242
- clearSize: string;
243
- }, {
244
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
245
- height: string;
246
- width: string;
247
- borderRadius: string;
248
- color: string;
249
- colorHover: string;
250
- railInsetHorizontalBottom: string;
251
- railInsetHorizontalTop: string;
252
- railInsetVerticalRight: string;
253
- railInsetVerticalLeft: string;
254
- railColor: string;
255
- }, any>;
256
- }>>>;
257
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
258
- fontWeight: string;
259
- countTextColorDisabled: string;
260
- countTextColor: string;
261
- heightTiny: string;
262
- heightSmall: string;
263
- heightMedium: string;
264
- heightLarge: string;
265
- fontSizeTiny: string;
266
- fontSizeSmall: string;
267
- fontSizeMedium: string;
268
- fontSizeLarge: string;
269
- lineHeight: string;
270
- lineHeightTextarea: string;
271
- borderRadius: string;
272
- iconSize: string;
273
- groupLabelColor: string;
274
- groupLabelTextColor: string;
275
- textColor: string;
276
- textColorDisabled: string;
277
- textDecorationColor: string;
278
- caretColor: string;
279
- placeholderColor: string;
280
- placeholderColorDisabled: string;
281
- color: string;
282
- colorDisabled: string;
283
- colorFocus: string;
284
- groupLabelBorder: string;
285
- border: string;
286
- borderHover: string;
287
- borderDisabled: string;
288
- borderFocus: string;
289
- boxShadowFocus: string;
290
- loadingColor: string;
291
- loadingColorWarning: string;
292
- borderWarning: string;
293
- borderHoverWarning: string;
294
- colorFocusWarning: string;
295
- borderFocusWarning: string;
296
- boxShadowFocusWarning: string;
297
- caretColorWarning: string;
298
- loadingColorError: string;
299
- borderError: string;
300
- borderHoverError: string;
301
- colorFocusError: string;
302
- borderFocusError: string;
303
- boxShadowFocusError: string;
304
- caretColorError: string;
305
- clearColor: string;
306
- clearColorHover: string;
307
- clearColorPressed: string;
308
- iconColor: string;
309
- iconColorDisabled: string;
310
- iconColorHover: string;
311
- iconColorPressed: string;
312
- suffixTextColor: string;
313
- paddingTiny: string;
314
- paddingSmall: string;
315
- paddingMedium: string;
316
- paddingLarge: string;
317
- clearSize: string;
318
- }, {
319
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
320
- height: string;
321
- width: string;
322
- borderRadius: string;
323
- color: string;
324
- colorHover: string;
325
- railInsetHorizontalBottom: string;
326
- railInsetHorizontalTop: string;
327
- railInsetVerticalRight: string;
328
- railInsetVerticalLeft: string;
329
- railColor: string;
330
- }, any>;
331
- }>>>;
332
- }>> & Readonly<{}>, {
333
- wrapperElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
334
- inputElRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
335
- inputMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
336
- inputEl2Ref: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
337
- textareaElRef: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
338
- textareaMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
339
- textareaScrollbarInstRef: import('vue').Ref<{
340
- $el: HTMLElement;
341
- containerRef: HTMLElement | null;
342
- contentRef: HTMLElement | null;
343
- containerScrollTop: number;
344
- syncUnifiedContainer: () => void;
345
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
346
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
347
- sync: () => void;
348
- handleMouseEnterWrapper: () => void;
349
- handleMouseLeaveWrapper: () => void;
350
- } | null, import('naive-ui/es/_internal').ScrollbarInst | {
351
- $el: HTMLElement;
352
- containerRef: HTMLElement | null;
353
- contentRef: HTMLElement | null;
354
- containerScrollTop: number;
355
- syncUnifiedContainer: () => void;
356
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
357
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
358
- sync: () => void;
359
- handleMouseEnterWrapper: () => void;
360
- handleMouseLeaveWrapper: () => void;
361
- } | null>;
362
- 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;
363
- uncontrolledValue: import('vue').Ref<string | [string, string] | null, string | [string, string] | null>;
364
- mergedValue: import('vue').ComputedRef<string | [string, string] | null>;
365
- passwordVisible: import('vue').Ref<boolean, boolean>;
366
- mergedPlaceholder: import('vue').ComputedRef<[string] | [string, string]>;
367
- showPlaceholder1: import('vue').ComputedRef<string | false>;
368
- showPlaceholder2: import('vue').ComputedRef<boolean | "" | undefined>;
369
- mergedFocus: import('vue').ComputedRef<boolean>;
370
- isComposing: import('vue').Ref<boolean, boolean>;
371
- activated: import('vue').Ref<boolean, boolean>;
372
- showClearButton: import('vue').ComputedRef<boolean>;
373
- mergedSize: import('vue').ComputedRef<"small" | "medium" | "large" | "tiny">;
374
- mergedDisabled: import('vue').ComputedRef<boolean>;
375
- textDecorationStyle: import('vue').ComputedRef<string[] | {
376
- textDecoration: string;
377
- }[]>;
378
- mergedClsPrefix: import('vue').Ref<string, string>;
379
- mergedBordered: import('vue').ComputedRef<boolean>;
380
- mergedShowPasswordOn: import('vue').ComputedRef<"click" | "mousedown" | undefined>;
381
- placeholderStyle: import('vue').Ref<{
382
- top: string;
383
- }, {
384
- top: string;
385
- } | {
386
- top: string;
387
- }>;
388
- mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
389
- textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
390
- handleTextAreaScroll: (e: Event) => void;
391
- handleCompositionStart: () => void;
392
- handleCompositionEnd: (e: CompositionEvent) => void;
393
- handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void;
394
- handleInputBlur: (e: FocusEvent) => void;
395
- handleInputFocus: (e: FocusEvent, index: number) => void;
396
- handleWrapperBlur: (e: FocusEvent) => void;
397
- handleWrapperFocus: (e: FocusEvent) => void;
398
- handleMouseEnter: () => void;
399
- handleMouseLeave: () => void;
400
- handleMouseDown: (e: MouseEvent) => void;
401
- handleChange: (e: Event, index?: 0 | 1) => void;
402
- handleClick: (e: MouseEvent) => void;
403
- handleClear: (e: MouseEvent) => void;
404
- handlePasswordToggleClick: () => void;
405
- handlePasswordToggleMousedown: (e: MouseEvent) => void;
406
- handleWrapperKeydown: (e: KeyboardEvent) => void;
407
- handleWrapperKeyup: (e: KeyboardEvent) => void;
408
- handleTextAreaMirrorResize: () => void;
409
- getTextareaScrollContainer: () => HTMLTextAreaElement | null;
410
- mergedTheme: import('vue').ComputedRef<{
411
- common: import('naive-ui').ThemeCommonVars;
412
- self: {
413
- fontWeight: string;
414
- countTextColorDisabled: string;
415
- countTextColor: string;
416
- heightTiny: string;
417
- heightSmall: string;
418
- heightMedium: string;
419
- heightLarge: string;
420
- fontSizeTiny: string;
421
- fontSizeSmall: string;
422
- fontSizeMedium: string;
423
- fontSizeLarge: string;
424
- lineHeight: string;
425
- lineHeightTextarea: string;
426
- borderRadius: string;
427
- iconSize: string;
428
- groupLabelColor: string;
429
- groupLabelTextColor: string;
430
- textColor: string;
431
- textColorDisabled: string;
432
- textDecorationColor: string;
433
- caretColor: string;
434
- placeholderColor: string;
435
- placeholderColorDisabled: string;
436
- color: string;
437
- colorDisabled: string;
438
- colorFocus: string;
439
- groupLabelBorder: string;
440
- border: string;
441
- borderHover: string;
442
- borderDisabled: string;
443
- borderFocus: string;
444
- boxShadowFocus: string;
445
- loadingColor: string;
446
- loadingColorWarning: string;
447
- borderWarning: string;
448
- borderHoverWarning: string;
449
- colorFocusWarning: string;
450
- borderFocusWarning: string;
451
- boxShadowFocusWarning: string;
452
- caretColorWarning: string;
453
- loadingColorError: string;
454
- borderError: string;
455
- borderHoverError: string;
456
- colorFocusError: string;
457
- borderFocusError: string;
458
- boxShadowFocusError: string;
459
- caretColorError: string;
460
- clearColor: string;
461
- clearColorHover: string;
462
- clearColorPressed: string;
463
- iconColor: string;
464
- iconColorDisabled: string;
465
- iconColorHover: string;
466
- iconColorPressed: string;
467
- suffixTextColor: string;
468
- paddingTiny: string;
469
- paddingSmall: string;
470
- paddingMedium: string;
471
- paddingLarge: string;
472
- clearSize: string;
473
- };
474
- peers: {
475
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
476
- height: string;
477
- width: string;
478
- borderRadius: string;
479
- color: string;
480
- colorHover: string;
481
- railInsetHorizontalBottom: string;
482
- railInsetHorizontalTop: string;
483
- railInsetVerticalRight: string;
484
- railInsetVerticalLeft: string;
485
- railColor: string;
486
- }, any>;
487
- };
488
- peerOverrides: {
489
- Scrollbar?: {
490
- peers?: {
491
- [x: string]: any;
492
- } | undefined;
493
- } | undefined;
494
- };
495
- }>;
496
- cssVars: import('vue').ComputedRef<{
497
- "--n-bezier": string;
498
- "--n-count-text-color": string;
499
- "--n-count-text-color-disabled": string;
500
- "--n-color": string;
501
- "--n-font-size": string;
502
- "--n-font-weight": string;
503
- "--n-border-radius": string;
504
- "--n-height": string;
505
- "--n-padding-left": string;
506
- "--n-padding-right": string;
507
- "--n-text-color": string;
508
- "--n-caret-color": string;
509
- "--n-text-decoration-color": string;
510
- "--n-border": string;
511
- "--n-border-disabled": string;
512
- "--n-border-hover": string;
513
- "--n-border-focus": string;
514
- "--n-placeholder-color": string;
515
- "--n-placeholder-color-disabled": string;
516
- "--n-icon-size": string;
517
- "--n-line-height-textarea": string;
518
- "--n-color-disabled": string;
519
- "--n-color-focus": string;
520
- "--n-text-color-disabled": string;
521
- "--n-box-shadow-focus": string;
522
- "--n-loading-color": string;
523
- "--n-caret-color-warning": string;
524
- "--n-color-focus-warning": string;
525
- "--n-box-shadow-focus-warning": string;
526
- "--n-border-warning": string;
527
- "--n-border-focus-warning": string;
528
- "--n-border-hover-warning": string;
529
- "--n-loading-color-warning": string;
530
- "--n-caret-color-error": string;
531
- "--n-color-focus-error": string;
532
- "--n-box-shadow-focus-error": string;
533
- "--n-border-error": string;
534
- "--n-border-focus-error": string;
535
- "--n-border-hover-error": string;
536
- "--n-loading-color-error": string;
537
- "--n-clear-color": string;
538
- "--n-clear-size": string;
539
- "--n-clear-color-hover": string;
540
- "--n-clear-color-pressed": string;
541
- "--n-icon-color": string;
542
- "--n-icon-color-hover": string;
543
- "--n-icon-color-pressed": string;
544
- "--n-icon-color-disabled": string;
545
- "--n-suffix-text-color": string;
546
- }> | undefined;
547
- themeClass: import('vue').Ref<string, string> | undefined;
548
- onRender: (() => void) | undefined;
549
- isCompositing: import('vue').Ref<boolean>;
550
- blur: () => void;
551
- clear: () => void;
552
- focus: () => void;
553
- select: () => void;
554
- activate: () => void;
555
- deactivate: () => void;
556
- scrollTo: (options: ScrollToOptions) => void;
557
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
558
- type: "textarea" | "text" | "password";
559
- readonly: string | boolean;
560
- disabled: boolean | undefined;
561
- round: boolean;
562
- autofocus: boolean;
563
- loading: boolean;
564
- autosize: boolean | {
565
- minRows?: number;
566
- maxRows?: number;
567
- };
568
- bordered: boolean | undefined;
569
- clearable: boolean;
570
- defaultValue: string | [string, string] | null;
571
- resizable: boolean;
572
- stateful: boolean;
573
- pair: boolean;
574
- rows: string | number;
575
- passivelyActivated: boolean;
576
- showCount: boolean;
577
- attrSize: number;
578
- internalDeactivateOnEnter: boolean;
579
- internalForceFocus: boolean;
580
- internalLoadingBeforeSuffix: boolean;
581
- showPasswordToggle: boolean;
582
- }, true, {}, import('vue').SlotsType<import('naive-ui').InputSlots>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
583
- P: {};
584
- B: {};
585
- D: {};
586
- C: {};
587
- M: {};
588
- Defaults: {};
589
- }, Readonly<import('vue').ExtractPropTypes<{
590
- bordered: {
591
- type: import('vue').PropType<boolean | undefined>;
592
- default: undefined;
593
- };
594
- type: {
595
- type: import('vue').PropType<"text" | "textarea" | "password">;
596
- default: string;
597
- };
598
- placeholder: import('vue').PropType<string | [string, string]>;
599
- defaultValue: {
600
- type: import('vue').PropType<null | string | [string, string]>;
601
- default: null;
602
- };
603
- value: import('vue').PropType<null | string | [string, string]>;
604
- disabled: {
605
- type: import('vue').PropType<boolean | undefined>;
606
- default: undefined;
607
- };
608
- size: import('vue').PropType<import('naive-ui/es/input/src/interface').Size>;
609
- rows: {
610
- type: import('vue').PropType<number | string>;
611
- default: number;
612
- };
613
- round: BooleanConstructor;
614
- minlength: import('vue').PropType<number | string>;
615
- maxlength: import('vue').PropType<number | string>;
616
- clearable: BooleanConstructor;
617
- autosize: {
618
- type: import('vue').PropType<boolean | {
619
- minRows?: number;
620
- maxRows?: number;
621
- }>;
622
- default: boolean;
623
- };
624
- pair: BooleanConstructor;
625
- separator: StringConstructor;
626
- readonly: {
627
- type: (BooleanConstructor | StringConstructor)[];
628
- default: boolean;
629
- };
630
- passivelyActivated: BooleanConstructor;
631
- showPasswordOn: import('vue').PropType<"mousedown" | "click">;
632
- stateful: {
633
- type: BooleanConstructor;
634
- default: boolean;
635
- };
636
- autofocus: BooleanConstructor;
637
- inputProps: import('vue').PropType<import('vue').TextareaHTMLAttributes | import('vue').InputHTMLAttributes>;
638
- resizable: {
639
- type: BooleanConstructor;
640
- default: boolean;
641
- };
642
- showCount: BooleanConstructor;
643
- loading: {
644
- type: BooleanConstructor;
645
- default: undefined;
646
- };
647
- allowInput: import('vue').PropType<(value: string) => boolean>;
648
- renderCount: import('vue').PropType<(props: {
649
- value: string;
650
- }) => import('vue').VNodeChild>;
651
- onMousedown: import('vue').PropType<(e: MouseEvent) => void>;
652
- onKeydown: import('vue').PropType<(e: KeyboardEvent) => void>;
653
- onKeyup: import('vue').PropType<(e: KeyboardEvent) => void>;
654
- onInput: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
655
- onFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
656
- onBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
657
- onClick: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
658
- onChange: import('vue').PropType<import('naive-ui/es/input/src/interface').OnUpdateValue>;
659
- onClear: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: MouseEvent) => void>>;
660
- countGraphemes: import('vue').PropType<(value: string) => number>;
661
- status: import('vue').PropType<import('naive-ui').FormValidationStatus>;
662
- 'onUpdate:value': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
663
- onUpdateValue: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/input/src/interface').OnUpdateValue>>;
664
- textDecoration: import('vue').PropType<string | [string, string]>;
665
- attrSize: {
666
- type: NumberConstructor;
667
- default: number;
668
- };
669
- onInputBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
670
- onInputFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
671
- onDeactivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
672
- onActivate: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<() => void>>;
673
- onWrapperFocus: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
674
- onWrapperBlur: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<(e: FocusEvent) => void>>;
675
- internalDeactivateOnEnter: BooleanConstructor;
676
- internalForceFocus: BooleanConstructor;
677
- internalLoadingBeforeSuffix: {
678
- type: BooleanConstructor;
679
- default: boolean;
680
- };
681
- showPasswordToggle: BooleanConstructor;
682
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Input", {
683
- fontWeight: string;
684
- countTextColorDisabled: string;
685
- countTextColor: string;
686
- heightTiny: string;
687
- heightSmall: string;
688
- heightMedium: string;
689
- heightLarge: string;
690
- fontSizeTiny: string;
691
- fontSizeSmall: string;
692
- fontSizeMedium: string;
693
- fontSizeLarge: string;
694
- lineHeight: string;
695
- lineHeightTextarea: string;
696
- borderRadius: string;
697
- iconSize: string;
698
- groupLabelColor: string;
699
- groupLabelTextColor: string;
700
- textColor: string;
701
- textColorDisabled: string;
702
- textDecorationColor: string;
703
- caretColor: string;
704
- placeholderColor: string;
705
- placeholderColorDisabled: string;
706
- color: string;
707
- colorDisabled: string;
708
- colorFocus: string;
709
- groupLabelBorder: string;
710
- border: string;
711
- borderHover: string;
712
- borderDisabled: string;
713
- borderFocus: string;
714
- boxShadowFocus: string;
715
- loadingColor: string;
716
- loadingColorWarning: string;
717
- borderWarning: string;
718
- borderHoverWarning: string;
719
- colorFocusWarning: string;
720
- borderFocusWarning: string;
721
- boxShadowFocusWarning: string;
722
- caretColorWarning: string;
723
- loadingColorError: string;
724
- borderError: string;
725
- borderHoverError: string;
726
- colorFocusError: string;
727
- borderFocusError: string;
728
- boxShadowFocusError: string;
729
- caretColorError: string;
730
- clearColor: string;
731
- clearColorHover: string;
732
- clearColorPressed: string;
733
- iconColor: string;
734
- iconColorDisabled: string;
735
- iconColorHover: string;
736
- iconColorPressed: string;
737
- suffixTextColor: string;
738
- paddingTiny: string;
739
- paddingSmall: string;
740
- paddingMedium: string;
741
- paddingLarge: string;
742
- clearSize: string;
743
- }, {
744
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
745
- height: string;
746
- width: string;
747
- borderRadius: string;
748
- color: string;
749
- colorHover: string;
750
- railInsetHorizontalBottom: string;
751
- railInsetHorizontalTop: string;
752
- railInsetVerticalRight: string;
753
- railInsetVerticalLeft: string;
754
- railColor: string;
755
- }, any>;
756
- }>>;
757
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
758
- fontWeight: string;
759
- countTextColorDisabled: string;
760
- countTextColor: string;
761
- heightTiny: string;
762
- heightSmall: string;
763
- heightMedium: string;
764
- heightLarge: string;
765
- fontSizeTiny: string;
766
- fontSizeSmall: string;
767
- fontSizeMedium: string;
768
- fontSizeLarge: string;
769
- lineHeight: string;
770
- lineHeightTextarea: string;
771
- borderRadius: string;
772
- iconSize: string;
773
- groupLabelColor: string;
774
- groupLabelTextColor: string;
775
- textColor: string;
776
- textColorDisabled: string;
777
- textDecorationColor: string;
778
- caretColor: string;
779
- placeholderColor: string;
780
- placeholderColorDisabled: string;
781
- color: string;
782
- colorDisabled: string;
783
- colorFocus: string;
784
- groupLabelBorder: string;
785
- border: string;
786
- borderHover: string;
787
- borderDisabled: string;
788
- borderFocus: string;
789
- boxShadowFocus: string;
790
- loadingColor: string;
791
- loadingColorWarning: string;
792
- borderWarning: string;
793
- borderHoverWarning: string;
794
- colorFocusWarning: string;
795
- borderFocusWarning: string;
796
- boxShadowFocusWarning: string;
797
- caretColorWarning: string;
798
- loadingColorError: string;
799
- borderError: string;
800
- borderHoverError: string;
801
- colorFocusError: string;
802
- borderFocusError: string;
803
- boxShadowFocusError: string;
804
- caretColorError: string;
805
- clearColor: string;
806
- clearColorHover: string;
807
- clearColorPressed: string;
808
- iconColor: string;
809
- iconColorDisabled: string;
810
- iconColorHover: string;
811
- iconColorPressed: string;
812
- suffixTextColor: string;
813
- paddingTiny: string;
814
- paddingSmall: string;
815
- paddingMedium: string;
816
- paddingLarge: string;
817
- clearSize: string;
818
- }, {
819
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
820
- height: string;
821
- width: string;
822
- borderRadius: string;
823
- color: string;
824
- colorHover: string;
825
- railInsetHorizontalBottom: string;
826
- railInsetHorizontalTop: string;
827
- railInsetVerticalRight: string;
828
- railInsetVerticalLeft: string;
829
- railColor: string;
830
- }, any>;
831
- }>>>;
832
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Input", {
833
- fontWeight: string;
834
- countTextColorDisabled: string;
835
- countTextColor: string;
836
- heightTiny: string;
837
- heightSmall: string;
838
- heightMedium: string;
839
- heightLarge: string;
840
- fontSizeTiny: string;
841
- fontSizeSmall: string;
842
- fontSizeMedium: string;
843
- fontSizeLarge: string;
844
- lineHeight: string;
845
- lineHeightTextarea: string;
846
- borderRadius: string;
847
- iconSize: string;
848
- groupLabelColor: string;
849
- groupLabelTextColor: string;
850
- textColor: string;
851
- textColorDisabled: string;
852
- textDecorationColor: string;
853
- caretColor: string;
854
- placeholderColor: string;
855
- placeholderColorDisabled: string;
856
- color: string;
857
- colorDisabled: string;
858
- colorFocus: string;
859
- groupLabelBorder: string;
860
- border: string;
861
- borderHover: string;
862
- borderDisabled: string;
863
- borderFocus: string;
864
- boxShadowFocus: string;
865
- loadingColor: string;
866
- loadingColorWarning: string;
867
- borderWarning: string;
868
- borderHoverWarning: string;
869
- colorFocusWarning: string;
870
- borderFocusWarning: string;
871
- boxShadowFocusWarning: string;
872
- caretColorWarning: string;
873
- loadingColorError: string;
874
- borderError: string;
875
- borderHoverError: string;
876
- colorFocusError: string;
877
- borderFocusError: string;
878
- boxShadowFocusError: string;
879
- caretColorError: string;
880
- clearColor: string;
881
- clearColorHover: string;
882
- clearColorPressed: string;
883
- iconColor: string;
884
- iconColorDisabled: string;
885
- iconColorHover: string;
886
- iconColorPressed: string;
887
- suffixTextColor: string;
888
- paddingTiny: string;
889
- paddingSmall: string;
890
- paddingMedium: string;
891
- paddingLarge: string;
892
- clearSize: string;
893
- }, {
894
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
895
- height: string;
896
- width: string;
897
- borderRadius: string;
898
- color: string;
899
- colorHover: string;
900
- railInsetHorizontalBottom: string;
901
- railInsetHorizontalTop: string;
902
- railInsetVerticalRight: string;
903
- railInsetVerticalLeft: string;
904
- railColor: string;
905
- }, any>;
906
- }>>>;
907
- }>> & Readonly<{}>, {
908
- wrapperElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
909
- inputElRef: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
910
- inputMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
911
- inputEl2Ref: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
912
- textareaElRef: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
913
- textareaMirrorElRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
914
- textareaScrollbarInstRef: import('vue').Ref<{
915
- $el: HTMLElement;
916
- containerRef: HTMLElement | null;
917
- contentRef: HTMLElement | null;
918
- containerScrollTop: number;
919
- syncUnifiedContainer: () => void;
920
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
921
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
922
- sync: () => void;
923
- handleMouseEnterWrapper: () => void;
924
- handleMouseLeaveWrapper: () => void;
925
- } | null, import('naive-ui/es/_internal').ScrollbarInst | {
926
- $el: HTMLElement;
927
- containerRef: HTMLElement | null;
928
- contentRef: HTMLElement | null;
929
- containerScrollTop: number;
930
- syncUnifiedContainer: () => void;
931
- scrollTo: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollTo;
932
- scrollBy: import('naive-ui/es/_internal/scrollbar/src/Scrollbar').ScrollBy;
933
- sync: () => void;
934
- handleMouseEnterWrapper: () => void;
935
- handleMouseLeaveWrapper: () => void;
936
- } | null>;
937
- 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;
938
- uncontrolledValue: import('vue').Ref<string | [string, string] | null, string | [string, string] | null>;
939
- mergedValue: import('vue').ComputedRef<string | [string, string] | null>;
940
- passwordVisible: import('vue').Ref<boolean, boolean>;
941
- mergedPlaceholder: import('vue').ComputedRef<[string] | [string, string]>;
942
- showPlaceholder1: import('vue').ComputedRef<string | false>;
943
- showPlaceholder2: import('vue').ComputedRef<boolean | "" | undefined>;
944
- mergedFocus: import('vue').ComputedRef<boolean>;
945
- isComposing: import('vue').Ref<boolean, boolean>;
946
- activated: import('vue').Ref<boolean, boolean>;
947
- showClearButton: import('vue').ComputedRef<boolean>;
948
- mergedSize: import('vue').ComputedRef<"small" | "medium" | "large" | "tiny">;
949
- mergedDisabled: import('vue').ComputedRef<boolean>;
950
- textDecorationStyle: import('vue').ComputedRef<string[] | {
951
- textDecoration: string;
952
- }[]>;
953
- mergedClsPrefix: import('vue').Ref<string, string>;
954
- mergedBordered: import('vue').ComputedRef<boolean>;
955
- mergedShowPasswordOn: import('vue').ComputedRef<"click" | "mousedown" | undefined>;
956
- placeholderStyle: import('vue').Ref<{
957
- top: string;
958
- }, {
959
- top: string;
960
- } | {
961
- top: string;
962
- }>;
963
- mergedStatus: import('vue').ComputedRef<import('naive-ui').FormValidationStatus | undefined>;
964
- textAreaScrollContainerWidth: import('vue').Ref<number | undefined, number | undefined>;
965
- handleTextAreaScroll: (e: Event) => void;
966
- handleCompositionStart: () => void;
967
- handleCompositionEnd: (e: CompositionEvent) => void;
968
- handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void;
969
- handleInputBlur: (e: FocusEvent) => void;
970
- handleInputFocus: (e: FocusEvent, index: number) => void;
971
- handleWrapperBlur: (e: FocusEvent) => void;
972
- handleWrapperFocus: (e: FocusEvent) => void;
973
- handleMouseEnter: () => void;
974
- handleMouseLeave: () => void;
975
- handleMouseDown: (e: MouseEvent) => void;
976
- handleChange: (e: Event, index?: 0 | 1) => void;
977
- handleClick: (e: MouseEvent) => void;
978
- handleClear: (e: MouseEvent) => void;
979
- handlePasswordToggleClick: () => void;
980
- handlePasswordToggleMousedown: (e: MouseEvent) => void;
981
- handleWrapperKeydown: (e: KeyboardEvent) => void;
982
- handleWrapperKeyup: (e: KeyboardEvent) => void;
983
- handleTextAreaMirrorResize: () => void;
984
- getTextareaScrollContainer: () => HTMLTextAreaElement | null;
985
- mergedTheme: import('vue').ComputedRef<{
986
- common: import('naive-ui').ThemeCommonVars;
987
- self: {
988
- fontWeight: string;
989
- countTextColorDisabled: string;
990
- countTextColor: string;
991
- heightTiny: string;
992
- heightSmall: string;
993
- heightMedium: string;
994
- heightLarge: string;
995
- fontSizeTiny: string;
996
- fontSizeSmall: string;
997
- fontSizeMedium: string;
998
- fontSizeLarge: string;
999
- lineHeight: string;
1000
- lineHeightTextarea: string;
1001
- borderRadius: string;
1002
- iconSize: string;
1003
- groupLabelColor: string;
1004
- groupLabelTextColor: string;
1005
- textColor: string;
1006
- textColorDisabled: string;
1007
- textDecorationColor: string;
1008
- caretColor: string;
1009
- placeholderColor: string;
1010
- placeholderColorDisabled: string;
1011
- color: string;
1012
- colorDisabled: string;
1013
- colorFocus: string;
1014
- groupLabelBorder: string;
1015
- border: string;
1016
- borderHover: string;
1017
- borderDisabled: string;
1018
- borderFocus: string;
1019
- boxShadowFocus: string;
1020
- loadingColor: string;
1021
- loadingColorWarning: string;
1022
- borderWarning: string;
1023
- borderHoverWarning: string;
1024
- colorFocusWarning: string;
1025
- borderFocusWarning: string;
1026
- boxShadowFocusWarning: string;
1027
- caretColorWarning: string;
1028
- loadingColorError: string;
1029
- borderError: string;
1030
- borderHoverError: string;
1031
- colorFocusError: string;
1032
- borderFocusError: string;
1033
- boxShadowFocusError: string;
1034
- caretColorError: string;
1035
- clearColor: string;
1036
- clearColorHover: string;
1037
- clearColorPressed: string;
1038
- iconColor: string;
1039
- iconColorDisabled: string;
1040
- iconColorHover: string;
1041
- iconColorPressed: string;
1042
- suffixTextColor: string;
1043
- paddingTiny: string;
1044
- paddingSmall: string;
1045
- paddingMedium: string;
1046
- paddingLarge: string;
1047
- clearSize: string;
1048
- };
1049
- peers: {
1050
- Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
1051
- height: string;
1052
- width: string;
1053
- borderRadius: string;
1054
- color: string;
1055
- colorHover: string;
1056
- railInsetHorizontalBottom: string;
1057
- railInsetHorizontalTop: string;
1058
- railInsetVerticalRight: string;
1059
- railInsetVerticalLeft: string;
1060
- railColor: string;
1061
- }, any>;
1062
- };
1063
- peerOverrides: {
1064
- Scrollbar?: {
1065
- peers?: {
1066
- [x: string]: any;
1067
- } | undefined;
1068
- } | undefined;
1069
- };
1070
- }>;
1071
- cssVars: import('vue').ComputedRef<{
1072
- "--n-bezier": string;
1073
- "--n-count-text-color": string;
1074
- "--n-count-text-color-disabled": string;
1075
- "--n-color": string;
1076
- "--n-font-size": string;
1077
- "--n-font-weight": string;
1078
- "--n-border-radius": string;
1079
- "--n-height": string;
1080
- "--n-padding-left": string;
1081
- "--n-padding-right": string;
1082
- "--n-text-color": string;
1083
- "--n-caret-color": string;
1084
- "--n-text-decoration-color": string;
1085
- "--n-border": string;
1086
- "--n-border-disabled": string;
1087
- "--n-border-hover": string;
1088
- "--n-border-focus": string;
1089
- "--n-placeholder-color": string;
1090
- "--n-placeholder-color-disabled": string;
1091
- "--n-icon-size": string;
1092
- "--n-line-height-textarea": string;
1093
- "--n-color-disabled": string;
1094
- "--n-color-focus": string;
1095
- "--n-text-color-disabled": string;
1096
- "--n-box-shadow-focus": string;
1097
- "--n-loading-color": string;
1098
- "--n-caret-color-warning": string;
1099
- "--n-color-focus-warning": string;
1100
- "--n-box-shadow-focus-warning": string;
1101
- "--n-border-warning": string;
1102
- "--n-border-focus-warning": string;
1103
- "--n-border-hover-warning": string;
1104
- "--n-loading-color-warning": string;
1105
- "--n-caret-color-error": string;
1106
- "--n-color-focus-error": string;
1107
- "--n-box-shadow-focus-error": string;
1108
- "--n-border-error": string;
1109
- "--n-border-focus-error": string;
1110
- "--n-border-hover-error": string;
1111
- "--n-loading-color-error": string;
1112
- "--n-clear-color": string;
1113
- "--n-clear-size": string;
1114
- "--n-clear-color-hover": string;
1115
- "--n-clear-color-pressed": string;
1116
- "--n-icon-color": string;
1117
- "--n-icon-color-hover": string;
1118
- "--n-icon-color-pressed": string;
1119
- "--n-icon-color-disabled": string;
1120
- "--n-suffix-text-color": string;
1121
- }> | undefined;
1122
- themeClass: import('vue').Ref<string, string> | undefined;
1123
- onRender: (() => void) | undefined;
1124
- isCompositing: import('vue').Ref<boolean>;
1125
- blur: () => void;
1126
- clear: () => void;
1127
- focus: () => void;
1128
- select: () => void;
1129
- activate: () => void;
1130
- deactivate: () => void;
1131
- scrollTo: (options: ScrollToOptions) => void;
1132
- }, {}, {}, {}, {
1133
- type: "textarea" | "text" | "password";
1134
- readonly: string | boolean;
1135
- disabled: boolean | undefined;
1136
- round: boolean;
1137
- autofocus: boolean;
1138
- loading: boolean;
1139
- autosize: boolean | {
1140
- minRows?: number;
1141
- maxRows?: number;
1142
- };
1143
- bordered: boolean | undefined;
1144
- clearable: boolean;
1145
- defaultValue: string | [string, string] | null;
1146
- resizable: boolean;
1147
- stateful: boolean;
1148
- pair: boolean;
1149
- rows: string | number;
1150
- passivelyActivated: boolean;
1151
- showCount: boolean;
1152
- attrSize: number;
1153
- internalDeactivateOnEnter: boolean;
1154
- internalForceFocus: boolean;
1155
- internalLoadingBeforeSuffix: boolean;
1156
- showPasswordToggle: boolean;
1157
- }> | null;
1158
- }, HTMLDivElement>;
1159
- export default _default;
9
+ type __VLS_ModelProps = {
10
+ 'value'?: string;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare const __VLS_export: vue13.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, vue13.ComponentOptionsMixin, vue13.ComponentOptionsMixin, {
14
+ "update:value": (value: string | undefined) => any;
15
+ }, string, vue13.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, vue13.ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ //#endregion
20
+ export { _default };