@opendesign-plus-test/components 0.0.1-rc.216 → 0.0.1-rc.217

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 (81) hide show
  1. package/dist/components/activity/index.d.ts +9 -9
  2. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  3. package/dist/components/anchor-bar/index.d.ts +9 -9
  4. package/dist/components/article/index.d.ts +25 -25
  5. package/dist/components/article-anchor/index.d.ts +9 -9
  6. package/dist/components/article-pagination/index.d.ts +17 -17
  7. package/dist/components/banner/index.d.ts +6 -6
  8. package/dist/components/brand/index.d.ts +15 -15
  9. package/dist/components/events/index.d.ts +20 -20
  10. package/dist/components/footer/index.d.ts +3 -3
  11. package/dist/components/header/OHeader.vue.d.ts +4 -4
  12. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  13. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  14. package/dist/components/header/index.d.ts +30 -30
  15. package/dist/components/header-search/index.d.ts +13 -13
  16. package/dist/components/logo-swiper/index.d.ts +11 -11
  17. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  18. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  19. package/dist/components/meeting/index.d.ts +48 -48
  20. package/dist/components/org/index.d.ts +9 -9
  21. package/dist/components/recursion-menu/index.d.ts +3 -3
  22. package/dist/components/search/index.d.ts +11 -11
  23. package/dist/components/search-result/OSearchResult.vue.d.ts +3 -0
  24. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  25. package/dist/components/search-result/components/OSearchResultRelative.vue.d.ts +5 -1
  26. package/dist/components/search-result/index.d.ts +33 -26
  27. package/dist/components/sig/index.d.ts +15 -15
  28. package/dist/components/summit/index.d.ts +12 -12
  29. package/dist/components/user-center/index.d.ts +18 -18
  30. package/dist/components/video/index.d.ts +3 -3
  31. package/dist/components.cjs.js +16 -16
  32. package/dist/components.css +1 -1
  33. package/dist/components.es.js +345 -341
  34. package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
  35. package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
  36. package/dist/treeshaking/_virtual/icon-tips.mjs +13 -2
  37. package/dist/treeshaking/_virtual/icon-tips2.mjs +2 -13
  38. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  39. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  40. package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
  41. package/dist/treeshaking/components/article/index.d.ts +25 -25
  42. package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
  43. package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
  44. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  45. package/dist/treeshaking/components/brand/index.d.ts +15 -15
  46. package/dist/treeshaking/components/events/index.d.ts +20 -20
  47. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  48. package/dist/treeshaking/components/header/OHeader.css +17 -17
  49. package/dist/treeshaking/components/header/OHeader.vue.d.ts +4 -4
  50. package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
  51. package/dist/treeshaking/components/header/OHeader.vue2.mjs +2 -3
  52. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  53. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  54. package/dist/treeshaking/components/header/index.d.ts +30 -30
  55. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  56. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  57. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  58. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  59. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  60. package/dist/treeshaking/components/meeting/index.d.ts +48 -48
  61. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
  62. package/dist/treeshaking/components/org/index.d.ts +9 -9
  63. package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
  64. package/dist/treeshaking/components/search/index.d.ts +11 -11
  65. package/dist/treeshaking/components/search-result/OSearchResult.css +23 -23
  66. package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +3 -0
  67. package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +1 -1
  68. package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +7 -3
  69. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
  70. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.css +19 -19
  71. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.d.ts +5 -1
  72. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.mjs +1 -1
  73. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue2.mjs +6 -3
  74. package/dist/treeshaking/components/search-result/index.d.ts +33 -26
  75. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  76. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  77. package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
  78. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  79. package/dist/treeshaking/components/user-center/index.d.ts +18 -18
  80. package/dist/treeshaking/components/video/index.d.ts +3 -3
  81. package/package.json +4 -4
