@saooti/octopus-sdk 37.0.5 → 37.0.7

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 (263) hide show
  1. package/README.md +2 -2
  2. package/index.html +1 -0
  3. package/index.ts +21 -21
  4. package/package.json +26 -20
  5. package/public/css/fonts/icomoon.eot +0 -0
  6. package/public/css/fonts/icomoon.svg +1 -1
  7. package/public/css/fonts/icomoon.ttf +0 -0
  8. package/public/css/fonts/icomoon.woff +0 -0
  9. package/public/css/fonts/montserrat/Montserrat-Black.ttf +0 -0
  10. package/public/css/fonts/montserrat/Montserrat-BlackItalic.ttf +0 -0
  11. package/public/css/fonts/montserrat/Montserrat-Bold.ttf +0 -0
  12. package/public/css/fonts/montserrat/Montserrat-BoldItalic.ttf +0 -0
  13. package/public/css/fonts/montserrat/Montserrat-ExtraBold.ttf +0 -0
  14. package/public/css/fonts/montserrat/Montserrat-ExtraBoldItalic.ttf +0 -0
  15. package/public/css/fonts/montserrat/Montserrat-ExtraLight.ttf +0 -0
  16. package/public/css/fonts/montserrat/Montserrat-ExtraLightItalic.ttf +0 -0
  17. package/public/css/fonts/montserrat/Montserrat-Italic.ttf +0 -0
  18. package/public/css/fonts/montserrat/Montserrat-Light.ttf +0 -0
  19. package/public/css/fonts/montserrat/Montserrat-LightItalic.ttf +0 -0
  20. package/public/css/fonts/montserrat/Montserrat-Medium.ttf +0 -0
  21. package/public/css/fonts/montserrat/Montserrat-MediumItalic.ttf +0 -0
  22. package/public/css/fonts/montserrat/Montserrat-Regular.ttf +0 -0
  23. package/public/css/fonts/montserrat/Montserrat-SemiBold.ttf +0 -0
  24. package/public/css/fonts/montserrat/Montserrat-SemiBoldItalic.ttf +0 -0
  25. package/public/css/fonts/montserrat/Montserrat-Thin.ttf +0 -0
  26. package/public/css/fonts/montserrat/Montserrat-ThinItalic.ttf +0 -0
  27. package/public/css/fonts/montserrat/style.css +28 -0
  28. package/public/css/fonts/style.css +5 -5
  29. package/src/App.vue +69 -60
  30. package/src/api/classicCrud.ts +12 -12
  31. package/src/api/initialize.ts +1 -1
  32. package/src/assets/bootstrap.scss +9 -0
  33. package/src/assets/general.scss +1 -1
  34. package/src/assets/share.scss +1 -1
  35. package/src/components/display/aggregator/RssSection.vue +3 -3
  36. package/src/components/display/categories/CategoryChooser.vue +73 -60
  37. package/src/components/display/categories/CategoryFilter.vue +134 -90
  38. package/src/components/display/categories/CategoryList.vue +76 -62
  39. package/src/components/display/comments/AddCommentModal.vue +44 -44
  40. package/src/components/display/comments/CommentBasicView.vue +38 -30
  41. package/src/components/display/comments/CommentInput.vue +122 -110
  42. package/src/components/display/comments/CommentItem.vue +144 -102
  43. package/src/components/display/comments/CommentList.vue +117 -85
  44. package/src/components/display/comments/CommentParentInfo.vue +18 -15
  45. package/src/components/display/comments/CommentPlayer.vue +39 -41
  46. package/src/components/display/comments/CommentSection.vue +68 -53
  47. package/src/components/display/edit/EditBox.vue +7 -7
  48. package/src/components/display/edit/EditBoxRadio.vue +3 -4
  49. package/src/components/display/edit/EditCommentBox.vue +34 -36
  50. package/src/components/display/emission/EmissionInlineList.vue +75 -63
  51. package/src/components/display/emission/EmissionItem.vue +47 -35
  52. package/src/components/display/emission/EmissionList.vue +111 -83
  53. package/src/components/display/emission/EmissionPlayerItem.vue +89 -89
  54. package/src/components/display/filter/AdvancedSearch.vue +81 -73
  55. package/src/components/display/filter/CategorySearchFilter.vue +27 -25
  56. package/src/components/display/filter/DateFilter.vue +38 -38
  57. package/src/components/display/filter/MonetizableFilter.vue +16 -14
  58. package/src/components/display/filter/ProductorSearch.vue +55 -47
  59. package/src/components/display/filter/RubriqueChoice.vue +42 -27
  60. package/src/components/display/filter/RubriqueFilter.vue +130 -85
  61. package/src/components/display/filter/SearchOrder.vue +16 -11
  62. package/src/components/display/list/ListPaginate.vue +72 -70
  63. package/src/components/display/list/PaginateParams.vue +29 -30
  64. package/src/components/display/list/PaginateSection.vue +210 -0
  65. package/src/components/display/list/SwiperList.vue +28 -32
  66. package/src/components/display/live/CountDown.vue +12 -14
  67. package/src/components/display/live/LiveHorizontalList.vue +60 -50
  68. package/src/components/display/live/LiveItem.vue +42 -26
  69. package/src/components/display/live/LiveList.vue +92 -65
  70. package/src/components/display/live/RadioCurrently.vue +47 -42
  71. package/src/components/display/live/RadioImage.vue +40 -42
  72. package/src/components/display/live/RadioItem.vue +15 -22
  73. package/src/components/display/live/RadioList.vue +24 -21
  74. package/src/components/display/live/RadioPlanning.vue +105 -68
  75. package/src/components/display/organisation/OrganisationChooser.vue +58 -42
  76. package/src/components/display/organisation/OrganisationChooserLight.vue +27 -19
  77. package/src/components/display/participant/ParticipantItem.vue +89 -76
  78. package/src/components/display/participant/ParticipantList.vue +90 -60
  79. package/src/components/display/playlist/PlaylistItem.vue +32 -35
  80. package/src/components/display/playlist/PlaylistList.vue +70 -52
  81. package/src/components/display/playlist/PodcastList.vue +61 -50
  82. package/src/components/display/playlist/PodcastPlaylistInlineList.vue +47 -38
  83. package/src/components/display/podcasts/AnimatorsItem.vue +17 -15
  84. package/src/components/display/podcasts/ParticipantDescription.vue +21 -22
  85. package/src/components/display/podcasts/PodcastFilterList.vue +28 -26
  86. package/src/components/display/podcasts/PodcastImage.vue +129 -138
  87. package/src/components/display/podcasts/PodcastInlineList.vue +33 -29
  88. package/src/components/display/podcasts/PodcastInlineListClassic.vue +91 -71
  89. package/src/components/display/podcasts/PodcastInlineListTemplate.vue +94 -85
  90. package/src/components/display/podcasts/PodcastItem.vue +96 -90
  91. package/src/components/display/podcasts/PodcastItemInfo.vue +63 -65
  92. package/src/components/display/podcasts/PodcastList.vue +115 -84
  93. package/src/components/display/podcasts/PodcastModuleBox.vue +95 -104
  94. package/src/components/display/podcasts/PodcastPlayBar.vue +45 -32
  95. package/src/components/display/podcasts/PodcastSwiperList.vue +65 -55
  96. package/src/components/display/podcasts/TagList.vue +33 -37
  97. package/src/components/display/rubriques/RubriqueChooser.vue +70 -51
  98. package/src/components/display/rubriques/RubriqueList.vue +117 -89
  99. package/src/components/display/sharing/PlayerParameters.vue +45 -42
  100. package/src/components/display/sharing/QrCode.vue +52 -46
  101. package/src/components/display/sharing/ShareButtons.vue +25 -27
  102. package/src/components/display/sharing/ShareButtonsIntern.vue +182 -155
  103. package/src/components/display/sharing/ShareDistribution.vue +101 -67
  104. package/src/components/display/sharing/SharePlayer.vue +207 -127
  105. package/src/components/display/sharing/SharePlayerColors.vue +15 -15
  106. package/src/components/display/sharing/SharePlayerRadio.vue +62 -39
  107. package/src/components/display/sharing/SharePlayerTypes.vue +93 -55
  108. package/src/components/display/sharing/SubscribeButtons.vue +83 -32
  109. package/src/components/display/studio/RecordingItemButton.vue +3 -3
  110. package/src/components/form/ClassicCheckbox.vue +32 -31
  111. package/src/components/form/ClassicDatePicker.vue +47 -49
  112. package/src/components/form/ClassicInputText.vue +99 -98
  113. package/src/components/form/ClassicLoading.vue +11 -14
  114. package/src/components/form/ClassicMultiselect.vue +125 -126
  115. package/src/components/form/ClassicRadio.vue +15 -18
  116. package/src/components/form/ClassicSearch.vue +17 -23
  117. package/src/components/form/ClassicSelect.vue +35 -27
  118. package/src/components/form/{Wysiwyg.vue → ClassicWysiwyg.vue} +94 -109
  119. package/src/components/misc/AcpmImage.vue +26 -0
  120. package/src/components/misc/ClassicAccordion.vue +69 -0
  121. package/src/components/misc/ClassicNav.vue +117 -0
  122. package/src/components/misc/ClassicPopover.vue +212 -0
  123. package/src/components/misc/{Spinner.vue → ClassicSpinner.vue} +14 -15
  124. package/src/components/misc/ErrorMessage.vue +9 -17
  125. package/src/components/misc/FooterSection.vue +198 -0
  126. package/src/components/misc/HomeDropdown.vue +67 -64
  127. package/src/components/misc/LeftMenu.vue +115 -79
  128. package/src/components/misc/ProgressBar.vue +36 -32
  129. package/src/components/misc/SnackBar.vue +169 -0
  130. package/src/components/misc/TopBar.vue +161 -115
  131. package/src/components/misc/modal/ClassicModal.vue +99 -103
  132. package/src/components/misc/modal/ClipboardModal.vue +21 -23
  133. package/src/components/misc/modal/MessageModal.vue +22 -28
  134. package/src/components/misc/modal/NewsletterModal.vue +139 -113
  135. package/src/components/misc/modal/QrCodeModal.vue +14 -17
  136. package/src/components/misc/modal/ShareModalPlayer.vue +44 -60
  137. package/src/components/misc/player/PlayerCompact.vue +47 -62
  138. package/src/components/misc/player/{Player.vue → PlayerComponent.vue} +54 -46
  139. package/src/components/misc/player/PlayerLarge.vue +66 -62
  140. package/src/components/misc/player/PlayerProgressBar.vue +40 -30
  141. package/src/components/misc/player/PlayerTimeline.vue +32 -36
  142. package/src/components/misc/player/radio/RadioHistory.vue +62 -59
  143. package/src/components/misc/player/radio/RadioProgressBar.vue +44 -35
  144. package/src/components/mixins/cookies.ts +11 -10
  145. package/src/components/mixins/displayMethods.ts +5 -4
  146. package/src/components/mixins/handle403.ts +9 -9
  147. package/src/components/mixins/imageProxy.ts +14 -7
  148. package/src/components/mixins/init.ts +31 -16
  149. package/src/components/mixins/orgaComputed.ts +7 -7
  150. package/src/components/mixins/organisationFilter.ts +36 -22
  151. package/src/components/mixins/player/playerComment.ts +46 -37
  152. package/src/components/mixins/player/playerDisplay.ts +122 -87
  153. package/src/components/mixins/player/playerLive.ts +65 -43
  154. package/src/components/mixins/player/playerLogic.ts +133 -88
  155. package/src/components/mixins/player/playerTranscript.ts +48 -30
  156. package/src/components/mixins/radio/fetchRadioData.ts +40 -23
  157. package/src/components/mixins/selenium.ts +2 -2
  158. package/src/components/mixins/tagOfMixins.ts +11 -11
  159. package/src/components/pages/CategoryPage.vue +43 -0
  160. package/src/components/pages/{Emission.vue → EmissionPage.vue} +98 -67
  161. package/src/components/pages/{Emissions.vue → EmissionsPage.vue} +51 -44
  162. package/src/components/pages/Error403Page.vue +20 -19
  163. package/src/components/pages/HomePage.vue +144 -0
  164. package/src/components/pages/LivesPage.vue +66 -0
  165. package/src/components/pages/PageNotFound.vue +33 -22
  166. package/src/components/pages/{Participant.vue → ParticipantPage.vue} +63 -49
  167. package/src/components/pages/{Participants.vue → ParticipantsPage.vue} +9 -9
  168. package/src/components/pages/PlaylistPage.vue +175 -0
  169. package/src/components/pages/{Playlists.vue → PlaylistsPage.vue} +16 -14
  170. package/src/components/pages/PodcastPage.vue +365 -0
  171. package/src/components/pages/PodcastsPage.vue +152 -0
  172. package/src/components/pages/RadioPage.vue +131 -0
  173. package/src/components/pages/RubriquePage.vue +45 -0
  174. package/src/components/pages/{Search.vue → SearchPage.vue} +19 -19
  175. package/src/helper/dom.ts +1 -1
  176. package/src/helper/duration.ts +10 -4
  177. package/src/helper/useEventListener.ts +7 -8
  178. package/src/i18n.ts +31 -30
  179. package/src/locale/de.ts +263 -257
  180. package/src/locale/educationen.ts +13 -13
  181. package/src/locale/educationfr.ts +1 -1
  182. package/src/locale/en.ts +323 -324
  183. package/src/locale/es.ts +325 -318
  184. package/src/locale/fr.ts +330 -324
  185. package/src/locale/it.ts +332 -328
  186. package/src/locale/messages.ts +9 -9
  187. package/src/locale/sl.ts +315 -319
  188. package/src/main.ts +28 -31
  189. package/src/router/router.ts +218 -198
  190. package/src/shims-tsx.d.ts +1 -1
  191. package/src/shims-vue.d.ts +1 -1
  192. package/src/stores/ApiStore.ts +44 -44
  193. package/src/stores/AuthStore.ts +24 -16
  194. package/src/stores/CommentStore.ts +13 -11
  195. package/src/stores/FilterStore.ts +25 -15
  196. package/src/stores/GeneralStore.ts +15 -15
  197. package/src/stores/ParamSdkStore.ts +179 -137
  198. package/src/stores/PlayerStore.ts +139 -125
  199. package/src/stores/class/adserver/adserverConfig.ts +1 -1
  200. package/src/stores/class/adserver/adserverOtherEmission.ts +9 -9
  201. package/src/stores/class/cartouchier/cartouche.ts +4 -4
  202. package/src/stores/class/cartouchier/cartouchier.ts +2 -2
  203. package/src/stores/class/conference/conference.ts +10 -9
  204. package/src/stores/class/conference/conferenceMessage.ts +2 -2
  205. package/src/stores/class/conference/conferenceParticipant.ts +1 -1
  206. package/src/stores/class/conference/studioCall.ts +6 -6
  207. package/src/stores/class/contract/contractOrganisation.ts +5 -5
  208. package/src/stores/class/ftp/ftpEmission.ts +9 -9
  209. package/src/stores/class/ftp/testFtpEmission.ts +4 -4
  210. package/src/stores/class/general/audioView.ts +19 -19
  211. package/src/stores/class/general/category.ts +1 -1
  212. package/src/stores/class/general/classicSelectType.ts +2 -3
  213. package/src/stores/class/general/customPlayer.ts +8 -8
  214. package/src/stores/class/general/emission.ts +20 -21
  215. package/src/stores/class/general/fetchParam.ts +8 -2
  216. package/src/stores/class/general/initState.ts +31 -31
  217. package/src/stores/class/general/interfacePageable.ts +13 -13
  218. package/src/stores/class/general/ituneCategory.ts +4 -4
  219. package/src/stores/class/general/listReturn.ts +12 -12
  220. package/src/stores/class/general/media.ts +7 -7
  221. package/src/stores/class/general/organisation.ts +9 -10
  222. package/src/stores/class/general/pageable.ts +10 -10
  223. package/src/stores/class/general/participant.ts +7 -7
  224. package/src/stores/class/general/player.ts +30 -28
  225. package/src/stores/class/general/playlist.ts +17 -19
  226. package/src/stores/class/general/podcast.ts +19 -19
  227. package/src/stores/class/general/sortPageable.ts +4 -4
  228. package/src/stores/class/general/soundcastCategory.ts +7 -7
  229. package/src/stores/class/ouestFrance/ofTag.ts +34 -34
  230. package/src/stores/class/ouestFrance/ofTagInfo.ts +9 -9
  231. package/src/stores/class/ouestFrance/ofTagPage.ts +7 -7
  232. package/src/stores/class/ouestFrance/ofTagSeo.ts +7 -7
  233. package/src/stores/class/ouestFrance/ofTagVente.ts +6 -6
  234. package/src/stores/class/ouestFrance/ofTagWithParents.ts +20 -20
  235. package/src/stores/class/radio/canal.ts +4 -4
  236. package/src/stores/class/radio/live.ts +6 -6
  237. package/src/stores/class/radio/mix.ts +16 -16
  238. package/src/stores/class/radio/playlistMedia.ts +7 -7
  239. package/src/stores/class/radio/recurrence.ts +54 -54
  240. package/src/stores/class/rss/rssEmission.ts +13 -13
  241. package/src/stores/class/rss/rssInfo.ts +7 -7
  242. package/src/stores/class/rubrique/rubriquage.ts +2 -2
  243. package/src/stores/class/rubrique/rubrique.ts +1 -1
  244. package/src/stores/class/stat/statArrayIncome.ts +5 -5
  245. package/src/stores/class/stat/statArrayObject.ts +26 -26
  246. package/src/stores/class/stat/statGraph.ts +6 -6
  247. package/src/stores/class/user/person.ts +4 -2
  248. package/src/stores/class/user/profile.ts +4 -2
  249. package/src/stores/class/user/userKeycloak.ts +4 -5
  250. package/src/components/display/list/Paginate.vue +0 -181
  251. package/src/components/misc/Accordion.vue +0 -78
  252. package/src/components/misc/Footer.vue +0 -165
  253. package/src/components/misc/Nav.vue +0 -119
  254. package/src/components/misc/Popover.vue +0 -193
  255. package/src/components/misc/Snackbar.vue +0 -168
  256. package/src/components/pages/Category.vue +0 -41
  257. package/src/components/pages/Home.vue +0 -125
  258. package/src/components/pages/Lives.vue +0 -64
  259. package/src/components/pages/Playlist.vue +0 -164
  260. package/src/components/pages/Podcast.vue +0 -307
  261. package/src/components/pages/Podcasts.vue +0 -146
  262. package/src/components/pages/Radio.vue +0 -122
  263. package/src/components/pages/Rubrique.vue +0 -42
