@opendesign-plus-test/components 0.0.1-rc.54 → 0.0.1-rc.55

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 (38) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +46 -66
  3. package/dist/components/OHeaderSearch.vue.d.ts +534 -814
  4. package/dist/components.cjs.js +42 -42
  5. package/dist/components.css +1 -1
  6. package/dist/components.es.js +10379 -11437
  7. package/dist/index.d.ts +0 -1
  8. package/package.json +1 -1
  9. package/src/assets/svg-icons/icon-delete.svg +1 -5
  10. package/src/components/OHeaderSearch.vue +418 -448
  11. package/src/components/OPlusConfigProvider.vue +2 -2
  12. package/src/i18n/en.ts +0 -10
  13. package/src/i18n/zh.ts +0 -10
  14. package/src/index.ts +0 -1
  15. package/vite.config.ts +0 -4
  16. package/dist/components/search/OSearchInput.vue.d.ts +0 -1001
  17. package/dist/components/search/composables/useImageSearch.d.ts +0 -48
  18. package/dist/components/search/composables/useKeywordHighlight.d.ts +0 -2
  19. package/dist/components/search/composables/useSearchHistory.d.ts +0 -14
  20. package/dist/components/search/index.d.ts +0 -587
  21. package/dist/components/search/internal/HighlightText.vue.d.ts +0 -9
  22. package/dist/components/search/internal/SearchImageInput.vue.d.ts +0 -716
  23. package/dist/components/search/internal/SearchPanel.vue.d.ts +0 -100
  24. package/dist/components/search/types.d.ts +0 -20
  25. package/src/assets/svg-icons/icon-delete-hover.svg +0 -4
  26. package/src/assets/svg-icons/icon-image-close.svg +0 -4
  27. package/src/assets/svg-icons/icon-image-upload.svg +0 -3
  28. package/src/assets/svg-icons/icon-image-zoomin.svg +0 -3
  29. package/src/assets/svg-icons/icon-refresh.svg +0 -3
  30. package/src/components/search/OSearchInput.vue +0 -503
  31. package/src/components/search/composables/useImageSearch.ts +0 -157
  32. package/src/components/search/composables/useKeywordHighlight.ts +0 -30
  33. package/src/components/search/composables/useSearchHistory.ts +0 -75
  34. package/src/components/search/index.ts +0 -23
  35. package/src/components/search/internal/HighlightText.vue +0 -37
  36. package/src/components/search/internal/SearchImageInput.vue +0 -498
  37. package/src/components/search/internal/SearchPanel.vue +0 -431
  38. package/src/components/search/types.ts +0 -25
@@ -1,1001 +0,0 @@
1
- import { OSearchRecommendItem, OSearchUploadImageFn } from './types';
2
- export interface OSearchInputPropsT {
3
- modelValue?: string;
4
- imageUrl?: string;
5
- size?: 'small' | 'medium' | 'large';
6
- placeholder?: string;
7
- imagePlaceholder?: string;
8
- /** ---- Image search ---- */
9
- enableImageSearch?: boolean;
10
- uploadImage?: OSearchUploadImageFn;
11
- maxImageSize?: number;
12
- imageUploadTooltip?: string;
13
- allowedImageTypes?: string[];
14
- /** ---- Recommendation lists (controlled by parent) ---- */
15
- suggestItems?: OSearchRecommendItem[];
16
- onestepItems?: OSearchRecommendItem[];
17
- suggestTitle?: string;
18
- onestepTitle?: string;
19
- noDataText?: string;
20
- /** When true, show "no data" placeholder for empty suggest while typing */
21
- showSuggestEmpty?: boolean;
22
- highlightKeyword?: boolean;
23
- debounce?: number;
24
- /** ---- History ---- */
25
- enableHistory?: boolean;
26
- historyItems?: string[];
27
- maxHistoryCount?: number;
28
- storeHistory?: boolean;
29
- storageKey?: string;
30
- historyTitle?: string;
31
- /** Auto-record history on search; default true */
32
- autoSaveHistory?: boolean;
33
- /** ---- "Did you mean" list (below input) ---- */
34
- suggestList?: string[];
35
- suggestListLabel?: string;
36
- /** ---- Misc ---- */
37
- clearable?: boolean;
38
- closeOnSearch?: boolean;
39
- closeOnClickOutside?: boolean;
40
- /** Show dropdown on focus even when empty (history) */
41
- openOnFocus?: boolean;
42
- /** Always show image as inline thumbnail inside the input; never expand preview below */
43
- alwaysInlineThumbnail?: boolean;
44
- }
45
- declare function __VLS_template(): {
46
- attrs: Partial<{}>;
47
- slots: {
48
- 'input-prefix'?(_: {}): any;
49
- 'input-suffix'?(_: {
50
- hasValue: boolean;
51
- }): any;
52
- 'image-preview'?(_: {
53
- previewUrl: string;
54
- remove: () => void;
55
- }): any;
56
- dropdown?(_: {
57
- keyword: string;
58
- }): any;
59
- 'onestep-header'?(_: {
60
- items: OSearchRecommendItem[];
61
- }): any;
62
- 'onestep-content'?(_: {
63
- items: OSearchRecommendItem[];
64
- keyword: string;
65
- }): any;
66
- 'suggest-header'?(_: {
67
- items: OSearchRecommendItem[];
68
- }): any;
69
- 'suggest-content'?(_: {
70
- items: OSearchRecommendItem[];
71
- keyword: string;
72
- }): any;
73
- 'history-header'?(_: {
74
- items: string[];
75
- }): any;
76
- 'history-content'?(_: {
77
- items: string[];
78
- }): any;
79
- 'suggest-list'?(_: {
80
- items: string[];
81
- }): any;
82
- };
83
- refs: {
84
- wrapperRef: HTMLDivElement;
85
- inputRef: ({
86
- $: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
87
- $data: {};
88
- $props: {
89
- readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
90
- readonly modelValue?: string | undefined;
91
- readonly imageUrl?: string | undefined;
92
- readonly placeholder?: string | undefined;
93
- readonly imagePlaceholder?: string | undefined;
94
- readonly size?: "small" | "medium" | "large" | undefined;
95
- readonly enableImageSearch?: boolean | undefined;
96
- readonly uploadImage?: OSearchUploadImageFn | undefined;
97
- readonly maxImageSize?: number | undefined;
98
- readonly imageUploadTooltip?: string | undefined;
99
- readonly expanded?: boolean | undefined;
100
- readonly clearable?: boolean | undefined;
101
- readonly showSuffix?: boolean | undefined;
102
- readonly inlineThumbnail?: boolean | undefined;
103
- readonly preview?: boolean | undefined;
104
- readonly disabled?: boolean | undefined;
105
- readonly allowedImageTypes?: string[] | undefined;
106
- } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps;
107
- $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
108
- $refs: {
109
- [x: string]: unknown;
110
- } & {
111
- inputRef: ({
112
- $: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
113
- $data: {};
114
- $props: Partial<{
115
- color: "normal" | "primary" | "success" | "warning" | "danger";
116
- type: "text" | "password";
117
- disabled: boolean;
118
- variant: "solid" | "outline" | "text";
119
- clearable: boolean;
120
- readonly: boolean;
121
- showLength: "auto" | "always" | "never";
122
- inputOnOutlimit: boolean;
123
- showPasswordEvent: "click" | "pointerdown";
124
- autoWidth: boolean;
125
- passwordPlaceholder: string;
126
- onlyNumericInput: boolean;
127
- }> & Omit<{
128
- readonly type: "text" | "password";
129
- readonly color: "primary" | "normal" | "success" | "warning" | "danger";
130
- readonly variant: "text" | "solid" | "outline";
131
- readonly disabled: boolean;
132
- readonly clearable: boolean;
133
- readonly readonly: boolean;
134
- readonly showLength: "never" | "always" | "auto";
135
- readonly inputOnOutlimit: boolean;
136
- readonly showPasswordEvent: "click" | "pointerdown";
137
- readonly autoWidth: boolean;
138
- readonly passwordPlaceholder: string;
139
- readonly onlyNumericInput: boolean;
140
- readonly size?: "small" | "large" | "medium" | undefined;
141
- readonly round?: import('@opensig/opendesign').RoundT | undefined;
142
- readonly placeholder?: string | undefined;
143
- readonly defaultValue?: string | number | undefined;
144
- readonly modelValue?: string | number | undefined;
145
- readonly inputId?: string | undefined;
146
- readonly minLength?: number | undefined;
147
- readonly maxLength?: number | undefined;
148
- readonly getLength?: ((val: string) => number) | undefined;
149
- readonly format?: ((value: string) => string) | undefined;
150
- readonly validate?: ((value: string) => boolean) | undefined;
151
- readonly valueOnInvalidChange?: boolean | ((inputValue: string, lastValidInputValue: string) => string) | undefined;
152
- readonly onInput?: ((evt: Event, value: string) => any) | undefined | undefined;
153
- readonly onClear?: ((evt?: Event | undefined) => any) | undefined | undefined;
154
- readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
155
- readonly onChange?: ((value: string) => any) | undefined | undefined;
156
- readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
157
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
158
- readonly onPressEnter?: ((evt: KeyboardEvent) => any) | undefined | undefined;
159
- } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "type" | "color" | "variant" | "disabled" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
160
- $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
161
- $refs: {
162
- [x: string]: unknown;
163
- };
164
- $slots: Readonly<{
165
- [name: string]: import('../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
166
- }>;
167
- $root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
168
- $parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
169
- $host: Element | null;
170
- $emit: ((event: "input", evt: Event, value: string) => void) & ((event: "clear", evt?: Event | undefined) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", evt: KeyboardEvent) => void);
171
- $el: any;
172
- $options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
173
- size: {
174
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').SizeT>;
175
- };
176
- round: {
177
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').RoundT>;
178
- };
179
- color: {
180
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').Color2T>;
181
- default: string;
182
- };
183
- variant: {
184
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').VariantT>;
185
- default: string;
186
- };
187
- modelValue: {
188
- type: (NumberConstructor | StringConstructor)[];
189
- };
190
- defaultValue: {
191
- type: (NumberConstructor | StringConstructor)[];
192
- };
193
- type: {
194
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"text" | "password">;
195
- default: string;
196
- };
197
- placeholder: {
198
- type: StringConstructor;
199
- };
200
- inputId: {
201
- type: StringConstructor;
202
- };
203
- disabled: {
204
- type: BooleanConstructor;
205
- };
206
- readonly: {
207
- type: BooleanConstructor;
208
- };
209
- clearable: {
210
- type: BooleanConstructor;
211
- };
212
- minLength: {
213
- type: NumberConstructor;
214
- };
215
- maxLength: {
216
- type: NumberConstructor;
217
- };
218
- showLength: {
219
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"always" | "auto" | "never">;
220
- default: string;
221
- };
222
- getLength: {
223
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(val: string) => number>;
224
- };
225
- inputOnOutlimit: {
226
- type: BooleanConstructor;
227
- default: boolean;
228
- };
229
- format: {
230
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => string>;
231
- };
232
- validate: {
233
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => boolean>;
234
- };
235
- valueOnInvalidChange: {
236
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | ((inputValue: string, lastValidInputValue: string) => string)>;
237
- };
238
- showPasswordEvent: {
239
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"click" | "pointerdown">;
240
- default: string;
241
- };
242
- autoWidth: {
243
- type: BooleanConstructor;
244
- };
245
- passwordPlaceholder: {
246
- type: StringConstructor;
247
- default: string;
248
- };
249
- onlyNumericInput: {
250
- type: BooleanConstructor;
251
- };
252
- }>> & Readonly<{
253
- onInput?: ((evt: Event, value: string) => any) | undefined;
254
- onClear?: ((evt?: Event | undefined) => any) | undefined;
255
- onBlur?: ((evt: FocusEvent) => any) | undefined;
256
- onChange?: ((value: string) => any) | undefined;
257
- onFocus?: ((evt: FocusEvent) => any) | undefined;
258
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
259
- onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
260
- }>, {
261
- focus: () => void | undefined;
262
- blur: () => void | undefined;
263
- clear: () => void | undefined;
264
- inputEl: () => HTMLInputElement | HTMLTextAreaElement | undefined;
265
- togglePassword: () => void | undefined;
266
- }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
267
- input: (evt: Event, value: string) => any;
268
- clear: (evt?: Event | undefined) => any;
269
- blur: (evt: FocusEvent) => any;
270
- change: (value: string) => any;
271
- focus: (evt: FocusEvent) => any;
272
- "update:modelValue": (value: string) => any;
273
- pressEnter: (evt: KeyboardEvent) => any;
274
- }, string, {
275
- color: "normal" | "primary" | "success" | "warning" | "danger";
276
- type: "text" | "password";
277
- disabled: boolean;
278
- variant: "solid" | "outline" | "text";
279
- clearable: boolean;
280
- readonly: boolean;
281
- showLength: "auto" | "always" | "never";
282
- inputOnOutlimit: boolean;
283
- showPasswordEvent: "click" | "pointerdown";
284
- autoWidth: boolean;
285
- passwordPlaceholder: string;
286
- onlyNumericInput: boolean;
287
- }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
288
- beforeCreate?: (() => void) | (() => void)[];
289
- created?: (() => void) | (() => void)[];
290
- beforeMount?: (() => void) | (() => void)[];
291
- mounted?: (() => void) | (() => void)[];
292
- beforeUpdate?: (() => void) | (() => void)[];
293
- updated?: (() => void) | (() => void)[];
294
- activated?: (() => void) | (() => void)[];
295
- deactivated?: (() => void) | (() => void)[];
296
- beforeDestroy?: (() => void) | (() => void)[];
297
- beforeUnmount?: (() => void) | (() => void)[];
298
- destroyed?: (() => void) | (() => void)[];
299
- unmounted?: (() => void) | (() => void)[];
300
- renderTracked?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
301
- renderTriggered?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
302
- errorCaptured?: ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void)[];
303
- };
304
- $forceUpdate: () => void;
305
- $nextTick: typeof import('../../../vue/dist/vue.esm-bundler.js').nextTick;
306
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
307
- } & Readonly<{
308
- color: "normal" | "primary" | "success" | "warning" | "danger";
309
- type: "text" | "password";
310
- disabled: boolean;
311
- variant: "solid" | "outline" | "text";
312
- clearable: boolean;
313
- readonly: boolean;
314
- showLength: "auto" | "always" | "never";
315
- inputOnOutlimit: boolean;
316
- showPasswordEvent: "click" | "pointerdown";
317
- autoWidth: boolean;
318
- passwordPlaceholder: string;
319
- onlyNumericInput: boolean;
320
- }> & Omit<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
321
- size: {
322
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').SizeT>;
323
- };
324
- round: {
325
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').RoundT>;
326
- };
327
- color: {
328
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').Color2T>;
329
- default: string;
330
- };
331
- variant: {
332
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').VariantT>;
333
- default: string;
334
- };
335
- modelValue: {
336
- type: (NumberConstructor | StringConstructor)[];
337
- };
338
- defaultValue: {
339
- type: (NumberConstructor | StringConstructor)[];
340
- };
341
- type: {
342
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"text" | "password">;
343
- default: string;
344
- };
345
- placeholder: {
346
- type: StringConstructor;
347
- };
348
- inputId: {
349
- type: StringConstructor;
350
- };
351
- disabled: {
352
- type: BooleanConstructor;
353
- };
354
- readonly: {
355
- type: BooleanConstructor;
356
- };
357
- clearable: {
358
- type: BooleanConstructor;
359
- };
360
- minLength: {
361
- type: NumberConstructor;
362
- };
363
- maxLength: {
364
- type: NumberConstructor;
365
- };
366
- showLength: {
367
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"always" | "auto" | "never">;
368
- default: string;
369
- };
370
- getLength: {
371
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(val: string) => number>;
372
- };
373
- inputOnOutlimit: {
374
- type: BooleanConstructor;
375
- default: boolean;
376
- };
377
- format: {
378
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => string>;
379
- };
380
- validate: {
381
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => boolean>;
382
- };
383
- valueOnInvalidChange: {
384
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | ((inputValue: string, lastValidInputValue: string) => string)>;
385
- };
386
- showPasswordEvent: {
387
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"click" | "pointerdown">;
388
- default: string;
389
- };
390
- autoWidth: {
391
- type: BooleanConstructor;
392
- };
393
- passwordPlaceholder: {
394
- type: StringConstructor;
395
- default: string;
396
- };
397
- onlyNumericInput: {
398
- type: BooleanConstructor;
399
- };
400
- }>> & Readonly<{
401
- onInput?: ((evt: Event, value: string) => any) | undefined;
402
- onClear?: ((evt?: Event | undefined) => any) | undefined;
403
- onBlur?: ((evt: FocusEvent) => any) | undefined;
404
- onChange?: ((value: string) => any) | undefined;
405
- onFocus?: ((evt: FocusEvent) => any) | undefined;
406
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
407
- onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
408
- }>, "type" | "color" | "variant" | "disabled" | "clear" | "blur" | "focus" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
409
- focus: () => void | undefined;
410
- blur: () => void | undefined;
411
- clear: () => void | undefined;
412
- inputEl: () => HTMLInputElement | HTMLTextAreaElement | undefined;
413
- togglePassword: () => void | undefined;
414
- } & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
415
- $slots: Readonly<{
416
- default(): any;
417
- prepend(): any;
418
- append(): any;
419
- prefix(): any;
420
- suffix(): any;
421
- }> & {
422
- default(): any;
423
- prepend(): any;
424
- append(): any;
425
- prefix(): any;
426
- suffix(): any;
427
- };
428
- }) | null;
429
- uploadBtnRef: HTMLSpanElement;
430
- fileInputRef: HTMLInputElement;
431
- };
432
- $slots: Readonly<{
433
- [name: string]: import('../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
434
- }>;
435
- $root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
436
- $parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
437
- $host: Element | null;
438
- $emit: (event: string, ...args: any[]) => void;
439
- $el: HTMLDivElement;
440
- $options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
441
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
442
- }>, {
443
- focus: () => void | undefined;
444
- blur: () => void | undefined;
445
- awaitUpload: () => Promise<void>;
446
- getUploadedUrl: () => string;
447
- getIsUploading: () => boolean;
448
- resetImage: () => void;
449
- }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
450
- [x: string]: any;
451
- } & {
452
- [x: string]: any;
453
- }, string, {
454
- size: "small" | "medium" | "large";
455
- disabled: boolean;
456
- preview: boolean;
457
- modelValue: string;
458
- imageUrl: string;
459
- enableImageSearch: boolean;
460
- maxImageSize: number;
461
- expanded: boolean;
462
- clearable: boolean;
463
- showSuffix: boolean;
464
- inlineThumbnail: boolean;
465
- allowedImageTypes: string[];
466
- }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
467
- beforeCreate?: (() => void) | (() => void)[];
468
- created?: (() => void) | (() => void)[];
469
- beforeMount?: (() => void) | (() => void)[];
470
- mounted?: (() => void) | (() => void)[];
471
- beforeUpdate?: (() => void) | (() => void)[];
472
- updated?: (() => void) | (() => void)[];
473
- activated?: (() => void) | (() => void)[];
474
- deactivated?: (() => void) | (() => void)[];
475
- beforeDestroy?: (() => void) | (() => void)[];
476
- beforeUnmount?: (() => void) | (() => void)[];
477
- destroyed?: (() => void) | (() => void)[];
478
- unmounted?: (() => void) | (() => void)[];
479
- renderTracked?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
480
- renderTriggered?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
481
- errorCaptured?: ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void)[];
482
- };
483
- $forceUpdate: () => void;
484
- $nextTick: typeof import('../../../vue/dist/vue.esm-bundler.js').nextTick;
485
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
486
- } & Readonly<{
487
- size: "small" | "medium" | "large";
488
- disabled: boolean;
489
- preview: boolean;
490
- modelValue: string;
491
- imageUrl: string;
492
- enableImageSearch: boolean;
493
- maxImageSize: number;
494
- expanded: boolean;
495
- clearable: boolean;
496
- showSuffix: boolean;
497
- inlineThumbnail: boolean;
498
- allowedImageTypes: string[];
499
- }> & Omit<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
500
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
501
- }>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "preview" | "modelValue" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "expanded" | "clearable" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
502
- focus: () => void | undefined;
503
- blur: () => void | undefined;
504
- awaitUpload: () => Promise<void>;
505
- getUploadedUrl: () => string;
506
- getIsUploading: () => boolean;
507
- resetImage: () => void;
508
- } & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
509
- $slots: {
510
- prefix?(_: {}): any;
511
- suffix?(_: {
512
- hasValue: boolean;
513
- }): any;
514
- preview?(_: {
515
- previewUrl: string;
516
- remove: () => void;
517
- }): any;
518
- };
519
- }) | null;
520
- };
521
- rootEl: HTMLDivElement;
522
- };
523
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
524
- declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<OSearchInputPropsT, {
525
- focus: () => void | undefined;
526
- blur: () => void | undefined;
527
- search: () => Promise<void>;
528
- saveHistory: (val?: string) => void;
529
- }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
530
- [x: string]: any;
531
- } & {
532
- [x: string]: any;
533
- }, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<OSearchInputPropsT> & Readonly<{
534
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
535
- }>, {
536
- size: "small" | "medium" | "large";
537
- modelValue: string;
538
- imageUrl: string;
539
- enableImageSearch: boolean;
540
- maxImageSize: number;
541
- clearable: boolean;
542
- onestepItems: OSearchRecommendItem[];
543
- suggestItems: OSearchRecommendItem[];
544
- historyItems: string[];
545
- highlightKeyword: boolean;
546
- showSuggestEmpty: boolean;
547
- storageKey: string;
548
- storeHistory: boolean;
549
- maxHistoryCount: number;
550
- debounce: number;
551
- autoSaveHistory: boolean;
552
- enableHistory: boolean;
553
- suggestList: string[];
554
- closeOnSearch: boolean;
555
- closeOnClickOutside: boolean;
556
- openOnFocus: boolean;
557
- }, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
558
- wrapperRef: HTMLDivElement;
559
- inputRef: ({
560
- $: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
561
- $data: {};
562
- $props: {
563
- readonly [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
564
- readonly modelValue?: string | undefined;
565
- readonly imageUrl?: string | undefined;
566
- readonly placeholder?: string | undefined;
567
- readonly imagePlaceholder?: string | undefined;
568
- readonly size?: "small" | "medium" | "large" | undefined;
569
- readonly enableImageSearch?: boolean | undefined;
570
- readonly uploadImage?: OSearchUploadImageFn | undefined;
571
- readonly maxImageSize?: number | undefined;
572
- readonly imageUploadTooltip?: string | undefined;
573
- readonly expanded?: boolean | undefined;
574
- readonly clearable?: boolean | undefined;
575
- readonly showSuffix?: boolean | undefined;
576
- readonly inlineThumbnail?: boolean | undefined;
577
- readonly preview?: boolean | undefined;
578
- readonly disabled?: boolean | undefined;
579
- readonly allowedImageTypes?: string[] | undefined;
580
- } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps;
581
- $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
582
- $refs: {
583
- [x: string]: unknown;
584
- } & {
585
- inputRef: ({
586
- $: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
587
- $data: {};
588
- $props: Partial<{
589
- color: "normal" | "primary" | "success" | "warning" | "danger";
590
- type: "text" | "password";
591
- disabled: boolean;
592
- variant: "solid" | "outline" | "text";
593
- clearable: boolean;
594
- readonly: boolean;
595
- showLength: "auto" | "always" | "never";
596
- inputOnOutlimit: boolean;
597
- showPasswordEvent: "click" | "pointerdown";
598
- autoWidth: boolean;
599
- passwordPlaceholder: string;
600
- onlyNumericInput: boolean;
601
- }> & Omit<{
602
- readonly type: "text" | "password";
603
- readonly color: "primary" | "normal" | "success" | "warning" | "danger";
604
- readonly variant: "text" | "solid" | "outline";
605
- readonly disabled: boolean;
606
- readonly clearable: boolean;
607
- readonly readonly: boolean;
608
- readonly showLength: "never" | "always" | "auto";
609
- readonly inputOnOutlimit: boolean;
610
- readonly showPasswordEvent: "click" | "pointerdown";
611
- readonly autoWidth: boolean;
612
- readonly passwordPlaceholder: string;
613
- readonly onlyNumericInput: boolean;
614
- readonly size?: "small" | "large" | "medium" | undefined;
615
- readonly round?: import('@opensig/opendesign').RoundT | undefined;
616
- readonly placeholder?: string | undefined;
617
- readonly defaultValue?: string | number | undefined;
618
- readonly modelValue?: string | number | undefined;
619
- readonly inputId?: string | undefined;
620
- readonly minLength?: number | undefined;
621
- readonly maxLength?: number | undefined;
622
- readonly getLength?: ((val: string) => number) | undefined;
623
- readonly format?: ((value: string) => string) | undefined;
624
- readonly validate?: ((value: string) => boolean) | undefined;
625
- readonly valueOnInvalidChange?: boolean | ((inputValue: string, lastValidInputValue: string) => string) | undefined;
626
- readonly onInput?: ((evt: Event, value: string) => any) | undefined | undefined;
627
- readonly onClear?: ((evt?: Event | undefined) => any) | undefined | undefined;
628
- readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
629
- readonly onChange?: ((value: string) => any) | undefined | undefined;
630
- readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
631
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
632
- readonly onPressEnter?: ((evt: KeyboardEvent) => any) | undefined | undefined;
633
- } & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, "type" | "color" | "variant" | "disabled" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput">;
634
- $attrs: import('../../../vue/dist/vue.esm-bundler.js').Attrs;
635
- $refs: {
636
- [x: string]: unknown;
637
- };
638
- $slots: Readonly<{
639
- [name: string]: import('../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
640
- }>;
641
- $root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
642
- $parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
643
- $host: Element | null;
644
- $emit: ((event: "input", evt: Event, value: string) => void) & ((event: "clear", evt?: Event | undefined) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", evt: KeyboardEvent) => void);
645
- $el: any;
646
- $options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
647
- size: {
648
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').SizeT>;
649
- };
650
- round: {
651
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').RoundT>;
652
- };
653
- color: {
654
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').Color2T>;
655
- default: string;
656
- };
657
- variant: {
658
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').VariantT>;
659
- default: string;
660
- };
661
- modelValue: {
662
- type: (NumberConstructor | StringConstructor)[];
663
- };
664
- defaultValue: {
665
- type: (NumberConstructor | StringConstructor)[];
666
- };
667
- type: {
668
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"text" | "password">;
669
- default: string;
670
- };
671
- placeholder: {
672
- type: StringConstructor;
673
- };
674
- inputId: {
675
- type: StringConstructor;
676
- };
677
- disabled: {
678
- type: BooleanConstructor;
679
- };
680
- readonly: {
681
- type: BooleanConstructor;
682
- };
683
- clearable: {
684
- type: BooleanConstructor;
685
- };
686
- minLength: {
687
- type: NumberConstructor;
688
- };
689
- maxLength: {
690
- type: NumberConstructor;
691
- };
692
- showLength: {
693
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"always" | "auto" | "never">;
694
- default: string;
695
- };
696
- getLength: {
697
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(val: string) => number>;
698
- };
699
- inputOnOutlimit: {
700
- type: BooleanConstructor;
701
- default: boolean;
702
- };
703
- format: {
704
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => string>;
705
- };
706
- validate: {
707
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => boolean>;
708
- };
709
- valueOnInvalidChange: {
710
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | ((inputValue: string, lastValidInputValue: string) => string)>;
711
- };
712
- showPasswordEvent: {
713
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"click" | "pointerdown">;
714
- default: string;
715
- };
716
- autoWidth: {
717
- type: BooleanConstructor;
718
- };
719
- passwordPlaceholder: {
720
- type: StringConstructor;
721
- default: string;
722
- };
723
- onlyNumericInput: {
724
- type: BooleanConstructor;
725
- };
726
- }>> & Readonly<{
727
- onInput?: ((evt: Event, value: string) => any) | undefined;
728
- onClear?: ((evt?: Event | undefined) => any) | undefined;
729
- onBlur?: ((evt: FocusEvent) => any) | undefined;
730
- onChange?: ((value: string) => any) | undefined;
731
- onFocus?: ((evt: FocusEvent) => any) | undefined;
732
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
733
- onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
734
- }>, {
735
- focus: () => void | undefined;
736
- blur: () => void | undefined;
737
- clear: () => void | undefined;
738
- inputEl: () => HTMLInputElement | HTMLTextAreaElement | undefined;
739
- togglePassword: () => void | undefined;
740
- }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
741
- input: (evt: Event, value: string) => any;
742
- clear: (evt?: Event | undefined) => any;
743
- blur: (evt: FocusEvent) => any;
744
- change: (value: string) => any;
745
- focus: (evt: FocusEvent) => any;
746
- "update:modelValue": (value: string) => any;
747
- pressEnter: (evt: KeyboardEvent) => any;
748
- }, string, {
749
- color: "normal" | "primary" | "success" | "warning" | "danger";
750
- type: "text" | "password";
751
- disabled: boolean;
752
- variant: "solid" | "outline" | "text";
753
- clearable: boolean;
754
- readonly: boolean;
755
- showLength: "auto" | "always" | "never";
756
- inputOnOutlimit: boolean;
757
- showPasswordEvent: "click" | "pointerdown";
758
- autoWidth: boolean;
759
- passwordPlaceholder: string;
760
- onlyNumericInput: boolean;
761
- }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
762
- beforeCreate?: (() => void) | (() => void)[];
763
- created?: (() => void) | (() => void)[];
764
- beforeMount?: (() => void) | (() => void)[];
765
- mounted?: (() => void) | (() => void)[];
766
- beforeUpdate?: (() => void) | (() => void)[];
767
- updated?: (() => void) | (() => void)[];
768
- activated?: (() => void) | (() => void)[];
769
- deactivated?: (() => void) | (() => void)[];
770
- beforeDestroy?: (() => void) | (() => void)[];
771
- beforeUnmount?: (() => void) | (() => void)[];
772
- destroyed?: (() => void) | (() => void)[];
773
- unmounted?: (() => void) | (() => void)[];
774
- renderTracked?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
775
- renderTriggered?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
776
- errorCaptured?: ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void)[];
777
- };
778
- $forceUpdate: () => void;
779
- $nextTick: typeof import('../../../vue/dist/vue.esm-bundler.js').nextTick;
780
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
781
- } & Readonly<{
782
- color: "normal" | "primary" | "success" | "warning" | "danger";
783
- type: "text" | "password";
784
- disabled: boolean;
785
- variant: "solid" | "outline" | "text";
786
- clearable: boolean;
787
- readonly: boolean;
788
- showLength: "auto" | "always" | "never";
789
- inputOnOutlimit: boolean;
790
- showPasswordEvent: "click" | "pointerdown";
791
- autoWidth: boolean;
792
- passwordPlaceholder: string;
793
- onlyNumericInput: boolean;
794
- }> & Omit<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
795
- size: {
796
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').SizeT>;
797
- };
798
- round: {
799
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').RoundT>;
800
- };
801
- color: {
802
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').Color2T>;
803
- default: string;
804
- };
805
- variant: {
806
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<import('@opensig/opendesign').VariantT>;
807
- default: string;
808
- };
809
- modelValue: {
810
- type: (NumberConstructor | StringConstructor)[];
811
- };
812
- defaultValue: {
813
- type: (NumberConstructor | StringConstructor)[];
814
- };
815
- type: {
816
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"text" | "password">;
817
- default: string;
818
- };
819
- placeholder: {
820
- type: StringConstructor;
821
- };
822
- inputId: {
823
- type: StringConstructor;
824
- };
825
- disabled: {
826
- type: BooleanConstructor;
827
- };
828
- readonly: {
829
- type: BooleanConstructor;
830
- };
831
- clearable: {
832
- type: BooleanConstructor;
833
- };
834
- minLength: {
835
- type: NumberConstructor;
836
- };
837
- maxLength: {
838
- type: NumberConstructor;
839
- };
840
- showLength: {
841
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"always" | "auto" | "never">;
842
- default: string;
843
- };
844
- getLength: {
845
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(val: string) => number>;
846
- };
847
- inputOnOutlimit: {
848
- type: BooleanConstructor;
849
- default: boolean;
850
- };
851
- format: {
852
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => string>;
853
- };
854
- validate: {
855
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<(value: string) => boolean>;
856
- };
857
- valueOnInvalidChange: {
858
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<boolean | ((inputValue: string, lastValidInputValue: string) => string)>;
859
- };
860
- showPasswordEvent: {
861
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<"click" | "pointerdown">;
862
- default: string;
863
- };
864
- autoWidth: {
865
- type: BooleanConstructor;
866
- };
867
- passwordPlaceholder: {
868
- type: StringConstructor;
869
- default: string;
870
- };
871
- onlyNumericInput: {
872
- type: BooleanConstructor;
873
- };
874
- }>> & Readonly<{
875
- onInput?: ((evt: Event, value: string) => any) | undefined;
876
- onClear?: ((evt?: Event | undefined) => any) | undefined;
877
- onBlur?: ((evt: FocusEvent) => any) | undefined;
878
- onChange?: ((value: string) => any) | undefined;
879
- onFocus?: ((evt: FocusEvent) => any) | undefined;
880
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
881
- onPressEnter?: ((evt: KeyboardEvent) => any) | undefined;
882
- }>, "type" | "color" | "variant" | "disabled" | "clear" | "blur" | "focus" | "clearable" | "readonly" | "showLength" | "inputOnOutlimit" | "showPasswordEvent" | "autoWidth" | "passwordPlaceholder" | "onlyNumericInput" | "inputEl" | "togglePassword"> & {
883
- focus: () => void | undefined;
884
- blur: () => void | undefined;
885
- clear: () => void | undefined;
886
- inputEl: () => HTMLInputElement | HTMLTextAreaElement | undefined;
887
- togglePassword: () => void | undefined;
888
- } & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
889
- $slots: Readonly<{
890
- default(): any;
891
- prepend(): any;
892
- append(): any;
893
- prefix(): any;
894
- suffix(): any;
895
- }> & {
896
- default(): any;
897
- prepend(): any;
898
- append(): any;
899
- prefix(): any;
900
- suffix(): any;
901
- };
902
- }) | null;
903
- uploadBtnRef: HTMLSpanElement;
904
- fileInputRef: HTMLInputElement;
905
- };
906
- $slots: Readonly<{
907
- [name: string]: import('../../../vue/dist/vue.esm-bundler.js').Slot<any> | undefined;
908
- }>;
909
- $root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
910
- $parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
911
- $host: Element | null;
912
- $emit: (event: string, ...args: any[]) => void;
913
- $el: HTMLDivElement;
914
- $options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
915
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
916
- }>, {
917
- focus: () => void | undefined;
918
- blur: () => void | undefined;
919
- awaitUpload: () => Promise<void>;
920
- getUploadedUrl: () => string;
921
- getIsUploading: () => boolean;
922
- resetImage: () => void;
923
- }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
924
- [x: string]: any;
925
- } & {
926
- [x: string]: any;
927
- }, string, {
928
- size: "small" | "medium" | "large";
929
- disabled: boolean;
930
- preview: boolean;
931
- modelValue: string;
932
- imageUrl: string;
933
- enableImageSearch: boolean;
934
- maxImageSize: number;
935
- expanded: boolean;
936
- clearable: boolean;
937
- showSuffix: boolean;
938
- inlineThumbnail: boolean;
939
- allowedImageTypes: string[];
940
- }, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & {
941
- beforeCreate?: (() => void) | (() => void)[];
942
- created?: (() => void) | (() => void)[];
943
- beforeMount?: (() => void) | (() => void)[];
944
- mounted?: (() => void) | (() => void)[];
945
- beforeUpdate?: (() => void) | (() => void)[];
946
- updated?: (() => void) | (() => void)[];
947
- activated?: (() => void) | (() => void)[];
948
- deactivated?: (() => void) | (() => void)[];
949
- beforeDestroy?: (() => void) | (() => void)[];
950
- beforeUnmount?: (() => void) | (() => void)[];
951
- destroyed?: (() => void) | (() => void)[];
952
- unmounted?: (() => void) | (() => void)[];
953
- renderTracked?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
954
- renderTriggered?: ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void) | ((e: import('../../../vue/dist/vue.esm-bundler.js').DebuggerEvent) => void)[];
955
- errorCaptured?: ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null, info: string) => boolean | void)[];
956
- };
957
- $forceUpdate: () => void;
958
- $nextTick: typeof import('../../../vue/dist/vue.esm-bundler.js').nextTick;
959
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('../../../vue/dist/vue.esm-bundler.js').WatchOptions): import('../../../vue/dist/vue.esm-bundler.js').WatchStopHandle;
960
- } & Readonly<{
961
- size: "small" | "medium" | "large";
962
- disabled: boolean;
963
- preview: boolean;
964
- modelValue: string;
965
- imageUrl: string;
966
- enableImageSearch: boolean;
967
- maxImageSize: number;
968
- expanded: boolean;
969
- clearable: boolean;
970
- showSuffix: boolean;
971
- inlineThumbnail: boolean;
972
- allowedImageTypes: string[];
973
- }> & Omit<Readonly<import('./internal/SearchImageInput.vue').SearchImageInputPropsT> & Readonly<{
974
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
975
- }>, "blur" | "focus" | "awaitUpload" | "getUploadedUrl" | "getIsUploading" | "resetImage" | ("size" | "disabled" | "preview" | "modelValue" | "imageUrl" | "enableImageSearch" | "maxImageSize" | "expanded" | "clearable" | "showSuffix" | "inlineThumbnail" | "allowedImageTypes")> & {
976
- focus: () => void | undefined;
977
- blur: () => void | undefined;
978
- awaitUpload: () => Promise<void>;
979
- getUploadedUrl: () => string;
980
- getIsUploading: () => boolean;
981
- resetImage: () => void;
982
- } & {} & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProperties & {} & {
983
- $slots: {
984
- prefix?(_: {}): any;
985
- suffix?(_: {
986
- hasValue: boolean;
987
- }): any;
988
- preview?(_: {
989
- previewUrl: string;
990
- remove: () => void;
991
- }): any;
992
- };
993
- }) | null;
994
- }, HTMLDivElement>;
995
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
996
- export default _default;
997
- type __VLS_WithTemplateSlots<T, S> = T & {
998
- new (): {
999
- $slots: S;
1000
- };
1001
- };