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.ts 820B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import {
  2. IconRecordAccount,
  3. IconRecordContact,
  4. IconRecordLead,
  5. IconRecordOpportunity
  6. } from '../base/icons/svg';
  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. [key: string]: {
  13. icon?: Function;
  14. label: string;
  15. };
  16. } = {
  17. ACCOUNT: {
  18. label: 'record.type.account',
  19. icon: IconRecordAccount
  20. },
  21. CONTACT: {
  22. label: 'record.type.contact',
  23. icon: IconRecordContact
  24. },
  25. LEAD: {
  26. label: 'record.type.lead',
  27. icon: IconRecordLead
  28. },
  29. OPPORTUNITY: {
  30. label: 'record.type.opportunity',
  31. icon: IconRecordOpportunity
  32. },
  33. OWNER: {
  34. label: 'record.type.owner'
  35. }
  36. };