@@ -1,8 +1,5 @@
1
1
  <template>
2
- <div
3
- :id="idModal"
4
- class="octopus-modal"
5
- >
2
+ <div :id="idModal" class="octopus-modal">
6
3
  <div class="octopus-modal-backdrop" />
7
4
  <div class="octopus-modal-dialog">
8
5
  <div class="octopus-modal-content">
@@ -12,7 +9,7 @@
12
9
  </h5>
13
10
  <button
14
11
  v-if="closable"
15
- :ref="closable?'focusElement':''"
12
+ :ref="closable ? 'focusElement' : ''"
16
13
  type="button"
17
14
  class="btn-transparent text-light saooti-remove"
18
15
  title="Close"
@@ -22,9 +19,7 @@
22
19
  <div class="octopus-modal-body">
23
20
  <slot name="body" />
24
21
  </div>
25
- <div
26
- class="octopus-modal-footer"
27
- >
22
+ <div class="octopus-modal-footer">
28
23
  <slot name="footer" />
29
24
  </div>
30
25
  </div>
@@ -33,109 +28,110 @@
33
28
  </template>
34
29
 
35
30
  <script lang="ts">
36
- import { defineComponent } from 'vue'
31
+ import { defineComponent } from "vue";
37
32
  export default defineComponent({
38
- name: 'ClassicModal',
33
+ name: "ClassicModal",
39
34
  props: {
40
- idModal: { default: undefined, type: String},
41
- titleModal: { default: undefined, type: String},
42
- closable: { default: true, type: Boolean},
35
+ idModal: { default: undefined, type: String },
36
+ titleModal: { default: undefined, type: String },
37
+ closable: { default: true, type: Boolean },
43
38
  },
44
- emits: ['close'],
45
- mounted(){
39
+ emits: ["close"],
40
+ mounted() {
46
41
  (this.$refs.focusElement as HTMLElement)?.focus();
47
42
  },
48
- })
43
+ });
49
44
  </script>
