@saooti/octopus-sdk 36.0.46 → 36.0.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "36.0.46",
3
+ "version": "36.0.48",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@popperjs/core": "^2.11.8",
20
- "@saooti/octopus-api": "^0.34.3",
20
+ "@saooti/octopus-api": "^0.36.0",
21
21
  "@tiptap/extension-link": "^2.0.3",
22
- "@tiptap/pm": "^2.0.3",
23
22
  "@tiptap/extension-underline": "^2.0.3",
23
+ "@tiptap/pm": "^2.0.3",
24
24
  "@tiptap/starter-kit": "^2.0.3",
25
25
  "@tiptap/vue-3": "^2.0.3",
26
26
  "@vue/cli": "^5.0.8",
@@ -16,10 +16,10 @@
16
16
  :multi-calendars="columnNumber>1 ? columnNumber : false"
17
17
  :inline="columnNumber > 1"
18
18
  :enable-time-picker="!isTimePicker ?displayTimePicker : undefined"
19
- :time-picker-inline="!isTimePicker ? true : undefined"
20
19
  :aria-labels="ariaLabels"
21
20
  @update:model-value="$emit('updateDate', $event)"
22
- />
21
+ >
22
+ </VueDatePicker>
23
23
  </template>
24
24
 
25
25
  <script lang="ts">
@@ -80,7 +80,8 @@ export default defineComponent({
80
80
  },
81
81
  methods:{
82
82
  formatDate(value: Date): string{
83
- return value.getDay()+' '+value.getDate()+'/'+value.getMonth()+'/'+value.getFullYear();
83
+ const realMonth = value.getMonth() + 1;
84
+ return value.getDate()+'/'+(realMonth < 10 ? "0" : "") + realMonth+'/'+value.getFullYear();
84
85
  }
85
86
  }
86
87
  })
@@ -39,7 +39,7 @@
39
39
  :emission="podcast.emission"
40
40
  />
41
41
  <CommentSection
42
- v-if="!isPodcastmaker"
42
+ v-if="!pageParameters.isNotCommentBox"
43
43
  ref="commentSection"
44
44
  :podcast="podcast"
45
45
  :fetch-conference="fetchConference"
@@ -143,6 +143,7 @@ export default defineComponent({
143
143
  },
144
144
  pageParameters(){
145
145
  return {
146
+ isNotCommentBox: (state.generalParameters.podcastmaker as boolean) && !(state.podcastPage.commentBox as boolean),
146
147
  isShareButtons: (state.podcastPage.ShareButtons as boolean),
147
148
  isSharePlayer: (state.podcastPage.SharePlayer as boolean),
148
149
  };
@@ -33,7 +33,8 @@ const state:ParamStore = {
33
33
  podcastItemShowEmission: false,
34
34
  clickPlayGoPage:false,
35
35
  listTypeClassic: false,
36
- podcastItemDescription:true
36
+ podcastItemDescription:true,
37
+ commentBox:false,
37
38
  },
38
39
  podcastsPage: {
39
40
  MonetizableFilter: true,
@@ -122,6 +123,7 @@ export interface PodcastPage{
122
123
  podcastItemShowEmission?: boolean,
123
124
  clickPlayGoPage?:boolean,
124
125
  listTypeClassic?:boolean,
126
+ commentBox?:boolean,
125
127
  podcastItemDescription?:boolean,
126
128
  }
127
129
  export interface PodcastsPage{