@saooti/octopus-sdk 31.0.34 → 31.0.37

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 (85) hide show
  1. package/README.md +6 -1
  2. package/index.ts +8 -2
  3. package/package.json +1 -1
  4. package/public/img/403.jpeg +0 -0
  5. package/public/img/404.svg +242 -0
  6. package/src/assets/bootstrap-diff.scss +25 -24
  7. package/src/assets/general.scss +57 -2
  8. package/src/assets/modal.scss +5 -4
  9. package/src/assets/share.scss +2 -0
  10. package/src/components/display/categories/CategoryFilter.vue +12 -26
  11. package/src/components/display/categories/CategoryList.vue +14 -20
  12. package/src/components/display/comments/AddCommentModal.vue +19 -36
  13. package/src/components/display/comments/CommentBasicView.vue +2 -5
  14. package/src/components/display/comments/CommentInput.vue +8 -21
  15. package/src/components/display/comments/CommentItem.vue +1 -1
  16. package/src/components/display/comments/CommentList.vue +10 -21
  17. package/src/components/display/comments/CommentPlayer.vue +0 -3
  18. package/src/components/display/comments/CommentSection.vue +6 -14
  19. package/src/components/display/emission/EmissionInlineList.vue +5 -10
  20. package/src/components/display/emission/EmissionItem.vue +5 -10
  21. package/src/components/display/emission/EmissionList.vue +66 -68
  22. package/src/components/display/filter/AdvancedSearch.vue +19 -45
  23. package/src/components/display/filter/CategoryFilter.vue +11 -20
  24. package/src/components/display/filter/MonetizableFilter.vue +7 -14
  25. package/src/components/display/filter/ProductorSearch.vue +69 -78
  26. package/src/components/display/filter/RubriqueChoice.vue +1 -4
  27. package/src/components/display/filter/RubriqueFilter.vue +1 -5
  28. package/src/components/display/list/ListPaginate.vue +150 -0
  29. package/src/components/display/list/Paginate.vue +219 -0
  30. package/src/components/display/live/LiveHorizontalList.vue +56 -40
  31. package/src/components/display/organisation/OrganisationChooser.vue +7 -12
  32. package/src/components/display/participant/ParticipantItem.vue +6 -17
  33. package/src/components/display/participant/ParticipantList.vue +53 -46
  34. package/src/components/display/playlist/PlaylistItem.vue +1 -4
  35. package/src/components/display/playlist/PlaylistList.vue +60 -63
  36. package/src/components/display/playlist/PodcastList.vue +74 -101
  37. package/src/components/display/podcasts/AnimatorsItem.vue +17 -28
  38. package/src/components/display/podcasts/ParticipantDescription.vue +3 -11
  39. package/src/components/display/podcasts/PodcastFilterList.vue +8 -16
  40. package/src/components/display/podcasts/PodcastImage.vue +86 -92
  41. package/src/components/display/podcasts/PodcastItem.vue +1 -2
  42. package/src/components/display/podcasts/PodcastItemInfo.vue +10 -10
  43. package/src/components/display/podcasts/PodcastList.vue +61 -81
  44. package/src/components/display/podcasts/PodcastModuleBox.vue +19 -25
  45. package/src/components/display/podcasts/PodcastSwiperList.vue +2 -3
  46. package/src/components/display/podcasts/TagList.vue +0 -2
  47. package/src/components/display/sharing/QrCode.vue +2 -11
  48. package/src/components/display/sharing/ShareButtons.vue +44 -329
  49. package/src/components/display/sharing/ShareButtonsIntern.vue +209 -0
  50. package/src/components/display/sharing/SharePlayer.vue +21 -53
  51. package/src/components/display/sharing/SplitButton.vue +42 -0
  52. package/src/components/display/sharing/SubscribeButtons.vue +46 -39
  53. package/src/components/misc/Footer.vue +1 -4
  54. package/src/components/misc/HomeDropdown.vue +26 -24
  55. package/src/components/misc/LeftMenu.vue +3 -7
  56. package/src/components/misc/TopBar.vue +9 -16
  57. package/src/components/misc/modal/ClipboardModal.vue +1 -1
  58. package/src/components/misc/modal/MessageModal.vue +1 -1
  59. package/src/components/misc/modal/QrCodeModal.vue +1 -1
  60. package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
  61. package/src/components/mixins/organisationFilter.ts +6 -0
  62. package/src/components/mixins/player/playerLive.ts +1 -1
  63. package/src/components/pages/Category.vue +1 -1
  64. package/src/components/pages/Emission.vue +0 -6
  65. package/src/components/pages/Emissions.vue +1 -1
  66. package/src/components/pages/Error403Page.vue +44 -8
  67. package/src/components/pages/PageNotFound.vue +55 -0
  68. package/src/components/pages/Participant.vue +0 -15
  69. package/src/components/pages/Participants.vue +1 -1
  70. package/src/components/pages/Playlist.vue +2 -2
  71. package/src/components/pages/Playlists.vue +1 -1
  72. package/src/components/pages/Podcast.vue +1 -3
  73. package/src/components/pages/Podcasts.vue +11 -8
  74. package/src/components/pages/Rubrique.vue +1 -1
  75. package/src/locale/de.ts +3 -0
  76. package/src/locale/en.ts +9 -0
  77. package/src/locale/es.ts +3 -0
  78. package/src/locale/fr.ts +10 -1
  79. package/src/locale/it.ts +3 -0
  80. package/src/locale/sl.ts +3 -0
  81. package/src/router/router.ts +2 -0
  82. package/src/sass/_variables.scss +0 -1
  83. package/src/store/class/general/playlist.ts +1 -1
  84. package/src/store/paramStore.ts +7 -11
  85. package/src/store/typeAppStore.ts +20 -2
