mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-28 19:08:01 +00:00
Add viber (#7684)
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
1eb8977a6c
commit
a31bfa2dc1
@ -696,6 +696,17 @@ export function createModel (builder: Builder): void {
|
||||
contact.channelProvider.Profile
|
||||
)
|
||||
|
||||
builder.createDoc(
|
||||
contact.class.ChannelProvider,
|
||||
core.space.Model,
|
||||
{
|
||||
label: contact.string.Viber,
|
||||
icon: contact.icon.Viber,
|
||||
placeholder: contact.string.ViberPlaceholder
|
||||
},
|
||||
contact.channelProvider.Viber
|
||||
)
|
||||
|
||||
builder.createDoc(
|
||||
contact.class.AvatarProvider,
|
||||
core.space.Model,
|
||||
|
@ -91,6 +91,8 @@ export default mergeIds(contactId, contact, {
|
||||
SkypePlaceholder: '' as IntlString,
|
||||
Profile: '' as IntlString,
|
||||
ProfilePlaceholder: '' as IntlString,
|
||||
Viber: '' as IntlString,
|
||||
ViberPlaceholder: '' as IntlString,
|
||||
|
||||
CurrentEmployee: '' as IntlString,
|
||||
|
||||
|
@ -95,4 +95,30 @@
|
||||
<path d="M9.6,16.2c-2.1,0-3.9-1.9-4-4.3c-0.1-1.2,0.3-2.3,1-3.1c0.8-0.8,1.8-1.2,3-1.2c1.2,0,2.2,0.4,3,1.3c0.8,0.8,1.1,1.9,1.1,3.1C13.5,14.3,11.7,16.2,9.6,16.2z M9.6,9.5C9,9.5,8.4,9.7,8,10.1c-0.4,0.4-0.6,1-0.5,1.7c0.1,1.4,1.1,2.5,2.2,2.5s2.1-1.2,2.2-2.5c0-0.7-0.2-1.3-0.6-1.7C10.9,9.7,10.3,9.5,9.6,9.5z" />
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2,22.5c0.9-3.5,4.3-5.2,7.6-5.2c1.3,0,2.6,0.2,3.8,0.8c0.5,0.2,0.7,0.8,0.5,1.2c-0.2,0.5-0.8,0.7-1.2,0.5c-0.9-0.4-1.9-0.6-3.1-0.6c-2.6,0-4.9,1.2-5.7,3.4H10c0.5,0,0.9,0.4,0.9,0.9s-0.4,0.9-0.9,0.9H3.5C2.4,24.4,1.8,23.3,2,22.5L2,22.5z" />
|
||||
</symbol>
|
||||
<symbol id="viber" viewBox="0 0 52.511 52.511">
|
||||
<path d="M31.256,0H21.254C10.778,0,2.255,8.521,2.255,18.995v9.01c0,7.8,4.793,14.81,12,17.665v5.841
|
||||
c0,0.396,0.233,0.754,0.595,0.914c0.13,0.058,0.268,0.086,0.405,0.086c0.243,0,0.484-0.089,0.671-0.259L21.725,47h9.531
|
||||
c10.476,0,18.999-8.521,18.999-18.995v-9.01C50.255,8.521,41.732,0,31.256,0z M48.255,28.005C48.255,37.376,40.63,45,31.256,45
|
||||
h-9.917c-0.248,0-0.487,0.092-0.671,0.259l-4.413,3.997v-4.279c0-0.424-0.267-0.802-0.667-0.942
|
||||
C8.81,41.638,4.255,35.196,4.255,28.005v-9.01C4.255,9.624,11.881,2,21.254,2h10.002c9.374,0,16.999,7.624,16.999,16.995V28.005z"
|
||||
/>
|
||||
<path d="M39.471,30.493l-6.146-3.992c-0.672-0.437-1.472-0.585-2.255-0.423c-0.784,0.165-1.458,0.628-1.895,1.303l-0.289,0.444
|
||||
c-2.66-0.879-5.593-2.002-7.349-7.085l0.727-0.632h0c1.248-1.085,1.379-2.983,0.294-4.233l-4.808-5.531
|
||||
c-0.362-0.417-0.994-0.46-1.411-0.099l-3.019,2.624c-2.648,2.302-1.411,5.707-1.004,6.826c0.018,0.05,0.04,0.098,0.066,0.145
|
||||
c0.105,0.188,2.612,4.662,6.661,8.786c4.065,4.141,11.404,7.965,11.629,8.076c0.838,0.544,1.781,0.805,2.714,0.805
|
||||
c1.638,0,3.244-0.803,4.202-2.275l2.178-3.354C40.066,31.413,39.934,30.794,39.471,30.493z M35.91,34.142
|
||||
c-0.901,1.388-2.763,1.782-4.233,0.834c-0.073-0.038-7.364-3.835-11.207-7.75c-3.592-3.659-5.977-7.724-6.302-8.291
|
||||
c-0.792-2.221-0.652-3.586,0.464-4.556l2.265-1.968l4.152,4.776c0.369,0.424,0.326,1.044-0.096,1.411l-1.227,1.066
|
||||
c-0.299,0.26-0.417,0.671-0.3,1.049c2.092,6.798,6.16,8.133,9.13,9.108l0.433,0.143c0.433,0.146,0.907-0.021,1.155-0.403
|
||||
l0.709-1.092c0.146-0.226,0.37-0.379,0.63-0.434c0.261-0.056,0.527-0.004,0.753,0.143l5.308,3.447L35.91,34.142z"/>
|
||||
<path d="M28.538,16.247c-0.532-0.153-1.085,0.156-1.236,0.688c-0.151,0.531,0.157,1.084,0.688,1.235
|
||||
c1.49,0.424,2.677,1.613,3.097,3.104c0.124,0.44,0.525,0.729,0.962,0.729c0.09,0,0.181-0.012,0.272-0.037
|
||||
c0.531-0.15,0.841-0.702,0.691-1.234C32.405,18.578,30.69,16.859,28.538,16.247z"/>
|
||||
<path d="M36.148,22.219c0.09,0,0.181-0.012,0.272-0.037c0.532-0.15,0.841-0.703,0.691-1.234c-1.18-4.183-4.509-7.519-8.689-8.709
|
||||
c-0.531-0.153-1.084,0.158-1.235,0.689c-0.151,0.531,0.157,1.084,0.688,1.235c3.517,1,6.318,3.809,7.311,7.328
|
||||
C35.311,21.931,35.711,22.219,36.148,22.219z"/>
|
||||
<path d="M27.991,7.582c-0.532-0.153-1.085,0.156-1.236,0.689c-0.151,0.531,0.157,1.084,0.688,1.235
|
||||
c5.959,1.695,10.706,6.453,12.388,12.416c0.124,0.44,0.525,0.729,0.962,0.729c0.09,0,0.181-0.012,0.272-0.037
|
||||
c0.531-0.15,0.841-0.703,0.691-1.234C39.887,14.753,34.613,9.467,27.991,7.582z"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 24 KiB |
@ -105,6 +105,8 @@
|
||||
"For": "Pro",
|
||||
"SelectUsers": "Vyberte uživatele",
|
||||
"AddGuest": "Přidat hosta",
|
||||
"ViewProfile": "Zobrazit profil"
|
||||
"ViewProfile": "Zobrazit profil",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "Für",
|
||||
"SelectUsers": "Benutzer auswählen",
|
||||
"AddGuest": "Gast hinzufügen",
|
||||
"ViewProfile": "Profil anzeigen"
|
||||
"ViewProfile": "Profil anzeigen",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "For",
|
||||
"SelectUsers": "Select users",
|
||||
"AddGuest": "Add guest",
|
||||
"ViewProfile": "View profile"
|
||||
"ViewProfile": "View profile",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "Para",
|
||||
"SelectUsers": "Seleccionar usuarios",
|
||||
"AddGuest": "Añadir invitado",
|
||||
"ViewProfile": "Ver perfil"
|
||||
"ViewProfile": "Ver perfil",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "Pour",
|
||||
"SelectUsers": "Sélectionner des utilisateurs",
|
||||
"AddGuest": "Ajouter un invité",
|
||||
"ViewProfile": "Voir le profil"
|
||||
"ViewProfile": "Voir le profil",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "Per",
|
||||
"SelectUsers": "Seleziona utenti",
|
||||
"AddGuest": "Aggiungi ospite",
|
||||
"ViewProfile": "Visualizza profilo"
|
||||
"ViewProfile": "Visualizza profilo",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "Para",
|
||||
"SelectUsers": "Selecionar utilizadores",
|
||||
"AddGuest": "Adicionar convidado",
|
||||
"ViewProfile": "Ver perfil"
|
||||
"ViewProfile": "Ver perfil",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "Для",
|
||||
"SelectUsers": "Выберите пользователей",
|
||||
"AddGuest": "Добавить гостя",
|
||||
"ViewProfile": "Посмотреть профиль"
|
||||
"ViewProfile": "Посмотреть профиль",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -105,6 +105,8 @@
|
||||
"For": "为",
|
||||
"SelectUsers": "选择用户",
|
||||
"AddGuest": "添加访客",
|
||||
"ViewProfile": "查看资料"
|
||||
"ViewProfile": "查看资料",
|
||||
"Viber": "Viber",
|
||||
"ViberPlaceholder": "Viber"
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@ loadMetadata(contact.icon, {
|
||||
Telegram: `${icons}#telegram`,
|
||||
Twitter: `${icons}#twitter`,
|
||||
VK: `${icons}#vk`,
|
||||
Viber: `${icons}#viber`,
|
||||
WhatsApp: `${icons}#whatsapp`,
|
||||
Skype: `${icons}#skype`,
|
||||
Youtube: `${icons}#youtube`,
|
||||
|
@ -235,7 +235,8 @@ export const contactPlugin = plugin(contactId, {
|
||||
Homepage: '' as Ref<ChannelProvider>,
|
||||
Whatsapp: '' as Ref<ChannelProvider>,
|
||||
Skype: '' as Ref<ChannelProvider>,
|
||||
Profile: '' as Ref<ChannelProvider>
|
||||
Profile: '' as Ref<ChannelProvider>,
|
||||
Viber: '' as Ref<ChannelProvider>
|
||||
},
|
||||
avatarProvider: {
|
||||
Color: '' as Ref<AvatarProvider>,
|
||||
@ -273,7 +274,8 @@ export const contactPlugin = plugin(contactId, {
|
||||
ComponentMembers: '' as Asset,
|
||||
Profile: '' as Asset,
|
||||
KickUser: '' as Asset,
|
||||
Contacts: '' as Asset
|
||||
Contacts: '' as Asset,
|
||||
Viber: '' as Asset
|
||||
},
|
||||
space: {
|
||||
Contacts: '' as Ref<Space>
|
||||
|
Loading…
Reference in New Issue
Block a user