@opendesign-plus-test/components 0.0.1-rc.216 → 0.0.1-rc.218
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.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +48 -74
- package/dist/components/config-provider/OPlusConfigProvider.vue.d.ts +0 -1
- package/dist/components/header/OHeader.vue.d.ts +4 -4
- package/dist/components/header/index.d.ts +2 -2
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +1 -2
- package/dist/components/meeting/index.d.ts +0 -3
- package/dist/components/meeting/types.d.ts +0 -2
- package/dist/components/user-center/OAppHeader.vue.d.ts +2 -0
- package/dist/components/user-center/index.d.ts +6 -0
- package/dist/components.cjs.js +45 -45
- package/dist/components.css +2 -2
- package/dist/components.es.js +15290 -15991
- package/dist/index.d.ts +0 -1
- package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
- package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
- package/dist/treeshaking/_virtual/icon-tips.mjs +13 -2
- package/dist/treeshaking/_virtual/icon-tips2.mjs +2 -13
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.d.ts +0 -1
- package/dist/treeshaking/components/config-provider/OPlusConfigProvider.vue.mjs +2 -4
- package/dist/treeshaking/components/empty/OEmpty.css +10 -10
- package/dist/treeshaking/components/empty/OEmpty.vue.mjs +1 -1
- package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +2 -6
- package/dist/treeshaking/components/footer/components/FooterList.css +109 -149
- package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
- package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +60 -59
- package/dist/treeshaking/components/header/OHeader.css +17 -17
- package/dist/treeshaking/components/header/OHeader.vue.d.ts +4 -4
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +2 -3
- package/dist/treeshaking/components/header/components/HeaderContent.css +221 -191
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/index.d.ts +2 -2
- package/dist/treeshaking/components/meeting/OMeetingPlayback.css +0 -2
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +1 -2
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.mjs +4 -12
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +0 -3
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +7 -15
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.mjs +15 -13
- package/dist/treeshaking/components/meeting/index.d.ts +0 -3
- package/dist/treeshaking/components/meeting/types.d.ts +0 -2
- package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
- package/dist/treeshaking/components/search/OSearchInput.vue.mjs +2 -2
- package/dist/treeshaking/components/search/index.mjs +3 -3
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +48 -46
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSecurity.css +76 -50
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue2.mjs +7 -7
- package/dist/treeshaking/components/user-center/OAccountSetting.css +112 -60
- package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAppHeader.css +3 -3
- package/dist/treeshaking/components/user-center/OAppHeader.vue.d.ts +2 -0
- package/dist/treeshaking/components/user-center/OAppHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAppHeader.vue2.mjs +3 -2
- package/dist/treeshaking/components/user-center/OAsideBar.css +14 -14
- package/dist/treeshaking/components/user-center/OAsideBar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OLayout.css +47 -13
- package/dist/treeshaking/components/user-center/OLayout.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OLayout.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheAccountManage.css +28 -11
- package/dist/treeshaking/components/user-center/OTheAccountManage.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.css +10 -10
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheMeeting.css +35 -35
- package/dist/treeshaking/components/user-center/OTheMeeting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.css +80 -27
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.css +263 -85
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
- package/dist/treeshaking/components/user-center/index.d.ts +6 -0
- package/dist/treeshaking/components/user-center/index.mjs +2 -2
- package/dist/treeshaking/components/user-center/internal/OAppDialog.css +42 -16
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OAppDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.css +9 -9
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OCommonHeader.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.css +32 -32
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/ODeleteAccountModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.css +65 -15
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditNicknameDialog2.css +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.css +65 -15
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OEditOrgDialog2.css +1 -1
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.css +46 -20
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OModifyPwd.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.css +4 -4
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OPasswordPopInput.vue2.mjs +2 -2
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.css +39 -13
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OToBindingTipModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.css +41 -15
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUnbindingThirdpartyAccountModal.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.css +106 -106
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/internal/OUploadAvatar2.css +2 -2
- package/dist/treeshaking/i18n/en.mjs +0 -13
- package/dist/treeshaking/i18n/zh.mjs +0 -13
- package/dist/treeshaking/index.d.ts +0 -1
- package/dist/treeshaking/index.mjs +0 -4
- package/package.json +4 -4
- package/dist/components/search-result/OSearchResult.vue.d.ts +0 -52
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +0 -1296
- package/dist/components/search-result/OSearchResultItem.vue.d.ts +0 -34
- package/dist/components/search-result/components/OSearchResultEmpty.vue.d.ts +0 -2
- package/dist/components/search-result/components/OSearchResultFeedback.vue.d.ts +0 -8
- package/dist/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +0 -8
- package/dist/components/search-result/components/OSearchResultRelative.vue.d.ts +0 -6
- package/dist/components/search-result/index.d.ts +0 -844
- package/dist/components/search-result/types.d.ts +0 -9
- package/dist/treeshaking/_virtual/icon-arrow-left.mjs +0 -20
- package/dist/treeshaking/_virtual/icon-edit.mjs +0 -38
- package/dist/treeshaking/_virtual/icon-like.mjs +0 -20
- package/dist/treeshaking/_virtual/icon-relative-search.mjs +0 -21
- package/dist/treeshaking/_virtual/icon-unlike.mjs +0 -20
- package/dist/treeshaking/assets/search/search-empty.png.mjs +0 -4
- package/dist/treeshaking/components/search-result/OSearchResult.css +0 -101
- package/dist/treeshaking/components/search-result/OSearchResult.vue.d.ts +0 -52
- package/dist/treeshaking/components/search-result/OSearchResult.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/OSearchResult.vue2.mjs +0 -116
- package/dist/treeshaking/components/search-result/OSearchResultHeader.css +0 -125
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +0 -1296
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue2.mjs +0 -104
- package/dist/treeshaking/components/search-result/OSearchResultItem.css +0 -213
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue.d.ts +0 -34
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/OSearchResultItem.vue2.mjs +0 -117
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.css +0 -52
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.d.ts +0 -2
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultEmpty.vue2.mjs +0 -29
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.css +0 -154
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.d.ts +0 -8
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedback.vue2.mjs +0 -171
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.css +0 -188
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts +0 -8
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue2.mjs +0 -185
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.css +0 -97
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.d.ts +0 -6
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue.mjs +0 -7
- package/dist/treeshaking/components/search-result/components/OSearchResultRelative.vue2.mjs +0 -52
- package/dist/treeshaking/components/search-result/index.d.ts +0 -844
- package/dist/treeshaking/components/search-result/index.mjs +0 -23
- package/dist/treeshaking/components/search-result/types.d.ts +0 -9
- package/dist/treeshaking/components/user-center/styles/global.css +0 -349
- package/dist/treeshaking/components/user-center/styles/variables.css +0 -361
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-bf624516] {
|
|
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-bf624516] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-search-result-feedback[data-v-bf624516] {
|
|
10
|
-
--o-search-result-feedback-radius: var(--o-search-result-radius, var(--o-radius-xs));
|
|
11
|
-
max-width: var(--grid-4);
|
|
12
|
-
color: var(--o-color-info1);
|
|
13
|
-
}
|
|
14
|
-
@media (max-width: 1680px) {
|
|
15
|
-
.o-search-result-feedback[data-v-bf624516] {
|
|
16
|
-
max-width: var(--grid-5);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.o-search-result-feedback .o-search-result-feedback-title[data-v-bf624516] {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
font-size: 20px;
|
|
24
|
-
line-height: 28px;
|
|
25
|
-
}
|
|
26
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
27
|
-
.o-search-result-feedback .o-search-result-feedback-title[data-v-bf624516] {
|
|
28
|
-
font-size: 18px;
|
|
29
|
-
line-height: 26px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
33
|
-
.o-search-result-feedback .o-search-result-feedback-title[data-v-bf624516] {
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
line-height: 24px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
39
|
-
.o-search-result-feedback .o-search-result-feedback-title[data-v-bf624516] {
|
|
40
|
-
font-size: 16px;
|
|
41
|
-
line-height: 24px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
@media (max-width: 600px) {
|
|
45
|
-
.o-search-result-feedback .o-search-result-feedback-title[data-v-bf624516] {
|
|
46
|
-
font-size: 14px;
|
|
47
|
-
line-height: 22px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
.o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-bf624516] {
|
|
51
|
-
margin-right: 12px;
|
|
52
|
-
font-size: 24px;
|
|
53
|
-
line-height: 32px;
|
|
54
|
-
}
|
|
55
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
56
|
-
.o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-bf624516] {
|
|
57
|
-
font-size: 20px;
|
|
58
|
-
line-height: 28px;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
62
|
-
.o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-bf624516] {
|
|
63
|
-
font-size: 18px;
|
|
64
|
-
line-height: 26px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
68
|
-
.o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-bf624516] {
|
|
69
|
-
font-size: 18px;
|
|
70
|
-
line-height: 26px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@media (max-width: 600px) {
|
|
74
|
-
.o-search-result-feedback .o-search-result-feedback-icon-edit[data-v-bf624516] {
|
|
75
|
-
font-size: 16px;
|
|
76
|
-
line-height: 24px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
.o-search-result-feedback .o-search-result-feedback-divider[data-v-bf624516] {
|
|
80
|
-
margin: 12px 0;
|
|
81
|
-
}
|
|
82
|
-
@media (max-width: 1680px) {
|
|
83
|
-
.o-search-result-feedback .o-search-result-feedback-divider[data-v-bf624516] {
|
|
84
|
-
margin: 8px 0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
.o-search-result-feedback .o-search-result-feedback-desc[data-v-bf624516] {
|
|
88
|
-
color: var(--o-color-info2);
|
|
89
|
-
font-size: 16px;
|
|
90
|
-
line-height: 24px;
|
|
91
|
-
}
|
|
92
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
93
|
-
.o-search-result-feedback .o-search-result-feedback-desc[data-v-bf624516] {
|
|
94
|
-
font-size: 14px;
|
|
95
|
-
line-height: 22px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
99
|
-
.o-search-result-feedback .o-search-result-feedback-desc[data-v-bf624516] {
|
|
100
|
-
font-size: 14px;
|
|
101
|
-
line-height: 22px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
105
|
-
.o-search-result-feedback .o-search-result-feedback-desc[data-v-bf624516] {
|
|
106
|
-
font-size: 14px;
|
|
107
|
-
line-height: 22px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
@media (max-width: 600px) {
|
|
111
|
-
.o-search-result-feedback .o-search-result-feedback-desc[data-v-bf624516] {
|
|
112
|
-
font-size: 12px;
|
|
113
|
-
line-height: 18px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
.o-search-result-feedback .o-search-result-feedback-btn[data-v-bf624516] {
|
|
117
|
-
display: flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
gap: 16px;
|
|
120
|
-
margin-top: 12px;
|
|
121
|
-
}
|
|
122
|
-
@media (max-width: 1680px) {
|
|
123
|
-
.o-search-result-feedback .o-search-result-feedback-btn[data-v-bf624516] {
|
|
124
|
-
margin-top: 8px;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
.o-search-result-feedback .o-search-result-feedback-input-wrap[data-v-bf624516] {
|
|
128
|
-
margin-top: 12px;
|
|
129
|
-
padding: 16px;
|
|
130
|
-
background-color: var(--o-color-fill1);
|
|
131
|
-
border-radius: var(--o-search-result-feedback-radius);
|
|
132
|
-
}
|
|
133
|
-
@media (max-width: 1680px) {
|
|
134
|
-
.o-search-result-feedback .o-search-result-feedback-input-wrap[data-v-bf624516] {
|
|
135
|
-
margin-top: 8px;
|
|
136
|
-
padding: 12px;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
.o-search-result-feedback .o-search-result-feedback-textarea[data-v-bf624516] {
|
|
140
|
-
width: 100%;
|
|
141
|
-
}
|
|
142
|
-
.o-search-result-feedback .o-search-result-feedback-input-btn[data-v-bf624516] {
|
|
143
|
-
display: flex;
|
|
144
|
-
justify-content: center;
|
|
145
|
-
align-items: center;
|
|
146
|
-
gap: 16px;
|
|
147
|
-
margin-top: 12px;
|
|
148
|
-
}
|
|
149
|
-
.o-search-result-feedback .o-search-result-message-wrap[data-v-bf624516] {
|
|
150
|
-
margin-top: 12px;
|
|
151
|
-
}
|
|
152
|
-
.o-search-result-feedback .o-search-result-message[data-v-bf624516] {
|
|
153
|
-
--message-padding: 8px 10px;
|
|
154
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,7 +0,0 @@
|
|
|
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-bf624516"]]);
|
|
5
|
-
export {
|
|
6
|
-
OSearchResultFeedback as default
|
|
7
|
-
};
|
|
@@ -1,171 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.css
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-search-result-feedback-banner[data-v-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
17
|
-
padding: 16px 24px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
@media (max-width: 1200px) {
|
|
21
|
-
.o-search-result-feedback-banner[data-v-b3c8f1f6] {
|
|
22
|
-
padding: 12px 16px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
@media (max-width: 840px) {
|
|
26
|
-
.o-search-result-feedback-banner[data-v-b3c8f1f6] {
|
|
27
|
-
padding: 12px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.o-search-result-feedback-banner .o-search-result-feedback-banner-content[data-v-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
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-b3c8f1f6] {
|
|
91
|
-
font-size: 16px;
|
|
92
|
-
line-height: 24px;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
.o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-b3c8f1f6] {
|
|
96
|
-
display: flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
gap: 16px;
|
|
99
|
-
margin-left: 48px;
|
|
100
|
-
}
|
|
101
|
-
@media (max-width: 1680px) {
|
|
102
|
-
.o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-b3c8f1f6] {
|
|
103
|
-
margin-left: 24px;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
@media (max-width: 1200px) {
|
|
107
|
-
.o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-b3c8f1f6] {
|
|
108
|
-
margin-left: 16px;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
@media (max-width: 840px) {
|
|
112
|
-
.o-search-result-feedback-banner .o-search-result-feedback-banner-btns[data-v-b3c8f1f6] {
|
|
113
|
-
margin-left: 0;
|
|
114
|
-
margin-top: 16px;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
.o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-b3c8f1f6] {
|
|
118
|
-
margin-top: 16px;
|
|
119
|
-
padding-left: 32px;
|
|
120
|
-
background-color: var(--o-color-fill1);
|
|
121
|
-
border-radius: var(--o-search-result-feedback-radius);
|
|
122
|
-
}
|
|
123
|
-
@media (max-width: 1680px) {
|
|
124
|
-
.o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-b3c8f1f6] {
|
|
125
|
-
margin-top: 12px;
|
|
126
|
-
padding-left: 28px;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
@media (max-width: 1200px) {
|
|
130
|
-
.o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-b3c8f1f6] {
|
|
131
|
-
padding-left: 24px;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
@media (max-width: 840px) {
|
|
135
|
-
.o-search-result-feedback-banner .o-search-result-feedback-input-wrap[data-v-b3c8f1f6] {
|
|
136
|
-
padding-left: 0;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
.o-search-result-feedback-banner .o-search-result-feedback-textarea[data-v-b3c8f1f6] {
|
|
140
|
-
width: 100%;
|
|
141
|
-
}
|
|
142
|
-
.o-search-result-feedback-banner .o-search-result-feedback-input-btn[data-v-b3c8f1f6] {
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
gap: 16px;
|
|
146
|
-
margin-top: 12px;
|
|
147
|
-
}
|
|
148
|
-
.o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-b3c8f1f6] {
|
|
149
|
-
display: flex;
|
|
150
|
-
align-items: center;
|
|
151
|
-
font-weight: 600;
|
|
152
|
-
font-size: 20px;
|
|
153
|
-
line-height: 28px;
|
|
154
|
-
}
|
|
155
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
156
|
-
.o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-b3c8f1f6] {
|
|
157
|
-
font-size: 18px;
|
|
158
|
-
line-height: 26px;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
162
|
-
.o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-b3c8f1f6] {
|
|
163
|
-
font-size: 16px;
|
|
164
|
-
line-height: 24px;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
168
|
-
.o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-b3c8f1f6] {
|
|
169
|
-
font-size: 16px;
|
|
170
|
-
line-height: 24px;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
@media (max-width: 600px) {
|
|
174
|
-
.o-search-result-feedback-banner .o-search-result-feedback-mb-title[data-v-b3c8f1f6] {
|
|
175
|
-
font-size: 14px;
|
|
176
|
-
line-height: 22px;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
.o-search-result-feedback-banner .o-search-result-feedback-divider[data-v-b3c8f1f6] {
|
|
180
|
-
margin: 8px 0;
|
|
181
|
-
}
|
|
182
|
-
.o-search-result-feedback-banner .o-search-result-feedback-mb-desc[data-v-b3c8f1f6] {
|
|
183
|
-
font-size: 14px;
|
|
184
|
-
line-height: 22px;
|
|
185
|
-
}
|
|
186
|
-
.o-search-result-feedback-banner .o-search-result-message-wrap[data-v-b3c8f1f6] {
|
|
187
|
-
margin-top: 12px;
|
|
188
|
-
}
|
package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
package/dist/treeshaking/components/search-result/components/OSearchResultFeedbackBanner.vue.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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-b3c8f1f6"]]);
|
|
5
|
-
export {
|
|
6
|
-
OSearchResultFeedbackBanner as default
|
|
7
|
-
};
|