@saooti/octopus-sdk 29.0.22 → 29.0.26
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 +4 -0
- package/package.json +19 -19
- package/src/components/display/comments/CommentItem.vue +15 -8
- package/src/components/display/podcasts/PodcastList.vue +3 -2
- package/src/components/misc/Player.vue +1 -1
- package/src/components/misc/Snackbar.vue +5 -0
- package/src/store/class/adserverConfig.ts +9 -0
- package/src/store/class/adserverTiming.ts +10 -0
- package/src/store/class/category.ts +9 -8
package/README.md
CHANGED
|
@@ -489,4 +489,8 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
489
489
|
* 29.0.20 Eslint
|
|
490
490
|
* 29.0.21 Eslint
|
|
491
491
|
* 29.0.22 Eslint
|
|
492
|
+
* 29.0.23 Eslint
|
|
493
|
+
* 29.0.24 Version stable vue3
|
|
494
|
+
* 29.0.25 Specific category does not display in correct order
|
|
495
|
+
* 29.0.26 Snackbar position
|
|
492
496
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saooti/octopus-sdk",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.26",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript SDK for using octopus",
|
|
6
6
|
"author": "Saooti",
|
|
@@ -16,46 +16,46 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@popperjs/core": "^2.10.2",
|
|
18
18
|
"@saooti/octopus-api": "^0.29.7",
|
|
19
|
-
"@vue/cli": "^5.0.0-
|
|
20
|
-
"@vue/compat": "^3.
|
|
19
|
+
"@vue/cli": "^5.0.0-rc.0",
|
|
20
|
+
"@vue/compat": "^3.2.21",
|
|
21
21
|
"axios": "^0.24.0",
|
|
22
|
-
"bootstrap": "^5.1.
|
|
23
|
-
"core-js": "^3.19.
|
|
22
|
+
"bootstrap": "^5.1.3",
|
|
23
|
+
"core-js": "^3.19.01",
|
|
24
24
|
"hls.js": "^1.0.12",
|
|
25
25
|
"humanize-duration": "^3.27.0",
|
|
26
26
|
"jquery": "^3.6.0",
|
|
27
|
-
"luxon": "^2.0
|
|
28
|
-
"moment": "^2.29.
|
|
27
|
+
"luxon": "^2.1.0",
|
|
28
|
+
"moment": "^2.29.1",
|
|
29
29
|
"moment-locales-webpack-plugin": "^1.2.0",
|
|
30
30
|
"popper.js": "^1.16.1",
|
|
31
31
|
"qrcode.vue": "^3.3.3",
|
|
32
32
|
"sass": "^1.43.4",
|
|
33
33
|
"sass-loader": "^12.3.0",
|
|
34
34
|
"v-calendar": "^3.0.0-alpha.6",
|
|
35
|
-
"vue": "^3.
|
|
36
|
-
"vue-i18n": "^9.2.0-beta.
|
|
35
|
+
"vue": "^3.2.21",
|
|
36
|
+
"vue-i18n": "^9.2.0-beta.17",
|
|
37
37
|
"vue-multiselect": "^3.0.0-alpha.2",
|
|
38
38
|
"vue-recaptcha-v3": "^2.0.1",
|
|
39
39
|
"vue-router": "^4.0.12",
|
|
40
40
|
"vue3-swatches": "^1.0.5",
|
|
41
41
|
"vuex": "^4.0.2",
|
|
42
|
-
"webpack": "^5.
|
|
42
|
+
"webpack": "^5.62.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/bootstrap": "^5.1.6",
|
|
46
46
|
"@types/hls.js": "^1.0.0",
|
|
47
47
|
"@types/jquery": "^3.5.8",
|
|
48
48
|
"@types/vue-datetime": "^1.0.1",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
50
|
-
"@typescript-eslint/parser": "^5.
|
|
51
|
-
"@vue/cli-plugin-babel": "^5.0.0-
|
|
52
|
-
"@vue/cli-plugin-eslint": "^5.0.0-
|
|
53
|
-
"@vue/cli-plugin-typescript": "^5.0.0-
|
|
54
|
-
"@vue/cli-service": "^5.0.0-
|
|
55
|
-
"@vue/compiler-sfc": "^3.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
|
50
|
+
"@typescript-eslint/parser": "^5.3.0",
|
|
51
|
+
"@vue/cli-plugin-babel": "^5.0.0-rc.0",
|
|
52
|
+
"@vue/cli-plugin-eslint": "^5.0.0-rc.0",
|
|
53
|
+
"@vue/cli-plugin-typescript": "^5.0.0-rc.0",
|
|
54
|
+
"@vue/cli-service": "^5.0.0-rc.0",
|
|
55
|
+
"@vue/compiler-sfc": "^3.2.21",
|
|
56
56
|
"@vue/eslint-config-typescript": "^8.0.0",
|
|
57
|
-
"babel-eslint": "^10.0
|
|
58
|
-
"eslint": "^8.
|
|
57
|
+
"babel-eslint": "^10.1.0",
|
|
58
|
+
"eslint": "^8.2.0",
|
|
59
59
|
"eslint-plugin-vue": "^7.20.0",
|
|
60
60
|
"typescript": "^4.4.4"
|
|
61
61
|
},
|
|
@@ -87,7 +87,9 @@
|
|
|
87
87
|
</button>
|
|
88
88
|
</div>
|
|
89
89
|
</template>
|
|
90
|
-
<div
|
|
90
|
+
<div
|
|
91
|
+
class="mb-0 d-flex align-items-center mt-1"
|
|
92
|
+
>
|
|
91
93
|
<button
|
|
92
94
|
v-if="null === comment.commentIdReferer && 'Valid' === comment.status"
|
|
93
95
|
class="btn btn-answer primary-color me-2"
|
|
@@ -101,8 +103,14 @@
|
|
|
101
103
|
(!isFlat && comment.relatedComments) ||
|
|
102
104
|
(isFlat && comment.commentIdReferer)
|
|
103
105
|
"
|
|
104
|
-
|
|
106
|
+
:id="'commentItem'+comment.comId"
|
|
105
107
|
class="primary-color c-hand d-flex align-items-center small-Text input-no-outline"
|
|
108
|
+
type="button"
|
|
109
|
+
data-bs-toggle="collapse"
|
|
110
|
+
:data-bs-target="'#commentItemDetail'+comment.comId"
|
|
111
|
+
aria-expanded="false"
|
|
112
|
+
:aria-controls="'commentItemDetail'+comment.comId"
|
|
113
|
+
@click="collapseVisible=!collapseVisible"
|
|
106
114
|
>
|
|
107
115
|
<div class="d-flex align-items-center when-closed me-2">
|
|
108
116
|
<div v-if="comment.relatedComments">
|
|
@@ -140,13 +148,12 @@
|
|
|
140
148
|
@editComment="editComment"
|
|
141
149
|
/>
|
|
142
150
|
</div>
|
|
143
|
-
<
|
|
144
|
-
:id="'
|
|
145
|
-
|
|
146
|
-
class="ms-4"
|
|
151
|
+
<div
|
|
152
|
+
:id="'commentItemDetail'+comment.comId"
|
|
153
|
+
:aria-labelledby="'commentItem'+comment.comId"
|
|
147
154
|
>
|
|
148
155
|
<CommentInput
|
|
149
|
-
v-if="!isFlat || (isFlat && !comment.commentIdReferer)"
|
|
156
|
+
v-if="!isFlat || (isFlat && !comment.commentIdReferer) && collapseVisible"
|
|
150
157
|
v-model:knownIdentity="knownIdentity"
|
|
151
158
|
:focus="focus"
|
|
152
159
|
:podcast="podcast"
|
|
@@ -168,7 +175,7 @@
|
|
|
168
175
|
:com-id="comment.comId"
|
|
169
176
|
@updateStatus="updateStatus"
|
|
170
177
|
/>
|
|
171
|
-
</
|
|
178
|
+
</div>
|
|
172
179
|
</div>
|
|
173
180
|
</template>
|
|
174
181
|
|
|
@@ -116,8 +116,9 @@ export default defineComponent({
|
|
|
116
116
|
return undefined;
|
|
117
117
|
},
|
|
118
118
|
sort(): string {
|
|
119
|
-
if (
|
|
120
|
-
return
|
|
119
|
+
if (this.popularSort) return "POPULARITY";
|
|
120
|
+
if (this.sortCriteria) return this.sortCriteria;
|
|
121
|
+
return 'DATE';
|
|
121
122
|
},
|
|
122
123
|
sortText(): string {
|
|
123
124
|
switch (this.sortCriteria) {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AdserverTiming } from "./adserverTiming";
|
|
2
|
+
|
|
3
|
+
export interface AdserverConfig {
|
|
4
|
+
activeServer?: string | undefined; // SOUNDCAST, ADSWIZZ, TARGETSPOT
|
|
5
|
+
config: {[key:string]: Array<AdserverTiming>};
|
|
6
|
+
minIntervalDuration?: number;
|
|
7
|
+
minTailDuration?: number;
|
|
8
|
+
soundcastDefaultSoundcastId?: string;
|
|
9
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { AdserverConfig } from "./adserverConfig";
|
|
1
2
|
export interface Category {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
podcastCount?: number;
|
|
6
|
+
podcastOrganisationCount?: number;
|
|
7
|
+
rtbId?: string;
|
|
8
|
+
adConfig?: AdserverConfig;
|
|
9
|
+
orgaAdConfigs?: {[key:string]: AdserverConfig};
|
|
10
|
+
}
|