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

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.
@@ -538,7 +538,7 @@ declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').Defin
538
538
  blur: () => void | undefined;
539
539
  open: () => void;
540
540
  close: () => void;
541
- search: () => Promise<void>;
541
+ search: (overrideKeyword?: string) => Promise<void>;
542
542
  }, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
543
543
  [x: string]: any;
544
544
  } & {
@@ -30,6 +30,9 @@ export interface OSearchInputPropsT {
30
30
  historyTitle?: string;
31
31
  /** Auto-record history on search; default true */
32
32
  autoSaveHistory?: boolean;
33
+ /** ---- Hot searches (shown alongside history when no keyword) ---- */
34
+ hotItems?: string[];
35
+ hotTitle?: string;
33
36
  /** ---- "Did you mean" list (below input) ---- */
34
37
  suggestList?: string[];
35
38
  suggestListLabel?: string;
@@ -524,7 +527,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
524
527
  declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<OSearchInputPropsT, {
525
528
  focus: () => void | undefined;
526
529
  blur: () => void | undefined;
527
- search: () => Promise<void>;
530
+ search: (overrideKeyword?: string) => Promise<void>;
528
531
  saveHistory: (val?: string) => void;
529
532
  }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
530
533
  [x: string]: any;
@@ -542,6 +545,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
542
545
  onestepItems: OSearchRecommendItem[];
543
546
  suggestItems: OSearchRecommendItem[];
544
547
  historyItems: string[];
548
+ hotItems: string[];
545
549
  highlightKeyword: boolean;
546
550
  showSuggestEmpty: boolean;
547
551
  storageKey: string;
@@ -5,7 +5,7 @@ declare const OSearchInput: {
5
5
  }>, {
6
6
  focus: () => void | undefined;
7
7
  blur: () => void | undefined;
8
- search: () => Promise<void>;
8
+ search: (overrideKeyword?: string) => Promise<void>;
9
9
  saveHistory: (val?: string) => void;
10
10
  }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
11
11
  [x: string]: any;
@@ -21,6 +21,7 @@ declare const OSearchInput: {
21
21
  onestepItems: import('./types').OSearchRecommendItem[];
22
22
  suggestItems: import('./types').OSearchRecommendItem[];
23
23
  historyItems: string[];
24
+ hotItems: string[];
24
25
  highlightKeyword: boolean;
25
26
  showSuggestEmpty: boolean;
26
27
  storageKey: string;
@@ -482,7 +483,7 @@ declare const OSearchInput: {
482
483
  }>, {
483
484
  focus: () => void | undefined;
484
485
  blur: () => void | undefined;
485
- search: () => Promise<void>;
486
+ search: (overrideKeyword?: string) => Promise<void>;
486
487
  saveHistory: (val?: string) => void;
487
488
  }, {}, {}, {}, {
488
489
  size: "small" | "medium" | "large";
@@ -494,6 +495,7 @@ declare const OSearchInput: {
494
495
  onestepItems: import('./types').OSearchRecommendItem[];
495
496
  suggestItems: import('./types').OSearchRecommendItem[];
496
497
  historyItems: string[];
498
+ hotItems: string[];
497
499
  highlightKeyword: boolean;
498
500
  showSuggestEmpty: boolean;
499
501
  storageKey: string;
@@ -515,7 +517,7 @@ declare const OSearchInput: {
515
517
  }>, {
516
518
  focus: () => void | undefined;
517
519
  blur: () => void | undefined;
518
- search: () => Promise<void>;
520
+ search: (overrideKeyword?: string) => Promise<void>;
519
521
  saveHistory: (val?: string) => void;
520
522
  }, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
521
523
  [x: string]: any;
@@ -531,6 +533,7 @@ declare const OSearchInput: {
531
533
  onestepItems: import('./types').OSearchRecommendItem[];
532
534
  suggestItems: import('./types').OSearchRecommendItem[];
533
535
  historyItems: string[];
536
+ hotItems: string[];
534
537
  highlightKeyword: boolean;
535
538
  showSuggestEmpty: boolean;
536
539
  storageKey: string;