Paginations.spec.js.snap 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Paginations.vue renders correctly 1`] = `
  3. <div>
  4. <ccard-stub>
  5. <ccardheader-stub>
  6. <cicon-stub
  7. name="cil-justify-center"
  8. />
  9. <strong>
  10. Pagination
  11. </strong>
  12. <small>
  13. size
  14. </small>
  15. <div
  16. class="card-header-actions"
  17. >
  18. <a
  19. class="card-header-action"
  20. href="https://coreui.io/vue/docs/components/pagination"
  21. rel="noreferrer noopener"
  22. target="_blank"
  23. >
  24. <small
  25. class="text-muted"
  26. >
  27. docs
  28. </small>
  29. </a>
  30. </div>
  31. </ccardheader-stub>
  32. <ccardbody-stub>
  33. <h6>
  34. Default
  35. </h6>
  36. <cpagination-stub
  37. activepage="3"
  38. align="start"
  39. arrows="true"
  40. dots="true"
  41. doublearrows="true"
  42. limit="5"
  43. pages="10"
  44. />
  45. <br />
  46. <h6>
  47. Small
  48. </h6>
  49. <cpagination-stub
  50. activepage="3"
  51. align="start"
  52. arrows="true"
  53. dots="true"
  54. doublearrows="true"
  55. limit="5"
  56. pages="10"
  57. size="sm"
  58. />
  59. <br />
  60. <div
  61. class="d-md-down-none"
  62. >
  63. <h6>
  64. Large
  65. </h6>
  66. <cpagination-stub
  67. activepage="3"
  68. align="start"
  69. arrows="true"
  70. dots="true"
  71. doublearrows="true"
  72. limit="5"
  73. pages="10"
  74. size="lg"
  75. />
  76. <br />
  77. </div>
  78. <div>
  79. currentPage: 3
  80. </div>
  81. </ccardbody-stub>
  82. </ccard-stub>
  83. <ccard-stub>
  84. <ccardheader-stub>
  85. <cicon-stub
  86. name="cil-justify-center"
  87. />
  88. <strong>
  89. Pagination
  90. </strong>
  91. <small>
  92. alignment
  93. </small>
  94. </ccardheader-stub>
  95. <ccardbody-stub>
  96. <h6>
  97. Left alignment (default)
  98. </h6>
  99. <cpagination-stub
  100. activepage="3"
  101. align="start"
  102. arrows="true"
  103. dots="true"
  104. doublearrows="true"
  105. limit="5"
  106. pages="10"
  107. />
  108. <br />
  109. <h6>
  110. Center alignment
  111. </h6>
  112. <cpagination-stub
  113. activepage="3"
  114. align="center"
  115. arrows="true"
  116. dots="true"
  117. doublearrows="true"
  118. limit="5"
  119. pages="10"
  120. />
  121. <br />
  122. <h6>
  123. Right (end) alignment
  124. </h6>
  125. <cpagination-stub
  126. activepage="3"
  127. align="end"
  128. arrows="true"
  129. dots="true"
  130. doublearrows="true"
  131. limit="5"
  132. pages="10"
  133. />
  134. <br />
  135. <div>
  136. currentPage: 3
  137. </div>
  138. </ccardbody-stub>
  139. </ccard-stub>
  140. </div>
  141. `;