@saooti/octopus-sdk 1.0.0 → 1.1.1
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/README.md +261 -0
- package/index.d.ts +4 -0
- package/index.ts +55 -3
- package/package.json +53 -45
- package/public/config.ts +4 -0
- package/public/css/fonts/icomoon.eot +0 -0
- package/public/css/fonts/icomoon.svg +129 -0
- package/public/css/fonts/icomoon.ttf +0 -0
- package/public/css/fonts/icomoon.woff +0 -0
- package/public/css/fonts/style.css +186 -1224
- package/public/img/403.jpeg +0 -0
- package/public/img/404.svg +242 -0
- package/public/img/ACPM.png +0 -0
- package/public/img/ouest_france_logo.svg +12 -0
- package/src/App.vue +102 -31
- package/src/api/classicCrud.ts +34 -0
- package/src/api/initialize.ts +5 -2
- package/src/assets/bootstrap-diff.scss +197 -0
- package/src/assets/form.scss +77 -77
- package/src/assets/general.scss +284 -272
- package/src/assets/live.scss +39 -0
- package/src/assets/modal.scss +43 -50
- package/src/assets/multiselect.scss +522 -573
- package/src/assets/octopus-library.scss +18 -4
- package/src/assets/share.scss +243 -0
- package/src/assets/transition.scss +98 -2
- package/src/components/display/aggregator/RssSection.vue +3 -5
- package/src/components/display/categories/CategoryChooser.vue +151 -114
- package/src/components/display/categories/CategoryFilter.vue +162 -0
- package/src/components/display/categories/CategoryList.vue +149 -117
- package/src/components/display/comments/AddCommentModal.vue +103 -108
- package/src/components/display/comments/CommentBasicView.vue +95 -0
- package/src/components/display/comments/CommentInput.vue +195 -183
- package/src/components/display/comments/CommentItem.vue +170 -208
- package/src/components/display/comments/CommentList.vue +134 -228
- package/src/components/display/comments/CommentParentInfo.vue +28 -62
- package/src/components/display/comments/CommentPlayer.vue +53 -56
- package/src/components/display/comments/CommentSection.vue +52 -83
- package/src/components/display/edit/EditBox.vue +10 -4
- package/src/components/display/edit/EditCommentBox.vue +124 -38
- package/src/components/display/emission/EmissionChooser.vue +88 -108
- package/src/components/display/emission/EmissionInlineList.vue +156 -157
- package/src/components/display/emission/EmissionItem.vue +72 -226
- package/src/components/display/emission/EmissionList.vue +159 -201
- package/src/components/display/emission/EmissionPlayerItem.vue +203 -174
- package/src/components/display/filter/AdvancedSearch.vue +224 -432
- package/src/components/display/filter/CategoryFilter.vue +105 -0
- package/src/components/display/filter/MonetizableFilter.vue +18 -15
- package/src/components/display/filter/ProductorSearch.vue +153 -176
- package/src/components/display/filter/RubriqueChoice.vue +97 -0
- package/src/components/display/filter/RubriqueFilter.vue +232 -0
- package/src/components/display/list/ListPaginate.vue +145 -0
- package/src/components/display/list/Paginate.vue +218 -0
- package/src/components/display/live/CountDown.vue +31 -30
- package/src/components/display/live/LiveHorizontalList.vue +84 -62
- package/src/components/display/live/LiveItem.vue +161 -186
- package/src/components/display/live/LiveList.vue +184 -295
- package/src/components/display/organisation/OrganisationChooser.vue +124 -162
- package/src/components/display/organisation/OrganisationChooserLight.vue +53 -56
- package/src/components/display/participant/ParticipantItem.vue +91 -128
- package/src/components/display/participant/ParticipantList.vue +134 -121
- package/src/components/display/playlist/PlaylistItem.vue +60 -97
- package/src/components/display/playlist/PlaylistList.vue +99 -92
- package/src/components/display/playlist/PodcastList.vue +117 -132
- package/src/components/display/playlist/PodcastPlaylistInlineList.vue +191 -0
- package/src/components/display/podcasts/AnimatorsItem.vue +29 -37
- package/src/components/display/podcasts/ParticipantDescription.vue +82 -0
- package/src/components/display/podcasts/PodcastFilterList.vue +49 -102
- package/src/components/display/podcasts/PodcastImage.vue +208 -225
- package/src/components/display/podcasts/PodcastInlineList.vue +62 -355
- package/src/components/display/podcasts/PodcastInlineListClassic.vue +240 -0
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +167 -0
- package/src/components/display/podcasts/PodcastItem.vue +94 -218
- package/src/components/display/podcasts/PodcastItemInfo.vue +166 -0
- package/src/components/display/podcasts/PodcastList.vue +127 -178
- package/src/components/display/podcasts/PodcastModuleBox.vue +234 -0
- package/src/components/display/podcasts/PodcastPlayBar.vue +101 -0
- package/src/components/display/podcasts/PodcastSwiperList.vue +204 -0
- package/src/components/display/podcasts/TagList.vue +60 -38
- package/src/components/display/rubriques/RubriqueChooser.vue +144 -131
- package/src/components/display/rubriques/RubriqueList.vue +216 -0
- package/src/components/display/sharing/PlayerParameters.vue +111 -153
- package/src/components/display/sharing/QrCode.vue +96 -0
- package/src/components/display/sharing/ShareButtons.vue +63 -233
- package/src/components/display/sharing/ShareButtonsIntern.vue +225 -0
- package/src/components/display/sharing/ShareDistribution.vue +102 -166
- package/src/components/display/sharing/SharePlayer.vue +189 -353
- package/src/components/display/sharing/SharePlayerColors.vue +78 -0
- package/src/components/display/sharing/SharePlayerTypes.vue +112 -0
- package/src/components/display/sharing/SplitButton.vue +42 -0
- package/src/components/display/sharing/SubscribeButtons.vue +65 -118
- package/src/components/display/studio/RecordingItemButton.vue +3 -5
- package/src/components/form/ClassicCheckbox.vue +66 -0
- package/src/components/form/ClassicLoading.vue +28 -0
- package/src/components/form/ClassicRadio.vue +66 -0
- package/src/components/form/ClassicSearch.vue +86 -0
- package/src/components/form/ClassicSelect.vue +65 -0
- package/src/components/misc/ErrorMessage.vue +27 -18
- package/src/components/misc/Footer.vue +151 -108
- package/src/components/misc/HomeDropdown.vue +95 -154
- package/src/components/misc/LeftMenu.vue +137 -206
- package/src/components/misc/Popover.vue +118 -0
- package/src/components/misc/Snackbar.vue +73 -37
- package/src/components/misc/TopBar.vue +211 -314
- package/src/components/misc/modal/ClipboardModal.vue +34 -47
- package/src/components/misc/modal/MessageModal.vue +74 -53
- package/src/components/misc/modal/NewsletterModal.vue +272 -224
- package/src/components/misc/modal/QrCodeModal.vue +58 -0
- package/src/components/misc/modal/ShareModalPlayer.vue +140 -74
- package/src/components/misc/player/Player.vue +146 -0
- package/src/components/misc/player/PlayerCompact.vue +154 -0
- package/src/components/misc/player/PlayerLarge.vue +166 -0
- package/src/components/misc/player/PlayerProgressBar.vue +112 -0
- package/src/components/misc/player/PlayerTimeline.vue +61 -0
- package/src/components/mixins/functions.ts +21 -18
- package/src/components/mixins/handle403.ts +17 -0
- package/src/components/mixins/init.ts +24 -0
- package/src/components/mixins/orgaComputed.ts +15 -0
- package/src/components/mixins/organisationFilter.ts +41 -0
- package/src/components/mixins/player/playerComment.ts +98 -0
- package/src/components/mixins/player/playerDisplay.ts +113 -0
- package/src/components/mixins/player/playerLive.ts +111 -0
- package/src/components/mixins/player/playerLogic.ts +225 -0
- package/src/components/mixins/tagOfMixins.ts +19 -0
- package/src/components/pages/Category.vue +24 -28
- package/src/components/pages/Emission.vue +144 -177
- package/src/components/pages/Emissions.vue +94 -110
- package/src/components/pages/Error403Page.vue +60 -0
- package/src/components/pages/Home.vue +74 -21
- package/src/components/pages/Lives.vue +53 -58
- package/src/components/pages/PageNotFound.vue +55 -0
- package/src/components/pages/Participant.vue +113 -129
- package/src/components/pages/Participants.vue +25 -41
- package/src/components/pages/Playlist.vue +86 -86
- package/src/components/pages/Playlists.vue +33 -52
- package/src/components/pages/Podcast.vue +206 -478
- package/src/components/pages/Podcasts.vue +112 -156
- package/src/components/pages/Rubrique.vue +21 -27
- package/src/components/pages/Search.vue +37 -94
- package/src/helper/dom.ts +2 -2
- package/src/helper/duration.ts +18 -8
- package/src/helper/useEventListener.ts +18 -0
- package/src/i18n.ts +36 -0
- package/src/locale/de.ts +309 -0
- package/src/locale/educationen.ts +14 -0
- package/src/locale/en.ts +316 -1
- package/src/locale/es.ts +309 -0
- package/src/locale/fr.ts +47 -15
- package/src/locale/it.ts +307 -0
- package/src/locale/messages.ts +11 -2
- package/src/locale/sl.ts +309 -0
- package/src/main.ts +64 -55
- package/src/router/router.ts +192 -159
- package/src/sass/_variables.scss +10 -8
- package/src/shims-tsx.d.ts +15 -0
- package/src/shims-vue-recaptcha-v3.d.ts +9 -0
- package/src/shims-vue.d.ts +5 -6
- package/src/store/AppStore.ts +41 -173
- package/src/store/class/adserver/adserverConfig.ts +9 -0
- package/src/store/class/adserver/adserverOtherEmission.ts +13 -0
- package/src/store/class/adserver/adserverTiming.ts +10 -0
- package/src/store/class/cartouchier/cartouche.ts +15 -0
- package/src/store/class/cartouchier/cartouchier.ts +9 -0
- package/src/store/class/conference/conference.ts +35 -0
- package/src/store/class/conference/conferenceMessage.ts +10 -0
- package/src/store/class/conference/conferenceParticipant.ts +18 -0
- package/src/store/class/conference/pad.ts +15 -0
- package/src/store/class/conference/studioCall.ts +7 -0
- package/src/store/class/contract/contract.ts +7 -0
- package/src/store/class/contract/contractOrganisation.ts +7 -0
- package/src/store/class/ftp/ftpEmission.ts +41 -0
- package/src/store/class/ftp/ftpParam.ts +12 -0
- package/src/store/class/ftp/testFtpEmission.ts +5 -0
- package/src/store/class/general/audioView.ts +21 -0
- package/src/store/class/general/category.ts +10 -0
- package/src/store/class/general/comment.ts +16 -0
- package/src/store/class/general/customPlayer.ts +9 -0
- package/src/store/class/general/emission.ts +23 -0
- package/src/store/class/general/fetchParam.ts +3 -0
- package/src/store/class/general/initState.ts +25 -0
- package/src/store/class/general/interfacePageable.ts +16 -0
- package/src/store/class/general/ituneCategory.ts +5 -0
- package/src/store/class/general/media.ts +14 -0
- package/src/store/class/general/organisation.ts +20 -0
- package/src/store/class/general/pageable.ts +13 -0
- package/src/store/class/general/participant.ts +12 -0
- package/src/store/class/general/player.ts +14 -0
- package/src/store/class/general/playlist.ts +13 -0
- package/src/store/class/general/podcast.ts +43 -0
- package/src/store/class/general/sortPageable.ts +5 -0
- package/src/store/class/general/soundcastCategory.ts +8 -0
- package/src/store/class/ouestFrance/ofTag.ts +36 -0
- package/src/store/class/ouestFrance/ofTagInfo.ts +9 -0
- package/src/store/class/ouestFrance/ofTagPage.ts +7 -0
- package/src/store/class/ouestFrance/ofTagSeo.ts +7 -0
- package/src/store/class/ouestFrance/ofTagVente.ts +6 -0
- package/src/store/class/ouestFrance/ofTagWithParents.ts +26 -0
- package/src/store/class/rss/aggregator.ts +28 -0
- package/src/store/class/rss/rssEmission.ts +14 -0
- package/src/store/class/rss/rssInfo.ts +8 -0
- package/src/store/class/rubrique/rubriquage.ts +10 -0
- package/src/store/class/rubrique/rubriquageFilter.ts +6 -0
- package/src/store/class/rubrique/rubrique.ts +9 -0
- package/src/store/class/stat/statArrayIncome.ts +6 -0
- package/src/store/class/stat/statArrayObject.ts +34 -0
- package/src/store/class/stat/statGraph.ts +7 -0
- package/src/store/class/user/person.ts +15 -0
- package/src/store/class/user/profile.ts +12 -0
- package/src/store/class/user/userKeycloak.ts +24 -0
- package/src/store/paramStore.ts +222 -217
- package/src/store/typeAppStore.ts +186 -235
- package/src/vuex-shim.d.ts +8 -0
- package/tsconfig.json +4 -0
- package/vue.config.js +16 -0
- package/public/css/fonts/saooti-ui.eot +0 -0
- package/public/css/fonts/saooti-ui.svg +0 -829
- package/public/css/fonts/saooti-ui.ttf +0 -0
- package/public/css/fonts/saooti-ui.woff +0 -0
- package/public/css/fonts/stitcher-logo.svg +0 -83
- package/public/img/ACPM.PNG +0 -0
- package/src/api/comments.ts +0 -7
- package/src/api/emissions.ts +0 -7
- package/src/api/podcasts.ts +0 -7
- package/src/api/profile.ts +0 -8
- package/src/api/studio.ts +0 -1
- package/src/assets/bootstrap_scss/_alert.scss +0 -51
- package/src/assets/bootstrap_scss/_badge.scss +0 -54
- package/src/assets/bootstrap_scss/_breadcrumb.scss +0 -42
- package/src/assets/bootstrap_scss/_button-group.scss +0 -164
- package/src/assets/bootstrap_scss/_buttons.scss +0 -291
- package/src/assets/bootstrap_scss/_card.scss +0 -278
- package/src/assets/bootstrap_scss/_carousel.scss +0 -197
- package/src/assets/bootstrap_scss/_close.scss +0 -41
- package/src/assets/bootstrap_scss/_code.scss +0 -48
- package/src/assets/bootstrap_scss/_custom-forms.scss +0 -522
- package/src/assets/bootstrap_scss/_dropdown.scss +0 -201
- package/src/assets/bootstrap_scss/_forms.scss +0 -352
- package/src/assets/bootstrap_scss/_functions.scss +0 -134
- package/src/assets/bootstrap_scss/_grid.scss +0 -69
- package/src/assets/bootstrap_scss/_images.scss +0 -42
- package/src/assets/bootstrap_scss/_input-group.scss +0 -191
- package/src/assets/bootstrap_scss/_jumbotron.scss +0 -17
- package/src/assets/bootstrap_scss/_list-group.scss +0 -158
- package/src/assets/bootstrap_scss/_media.scss +0 -8
- package/src/assets/bootstrap_scss/_mixins.scss +0 -47
- package/src/assets/bootstrap_scss/_modal.scss +0 -243
- package/src/assets/bootstrap_scss/_nav.scss +0 -120
- package/src/assets/bootstrap_scss/_navbar.scss +0 -324
- package/src/assets/bootstrap_scss/_pagination.scss +0 -74
- package/src/assets/bootstrap_scss/_popover.scss +0 -170
- package/src/assets/bootstrap_scss/_print.scss +0 -141
- package/src/assets/bootstrap_scss/_progress.scss +0 -46
- package/src/assets/bootstrap_scss/_reboot.scss +0 -482
- package/src/assets/bootstrap_scss/_root.scss +0 -20
- package/src/assets/bootstrap_scss/_spinners.scss +0 -55
- package/src/assets/bootstrap_scss/_tables.scss +0 -185
- package/src/assets/bootstrap_scss/_toasts.scss +0 -44
- package/src/assets/bootstrap_scss/_tooltip.scss +0 -115
- package/src/assets/bootstrap_scss/_transitions.scss +0 -20
- package/src/assets/bootstrap_scss/_type.scss +0 -125
- package/src/assets/bootstrap_scss/_utilities.scss +0 -17
- package/src/assets/bootstrap_scss/_variables.scss +0 -1145
- package/src/assets/bootstrap_scss/bootstrap-grid.scss +0 -29
- package/src/assets/bootstrap_scss/bootstrap-reboot.scss +0 -12
- package/src/assets/bootstrap_scss/bootstrap.scss +0 -44
- package/src/assets/bootstrap_scss/mixins/_alert.scss +0 -13
- package/src/assets/bootstrap_scss/mixins/_background-variant.scss +0 -22
- package/src/assets/bootstrap_scss/mixins/_badge.scss +0 -17
- package/src/assets/bootstrap_scss/mixins/_border-radius.scss +0 -63
- package/src/assets/bootstrap_scss/mixins/_box-shadow.scss +0 -20
- package/src/assets/bootstrap_scss/mixins/_breakpoints.scss +0 -123
- package/src/assets/bootstrap_scss/mixins/_buttons.scss +0 -110
- package/src/assets/bootstrap_scss/mixins/_caret.scss +0 -62
- package/src/assets/bootstrap_scss/mixins/_clearfix.scss +0 -7
- package/src/assets/bootstrap_scss/mixins/_deprecate.scss +0 -10
- package/src/assets/bootstrap_scss/mixins/_float.scss +0 -14
- package/src/assets/bootstrap_scss/mixins/_forms.scss +0 -177
- package/src/assets/bootstrap_scss/mixins/_gradients.scss +0 -45
- package/src/assets/bootstrap_scss/mixins/_grid-framework.scss +0 -71
- package/src/assets/bootstrap_scss/mixins/_grid.scss +0 -69
- package/src/assets/bootstrap_scss/mixins/_hover.scss +0 -37
- package/src/assets/bootstrap_scss/mixins/_image.scss +0 -36
- package/src/assets/bootstrap_scss/mixins/_list-group.scss +0 -21
- package/src/assets/bootstrap_scss/mixins/_lists.scss +0 -7
- package/src/assets/bootstrap_scss/mixins/_nav-divider.scss +0 -11
- package/src/assets/bootstrap_scss/mixins/_pagination.scss +0 -22
- package/src/assets/bootstrap_scss/mixins/_reset-text.scss +0 -17
- package/src/assets/bootstrap_scss/mixins/_resize.scss +0 -6
- package/src/assets/bootstrap_scss/mixins/_screen-reader.scss +0 -34
- package/src/assets/bootstrap_scss/mixins/_size.scss +0 -7
- package/src/assets/bootstrap_scss/mixins/_table-row.scss +0 -39
- package/src/assets/bootstrap_scss/mixins/_text-emphasis.scss +0 -17
- package/src/assets/bootstrap_scss/mixins/_text-hide.scss +0 -11
- package/src/assets/bootstrap_scss/mixins/_text-truncate.scss +0 -8
- package/src/assets/bootstrap_scss/mixins/_transition.scss +0 -16
- package/src/assets/bootstrap_scss/mixins/_visibility.scss +0 -8
- package/src/assets/bootstrap_scss/utilities/_align.scss +0 -8
- package/src/assets/bootstrap_scss/utilities/_background.scss +0 -19
- package/src/assets/bootstrap_scss/utilities/_borders.scss +0 -75
- package/src/assets/bootstrap_scss/utilities/_clearfix.scss +0 -3
- package/src/assets/bootstrap_scss/utilities/_display.scss +0 -26
- package/src/assets/bootstrap_scss/utilities/_embed.scss +0 -39
- package/src/assets/bootstrap_scss/utilities/_flex.scss +0 -51
- package/src/assets/bootstrap_scss/utilities/_float.scss +0 -11
- package/src/assets/bootstrap_scss/utilities/_overflow.scss +0 -5
- package/src/assets/bootstrap_scss/utilities/_position.scss +0 -32
- package/src/assets/bootstrap_scss/utilities/_screenreaders.scss +0 -11
- package/src/assets/bootstrap_scss/utilities/_shadows.scss +0 -6
- package/src/assets/bootstrap_scss/utilities/_sizing.scss +0 -20
- package/src/assets/bootstrap_scss/utilities/_spacing.scss +0 -73
- package/src/assets/bootstrap_scss/utilities/_stretched-link.scss +0 -19
- package/src/assets/bootstrap_scss/utilities/_text.scss +0 -72
- package/src/assets/bootstrap_scss/utilities/_visibility.scss +0 -13
- package/src/assets/bootstrap_scss/vendor/_rfs.scss +0 -204
- package/src/components/misc/Player.vue +0 -792
- package/src/shims-vuex.d.ts +0 -7
- package/src/views/Home.vue +0 -18
|
@@ -1,239 +1,194 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { Category } from "./class/general/category"
|
|
2
|
+
import { CommentPodcast } from "./class/general/comment"
|
|
3
|
+
import { Emission } from "./class/general/emission"
|
|
4
|
+
import { Media } from "./class/general/media"
|
|
5
|
+
import { Organisation } from "./class/general/organisation"
|
|
6
|
+
import { Participant } from "./class/general/participant"
|
|
7
|
+
import { Player } from "./class/general/player"
|
|
8
|
+
import { Playlist } from "./class/general/playlist"
|
|
9
|
+
import { Podcast } from "./class/general/podcast"
|
|
10
|
+
import { Rubriquage } from "./class/rubrique/rubriquage"
|
|
11
|
+
import { RubriquageFilter } from "./class/rubrique/rubriquageFilter"
|
|
12
|
+
import { Rubrique } from "./class/rubrique/rubrique"
|
|
13
|
+
export function emptyPlaylistData(): Playlist{
|
|
14
|
+
return {
|
|
15
|
+
description: '',
|
|
16
|
+
playlistId: 0,
|
|
17
|
+
podcasts: [],
|
|
18
|
+
score: 0,
|
|
19
|
+
title: '',
|
|
20
|
+
}
|
|
11
21
|
}
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
location?: any,
|
|
19
|
-
comments?: string | undefined,
|
|
20
|
-
attributes?: any,
|
|
21
|
-
SOUNDCAST_IDENTIFIER?: string | undefined,
|
|
22
|
-
SEPA?: string | undefined,
|
|
23
|
-
SIRET?: string | undefined,
|
|
22
|
+
export function emptyParticipantData(): Participant{
|
|
23
|
+
return {
|
|
24
|
+
firstName: '',
|
|
25
|
+
lastName: '',
|
|
26
|
+
participantId:0
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
organisation: Organisation,
|
|
41
|
-
saveOrganisationRubriquage: any,
|
|
42
|
-
pubDate: string | undefined,
|
|
43
|
-
conferenceId: number,
|
|
44
|
-
duration: number,
|
|
45
|
-
annotations: any,
|
|
46
|
-
createdAt?: any,
|
|
47
|
-
rubriqueIds?:any,
|
|
29
|
+
export function emptyEmissionData(): Emission{
|
|
30
|
+
return {
|
|
31
|
+
emissionId: 0,
|
|
32
|
+
name: '' ,
|
|
33
|
+
description: '' ,
|
|
34
|
+
imageUrl: '' ,
|
|
35
|
+
iabIds: undefined ,
|
|
36
|
+
orga: {
|
|
37
|
+
id: '',
|
|
38
|
+
name: '',
|
|
39
|
+
imageUrl: ''
|
|
40
|
+
},
|
|
41
|
+
rubriqueIds: [] ,
|
|
42
|
+
monetisable: 'UNDEFINED',
|
|
43
|
+
}
|
|
48
44
|
}
|
|
45
|
+
|
|
49
46
|
export function emptyPodcastData(): Podcast{
|
|
50
47
|
return {
|
|
51
48
|
podcastId:0,
|
|
52
|
-
audioUrl:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
description: undefined
|
|
60
|
-
|
|
61
|
-
iabIds: undefined as any,
|
|
62
|
-
orga: {
|
|
63
|
-
id: undefined as any,
|
|
64
|
-
},
|
|
65
|
-
rubriqueIds: [] as any,
|
|
66
|
-
monetisable: 'UNDEFINED',
|
|
67
|
-
},
|
|
68
|
-
title: undefined as any,
|
|
69
|
-
description: undefined as any,
|
|
70
|
-
tags: [] as any,
|
|
49
|
+
audioUrl: '' ,
|
|
50
|
+
audioStorageUrl: '' ,
|
|
51
|
+
imageUrl: '' ,
|
|
52
|
+
animators: [] ,
|
|
53
|
+
guests: [] ,
|
|
54
|
+
emission: emptyEmissionData(),
|
|
55
|
+
title: '' ,
|
|
56
|
+
description: undefined ,
|
|
57
|
+
tags: [] ,
|
|
71
58
|
availability: {
|
|
72
|
-
|
|
73
|
-
|
|
59
|
+
visibility: true,
|
|
60
|
+
date: undefined ,
|
|
74
61
|
},
|
|
75
|
-
email: undefined as any,
|
|
76
|
-
processorId: undefined as any,
|
|
77
62
|
monetisable: 'UNDEFINED',
|
|
78
63
|
comments: 'inherit',
|
|
79
64
|
organisation: {
|
|
80
|
-
|
|
65
|
+
id: '' ,
|
|
66
|
+
name: '',
|
|
67
|
+
imageUrl: '',
|
|
81
68
|
},
|
|
82
|
-
|
|
83
|
-
pubDate: undefined as any,
|
|
69
|
+
pubDate: undefined ,
|
|
84
70
|
conferenceId: 0,
|
|
85
71
|
duration: 0,
|
|
86
72
|
annotations: {},
|
|
87
73
|
}
|
|
88
74
|
}
|
|
89
75
|
|
|
90
|
-
|
|
91
|
-
return {
|
|
92
|
-
emissionId: undefined as any,
|
|
93
|
-
name: undefined as any,
|
|
94
|
-
description: undefined as any,
|
|
95
|
-
imageUrl: undefined as any,
|
|
96
|
-
iabIds: undefined as any,
|
|
97
|
-
orga: {
|
|
98
|
-
id: undefined as any,
|
|
99
|
-
},
|
|
100
|
-
rubriqueIds: [] as any,
|
|
101
|
-
monetisable: 'UNDEFINED',
|
|
102
|
-
}
|
|
103
|
-
}
|
|
76
|
+
|
|
104
77
|
export interface General {
|
|
105
|
-
metaTitle: string
|
|
106
|
-
education:
|
|
107
|
-
logoUrl: string
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export interface Player{
|
|
111
|
-
status: string, //STOPPED, LOADING, PLAYING, PAUSED
|
|
112
|
-
podcast: any,
|
|
113
|
-
volume?: number, //From 0 to 1
|
|
114
|
-
elapsed?: number, //From 0 to 1
|
|
115
|
-
total?: number,
|
|
116
|
-
media: any,
|
|
117
|
-
live: any,
|
|
118
|
-
stop?: any,
|
|
78
|
+
metaTitle: string;
|
|
79
|
+
education: boolean;
|
|
80
|
+
logoUrl: string;
|
|
119
81
|
}
|
|
120
82
|
|
|
121
83
|
export interface Authentication{
|
|
122
|
-
isAuthenticated:
|
|
123
|
-
name: string
|
|
124
|
-
organisationId: string | undefined
|
|
125
|
-
organisationName: string | undefined
|
|
126
|
-
role: Array<string
|
|
127
|
-
}
|
|
128
|
-
export interface Media{
|
|
129
|
-
file: any,
|
|
130
|
-
organisationId: string | undefined,
|
|
131
|
-
titre: string | undefined,
|
|
132
|
-
annee: string | undefined,
|
|
133
|
-
type: string | undefined,
|
|
134
|
-
artiste: string | undefined,
|
|
135
|
-
album: string | undefined,
|
|
84
|
+
isAuthenticated: boolean;
|
|
85
|
+
name: string;
|
|
86
|
+
organisationId: string | undefined;
|
|
87
|
+
organisationName: string | undefined;
|
|
88
|
+
role: Array<string>;
|
|
136
89
|
}
|
|
137
90
|
|
|
138
91
|
export interface Filter{
|
|
139
|
-
organisationId: string | undefined
|
|
140
|
-
imgUrl: string | undefined
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
92
|
+
organisationId: string | undefined;
|
|
93
|
+
imgUrl: string | undefined;
|
|
94
|
+
name: string | undefined;
|
|
95
|
+
rubriquageArray: Array<Rubriquage>;
|
|
96
|
+
rubriqueFilter: Array<RubriquageFilter>;
|
|
97
|
+
rubriqueDisplay: Array<Rubrique>;
|
|
98
|
+
typeMedia: string | undefined;
|
|
99
|
+
sortOrder: string | undefined;
|
|
100
|
+
sortField: string | undefined;
|
|
101
|
+
live: boolean|undefined;
|
|
102
|
+
iab: Category |undefined;
|
|
145
103
|
}
|
|
146
104
|
|
|
147
105
|
export interface StoreState{
|
|
148
|
-
general: General
|
|
106
|
+
general: General;
|
|
149
107
|
ui: {
|
|
150
|
-
displayLeftMenu: boolean
|
|
151
|
-
}
|
|
108
|
+
displayLeftMenu: boolean;
|
|
109
|
+
};
|
|
152
110
|
storage: {
|
|
153
|
-
uri: string | undefined
|
|
154
|
-
}
|
|
111
|
+
uri: string | undefined;
|
|
112
|
+
};
|
|
155
113
|
miniplayer: {
|
|
156
|
-
uri: string | undefined
|
|
157
|
-
}
|
|
158
|
-
player: Player
|
|
114
|
+
uri: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
player: Player;
|
|
159
117
|
|
|
160
118
|
navigator: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
},
|
|
119
|
+
isES6: boolean;
|
|
120
|
+
};
|
|
164
121
|
|
|
165
122
|
api: {
|
|
166
|
-
uri: string | undefined
|
|
167
|
-
}
|
|
123
|
+
uri: string | undefined;
|
|
124
|
+
};
|
|
168
125
|
|
|
169
126
|
RssApi: {
|
|
170
|
-
uri: string | undefined
|
|
171
|
-
}
|
|
127
|
+
uri: string | undefined;
|
|
128
|
+
};
|
|
172
129
|
MediaApi: {
|
|
173
|
-
uri: string | undefined
|
|
174
|
-
}
|
|
130
|
+
uri: string | undefined;
|
|
131
|
+
};
|
|
175
132
|
CommentApi: {
|
|
176
|
-
uri: string | undefined
|
|
177
|
-
}
|
|
133
|
+
uri: string | undefined;
|
|
134
|
+
};
|
|
178
135
|
studioApi: {
|
|
179
|
-
uri: string | undefined
|
|
180
|
-
}
|
|
136
|
+
uri: string | undefined;
|
|
137
|
+
};
|
|
181
138
|
processor: {
|
|
182
|
-
uri: string | undefined
|
|
183
|
-
}
|
|
139
|
+
uri: string | undefined;
|
|
140
|
+
};
|
|
184
141
|
rtmp: {
|
|
185
|
-
uri: string | undefined
|
|
186
|
-
}
|
|
142
|
+
uri: string | undefined;
|
|
143
|
+
};
|
|
187
144
|
frontend: {
|
|
188
|
-
uri: string | undefined
|
|
189
|
-
}
|
|
190
|
-
keycloakApi:{
|
|
191
|
-
uri:string | undefined
|
|
192
|
-
}
|
|
145
|
+
uri: string | undefined;
|
|
146
|
+
};
|
|
147
|
+
keycloakApi: {
|
|
148
|
+
uri: string | undefined;
|
|
149
|
+
};
|
|
193
150
|
|
|
194
151
|
hlsApi: {
|
|
195
|
-
uri: string | undefined
|
|
196
|
-
}
|
|
152
|
+
uri: string | undefined;
|
|
153
|
+
};
|
|
197
154
|
|
|
198
|
-
authentication: Authentication
|
|
155
|
+
authentication: Authentication;
|
|
199
156
|
|
|
200
157
|
oAuthParam: {
|
|
201
|
-
accessToken: string | undefined
|
|
202
|
-
refreshToken: string | undefined
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
},
|
|
207
|
-
media: Media,
|
|
158
|
+
accessToken: string | undefined;
|
|
159
|
+
refreshToken: string | undefined;
|
|
160
|
+
expiration: number | undefined;
|
|
161
|
+
};
|
|
162
|
+
media: Media;
|
|
208
163
|
|
|
209
164
|
profile: {
|
|
210
|
-
firstname:
|
|
211
|
-
lastname:
|
|
212
|
-
email:
|
|
213
|
-
userId:
|
|
214
|
-
imageUrl:
|
|
215
|
-
description:
|
|
216
|
-
attributes:
|
|
217
|
-
}
|
|
165
|
+
firstname: string | undefined;
|
|
166
|
+
lastname: string | undefined;
|
|
167
|
+
email: string | undefined;
|
|
168
|
+
userId: string | undefined;
|
|
169
|
+
imageUrl: string | undefined;
|
|
170
|
+
description: string | undefined;
|
|
171
|
+
attributes: {[key: string]:string|number|boolean|undefined}|undefined;
|
|
172
|
+
};
|
|
218
173
|
|
|
219
|
-
organisation: Organisation
|
|
220
|
-
categories:
|
|
221
|
-
categoriesOrga:
|
|
174
|
+
organisation: Organisation;
|
|
175
|
+
categories: Array<Category>;
|
|
176
|
+
categoriesOrga: Array<Category>;
|
|
222
177
|
|
|
223
|
-
filter: Filter
|
|
178
|
+
filter: Filter;
|
|
224
179
|
|
|
225
180
|
liveUpdate: {
|
|
226
|
-
isBeforeLive:
|
|
227
|
-
}
|
|
181
|
+
isBeforeLive: boolean;
|
|
182
|
+
};
|
|
228
183
|
|
|
229
|
-
uploadPodcastData: Podcast
|
|
184
|
+
uploadPodcastData: Podcast;
|
|
230
185
|
|
|
231
186
|
comments: {
|
|
232
|
-
knownIdentity:
|
|
233
|
-
actualPodcastId: number
|
|
234
|
-
loadedComments:
|
|
235
|
-
totalCount:
|
|
236
|
-
}
|
|
187
|
+
knownIdentity: string|null;
|
|
188
|
+
actualPodcastId: number;
|
|
189
|
+
loadedComments: Array<CommentPodcast>;
|
|
190
|
+
totalCount: number;
|
|
191
|
+
};
|
|
237
192
|
}
|
|
238
193
|
|
|
239
194
|
export function AppStoreData(): StoreState{
|
|
@@ -248,122 +203,118 @@ export function emptyPodcastData(): Podcast{
|
|
|
248
203
|
displayLeftMenu: false,
|
|
249
204
|
},
|
|
250
205
|
storage: {
|
|
251
|
-
uri: undefined
|
|
206
|
+
uri: undefined ,
|
|
252
207
|
},
|
|
253
208
|
miniplayer: {
|
|
254
|
-
uri: undefined
|
|
209
|
+
uri: undefined ,
|
|
255
210
|
},
|
|
256
211
|
player: {
|
|
257
212
|
status: 'STOPPED', //STOPPED, LOADING, PLAYING, PAUSED
|
|
258
|
-
podcast: undefined
|
|
213
|
+
podcast: undefined ,
|
|
259
214
|
volume: 1, //From 0 to 1
|
|
260
215
|
elapsed: 0, //From 0 to 1
|
|
261
216
|
total: 0,
|
|
262
|
-
media: undefined
|
|
263
|
-
live: undefined
|
|
264
|
-
|
|
217
|
+
media: undefined ,
|
|
218
|
+
live: undefined ,
|
|
219
|
+
seekTime:0,
|
|
265
220
|
},
|
|
266
221
|
|
|
267
222
|
navigator: {
|
|
268
|
-
isIE11: undefined as any,
|
|
269
223
|
isES6: true,
|
|
270
224
|
},
|
|
271
225
|
|
|
272
226
|
api: {
|
|
273
|
-
uri: undefined
|
|
227
|
+
uri: undefined ,
|
|
274
228
|
},
|
|
275
229
|
|
|
276
230
|
RssApi: {
|
|
277
|
-
uri: undefined
|
|
231
|
+
uri: undefined ,
|
|
278
232
|
},
|
|
279
233
|
MediaApi: {
|
|
280
|
-
uri: undefined
|
|
234
|
+
uri: undefined ,
|
|
281
235
|
},
|
|
282
236
|
CommentApi: {
|
|
283
|
-
uri: undefined
|
|
237
|
+
uri: undefined ,
|
|
284
238
|
},
|
|
285
239
|
studioApi: {
|
|
286
|
-
uri: undefined
|
|
240
|
+
uri: undefined ,
|
|
287
241
|
},
|
|
288
242
|
processor: {
|
|
289
|
-
uri: undefined
|
|
243
|
+
uri: undefined ,
|
|
290
244
|
},
|
|
291
245
|
rtmp: {
|
|
292
|
-
uri: undefined
|
|
246
|
+
uri: undefined ,
|
|
293
247
|
},
|
|
294
248
|
frontend: {
|
|
295
|
-
uri: undefined
|
|
249
|
+
uri: undefined ,
|
|
296
250
|
},
|
|
297
251
|
keycloakApi:{
|
|
298
252
|
uri:undefined,
|
|
299
253
|
},
|
|
300
254
|
|
|
301
255
|
hlsApi: {
|
|
302
|
-
uri: undefined
|
|
256
|
+
uri: undefined ,
|
|
303
257
|
},
|
|
304
258
|
|
|
305
259
|
authentication: {
|
|
306
260
|
isAuthenticated: false,
|
|
307
261
|
name: "",
|
|
308
|
-
organisationId: undefined
|
|
309
|
-
organisationName: undefined
|
|
262
|
+
organisationId: undefined ,
|
|
263
|
+
organisationName: undefined ,
|
|
310
264
|
role: [""],
|
|
311
265
|
},
|
|
312
266
|
|
|
313
267
|
oAuthParam: {
|
|
314
|
-
accessToken: undefined
|
|
315
|
-
refreshToken: undefined
|
|
316
|
-
accessTokenUri: undefined as any,
|
|
317
|
-
clientId: undefined as any,
|
|
268
|
+
accessToken: undefined ,
|
|
269
|
+
refreshToken: undefined ,
|
|
318
270
|
expiration:undefined
|
|
319
271
|
},
|
|
320
272
|
media: {
|
|
321
|
-
|
|
322
|
-
organisationId:
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
type: undefined as any,
|
|
326
|
-
artiste: undefined as any,
|
|
327
|
-
album: undefined as any,
|
|
273
|
+
mediaId: 0,
|
|
274
|
+
organisationId: '',
|
|
275
|
+
title: '',
|
|
276
|
+
audioUrl: ''
|
|
328
277
|
},
|
|
329
278
|
|
|
330
279
|
profile: {
|
|
331
|
-
firstname: undefined
|
|
332
|
-
lastname: undefined
|
|
333
|
-
email: undefined
|
|
334
|
-
userId: undefined
|
|
335
|
-
imageUrl: undefined
|
|
336
|
-
description: undefined
|
|
280
|
+
firstname: undefined ,
|
|
281
|
+
lastname: undefined ,
|
|
282
|
+
email: undefined ,
|
|
283
|
+
userId: undefined ,
|
|
284
|
+
imageUrl: undefined ,
|
|
285
|
+
description: undefined ,
|
|
337
286
|
attributes:undefined,
|
|
338
287
|
},
|
|
339
288
|
|
|
340
289
|
organisation: {
|
|
341
|
-
|
|
342
|
-
name:
|
|
343
|
-
imageUrl:
|
|
344
|
-
description: undefined
|
|
345
|
-
monetisable: undefined
|
|
346
|
-
location: undefined
|
|
347
|
-
comments: undefined
|
|
290
|
+
id:'',
|
|
291
|
+
name: '' ,
|
|
292
|
+
imageUrl: '' ,
|
|
293
|
+
description: undefined ,
|
|
294
|
+
monetisable: undefined ,
|
|
295
|
+
location: undefined ,
|
|
296
|
+
comments: undefined ,
|
|
348
297
|
attributes: {
|
|
349
|
-
RSS_CONTACT: undefined
|
|
298
|
+
RSS_CONTACT: undefined ,
|
|
350
299
|
},
|
|
351
|
-
SOUNDCAST_IDENTIFIER: undefined as any,
|
|
352
|
-
SEPA: undefined as any,
|
|
353
|
-
SIRET: undefined as any,
|
|
354
300
|
},
|
|
355
301
|
|
|
356
|
-
categories: []
|
|
302
|
+
categories: [] ,
|
|
357
303
|
|
|
358
|
-
categoriesOrga: []
|
|
304
|
+
categoriesOrga: [] ,
|
|
359
305
|
|
|
360
306
|
filter: {
|
|
361
|
-
organisationId: undefined
|
|
362
|
-
imgUrl: undefined
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
307
|
+
organisationId: undefined ,
|
|
308
|
+
imgUrl: undefined,
|
|
309
|
+
name:undefined,
|
|
310
|
+
rubriquageArray: [],
|
|
311
|
+
rubriqueFilter: [],
|
|
312
|
+
rubriqueDisplay:[],
|
|
313
|
+
typeMedia: undefined ,
|
|
314
|
+
sortOrder: undefined ,
|
|
315
|
+
sortField: undefined ,
|
|
366
316
|
live: false,
|
|
317
|
+
iab: undefined,
|
|
367
318
|
},
|
|
368
319
|
|
|
369
320
|
liveUpdate: {
|
|
@@ -374,9 +325,9 @@ export function emptyPodcastData(): Podcast{
|
|
|
374
325
|
|
|
375
326
|
comments: {
|
|
376
327
|
knownIdentity: null,
|
|
377
|
-
actualPodcastId:
|
|
378
|
-
loadedComments: []
|
|
379
|
-
totalCount:
|
|
328
|
+
actualPodcastId: 0 ,
|
|
329
|
+
loadedComments: [] ,
|
|
330
|
+
totalCount:0 ,
|
|
380
331
|
},
|
|
381
332
|
}
|
|
382
333
|
}
|
package/tsconfig.json
CHANGED
package/vue.config.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
const MomentLocalesPlugin = require('moment-locales-webpack-plugin');
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
configureWebpack: {
|
|
6
|
+
output: {
|
|
7
|
+
globalObject: 'this',
|
|
8
|
+
},
|
|
9
|
+
plugins:[
|
|
10
|
+
new MomentLocalesPlugin({
|
|
11
|
+
localesToKeep: ['fr'],
|
|
12
|
+
}),
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
/* eslint-enable */
|
|
Binary file
|