@icvdeveloper/common-module 2.1.1 → 2.1.2

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/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 2.1.2 - 2024-09-07
11
+
10
12
  ## 2.1.1 - 2024-09-07
11
13
 
12
14
  ## 2.1.0 - 2024-09-05
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "2.1.1"
4
+ "version": "2.1.2"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { useConversationStore } from '../../store/conversations.js';
2
+ import { useConversationStore } from '../../store/conversations';
3
3
 
4
4
  import { MenuOptions } from '../../enums/chatWindow';
5
5
 
@@ -1,6 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { storeToRefs } from "pinia";
3
- import CloseIcon from "../../assets/svg/close-icon.svg";
2
+ import { ref, toRefs } from "vue";
4
3
 
5
4
  type Props = {
6
5
  placeholder: string;
@@ -10,7 +9,7 @@ const props = withDefaults(defineProps<Props>(), {
10
9
  placeholder: "Search...",
11
10
  });
12
11
 
13
- const { placeholder } = storeToRefs(props);
12
+ const { placeholder } = toRefs(props);
14
13
 
15
14
  const value = ref<string>("");
16
15
 
@@ -38,7 +37,7 @@ const clear = () => {
38
37
  class="flex-initial cursor-pointer px-4 py-2"
39
38
  @click="clear"
40
39
  >
41
- <close-icon class="fill-current text-black" />
40
+ <CommonSvgIcon icon="close" />
42
41
  </span>
43
42
  </div>
44
43
  </template>
@@ -1,4 +1,5 @@
1
1
  <script lang="ts" setup>
2
+ import { toRefs } from "vue";
2
3
  import { useClassBinding } from "../../composables/useClassBinding";
3
4
  import type { TextInputClassObj } from "../../@types/components";
4
5
 
@@ -61,12 +61,13 @@ const { isLoggedIn } = storeToRefs(useAuthStore());
61
61
  const isStreamTest = computed((): boolean => {
62
62
  return (
63
63
  route.params.channelid === "stream-test" ||
64
- String(route.name) === "stream-test"
64
+ String(route.name) === "stream-test" ||
65
+ presentation.value.name === "Stream Test"
65
66
  );
66
67
  });
67
68
 
68
69
  const hasAccess = computed((): boolean => {
69
- return isLoggedIn.value && conference.value.access;
70
+ return isLoggedIn.value && conference.value.access as boolean;
70
71
  });
71
72
  </script>
72
73
 
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { ref, reactive } from "vue";
2
+ import { ref, reactive, toRefs } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { useAuthStore } from "../../../store/auth";
5
5
  import { useClassBinding } from "../../../composables/useClassBinding";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {