document.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. - AdSerializer
  2. /**
  3. * Escapes a string for use in a regular expression.
  4. */
  5. static escape(text: string): string
  6. /**
  7. * Regex for redacted phone numbers with extra info for PlayStation (TO BE REMOVED).
  8. */
  9. const PHONE_PLACEHOLDER_NUMBER: RegExp = /\[redacted phone number\](#{0,1}\(([()_\-+\d ]*)\)){0,1}/;
  10. PHONE_NUMBER_REGEX_BAAN_KAIDEE
  11. PHONE_NUMBER_REGEX_WITH
  12. /**
  13. Renders a description text with placeholders in it
  14. for phone numbers and e-mail addresses.
  15. The placeholders are replaced with links. Phone number
  16. placeholders get a link that opens a dialog with
  17. the phone number in it and the e-mail addresses
  18. get replaced with a link that brings the contact
  19. form into focus.
  20. */
  21. class DescriptionText extends React.Component<Props, State>
  22. /**
  23. * Build time settings.
  24. * Those settings are replaced with their value when the bundle is built and are not changed after the bundle is built.
  25. * WARNING: ALL OF THE VARIABLES HERE ARE PUBLICLY AVAILABLE. DO NOT INCLUDE SECRETS HERE.
  26. */
  27. const getBuildSettings = () =>
  28. /**
  29. * Single Setting Dialog for desktop version.
  30. */
  31. var SingleSettingDialog = function SingleSettingDialog(props)
  32. /**
  33. * Method to call when the e-mail is sent.
  34. */
  35. onSendEmailClick?: (
  36. /**
  37. * Attempts to preload the form fields with previously values from the
  38. * session storage. Sanitizes for `name, email, phone, message` fields.
  39. */
  40. const filterAndSanitize = (values: Values): Object =>
  41. /**
  42. * Stick element after scroll passed the element. "scrollTop < element.scrollTop + element.height"
  43. * If neither stickBefore, nor stickAfter is specified the element will stick when "scrollTop > element.scrollTop + element.height"
  44. */
  45. +stickAfter?
  46. /**
  47. * Zoom levels for the layer.
  48. */
  49. zoomLevels: ZoomLevelType
  50. ### React-DOM variable names
  51. // Setter for attempting to hydrate synchronously
  52. setAttemptSynchronousHydration(attemptSynchronousHydration);
  53. // Setter for attempting to hydrate discretely
  54. setAttemptDiscreteHydration(attemptDiscreteHydration);
  55. // Setter for attempting to hydrate continously
  56. setAttemptContinuousHydration(attemptContinuousHydration);
  57. // Setter for priority of attempting hydration
  58. setAttemptHydrationAtCurrentPriority(attemptHydrationAtCurrentPriority);
  59. // Setter for getCurrentUpdate priority
  60. setGetCurrentUpdatePriority(getCurrentUpdatePriority);
  61. setAttemptHydrationAtPriority(runWithPriority);