@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
@@ -0,0 +1,152 @@
1
+ .hover-icon-rotate .o-icon[data-v-72958e79] {
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-72958e79] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-search-result-feedback[data-v-72958e79] {
10
+ --o-search-result-feedback-radius: var(--o-search-result-radius, var(--o-radius-xs));
11
+ color: var(--o-color-info1);
12
+ }
13
+ .o-search-result-feedback .o-search-result-feedback-title[data-v-72958e79] {
14
+ display: flex;
15
+ align-items: center;
16
+ font-weight: 600;
17
+ font-size: 20px;
18
+ line-height: 28px;
19
+ }
20
+ @media (min-width: 1201px) and (max-width: 1680px) {
21
+ .o-search-result-feedback .o-search-result-feedback-title[data-v-72958e79] {
22
+ font-size: 18px;
23
+ line-height: 26px;
24
+ }
25
+ }
26
+ @media (min-width: 841px) and (max-width: 1200px) {
27
+ .o-search-result-feedback .o-search-result-feedback-title[data-v-72958e79] {
28
+ font-size: 16px;
29
+ line-height: 24px;
30
+ }
31
+ }
32
+ @media (min-width: 601px) and (max-width: 840px) {
33
+ .o-search-result-feedback .o-search-result-feedback-title[data-v-72958e79] {
34
+ font-size: 16px;
35
+ line-height: 24px;
36
+ }
37
+ }
38
+ @media (max-width: 600px) {
39
+ .o-search-result-feedback .o-search-result-feedback-title[data-v-72958e79] {
40
+ font-size: 14px;
41
+ line-height: 22px;
42
+ }
43
+ }
44
+ .o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-72958e79] {
45
+ margin-right: 12px;
46
+ font-size: 24px;
47
+ line-height: 32px;
48
+ }
49
+ @media (min-width: 1201px) and (max-width: 1680px) {
50
+ .o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-72958e79] {
51
+ font-size: 20px;
52
+ line-height: 28px;
53
+ }
54
+ }
55
+ @media (min-width: 841px) and (max-width: 1200px) {
56
+ .o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-72958e79] {
57
+ font-size: 18px;
58
+ line-height: 26px;
59
+ }
60
+ }
61
+ @media (min-width: 601px) and (max-width: 840px) {
62
+ .o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-72958e79] {
63
+ font-size: 18px;
64
+ line-height: 26px;
65
+ }
66
+ }
67
+ @media (max-width: 600px) {
68
+ .o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-72958e79] {
69
+ font-size: 16px;
70
+ line-height: 24px;
71
+ }
72
+ }
73
+ .o-search-result-feedback .o-search-result-feedback-divider[data-v-72958e79] {
74
+ margin: 12px 0;
75
+ }
76
+ @media (max-width: 1680px) {
77
+ .o-search-result-feedback .o-search-result-feedback-divider[data-v-72958e79] {
78
+ margin: 8px 0;
79
+ }
80
+ }
81
+ .o-search-result-feedback .o-search-result-feedback-desc[data-v-72958e79] {
82
+ color: var(--o-color-info2);
83
+ font-size: 16px;
84
+ line-height: 24px;
85
+ }
86
+ @media (min-width: 1201px) and (max-width: 1680px) {
87
+ .o-search-result-feedback .o-search-result-feedback-desc[data-v-72958e79] {
88
+ font-size: 14px;
89
+ line-height: 22px;
90
+ }
91
+ }
92
+ @media (min-width: 841px) and (max-width: 1200px) {
93
+ .o-search-result-feedback .o-search-result-feedback-desc[data-v-72958e79] {
94
+ font-size: 14px;
95
+ line-height: 22px;
96
+ }
97
+ }
98
+ @media (min-width: 601px) and (max-width: 840px) {
99
+ .o-search-result-feedback .o-search-result-feedback-desc[data-v-72958e79] {
100
+ font-size: 14px;
101
+ line-height: 22px;
102
+ }
103
+ }
104
+ @media (max-width: 600px) {
105
+ .o-search-result-feedback .o-search-result-feedback-desc[data-v-72958e79] {
106
+ font-size: 12px;
107
+ line-height: 18px;
108
+ }
109
+ }
110
+ .o-search-result-feedback .o-search-result-feedback-btn[data-v-72958e79] {
111
+ display: flex;
112
+ align-items: center;
113
+ margin-top: 12px;
114
+ }
115
+ @media (max-width: 1680px) {
116
+ .o-search-result-feedback .o-search-result-feedback-btn[data-v-72958e79] {
117
+ margin-top: 8px;
118
+ }
119
+ }
120
+ .o-search-result-feedback .o-search-result-feedback-btn .o-btn + .o-btn[data-v-72958e79] {
121
+ margin-left: 16px;
122
+ }
123
+ .o-search-result-feedback .o-search-result-feedback-input-wrap[data-v-72958e79] {
124
+ margin-top: 12px;
125
+ padding: 16px;
126
+ background-color: var(--o-color-fill1);
127
+ border-radius: var(--o-search-result-feedback-radius);
128
+ }
129
+ @media (max-width: 1680px) {
130
+ .o-search-result-feedback .o-search-result-feedback-input-wrap[data-v-72958e79] {
131
+ margin-top: 8px;
132
+ padding: 12px;
133
+ }
134
+ }
135
+ .o-search-result-feedback .o-search-result-feedback-textarea[data-v-72958e79] {
136
+ width: 100%;
137
+ }
138
+ .o-search-result-feedback .o-search-result-feedback-input-btn[data-v-72958e79] {
139
+ display: flex;
140
+ justify-content: center;
141
+ align-items: center;
142
+ margin-top: 12px;
143
+ }
144
+ .o-search-result-feedback .o-search-result-feedback-input-btn .o-btn + .o-btn[data-v-72958e79] {
145
+ margin-left: 16px;
146
+ }
147
+ .o-search-result-feedback .o-search-result-message-wrap[data-v-72958e79] {
148
+ margin-top: 12px;
149
+ }
150
+ .o-search-result-feedback .o-search-result-message[data-v-72958e79] {
151
+ --message-padding: 8px 10px;
152
+ }
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ submit?: (form: {
3
+ searchFlag: boolean;
4
+ feedbackText: string;
5
+ }) => Promise<boolean>;
6
+ };
7
+ 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, {}, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./OSearchResultFeedback.vue2.mjs";
2
+ import './OSearchResultFeedback.css';
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const OSearchResultFeedback = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-72958e79"]]);
5
+ export {
6
+ OSearchResultFeedback as default
7
+ };
@@ -0,0 +1,171 @@
1
+ import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx, toDisplayString, createTextVNode, createCommentVNode } from "vue";
2
+ import { OIcon, ODivider, OButton, OTextarea, OMessage } from "@opensig/opendesign";
3
+ import { useI18n } from "../../../i18n/index.mjs";
4
+ import IconEdit from "../../../_virtual/icon-edit.mjs";
5
+ import IconLike from "../../../_virtual/icon-like.mjs";
6
+ import IconUnlike from "../../../_virtual/icon-unlike.mjs";
7
+ const _hoisted_1 = { class: "o-search-result-feedback" };
8
+ const _hoisted_2 = { class: "o-search-result-feedback-title" };
9
+ const _hoisted_3 = { class: "o-search-result-feedback-desc" };
10
+ const _hoisted_4 = { class: "o-search-result-feedback-btn" };
11
+ const _hoisted_5 = {
12
+ key: 0,
13
+ class: "o-search-result-feedback-input-wrap"
14
+ };
15
+ const _hoisted_6 = { class: "o-search-result-feedback-input-btn" };
16
+ const _hoisted_7 = {
17
+ key: 1,
18
+ class: "o-search-result-message-wrap"
19
+ };
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ __name: "OSearchResultFeedback",
22
+ props: {
23
+ submit: { type: Function }
24
+ },
25
+ setup(__props) {
26
+ const { t } = useI18n();
27
+ const props = __props;
28
+ const showInput = ref(false);
29
+ const loading = ref(false);
30
+ const input = ref("");
31
+ const submitStatus = ref(false);
32
+ const showMessage = ref(false);
33
+ const onClickNotFound = () => {
34
+ if (loading.value) {
35
+ return;
36
+ }
37
+ showInput.value = true;
38
+ showMessage.value = false;
39
+ };
40
+ const onClickCancelInput = () => {
41
+ showInput.value = false;
42
+ input.value = "";
43
+ };
44
+ let messageTimer;
45
+ const onSubmit = async (searchFlag) => {
46
+ if (loading.value || !props.submit) {
47
+ return;
48
+ }
49
+ loading.value = true;
50
+ if (searchFlag) {
51
+ onClickCancelInput();
52
+ }
53
+ submitStatus.value = await props.submit({
54
+ searchFlag,
55
+ feedbackText: searchFlag ? input.value : ""
56
+ });
57
+ onClickCancelInput();
58
+ clearTimeout(messageTimer);
59
+ showMessage.value = true;
60
+ messageTimer = setTimeout(() => {
61
+ showMessage.value = false;
62
+ }, 3e3);
63
+ loading.value = false;
64
+ };
65
+ return (_ctx, _cache) => {
66
+ return openBlock(), createElementBlock("div", _hoisted_1, [
67
+ createElementVNode("div", _hoisted_2, [
68
+ createVNode(unref(OIcon), { class: "o-search-result-feedback-icon-edit" }, {
69
+ default: withCtx(() => [
70
+ createVNode(unref(IconEdit))
71
+ ]),
72
+ _: 1
73
+ }),
74
+ createElementVNode("span", null, toDisplayString(unref(t)("search.feedback")), 1)
75
+ ]),
76
+ createVNode(unref(ODivider), { class: "o-search-result-feedback-divider" }),
77
+ createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("search.feedbackDesc")), 1),
78
+ createElementVNode("div", _hoisted_4, [
79
+ createVNode(unref(OButton), {
80
+ color: "primary",
81
+ size: "large",
82
+ round: "pill",
83
+ onClick: _cache[0] || (_cache[0] = ($event) => onSubmit(true))
84
+ }, {
85
+ icon: withCtx(() => [
86
+ createVNode(unref(OIcon), null, {
87
+ default: withCtx(() => [
88
+ createVNode(unref(IconLike))
89
+ ]),
90
+ _: 1
91
+ })
92
+ ]),
93
+ default: withCtx(() => [
94
+ createTextVNode(" " + toDisplayString(unref(t)("search.found")), 1)
95
+ ]),
96
+ _: 1
97
+ }),
98
+ createVNode(unref(OButton), {
99
+ color: "primary",
100
+ size: "large",
101
+ round: "pill",
102
+ onClick: onClickNotFound
103
+ }, {
104
+ icon: withCtx(() => [
105
+ createVNode(unref(OIcon), null, {
106
+ default: withCtx(() => [
107
+ createVNode(unref(IconUnlike))
108
+ ]),
109
+ _: 1
110
+ })
111
+ ]),
112
+ default: withCtx(() => [
113
+ createTextVNode(" " + toDisplayString(unref(t)("search.notFound")), 1)
114
+ ]),
115
+ _: 1
116
+ })
117
+ ]),
118
+ showInput.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
119
+ createVNode(unref(OTextarea), {
120
+ modelValue: input.value,
121
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => input.value = $event),
122
+ class: "o-search-result-feedback-textarea",
123
+ placeholder: unref(t)("search.notFoundPlaceholder"),
124
+ "max-length": 200,
125
+ resize: "none"
126
+ }, null, 8, ["modelValue", "placeholder"]),
127
+ createElementVNode("div", _hoisted_6, [
128
+ createVNode(unref(OButton), {
129
+ loading: loading.value,
130
+ disabled: loading.value,
131
+ color: "primary",
132
+ round: "pill",
133
+ variant: "solid",
134
+ onClick: _cache[2] || (_cache[2] = ($event) => onSubmit(false))
135
+ }, {
136
+ default: withCtx(() => [
137
+ createTextVNode(toDisplayString(unref(t)("search.submitFeedback")), 1)
138
+ ]),
139
+ _: 1
140
+ }, 8, ["loading", "disabled"]),
141
+ createVNode(unref(OButton), {
142
+ disabled: loading.value,
143
+ color: "primary",
144
+ round: "pill",
145
+ onClick: onClickCancelInput
146
+ }, {
147
+ default: withCtx(() => [
148
+ createTextVNode(toDisplayString(unref(t)("search.cancel")), 1)
149
+ ]),
150
+ _: 1
151
+ }, 8, ["disabled"])
152
+ ])
153
+ ])) : createCommentVNode("", true),
154
+ showMessage.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
155
+ createVNode(unref(OMessage), {
156
+ class: "o-search-result-message",
157
+ status: submitStatus.value ? "success" : "danger"
158
+ }, {
159
+ default: withCtx(() => [
160
+ createTextVNode(toDisplayString(submitStatus.value ? unref(t)("feedback.submitSuccess") : unref(t)("feedback.submitFailed")), 1)
161
+ ]),
162
+ _: 1
163
+ }, 8, ["status"])
164
+ ])) : createCommentVNode("", true)
165
+ ]);
166
+ };
167
+ }
168
+ });
169
+ export {
170
+ _sfc_main as default
171
+ };
@@ -0,0 +1,192 @@
1
+ .hover-icon-rotate .o-icon[data-v-4cd638c6] {
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-4cd638c6] {
6
+ transform: rotate(-180deg);
7
+ }
8
+ }
9
+ .o-search-result-feedback-banner[data-v-4cd638c6] {
10
+ --o-search-result-feedback-radius: var(--o-search-result-radius, var(--o-radius-xs));
11
+ padding: 32px;
12
+ background-color: var(--o-color-fill1);
13
+ border-radius: var(--o-search-result-feedback-radius);
14
+ }
15
+ @media (max-width: 1680px) {
16
+ .o-search-result-feedback-banner[data-v-4cd638c6] {
17
+ padding: 16px 24px;
18
+ }
19
+ }
20
+ @media (max-width: 1200px) {
21
+ .o-search-result-feedback-banner[data-v-4cd638c6] {
22
+ padding: 12px 16px;
23
+ }
24
+ }
25
+ @media (max-width: 840px) {
26
+ .o-search-result-feedback-banner[data-v-4cd638c6] {
27
+ padding: 12px;
28
+ }
29
+ }
30
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-4cd638c6] {
31
+ display: flex;
32
+ align-items: center;
33
+ font-size: 18px;
34
+ line-height: 26px;
35
+ }
36
+ @media (min-width: 1201px) and (max-width: 1680px) {
37
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-4cd638c6] {
38
+ font-size: 16px;
39
+ line-height: 24px;
40
+ }
41
+ }
42
+ @media (min-width: 841px) and (max-width: 1200px) {
43
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-4cd638c6] {
44
+ font-size: 14px;
45
+ line-height: 22px;
46
+ }
47
+ }
48
+ @media (min-width: 601px) and (max-width: 840px) {
49
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-4cd638c6] {
50
+ font-size: 14px;
51
+ line-height: 22px;
52
+ }
53
+ }
54
+ @media (max-width: 600px) {
55
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-4cd638c6] {
56
+ font-size: 14px;
57
+ line-height: 22px;
58
+ }
59
+ }
60
+ @media (max-width: 840px) {
61
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-4cd638c6] {
62
+ flex-direction: column;
63
+ align-items: flex-start;
64
+ }
65
+ }
66
+ .o-search-result-feedback-banner .o-search-result-feedback-icon-edit[data-v-4cd638c6] {
67
+ margin-right: 8px;
68
+ font-size: 24px;
69
+ line-height: 32px;
70
+ }
71
+ @media (min-width: 1201px) and (max-width: 1680px) {
72
+ .o-search-result-feedback-banner .o-search-result-feedback-icon-edit[data-v-4cd638c6] {
73
+ font-size: 20px;
74
+ line-height: 28px;
75
+ }
76
+ }
77
+ @media (min-width: 841px) and (max-width: 1200px) {
78
+ .o-search-result-feedback-banner .o-search-result-feedback-icon-edit[data-v-4cd638c6] {
79
+ font-size: 18px;
80
+ line-height: 26px;
81
+ }
82
+ }
83
+ @media (min-width: 601px) and (max-width: 840px) {
84
+ .o-search-result-feedback-banner .o-search-result-feedback-icon-edit[data-v-4cd638c6] {
85
+ font-size: 18px;
86
+ line-height: 26px;
87
+ }
88
+ }
89
+ @media (max-width: 600px) {
90
+ .o-search-result-feedback-banner .o-search-result-feedback-icon-edit[data-v-4cd638c6] {
91
+ font-size: 16px;
92
+ line-height: 24px;
93
+ }
94
+ }
95
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-4cd638c6] {
96
+ display: flex;
97
+ align-items: center;
98
+ margin-left: 48px;
99
+ }
100
+ @media (max-width: 1680px) {
101
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-4cd638c6] {
102
+ margin-left: 24px;
103
+ }
104
+ }
105
+ @media (max-width: 1200px) {
106
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-4cd638c6] {
107
+ margin-left: 16px;
108
+ }
109
+ }
110
+ @media (max-width: 840px) {
111
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-4cd638c6] {
112
+ margin-left: 0;
113
+ margin-top: 16px;
114
+ }
115
+ }
116
+ .o-search-result-feedback-banner .o-search-result-feedback-banner-btns .o-btn + .o-btn[data-v-4cd638c6] {
117
+ margin-left: 16px;
118
+ }
119
+ .o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-4cd638c6] {
120
+ margin-top: 16px;
121
+ padding-left: 32px;
122
+ background-color: var(--o-color-fill1);
123
+ border-radius: var(--o-search-result-feedback-radius);
124
+ }
125
+ @media (max-width: 1680px) {
126
+ .o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-4cd638c6] {
127
+ margin-top: 12px;
128
+ padding-left: 28px;
129
+ }
130
+ }
131
+ @media (max-width: 1200px) {
132
+ .o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-4cd638c6] {
133
+ padding-left: 24px;
134
+ }
135
+ }
136
+ @media (max-width: 840px) {
137
+ .o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-4cd638c6] {
138
+ padding-left: 0;
139
+ }
140
+ }
141
+ .o-search-result-feedback-banner .o-search-result-feedback-textarea[data-v-4cd638c6] {
142
+ width: 100%;
143
+ }
144
+ .o-search-result-feedback-banner .o-search-result-feedback-input-btn[data-v-4cd638c6] {
145
+ display: flex;
146
+ align-items: center;
147
+ margin-top: 12px;
148
+ }
149
+ .o-search-result-feedback-banner .o-search-result-feedback-input-btn .o-btn + .o-btn[data-v-4cd638c6] {
150
+ margin-left: 16px;
151
+ }
152
+ .o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-4cd638c6] {
153
+ display: flex;
154
+ align-items: center;
155
+ font-weight: 600;
156
+ font-size: 20px;
157
+ line-height: 28px;
158
+ }
159
+ @media (min-width: 1201px) and (max-width: 1680px) {
160
+ .o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-4cd638c6] {
161
+ font-size: 18px;
162
+ line-height: 26px;
163
+ }
164
+ }
165
+ @media (min-width: 841px) and (max-width: 1200px) {
166
+ .o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-4cd638c6] {
167
+ font-size: 16px;
168
+ line-height: 24px;
169
+ }
170
+ }
171
+ @media (min-width: 601px) and (max-width: 840px) {
172
+ .o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-4cd638c6] {
173
+ font-size: 16px;
174
+ line-height: 24px;
175
+ }
176
+ }
177
+ @media (max-width: 600px) {
178
+ .o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-4cd638c6] {
179
+ font-size: 14px;
180
+ line-height: 22px;
181
+ }
182
+ }
183
+ .o-search-result-feedback-banner .o-search-result-feedback-divider[data-v-4cd638c6] {
184
+ margin: 8px 0;
185
+ }
186
+ .o-search-result-feedback-banner .o-search-result-feedback-mb-desc[data-v-4cd638c6] {
187
+ font-size: 14px;
188
+ line-height: 22px;
189
+ }
190
+ .o-search-result-feedback-banner .o-search-result-message-wrap[data-v-4cd638c6] {
191
+ margin-top: 12px;
192
+ }
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ submit?: (form: {
3
+ searchFlag: boolean;
4
+ feedbackText: string;
5
+ }) => Promise<boolean>;
6
+ };
7
+ 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, {}, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import _sfc_main from "./OSearchResultFeedbackBanner.vue2.mjs";
2
+ import './OSearchResultFeedbackBanner.css';
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const OSearchResultFeedbackBanner = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4cd638c6"]]);
5
+ export {
6
+ OSearchResultFeedbackBanner as default
7
+ };