@opendesign-plus-test/components 0.0.1-rc.226 → 0.0.1-rc.227

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 (153) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +74 -48
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  5. package/dist/components/anchor-bar/index.d.ts +9 -9
  6. package/dist/components/article/index.d.ts +25 -25
  7. package/dist/components/article-anchor/index.d.ts +9 -9
  8. package/dist/components/article-pagination/index.d.ts +17 -17
  9. package/dist/components/banner/index.d.ts +6 -6
  10. package/dist/components/brand/index.d.ts +15 -15
  11. package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +1 -0
  12. package/dist/components/events/index.d.ts +20 -20
  13. package/dist/components/footer/index.d.ts +3 -3
  14. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  15. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  16. package/dist/components/header/index.d.ts +28 -28
  17. package/dist/components/header/types.d.ts +1 -0
  18. package/dist/components/header-search/index.d.ts +13 -13
  19. package/dist/components/logo-swiper/index.d.ts +11 -11
  20. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +8 -7
  21. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  22. package/dist/components/meeting/index.d.ts +48 -45
  23. package/dist/components/meeting/types.d.ts +2 -0
  24. package/dist/components/org/index.d.ts +9 -9
  25. package/dist/components/recursion-menu/index.d.ts +3 -3
  26. package/dist/components/search/index.d.ts +11 -11
  27. package/dist/components/search/internal/SearchImageInput.vue.d.ts +2 -2
  28. package/dist/components/search-result/OSearchResult.vue.d.ts +55 -0
  29. package/dist/components/search-result/OSearchResultHeader.vue.d.ts +1296 -0
  30. package/dist/components/search-result/OSearchResultItem.vue.d.ts +34 -0
  31. package/dist/components/search-result/components/OSearchResultEmpty.vue.d.ts +2 -0
  32. package/dist/components/search-result/components/OSearchResultFeedback.vue.d.ts +8 -0
  33. package/dist/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +8 -0
  34. package/dist/components/search-result/components/OSearchResultRelative.vue.d.ts +10 -0
  35. package/dist/components/search-result/index.d.ts +851 -0
  36. package/dist/components/search-result/types.d.ts +9 -0
  37. package/dist/components/sig/index.d.ts +15 -15
  38. package/dist/components/summit/index.d.ts +12 -12
  39. package/dist/components/user-center/OAccountSetting.vue.d.ts +1 -0
  40. package/dist/components/user-center/index.d.ts +21 -18
  41. package/dist/components/user-center/internal/OAppDialog.vue.d.ts +9 -0
  42. package/dist/components/video/index.d.ts +3 -3
  43. package/dist/components.cjs.js +45 -45
  44. package/dist/components.css +2 -2
  45. package/dist/components.es.js +16028 -15310
  46. package/dist/index.d.ts +1 -0
  47. package/dist/treeshaking/_virtual/icon-arrow-left.mjs +20 -0
  48. package/dist/treeshaking/_virtual/icon-edit.mjs +38 -0
  49. package/dist/treeshaking/_virtual/icon-email.mjs +9 -8
  50. package/dist/treeshaking/_virtual/icon-email2.mjs +8 -9
  51. package/dist/treeshaking/_virtual/icon-like.mjs +20 -0
  52. package/dist/treeshaking/_virtual/icon-relative-search.mjs +21 -0
  53. package/dist/treeshaking/_virtual/icon-unlike.mjs +20 -0
  54. package/dist/treeshaking/assets/search/search-empty.png.mjs +4 -0
  55. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  56. package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
  57. package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
  58. package/dist/treeshaking/components/article/index.d.ts +25 -25
  59. package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
  60. package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
  61. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  62. package/dist/treeshaking/components/brand/index.d.ts +15 -15
  63. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.d.ts +1 -0
  64. package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +4 -2
  65. package/dist/treeshaking/components/empty/OEmpty.css +10 -10
  66. package/dist/treeshaking/components/empty/OEmpty.vue.mjs +1 -1
  67. package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +6 -2
  68. package/dist/treeshaking/components/events/index.d.ts +20 -20
  69. package/dist/treeshaking/components/footer/components/FooterList.css +149 -109
  70. package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
  71. package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +59 -60
  72. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  73. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  74. package/dist/treeshaking/components/header/components/HeaderContent.css +208 -184
  75. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  76. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +6 -5
  77. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  78. package/dist/treeshaking/components/header/index.d.ts +28 -28
  79. package/dist/treeshaking/components/header/types.d.ts +1 -0
  80. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  81. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  82. package/dist/treeshaking/components/meeting/OMeetingPlayback.css +2 -0
  83. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +8 -7
  84. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +12 -4
  85. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +3 -0
  86. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +15 -7
  87. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  88. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.mjs +13 -15
  89. package/dist/treeshaking/components/meeting/index.d.ts +48 -45
  90. package/dist/treeshaking/components/meeting/types.d.ts +2 -0
  91. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
  92. package/dist/treeshaking/components/org/index.d.ts +9 -9
  93. package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
  94. package/dist/treeshaking/components/search/OSearchInput.css +34 -34
  95. package/dist/treeshaking/components/search/OSearchInput.vue.mjs +2 -2
  96. package/dist/treeshaking/components/search/index.d.ts +11 -11
  97. package/dist/treeshaking/components/search/index.mjs +3 -3
  98. package/dist/treeshaking/components/search/internal/SearchImageInput.css +49 -50
  99. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.d.ts +2 -2
  100. package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
  101. package/dist/treeshaking/components/search/internal/SearchPanel.css +117 -117
  102. package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +1 -1
  103. package/dist/treeshaking/components/search-result/OSearchResult.css +120 -0
  104. package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +55 -0
  105. package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +7 -0
  106. package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +120 -0
  107. package/dist/treeshaking/components/search-result/OSearchResultHeader.css +134 -0
  108. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +1296 -0
  109. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +7 -0
  110. package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +104 -0
  111. package/dist/treeshaking/components/search-result/OSearchResultItem.css +196 -0
  112. package/dist/treeshaking/components/search-result/OSearchResultItem.vue.d.ts +34 -0
  113. package/dist/treeshaking/components/search-result/OSearchResultItem.vue.mjs +7 -0
  114. package/dist/treeshaking/components/search-result/OSearchResultItem.vue2.mjs +118 -0
  115. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.css +52 -0
  116. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.d.ts +2 -0
  117. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.mjs +7 -0
  118. package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue2.mjs +29 -0
  119. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.css +152 -0
  120. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.d.ts +8 -0
  121. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.mjs +7 -0
  122. package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue2.mjs +171 -0
  123. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.css +192 -0
  124. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +8 -0
  125. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.mjs +7 -0
  126. package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue2.mjs +185 -0
  127. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.css +97 -0
  128. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.d.ts +10 -0
  129. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.mjs +7 -0
  130. package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue2.mjs +55 -0
  131. package/dist/treeshaking/components/search-result/index.d.ts +851 -0
  132. package/dist/treeshaking/components/search-result/index.mjs +23 -0
  133. package/dist/treeshaking/components/search-result/types.d.ts +9 -0
  134. package/dist/treeshaking/components/sig/index.d.ts +15 -15
  135. package/dist/treeshaking/components/summit/index.d.ts +12 -12
  136. package/dist/treeshaking/components/user-center/OAccountSetting.css +61 -61
  137. package/dist/treeshaking/components/user-center/OAccountSetting.vue.d.ts +1 -0
  138. package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
  139. package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +5 -3
  140. package/dist/treeshaking/components/user-center/OUserInfo.css +102 -103
  141. package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
  142. package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
  143. package/dist/treeshaking/components/user-center/index.d.ts +21 -18
  144. package/dist/treeshaking/components/user-center/internal/OAppDialog.css +19 -19
  145. package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.d.ts +9 -0
  146. package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.mjs +1 -1
  147. package/dist/treeshaking/components/user-center/internal/OAppDialog.vue2.mjs +9 -2
  148. package/dist/treeshaking/components/video/index.d.ts +3 -3
  149. package/dist/treeshaking/i18n/en.mjs +13 -0
  150. package/dist/treeshaking/i18n/zh.mjs +13 -0
  151. package/dist/treeshaking/index.d.ts +1 -0
  152. package/dist/treeshaking/index.mjs +4 -0
  153. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./SearchPanel.vue2.mjs";
