feat: update tool-chain to latest (#7975)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Shivam Mishra
2023-09-27 14:02:34 +05:30
committed by GitHub
parent e8b7e791a5
commit a88d155dd7
162 changed files with 3566 additions and 2884 deletions

View File

@@ -157,9 +157,8 @@ export default {
if (this.messageContentAttributes.submitted_values) {
if (this.contentType === 'input_select') {
const [
selectionOption = {},
] = this.messageContentAttributes.submitted_values;
const [selectionOption = {}] =
this.messageContentAttributes.submitted_values;
return { content: selectionOption.title || selectionOption.value };
}
}

View File

@@ -1,14 +1,14 @@
<template>
<div class="py-4 space-y-4 bg-white dark:bg-slate-700">
<div class="space-y-2 animate-pulse ">
<div class="space-y-2 animate-pulse">
<div class="h-6 bg-slate-100 dark:bg-slate-500 rounded w-2/5" />
</div>
<div class="space-y-2 animate-pulse ">
<div class="space-y-2 animate-pulse">
<div class="h-4 bg-slate-100 dark:bg-slate-500 rounded" />
<div class="h-4 bg-slate-100 dark:bg-slate-500 rounded" />
<div class="h-4 bg-slate-100 dark:bg-slate-500 rounded" />
</div>
<div class="space-y-2 animate-pulse ">
<div class="space-y-2 animate-pulse">
<div class="h-4 bg-slate-100 dark:bg-slate-500 rounded w-1/5" />
</div>
</div>

View File

@@ -1,6 +1,6 @@
<template>
<li
class="py-1 flex items-center justify-between -mx-1 px-1 hover:bg-slate-25 dark:hover:bg-slate-600 rounded cursor-pointer text-slate-700 dark:text-slate-50 dark:hover:text-slate-25 hover:text-slate-900 "
class="py-1 flex items-center justify-between -mx-1 px-1 hover:bg-slate-25 dark:hover:bg-slate-600 rounded cursor-pointer text-slate-700 dark:text-slate-50 dark:hover:text-slate-25 hover:text-slate-900"
role="button"
@click="onClick"
>

View File

@@ -28,10 +28,8 @@
>
<span v-dompurify-html="title" class="mr-1" />
<div
:class="
`h-2 w-2 rounded-full
${isOnline ? 'bg-green-500' : 'hidden'}`
"
:class="`h-2 w-2 rounded-full
${isOnline ? 'bg-green-500' : 'hidden'}`"
/>
</div>
<div

View File

@@ -185,7 +185,9 @@ export default {
border-radius: 7px;
&.is-focused {
box-shadow: 0 0 0 1px $color-woot, 0 0 2px 3px $color-primary-light;
box-shadow:
0 0 0 1px $color-woot,
0 0 2px 3px $color-primary-light;
}
}

View File

@@ -75,7 +75,7 @@
class="text-sm mt-4 justify-center text-center flex"
:class="$dm('text-slate-700', 'dark:text-slate-50')"
>
{{ this.$t('PRE_CHAT_FORM.FIELDS.PHONE_NUMBER.DROPDOWN_EMPTY') }}
{{ $t('PRE_CHAT_FORM.FIELDS.PHONE_NUMBER.DROPDOWN_EMPTY') }}
</span>
</div>
</div>

View File

@@ -3,11 +3,9 @@
<span
v-for="(user, index) in users"
:key="user.id"
:class="
`${
index ? '-ml-4' : ''
} inline-block rounded-full text-white shadow-solid`
"
:class="`${
index ? '-ml-4' : ''
} inline-block rounded-full text-white shadow-solid`"
>
<thumbnail
size="36px"

View File

@@ -3,8 +3,8 @@
<button
v-if="
canLeaveConversation &&
hasEndConversationEnabled &&
showEndConversationButton
hasEndConversationEnabled &&
showEndConversationButton
"
class="button transparent compact"
:title="$t('END_CONVERSATION')"
@@ -18,7 +18,7 @@
</button>
<button
v-if="showPopoutButton"
class="button transparent compact new-window--button "
class="button transparent compact new-window--button"
@click="popoutWindow"
>
<fluent-icon

View File

@@ -1,6 +1,6 @@
<template>
<div class="p-4 shadow-sm rounded-md bg-white dark:bg-slate-700">
<div class="flex items-center justify-between ">
<div class="flex items-center justify-between">
<div class=" ">
<div class="text-sm font-medium text-slate-700 dark:text-slate-50">
{{

View File

@@ -65,11 +65,10 @@ export default {
async joinTheCall() {
this.isLoading = true;
try {
const {
data: { authResponse: { authToken = '' } = {} } = {},
} = await IntegrationAPIClient.addParticipantToDyteMeeting(
this.messageId
);
const { data: { authResponse: { authToken = '' } = {} } = {} } =
await IntegrationAPIClient.addParticipantToDyteMeeting(
this.messageId
);
this.dyteAuthToken = authToken;
} catch (error) {
// Ignore Error for now