@@ -19,8 +19,8 @@ declare const OSearchInput: {
19
19
  imageUrl: string;
20
20
  enableImageSearch: boolean;
21
21
  maxImageSize: number;
22
- onestepItems: import('./types').OSearchRecommendItem[];
23
- suggestItems: import('./types').OSearchRecommendItem[];
22
+ onestepItems: import('../../index').OSearchRecommendItem[];
23
+ suggestItems: import('../../index').OSearchRecommendItem[];
24
24
  historyItems: string[];
25
25
  hotItems: string[];
26
26
  highlightKeyword: boolean;
@@ -47,7 +47,7 @@ declare const OSearchInput: {
47
47
  readonly imagePlaceholder?: string | undefined;
48
48
  readonly size?: "small" | "medium" | "large" | undefined;
49
49
  readonly enableImageSearch?: boolean | undefined;
50
- readonly uploadImage?: import('./types').OSearchUploadImageFn | undefined;
50
+ readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
51
51
  readonly maxImageSize?: number | undefined;
52
52
  readonly imageUploadTooltip?: string | undefined;
53
53
  readonly expanded?: boolean | undefined;
@@ -509,8 +509,8 @@ declare const OSearchInput: {
509
509
  imageUrl: string;
510
510
  enableImageSearch: boolean;
511
511
  maxImageSize: number;
512
- onestepItems: import('./types').OSearchRecommendItem[];
513
- suggestItems: import('./types').OSearchRecommendItem[];
512
+ onestepItems: import('../../index').OSearchRecommendItem[];
513
+ suggestItems: import('../../index').OSearchRecommendItem[];
514
514
  historyItems: string[];
515
515
  hotItems: string[];
516
516
  highlightKeyword: boolean;
@@ -547,8 +547,8 @@ declare const OSearchInput: {
547
547
  imageUrl: string;
548
548
  enableImageSearch: boolean;
549
549
  maxImageSize: number;
550
- onestepItems: import('./types').OSearchRecommendItem[];
551
- suggestItems: import('./types').OSearchRecommendItem[];
550
+ onestepItems: import('../../index').OSearchRecommendItem[];
551
+ suggestItems: import('../../index').OSearchRecommendItem[];
552
552
  historyItems: string[];
553
553
  hotItems: string[];
554
554
  highlightKeyword: boolean;
@@ -576,17 +576,17 @@ declare const OSearchInput: {
576
576
  keyword: string;
577
577
  }): any;
578
578
  'onestep-header'?(_: {
579
- items: import('./types').OSearchRecommendItem[];
579
+ items: import('../../index').OSearchRecommendItem[];
580
580
  }): any;
581
581
  'onestep-content'?(_: {
582
- items: import('./types').OSearchRecommendItem[];
582
+ items: import('../../index').OSearchRecommendItem[];
583
583
  keyword: string;
584
584
  }): any;
585
585
  'suggest-header'?(_: {
586
- items: import('./types').OSearchRecommendItem[];
586
+ items: import('../../index').OSearchRecommendItem[];
587
587
  }): any;
588
588
  'suggest-content'?(_: {
589
- items: import('./types').OSearchRecommendItem[];
589
+ items: import('../../index').OSearchRecommendItem[];
590
590
  keyword: string;
591
591
  }): any;
592
592
  'history-header'?(_: {
@@ -1,101 +1,101 @@
1
- .hover-icon-rotate .o-icon[data-v-1452b538] {
1
+ .hover-icon-rotate .o-icon[data-v-3e850797] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-1452b538] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-3e850797] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-search-result[data-v-1452b538] {
9
+ .o-search-result[data-v-3e850797] {
10
10
  --o-search-result-radius: var(--o-radius-xs);
11
11
  }
12
- .o-search-result .o-search-result-content-wrap[data-v-1452b538] {
12
+ .o-search-result .o-search-result-content-wrap[data-v-3e850797] {
13
13
  display: flex;
14
14
  max-width: var(--grid-20);
15
15
  padding: 40px 0 72px;
16
16
  margin: 0 auto;
17
17
  }
18
18
  @media (max-width: 1680px) {
19
- .o-search-result .o-search-result-content-wrap[data-v-1452b538] {
19
+ .o-search-result .o-search-result-content-wrap[data-v-3e850797] {
20
20
  padding: 24px 0 56px;
21
21
  }
22
22
  }
23
23
  @media (max-width: 1200px) {
24
- .o-search-result .o-search-result-content-wrap[data-v-1452b538] {
24
+ .o-search-result .o-search-result-content-wrap[data-v-3e850797] {
25
25
  padding: 16px 32px 40px;
26
26
  }
27
27
  }
28
28
  @media (max-width: 840px) {
29
- .o-search-result .o-search-result-content-wrap[data-v-1452b538] {
29
+ .o-search-result .o-search-result-content-wrap[data-v-3e850797] {
30
30
  padding: 24px 32px 40px;
31
31
  }
32
32
  }
33
33
  @media (max-width: 600px) {
34
- .o-search-result .o-search-result-content-wrap[data-v-1452b538] {
34
+ .o-search-result .o-search-result-content-wrap[data-v-3e850797] {
35
35
  padding: 24px;
36
36
  padding-bottom: 32px;
37
37
  }
38
38
  }
39
- .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-1452b538] {
39
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-3e850797] {
40
40
  flex: 1;
41
41
  padding-right: var(--grid-column-gutter);
42
42
  border-right: 1px solid var(--o-color-control4);
43
43
  }
44
44
  @media (max-width: 1200px) {
45
- .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-1452b538] {
45
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-3e850797] {
46
46
  border-right: none;
47
47
  }
48
48
  }
49
- .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-1452b538] {
49
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-3e850797] {
50
50
  width: var(--grid-5);
51
51
  padding-left: var(--grid-column-gutter);
52
52
  }
53
53
  @media (max-width: 1680px) {
54
- .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-1452b538] {
54
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-3e850797] {
55
55
  width: var(--grid-6);
56
56
  }
57
57
  }
58
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-1452b538] {
58
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-3e850797] {
59
59
  margin-top: 24px;
60
60
  margin-bottom: 32px;
61
61
  }
62
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-1452b538] .o-skeleton-item .o-skeleton-line:nth-child(1) {
62
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-3e850797] .o-skeleton-item .o-skeleton-line:nth-child(1) {
63
63
  width: 52%;
64
64
  height: 28px;
65
65
  }
66
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-1452b538] .o-skeleton-item .o-skeleton-line:nth-child(2) {
66
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-3e850797] .o-skeleton-item .o-skeleton-line:nth-child(2) {
67
67
  height: 48px;
68
68
  }
69
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-1452b538] .o-skeleton-item .o-skeleton-line:nth-child(3) {
69
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-3e850797] .o-skeleton-item .o-skeleton-line:nth-child(3) {
70
70
  width: 38%;
71
71
  height: 18px;
72
72
  }
73
- .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-1452b538] {
73
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-3e850797] {
74
74
  margin: 16px 0;
75
75
  }
76
- .o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-1452b538] {
76
+ .o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-3e850797] {
77
77
  width: 320px;
78
78
  }