2
2
  import './SearchPanel.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const SearchPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-872f0035"]]);
4
+ const SearchPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a5767f01"]]);
5
5
  export {
6
6
  SearchPanel as default
7
7
  };
@@ -0,0 +1,120 @@
1
+ .hover-icon-rotate .o-icon[data-v-398ad4c9] {
2
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
+ }
4
+ @media (hover: hover) {
5
+ .hover-icon-rotate:hover .o-icon[data-v-398ad4c9] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-search-result[data-v-398ad4c9] {
10
+ --o-search-result-radius: var(--o-radius-xs);
11
+ background-color: var(--o-color-fill2);
12
+ }
13
+ .o-search-result .o-search-result-content-wrap[data-v-398ad4c9] {
14
+ display: flex;
15
+ max-width: var(--grid-20);
16
+ padding: 40px 0 72px;
17
+ margin: 0 auto;
18
+ }
19
+ @media (max-width: 1680px) {
20
+ .o-search-result .o-search-result-content-wrap[data-v-398ad4c9] {
21
+ padding: 24px 0 56px;
22
+ }
23
+ }
24
+ @media (max-width: 1200px) {
25
+ .o-search-result .o-search-result-content-wrap[data-v-398ad4c9] {
26
+ padding: 16px 32px 40px;
27
+ }
28
+ }
29
+ @media (max-width: 840px) {
30
+ .o-search-result .o-search-result-content-wrap[data-v-398ad4c9] {
31
+ padding: 24px 32px 40px;
32
+ }
33
+ }
34
+ @media (max-width: 600px) {
35
+ .o-search-result .o-search-result-content-wrap[data-v-398ad4c9] {
36
+ padding: 24px;
37
+ padding-bottom: 32px;
38
+ }
39
+ }
40
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-398ad4c9] {
41
+ flex: 1;
42
+ padding-right: var(--grid-column-gutter);
43
+ border-right: 1px solid var(--o-color-control4);
44
+ }
45
+ @media (max-width: 1200px) {
46
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-398ad4c9] {
47
+ border-right: none;
48
+ padding-right: 0;
49
+ }
50
+ }
51
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-398ad4c9] {
52
+ width: var(--grid-5);
53
+ padding-left: var(--grid-column-gutter);
54
+ }
55
+ @media (max-width: 1680px) {
56
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-398ad4c9] {
57
+ width: var(--grid-6);
58
+ }
59
+ }
60
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-398ad4c9] {
61
+ margin-top: 24px;
62
+ margin-bottom: 32px;
63
+ }
64
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-398ad4c9] .o-skeleton-item .o-skeleton-line:nth-child(1) {
65
+ width: 52%;
66
+ height: 28px;
67
+ }
68
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-398ad4c9] .o-skeleton-item .o-skeleton-line:nth-child(2) {
69
+ height: 48px;
70
+ }
71
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-398ad4c9] .o-skeleton-item .o-skeleton-line:nth-child(3) {
72
+ width: 38%;
73
+ height: 18px;
74
+ }
75
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-398ad4c9] {
76
+ margin: 16px 0;
77
+ }
78
+ .o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-398ad4c9] {
79
+ width: 320px;
80
+ }
81
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-398ad4c9] {
82
+ padding: 24px 0;
83
+ }
84
+ @media (max-width: 1680px) {
85
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-398ad4c9] {
86
+ padding: 16px 0;
87
+ }
88
+ }
89
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-398ad4c9] > *:not(:first-child) {
90
+ padding-top: 16px;
91
+ border-top: 1px solid var(--o-color-control4);
92
+ }
93
+ @media (max-width: 1680px) {
94
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-398ad4c9] > *:not(:first-child) {
95
+ padding-top: 12px;
96
+ }
97
+ }
98
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-398ad4c9] > *:not(:last-child) {
99
+ padding-bottom: 16px;
100
+ }
101
+ @media (max-width: 1680px) {
102
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-398ad4c9] > *:not(:last-child) {
103
+ padding-bottom: 12px;
104
+ }
105
+ }
106
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-398ad4c9] {
107
+ display: flex;
108
+ justify-content: flex-end;
109
+ margin-top: 32px;
110
+ }
111
+ @media (max-width: 1680px) {
112
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-398ad4c9] {
113
+ margin-top: 24px;
114
+ }
115
+ }
116
+ @media (max-width: 1200px) {
117
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-398ad4c9] {
118
+ margin-top: 16px;
119
+ }
120
+ }
@@ -0,0 +1,55 @@
1
+ import { SelectValueT } from '@opensig/opendesign';
2
+ import { OSearchItemT, OSearchRelativeItemT } from './types';
3
+ type __VLS_Props = {
4
+ versions: OSearchItemT[];
5
+ items: any[];
6
+ loading: boolean;
7
+ relativeItems: OSearchRelativeItemT[];
8
+ total?: number;
9
+ pageSizes?: number[];
10
+ submitFeedback?: (form: {
11
+ searchFlag: boolean;
12
+ feedbackText: string;
13
+ }) => Promise<boolean>;
14
+ };
15
+ type __VLS_PublicProps = {
16
+ 'version'?: SelectValueT;
17
+ 'page'?: number;
18
+ 'pageSize'?: number;
19
+ } & __VLS_Props;
20
+ declare function __VLS_template(): {
21
+ attrs: Partial<{}>;
22
+ slots: {
23
+ 'content-header'?(_: {}): any;
24
+ empty?(_: {}): any;
25
+ list?(_: {
26
+ items: any[];
27
+ }): any;
28
+ right?(_: {}): any;
29
+ };
30
+ refs: {};
31
+ rootEl: HTMLDivElement;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ "update:pageSize": (value: number) => any;
36
+ "update:page": (value: number) => any;
37
+ "update:version": (value: SelectValueT) => any;
38
+ } & {
39
+ "click-relative-search-item": (item: OSearchRelativeItemT) => any;
40
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
41
+ "onUpdate:pageSize"?: ((value: number) => any) | undefined;
42
+ "onUpdate:page"?: ((value: number) => any) | undefined;
43
+ "onClick-relative-search-item"?: ((item: OSearchRelativeItemT) => any) | undefined;
44
+ "onUpdate:version"?: ((value: SelectValueT) => any) | undefined;
45
+ }>, {
46
+ total: number;
47
+ pageSizes: number[];
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
50
+ export default _default;
51
+ type __VLS_WithTemplateSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./OSearchResult.vue2.mjs";
2
+ import './OSearchResult.css';
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _OSearchResult = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-398ad4c9"]]);
5
+ export {
6
+ _OSearchResult as default
7
+ };
@@ -0,0 +1,120 @@
1
+ import { defineComponent, useModel, openBlock, createElementBlock, createElementVNode, renderSlot, unref, createBlock, withCtx, Fragment, renderList, createCommentVNode, createVNode, mergeModels } from "vue";
2
+ import { isArray, OSelect, OOption, OSkeleton, OSkeletonText, ODivider, OPagination } from "@opensig/opendesign";
3
+ import { useScreen } from "@opendesign-plus/composables";
4
+ import OSearchResultEmpty from "./components/OSearchResultEmpty.vue.mjs";
5
+ import OSearchResultFeedback from "./components/OSearchResultFeedback.vue.mjs";
6
+ import OSearchResultFeedbackBanner from "./components/OSearchResultFeedbackBanner.vue.mjs";
7
+ import OSearchResultRelative from "./components/OSearchResultRelative.vue.mjs";
8
+ const _hoisted_1 = { class: "o-search-result" };
9
+ const _hoisted_2 = { class: "o-search-result-content-wrap" };
10
+ const _hoisted_3 = { class: "o-search-result-left-content" };
11
+ const _hoisted_4 = { class: "o-search-result-content-skeleton-loading" };
12
+ const _hoisted_5 = { class: "o-search-result-content" };
13
+ const _hoisted_6 = { class: "o-search-result-right-content" };
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ __name: "OSearchResult",
16
+ props: /* @__PURE__ */ mergeModels({
17
+ versions: {},
18
+ items: {},
19
+ loading: { type: Boolean },
20
+ relativeItems: {},
21
+ total: { default: 0 },
22
+ pageSizes: { default: () => [10, 20, 50] },
23
+ submitFeedback: {}
24
+ }, {
25
+ "version": {},
26
+ "versionModifiers": {},
27
+ "page": { default: 1 },
28
+ "pageModifiers": {},
29
+ "pageSize": { default: 10 },
30
+ "pageSizeModifiers": {}
31
+ }),
32
+ emits: /* @__PURE__ */ mergeModels(["click-relative-search-item"], ["update:version", "update:page", "update:pageSize"]),
33
+ setup(__props, { emit: __emit }) {
34
+ const versionVal = useModel(__props, "version");
35
+ const page = useModel(__props, "page");
36
+ const pageSize = useModel(__props, "pageSize");
37
+ const emit = __emit;
38
+ const { lePad, lePadV } = useScreen();
39
+ return (_ctx, _cache) => {
40
+ return openBlock(), createElementBlock("div", _hoisted_1, [
41
+ createElementVNode("div", _hoisted_2, [
42
+ createElementVNode("div", _hoisted_3, [
43
+ renderSlot(_ctx.$slots, "content-header", {}, () => [
44
+ unref(isArray)(__props.versions) && __props.versions.length ? (openBlock(), createBlock(unref(OSelect), {
45
+ key: 0,
46
+ modelValue: versionVal.value,
47
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => versionVal.value = $event),
48
+ size: "large",
49
+ class: "o-search-result-version-select"
50
+ }, {
51
+ default: withCtx(() => [
52
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.versions, (item) => {
53
+ return openBlock(), createBlock(unref(OOption), {
54
+ key: item.value,
55
+ value: item.value,
56
+ label: item.label
57
+ }, null, 8, ["value", "label"]);
58
+ }), 128))
59
+ ]),
60
+ _: 1
61
+ }, 8, ["modelValue"])) : createCommentVNode("", true)
62
+ ], true),
63
+ createVNode(unref(OSkeleton), {
64
+ animation: "",
65
+ loading: __props.loading
66
+ }, {
67
+ template: withCtx(() => [
68
+ createElementVNode("div", _hoisted_4, [
69
+ (openBlock(), createElementBlock(Fragment, null, renderList(7, (_, i) => {
70
+ return openBlock(), createElementBlock(Fragment, { key: i }, [
71
+ createVNode(unref(OSkeletonText), { rows: 3 }),
72
+ i !== 6 ? (openBlock(), createBlock(unref(ODivider), {
73
+ key: 0,
74
+ class: "o-search-result-content-skeleton-divider"
75
+ })) : createCommentVNode("", true)
76
+ ], 64);
77
+ }), 64))
78
+ ])
79
+ ]),
80
+ default: withCtx(() => [
81
+ createElementVNode("div", _hoisted_5, [
82
+ !unref(isArray)(__props.items) || __props.items.length === 0 ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
83
+ createVNode(OSearchResultEmpty)
84
+ ], true) : renderSlot(_ctx.$slots, "list", {
85
+ key: 1,
86
+ items: __props.items
87
+ }, void 0, true)
88
+ ])
89
+ ]),
90
+ _: 3
91
+ }, 8, ["loading"]),
92
+ createVNode(OSearchResultFeedbackBanner, { submit: __props.submitFeedback }, null, 8, ["submit"]),
93
+ !__props.loading && __props.total > 0 && !unref(lePadV) ? (openBlock(), createBlock(unref(OPagination), {
94
+ key: 0,
95
+ page: page.value,
96
+ "onUpdate:page": _cache[1] || (_cache[1] = ($event) => page.value = $event),
97
+ "page-size": pageSize.value,
98
+ "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => pageSize.value = $event),
99
+ total: __props.total,
100
+ "page-sizes": __props.pageSizes,
101
+ class: "o-search-result-pagination"
102
+ }, null, 8, ["page", "page-size", "total", "page-sizes"])) : createCommentVNode("", true)
103
+ ]),
104
+ !unref(lePad) ? renderSlot(_ctx.$slots, "right", { key: 0 }, () => [
105
+ createElementVNode("div", _hoisted_6, [
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"]),
110
+ createVNode(OSearchResultFeedback, { submit: __props.submitFeedback }, null, 8, ["submit"])
111
+ ])
112
+ ], true) : createCommentVNode("", true)
113
+ ])
114
+ ]);
115
+ };
116
+ }
117
+ });
118
+ export {
119
+ _sfc_main as default
120
+ };
@@ -0,0 +1,134 @@
1
+ .hover-icon-rotate .o-icon[data-v-e236684c] {
2
+ transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
+ }
4
+ @media (hover: hover) {
5
+ .hover-icon-rotate:hover .o-icon[data-v-e236684c] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-search-result-header[data-v-e236684c] {
10
+ background-image: var(--f6abbbd6);
11
+ background-position: 100% 100%;
12
+ background-repeat: no-repeat;
13
+ background-size: cover;
14
+ }
15
+ @media (max-width: 840px) {
16
+ .o-search-result-header[data-v-e236684c] {
17
+ background-image: none;
18
+ background-color: var(--o-color-fill2);
19
+ }
20
+ }
21
+ .o-search-result-header .o-search-result-header-content[data-v-e236684c] {
22
+ position: relative;
23
+ height: 280px;
24
+ padding-top: 80px;
25
+ max-width: var(--grid-20);
26
+ margin: 0 auto;
27
+ }
28
+ @media (max-width: 1680px) {
29
+ .o-search-result-header .o-search-result-header-content[data-v-e236684c] {
30
+ height: 220px;
31
+ padding-top: 52px;
32
+ }
33
+ }
34
+ @media (max-width: 1200px) {
35
+ .o-search-result-header .o-search-result-header-content[data-v-e236684c] {
36
+ height: 180px;
37
+ padding-top: 34px;
38
+ padding-left: 32px;
39
+ padding-right: 32px;
40
+ }
41
+ }
42
+ @media (max-width: 840px) {
43
+ .o-search-result-header .o-search-result-header-content[data-v-e236684c] {
44
+ height: 90px;
45
+ padding: 0;
46
+ box-shadow: var(--o-shadow-2);
47
+ }
48
+ }
49
+ .o-search-result-header .o-search-result-header-back[data-v-e236684c] {
50
+ display: none;
51
+ }
52
+ .o-search-result-header .o-search-result-header-search-btn[data-v-e236684c] {
53
+ display: none;
54
+ }
55
+ .o-search-result-header .o-search-result-header-input[data-v-e236684c] {
56
+ max-width: var(--grid-15);
57
+ background-color: transparent;
58
+ }
59
+ .o-search-result-header .o-search-result-header-input.is-focus[data-v-e236684c] {
60
+ z-index: 2;
61
+ }
62
+ @media (min-width: ) {
63
+ .o-search-result-header .o-search-result-header-input[data-v-e236684c] {
64
+ max-width: var(--grid-10);
65
+ }
66
+ }
67
+ .o-search-result-header .o-search-result-header-input[data-v-e236684c] .o-input.o_box-large {
68
+ --_box-height: 40px ;
69
+ }
70
+ .o-search-result-header .o-search-result-header-input[data-v-e236684c] .o-search-image-input-icon {
71
+ font-size: 24px;
72
+ }
73
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-e236684c] {
74
+ position: absolute;
75
+ bottom: 0;
76
+ width: 100%;
77
+ }
78
+ @media (max-width: 1200px) {
79
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-e236684c] {
80
+ width: calc(100% - 64px);
81
+ }
82
+ }
83
+ @media (max-width: 840px) {
84
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-e236684c] {
85
+ width: 100%;
86
+ padding: 0 32px;
87
+ }
88
+ }
89
+ @media (max-width: 600px) {
90
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-e236684c] {
91
+ padding: 0 24px;
92
+ }
93
+ }
94
+ .o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-e236684c] {
95
+ --tab-nav-justify: start;
96
+ }
97
+ @media (max-width: 840px) {
98
+ .o-search-result-header .o-search-result-header-input-row[data-v-e236684c] {
99
+ display: flex;
100
+ align-items: center;
101
+ gap: 24px;
102
+ padding: 8px 32px;
103
+ }
104
+ .o-search-result-header .o-search-result-header-back[data-v-e236684c] {
105
+ display: flex;
106
+ align-items: center;
107
+ flex-shrink: 0;
108
+ padding: 0;
109
+ border: none;
110
+ background: none;
111
+ cursor: pointer;
112
+ }
113
+ .o-search-result-header .o-search-result-header-back .o-icon[data-v-e236684c] {
114
+ font-size: 24px;
115
+ }
116
+ .o-search-result-header .o-search-result-header-input[data-v-e236684c] {
117
+ flex: 1;
118
+ max-width: none;
119
+ margin: 0;
120
+ }
121
+ .o-search-result-header .o-search-result-header-search-btn[data-v-e236684c] {
122
+ display: block;
123
+ flex-shrink: 0;
124
+ font-size: 16px;
125
+ line-height: 24px;
126
+ cursor: pointer;
127
+ white-space: nowrap;
128
+ }
129
+ }
130
+ @media (max-width: 600px) {
131
+ .o-search-result-header .o-search-result-header-input-row[data-v-e236684c] {
132
+ padding: 8px 24px;
133
+ }
134
+ }