@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 +2 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/chat/ChatHeader.vue +1 -1
- package/dist/runtime/components/forms/SearchInput.vue +3 -4
- package/dist/runtime/components/forms/TextInput.vue +1 -0
- package/dist/runtime/components/media/PlayerAndContentContainer.vue +3 -2
- package/dist/runtime/components/profile/tabs/ProfileImage.vue +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/module.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import {
|
|
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 } =
|
|
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
|
-
<
|
|
40
|
+
<CommonSvgIcon icon="close" />
|
|
42
41
|
</span>
|
|
43
42
|
</div>
|
|
44
43
|
</template>
|
|
@@ -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";
|