@opendesign-plus-test/components 0.0.1-rc.47 → 0.0.1-rc.49

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