79
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-1452b538] {
79
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-3e850797] {
80
80
  padding: 24px 0;
81
81
  }
82
82
  @media (max-width: 1680px) {
83
- .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-1452b538] {
83
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-3e850797] {
84
84
  padding: 16px 0;
85
85
  }
86
86
  }
87
- .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-1452b538] {
87
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-3e850797] {
88
88
  display: flex;
89
89
  justify-content: flex-end;
90
90
  margin-top: 32px;
91
91
  }
92
92
  @media (max-width: 1680px) {
93
- .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-1452b538] {
93
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-3e850797] {
94
94
  margin-top: 24px;
95
95
  }
96
96
  }
97
97
  @media (max-width: 1200px) {
98
- .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-1452b538] {
98
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-3e850797] {
99
99
  margin-top: 16px;
100
100
  }
101
101
  }
@@ -35,9 +35,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
35
35
  "update:pageSize": (value: number) => any;
36
36
  "update:page": (value: number) => any;
37
37
  "update:version": (value: SelectValueT) => any;
38
+ } & {
39
+ "click-relative-search-item": (item: OSearchRelativeItemT) => any;
38
40
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
39
41
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
40
42
  "onUpdate:page"?: ((value: number) => any) | undefined;
43
+ "onClick-relative-search-item"?: ((item: OSearchRelativeItemT) => any) | undefined;
41
44
  "onUpdate:version"?: ((value: SelectValueT) => any) | undefined;
42
45
  }>, {
43
46
  total: number;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OSearchResult.vue2.mjs";
2
2
  import './OSearchResult.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1452b538"]]);
4
+ const _OSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3e850797"]]);
5
5
  export {
6
6
  _OSearchResult as default
7
7
  };
@@ -29,11 +29,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  "pageSize": { default: 10 },
30
30
  "pageSizeModifiers": {}
31
31
  }),
