How to use the ringcentral-integration/enums/messageTypes.text function in ringcentral-integration

To help you get started, weā€™ve selected a few ringcentral-integration examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ringcentral / ringcentral-js-widgets / src / components / MessagesPanel / i18n / pt-BR.js View on Github external
import messageTypes from 'ringcentral-integration/enums/messageTypes';

export default {
  search: 'Pesquisar...',
  noMessages: 'Nenhuma mensagem',
  noSearchResults: 'Nenhum registro correspondente encontrado',
  title: 'Mensagens',
  composeText: 'Criar texto',
  [messageTypes.all]: 'Tudo',
  [messageTypes.voiceMail]: 'Voz',
  [messageTypes.text]: 'Texto',
  [messageTypes.fax]: 'Fax',
};

// @key: @#@"title"@#@ @source: @#@"Messages"@#@
// @key: @#@"search"@#@ @source: @#@"Search..."@#@
// @key: @#@"composeText"@#@ @source: @#@"Compose Text"@#@
// @key: @#@"noMessages"@#@ @source: @#@"No Messages"@#@
// @key: @#@"noSearchResults"@#@ @source: @#@"No matching records found"@#@
// @key: @#@"[messageTypes.all]"@#@ @source: @#@"All"@#@
// @key: @#@"[messageTypes.voiceMail]"@#@ @source: @#@"Voice"@#@
// @key: @#@"[messageTypes.text]"@#@ @source: @#@"Text"@#@
// @key: @#@"[messageTypes.fax]"@#@ @source: @#@"Fax"@#@
github ringcentral / ringcentral-js-widgets / src / components / MessagesPanel / i18n / en-GB.js View on Github external
import messageTypes from 'ringcentral-integration/enums/messageTypes';

export default {
  title: 'Messages',
  search: 'Search...',
  noMessages: 'No messages',
  noSearchResults: 'No matching records found',
  composeText: 'Compose text',
  [messageTypes.all]: 'All',
  [messageTypes.voiceMail]: 'Voice',
  [messageTypes.text]: 'Text',
  [messageTypes.fax]: 'Fax',
};

// @key: @#@"title"@#@ @source: @#@"Messages"@#@
// @key: @#@"search"@#@ @source: @#@"Search..."@#@
// @key: @#@"composeText"@#@ @source: @#@"Compose Text"@#@
// @key: @#@"noMessages"@#@ @source: @#@"No Messages"@#@
// @key: @#@"noSearchResults"@#@ @source: @#@"No matching records found"@#@
// @key: @#@"[messageTypes.all]"@#@ @source: @#@"All"@#@
// @key: @#@"[messageTypes.voiceMail]"@#@ @source: @#@"Voice"@#@
// @key: @#@"[messageTypes.text]"@#@ @source: @#@"Text"@#@
// @key: @#@"[messageTypes.fax]"@#@ @source: @#@"Fax"@#@
github ringcentral / ringcentral-js-widgets / src / components / MessagesPanel / i18n / fr-FR.js View on Github external
import messageTypes from 'ringcentral-integration/enums/messageTypes';

export default {
  title: 'Messages',
  search: 'Recherche...',
  noMessages: 'Aucun message',
  noSearchResults: 'Aucune correspondance de registre trouvƩe',
  composeText: 'RĆ©diger un SMS',
  [messageTypes.all]: 'Tous',
  [messageTypes.voiceMail]: 'Voix',
  [messageTypes.text]: 'Texte',
  [messageTypes.fax]: 'Fax',
};

// @key: @#@"title"@#@ @source: @#@"Messages"@#@
// @key: @#@"search"@#@ @source: @#@"Search..."@#@
// @key: @#@"composeText"@#@ @source: @#@"Compose Text"@#@
// @key: @#@"noMessages"@#@ @source: @#@"No Messages"@#@
// @key: @#@"noSearchResults"@#@ @source: @#@"No matching records found"@#@
// @key: @#@"[messageTypes.all]"@#@ @source: @#@"All"@#@
// @key: @#@"[messageTypes.voiceMail]"@#@ @source: @#@"Voice"@#@
// @key: @#@"[messageTypes.text]"@#@ @source: @#@"Text"@#@
// @key: @#@"[messageTypes.fax]"@#@ @source: @#@"Fax"@#@
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / ConversationsPanel / i18n / pt-BR.js View on Github external
import messageTypes from 'ringcentral-integration/enums/messageTypes';
export default {
  title: "Mensagens",
  search: "Pesquisar...",
  composeText: "Criar texto",
  noMessages: "Nenhuma mensagem",
  noSearchResults: "Nenhum registro correspondente encontrado",
  [messageTypes.all]: "Tudo",
  [messageTypes.voiceMail]: "Voz",
  [messageTypes.text]: "Texto",
  [messageTypes.fax]: "Fax"
};

