defaults.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. const DEFAULT_DYNAMIC_LIST_ITEM_SIZE = 50;
  4. const ITEM_RENDER_EVT = "itemRendered";
  5. const SCROLL_EVT = "scroll";
  6. const FORWARD = "forward";
  7. const BACKWARD = "backward";
  8. const AUTO_ALIGNMENT = "auto";
  9. const SMART_ALIGNMENT = "smart";
  10. const START_ALIGNMENT = "start";
  11. const CENTERED_ALIGNMENT = "center";
  12. const END_ALIGNMENT = "end";
  13. const HORIZONTAL = "horizontal";
  14. const VERTICAL = "vertical";
  15. const LTR = "ltr";
  16. const RTL = "rtl";
  17. const RTL_OFFSET_NAG = "negative";
  18. const RTL_OFFSET_POS_ASC = "positive-ascending";
  19. const RTL_OFFSET_POS_DESC = "positive-descending";
  20. const PageKey = {
  21. [HORIZONTAL]: "pageX",
  22. [VERTICAL]: "pageY"
  23. };
  24. const ScrollbarSizeKey = {
  25. [HORIZONTAL]: "height",
  26. [VERTICAL]: "width"
  27. };
  28. const ScrollbarDirKey = {
  29. [HORIZONTAL]: "left",
  30. [VERTICAL]: "top"
  31. };
  32. const SCROLLBAR_MIN_SIZE = 20;
  33. exports.AUTO_ALIGNMENT = AUTO_ALIGNMENT;
  34. exports.BACKWARD = BACKWARD;
  35. exports.CENTERED_ALIGNMENT = CENTERED_ALIGNMENT;
  36. exports.DEFAULT_DYNAMIC_LIST_ITEM_SIZE = DEFAULT_DYNAMIC_LIST_ITEM_SIZE;
  37. exports.END_ALIGNMENT = END_ALIGNMENT;
  38. exports.FORWARD = FORWARD;
  39. exports.HORIZONTAL = HORIZONTAL;
  40. exports.ITEM_RENDER_EVT = ITEM_RENDER_EVT;
  41. exports.LTR = LTR;
  42. exports.PageKey = PageKey;
  43. exports.RTL = RTL;
  44. exports.RTL_OFFSET_NAG = RTL_OFFSET_NAG;
  45. exports.RTL_OFFSET_POS_ASC = RTL_OFFSET_POS_ASC;
  46. exports.RTL_OFFSET_POS_DESC = RTL_OFFSET_POS_DESC;
  47. exports.SCROLLBAR_MIN_SIZE = SCROLLBAR_MIN_SIZE;
  48. exports.SCROLL_EVT = SCROLL_EVT;
  49. exports.SMART_ALIGNMENT = SMART_ALIGNMENT;
  50. exports.START_ALIGNMENT = START_ALIGNMENT;
  51. exports.ScrollbarDirKey = ScrollbarDirKey;
  52. exports.ScrollbarSizeKey = ScrollbarSizeKey;
  53. exports.VERTICAL = VERTICAL;
  54. //# sourceMappingURL=defaults.js.map