Modals.spec.js.snap 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Modals.vue renders correctly 1`] = `
  3. <div
  4. class="wrapper"
  5. >
  6. <div>
  7. <crow-stub
  8. gutters="true"
  9. tag="div"
  10. >
  11. <ccol-stub
  12. col="12"
  13. tag="div"
  14. >
  15. <ccard-stub>
  16. <ccardheader-stub>
  17. <cicon-stub
  18. name="cil-justify-center"
  19. />
  20. Bootstrap Modals
  21. <div
  22. class="card-header-actions"
  23. >
  24. <a
  25. class="card-header-action"
  26. href="https://coreui.io/vue/docs/components/modal"
  27. rel="noreferrer noopener"
  28. target="_blank"
  29. >
  30. <small
  31. class="text-muted"
  32. >
  33. docs
  34. </small>
  35. </a>
  36. </div>
  37. </ccardheader-stub>
  38. <ccardbody-stub>
  39. <cbutton-stub
  40. activeclass="router-link-active"
  41. class="mr-1"
  42. color="secondary"
  43. event="click"
  44. exactactiveclass="router-link-exact-active"
  45. routertag="a"
  46. target="_self"
  47. type="button"
  48. >
  49. Launch demo modal
  50. </cbutton-stub>
  51. <cbutton-stub
  52. activeclass="router-link-active"
  53. class="mr-1"
  54. color="secondary"
  55. event="click"
  56. exactactiveclass="router-link-exact-active"
  57. routertag="a"
  58. target="_self"
  59. type="button"
  60. >
  61. Launch large modal
  62. </cbutton-stub>
  63. <cbutton-stub
  64. activeclass="router-link-active"
  65. class="mr-1"
  66. color="secondary"
  67. event="click"
  68. exactactiveclass="router-link-exact-active"
  69. routertag="a"
  70. target="_self"
  71. type="button"
  72. >
  73. Launch small modal
  74. </cbutton-stub>
  75. <hr />
  76. <cbutton-stub
  77. activeclass="router-link-active"
  78. class="mr-1"
  79. color="primary"
  80. event="click"
  81. exactactiveclass="router-link-exact-active"
  82. routertag="a"
  83. target="_self"
  84. type="button"
  85. >
  86. Launch primary modal
  87. </cbutton-stub>
  88. <cbutton-stub
  89. activeclass="router-link-active"
  90. class="mr-1"
  91. color="success"
  92. event="click"
  93. exactactiveclass="router-link-exact-active"
  94. routertag="a"
  95. target="_self"
  96. type="button"
  97. >
  98. Launch success modal
  99. </cbutton-stub>
  100. <cbutton-stub
  101. activeclass="router-link-active"
  102. class="mr-1"
  103. color="warning"
  104. event="click"
  105. exactactiveclass="router-link-exact-active"
  106. routertag="a"
  107. target="_self"
  108. type="button"
  109. >
  110. Launch warning modal
  111. </cbutton-stub>
  112. <cbutton-stub
  113. activeclass="router-link-active"
  114. class="mr-1"
  115. color="danger"
  116. event="click"
  117. exactactiveclass="router-link-exact-active"
  118. routertag="a"
  119. target="_self"
  120. type="button"
  121. >
  122. Launch danger modal
  123. </cbutton-stub>
  124. <cbutton-stub
  125. activeclass="router-link-active"
  126. class="mr-1"
  127. color="info"
  128. event="click"
  129. exactactiveclass="router-link-exact-active"
  130. routertag="a"
  131. target="_self"
  132. type="button"
  133. >
  134. Launch info modal
  135. </cbutton-stub>
  136. <cbutton-stub
  137. activeclass="router-link-active"
  138. class="mr-1"
  139. color="dark"
  140. event="click"
  141. exactactiveclass="router-link-exact-active"
  142. routertag="a"
  143. target="_self"
  144. type="button"
  145. >
  146. Launch dark modal
  147. </cbutton-stub>
  148. </ccardbody-stub>
  149. </ccard-stub>
  150. </ccol-stub>
  151. </crow-stub>
  152. </div>
  153. <cmodal-stub
  154. backdrop="true"
  155. closeonbackdrop="true"
  156. fade="true"
  157. size="xl"
  158. title="Modal title"
  159. >
  160. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  161. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  162. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  163. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  164. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  165. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  166. </cmodal-stub>
  167. <cmodal-stub
  168. backdrop="true"
  169. closeonbackdrop="true"
  170. fade="true"
  171. size="lg"
  172. title="Modal title"
  173. >
  174. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  175. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  176. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  177. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  178. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  179. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  180. </cmodal-stub>
  181. <cmodal-stub
  182. backdrop="true"
  183. closeonbackdrop="true"
  184. fade="true"
  185. size="sm"
  186. title="Modal title"
  187. >
  188. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  189. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  190. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  191. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  192. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  193. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  194. </cmodal-stub>
  195. <cmodal-stub
  196. backdrop="true"
  197. closeonbackdrop="true"
  198. color="primary"
  199. fade="true"
  200. title="Modal title"
  201. >
  202. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  203. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  204. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  205. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  206. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  207. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  208. </cmodal-stub>
  209. <cmodal-stub
  210. backdrop="true"
  211. closeonbackdrop="true"
  212. color="success"
  213. fade="true"
  214. title="Modal title"
  215. >
  216. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  217. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  218. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  219. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  220. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  221. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  222. </cmodal-stub>
  223. <cmodal-stub
  224. backdrop="true"
  225. closeonbackdrop="true"
  226. color="warning"
  227. fade="true"
  228. title="Modal title"
  229. >
  230. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  231. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  232. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  233. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  234. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  235. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  236. </cmodal-stub>
  237. <cmodal-stub
  238. backdrop="true"
  239. closeonbackdrop="true"
  240. color="danger"
  241. fade="true"
  242. title="Modal title"
  243. >
  244. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  245. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  246. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  247. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  248. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  249. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  250. </cmodal-stub>
  251. <cmodal-stub
  252. backdrop="true"
  253. closeonbackdrop="true"
  254. color="info"
  255. fade="true"
  256. title="Modal title"
  257. >
  258. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  259. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  260. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  261. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  262. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  263. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  264. </cmodal-stub>
  265. <cmodal-stub
  266. backdrop="true"
  267. centered="true"
  268. closeonbackdrop="true"
  269. color="dark"
  270. fade="true"
  271. no-close-on-backdrop="true"
  272. size="lg"
  273. title="Modal title 2"
  274. >
  275. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  276. tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
  277. quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
  278. consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
  279. cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
  280. proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
  281. </cmodal-stub>
  282. </div>
  283. `;