You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 735B

123456789101112131415161718192021222324252627282930313233343536
  1. import {
  2. IconRecordAccount,
  3. IconRecordContact,
  4. IconRecordLead,
  5. IconRecordOpportunity
  6. } from '../base/icons';
  7. export const NOTES_MAX_LENGTH = 255;
  8. export const NOTES_LINES = 4;
  9. export const CONTENT_HEIGHT_OFFSET = 200;
  10. export const LIST_HEIGHT_OFFSET = 250;
  11. export const RECORD_TYPE = {
  12. ACCOUNT: {
  13. label: 'record.type.account',
  14. icon: IconRecordAccount
  15. },
  16. CONTACT: {
  17. label: 'record.type.contact',
  18. icon: IconRecordContact
  19. },
  20. LEAD: {
  21. label: 'record.type.lead',
  22. icon: IconRecordLead
  23. },
  24. OPPORTUNITY: {
  25. label: 'record.type.opportunity',
  26. icon: IconRecordOpportunity
  27. },
  28. OWNER: {
  29. label: 'record.type.owner'
  30. }
  31. };