50
45
  <style lang="scss">
51
- @import '@scss/_variables.scss';
52
- .octopus-app{
53
- .octopus-modal{
54
- position: fixed;
55
- top: 0;
56
- left: 0;
57
- display: block;
58
- z-index: 1055;
59
- width: 100%;
60
- height: 100%;
61
- overflow-x: hidden;
62
- overflow-y: auto;
63
- outline: 0;
64
- }
65
- .octopus-modal-backdrop {
66
- opacity: 0.5;
67
- z-index: 0;
68
- position: fixed;
69
- top: 0;
70
- left: 0;
71
- width: 100vw;
72
- height: 100vh;
73
- background-color: black;
74
- }
46
+ @import "@scss/_variables.scss";
47
+ .octopus-app {
48
+ .octopus-modal {
49
+ position: fixed;
50
+ top: 0;
51
+ left: 0;
52
+ display: block;
53
+ z-index: 1055;
54
+ width: 100%;
55
+ height: 100%;
56
+ overflow-x: hidden;
57
+ overflow-y: auto;
58
+ outline: 0;
59
+ }
60
+ .octopus-modal-backdrop {
61
+ opacity: 0.5;
62
+ z-index: 0;
63
+ position: fixed;
64
+ top: 0;
65
+ left: 0;
66
+ width: 100vw;
67
+ height: 100vh;
68
+ background-color: black;
69
+ }
75
70
 
76
- .octopus-modal-dialog {
77
- position: relative;
78
- pointer-events: none;
79
- margin: 1.75rem auto;
80
- max-width: 800px;
71
+ .octopus-modal-dialog {
72
+ position: relative;
73
+ pointer-events: none;
74
+ margin: 1.75rem auto;
75
+ max-width: 800px;
81
76
  max-height: 90vh;
82
- width: 100%;
83
- display: flex;
84
- color: #353535 !important;
85
- @media (max-width: 500px){
86
- width: 95%;
87
- margin: 2.5% !important;
88
- }
89
- }
90
- .octopus-modal-body{
91
- flex: 1 1 auto;
92
- padding: 1rem;
93
- overflow-x: auto;
94
- .scroller-vertical {
95
- min-height: 200px;
96
- height: 200px;
97
- }
98
- }
99
- .octopus-modal-header {
100
- display: flex;
101
- flex-shrink: 0;
102
- align-items: center;
103
- justify-content: space-between;
104
- border: 0;
105
- border-radius: $octopus-borderradius $octopus-borderradius 0 0;
106
- background: $octopus-primary-color;
107
- color: white;
108
- padding: 1rem;
77
+ width: 100%;
78
+ display: flex;
79
+ color: #353535 !important;
80
+ @media (max-width: 500px) {
81
+ width: 95%;
82
+ margin: 2.5% !important;
109
83
  }
110
-
111
- .octopus-modal-dialog, .octopus-modal-content {
112
- min-height: 300px;
113
- }
114
- .octopus-modal-content{
115
- display: flex;
116
- flex-direction: column;
117
- pointer-events: auto;
118
- width: 100%;
119
- background-color: white;
120
- background-clip: padding-box;
121
- border: 0;
122
- outline: 0;
123
- height: auto !important;
124
- max-height: initial !important;
125
- border-radius: $octopus-borderradius;
126
- box-shadow: 0 0.2rem 0.5rem rgba(40,40,40,.3);
127
- }
128
- .octopus-modal-footer{
129
- display: flex;
130
- flex-shrink: 0;
131
- border: 0;
132
- flex-wrap: initial;
133
- align-items: center;
134
- justify-content: flex-end;
135
- padding: 1rem;
136
- button{
137
- margin: 0.1rem;
138
- }
139
- }
84
+ }
85
+ .octopus-modal-body {
86
+ flex: 1 1 auto;
87
+ padding: 1rem;
88
+ overflow-x: auto;
89
+ .scroller-vertical {
90
+ min-height: 200px;
91
+ height: 200px;
92
+ }
93
+ }
94
+ .octopus-modal-header {
95
+ display: flex;
96
+ flex-shrink: 0;
97
+ align-items: center;
98
+ justify-content: space-between;
99
+ border: 0;
100
+ border-radius: $octopus-borderradius $octopus-borderradius 0 0;
101
+ background: $octopus-primary-color;
102
+ color: white;
103
+ padding: 1rem;
104
+ }
105
+
106
+ .octopus-modal-dialog,
107
+ .octopus-modal-content {
108
+ min-height: 300px;
109
+ }
110
+ .octopus-modal-content {
111
+ display: flex;
112
+ flex-direction: column;
113
+ pointer-events: auto;
114
+ width: 100%;
115
+ background-color: white;
116
+ background-clip: padding-box;
117
+ border: 0;
118
+ outline: 0;
119
+ height: auto !important;
120
+ max-height: initial !important;
121
+ border-radius: $octopus-borderradius;
122
+ box-shadow: 0 0.2rem 0.5rem rgba(40, 40, 40, 0.3);
123
+ }
124
+ .octopus-modal-footer {
125
+ display: flex;
126
+ flex-shrink: 0;
127
+ border: 0;
128
+ flex-wrap: initial;
129
+ align-items: center;
130
+ justify-content: flex-end;
131
+ padding: 1rem;
132
+ button {
133
+ margin: 0.1rem;
134
+ }
135
+ }
140
136
  }
141
- </style>
137
+ </style>
@@ -6,7 +6,7 @@
6
6
  >
7
7
  <template #body>
8
8
  <p class="d-flex justify-content-between align-items-center">
9
- {{ $t('Rss feed:') }}
9
+ {{ $t("Rss feed:") }}
10
10
  <span id="LINK">{{ link }}</span>
11
11
  <input
12
12
  type="button"
@@ -14,49 +14,47 @@
14
14
  class="btn btn-primary"
15
15
  :title="$t('Copy')"
16
16
  @click="onCopyCode(link, afterCopy)"
17
- >
17
+ />
18
18
  </p>
19
- <RssSection
20
- v-if="emission && authenticated"
21
- :emission="emission"
22
- />
19
+ <RssSection v-if="emission && authenticated" :emission="emission" />
23
20
  </template>
24
21
  </ClassicModal>
25
22
  </template>
26
23
 
27
24
  <script lang="ts">
28
- import ClassicModal from '../modal/ClassicModal.vue';
29
- import { Emission } from '@/stores/class/general/emission';
30
- import displayMethods from '../../mixins/displayMethods';
31
- import { defineComponent, defineAsyncComponent } from 'vue';
32
- import { state } from '../../../stores/ParamSdkStore';
33
- const RssSection = defineAsyncComponent(() => import('@/components/display/aggregator/RssSection.vue'));
25
+ import ClassicModal from "../modal/ClassicModal.vue";
26
+ import { Emission } from "@/stores/class/general/emission";
27
+ import displayMethods from "../../mixins/displayMethods";
28
+ import { defineComponent, defineAsyncComponent } from "vue";
29
+ import { state } from "../../../stores/ParamSdkStore";
30
+ const RssSection = defineAsyncComponent(
31
+ () => import("@/components/display/aggregator/RssSection.vue"),
32
+ );
34
33
  export default defineComponent({
35
- name: 'ClipboardModal',
34
+ name: "ClipboardModal",
36
35
  components: {
37
36
  RssSection,
38
- ClassicModal
37
+ ClassicModal,
39
38
  },
40
39
  mixins: [displayMethods],
41
40
 
42
41
  props: {
43
- link: { default: '', type: String},
44
- emission: { default: undefined, type: Object as ()=> Emission},
42
+ link: { default: "", type: String },
43
+ emission: { default: undefined, type: Object as () => Emission },
45
44
  },
46
- emits: ['close', 'copy'],
45
+ emits: ["close", "copy"],
47
46
  computed: {
48
47
  authenticated(): boolean {
49
- return state.generalParameters.authenticated??false;
48
+ return state.generalParameters.authenticated ?? false;
50
49
  },
51
50
  },
52
51
  methods: {
53
52
  closePopup(): void {
54
- this.$emit('close');
53
+ this.$emit("close");
55
54
  },
56
- afterCopy(): void{
55
+ afterCopy(): void {
57
56
  this.$emit("copy");
58
- }
57
+ },
59
58
  },
60
- })
59
+ });
61
60
  </script>