// @key: @#@"title"@#@ @source: @#@"Messages"@#@
// @key: @#@"search"@#@ @source: @#@"Search..."@#@
// @key: @#@"composeText"@#@ @source: @#@"Compose Text"@#@
// @key: @#@"noMessages"@#@ @source: @#@"No Messages"@#@
// @key: @#@"noSearchResults"@#@ @source: @#@"No matching records found"@#@
// @key: @#@"[messageTypes.all]"@#@ @source: @#@"All"@#@
// @key: @#@"[messageTypes.voiceMail]"@#@ @source: @#@"Voice"@#@
// @key: @#@"[messageTypes.text]"@#@ @source: @#@"Text"@#@
// @key: @#@"[messageTypes.fax]"@#@ @source: @#@"Fax"@#@
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / ConversationsPanel / i18n / ja-JP.js View on Github external
import messageTypes from 'ringcentral-integration/enums/messageTypes';
export default {
  title: "ćƒ”ćƒƒć‚»ćƒ¼ć‚ø",
  search: "ꤜē“¢...",
  composeText: "ćƒ†ć‚­ć‚¹ćƒˆć®ä½œęˆ",
  noMessages: "ćƒ”ćƒƒć‚»ćƒ¼ć‚øćŖ恗",
  noSearchResults: "äø€č‡“恙悋čØ˜éŒ²ćŒč¦‹ć¤ć‹ć‚Šć¾ć›ć‚“",
  [messageTypes.all]: "ć™ć¹ć¦",
  [messageTypes.voiceMail]: "音声",
  [messageTypes.text]: "ćƒ†ć‚­ć‚¹ćƒˆ",
  [messageTypes.fax]: "FAX"
};

// @key: @#@"title"@#@ @source: @#@"Messages"@#@
// @key: @#@"search"@#@ @source: @#@"Search..."@#@
// @key: @#@"composeText"@#@ @source: @#@"Compose Text"@#@
// @key: @#@"noMessages"@#@ @source: @#@"No Messages"@#@
// @key: @#@"noSearchResults"@#@ @source: @#@"No matching records found"@#@
// @key: @#@"[messageTypes.all]"@#@ @source: @#@"All"@#@
// @key: @#@"[messageTypes.voiceMail]"@#@ @source: @#@"Voice"@#@
// @key: @#@"[messageTypes.text]"@#@ @source: @#@"Text"@#@
// @key: @#@"[messageTypes.fax]"@#@ @source: @#@"Fax"@#@
github ringcentral / ringcentral-js-widgets / src / components / MessagesPanel / index.js View on Github external
icon: ,
        label: i18n.getString(messageTypes.voiceMail, this.props.currentLocale),
        path: messageTypes.voiceMail,
        isActive: path => path === messageTypes.voiceMail,
        noticeCounts: this.props.voiceUnreadCounts,
      },
      this.props.readFaxPermission && {
        icon: ,
        label: i18n.getString(messageTypes.fax, this.props.currentLocale),
        path: messageTypes.fax,
        isActive: path => path === messageTypes.fax,
        noticeCounts: this.props.faxUnreadCounts,
      },
      this.props.readTextPermission && {
        icon: ,
        label: i18n.getString(messageTypes.text, this.props.currentLocale),
        path: messageTypes.text,
        isActive: path => path === messageTypes.text,
        noticeCounts: this.props.textUnreadCounts,
      },
    ].filter(x => !!x);
    return (
      
    );
  }
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / ConversationsPanel / widgets / Search / index.js View on Github external
export default function Search({
  composeTextPermission,
  typeFilter,
  onSearchInputChange,
  searchInput,
  currentLocale,
  disableLinks,
  goToComposeText,
  renderSearchTip,
}) {
  if (!onSearchInputChange) {
    return null;
  }
  const showTextIcon =
    composeTextPermission &&
    (typeFilter === messageTypes.all || typeFilter === messageTypes.text);
  return (
    <div>
      
      </div>
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / MessageItem / index.js View on Github external
onClickToSms = () => {
    if (this.props.onClickToSms) {
      const contact = this.getSelectedContact() || {};
      const phoneNumber = this.getPhoneNumber();

      if (phoneNumber) {
        this.props.updateTypeFilter(messageTypes.text);
        this.props.onClickToSms({
          ...contact,
          phoneNumber,
        });
      }
    }
  };
github ringcentral / ringcentral-js-widgets / src / components / MessagesPanel / index.js View on Github external
this.props.readVoicemailPermission &amp;&amp; {
        icon: ,
        label: i18n.getString(messageTypes.voiceMail, this.props.currentLocale),
        path: messageTypes.voiceMail,
        isActive: path =&gt; path === messageTypes.voiceMail,
        noticeCounts: this.props.voiceUnreadCounts,
      },
      this.props.readFaxPermission &amp;&amp; {
        icon: ,
        label: i18n.getString(messageTypes.fax, this.props.currentLocale),
        path: messageTypes.fax,
        isActive: path =&gt; path === messageTypes.fax,
        noticeCounts: this.props.faxUnreadCounts,
      },
      this.props.readTextPermission &amp;&amp; {
        icon: ,
        label: i18n.getString(messageTypes.text, this.props.currentLocale),
        path: messageTypes.text,
        isActive: path =&gt; path === messageTypes.text,
        noticeCounts: this.props.textUnreadCounts,
      },
    ].filter(x =&gt; !!x);
    return (
      
    );
  }
github ringcentral / ringcentral-js-widgets / packages / ringcentral-widgets / components / ConversationsPanel / index.js View on Github external
        isActive: (path) => path === messageTypes.text,
        noticeCounts: this.props.textUnreadCounts,