Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/cvetdv.ru/bitrix/js/im/v2/component/message/unsupported/src/ |
Upload File : |
import { Type } from 'main.core'; import { BaseMessage } from 'im.v2.component.message.base'; import { DefaultMessageContent } from 'im.v2.component.message.elements'; import './css/unsupported.css'; import type { ImModelMessage } from 'im.v2.model'; // @vue/component export const UnsupportedMessage = { name: 'UnsupportedMessage', components: { BaseMessage, DefaultMessageContent }, props: { item: { type: Object, required: true, }, dialogId: { type: String, required: true, }, }, computed: { message(): ImModelMessage { return this.item; }, canSetReactions(): boolean { return Type.isNumber(this.message.id); }, }, methods: { loc(phraseCode: string): string { return this.$Bitrix.Loc.getMessage(phraseCode); }, }, template: ` <BaseMessage :dialogId="dialogId" :item="item"> <div class="bx-im-message-unsupported__container bx-im-message-unsupported__scope"> <div class="bx-im-message-unsupported__content"> <div class="bx-im-message-unsupported__icon"></div> <div class="bx-im-message-unsupported__text"> {{ loc('IM_MESSENGER_MESSAGE_UNSUPPORTED_EXTENSION') }} </div> </div> <DefaultMessageContent :item="item" :dialogId="dialogId" :withText="false" /> </div> </BaseMessage> `, };