@saooti/octopus-sdk 41.0.0-SNAPSHOT → 41.0.2-SNAPSHOT

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": "41.0.0-SNAPSHOT",
3
+ "version": "41.0.2-SNAPSHOT",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -203,4 +203,8 @@ function receiveEvent(event: CommentMessage) {
203
203
  function updateForAnswerDeleted(commentId: number) {
204
204
  modifyAnswerNumber(commentId, false);
205
205
  }
206
+ //Expose
207
+ defineExpose({
208
+ receiveEvent
209
+ });
206
210
  </script>
@@ -9,4 +9,8 @@ import { CommentPodcast } from "@/stores/class/general/comment";
9
9
  function updateComment(comment: CommentPodcast): void {
10
10
  console.log(comment);
11
11
  }
12
+ //Expose
13
+ defineExpose({
14
+ updateComment
15
+ });
12
16
  </script>
@@ -264,7 +264,7 @@ const iFrameHeight = computed(() => {
264
264
  case "videoLive":
265
265
  return "450px";
266
266
  default:
267
- return "530px";
267
+ return "540px";
268
268
  }
269
269
  });
270
270
  const iFrame = computed(() => {
@@ -85,9 +85,9 @@ const optionsSelect = computed(() => {
85
85
  { name: t("Default version"), value: "default", condition: true },
86
86
  { name: t("Large version"), value: "largeMore", condition: props.podcast?.podcastId, },
87
87
  {
88
- name: t("Minimalist length version"),
88
+ name: props.podcast?.podcastId ? t("Minimalist length version"): t("Large version"),
89
89
  value: "large",
90
- condition: props.podcast?.podcastId,
90
+ condition: true,
91
91
  },
92
92
  {
93
93
  name: t("Emission version"),
@@ -179,6 +179,11 @@ function onOptionDeselect(event: unknown): void {
179
179
  }
180
180
  emit("selected", optionSelected.value);
181
181
  }
182
+
183
+ //Expose
184
+ defineExpose({
185
+ afterSearch
186
+ });
182
187
  </script>
183
188
  <style lang="scss">
184
189
  @use "vue-select/dist/vue-select.css";
@@ -265,7 +265,7 @@ function clearDataBlur(e: FocusEvent) {
265
265
  if (!(myElement as HTMLAnchorElement).href) {
266
266
  return clearClick();
267
267
  }
268
- if (myElement.classList.contains("reallink")) {
268
+ if (myElement.classList.contains("realLink")) {
269
269
  myElement.click();
270
270
  } else {
271
271
  router.push((myElement as HTMLAnchorElement).pathname);
@@ -295,6 +295,11 @@ function clearData() {
295
295
  posX.value = 0;
296
296
  posY.value = 0;
297
297
  }
298
+
299
+ //Expose
300
+ defineExpose({
301
+ clearClick
302
+ });
298
303
  </script>
299
304
  <style lang="scss">
300
305
 
@@ -19,7 +19,10 @@
19
19
  >
20
20
  <router-link
21
21
  class="link-hover special-select-align-magic-trick"
22
- :to="link.routeName"
22
+ :to="{
23
+ name: link.routeName,
24
+ query: getQueriesRouter(link.routeName),
25
+ }"
23
26
  >
24
27
  {{ link.title }}
25
28
  </router-link>
@@ -192,6 +195,10 @@ async function onOrganisationSelected( organisation: Organisation | undefined):
192
195
  });
193
196
  }
194
197
  }
198
+ //Expose
199
+ defineExpose({
200
+ updateComment
201
+ });
195
202
  </script>
196
203
 
197
204
  <style lang="scss">