32
- emits: ["update:version", "update:page", "update:pageSize"],
33
- setup(__props) {
32
+ emits: /* @__PURE__ */ mergeModels(["click-relative-search-item"], ["update:version", "update:page", "update:pageSize"]),
33
+ setup(__props, { emit: __emit }) {
34
34
  const versionVal = useModel(__props, "version");
35
35
  const page = useModel(__props, "page");
36
36
  const pageSize = useModel(__props, "pageSize");
37
+ const emit = __emit;
37
38
  const { lePad, lePadV } = useScreen();
38
39
  return (_ctx, _cache) => {
39
40
  return openBlock(), createElementBlock("div", _hoisted_1, [
@@ -102,7 +103,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
103
  ]),
103
104
  !unref(lePad) ? renderSlot(_ctx.$slots, "right", { key: 0 }, () => [
104
105
  createElementVNode("div", _hoisted_6, [
105
- createVNode(OSearchResultRelative, { "relative-items": __props.relativeItems }, null, 8, ["relative-items"]),
106
+ createVNode(OSearchResultRelative, {
107
+ "relative-items": __props.relativeItems,
108
+ onClickRelativeSearchItem: _cache[3] || (_cache[3] = ($event) => emit("click-relative-search-item", $event))
109
+ }, null, 8, ["relative-items"]),
106
110
  createVNode(OSearchResultFeedback, { submit: __props.submitFeedback }, null, 8, ["submit"])
107
111
  ])
108
112
  ], true) : createCommentVNode("", true)
@@ -28,12 +28,12 @@ declare function __VLS_template(): {
28
28
  readonly placeholder?: string | undefined;
29
29
  readonly imagePlaceholder?: string | undefined;
30
30
  readonly enableImageSearch?: boolean | undefined;
31
- readonly uploadImage?: import('../search').OSearchUploadImageFn | undefined;
31
+ readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
32
32
  readonly maxImageSize?: number | undefined;
33
33
  readonly imageUploadTooltip?: string | undefined;
34
34
  readonly allowedImageTypes?: string[] | undefined;
35
- readonly suggestItems?: import('../search').OSearchRecommendItem[] | undefined;
36
- readonly onestepItems?: import('../search').OSearchRecommendItem[] | undefined;
35
+ readonly suggestItems?: import('../../index').OSearchRecommendItem[] | undefined;
36
+ readonly onestepItems?: import('../../index').OSearchRecommendItem[] | undefined;
37
37
  readonly suggestTitle?: string | undefined;
38
38
  readonly onestepTitle?: string | undefined;
39
39
  readonly noDataText?: string | undefined;
@@ -73,7 +73,7 @@ declare function __VLS_template(): {
73
73
  readonly imagePlaceholder?: string | undefined;
74
74
  readonly size?: "small" | "medium" | "large" | undefined;
75
75
  readonly enableImageSearch?: boolean | undefined;
76
- readonly uploadImage?: import('../search').OSearchUploadImageFn | undefined;
76
+ readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
77
77
  readonly maxImageSize?: number | undefined;
78
78
  readonly imageUploadTooltip?: string | undefined;
79
79
  readonly expanded?: boolean | undefined;
@@ -541,8 +541,8 @@ declare function __VLS_template(): {
541
541
  imageUrl: string;
542
542
  enableImageSearch: boolean;
543
543
  maxImageSize: number;
544
- onestepItems: import('../search').OSearchRecommendItem[];
545
- suggestItems: import('../search').OSearchRecommendItem[];
544
+ onestepItems: import('../../index').OSearchRecommendItem[];
545
+ suggestItems: import('../../index').OSearchRecommendItem[];
546
546
  historyItems: string[];
547
547
  hotItems: string[];
548
548
  highlightKeyword: boolean;
@@ -584,8 +584,8 @@ declare function __VLS_template(): {
584
584
  imageUrl: string;
585
585
  enableImageSearch: boolean;
586
586
  maxImageSize: number;
587
- onestepItems: import('../search').OSearchRecommendItem[];
588
- suggestItems: import('../search').OSearchRecommendItem[];
587
+ onestepItems: import('../../index').OSearchRecommendItem[];
588
+ suggestItems: import('../../index').OSearchRecommendItem[];
589
589
  historyItems: string[];
590
590
  hotItems: string[];
591
591
  highlightKeyword: boolean;
@@ -620,17 +620,17 @@ declare function __VLS_template(): {
620
620
  keyword: string;
621
621
  }): any;
622
622
  'onestep-header'?(_: {
623
- items: import('../search').OSearchRecommendItem[];
623
+ items: import('../../index').OSearchRecommendItem[];
624
624
  }): any;
625
625
  'onestep-content'?(_: {
626
- items: import('../search').OSearchRecommendItem[];
626
+ items: import('../../index').OSearchRecommendItem[];
627
627
  keyword: string;
628
628
  }): any;
629
629
  'suggest-header'?(_: {
630
- items: import('../search').OSearchRecommendItem[];
630
+ items: import('../../index').OSearchRecommendItem[];
631
631
  }): any;
632
632
  'suggest-content'?(_: {
633
- items: import('../search').OSearchRecommendItem[];
633
+ items: import('../../index').OSearchRecommendItem[];
634
634
  keyword: string;
635
635
  }): any;
636
636
  'history-header'?(_: {
@@ -670,12 +670,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
670
670
  readonly placeholder?: string | undefined;
671
671
  readonly imagePlaceholder?: string | undefined;
672
672
  readonly enableImageSearch?: boolean | undefined;
673
- readonly uploadImage?: import('../search').OSearchUploadImageFn | undefined;
673
+ readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
674
674
  readonly maxImageSize?: number | undefined;
675
675
  readonly imageUploadTooltip?: string | undefined;
676
676
  readonly allowedImageTypes?: string[] | undefined;
677
- readonly suggestItems?: import('../search').OSearchRecommendItem[] | undefined;
678
- readonly onestepItems?: import('../search').OSearchRecommendItem[] | undefined;
677
+ readonly suggestItems?: import('../../index').OSearchRecommendItem[] | undefined;
678
+ readonly onestepItems?: import('../../index').OSearchRecommendItem[] | undefined;
679
679
  readonly suggestTitle?: string | undefined;
680
680
  readonly onestepTitle?: string | undefined;
681
681
  readonly noDataText?: string | undefined;
@@ -715,7 +715,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
715
715
  readonly imagePlaceholder?: string | undefined;
716
716
  readonly size?: "small" | "medium" | "large" | undefined;
717
717
  readonly enableImageSearch?: boolean | undefined;
718
- readonly uploadImage?: import('../search').OSearchUploadImageFn | undefined;
718
+ readonly uploadImage?: import('../../index').OSearchUploadImageFn | undefined;
719
719
  readonly maxImageSize?: number | undefined;
720
720
  readonly imageUploadTooltip?: string | undefined;
721
721
  readonly expanded?: boolean | undefined;
@@ -1183,8 +1183,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1183
1183
  imageUrl: string;
1184
1184
  enableImageSearch: boolean;
1185
1185
  maxImageSize: number;
1186
- onestepItems: import('../search').OSearchRecommendItem[];
1187
- suggestItems: import('../search').OSearchRecommendItem[];
1186
+ onestepItems: import('../../index').OSearchRecommendItem[];
1187
+ suggestItems: import('../../index').OSearchRecommendItem[];
1188
1188
  historyItems: string[];
1189
1189
  hotItems: string[];
1190
1190
  highlightKeyword: boolean;
@@ -1226,8 +1226,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1226
1226
  imageUrl: string;
1227
1227
  enableImageSearch: boolean;
1228
1228
  maxImageSize: number;
1229
- onestepItems: import('../search').OSearchRecommendItem[];
1230
- suggestItems: import('../search').OSearchRecommendItem[];
1229
+ onestepItems: import('../../index').OSearchRecommendItem[];
1230
+ suggestItems: import('../../index').OSearchRecommendItem[];
1231
1231
  historyItems: string[];
1232
1232
  hotItems: string[];
1233
1233
  highlightKeyword: boolean;
@@ -1262,17 +1262,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1262
1262
  keyword: string;
1263
1263
  }): any;
1264
1264
  'onestep-header'?(_: {
1265
- items: import('../search').OSearchRecommendItem[];
1265
+ items: import('../../index').OSearchRecommendItem[];
1266
1266
  }): any;
1267
1267
  'onestep-content'?(_: {
1268
- items: import('../search').OSearchRecommendItem[];
1268
+ items: import('../../index').OSearchRecommendItem[];
1269
1269
  keyword: string;
1270
1270
  }): any;
1271
1271
  'suggest-header'?(_: {
1272
- items: import('../search').OSearchRecommendItem[];
1272
+ items: import('../../index').OSearchRecommendItem[];
1273
1273
  }): any;
1274
1274
  'suggest-content'?(_: {
1275
- items: import('../search').OSearchRecommendItem[];
1275
+ items: import('../../index').OSearchRecommendItem[];
1276
1276
  keyword: string;
1277
1277
  }): any;
1278
1278
  'history-header'?(_: {
@@ -1,20 +1,20 @@
1
- .hover-icon-rotate .o-icon[data-v-bb8a3a0b] {
1
+ .hover-icon-rotate .o-icon[data-v-6872ff03] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-bb8a3a0b] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-6872ff03] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-search-result-relative[data-v-bb8a3a0b] {
9
+ .o-search-result-relative[data-v-6872ff03] {
10
10
  margin-bottom: 32px;
11
11
  }
12
12
  @media (max-width: 1680px) {
13
- .o-search-result-relative[data-v-bb8a3a0b] {
13
+ .o-search-result-relative[data-v-6872ff03] {
14
14
  margin-bottom: 24px;
15
15
  }
16
16
  }
17
- .o-search-result-relative .o-search-result-relative-header[data-v-bb8a3a0b] {
17
+ .o-search-result-relative .o-search-result-relative-header[data-v-6872ff03] {
18
18
  display: flex;
19
19
  align-items: center;
20
20
  gap: 8px;
@@ -23,75 +23,75 @@
23
23
  line-height: 28px;
24
24
  }
25
25
  @media (min-width: 1201px) and (max-width: 1680px) {
26
- .o-search-result-relative .o-search-result-relative-header[data-v-bb8a3a0b] {
26
+ .o-search-result-relative .o-search-result-relative-header[data-v-6872ff03] {
27
27
  font-size: 18px;
28
28
  line-height: 26px;
29
29
  }
30
30
  }
31
31
  @media (min-width: 841px) and (max-width: 1200px) {
32
- .o-search-result-relative .o-search-result-relative-header[data-v-bb8a3a0b] {
32
+ .o-search-result-relative .o-search-result-relative-header[data-v-6872ff03] {
33
33
  font-size: 16px;
34
34
  line-height: 24px;
35
35
  }
36
36
  }
37
37
  @media (min-width: 601px) and (max-width: 840px) {
38
- .o-search-result-relative .o-search-result-relative-header[data-v-bb8a3a0b] {
38
+ .o-search-result-relative .o-search-result-relative-header[data-v-6872ff03] {
39
39
  font-size: 16px;
40
40
  line-height: 24px;
41
41
  }
42
42
  }
43
43
  @media (max-width: 600px) {
44
- .o-search-result-relative .o-search-result-relative-header[data-v-bb8a3a0b] {
44
+ .o-search-result-relative .o-search-result-relative-header[data-v-6872ff03] {
45
45
  font-size: 14px;
46
46
  line-height: 22px;
47
47
  }
48
48
  }
49
- .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-bb8a3a0b] {
49
+ .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-6872ff03] {
50
50
  font-size: 24px;
51
51
  line-height: 32px;
52
52
  }
53
53
  @media (min-width: 1201px) and (max-width: 1680px) {
54
- .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-bb8a3a0b] {
54
+ .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-6872ff03] {
55
55
  font-size: 20px;
56
56
  line-height: 28px;
57
57
  }
58
58
  }
59
59
  @media (min-width: 841px) and (max-width: 1200px) {
60
- .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-bb8a3a0b] {
60
+ .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-6872ff03] {
61
61
  font-size: 18px;
62
62
  line-height: 26px;
63
63
  }
64
64
  }
65
65
  @media (min-width: 601px) and (max-width: 840px) {
66
- .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-bb8a3a0b] {
66
+ .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-6872ff03] {
67
67
  font-size: 18px;
68
68
  line-height: 26px;
69
69
  }
70
70
  }
71
71
  @media (max-width: 600px) {
72
- .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-bb8a3a0b] {
72
+ .o-search-result-relative .o-search-result-feedback-relative-icon[data-v-6872ff03] {
73
73
  font-size: 16px;
74
74
  line-height: 24px;
75
75
  }
76
76
  }
77
- .o-search-result-relative .o-search-result-feedback-relative-divider[data-v-bb8a3a0b] {
77
+ .o-search-result-relative .o-search-result-feedback-relative-divider[data-v-6872ff03] {
78
78
  margin: 12px 0;
79
79
  }
80
80
  @media (max-width: 1680px) {
81
- .o-search-result-relative .o-search-result-feedback-relative-divider[data-v-bb8a3a0b] {
81
+ .o-search-result-relative .o-search-result-feedback-relative-divider[data-v-6872ff03] {
82
82
  margin: 8px 0;
83
83
  }
84
84
  }
85
- .o-search-result-relative .o-search-result-feedback-relative-items[data-v-bb8a3a0b] {
85
+ .o-search-result-relative .o-search-result-feedback-relative-items[data-v-6872ff03] {
86
86
  display: flex;
87
87
  flex-direction: column;
88
88
  gap: 8px;
89
89
  }
90
- .o-search-result-relative .o-search-result-feedback-relative-item[data-v-bb8a3a0b] {
90
+ .o-search-result-relative .o-search-result-feedback-relative-item[data-v-6872ff03] {
91
91
  color: var(--o-color-info2);
92
92
  }
93
93
  @media (hover: hover) {
94
- .o-search-result-relative .o-search-result-feedback-relative-item[data-v-bb8a3a0b]:hover {
94
+ .o-search-result-relative .o-search-result-feedback-relative-item[data-v-6872ff03]:hover {
95
95
  color: var(--o-color-primary1);
96
96
  }
97
97
  }
@@ -2,5 +2,9 @@ import { OSearchRelativeItemT } from '../types';
2
2
  type __VLS_Props = {
3
3
  relativeItems: OSearchRelativeItemT[];
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
+ "click-relative-search-item": (item: OSearchRelativeItemT) => any;
7
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ "onClick-relative-search-item"?: ((item: OSearchRelativeItemT) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
10
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OSearchResultRelative.vue2.mjs";
2
2
  import './OSearchResultRelative.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const OSearchResultRelative = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bb8a3a0b"]]);
4
+ const OSearchResultRelative = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6872ff03"]]);
5
5
  export {
6
6
  OSearchResultRelative as default
7
7
  };
@@ -13,7 +13,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  props: {
14
14
  relativeItems: {}
15
15
  },
16
- setup(__props) {
16
+ emits: ["click-relative-search-item"],
17
+ setup(__props, { emit: __emit }) {
18
+ const emit = __emit;
17
19
  const { t } = useI18n();
18
20
  return (_ctx, _cache) => {
19
21
  return unref(isArray)(__props.relativeItems) && __props.relativeItems.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
@@ -34,13 +36,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
36
  href: item.href,
35
37
  target: "_self",
36
38
  "hover-underline": false,
37
- class: "o-search-result-feedback-relative-item"
39
+ class: "o-search-result-feedback-relative-item",
40
+ onClick: ($event) => emit("click-relative-search-item", item)
38
41
  }, {
39
42
  default: withCtx(() => [
40
43
  createTextVNode(toDisplayString(item.label), 1)
41
44
  ]),
42
45
  _: 2
43
- }, 1032, ["href"]);
46
+ }, 1032, ["href", "onClick"]);
44
47
  }), 128))
45
48
  ])
46
49
  ])) : createCommentVNode("", true);