@ndscnj/roomkit-web-vue3 25.12.2415 → 25.12.2417

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 (92) hide show
  1. package/es/assets/imgs/vote-icon.png.mjs +4 -0
  2. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue.mjs +7 -0
  3. package/es/components/RoomFooter/VoteControl/MoreControlH5.vue2.mjs +59 -0
  4. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +7 -0
  5. package/es/components/RoomFooter/VoteControl/MoreControlPC.vue2.mjs +59 -0
  6. package/es/components/RoomFooter/VoteControl/index.d.ts +6 -0
  7. package/es/components/RoomFooter/VoteControl/index.mjs +7 -0
  8. package/es/components/RoomFooter/VoteControl/useMoreControlHooks.mjs +24 -0
  9. package/es/components/RoomFooter/index/index.d.ts +31 -4
  10. package/es/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  11. package/es/components/RoomFooter/index/indexH5.vue.mjs +1 -1
  12. package/es/components/RoomFooter/index/indexH5.vue2.mjs +20 -5
  13. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  14. package/es/components/RoomFooter/index/indexPC.vue2.mjs +4 -4
  15. package/es/components/RoomSidebar/index.d.ts +17 -1
  16. package/es/components/RoomSidebar/indexH5.vue.d.ts +10 -1
  17. package/es/components/RoomSidebar/indexH5.vue.mjs +1 -1
  18. package/es/components/RoomSidebar/indexH5.vue2.mjs +10 -3
  19. package/es/components/RoomSidebar/indexPC.vue.d.ts +10 -1
  20. package/es/components/RoomSidebar/indexPC.vue.mjs +8 -3
  21. package/es/components/RoomVote/index.d.ts +2 -6
  22. package/es/components/RoomVote/indexH5.vue.d.ts +10 -5
  23. package/es/components/RoomVote/indexH5.vue.mjs +9 -2
  24. package/es/components/RoomVote/indexPC.vue.mjs +9 -2
  25. package/es/conference.vue.mjs +1 -1
  26. package/es/conference.vue2.mjs +5 -5
  27. package/es/index.mjs +76 -105
  28. package/lib/assets/imgs/vote-icon.png.js +4 -0
  29. package/lib/components/Chat/index/indexH5.vue.js +1 -1
  30. package/lib/components/Chat/index/indexPC.vue.js +1 -1
  31. package/lib/components/ManageMember/MemberItem/indexH5.vue.js +1 -1
  32. package/lib/components/ManageMember/MemberItem/indexPC.vue.js +1 -1
  33. package/lib/components/ManageMember/indexH5.vue.js +1 -1
  34. package/lib/components/ManageMember/indexPC.vue.js +1 -1
  35. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.d.ts +6 -0
  36. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue.js +7 -0
  37. package/lib/components/RoomFooter/VoteControl/MoreControlH5.vue2.js +59 -0
  38. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts +6 -0
  39. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +7 -0
  40. package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue2.js +59 -0
  41. package/lib/components/RoomFooter/VoteControl/index.d.ts +6 -0
  42. package/lib/components/RoomFooter/VoteControl/index.js +7 -0
  43. package/lib/components/RoomFooter/VoteControl/useMoreControlHooks.js +24 -0
  44. package/lib/components/RoomFooter/index/index.d.ts +31 -4
  45. package/lib/components/RoomFooter/index/indexH5.vue.d.ts +12 -1
  46. package/lib/components/RoomFooter/index/indexH5.vue.js +2 -2
  47. package/lib/components/RoomFooter/index/indexH5.vue2.js +19 -4
  48. package/lib/components/RoomFooter/index/indexPC.vue.js +2 -2
  49. package/lib/components/RoomFooter/index/indexPC.vue2.js +6 -6
  50. package/lib/components/RoomInvite/indexH5.vue.js +1 -1
  51. package/lib/components/RoomInvite/indexPC.vue.js +1 -1
  52. package/lib/components/RoomMore/indexH5.vue.js +1 -1
  53. package/lib/components/RoomMore/indexPC.vue.js +1 -1
  54. package/lib/components/RoomSidebar/index.d.ts +17 -1
  55. package/lib/components/RoomSidebar/indexH5.vue.d.ts +10 -1
  56. package/lib/components/RoomSidebar/indexH5.vue.js +2 -2
  57. package/lib/components/RoomSidebar/indexH5.vue2.js +9 -2
  58. package/lib/components/RoomSidebar/indexPC.vue.d.ts +10 -1
  59. package/lib/components/RoomSidebar/indexPC.vue.js +7 -2
  60. package/lib/components/RoomVote/index.d.ts +2 -6
  61. package/lib/components/RoomVote/indexH5.vue.d.ts +10 -5
  62. package/lib/components/RoomVote/indexH5.vue.js +9 -2
  63. package/lib/components/RoomVote/indexPC.vue.js +9 -2
  64. package/lib/conference.vue.js +1 -1
  65. package/lib/conference.vue2.js +5 -5
  66. package/lib/index.js +76 -105
  67. package/package.json +1 -1
  68. package/src/TUIRoom/assets/imgs/vote-icon.png +0 -0
  69. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlH5.vue +40 -0
  70. package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +40 -0
  71. package/src/TUIRoom/components/RoomFooter/VoteControl/index.ts +8 -0
  72. package/src/TUIRoom/components/RoomFooter/VoteControl/useMoreControlHooks.ts +24 -0
  73. package/src/TUIRoom/components/RoomFooter/index/indexH5.vue +15 -2
  74. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +1 -1
  75. package/src/TUIRoom/components/RoomFooter/voteControl.vue +6 -0
  76. package/src/TUIRoom/components/RoomSidebar/indexH5.vue +5 -0
  77. package/src/TUIRoom/components/RoomSidebar/indexPC.vue +5 -1
  78. package/src/TUIRoom/components/RoomVote/indexH5.vue +61 -118
  79. package/src/TUIRoom/components/RoomVote/indexPC.vue +1 -26
  80. package/src/TUIRoom/conference.vue +5 -4
  81. package/es/components/RoomFooter/voteControl.vue.mjs +0 -7
  82. package/es/components/RoomFooter/voteControl.vue2.mjs +0 -48
  83. package/es/components/RoomVote/indexH5.vue2.mjs +0 -51
  84. package/es/components/RoomVote/indexPC.vue2.mjs +0 -52
  85. package/es/components/RoomVote/useRoomMoreHooks.mjs +0 -43
  86. package/lib/components/RoomFooter/voteControl.vue.js +0 -7
  87. package/lib/components/RoomFooter/voteControl.vue2.js +0 -48
  88. package/lib/components/RoomVote/indexH5.vue2.js +0 -51
  89. package/lib/components/RoomVote/indexPC.vue2.js +0 -52
  90. package/lib/components/RoomVote/useRoomMoreHooks.js +0 -43
  91. /package/es/components/RoomFooter/{voteControl.vue.d.ts → VoteControl/MoreControlH5.vue.d.ts} +0 -0
  92. /package/{lib/components/RoomFooter/voteControl.vue.d.ts → es/components/RoomFooter/VoteControl/MoreControlPC.vue.d.ts} +0 -0
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
- }.footer-container[data-v-f3bbac91] {
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-df7f3346] {
3668
3674
  position: absolute;
3669
3675
  bottom: 0;
3670
3676
  display: flex;
@@ -3928,17 +3934,7 @@ to {
3928
3934
  }
3929
3935
  .footer .mirror-container .mirror-text[data-v-21a63691] {
3930
3936
  margin-left: 4px;
3931
- }.contact-container[data-v-18efb8e7] {
3932
- position: fixed;
3933
- top: 0;
3934
- bottom: 0;
3935
- left: 0;
3936
- z-index: 11;
3937
- box-sizing: border-box;
3938
- width: 100vw;
3939
- height: auto;
3940
- background-color: var(--uikit-color-black-8);
3941
- }.footer-container[data-v-f808bd91] {
3937
+ }.footer-container[data-v-4afcea78] {
3942
3938
  position: absolute;
3943
3939
  bottom: 0;
3944
3940
  display: flex;
@@ -3952,25 +3948,25 @@ to {
3952
3948
  background-color: var(--bg-color-topbar);
3953
3949
  box-shadow: 0 -8px 30px var(--uikit-color-black-8);
3954
3950
  }
3955
- .footer-container .left-container[data-v-f808bd91] {
3951
+ .footer-container .left-container[data-v-4afcea78] {
3956
3952
  display: flex;
3957
3953
  align-items: center;
3958
3954
  height: 100%;
3959
3955
  }
3960
- .footer-container .left-container .left-container-item[data-v-f808bd91]:not(:first-child) {
3956
+ .footer-container .left-container .left-container-item[data-v-4afcea78]:not(:first-child) {
3961
3957
  margin-left: 1rem;
3962
3958
  }
3963
- .footer-container .center-container[data-v-f808bd91] {
3959
+ .footer-container .center-container[data-v-4afcea78] {
3964
3960
  position: relative;
3965
3961
  display: flex;
3966
3962
  align-items: center;
3967
3963
  height: 100%;
3968
3964
  margin: 0 auto;
3969
3965
  }
3970
- .footer-container .center-container .center-container-item[data-v-f808bd91]:not(:first-child) {
3966
+ .footer-container .center-container .center-container-item[data-v-4afcea78]:not(:first-child) {
3971
3967
  margin-left: 16px;
3972
3968
  }
3973
- .footer-container .right-container[data-v-f808bd91] {
3969
+ .footer-container .right-container[data-v-4afcea78] {
3974
3970
  display: flex;
3975
3971
  align-items: center;
3976
3972
  height: 100%;
@@ -4952,112 +4948,87 @@ to {
4952
4948
  justify-content: space-around;
4953
4949
  margin: 20px 0;
4954
4950
  cursor: pointer;
4955
- }.sidebar-container-mobile[data-v-e545b2de] {
4951
+ }.sidebar-container-mobile[data-v-83d339c1] {
4956
4952
  position: fixed;
4957
4953
  top: 0;
4958
4954
  right: 0;
4959
4955
  z-index: 101;
4960
4956
  height: 100%;
4961
- }span[data-v-939000cb] {
4962
- padding-right: 5px;
4963
- font-size: 12px;
4964
- font-weight: 500;
4965
- line-height: 17px;
4957
+ }.more-container[data-v-5d02e842] {
4958
+ padding: 20px;
4966
4959
  }
4967
- .contact-container-main[data-v-939000cb] {
4968
- position: fixed;
4969
- bottom: 0;
4960
+ .more-container .more-title[data-v-5d02e842] {
4970
4961
  display: flex;
4971
- flex-direction: column;
4972
- width: 100%;
4973
- padding-bottom: 4vh;
4974
- border-radius: 15px 15px 0 0;
4975
- animation-name: popup-939000cb;
4976
- animation-duration: 200ms;
4977
- background-color: var(--bg-color-operate);
4978
- }
4979
- @keyframes popup-939000cb {
4980
- from {
4981
- transform: scaleY(0);
4982
- transform-origin: bottom;
4983
- }
4984
- to {
4985
- transform: scaleY(1);
4986
- transform-origin: bottom;
4962
+ align-items: center;
4987
4963
  }
4964
+ .more-container .more-title .email-icon[data-v-5d02e842] {
4965
+ color: var(--uikit-color-gray-7);
4988
4966
  }
4989
- .contact-container-main .contact-title-main[data-v-939000cb] {
4990
- display: flex;
4991
- flex-direction: row;
4992
- align-items: center;
4993
- padding: 30px 0 20px 25px;
4994
- font-family: "PingFang SC";
4995
- font-size: 20px;
4996
- font-style: normal;
4997
- font-weight: 500;
4998
- line-height: 24px;
4967
+ .more-container .more-title .more-notice[data-v-5d02e842] {
4968
+ width: 100%;
4969
+ height: 22px;
4970
+ padding-left: 8px;
4971
+ font-size: 14px;
4972
+ font-weight: 400;
4973
+ line-height: 22px;
4999
4974
  color: var(--text-color-primary);
5000
4975
  }
5001
- .contact-container-main .contact-content-main[data-v-939000cb] {
4976
+ .more-container .more-item[data-v-5d02e842] {
4977
+ position: relative;
5002
4978
  display: flex;
5003
- flex-direction: row;
5004
- align-items: center;
5005
- width: 90%;
5006
- height: 15%;
5007
- padding: 0 0 0 25px;
5008
- margin-bottom: 10px;
4979
+ flex-direction: column;
5009
4980
  }
5010
- .contact-container-main .contact-title[data-v-939000cb],
5011
- .contact-container-main .contact-content[data-v-939000cb] {
5012
- width: 28%;
5013
- font-family: "PingFang SC";
4981
+ .more-container .more-item[data-v-5d02e842]:not(:first-child) {
4982
+ margin-top: 20px;
4983
+ }
4984
+ .more-container .more-item:not(:first-child) .item-title[data-v-5d02e842] {
4985
+ width: 100%;
4986
+ padding-bottom: 8px;
5014
4987
  font-size: 14px;
5015
- font-style: normal;
5016
4988
  font-weight: 400;
5017
- line-height: 20px;
5018
- white-space: nowrap;
4989
+ line-height: 22px;
5019
4990
  color: var(--text-color-primary);
5020
4991
  }
5021
- .contact-container-main .contact-content[data-v-939000cb] {
5022
- width: 62%;
4992
+ .more-container .more-item:not(:first-child) .more-content[data-v-5d02e842] {
4993
+ position: relative;
4994
+ box-sizing: border-box;
4995
+ display: inline-block;
4996
+ flex: 1;
4997
+ height: 42px;
4998
+ padding: 10px 30px 10px 16px;
5023
4999
  overflow: hidden;
5024
5000
  font-size: 14px;
5001
+ font-weight: 500;
5002
+ line-height: 22px;
5025
5003
  text-overflow: ellipsis;
5026
5004
  white-space: nowrap;
5027
- color: var(--text-color-secondary);
5028
- }
5029
- .contact-container-main .contact-bottom[data-v-939000cb] {
5030
- width: 90%;
5031
- padding-left: 40px;
5032
- font-family: "PingFang SC";
5033
- font-size: 12px;
5034
- font-style: normal;
5035
- font-weight: 400;
5036
- line-height: 17px;
5037
- text-align: center;
5038
- 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);
5039
5011
  }
5040
- .contact-container-main .copy[data-v-939000cb] {
5041
- margin-left: 30px;
5012
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-5d02e842] {
5013
+ position: absolute;
5014
+ top: 45px;
5015
+ right: 10px;
5016
+ display: flex;
5017
+ align-items: center;
5018
+ justify-content: center;
5019
+ cursor: pointer;
5042
5020
  color: var(--text-color-link);
5043
- }
5044
- .cancel[data-v-939000cb] {
5045
- flex: 1;
5046
- padding-right: 30px;
5047
- font-size: 16px;
5048
- font-weight: 400;
5049
- text-align: end;
5050
- }.more-container[data-v-c82f5e3c] {
5021
+ }.more-container[data-v-41107c5f] {
5051
5022
  padding: 20px;
5052
5023
  }
5053
- .more-container .more-title[data-v-c82f5e3c] {
5024
+ .more-container .more-title[data-v-41107c5f] {
5054
5025
  display: flex;
5055
5026
  align-items: center;
5056
5027
  }
5057
- .more-container .more-title .email-icon[data-v-c82f5e3c] {
5028
+ .more-container .more-title .email-icon[data-v-41107c5f] {
5058
5029
  color: var(--uikit-color-gray-7);
5059
5030
  }
5060
- .more-container .more-title .more-notice[data-v-c82f5e3c] {
5031
+ .more-container .more-title .more-notice[data-v-41107c5f] {
5061
5032
  width: 100%;
5062
5033
  height: 22px;
5063
5034
  padding-left: 8px;
@@ -5066,15 +5037,15 @@ to {
5066
5037
  line-height: 22px;
5067
5038
  color: var(--text-color-primary);
5068
5039
  }
5069
- .more-container .more-item[data-v-c82f5e3c] {
5040
+ .more-container .more-item[data-v-41107c5f] {
5070
5041
  position: relative;
5071
5042
  display: flex;
5072
5043
  flex-direction: column;
5073
5044
  }
5074
- .more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
5045
+ .more-container .more-item[data-v-41107c5f]:not(:first-child) {
5075
5046
  margin-top: 20px;
5076
5047
  }
5077
- .more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
5048
+ .more-container .more-item:not(:first-child) .item-title[data-v-41107c5f] {
5078
5049
  width: 100%;
5079
5050
  padding-bottom: 8px;
5080
5051
  font-size: 14px;
@@ -5082,7 +5053,7 @@ to {
5082
5053
  line-height: 22px;
5083
5054
  color: var(--text-color-primary);
5084
5055
  }
5085
- .more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
5056
+ .more-container .more-item:not(:first-child) .more-content[data-v-41107c5f] {
5086
5057
  position: relative;
5087
5058
  box-sizing: border-box;
5088
5059
  display: inline-block;
@@ -5102,7 +5073,7 @@ to {
5102
5073
  background-color: var(--bg-color-input);
5103
5074
  border: 1px solid var(--stroke-color-module);
5104
5075
  }
5105
- .more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
5076
+ .more-container .more-item:not(:first-child) .copy-icon[data-v-41107c5f] {
5106
5077
  position: absolute;
5107
5078
  top: 45px;
5108
5079
  right: 10px;
@@ -9140,7 +9111,7 @@ body, html {
9140
9111
  }
9141
9112
  .tui-room :not([class|=el]) {
9142
9113
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9143
- }.tui-room[data-v-3b59b436] {
9114
+ }.tui-room[data-v-3d7b72df] {
9144
9115
  position: relative;
9145
9116
  display: flex;
9146
9117
  flex-direction: column;
@@ -9152,7 +9123,7 @@ body, html {
9152
9123
  text-align: left;
9153
9124
  background-color: var(--bg-color-topbar);
9154
9125
  }
9155
- .tui-room .header[data-v-3b59b436] {
9126
+ .tui-room .header[data-v-3d7b72df] {
9156
9127
  position: absolute;
9157
9128
  top: 0;
9158
9129
  left: 0;
@@ -9163,20 +9134,20 @@ body, html {
9163
9134
  border-bottom: 1px solid var(--stroke-color-primary);
9164
9135
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9165
9136
  }
9166
- .tui-room .content[data-v-3b59b436] {
9137
+ .tui-room .content[data-v-3d7b72df] {
9167
9138
  position: absolute;
9168
9139
  top: 0;
9169
9140
  width: 100%;
9170
9141
  height: 100%;
9171
9142
  background-color: var(--bg-color-topbar);
9172
9143
  }
9173
- .tui-room.tui-room-h5[data-v-3b59b436] {
9144
+ .tui-room.tui-room-h5[data-v-3d7b72df] {
9174
9145
  width: 100%;
9175
9146
  min-width: 350px;
9176
9147
  height: 100%;
9177
9148
  min-height: 525px;
9178
9149
  }
9179
- #roomContainer.chat-room[data-v-3b59b436] {
9150
+ #roomContainer.chat-room[data-v-3d7b72df] {
9180
9151
  position: absolute;
9181
9152
  top: 0;
9182
9153
  right: 0;
@@ -9188,8 +9159,8 @@ body, html {
9188
9159
  margin: auto;
9189
9160
  border-radius: 10px;
9190
9161
  }
9191
- #roomContainer.tui-room-h5[data-v-3b59b436],
9192
- #roomContainer .chat-room[data-v-3b59b436] {
9162
+ #roomContainer.tui-room-h5[data-v-3d7b72df],
9163
+ #roomContainer .chat-room[data-v-3d7b72df] {
9193
9164
  width: 100%;
9194
9165
  height: 100%;
9195
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 = require("./indexH5.vue2.js");
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 indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
3
+ const indexPC_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 indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-2317a136"]]);
@@ -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 = require("./indexH5.vue2.js");
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 indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
3
+ const indexPC_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 indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-b687c25c"]]);
@@ -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 = require("./indexH5.vue2.js");
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
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
3
+ const indexPC_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 indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3ed9f9ec"]]);
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "on-vote": (...args: any[]) => void;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const MoreControlH5_vue_vue_type_script_setup_true_lang = require("./MoreControlH5.vue2.js");
4
+ ;/* empty css */
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-2a47be79"]]);
7
+ exports.default = MoreControlH5;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
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: "MoreControlH5",
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;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "on-vote": (...args: any[]) => void;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
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;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
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;
@@ -0,0 +1,6 @@
1
+ declare const MoreControl: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ "on-vote": (...args: any[]) => void;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
+ "onOn-vote"?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default MoreControl;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const MoreControlH5 = require("./MoreControlH5.vue.js");
4
+ const MoreControlPC = require("./MoreControlPC.vue.js");
5
+ const environment = require("../../../utils/environment.js");
6
+ const MoreControl = environment.isMobile ? MoreControlH5.default : MoreControlPC.default;
7
+ exports.default = MoreControl;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Vue = require("vue");
4
+ const basic = require("../../../stores/basic.js");
5
+ const pinia = require("pinia");
6
+ const index = require("../../../locales/index.js");
7
+ const icon = require("../../../constants/icon.js");
8
+ function useControl() {
9
+ const { t } = index.useI18n();
10
+ const basicStore = basic.useBasicStore();
11
+ const { sidebarName } = pinia.storeToRefs(basicStore);
12
+ const isSidebarOpen = Vue.computed(() => basicStore.isSidebarOpen);
13
+ const iconName = Vue.computed(
14
+ () => sidebarName.value === "vote" ? icon.ICON_NAME.MoreActive : icon.ICON_NAME.More
15
+ );
16
+ return {
17
+ t,
18
+ basicStore,
19
+ iconName,
20
+ sidebarName,
21
+ isSidebarOpen
22
+ };
23
+ }
24
+ exports.default = useControl;
@@ -1,8 +1,35 @@
1
- declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "show-overlay": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
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
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
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
+ content?(_: {}): 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 const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare function __VLS_template(): {
2
+ content?(_: {}): 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 = require("./indexH5.vue2.js");
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-f3bbac91"]]);
6
+ const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-df7f3346"]]);
7
7
  exports.default = indexH5;