@ndscnj/roomkit-web-vue3 25.12.24165 → 25.12.24167
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/es/assets/imgs/vote-icon.png.mjs +4 -0
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +1 -1
- package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +31 -77
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +5 -53
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +56 -1
- package/es/components/RoomFooter/VoteControl/index.d.ts +0 -4
- package/es/components/RoomFooter/VoteControl/index.mjs +2 -2
- package/es/components/RoomFooter/index/index.d.ts +31 -4
- package/es/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
- package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexH5.vue2.mjs +20 -5
- package/es/components/RoomSidebar/indexPC.vue.d.ts +1 -0
- package/es/components/RoomSidebar/indexPC.vue.mjs +3 -0
- package/es/components/RoomVote/index.d.ts +17 -5
- package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
- package/es/components/RoomVote/indexH5.vue.mjs +9 -2
- package/es/conference.vue.d.ts +1 -0
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +4 -6
- package/es/index.mjs +60 -117
- package/lib/assets/imgs/vote-icon.png.js +4 -0
- package/lib/components/Chat/index/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
- package/lib/components/ManageMember/indexH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +2 -2
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +1 -1
- package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +30 -76
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +5 -53
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +57 -2
- package/lib/components/RoomFooter/VoteControl/index.d.ts +0 -4
- package/lib/components/RoomFooter/VoteControl/index.js +2 -2
- package/lib/components/RoomFooter/index/index.d.ts +31 -4
- package/lib/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
- package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
- package/lib/components/RoomFooter/index/indexH5.vue2.js +19 -4
- package/lib/components/RoomInvite/indexH5.vue.js +1 -1
- package/lib/components/RoomMore/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/indexH5.vue.js +1 -1
- package/lib/components/RoomSidebar/indexPC.vue.d.ts +1 -0
- package/lib/components/RoomSidebar/indexPC.vue.js +3 -0
- package/lib/components/RoomVote/index.d.ts +17 -5
- package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
- package/lib/components/RoomVote/indexH5.vue.js +9 -2
- package/lib/conference.vue.d.ts +1 -0
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +4 -6
- package/lib/index.js +60 -117
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +26 -108
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +7 -2
- package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +15 -2
- package/src/TUIRoom/components/RoomSidebar/indexPC.vue +3 -0
- package/src/TUIRoom/components/RoomVote/indexH5.vue +61 -118
- package/src/TUIRoom/conference.vue +3 -3
- package/es/components/RoomVote/indexH5.vue2.mjs +0 -51
- package/es/components/RoomVote/useRoomMoreHooks.mjs +0 -43
- package/lib/components/RoomVote/indexH5.vue2.js +0 -51
- package/lib/components/RoomVote/useRoomMoreHooks.js +0 -43
package/es/index.mjs
CHANGED
|
@@ -3664,7 +3664,13 @@ to {
|
|
|
3664
3664
|
.tool-box .tool-box-item[data-v-34681937]:hover {
|
|
3665
3665
|
border-radius: 8px;
|
|
3666
3666
|
background-color: var(--list-color-hover);
|
|
3667
|
-
}.
|
|
3667
|
+
}.ndsc-img-box[data-v-2a47be79] {
|
|
3668
|
+
width: 24px;
|
|
3669
|
+
height: 24px;
|
|
3670
|
+
}.ndsc-img-box[data-v-997feff9] {
|
|
3671
|
+
width: 24px;
|
|
3672
|
+
height: 24px;
|
|
3673
|
+
}.footer-container[data-v-92597491] {
|
|
3668
3674
|
position: absolute;
|
|
3669
3675
|
bottom: 0;
|
|
3670
3676
|
display: flex;
|
|
@@ -3928,44 +3934,6 @@ to {
|
|
|
3928
3934
|
}
|
|
3929
3935
|
.footer .mirror-container .mirror-text[data-v-21a63691] {
|
|
3930
3936
|
margin-left: 4px;
|
|
3931
|
-
}.show-more-content[data-v-c413959d] {
|
|
3932
|
-
position: absolute;
|
|
3933
|
-
bottom: 15px;
|
|
3934
|
-
left: 5%;
|
|
3935
|
-
width: 90%;
|
|
3936
|
-
height: 17vh;
|
|
3937
|
-
padding: 10px;
|
|
3938
|
-
border-radius: 13px;
|
|
3939
|
-
animation-name: popup-c413959d;
|
|
3940
|
-
animation-duration: 200ms;
|
|
3941
|
-
background-color: var(--bg-color-operate);
|
|
3942
|
-
}
|
|
3943
|
-
@keyframes popup-c413959d {
|
|
3944
|
-
from {
|
|
3945
|
-
bottom: 0;
|
|
3946
|
-
}
|
|
3947
|
-
to {
|
|
3948
|
-
bottom: 15px;
|
|
3949
|
-
}
|
|
3950
|
-
}
|
|
3951
|
-
.control-compent[data-v-c413959d] {
|
|
3952
|
-
display: flex;
|
|
3953
|
-
}
|
|
3954
|
-
.close[data-v-c413959d] {
|
|
3955
|
-
position: relative;
|
|
3956
|
-
top: 10%;
|
|
3957
|
-
display: flex;
|
|
3958
|
-
align-items: center;
|
|
3959
|
-
justify-content: center;
|
|
3960
|
-
width: 100%;
|
|
3961
|
-
padding: 10px;
|
|
3962
|
-
font-style: normal;
|
|
3963
|
-
font-weight: 400;
|
|
3964
|
-
line-height: 24px;
|
|
3965
|
-
text-align: center;
|
|
3966
|
-
border-radius: 8px;
|
|
3967
|
-
color: var(--text-color-primary);
|
|
3968
|
-
background-color: var(--button-color-secondary-default);
|
|
3969
3937
|
}.footer-container[data-v-4afcea78] {
|
|
3970
3938
|
position: absolute;
|
|
3971
3939
|
bottom: 0;
|
|
@@ -4986,95 +4954,70 @@ to {
|
|
|
4986
4954
|
right: 0;
|
|
4987
4955
|
z-index: 101;
|
|
4988
4956
|
height: 100%;
|
|
4989
|
-
}
|
|
4990
|
-
padding
|
|
4991
|
-
font-size: 12px;
|
|
4992
|
-
font-weight: 500;
|
|
4993
|
-
line-height: 17px;
|
|
4957
|
+
}.more-container[data-v-6c9f3c67] {
|
|
4958
|
+
padding: 20px;
|
|
4994
4959
|
}
|
|
4995
|
-
.
|
|
4996
|
-
position: fixed;
|
|
4997
|
-
bottom: 0;
|
|
4960
|
+
.more-container .more-title[data-v-6c9f3c67] {
|
|
4998
4961
|
display: flex;
|
|
4999
|
-
|
|
5000
|
-
width: 100%;
|
|
5001
|
-
padding-bottom: 4vh;
|
|
5002
|
-
border-radius: 15px 15px 0 0;
|
|
5003
|
-
animation-name: popup-939000cb;
|
|
5004
|
-
animation-duration: 200ms;
|
|
5005
|
-
background-color: var(--bg-color-operate);
|
|
5006
|
-
}
|
|
5007
|
-
@keyframes popup-939000cb {
|
|
5008
|
-
from {
|
|
5009
|
-
transform: scaleY(0);
|
|
5010
|
-
transform-origin: bottom;
|
|
5011
|
-
}
|
|
5012
|
-
to {
|
|
5013
|
-
transform: scaleY(1);
|
|
5014
|
-
transform-origin: bottom;
|
|
4962
|
+
align-items: center;
|
|
5015
4963
|
}
|
|
4964
|
+
.more-container .more-title .email-icon[data-v-6c9f3c67] {
|
|
4965
|
+
color: var(--uikit-color-gray-7);
|
|
5016
4966
|
}
|
|
5017
|
-
.
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
font-
|
|
5023
|
-
|
|
5024
|
-
font-style: normal;
|
|
5025
|
-
font-weight: 500;
|
|
5026
|
-
line-height: 24px;
|
|
4967
|
+
.more-container .more-title .more-notice[data-v-6c9f3c67] {
|
|
4968
|
+
width: 100%;
|
|
4969
|
+
height: 22px;
|
|
4970
|
+
padding-left: 8px;
|
|
4971
|
+
font-size: 14px;
|
|
4972
|
+
font-weight: 400;
|
|
4973
|
+
line-height: 22px;
|
|
5027
4974
|
color: var(--text-color-primary);
|
|
5028
4975
|
}
|
|
5029
|
-
.
|
|
4976
|
+
.more-container .more-item[data-v-6c9f3c67] {
|
|
4977
|
+
position: relative;
|
|
5030
4978
|
display: flex;
|
|
5031
|
-
flex-direction:
|
|
5032
|
-
align-items: center;
|
|
5033
|
-
width: 90%;
|
|
5034
|
-
height: 15%;
|
|
5035
|
-
padding: 0 0 0 25px;
|
|
5036
|
-
margin-bottom: 10px;
|
|
4979
|
+
flex-direction: column;
|
|
5037
4980
|
}
|
|
5038
|
-
.
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
4981
|
+
.more-container .more-item[data-v-6c9f3c67]:not(:first-child) {
|
|
4982
|
+
margin-top: 20px;
|
|
4983
|
+
}
|
|
4984
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-6c9f3c67] {
|
|
4985
|
+
width: 100%;
|
|
4986
|
+
padding-bottom: 8px;
|
|
5042
4987
|
font-size: 14px;
|
|
5043
|
-
font-style: normal;
|
|
5044
4988
|
font-weight: 400;
|
|
5045
|
-
line-height:
|
|
5046
|
-
white-space: nowrap;
|
|
4989
|
+
line-height: 22px;
|
|
5047
4990
|
color: var(--text-color-primary);
|
|
5048
4991
|
}
|
|
5049
|
-
.
|
|
5050
|
-
|
|
4992
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-6c9f3c67] {
|
|
4993
|
+
position: relative;
|
|
4994
|
+
box-sizing: border-box;
|
|
4995
|
+
display: inline-block;
|
|
4996
|
+
flex: 1;
|
|
4997
|
+
height: 42px;
|
|
4998
|
+
padding: 10px 30px 10px 16px;
|
|
5051
4999
|
overflow: hidden;
|
|
5052
5000
|
font-size: 14px;
|
|
5001
|
+
font-weight: 500;
|
|
5002
|
+
line-height: 22px;
|
|
5053
5003
|
text-overflow: ellipsis;
|
|
5054
5004
|
white-space: nowrap;
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
font-size: 12px;
|
|
5062
|
-
font-style: normal;
|
|
5063
|
-
font-weight: 400;
|
|
5064
|
-
line-height: 17px;
|
|
5065
|
-
text-align: center;
|
|
5066
|
-
color: var(--text-color-secondary);
|
|
5005
|
+
border-radius: 8px;
|
|
5006
|
+
outline: none;
|
|
5007
|
+
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
5008
|
+
color: var(--text-color-primary);
|
|
5009
|
+
background-color: var(--bg-color-input);
|
|
5010
|
+
border: 1px solid var(--stroke-color-module);
|
|
5067
5011
|
}
|
|
5068
|
-
.
|
|
5069
|
-
|
|
5012
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-6c9f3c67] {
|
|
5013
|
+
position: absolute;
|
|
5014
|
+
top: 45px;
|
|
5015
|
+
right: 10px;
|
|
5016
|
+
display: flex;
|
|
5017
|
+
align-items: center;
|
|
5018
|
+
justify-content: center;
|
|
5019
|
+
cursor: pointer;
|
|
5070
5020
|
color: var(--text-color-link);
|
|
5071
|
-
}
|
|
5072
|
-
.cancel[data-v-939000cb] {
|
|
5073
|
-
flex: 1;
|
|
5074
|
-
padding-right: 30px;
|
|
5075
|
-
font-size: 16px;
|
|
5076
|
-
font-weight: 400;
|
|
5077
|
-
text-align: end;
|
|
5078
5021
|
}.more-container[data-v-41107c5f] {
|
|
5079
5022
|
padding: 20px;
|
|
5080
5023
|
}
|
|
@@ -9168,7 +9111,7 @@ body, html {
|
|
|
9168
9111
|
}
|
|
9169
9112
|
.tui-room :not([class|=el]) {
|
|
9170
9113
|
transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
|
|
9171
|
-
}.tui-room[data-v-
|
|
9114
|
+
}.tui-room[data-v-5135c8c9] {
|
|
9172
9115
|
position: relative;
|
|
9173
9116
|
display: flex;
|
|
9174
9117
|
flex-direction: column;
|
|
@@ -9180,7 +9123,7 @@ body, html {
|
|
|
9180
9123
|
text-align: left;
|
|
9181
9124
|
background-color: var(--bg-color-topbar);
|
|
9182
9125
|
}
|
|
9183
|
-
.tui-room .header[data-v-
|
|
9126
|
+
.tui-room .header[data-v-5135c8c9] {
|
|
9184
9127
|
position: absolute;
|
|
9185
9128
|
top: 0;
|
|
9186
9129
|
left: 0;
|
|
@@ -9191,20 +9134,20 @@ body, html {
|
|
|
9191
9134
|
border-bottom: 1px solid var(--stroke-color-primary);
|
|
9192
9135
|
box-shadow: 0 1px 0 var(--uikit-color-black-8);
|
|
9193
9136
|
}
|
|
9194
|
-
.tui-room .content[data-v-
|
|
9137
|
+
.tui-room .content[data-v-5135c8c9] {
|
|
9195
9138
|
position: absolute;
|
|
9196
9139
|
top: 0;
|
|
9197
9140
|
width: 100%;
|
|
9198
9141
|
height: 100%;
|
|
9199
9142
|
background-color: var(--bg-color-topbar);
|
|
9200
9143
|
}
|
|
9201
|
-
.tui-room.tui-room-h5[data-v-
|
|
9144
|
+
.tui-room.tui-room-h5[data-v-5135c8c9] {
|
|
9202
9145
|
width: 100%;
|
|
9203
9146
|
min-width: 350px;
|
|
9204
9147
|
height: 100%;
|
|
9205
9148
|
min-height: 525px;
|
|
9206
9149
|
}
|
|
9207
|
-
#roomContainer.chat-room[data-v-
|
|
9150
|
+
#roomContainer.chat-room[data-v-5135c8c9] {
|
|
9208
9151
|
position: absolute;
|
|
9209
9152
|
top: 0;
|
|
9210
9153
|
right: 0;
|
|
@@ -9216,8 +9159,8 @@ body, html {
|
|
|
9216
9159
|
margin: auto;
|
|
9217
9160
|
border-radius: 10px;
|
|
9218
9161
|
}
|
|
9219
|
-
#roomContainer.tui-room-h5[data-v-
|
|
9220
|
-
#roomContainer .chat-room[data-v-
|
|
9162
|
+
#roomContainer.tui-room-h5[data-v-5135c8c9],
|
|
9163
|
+
#roomContainer .chat-room[data-v-5135c8c9] {
|
|
9221
9164
|
width: 100%;
|
|
9222
9165
|
height: 100%;
|
|
9223
9166
|
}.user-info-container[data-v-9e9aff53] {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAKhSURBVFiF7ZWxftMwEIf/F3lgI0yl1VDzBNwv8sBGusHWbt2IR6a2T9DyBC1P0HRkKmxsKVM7WI76BkxJx3RjiHMMOMW4tmO70Ilbkp9P0vfJ0p0VHhjMzFrrS631s8lkctF0vnooXCk1AvAcQF9rTU0lWgtk4CCitwAYwG5TiVYCWXiSJFtxHF+tra196nQ6b5pKNBZgZl8pdbmEO+ccANzc3PxoI9FIIIWPADzJwpfRRqK2QAbeLYK3laglkIH7IvJ+PB5/rRrfRGKlQA4exnE8rCNdV6JSoC28iQT9TXiv1xssFguXvx/M3FVKjQH4RLQVRdGdRKcpnJm7RXOCIDgiolOl1F5BejlnNp/PZ9nEPYEquDHmXCk1ZmY/DxeRQwAuSZKDkvUKq+eegFLquOK1nwHwlVKjpUQOvuWcu9thdjNEtFNUuvcEiOg6/X2dz1lrP4tIuJQIguC4DlxEwuy5/7Hh/IPJZHKhtSYA+xsbG/50Ov2SzU+nU7e+vn5LRLsAXtWBV13gwjKsIXGltf62PPO2cCzLkJm7nudxPikiewC2AQyttWHVQnk4gCERnZWNnc/nzjk3o8yntbC8MlEpkYPXjR0yxowAsIh8LBtFRC8BbBPRSRRFB/l87rafLBaL21VkInoHAJ6I+ETk4jg+qppgjDkVkf0gCG6jKLobmz9za22tdm2M2QQwKOyERZG+/qGIHAZBcITfLfY8hR80/VYAgNdksLU2NMYglXgqIn0ATEQfrLUnTeErBXq93qCoIeFXheynf2cismmMOS0Zdx3HcalcqQAzd4nouEZ1dAEMypJE9B1AcwHn3IyZX9QQWBWzqmTlEaQdrnKBh0btKvgv8K/CS29pP23JjxkMwHlJkoRpN+s/soBLkiT8CfdGvsMQPqX9AAAAAElFTkSuQmCC";
|
|
4
|
+
exports.default = _imports_0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-a8c21a66"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-04bc5b87"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
6
|
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-524b1604"]]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"
|
|
2
|
+
"on-vote": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const MoreControlH5_vue_vue_type_script_setup_true_lang = require("./MoreControlH5.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MoreControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MoreControlH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-2a47be79"]]);
|
|
7
7
|
exports.default = MoreControlH5;
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
|
-
const
|
|
4
|
+
const voteIcon = require("../../../assets/imgs/vote-icon.png.js");
|
|
5
5
|
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
6
6
|
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
7
|
-
const ChatControl_vue_vue_type_script_setup_true_lang = require("../ChatControl.vue.js");
|
|
8
|
-
const InviteControl = require("../InviteControl.vue.js");
|
|
9
|
-
const ContactControl = require("../ContactControl.vue.js");
|
|
10
|
-
const room = require("../../../stores/room.js");
|
|
11
|
-
const useMitt = require("../../../hooks/useMitt.js");
|
|
12
|
-
const vTap = require("../../../directives/vTap.js");
|
|
13
7
|
require("../../../services/main.js");
|
|
14
8
|
const roomService = require("../../../services/roomService.js");
|
|
15
9
|
require("../../../locales/index.js");
|
|
@@ -22,83 +16,43 @@ const _hoisted_1 = {
|
|
|
22
16
|
key: 0,
|
|
23
17
|
class: "more-control-container"
|
|
24
18
|
};
|
|
25
|
-
const _hoisted_2 = { class: "control-compent" };
|
|
26
|
-
const _hoisted_3 = { class: "close" };
|
|
27
19
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
28
20
|
__name: "MoreControlH5",
|
|
29
|
-
emits: ["
|
|
21
|
+
emits: ["on-vote"],
|
|
30
22
|
setup(__props, { emit: __emit }) {
|
|
31
23
|
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
32
|
-
const
|
|
33
|
-
const moreContentRef = Vue.ref();
|
|
34
|
-
const { t, sidebarName } = useMoreControlHooks.default();
|
|
35
|
-
const roomStore = room.useRoomStore();
|
|
24
|
+
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
36
25
|
const emit = __emit;
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
function handleControlClick(name) {
|
|
44
|
-
useMitt.default.emit("experience-communication", name);
|
|
45
|
-
}
|
|
46
|
-
function handleShowOverlay(data) {
|
|
47
|
-
showMoreContent.value = false;
|
|
48
|
-
emit("show-overlay", data);
|
|
49
|
-
}
|
|
50
|
-
function handleDocumentClick(event) {
|
|
51
|
-
if (showMoreContent.value && !moreContentRef.value.contains(event.target)) {
|
|
52
|
-
showMoreContent.value = false;
|
|
26
|
+
function toggleMoreSidebar() {
|
|
27
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
28
|
+
basicStore.setSidebarOpenStatus(false);
|
|
29
|
+
basicStore.setSidebarName("");
|
|
30
|
+
return;
|
|
53
31
|
}
|
|
32
|
+
basicStore.setSidebarOpenStatus(true);
|
|
33
|
+
basicStore.setSidebarName("vote");
|
|
34
|
+
emit("on-vote", {
|
|
35
|
+
name: "onVote",
|
|
36
|
+
visible: basicStore.isSidebarOpen
|
|
37
|
+
});
|
|
54
38
|
}
|
|
55
|
-
Vue.onMounted(() => {
|
|
56
|
-
document == null ? void 0 : document.addEventListener("click", handleDocumentClick, true);
|
|
57
|
-
});
|
|
58
|
-
Vue.onUnmounted(() => {
|
|
59
|
-
document == null ? void 0 : document.removeEventListener("click", handleDocumentClick, true);
|
|
60
|
-
});
|
|
61
39
|
return (_ctx, _cache) => {
|
|
62
|
-
return Vue.openBlock(), Vue.createElementBlock("div",
|
|
63
|
-
Vue.
|
|
64
|
-
Vue.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
])
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
ref_key: "moreContentRef",
|
|
79
|
-
ref: moreContentRef,
|
|
80
|
-
class: "show-more-content"
|
|
81
|
-
}, [
|
|
82
|
-
Vue.createElementVNode("div", _hoisted_2, [
|
|
83
|
-
Vue.unref(roomStore).isSpeakAfterTakingSeatMode ? (Vue.openBlock(), Vue.createBlock(ChatControl_vue_vue_type_script_setup_true_lang.default, {
|
|
84
|
-
key: 0,
|
|
85
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("chatControl"))
|
|
86
|
-
})) : Vue.createCommentVNode("", true),
|
|
87
|
-
Vue.createVNode(ContactControl.default, {
|
|
88
|
-
onClick: _cache[1] || (_cache[1] = ($event) => handleControlClick("contactControl"))
|
|
89
|
-
}),
|
|
90
|
-
Vue.createVNode(InviteControl.default, {
|
|
91
|
-
onShowOverlay: handleShowOverlay,
|
|
92
|
-
onClick: _cache[2] || (_cache[2] = ($event) => handleControlClick("inviteControl"))
|
|
93
|
-
})
|
|
94
|
-
]),
|
|
95
|
-
Vue.withDirectives((Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
|
|
96
|
-
Vue.createTextVNode(Vue.toDisplayString(Vue.unref(t)("Cancel")), 1)
|
|
97
|
-
])), [
|
|
98
|
-
[Vue.unref(vTap.default), handleCancelControl]
|
|
99
|
-
])
|
|
100
|
-
], 512)) : Vue.createCommentVNode("", true)
|
|
101
|
-
]);
|
|
40
|
+
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
41
|
+
Vue.createVNode(IconButton.default, {
|
|
42
|
+
"is-active": Vue.unref(sidebarName) === "vote",
|
|
43
|
+
title: Vue.unref(t)("Vote"),
|
|
44
|
+
onClickIcon: toggleMoreSidebar
|
|
45
|
+
}, {
|
|
46
|
+
default: Vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
47
|
+
Vue.createElementVNode("img", {
|
|
48
|
+
class: "ndsc-img-box",
|
|
49
|
+
src: voteIcon.default,
|
|
50
|
+
alt: ""
|
|
51
|
+
}, null, -1)
|
|
52
|
+
])]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["is-active", "title"])
|
|
55
|
+
])) : Vue.createCommentVNode("", true);
|
|
102
56
|
};
|
|
103
57
|
}
|
|
104
58
|
});
|
|
@@ -1,55 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const roomService = require("../../../services/roomService.js");
|
|
9
|
-
require("../../../locales/index.js");
|
|
10
|
-
require("@tencentcloud/tuiroom-engine-js");
|
|
11
|
-
require("../../../utils/environment.js");
|
|
12
|
-
require("mitt");
|
|
13
|
-
require("../../../services/manager/roomActionManager.js");
|
|
14
|
-
require("@tencentcloud/tui-core");
|
|
15
|
-
const _hoisted_1 = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "more-control-container"
|
|
18
|
-
};
|
|
19
|
-
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
|
-
__name: "MoreControlPC",
|
|
21
|
-
emits: ["on-vote"],
|
|
22
|
-
setup(__props, { emit: __emit }) {
|
|
23
|
-
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
24
|
-
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
25
|
-
const emit = __emit;
|
|
26
|
-
function toggleMoreSidebar() {
|
|
27
|
-
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
28
|
-
basicStore.setSidebarOpenStatus(false);
|
|
29
|
-
basicStore.setSidebarName("");
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
basicStore.setSidebarOpenStatus(true);
|
|
33
|
-
basicStore.setSidebarName("vote");
|
|
34
|
-
emit("on-vote", {
|
|
35
|
-
name: "onVote",
|
|
36
|
-
visible: basicStore.isSidebarOpen
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return (_ctx, _cache) => {
|
|
40
|
-
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
41
|
-
Vue.createVNode(IconButton.default, {
|
|
42
|
-
"is-active": Vue.unref(sidebarName) === "vote",
|
|
43
|
-
title: Vue.unref(t)("Vote"),
|
|
44
|
-
onClickIcon: toggleMoreSidebar
|
|
45
|
-
}, {
|
|
46
|
-
default: Vue.withCtx(() => [
|
|
47
|
-
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconMore), { size: "24" })
|
|
48
|
-
]),
|
|
49
|
-
_: 1
|
|
50
|
-
}, 8, ["is-active", "title"])
|
|
51
|
-
])) : Vue.createCommentVNode("", true);
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
exports.default = _sfc_main;
|
|
3
|
+
const MoreControlPC_vue_vue_type_script_setup_true_lang = require("./MoreControlPC.vue2.js");
|
|
4
|
+
;/* empty css */
|
|
5
|
+
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
+
const MoreControlPc = /* @__PURE__ */ _pluginVue_exportHelper.default(MoreControlPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-997feff9"]]);
|
|
7
|
+
exports.default = MoreControlPc;
|
|
@@ -1,4 +1,59 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const voteIcon = require("../../../assets/imgs/vote-icon.png.js");
|
|
5
|
+
const IconButton = require("../../common/base/IconButton.vue.js");
|
|
6
|
+
const useMoreControlHooks = require("./useMoreControlHooks.js");
|
|
7
|
+
require("../../../services/main.js");
|
|
8
|
+
const roomService = require("../../../services/roomService.js");
|
|
9
|
+
require("../../../locales/index.js");
|
|
10
|
+
require("@tencentcloud/tuiroom-engine-js");
|
|
11
|
+
require("../../../utils/environment.js");
|
|
12
|
+
require("mitt");
|
|
13
|
+
require("../../../services/manager/roomActionManager.js");
|
|
14
|
+
require("@tencentcloud/tui-core");
|
|
15
|
+
const _hoisted_1 = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "more-control-container"
|
|
18
|
+
};
|
|
19
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
|
+
__name: "MoreControlPC",
|
|
21
|
+
emits: ["on-vote"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
|
+
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
24
|
+
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
25
|
+
const emit = __emit;
|
|
26
|
+
function toggleMoreSidebar() {
|
|
27
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "vote") {
|
|
28
|
+
basicStore.setSidebarOpenStatus(false);
|
|
29
|
+
basicStore.setSidebarName("");
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
basicStore.setSidebarOpenStatus(true);
|
|
33
|
+
basicStore.setSidebarName("vote");
|
|
34
|
+
emit("on-vote", {
|
|
35
|
+
name: "onVote",
|
|
36
|
+
visible: basicStore.isSidebarOpen
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
41
|
+
Vue.createVNode(IconButton.default, {
|
|
42
|
+
"is-active": Vue.unref(sidebarName) === "vote",
|
|
43
|
+
title: Vue.unref(t)("Vote"),
|
|
44
|
+
onClickIcon: toggleMoreSidebar
|
|
45
|
+
}, {
|
|
46
|
+
default: Vue.withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
47
|
+
Vue.createElementVNode("img", {
|
|
48
|
+
class: "ndsc-img-box",
|
|
49
|
+
src: voteIcon.default,
|
|
50
|
+
alt: ""
|
|
51
|
+
}, null, -1)
|
|
52
|
+
])]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["is-active", "title"])
|
|
55
|
+
])) : Vue.createCommentVNode("", true);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
exports.default = _sfc_main;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
"show-overlay": (...args: any[]) => void;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
2
|
"on-vote": (...args: any[]) => void;
|
|
7
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
4
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const MoreControlH5 = require("./MoreControlH5.vue.js");
|
|
4
|
-
const
|
|
4
|
+
const MoreControlPC = require("./MoreControlPC.vue.js");
|
|
5
5
|
const environment = require("../../../utils/environment.js");
|
|
6
|
-
const MoreControl = environment.isMobile ? MoreControlH5.default :
|
|
6
|
+
const MoreControl = environment.isMobile ? MoreControlH5.default : MoreControlPC.default;
|
|
7
7
|
exports.default = MoreControl;
|
|
@@ -1,8 +1,35 @@
|
|
|
1
|
-
declare const Index:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const Index: ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
3
|
+
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"show-overlay": (...args: any[]) => void;
|
|
7
|
+
"on-vote": (...args: any[]) => void;
|
|
8
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<{}> & Readonly<{
|
|
16
|
+
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, {}>;
|
|
19
|
+
__isFragment?: never;
|
|
20
|
+
__isTeleport?: never;
|
|
21
|
+
__isSuspense?: never;
|
|
22
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
|
|
4
23
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
|
|
24
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"show-overlay": (...args: any[]) => void;
|
|
27
|
+
"on-vote": (...args: any[]) => void;
|
|
28
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
29
|
+
$slots: {
|
|
30
|
+
contentH5?(_: {}): any;
|
|
31
|
+
};
|
|
32
|
+
})) | ({
|
|
6
33
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
|
|
7
34
|
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
8
35
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
contentH5?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
5
|
"show-overlay": (...args: any[]) => void;
|
|
6
|
+
"on-vote": (...args: any[]) => void;
|
|
3
7
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
8
|
"onShow-overlay"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
"onOn-vote"?: ((...args: any[]) => any) | undefined;
|
|
5
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
12
|
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const indexH5_vue_vue_type_script_setup_true_lang =
|
|
3
|
+
const indexH5_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-92597491"]]);
|
|
7
7
|
exports.default = indexH5;
|