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

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