package/README.md CHANGED
@@ -585,7 +585,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
585
585
  * 30.0.86 Podcastmaker newest
586
586
  * 30.0.87 Podcastmaker newest (swiper list)
587
587
  * 30.0.88 Podcastmaker newest (swiper list)
588
-
588
+ * 30.0.89 Podcastmaker newest (swiper list)
589
+
589
590
  * 31.0.0 Passage en 31
590
591
  * 31.0.1 Ajout pocket casts
591
592
  * 31.0.2 Gestion des 403
@@ -621,3 +622,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
621
622
  * 31.0.32 Changement css (toujours trop de fun)
622
623
  * 31.0.33 Changement css (on n'arrete plus le fun)
623
624
  * 31.0.34 Icones
625
+ * 31.0.35 Il faut croire que c'est SDK Day...
626
+ * 31.0.36 Améliorations multiples (pagination, modales, pages d'erreurs...)
627
+ * 31.0.37 Continuation améliorations
628
+
package/index.ts CHANGED
@@ -58,6 +58,8 @@ import ClassicCheckbox from "./src/components/form/ClassicCheckbox.vue";
58
58
  import ClassicRadio from "./src/components/form/ClassicRadio.vue";
59
59
  import ClassicLoading from "./src/components/form/ClassicLoading.vue";
60
60
  import ClassicSelect from "./src/components/form/ClassicSelect.vue";
61
+ import Paginate from "./src/components/display/list/Paginate.vue";
62
+ import ListPaginate from "./src/components/display/list/ListPaginate.vue";
61
63
 
62
64
  //mixins
63
65
  import {selenium} from "./src/components/mixins/functions";
@@ -118,7 +120,9 @@ const components = {
118
120
  AdvancedSearch,
119
121
  PodcastPlaylistInlineList,
120
122
  ClassicSelect,
121
- Error403Page
123
+ Error403Page,
124
+ Paginate,
125
+ ListPaginate
122
126
  }
123
127
 
124
128
  export default components;
@@ -174,5 +178,7 @@ export {
174
178
  AdvancedSearch,
175
179
  PodcastPlaylistInlineList,
176
180
  ClassicSelect,
177
- Error403Page
181
+ Error403Page,
182
+ Paginate,
183
+ ListPaginate
178
184
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.34",
3
+ "version": "31.0.37",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
Binary file
@@ -0,0 +1,242 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ width="1226.887"
5
+ height="700"
6
+ viewBox="0 0 1226.887 700"
7
+ >
8
+ <g id="water">
9
+ <path
10
+ id="leftWater"
11
+ fill="#135490"
12
+ d="M1226.887,908H1887V330.333c0,0-17.78-23.951-43.113-23.951s-50.667,32.724-144.667,32.724
13
+ s-99.333-32.724-177.333-32.724s-76.667,32.724-172,32.724s-166.77-31.173-218.174-31.173c-73.012,0-73.012,33.725-146.023,33.725
14
+ c-73.008,0-73.008-33.725-146.012-33.725c-73.011,0-73.011,33.725-146.019,33.725c-73.005,0-73.005-33.725-146.003-33.725
15
+ c-73.006,0-73.006,33.725-146.016,33.725c-73.008,0-73.008-33.725-146.012-33.725c-73.001,0-73.001,33.725-146.005,33.725
16
+ c-57.429,0-71.001-22.575-109.622-30.845c0,0-0.113-4.957-45.113-4.385s-83,24.505-129,26.572s-64.812-6.149-116.033-9.751
17
+ c-49.875-3.507-64.967-15.889-134.967-16.821s-237,55.572-237,55.572l2,547H0L1226.887,908z"
18
+ />
19
+ <path
20
+ id="rightWater"
21
+ opacity="0.7"
22
+ fill="#135490"
23
+ d="M1887,908V607.943V307.886c-27.059,3.017-42.916,10.22-60.79,16.67
24
+ s-37.766,12.146-72.893,12.146c-40.485,0-60.728-7.568-80.971-15.138c-20.243-7.568-40.486-15.137-80.973-15.137
25
+ c-40.483,0-60.725,7.568-80.968,15.137c-20.242,7.569-40.485,15.138-80.971,15.138c-40.484,0-60.726-7.568-80.967-15.138
26
+ c-20.241-7.568-40.482-15.137-80.963-15.137c-40.486,0-60.729,7.568-80.971,15.137c-20.243,7.569-40.485,15.138-80.97,15.138
27
+ c-40.486,0-60.729-7.568-80.972-15.138c-20.242-7.568-40.483-15.137-80.967-15.137c-40.482,0-60.724,7.568-80.966,15.137
28
+ c-20.242,7.569-40.483,15.138-80.968,15.138c-31.848,0-72.604-26.805-121.579-27.69s-54.279,6.633-78.847,11.038
29
+ c-44.312,7.945-66.016,18.911-103.266,19.056s-83.045-30.716-137.045-29.648S228.299,337,185.887,337
30
+ c-42,0-106.792-29.067-158.5-29.067c-32.333,0-109,31.173-188,31.173s-75-32.724-158.5-32.724s-92.5,32.724-184.5,32.724
31
+ s-158.5-32.724-158.5-32.724l1.984,604.087L660.113,909l613.444-1H1887z"
32
+ />
33
+ </g>
34
+ <g id="squidBack">
35
+ <path
36
+ id="tent1"
37
+ fill="#7fd8ab"
38
+ d="M432.199,644.237c0,0,1.444,0.534,4.153,1.536c36.663,17.052,47.713,53.916,38.136,80.266
39
+ c-0.885,2.635,0.001,0.119-7.069,19.606c-8.573,23.632-4.604,12.438-24.73,69.645c-2.028,5.766-4.04,11.485-6.028,17.137
40
+ c-3.471,9.87-13.107,34.064-11.154,62.421c0.298,4.38,0.888,8.789,1.758,13.152h82.876c-0.581-0.31-1.167-0.612-1.733-0.943
41
+ c-1.711-1.018-3.317-2.133-4.805-3.312c-20.484-16.15-0.4-71.467-0.652-70.467c2.937-11.676,5.919-23.535,8.903-35.396
42
+ c13.658-53.723,16.46-59.657,17.403-75.706c0.936-14.937-1.134-29.403-5.257-42.254c-6.648-21.014-19.66-40.621-39.378-55.898
43
+ c-12.336-9.366-25.246-15.318-39.856-19.242c-10.208-2.706-21.08,2.722-24.817,12.828
44
+ C415.977,628.345,421.462,640.267,432.199,644.237z"
45
+ />
46
+ <path
47
+ id="tent2"
48
+ fill="#7fd8ab"
49
+ d="M698.706,908h72.34c-1.096-0.779-2.206-1.641-3.331-2.599c-3.384-2.985-6.706-6.95-9.616-11.765
50
+ c-12.827-22.479-4.942-43.119-0.125-64.463c2.116-9.53,5.021-21.135,6.943-28.909c8.716-34.801,18.933-57.854,6.827-90.303
51
+ c-6.408-17.491-18.544-34.052-36.326-46.753c-0.493-0.351-0.748-0.532-0.748-0.532c-7.43-5.265-17.812-3.919-23.585,3.278
52
+ c-5.994,7.472-4.796,18.388,2.675,24.382l0.591,0.475c0,0,0.244,0.195,0.716,0.574c14.119,11.318,23.536,29.184,21.693,47.66
53
+ c-0.713,7.543-1.618,8.415-16.222,47.066c-20.226,54.427-27.044,67.854-26.043,94.698C694.838,890.285,696.331,899.419,698.706,908
54
+ z"
55
+ />
56
+ </g>
57
+ <g id="squidFront">
58
+ <path
59
+ id="tent3"
60
+ fill="#1a8658"
61
+ d="M644.99,730.776c0.595,1.157,1.192,2.271,1.83,3.323c6.461,10.951,11.392,16.271,17.344,22.202
62
+ c6.868,6.811,17.979,7.189,25.26,0.64c7.546-6.789,8.161-18.41,1.372-25.956c0,0-0.402-0.447-1.183-1.314
63
+ c-16.246-18.078-20.826-44.066-10.578-67.113c10.79-23.356,34.057-36.631,57.678-35.07c35.636,1.978,59.734,35.494,52.137,68.086
64
+ c-4.876,21.281-10.381,21.927-79.792,86.332c-19.512,18.122-28.601,25.433-40.788,45.235c-1.229,2.223-2.474,4.358-3.563,6.674
65
+ c-10.297,20.577-13.039,45.029-4.896,69.393c0.556,1.662,1.143,3.253,1.746,4.793h84.269c-1.585-2.688-3.545-5.213-5.897-7.487
66
+ l-0.489-0.472c-19.034-18.422-23.844-33.269-4.432-54.468c46.325-50.523,81.968-79.772,95.599-103.887
67
+ c12.249-21.862,17.11-48.022,12.09-74.304c-9.789-50.995-54.321-87.492-104.955-87.36
68
+ c-61.184-0.297-110.777,52.717-103.774,114.993C635.625,709.523,640.12,721.613,644.99,730.776z"
69
+ />
70
+ <path
71
+ id="tent4"
72
+ fill="#1a8658"
73
+ d="M660.793,908c2.253-7.773,3.738-15.787,4.461-23.756c1.413-15.434,0.156-27.82-2.252-42.207
74
+ c-2.122-13.193-7.265-27.879-10.179-36.745c-2.408-7.325-4.846-14.741-7.303-22.215c-4.912-14.938-9.902-30.112-14.893-45.287
75
+ c-22.985-69.287-22.439-65.345-24.909-75.007c-3.308-13.814-3.245-27.866-0.034-41.389c6.995-30.237,29.952-55.992,62.892-67.404
76
+ c8.504-2.938,13.787-11.751,12.042-20.846c-1.913-9.979-11.553-16.517-21.531-14.604l-0.584,0.111
77
+ c-33.272,6.387-60.368,23.244-79.792,46.13c-9.368,11.052-18.096,24.585-24.294,40.48c-6.248,15.835-10.077,33.979-10.106,53.095
78
+ c-0.106,19.916,2.797,27.117,15.55,98.894c2.719,15.55,5.438,31.1,8.114,46.406c1.336,7.645,2.662,15.229,3.972,22.721
79
+ c5.611,32.11,7.223,52.174-15.813,61.501c-22.003,8.724-36.428,2.564-55.607,20.121H660.793z"
80
+ />
81
+ <path
82
+ id="tent5"
83
+ fill="#1a8658"
84
+ d="M379.528,740.987c31.41,31.916,17.937,18.077,59.572,61.208c6.335,6.562,12.564,13.014,18.661,19.329
85
+ c13.024,13.485,35.26,33.938,33.978,57.603c-0.209,3.458-0.875,6.712-1.907,9.881c-2.295,7.052-5.856,12.384-9.219,17.11
86
+ c-0.487,0.647-0.971,1.272-1.451,1.882h75.496c0.107-0.404,0.221-0.8,0.325-1.209c2.114-8.326,3.421-17.719,3.261-27.648
87
+ c-0.156-9.925-1.917-20.271-5.093-30.196c-13.417-41.985-55.82-74.435-92.669-108.668c-19.715-18.321-10.236-9.61-42.628-39.146
88
+ c-11.349-10.349-29.472-25.52-32.859-57.594c-4.255-43.684,26.915-81.023,67.837-88.431c25.528-4.499,51.999,2.554,72.586,21.087
89
+ c0.881,0.793,1.336,1.203,1.336,1.203c7.206,6.462,18.331,6.277,25.272-0.641c7.19-7.165,7.21-18.802,0.044-25.992
90
+ c-37.368-37.493-87.944-46.48-131.987-31.007c-50.09,17.689-87.94,66.966-85.534,126.883
91
+ C336.678,688.176,354.184,715.236,379.528,740.987z"
92
+ />
93
+ </g>
94
+ <g id="bubbles">
95
+ <circle
96
+ fill="#00AEF7"
97
+ cx="623.879"
98
+ cy="408.974"
99
+ r="4.913"
100
+ />
101
+ <circle
102
+ fill="#00AEF7"
103
+ cx="545.501"
104
+ cy="747.773"
105
+ r="4.913"
106
+ />
107
+ <circle
108
+ fill="#00AEF7"
109
+ cx="592.4"
110
+ cy="627.177"
111
+ r="7.37"
112
+ />
113
+ <circle
114
+ fill="#00AEF7"
115
+ cx="504.856"
116
+ cy="602.164"
117
+ r="7.37"
118
+ />
119
+ <circle
120
+ fill="#006FCF"
121
+ cx="530.887"
122
+ cy="614.999"
123
+ r="5.527"
124
+ />
125
+ <circle
126
+ fill="#006FCF"
127
+ cx="686.885"
128
+ cy="504.999"
129
+ r="3.825"
130
+ />
131
+ <circle
132
+ fill="#FFFFFF"
133
+ cx="622.773"
134
+ cy="795.12"
135
+ r="3.685"
136
+ />
137
+ <circle
138
+ fill="#006FCF"
139
+ cx="472.697"
140
+ cy="527.126"
141
+ r="3.685"
142
+ />
143
+ </g>
144
+ <g id="bubbles2">
145
+ <path
146
+ fill="#006FCF"
147
+ d="M647.786,752.464c-2.035,0-3.685-1.65-3.685-3.686C644.101,738.023,658.502,752.464,647.786,752.464z"
148
+ />
149
+ <circle
150
+ fill="#006FCF"
151
+ cx="722.824"
152
+ cy="556.717"
153
+ r="3.685"
154
+ />
155
+ <circle
156
+ fill="#006FCF"
157
+ cx="610.195"
158
+ cy="430.975"
159
+ r="3.685"
160
+ />
161
+ <circle
162
+ fill="#FFFFFF"
163
+ cx="449.917"
164
+ cy="538.738"
165
+ r="6.142"
166
+ />
167
+ <circle
168
+ fill="#FFFFFF"
169
+ cx="616.746"
170
+ cy="470"
171
+ r="6.142"
172
+ />
173
+ <circle
174
+ fill="#FFFFFF"
175
+ cx="585.701"
176
+ cy="684.795"
177
+ r="8.061"
178
+ />
179
+ <circle
180
+ fill="#FFFFFF"
181
+ cx="640.192"
182
+ cy="818.792"
183
+ r="8.061"
184
+ />
185
+ </g>
186
+ <g id="bottle">
187
+ <path
188
+ fill="#FFFFFF"
189
+ d="M589.59,332.821c6.882,1.926,13.794,3.701,20.812,5.024c4.953,0.352,9.882,0.345,14.836-0.011
190
+ c1.066-0.204,2.126-0.431,3.187-0.659c5.371-10.27,9.474-18.127,9.509-18.232l0.093-0.027c8.667-16.526-5.036-10.668,5.175-32.325
191
+ l10.401-19.835l-13.808-7.24l-10.467,19.961c-11.961,20.557-14.931,6.019-23.58,22.513l0.029,0.092
192
+ C605.686,302.203,597.821,317.157,589.59,332.821z"
193
+ />
194
+
195
+ <rect
196
+ x="641.23"
197
+ y="254.555"
198
+ transform="matrix(0.8856 0.4644 -0.4644 0.8856 196.4175 -269.9889)"
199
+ fill="#C7A66F"
200
+ width="10.258"
201
+ height="18.461"
202
+ />
203
+ <path
204
+ fill="#FFFFFF"
205
+ d="M653.436,273.045c-0.365,0.695-1.232,0.967-1.927,0.602l-16.188-8.488
206
+ c-0.695-0.365-0.966-1.232-0.602-1.928l2.083-3.972c0.365-0.695,1.232-0.966,1.927-0.601l16.188,8.489
207
+ c0.695,0.364,0.966,1.23,0.602,1.926L653.436,273.045z"
208
+ />
209
+ <path
210
+ fill="#7fd8ab"
211
+ d="M579.017,352.949c-4.666,8.884-8.058,15.347-8.058,15.347c-1.54,2.937-0.408,6.566,2.529,8.106
212
+ l21.672,11.364c2.937,1.54,6.566,0.408,8.106-2.529c0,0,9.991-19.073,19.247-36.759
213
+ C608.212,351.517,593.521,353.153,579.017,352.949z"
214
+ />
215
+ </g>
216
+ <g id="numbers">
217
+ <path
218
+ fill="#FFFFFF"
219
+ d="M571.062,450.443l-2.667-5.084l2.156-17.892l6.726-3.528l7.123,13.576l2.449-1.284l2.406,4.587
220
+ l-2.448,1.285l2.179,4.154l-6.043,3.17l-2.147-4.091L571.062,450.443z M578.76,440.555l-3.14-5.982
221
+ c-0.113-0.218-0.229-0.513-0.497-1.4c-0.217-0.716-0.42-1.479-0.528-2.213c0.044,0.688,0.075,1.424,0.061,2.301l-0.001,0.751
222
+ l-0.025,0.251l-0.767,8.862L578.76,440.555z"
223
+ />
224
+ <path
225
+ fill="#FFFFFF"
226
+ d="M594.011,506.102c0.185-0.711,0.411-1.449,0.63-2.151c2.141-6.315,5.303-8.751,10.062-8.423
227
+ c7.289,0.477,10.628,5.32,9.15,13.397c-0.276,1.484-0.645,2.906-1.114,4.304c-2.654,7.737-7.898,10.394-14.502,7.273
228
+ c-4.313-2.057-5.904-5.687-4.719-12.215C593.677,507.533,593.827,506.812,594.011,506.102z M600.506,509.085
229
+ c-0.353,1.644-0.47,2.373-0.544,3.077c-0.264,3.114,0.736,4.42,2.512,4.266c0.96-0.077,1.807-0.833,2.741-2.906
230
+ c0.277-0.65,0.529-1.346,1.018-2.954c0.288-0.829,0.489-1.608,0.632-2.44c0.354-1.644,0.471-2.373,0.544-3.076
231
+ c0.244-2.758-0.418-3.832-1.739-4.175c-1.288-0.333-2.388,0.285-3.514,2.814c-0.276,0.651-0.528,1.345-1.018,2.954
232
+ c-0.139,0.398-0.244,0.805-0.35,1.211C600.684,508.262,600.578,508.669,600.506,509.085z"
233
+ />
234
+ <path
235
+ fill="#FFFFFF"
236
+ d="M623.107,608.756l1.129-5.63l12.941-12.54l7.447,1.494l-3.016,15.032l2.71,0.544l-1.019,5.079
237
+ l-2.711-0.544l-0.923,4.6l-6.692-1.344l0.909-4.529L623.107,608.756z M635.314,605.922l1.33-6.625
238
+ c0.048-0.239,0.144-0.542,0.495-1.399c0.282-0.692,0.604-1.414,0.983-2.053c-0.398,0.564-0.838,1.154-1.402,1.826l-0.474,0.583
239
+ l-0.179,0.178l-6.176,6.401L635.314,605.922z"
240
+ />
241
+ </g>
242
+ </svg>
@@ -30,17 +30,31 @@
30
30
  }
31
31
  //Button disable halo after click
32
32
  &.btn-underline{
33
- background: none;
34
- padding: 0;
35
- margin: 0 2rem 1rem 0;
36
- border-radius: 0;
37
- @media (max-width: 600px) {
38
- margin: 0 1rem 1rem 0;
39
- font-size: 0.8em;
40
- }
41
- &.active{
42
- border-bottom: $octopus-primary-color 2px solid;
43
- }
33
+ background: none;
34
+ padding: 0;
35
+ margin: 0 2rem 1rem 0;
36
+ border-radius: 0;
37
+ @media (max-width: 600px) {
38
+ margin: 0 1rem 1rem 0;
39
+ font-size: 0.8em;
40
+ }
41
+ position: relative;
42
+ &:after {
43
+ background: none repeat scroll 0 0 transparent;
44
+ bottom: 0;
45
+ content: "";
46
+ display: block;
47
+ height: 2px;
48
+ left: 50%;
49
+ position: absolute;
50
+ background: $octopus-primary-color;
51
+ transition: width 0.3s ease 0s, left 0.3s ease 0s;
52
+ width: 0;
53
+ }
54
+ &:hover:after,&.active:after {
55
+ width: 100%;
56
+ left: 0;
57
+ }
44
58
  }
45
59
 
46
60
  &.btn-primary {
@@ -82,18 +96,6 @@
82
96
  margin: 1rem;
83
97
  }
84
98
 
85
- &.btn-big-round{
86
- border: 1px #aaa solid;
87
- background: none;
88
- font-size: 3rem !important;
89
- color: #666;
90
- border-radius: 50%;
91
- padding: 1rem;
92
- margin-right: 1rem;
93
- width: 5rem;
94
- height: 5rem;
95
- }
96
-
97
99
  &.admin-button{
98
100
  padding: 0.3rem;
99
101
  height: 2.2rem !important;
@@ -109,7 +111,6 @@
109
111
  }
110
112
 
111
113
  }
112
-
113
114
  .share-btn {
114
115
  font-size: 1.3rem;
115
116
  width: 2.5rem !important;
@@ -19,7 +19,10 @@ body{
19
19
  h1{
20
20
  margin-bottom: 2rem;
21
21
  }
22
- h1,h2,h3,h4,h5,h6{
22
+ h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{
23
+ &:not(.text-uppercase){
24
+ letter-spacing: -0.03em;
25
+ }
23
26
  font-weight: 600;
24
27
  margin-top: 0;
25
28
  @media (max-width: 500px){
@@ -94,7 +97,7 @@ body{
94
97
 
95
98
  .page-box{
96
99
  background-color: $octopus-background;
97
- padding: 2rem 5rem 5rem 6rem;
100
+ padding: 2rem 5rem 5rem 5rem;
98
101
  @media (max-width: 1400px) {
99
102
  padding: 2rem;
100
103
  }
@@ -113,9 +116,11 @@ body{
113
116
  border-radius: 1rem;
114
117
  flex-grow: 1;
115
118
  overflow: auto;
119
+ box-shadow: 0px 12px 48px 6px rgba($octopus-secondary-color, 0.2) !important;
116
120
  @media (max-width: 500px){
117
121
  margin: 0.3rem;
118
122
  padding: 0.8rem;
123
+ box-shadow:0px 6px 20px 3px rgba($octopus-secondary-color, 0.2) !important;
119
124
  }
120
125
  }
121
126
 
@@ -265,6 +270,56 @@ body{
265
270
  margin-bottom: 0.2rem;
266
271
  }
267
272
  }
273
+ .btn-split{
274
+ display: inline-block;
275
+ cursor: default;
276
+ padding: 0;
277
+ position: relative;
278
+ text-align: center;
279
+ min-width: 400px;
280
+ @media (max-width: 400px) {
281
+ min-width: auto;
282
+ }
283
+ &:hover, &.mobileHover{
284
+ .label{
285
+ opacity: 0;
286
+ transition: opacity .5s .125s ease-out;
287
+ }
288
+ .btn {
289
+ margin: 0 0.3rem !important;
290
+ }
291
+ }
292
+ .btn{
293
+ transition:
294
+ background-color .5s ease-out,
295
+ border-radius .5s .25s ease-out,
296
+ margin .5s .25s ease-out;
297
+ margin: 0 !important;
298
+ &.first {
299
+ margin-left: 0;
300
+ }
301
+ &.last {
302
+ margin-right: 0;
303
+ }
304
+ }
305
+ .label {
306
+ position: absolute;
307
+ display: flex;
308
+ align-items: center;
309
+ justify-content: center;
310
+ padding: 0.5rem;
311
+ border-radius: 4px;
312
+ font-weight: bold;
313
+ background: $octopus-secondary-color;
314
+ top: 0;
315
+ left: 0;
316
+ right: 0;
317
+ bottom: 0;
318
+ opacity: 1;
319
+ pointer-events: none;
320
+ transition: opacity .5s .75s ease-out;
321
+ }
322
+ }
268
323
 
269
324
  @media (max-width: 960px) {
270
325
  .d-flex:not(.flex-column){
@@ -9,13 +9,9 @@
9
9
  }
10
10
 
11
11
  .modal-dialog {
12
- box-shadow: 0 0.2rem 0.5rem rgba(40,40,40,.3);
13
- border-radius: 15px;
14
12
  max-height: 75vh;
15
13
  max-width: 640px;
16
- padding: 0 .8rem;
17
14
  width: 100%;
18
- background: white;
19
15
  display: flex;
20
16
  color: #353535 !important;
21
17
  @media (max-width: 500px){
@@ -25,6 +21,9 @@
25
21
  }
26
22
  .modal-header {
27
23
  border: 0;
24
+ border-radius: 0.8rem 0.8rem 0 0;
25
+ background: $octopus-primary-dark;
26
+ color: white;
28
27
  @media (max-width: 450px) {
29
28
  padding: 1rem 0;
30
29
  }
@@ -46,6 +45,8 @@
46
45
  border: 0;
47
46
  height: auto !important;
48
47
  max-height: calc(100vh - 250px) !important;
48
+ border-radius: 0.8rem;
49
+ box-shadow: 0 0.2rem 0.5rem rgba(40,40,40,.3);
49
50
  }
50
51
  .modal-footer{
51
52
  border: 0;
@@ -120,6 +120,7 @@
120
120
  }
121
121
  @media (max-width: 1200px) {
122
122
  grid-template-columns: auto !important;
123
+ display: flex !important;
123
124
  }
124
125
  }
125
126
 
@@ -128,6 +129,7 @@
128
129
  background: #fff;
129
130
  border-radius: 2rem;
130
131
  display: flex;
132
+ flex-grow: 1;
131
133
  .img-box {
132
134
  border-radius: 2rem !important;
133
135
  }
@@ -102,10 +102,7 @@ export default defineComponent({
102
102
  && (this.isCategories || undefined!==this.categoryFilter || 0!==this.rubriqueFilter.length || 0!==this.rubriquageFilter.length);
103
103
  },
104
104
  rubriquageFilter(): Array<Rubriquage>{
105
- if(this.$store.state.filter.organisationId){
106
- return this.$store.state.filter.rubriquageArray;
107
- }
108
- return [];
105
+ return this.$store.state.filter.organisationId ? this.$store.state.filter.rubriquageArray : [];
109
106
  },
110
107
  },
111
108
  methods:{
@@ -113,44 +110,33 @@ export default defineComponent({
113
110
  this.isCategories = 0!==length;
114
111
  },
115
112
  onRubriqueSelected(index: number, rubrique: Rubrique): void {
116
- if(!rubrique ||this.rubriqueFilter[index].rubriqueId === rubrique.rubriqueId){
113
+ if(!rubrique ||this.rubriqueFilter[index].rubriqueId === rubrique.rubriqueId ||rubrique.rubriqueId){
117
114
  return;
118
115
  }
119
- if(rubrique.rubriqueId){
120
- const filter = Array.from(this.rubriqueFilter);
121
- filter[index].rubriqueId = rubrique.rubriqueId;
122
- this.$store.commit('filterRubrique', filter);
123
- const queries = this.$route.query;
124
- const queryString = filter.map(value => value.rubriquageId+':'+value.rubriqueId).join();
125
- this.$router.replace({ query: { ...queries, ...{ rubriquesId: queryString }} });
126
- }
116
+ const filter = Array.from(this.rubriqueFilter);
117
+ filter[index].rubriqueId = rubrique.rubriqueId||0;
118
+ this.$store.commit('filterRubrique', filter);
119
+ const queryString = filter.map(value => value.rubriquageId+':'+value.rubriqueId).join();
120
+ this.$router.replace({ query: { ...this.$route.query, ...{ rubriquesId: queryString }} });
127
121
  },
128
122
  getRubriques(rubriquageId: number): Array<Rubrique>{
129
123
  const rubriquage = this.$store.state.filter.rubriquageArray.find((x: Rubriquage) => {
130
124
  return x.rubriquageId === rubriquageId;
131
125
  });
132
- if(rubriquage){
133
- return rubriquage.rubriques;
134
- }
135
- return [];
126
+ return rubriquage ? rubriquage.rubriques : [];
136
127
  },
137
128
  removeFilter(index: number, event?: { preventDefault: () => void }): void{
138
- const queries = this.$route.query;
139
129
  if(this.categoryFilter){
140
- if (queries.iabId) {
141
- this.$router.replace({ query: {...queries, ...{iabId: undefined} } });
130
+ if (this.$route.query.iabId) {
131
+ this.$router.replace({ query: {...this.$route.query, ...{iabId: undefined} } });
142
132
  }
143
133
  this.$store.commit('filterIab', undefined);
144
134
  }else{
145
135
  const newFilter: Array<RubriquageFilter> = Array.from(this.$store.state.filter.rubriqueFilter);
146
136
  newFilter.splice(index + 1);
147
- if (queries.rubriquesId) {
137
+ if (this.$route.query.rubriquesId) {
148
138
  const queryString = newFilter.map(value => value.rubriquageId+':'+value.rubriqueId).join();
149
- if("" !== queryString){
150
- this.$router.replace({ query: { ...queries, ...{ rubriquesId: queryString }} });
151
- }else{
152
- this.$router.replace({ query: { ...queries, ...{ rubriquesId: undefined }} });
153
- }
139
+ this.$router.replace({ query: { ...this.$route.query, ...{ rubriquesId:"" !== queryString? queryString : undefined}} });
154
140
  }
155
141
  this.$store.commit('filterRubrique', newFilter);
156
142
  }
@@ -87,46 +87,40 @@ export default defineComponent({
87
87
  filterOrga(): string {
88
88
  return this.$store.state.filter.organisationId;
89
89
  },
90
+ watchVariable(): string{
91
+ return `${this.isDisplay}|${this.categories}`;
92
+ },
93
+ reloadVariable():string{
94
+ return `${this.filterOrga}|${this.categoriesWatch}`;
95
+ }
90
96
  },
91
97
  watch: {
92
- isDisplay():void{
93
- this.$nextTick(() => {
94
- this.resizeWindow();
95
- });
96
- },
97
- categories: {
98
+ watchVariable: {
98
99
  deep: true,
100
+ immediate:true,
99
101
  handler(){
100
102
  this.$nextTick(() => {
101
103
  this.resizeWindow();
102
104
  });
103
105
  }
104
106
  },
105
- filterOrga(): void {
106
- if (this.filterOrga) {
107
- this.fetchCategories(this.filterOrga);
108
- }
109
- },
110
- categoriesWatch:{
107
+ reloadVariable:{
111
108
  deep: true,
109
+ immediate:true,
112
110
  handler(){
113
- if (this.filterOrga) {
114
- this.fetchCategories(this.filterOrga);
115
- }
111
+ if (this.filterOrga) {
112
+ this.fetchCategories(this.filterOrga);
113
+ }
116
114
  }
117
115
  }
118
116
  },
119
-
120
117
  mounted() {
121
118
  window.addEventListener('resize', this.resizeWindow);
122
- this.resizeWindow();
123
- if (this.filterOrga) {
124
- this.fetchCategories(this.filterOrga);
125
- }
126
119
  },
127
120
  beforeUnmount(): void {
128
121
  window.removeEventListener('resize', this.resizeWindow);
129
122
  },
123
+
130
124
  methods: {
131
125
  checkIfFilter(category: Category): void{
132
126
  if(!this.isFilter){