62
-
@@ -7,19 +7,13 @@
7
7
  >
8
8
  <template #body>
9
9
  <!-- eslint-disable vue/no-v-html -->
10
- <div
11
- class="content"
12
- v-html="message"
13
- />
10
+ <div class="content" v-html="message" />
14
11
  <!-- eslint-enable -->
15
12
  </template>
16
- <template
17
- v-if="validatetext"
18
- #footer
19
- >
13
+ <template v-if="validatetext" #footer>
20
14
  <button
21
15
  v-if="canceltext"
22
- :ref="!closable && canceltext?'focusElement':''"
16
+ :ref="!closable && canceltext ? 'focusElement' : ''"
23
17
  class="btn m-1"
24
18
  @click="onCancel"
25
19
  >
@@ -33,7 +27,7 @@
33
27
  {{ thirdText }}
34
28
  </button>
35
29
  <button
36
- :ref="!closable && !canceltext?'focusElement':''"
30
+ :ref="!closable && !canceltext ? 'focusElement' : ''"
37
31
  class="btn btn-primary m-1"
38
32
  @click="onValid"
39
33
  >
@@ -44,36 +38,36 @@
44
38
  </template>
45
39
 
46
40
  <script lang="ts">
47
- import ClassicModal from '../modal/ClassicModal.vue';
48
- import { defineComponent } from 'vue'
41
+ import ClassicModal from "../modal/ClassicModal.vue";
42
+ import { defineComponent } from "vue";
49
43
  export default defineComponent({
50
- name: 'MessageModal',
44
+ name: "MessageModal",
51
45
  components: {
52
- ClassicModal
46
+ ClassicModal,
53
47
  },
54
48
  props: {
55
- title: { default: undefined, type: String},
56
- active: { default: false, type: Boolean},
57
- closable: { default: true, type: Boolean},
58
- message: { default: undefined, type: String},
59
- validatetext: { default: undefined, type: String},
60
- canceltext: { default: undefined, type: String},
61
- thirdText: { default: undefined, type: String},
49
+ title: { default: undefined, type: String },
50
+ active: { default: false, type: Boolean },
51
+ closable: { default: true, type: Boolean },
52
+ message: { default: undefined, type: String },
53
+ validatetext: { default: undefined, type: String },
54
+ canceltext: { default: undefined, type: String },
55
+ thirdText: { default: undefined, type: String },
62
56
  },
63
- emits: ['close', 'validate', 'cancel', 'thirdEvent'],
57
+ emits: ["close", "validate", "cancel", "thirdEvent"],
64
58
  methods: {
65
59
  closePopup(): void {
66
- this.$emit('close');
60
+ this.$emit("close");
67
61
  },
68
62
  onValid(): void {
69
- this.$emit('validate');
63
+ this.$emit("validate");
70
64
  },
71
65
  onCancel(): void {
72
- this.$emit('cancel');
66
+ this.$emit("cancel");
73
67
  },
74
68
  onThirdAction(): void {
75
- this.$emit('thirdEvent');
69
+ this.$emit("thirdEvent");
76
70
  },
77
71
  },
78
- })
79
- </script>
72
+ });
73
+ </script>