@opendesign-plus-test/components 0.0.1-rc.229 → 0.0.1-rc.230

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 +89 -57
  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 +16040 -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 +8 -9
  50. package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
  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 +37 -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 +128 -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 +135 -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 +201 -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 -122
  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 +16 -0
  150. package/dist/treeshaking/i18n/zh.mjs +16 -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,128 @@
1
+ .hover-icon-rotate .o-icon[data-v-925295df] {
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-925295df] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-search-result[data-v-925295df] {
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-925295df] {
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-925295df] {
21
+ padding: 24px 0 56px;
22
+ }
23
+ }
24
+ @media (max-width: 1200px) {
25
+ .o-search-result .o-search-result-content-wrap[data-v-925295df] {
26
+ padding: 16px 32px 40px;
27
+ }
28
+ }
29
+ @media (max-width: 840px) {
30
+ .o-search-result .o-search-result-content-wrap[data-v-925295df] {
31
+ padding: 24px 32px 40px;
32
+ }
33
+ }
34
+ @media (max-width: 600px) {
35
+ .o-search-result .o-search-result-content-wrap[data-v-925295df] {
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-925295df] {
41
+ flex: 1;
42
+ min-width: 0;
43
+ padding-right: var(--grid-column-gutter);
44
+ border-right: 1px solid var(--o-color-control4);
45
+ }
46
+ @media (max-width: 1200px) {
47
+ .o-search-result .o-search-result-content-wrap .o-search-result-left-content[data-v-925295df] {
48
+ border-right: none;
49
+ padding-right: 0;
50
+ }
51
+ }
52
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-925295df] {
53
+ width: var(--grid-5);
54
+ padding-left: var(--grid-column-gutter);
55
+ }
56
+ @media (max-width: 1680px) {
57
+ .o-search-result .o-search-result-content-wrap .o-search-result-right-content[data-v-925295df] {
58
+ width: var(--grid-6);
59
+ }
60
+ }
61
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] {
62
+ margin-top: 24px;
63
+ margin-bottom: 32px;
64
+ }
65
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] .o-skeleton-item .o-skeleton-line:nth-child(1) {
66
+ width: 52%;
67
+ height: 28px;
68
+ }
69
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] .o-skeleton-item .o-skeleton-line:nth-child(2) {
70
+ height: 48px;
71
+ }
72
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-loading[data-v-925295df] .o-skeleton-item .o-skeleton-line:nth-child(3) {
73
+ width: 38%;
74
+ height: 18px;
75
+ }
76
+ .o-search-result .o-search-result-content-wrap .o-search-result-content-skeleton-divider[data-v-925295df] {
77
+ margin: 16px 0;
78
+ }
79
+ .o-search-result .o-search-result-content-wrap .o-search-result-version-select[data-v-925295df] {
80
+ width: 320px;
81
+ }
82
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] {
83
+ padding: 24px 0;
84
+ }
85
+ @media (max-width: 1680px) {
86
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] {
87
+ padding: 16px 0;
88
+ }
89
+ }
90
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:first-child) {
91
+ padding-top: 16px;
92
+ border-top: 1px solid var(--o-color-control4);
93
+ }
94
+ @media (max-width: 1680px) {
95
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:first-child) {
96
+ padding-top: 12px;
97
+ }
98
+ }
99
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:last-child) {
100
+ padding-bottom: 16px;
101
+ }
102
+ @media (max-width: 1680px) {
103
+ .o-search-result .o-search-result-content-wrap .o-search-result-content[data-v-925295df] > *:not(:last-child) {
104
+ padding-bottom: 12px;
105
+ }
106
+ }
107
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-925295df] {
108
+ display: flex;
109
+ justify-content: flex-end;
110
+ margin-top: 32px;
111
+ }
112
+ @media (max-width: 1680px) {
113
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-925295df] {
114
+ margin-top: 24px;
115
+ }
116
+ }
117
+ @media (max-width: 1200px) {
118
+ .o-search-result .o-search-result-content-wrap .o-search-result-pagination[data-v-925295df] {
119
+ margin-top: 16px;
120
+ }
121
+ }
122
+ .o-search-result .o-search-result-content-wrap .o-search-result-mb-bottom-text[data-v-925295df] {
123
+ margin-top: 16px;
124
+ color: var(--o-color-info3);
125
+ text-align: center;
126
+ font-size: 14px;
127
+ line-height: 22px;
128
+ }
@@ -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-925295df"]]);
5
+ export {
6
+ _OSearchResult as default
7
+ };
@@ -0,0 +1,135 @@
1
+ import { defineComponent, useModel, openBlock, createElementBlock, createElementVNode, renderSlot, unref, createBlock, withCtx, Fragment, renderList, createCommentVNode, createVNode, createTextVNode, toDisplayString, mergeModels } from "vue";
2
+ import { isArray, OSelect, OOption, OSkeleton, OSkeletonText, ODivider, OPagination } from "@opensig/opendesign";
3
+ import { useScreen } from "@opendesign-plus/composables";
4
+ import { useI18n } from "../../i18n/index.mjs";
5
+ import OSearchResultEmpty from "./components/OSearchResultEmpty.vue.mjs";
6
+ import OSearchResultFeedback from "./components/OSearchResultFeedback.vue.mjs";
7
+ import OSearchResultFeedbackBanner from "./components/OSearchResultFeedbackBanner.vue.mjs";
8
+ import OSearchResultRelative from "./components/OSearchResultRelative.vue.mjs";
9
+ const _hoisted_1 = { class: "o-search-result" };
10
+ const _hoisted_2 = { class: "o-search-result-content-wrap" };
11
+ const _hoisted_3 = { class: "o-search-result-left-content" };
12
+ const _hoisted_4 = { class: "o-search-result-content-skeleton-loading" };
13
+ const _hoisted_5 = { class: "o-search-result-content" };
14
+ const _hoisted_6 = {
15
+ key: 1,
16
+ class: "o-search-result-mb-bottom-text"
17
+ };
18
+ const _hoisted_7 = { class: "o-search-result-right-content" };
19
+ const _sfc_main = /* @__PURE__ */ defineComponent({
20
+ __name: "OSearchResult",
21
+ props: /* @__PURE__ */ mergeModels({
22
+ versions: {},
23
+ items: {},
24
+ loading: { type: Boolean },
25
+ relativeItems: {},
26
+ total: { default: 0 },
27
+ pageSizes: { default: () => [10, 20, 50] },
28
+ submitFeedback: {}
29
+ }, {
30
+ "version": {},
31
+ "versionModifiers": {},
32
+ "page": { default: 1 },
33
+ "pageModifiers": {},
34
+ "pageSize": { default: 10 },
35
+ "pageSizeModifiers": {}
36
+ }),
37
+ emits: /* @__PURE__ */ mergeModels(["click-relative-search-item"], ["update:version", "update:page", "update:pageSize"]),
38
+ setup(__props, { emit: __emit }) {
39
+ const versionVal = useModel(__props, "version");
40
+ const page = useModel(__props, "page");
41
+ const pageSize = useModel(__props, "pageSize");
42
+ const emit = __emit;
43
+ const { lePad, lePadV } = useScreen();
44
+ const { t } = useI18n();
45
+ return (_ctx, _cache) => {
46
+ return openBlock(), createElementBlock("div", _hoisted_1, [
47
+ createElementVNode("div", _hoisted_2, [
48
+ createElementVNode("div", _hoisted_3, [
49
+ renderSlot(_ctx.$slots, "content-header", {}, () => [
50
+ unref(isArray)(__props.versions) && __props.versions.length ? (openBlock(), createBlock(unref(OSelect), {
51
+ key: 0,
52
+ modelValue: versionVal.value,
53
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => versionVal.value = $event),
54
+ size: "large",
55
+ class: "o-search-result-version-select"
56
+ }, {
57
+ default: withCtx(() => [
58
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.versions, (item) => {
59
+ return openBlock(), createBlock(unref(OOption), {
60
+ key: item.value,
61
+ value: item.value,
62
+ label: item.label
63
+ }, null, 8, ["value", "label"]);
64
+ }), 128))
65
+ ]),
66
+ _: 1
67
+ }, 8, ["modelValue"])) : createCommentVNode("", true)
68
+ ], true),
69
+ createVNode(unref(OSkeleton), {
70
+ animation: "",
71
+ loading: __props.loading
72
+ }, {
73
+ template: withCtx(() => [
74
+ createElementVNode("div", _hoisted_4, [
75
+ (openBlock(), createElementBlock(Fragment, null, renderList(7, (_, i) => {
76
+ return openBlock(), createElementBlock(Fragment, { key: i }, [
77
+ createVNode(unref(OSkeletonText), { rows: 3 }),
78
+ i !== 6 ? (openBlock(), createBlock(unref(ODivider), {
79
+ key: 0,
80
+ class: "o-search-result-content-skeleton-divider"
81
+ })) : createCommentVNode("", true)
82
+ ], 64);
83
+ }), 64))
84
+ ])
85
+ ]),
86
+ default: withCtx(() => [
87
+ createElementVNode("div", _hoisted_5, [
88
+ !unref(isArray)(__props.items) || __props.items.length === 0 ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
89
+ createVNode(OSearchResultEmpty)
90
+ ], true) : renderSlot(_ctx.$slots, "list", {
91
+ key: 1,
92
+ items: __props.items
93
+ }, void 0, true)
94
+ ])
95
+ ]),
96
+ _: 3
97
+ }, 8, ["loading"]),
98
+ createVNode(OSearchResultFeedbackBanner, { submit: __props.submitFeedback }, null, 8, ["submit"]),
99
+ !__props.loading && __props.total > 0 && !unref(lePadV) ? (openBlock(), createBlock(unref(OPagination), {
100
+ key: 0,
101
+ page: page.value,
102
+ "onUpdate:page": _cache[1] || (_cache[1] = ($event) => page.value = $event),
103
+ "page-size": pageSize.value,
104
+ "onUpdate:pageSize": _cache[2] || (_cache[2] = ($event) => pageSize.value = $event),
105
+ total: __props.total,
106
+ "page-sizes": __props.pageSizes,
107
+ class: "o-search-result-pagination"
108
+ }, null, 8, ["page", "page-size", "total", "page-sizes"])) : createCommentVNode("", true),
109
+ unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_6, [
110
+ !__props.loading && page.value * pageSize.value >= __props.total ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
111
+ createTextVNode(toDisplayString(unref(t)("search.reachBottom")), 1)
112
+ ], 64)) : !__props.loading && page.value >= 1 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
113
+ createTextVNode(toDisplayString(unref(t)("search.loadMore")), 1)
114
+ ], 64)) : __props.loading && page.value > 1 ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
115
+ createTextVNode(toDisplayString(unref(t)("search.loading")), 1)
116
+ ], 64)) : createCommentVNode("", true)
117
+ ])) : createCommentVNode("", true)
118
+ ]),
119
+ !unref(lePad) ? renderSlot(_ctx.$slots, "right", { key: 0 }, () => [
120
+ createElementVNode("div", _hoisted_7, [
121
+ createVNode(OSearchResultRelative, {
122
+ "relative-items": __props.relativeItems,
123
+ onClickRelativeSearchItem: _cache[3] || (_cache[3] = ($event) => emit("click-relative-search-item", $event))
124
+ }, null, 8, ["relative-items"]),
125
+ createVNode(OSearchResultFeedback, { submit: __props.submitFeedback }, null, 8, ["submit"])
126
+ ])
127
+ ], true) : createCommentVNode("", true)
128
+ ])
129
+ ]);
130
+ };
131
+ }
132
+ });
133
+ export {
134
+ _sfc_main as default
135
+ };
@@ -0,0 +1,134 @@
1
+ .hover-icon-rotate .o-icon[data-v-fbcd62d1] {
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-fbcd62d1] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-search-result-header[data-v-fbcd62d1] {
10
+ background-image: var(--v1bb9af50);
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-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
50
+ display: none;
51
+ }
52
+ .o-search-result-header .o-search-result-header-search-btn[data-v-fbcd62d1] {
53
+ display: none;
54
+ }
55
+ .o-search-result-header .o-search-result-header-input[data-v-fbcd62d1] {
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-fbcd62d1] {
60
+ z-index: 100;
61
+ }
62
+ @media (min-width: ) {
63
+ .o-search-result-header .o-search-result-header-input[data-v-fbcd62d1] {
64
+ max-width: var(--grid-10);
65
+ }
66
+ }
67
+ .o-search-result-header .o-search-result-header-input[data-v-fbcd62d1] .o-input.o_box-large {
68
+ --_box-height: 40px ;
69
+ }
70
+ .o-search-result-header .o-search-result-header-input[data-v-fbcd62d1] .o-search-image-input-icon {
71
+ font-size: 24px;
72
+ }
73
+ .o-search-result-header .o-search-result-header-tab-wrap[data-v-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
91
+ padding: 0 24px;
92
+ }
93
+ }
94
+ .o-search-result-header .o-search-result-header-tab-wrap .o-search-result-header-tab[data-v-fbcd62d1] {
95
+ --tab-nav-justify: start;
96
+ }
97
+ @media (max-width: 840px) {
98
+ .o-search-result-header .o-search-result-header-input-row[data-v-fbcd62d1] {
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-fbcd62d1] {
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-fbcd62d1] {
114
+ font-size: 24px;
115
+ }
116
+ .o-search-result-header .o-search-result-header-input[data-v-fbcd62d1] {
117
+ flex: 1;
118
+ max-width: none;
119
+ margin: 0;
120
+ }
121
+ .o-search-result-header .o-search-result-header-search-btn[data-v-fbcd62d1] {
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-fbcd62d1] {
132
+ padding: 8px 24px;
133
+ }
134
+ }